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 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
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 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9ccbc3febcc84a1570c0e4e6e4981ad4169ce396 | ce76dfd1a0eca63a2ee43ee4cb35c29f21572ce2 | /hittable.hpp | 7b5d607c182f3b8fa9c5c47e384b8b38e3da2a9c | [] | no_license | adilbaig/raytracing-in-a-weekend | b8c98eba8530c75834bd7f8f880b118dbd29b6f7 | ea918f1c410567fd34c113cdc0d09ab9500e1171 | refs/heads/master | 2022-06-12T23:52:16.265469 | 2020-05-08T00:36:38 | 2020-05-08T00:36:38 | 261,846,005 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 538 | hpp | #ifndef HITTABLE_H
#define HITTABLE_H
#include "rtweekend.hpp"
#include "ray.hpp"
class material;
struct hit_record
{
point3 p;
vec3 normal;
shared_ptr<material> mat_ptr;
double t;
bool front_face;
inline void set_face_normal(const ray &r, const vec3 &outward_normal)
{
front_face = dot(r.direction(... | [
"adil.baig@aidezigns.com"
] | adil.baig@aidezigns.com |
7c87092f28d30b9d47c89d54bd88f54af0b97fc1 | e9762514d154dc51779c24ea31e2c811331444f6 | /Classes/Portal.cpp | 0a9c1946c5a03e305b08ed628b25b91c6fa94d93 | [
"MIT"
] | permissive | otakuidoru/Reflection | 03eeadc1c6c5c65d547b84e31f090f6f0b423ac9 | 05d55655a75813c7d4f0f5dee4d69a2c05476396 | refs/heads/master | 2022-12-10T11:37:27.651073 | 2020-08-23T20:22:50 | 2020-08-23T20:22:50 | 254,940,690 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,091 | cpp | /****************************************************************************
Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd.
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal... | [
"chuck.marshall@gmail.com"
] | chuck.marshall@gmail.com |
6d170ec110ab32bb7415b0fe69983e36e2fb04c4 | 99e494d9ca83ebafdbe6fbebc554ab229edcbacc | /.history/Day 3/Test/Answers/RobotAndDitch_20210306161737.cpp | 634ffd047e9cc327de6b7de7fcf643af062a0a9e | [] | no_license | Datta2901/CCC | c0364caa1e4937bc7bce68e4847c8d599aef0f59 | 4debb2c1c70df693d0e5f68b5798bd9c7a7ef3dc | refs/heads/master | 2023-04-19T10:05:12.372578 | 2021-04-23T12:50:08 | 2021-04-23T12:50:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 998 | cpp | #include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
using namespace std;
int main() {
long int forwardSteps, backwardSt, fd, bd, st;
std::cin >> forwardSteps >> backwardSt >> fd >> bd >> st;
bd = -bd;
if (forwardSteps == backwardSt) {
if (forwardSteps>... | [
"manikanta2901@gmail.com"
] | manikanta2901@gmail.com |
62b5d1513f5daa3b3fd7b9c79fb1f3c6ee7e1355 | f6ab9a9523d4b929059bfebbfa98e8792a980acd | /acm hust/CodeForces/600B/6704359_AC_202ms_3136kB.cpp | a44f72ef6475565645585195f93cfb595fdea0ff | [] | 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 | 2,322 | cpp |
/****************************************
Zerus97
*****************************************/
#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... | [
"zabiralnazi@codeassign.com"
] | zabiralnazi@codeassign.com |
ba97d2b31bdf5a46a17b0c8178a809d0788dd7bb | 9bd2b92b924d65f19bc534b543f90ae63ea23637 | /contest/CDUT2019_numberTheory/P.cpp | 7023d3d01688c079583299abc2245ca26d60622f | [] | no_license | mooleetzi/ICPC | d5196b07e860721c8a4fe41a5ccf5b58b6362678 | cd35ce7dbd340df1e652fdf2f75b35e70e70b472 | refs/heads/master | 2020-06-09T12:13:48.571843 | 2019-12-01T11:39:20 | 2019-12-01T11:39:20 | 193,435,046 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,103 | cpp | /*
神仙题呀,哭了
首先我们思考普通情况我们有K=k1*k2*...*kn种同余方程组合
如果K很大那么用孙子定理/中国剩余定理是很慢的,这时候我们可以考虑暴力枚举
暴力枚举的话我们选定一个x最大的和一个k值最小的来枚举,why
这样我们每次的增量最大而且k值更小的话对于一次增量x来说需要循环判定次数最少,保证了复杂度
要选择最大的x和最小的k的组合可以采用kc/xc<ki/xi => kc*xi<xc*ki避免除法运算不正确
如果K比较小那么可以用孙子定理求解(注意到题目说了m互质,用最简单的版本即可)
*/
#pragma optimize(3)
#include <b... | [
"13208308200@163.com"
] | 13208308200@163.com |
b02a4b3f0dc121ea95ac6534f91546f054df2458 | c85305610932c7826045c06e86d7c1329f16f611 | /CTN_05_Hardware_3D_DirectX/src/Camera.h | 4505a315902b402d7a71952f0cd61d3deb41b388 | [
"Apache-2.0"
] | permissive | TheUnicum/CTN_05_Hardware_3D_DirectX | 87c90985eda6ade86dd4d0c7e4a7898c9039c017 | 39940fb0466ff5b419d7f7c4cf55ee1f90784baa | refs/heads/master | 2020-12-10T02:30:32.141269 | 2020-10-29T11:32:46 | 2020-10-29T11:32:46 | 233,479,489 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,283 | h | #pragma once
#include <DirectXMath.h>
#include <string>
#include "Projection.h"
#include "CameraIndicator.h"
class Graphics;
namespace Rgph
{
class RenderGraph;
}
class Camera
{
public:
Camera(Graphics& gfx, std::string name, DirectX::XMFLOAT3 homePos = { 0.0f,0.0f,0.0f }, float homePitch = 0.0f, float homeYaw = 0.... | [
"tia_ben@tin.it"
] | tia_ben@tin.it |
7e62d594466e4f9a78fbfbaf8e3a43fb6b02b07c | 4f86882803909c783bb4cf49325118b15d4b4ef1 | /Projects/Project4/app/MyAVLTree.hpp | 57a62cc4164c9b22302741e4726fc556ec82d8ad | [] | no_license | hootanh/Data-Structure-Implementation-and-Analysis | 5bc843bd786a0ef3e4cc730c793b1a571e71e732 | 22b104b003f85b59182338601ed9c318bc3da4c2 | refs/heads/main | 2023-03-29T02:24:57.670973 | 2021-03-31T08:21:37 | 2021-03-31T08:21:37 | 353,237,144 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,793 | hpp | #ifndef __PROJ_THREE_AVL_HPP
#define __PROJ_THREE_AVL_HPP
#include "runtimeexcept.hpp"
#include <string>
#include <vector>
class ElementNotFoundException : public RuntimeException
{
public:
ElementNotFoundException(const std::string & err) : RuntimeException(err) {}
};
template<typename Key, typename Value>
class ... | [
"hootanhosseinzade@gmail.com"
] | hootanhosseinzade@gmail.com |
b51736925f911c198bffe43cfd69621fc585a8e0 | b3e8fbd05754ec5c56013d3e395778cfe0c364b7 | /tensorflow/compiler/mlir/tensorflow/ir/tf_attributes.h | ba67d6cb6717eae0ca0dd6df3ae9b2120ae47b4f | [
"Apache-2.0"
] | permissive | rushabh-v/tensorflow | 46c3c67aad9367c8d68e8c52628f9c3d30e8a486 | c347830b50ecd020cfe982310afe1b37f0990fd5 | refs/heads/master | 2022-01-01T08:27:44.224885 | 2020-05-28T17:07:12 | 2020-05-28T17:07:12 | 234,374,809 | 3 | 0 | Apache-2.0 | 2020-01-16T17:31:46 | 2020-01-16T17:31:45 | null | UTF-8 | C++ | false | false | 3,535 | h | /* Copyright 2020 The TensorFlow Authors. 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 by applicable law or a... | [
"gardener@tensorflow.org"
] | gardener@tensorflow.org |
235e02b334117474849d4db823d5659774547917 | 5e35f1069a9d29fe34caa275e390459338d63d02 | /MainProg/test/byMap.cpp | dba830270ada85ef7816b76fa15a2a500c6911c1 | [] | no_license | ShidongS/EC504_Twitter | 0eb6caad0ffe7b8d8921fc733e18871509aa7c90 | ce14ac8276094bcc24c6d0a822693ac04b9916e9 | refs/heads/master | 2020-09-22T12:22:42.620444 | 2019-12-13T20:14:40 | 2019-12-13T20:14:40 | 225,192,068 | 0 | 1 | null | 2019-12-05T03:05:33 | 2019-12-01T16:25:49 | C++ | UTF-8 | C++ | false | false | 6,108 | cpp | #include<iostream>
#include<sstream>
#include<vector>
#include<map>
#include<string>
#include <algorithm>
#include <iterator>
using namespace std;
bool TestMode = true; // Print database out.
struct SentNode{
int SentNo;
int count;
//string sent;
SentNode(int i){
SentNo = i;
count = 0;
//sent = "";
}
};... | [
"noreply@github.com"
] | ShidongS.noreply@github.com |
0c226994f40274a3096cc499fdad4c2d7fcdd48e | 7be9bd83c20183466a9e47e66e0d25a0d5f7505f | /arm9/include/_dialog/dialog.file.open.h | 05b803f2dffbfa500e7150afaed33a21c4747887 | [
"MIT"
] | permissive | Lrs121/winds | b635398b2906697f83daf07fa62b5750370fb9eb | 35f1b5fd458c527a6c372f94077e784f6fd960b2 | refs/heads/master | 2023-08-08T21:24:16.620369 | 2019-04-24T08:41:53 | 2019-04-24T08:41:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,230 | h | #ifndef _WIN_D_FILEOPEN_
#define _WIN_D_FILEOPEN_
#include <_type/type.dialog.h>
#include <_type/type.shortstring.h>
#include <_gadget/gadget.button.h>
#include <_dialog/dialog.file.save.h>
#include <_gadget/gadget.button.action.h>
#include <_gadget/gadget.button.image.h>
#include <_gadget/gadget.label.h>
#i... | [
"DuffsDevice@users.noreply.github.com"
] | DuffsDevice@users.noreply.github.com |
41b13efe2899be9db20e7a1ec6a69b90791c254a | edfd9e9ed6f1603ea0f729d6890b736381625b2c | /ControlSystem.cpp | 326b621cd23a14a3ba01799ff2f14ad240acdd76 | [] | no_license | tanyushaaa/architect | c00e20a9663855b65cf3b8044edae9d1345804b4 | ba9b689636ec46df80121292217fa647a28cc838 | refs/heads/main | 2023-03-04T09:36:41.838810 | 2021-02-23T13:45:54 | 2021-02-23T13:45:54 | 341,568,135 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 270 | cpp | #include "ControlSystem.h"
// Constructors/Destructors
//
ControlSystem::ControlSystem()
{
initAttributes();
}
ControlSystem::~ControlSystem()
{
}
//
// Methods
//
// Accessor methods
//
// Other methods
//
void ControlSystem::initAttributes()
{
}
| [
"noreply@github.com"
] | tanyushaaa.noreply@github.com |
dd7309f681474088b85040ff6be36886a6c871f3 | e98b8922ee3d566d7b7193bc71d269ce69b18b49 | /qpid-sys/NullSaslClient.cpp | 1c95c1d04d1bdb4962b7e5295c7dfdd9c8bee7ac | [] | no_license | QuarkCloud/qpid-lite | bfcf275eb5a99be3a1defb18331780d1b242dfa6 | 3818811d1b2eb70c9603c1e74045072b9a9b8cbc | refs/heads/master | 2020-04-14T17:18:28.441389 | 2019-02-18T02:20:56 | 2019-02-18T02:20:56 | 163,975,774 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,200 | cpp | /*
*
* 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"); y... | [
"romandion@163.com"
] | romandion@163.com |
c3712306734701a4f16abcf797d4aa79db358d24 | d2c1bdd99f044a4cebd96aa6e6e0607b1c6191ba | /sodaq-nbiot-compass/examples/sodaq_explorer_nbiot_shield/sodaq_explorer_nbiot_shield.ino | 119d940ea1b15487b7dc0368544438744e6c908d | [] | no_license | DenniZr/sodaq-explorer-nbiot-compass | b5604b15731d91eb77adfc38c96d5951af978759 | 93de375e30ff4576d92f8266090de2c9d36de9e6 | refs/heads/master | 2021-08-24T01:55:20.114380 | 2017-12-07T14:55:45 | 2017-12-07T14:55:45 | 113,462,998 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,908 | ino | /**
* Author: Dennis Ruigrok
* There seems to be a bug with the x axes. so i don't use them
* use the sodaq explorer with nbiot shield as a badge, so that u use the y and z axes
* then it works fine
* */
#include <sodaq_compass.h>
NBIOT_Compass compass;
#include <Wire.h>
void setup() {
SerialUSB.begin(9600)... | [
"dennis.ruigrok@gmail.com"
] | dennis.ruigrok@gmail.com |
5b72737055ecc2c34b32e3f928b18f45df0bcf4d | 19164bf117ecb486c94311cb8b2936309b363514 | /Dynamic_Programming/Coin_change_problem.cpp | d72feab27e425e7620b022531dd80c9f7cb24ad7 | [] | no_license | geekyanurag/Coding-Interview-Preparation | 10a3b5d9c2a9b71483846c0f51751cef24baa2e4 | 24f11e8ddc9c7c573aa961a9ebb3afd16234a27b | refs/heads/master | 2021-05-25T13:01:20.680206 | 2021-04-27T06:41:28 | 2021-04-27T06:41:28 | 253,764,719 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,003 | cpp | // Counting the number of ways to give change if we have infinite supply of coins
#include<bits/stdc++.h>
using namespace std;
// time is O(n*sum) and also with extra space
int change(int coins[], int n, int sum){
int count[n+1][sum+1];
//memset(count, 0, sizeof(count));
for(int i =0; i<=n; i++)
co... | [
"34518493+geekyanurag@users.noreply.github.com"
] | 34518493+geekyanurag@users.noreply.github.com |
23ff7222fc7bacd743287ece87c5d0ad63bde71a | 9aa648f6e18b8cd63396d34e17523020bc762aae | /src/Orbitons/core/Entity3d.h | 0a18f9ad13e6c625fe2518cd97f598e63be91adf | [] | no_license | gui2one/orbitons_cpp | 121127417d35610514f9f24d21990ca98369a3ab | 79a7d9b9d2e7cd9b54fb360abadce1a4e839086d | refs/heads/master | 2023-06-04T18:04:48.993424 | 2021-06-23T12:50:01 | 2021-06-23T12:50:01 | 342,857,855 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 656 | h | #ifndef ENTITY_3D_H
#define ENTITY_3D_H
#include "../pch.h"
#include "../core.h"
#include "entt/entt.hpp"
namespace Orbitons{
class Entity3d {
public:
Entity3d();
virtual ~Entity3d(){};
size_t m_uuid;
std::string m_name;
glm::vec3 position;
glm::vec3 rotation... | [
"guillaume.rouault.fx@gmail.com"
] | guillaume.rouault.fx@gmail.com |
b6e76414b4a2f1e22b89b92bc3398d0690dad50d | 9a4145232417fdff1f91ff0fdee250025f7e69a3 | /Chapter.3/HelloWorld/main.cpp | 5aa14e8b9dcc9141acbbec0ecc2bceb719c4ecbd | [
"Apache-2.0"
] | permissive | ioriayane/startqtquick | bded4be5151109a8f2bda69d4caf350ad7536e14 | 135a18b2685251a3f42dffd1a6eef02bd75f03f8 | refs/heads/master | 2021-01-17T07:15:53.375884 | 2013-08-05T12:25:10 | 2013-08-05T12:25:10 | 11,896,904 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 320 | cpp | #include <QtGui/QGuiApplication>
#include "qtquick2applicationviewer.h"
int main(int argc, char *argv[])
{
QGuiApplication app(argc, argv);
QtQuick2ApplicationViewer viewer;
viewer.setMainQmlFile(QStringLiteral("qml/HelloWorld/main.qml"));
viewer.showExpanded();
return app.exec();
}
| [
"iori.ayane@gmail.com"
] | iori.ayane@gmail.com |
99ea4f8c5e8c42212ab7c2697b972cce793a21a5 | 3a92132d74b183a9b77ca9c78bdf6e80c68a99e8 | /FCGIApps/Reflector/src/dimdim/common/ByteBufferOutputStream.h | e490235c5bd5f30ea69dd9190b9b36ba6d676f84 | [] | no_license | holdensmagicalunicorn/DimSim | d2ee09dd586b03e365bd673fd474d2934277ee90 | 4fbc916bd6e79fc91fc32614a7d83ffc6e41b421 | refs/heads/master | 2021-01-17T08:38:23.350840 | 2011-08-28T21:52:17 | 2011-08-28T21:52:17 | 2,285,304 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,084 | h | //$$<!--TOFUTAG-->$$//
/**************************************************************************
* *
* DDDDD iii DDDDD iii *
* DD DD mm mm mmmm DD DD mm mm mm... | [
"mattwilmott@gmail.com"
] | mattwilmott@gmail.com |
350c2fb53d57b834e821590704e28c74241f67d5 | 7ea60e50e26e7a77264320aee6506b561c08d618 | /Trans3_2/vc/tk3menu/tkplugin.cpp | cf3b9304ddb4c61c6fb614c0943ca8257028a729 | [
"BSD-2-Clause"
] | permissive | rpgtoolkit/trans3 | 96aa84a39ebb9058a35a91b8e1440efad52b0b30 | 2ff22d53c3ca99ee6caf509f99f81628341b6bdb | refs/heads/master | 2020-04-12T22:22:38.812906 | 2014-02-17T19:23:09 | 2014-02-17T19:23:09 | 5,168,034 | 4 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,880 | cpp | /*
********************************************************************
* The RPG Toolkit Version 3 Plugin Libraries
* This file copyright (C) 2003-2007 Christopher B. Matthews
********************************************************************
*
* This file is released under the AC Open License v 1.0
* See "A... | [
"piartsco@gmail.com"
] | piartsco@gmail.com |
c88b417b19a5cda016b1fc1feefbb67f8e362520 | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/shell/shell32/duidrag.cpp | 324296f747d6512d8a4bcadb5f1e9915e8802bf8 | [] | no_license | jjzhang166/WinNT5_src_20201004 | 712894fcf94fb82c49e5cd09d719da00740e0436 | b2db264153b80fbb91ef5fc9f57b387e223dbfc2 | refs/heads/Win2K3 | 2023-08-12T01:31:59.670176 | 2021-10-14T15:14:37 | 2021-10-14T15:14:37 | 586,134,273 | 1 | 0 | null | 2023-01-07T03:47:45 | 2023-01-07T03:47:44 | null | UTF-8 | C++ | false | false | 3,269 | cpp | #include "shellprv.h"
#include "duiview.h"
#include "duidrag.h"
CDUIDropTarget::CDUIDropTarget()
{
_cRef = 1;
_pDT = NULL;
_pNextDT = NULL;
}
CDUIDropTarget::~CDUIDropTarget()
{
_Cleanup();
}
HRESULT CDUIDropTarget::QueryInterface (REFIID riid, void **ppv)
{
static const QITAB... | [
"seta7D5@protonmail.com"
] | seta7D5@protonmail.com |
91e96db1fb995eb9724ec41b122237baefa1e4c5 | 508ca425a965615f67af8fc4f731fb3a29f4665a | /Codeforces/66/D[ Petya and His Friends ].cpp | ad9537587385fed0f65248e322fb486537b34584 | [] | no_license | knakul853/ProgrammingContests | 2a1b216dfc20ef81fb666267d78be355400549e9 | 3366b6a4447dd4df117217734880199e006db5b4 | refs/heads/master | 2020-04-14T23:37:02.641774 | 2015-09-06T09:49:12 | 2015-09-06T09:49:12 | 164,209,133 | 1 | 0 | null | 2019-01-05T11:34:11 | 2019-01-05T11:34:10 | null | UTF-8 | C++ | false | false | 1,689 | cpp | /*
* Alfonso2 Peterssen(mukel)
* Codeforces Round #61 (Div. 2)
*/
#include <cstdio>
#include <iostream>
#include <algorithm>
#include <vector>
#include <queue>
#include <deque>
#include <stack>
#include <set>
#include <map>
#include <cstdlib>
#include <cstring>
#include <cmath>
#include <complex>
#include <cassert... | [
"a2peterssen@gmail.com"
] | a2peterssen@gmail.com |
c7dbed88c001e654ab5a75502ca2314b852e8600 | 8b50ebaa8adde1b3694a79b7e59bf4c159d4d07c | /Pattern&Sequence/pattern2.cpp | dca3e25094c2e862c440591ca3c2b012334af00a | [] | no_license | aman-mishra-02/DS | 4abf81fe38236310af6a53cc23bf23030266bf20 | 12c3d0d26332f151bb83acae31496d364a43857f | refs/heads/master | 2023-07-15T06:12:16.696583 | 2021-09-04T06:22:12 | 2021-09-04T06:22:12 | 396,244,581 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 277 | cpp | #include<iostream>
using namespace std;
main() {
int i,j,n;
cin>>n;
for( i=1;i<=n;i++){
for(j=1;j<=n+1-i;j++){
cout<<" ";
}
for( j=1;j<=i;j++){
cout<<" "<<i-j+1;
}
cout<<endl;
}
return 0;
} | [
"amthgr0209@gmail.com"
] | amthgr0209@gmail.com |
5b438ab944bd338944c489a5248abcb97f1320ea | 3ac6b9e31cf0cffb6e18afe9e64dcf2d5afc3935 | /Prog4/Prog4/Prog4.cpp | b0109939de948c35fc06a786c770a6a38a4b886b | [] | no_license | TahaKhan1/DataStructures-C- | c4bad62273b6e3c9419b9b6f38caaa417cbc432f | 3a2e0c613bb38049b92a5a56ae6dd415eb3690b4 | refs/heads/master | 2020-07-25T08:33:51.050262 | 2017-10-08T23:46:17 | 2017-10-08T23:46:17 | 73,780,439 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,153 | cpp | /*--------------- P r o g 4 . c p p ---------------
by: George Cheney
16.322 Data Structures
ECE Department
UMASS Lowell
PURPOSE
This is an interactive polygon statistics program. A polygon may be entered from either the keyboard.
Then, upon command, the program will display the circumference and area of
the polygo... | [
"mailfortaha@gmail.com"
] | mailfortaha@gmail.com |
aeaf2eb648aff6b71a719e3bebd6564c022e504f | 39471fab1d456ae6c102d309dadf1ae784ad7cd5 | /vbox/glue/src/string.cpp | 09c7463a670bd8f2045b70428826c43b64a05a3f | [
"Apache-2.0"
] | permissive | caidongyun/tray | 2735aa841614105a80b06808835a4295d8231588 | 8bd052ecd64696e340c28ed08981d4581e7d11ba | refs/heads/master | 2021-01-18T06:22:20.079846 | 2016-06-30T03:56:13 | 2016-06-30T03:56:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,639 | cpp | /* $Id: string.cpp $ */
/** @file
* MS COM / XPCOM Abstraction Layer - UTF-8 and UTF-16 string classes.
*/
/*
* Copyright (C) 2006-2012 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* you can redistrib... | [
"okatkov@critical-factor.com"
] | okatkov@critical-factor.com |
9a17d18f02206058651b47dd1504a2b4e1338be7 | 6b98107d34359ea3cfb9811e4f99bd727798694e | /practise/mod_02/Warlock.cpp | e10170904db80414ef79274d4c0738792df2d7ea | [] | no_license | robijnvh/exam05 | 5d8172432d8137f2a113d3648af27e3fe49f93cc | 450a043b58388077699f4f42d5a8857b0d80853a | refs/heads/master | 2023-04-25T19:02:26.235357 | 2021-05-26T09:51:04 | 2021-05-26T09:51:04 | 343,731,826 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,019 | cpp | #include "Warlock_test.hpp"
Warlock::Warlock(const std::string& name, const std::string& title) : _name(name), _title(title)
{
std::cout << _name << ": This looks like another boring day." << std::endl;
}
Warlock::~Warlock(void)
{
std::cout << _name << ": My job here is done!" << std::endl;
}
const std::string& W... | [
"robijnvanhouts@Robijns-MacBook-Pro.local"
] | robijnvanhouts@Robijns-MacBook-Pro.local |
ccf68cb5d64b4a45b88f88e9e577c4a726a193d0 | eb13824ebccd9e25c2866a6de9745cf835df662f | /build-LR6-Desktop_Qt_5_12_3_MinGW_32_bit-Debug/ui_mainwindow.h | 48514030eedec81799867788f0f137ddbb9aed7c | [] | no_license | DmitryDankov207/labs | 4101c85f1b2b67ff775e34a546f8d9336a51179f | 6e9319bd4c02762fa756e1c53fab8677cc1f0e5d | refs/heads/master | 2022-01-31T15:41:36.225530 | 2019-06-24T22:22:14 | 2019-06-24T22:22:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,807 | h | /********************************************************************************
** Form generated from reading UI file 'mainwindow.ui'
**
** Created by: Qt User Interface Compiler version 5.12.3
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
***************************************... | [
"12ddankov12@gmail.com"
] | 12ddankov12@gmail.com |
61c1300aae053a13f5196b2f7746212e4136d121 | 412a08f5d43fcd9dc5e06d2f587efa578ea40e8a | /BOJ/MST/boj6497_전력난.cpp | 57c8b1160078125d1e2c86ebda2bab25628fb405 | [] | no_license | onww1/Problem-Solving | 19b920f5f4caec50a3aded971e1f1e630e8b6c46 | 86cc8854ef0457f8f7741cbae401af5038f8ae05 | refs/heads/master | 2022-06-07T15:47:45.685775 | 2022-05-25T12:59:59 | 2022-05-25T12:59:59 | 130,528,244 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,206 | cpp | #include <algorithm>
#include <cstdio>
#include <cstring>
#include <queue>
#define X first
#define Y second
using namespace std;
typedef pair <int, int> pii;
typedef pair<int, pii> piii;
const int MAX = 2e5 + 1;
int M, N, ans, pa[MAX];
int _find(int u) {
if (pa[u] < 0) return u;
return pa[u] = _find(pa[u]);
}... | [
"sewon.dev@gmail.com"
] | sewon.dev@gmail.com |
12db1ccd134f3785173ff71ef0e81a21297ea8f0 | fc88f62fc50b35b7b1b11556d3d194d812858f6f | /src/libtsduck/dtv/tsDeliverySystem.h | 2f3a15ad31c3ad4aafcefdb84dcf1da5ce3ce415 | [
"BSD-2-Clause"
] | permissive | vvhh2002/tsduck | 9f316f8157407080ac20fb2b9b6cb937f999f554 | 555a210bbf608d8609a4e031cddd3896ddfcefd7 | refs/heads/master | 2020-04-07T12:50:38.246499 | 2020-01-30T16:29:13 | 2020-01-30T16:29:13 | 158,383,495 | 0 | 0 | NOASSERTION | 2018-11-20T12:05:59 | 2018-11-20T12:05:59 | null | UTF-8 | C++ | false | false | 7,772 | h | //----------------------------------------------------------------------------
//
// TSDuck - The MPEG Transport Stream Toolkit
// Copyright (c) 2005-2020, Thierry Lelegard
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the f... | [
"thierry@lelegard.fr"
] | thierry@lelegard.fr |
d1dcf2f8655ab013e0b1c1bf28a295d846b745a2 | 13897ec1e719a3915a2e50d2fedfd9b6e26e2088 | /C++/C++/p15686.cpp | 740b199a54cf32a6f277ec9091b63588980778d7 | [] | no_license | hanjjm/Algorithm | 467b7bcad5ad87ccd83e2d01d5bf673ddfe8423a | 1619be3679dc980aac7d34f52c3f59aa253a6d20 | refs/heads/master | 2021-07-09T07:12:08.987088 | 2020-10-20T10:33:59 | 2020-10-20T10:33:59 | 205,190,853 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,072 | cpp | #include <iostream>
#include <queue>
#include <vector>
#include <algorithm>
using namespace std;
int matrix[52][52];
int length, alive;
int arr[13] = {0, };
int check[13] = {0, };
int chickenCount = 0;
vector<int> chickenDistance;
vector<int> chickenNum;
vector<vector<int>> chicken(14);
vector<pair<int, int>> house;
i... | [
"hanjjm1994@naver.com"
] | hanjjm1994@naver.com |
07dbd625cf9ec9bdf46abc56ad31363ff55fa6b5 | a8fc0eedb061ed09bfe605b67014624b23e44d9d | /amr-wind/wind_energy/actuator/turbine/turbine_utils.cpp | 3af60ee8ed2b8496bf76a50cf5cf3b944d415c98 | [
"BSD-3-Clause"
] | permissive | jrood-nrel/amr-wind | 9910459ca90310226af4b66ac8304853a30dc03e | 79be152505b90b8a09d93b4e7a4cdd2a3a04a4df | refs/heads/main | 2023-08-11T20:08:58.499868 | 2023-08-04T17:26:11 | 2023-08-04T17:26:11 | 240,058,263 | 0 | 0 | BSD-3-Clause | 2020-02-12T16:19:13 | 2020-02-12T16:19:12 | null | UTF-8 | C++ | false | false | 5,697 | cpp | #include "amr-wind/wind_energy/actuator/turbine/turbine_utils.H"
#include "amr-wind/utilities/ncutils/nc_interface.H"
#include "amr-wind/utilities/io_utils.H"
#include "amr-wind/wind_energy/actuator/FLLC.H"
namespace amr_wind::actuator::utils {
void read_inputs(
TurbineBaseData& tdata, TurbineInfo& tinfo, const u... | [
"noreply@github.com"
] | jrood-nrel.noreply@github.com |
1f9cf5a4d2ab3019016eec572a713fdaaa38c957 | 19d7278c6c42e3f86bd45c5035d19a0b07172315 | /linearAlgebra/test.cpp | 1422e28aa32ad17668fca32c238c11d20d5a4b18 | [] | no_license | physicshinzui/cppLinalg | 0a0e83d8a62c0ccdd10cc20d8dd1d0362defd33d | 6e5a77a426c6acf216ce71f606325be3257ab716 | refs/heads/master | 2023-04-13T15:01:34.063409 | 2021-04-20T10:47:55 | 2021-04-20T10:47:55 | 334,305,024 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 84 | cpp | #include "test.h"
int TestAlgorithm::testGaussJordanElimination() {
return 0;
} | [
"physicshinzui@gmail.com"
] | physicshinzui@gmail.com |
8a6897cfc9a710db3794eeabb4b55c312ff8b3ec | 438180ac509e4f743e4d27236a686ee9eb545fdd | /Samples/Browser/src/SampleBrowser.cpp | fb0a9883fe113cb40e4d90d9ac8f923f42d0a8a6 | [
"MIT"
] | permissive | milram/ogre-1.7.4-osx | 15e3d14e827e3c198f7cda68872a0be26ba95e55 | adec12bc0694b9b56a8f31e91cc72f0f75dd83c7 | refs/heads/master | 2021-01-01T19:21:11.880357 | 2012-04-30T18:34:49 | 2012-04-30T18:34:49 | 7,885,095 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,707 | cpp | /*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org/
Copyright (c) 2000-2011 Torus Knot Software Ltd
Permission is hereby granted, free of charge, to any per... | [
"1991md@gmail.com"
] | 1991md@gmail.com |
5cec11ba86255923421af2182938ff37ed521948 | 8ddf7b977e699a209f4002a0909b9a6886608814 | /caffe2.msvsfix/caffe2/operators/conv_op_cudnn.cc | f879a541fbb9344ebb74cf4b84deb6bb7527cb99 | [
"BSD-2-Clause",
"MIT",
"BSD-3-Clause",
"LicenseRef-scancode-generic-cla"
] | permissive | cbernt/GreenDanubeCloud_InDectSys | 7567a4d0c998efe62e512ffc0f286181bf3b655c | a3c774492b0b8d7517a0ac93b6bb12ab98b83bcf | refs/heads/master | 2023-02-23T10:32:56.765758 | 2021-01-20T16:12:56 | 2021-01-20T16:12:56 | 323,302,873 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 38,592 | cc | #include "caffe2/core/common_cudnn.h"
#include "caffe2/core/context_gpu.h"
#include "caffe2/operators/conv_op.h"
#include "caffe2/operators/conv_op_cache_cudnn.h"
#include "caffe2/operators/conv_pool_op_base.h"
namespace caffe2 {
// Earlier in the days Caffe sets the default cudnn workspace to 8MB. We bump
// it up t... | [
"c.bernthaler@nmrobotic.com"
] | c.bernthaler@nmrobotic.com |
6c4c8a5fb2b3ddd0a20439c799cf117c654e2e2c | bb410153dcdbfffb812711c878d3f48d40db45c6 | /src/dsp/Generators/Generator.h | 9bc6eb76ed115ce7a40b87f6406f2556dcf5a389 | [
"BSD-3-Clause"
] | permissive | krokoschlange/cr42ynth | 3228ed942caf278e4e6780be3590b27504c5a7a1 | bc03846eb1438c3fc4ac7bcae4e731b9c8df65b1 | refs/heads/master | 2021-11-28T21:51:43.998487 | 2020-12-03T18:32:11 | 2020-12-03T18:32:11 | 184,879,438 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,482 | h | /*******************************************************************************
* Copyright (c) 2020 krokoschlange and contributors.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* 1. Redistributions of so... | [
"fabian.i.baer@gmx.de"
] | fabian.i.baer@gmx.de |
18517c6d4b85d32bc81f8bcb0a962c35733c27a5 | 92a698345cc2af7f6cea6784ea779bd594716f15 | /src/rcib_object.h | fda1289af0ce64e8f500d1bf00aade5fb48ccba7 | [
"BSD-3-Clause"
] | permissive | xtx1130/node-threadobject | 2d12a4047435df8f439da7e151e9adf176021596 | 5a4223e4f13afe5fce2f329f81bdb32e3cfdb1db | refs/heads/master | 2021-01-12T05:34:41.222894 | 2016-12-22T00:45:55 | 2016-12-22T00:45:55 | 77,132,301 | 1 | 0 | null | 2016-12-22T09:40:25 | 2016-12-22T09:40:25 | null | UTF-8 | C++ | false | false | 3,810 | h | /*
"license": "BSD"
*/
#ifndef RCIB_OBJECT_
#define RCIB_OBJECT_
#include <node.h>
#include <v8.h>
#include <uv.h>
#if defined _WIN32
#include <windows.h>
#else
#include <unistd.h>
#endif
#include <node_buffer.h>
#include <malloc.h>
#include <stdlib.h>
#include <string>
#include <memory>
#include <list>
#include... | [
"classfellow@qq.com"
] | classfellow@qq.com |
cd5bca7e5bf26c3d6bf3dd90c37d2fac213ea2d7 | dfce82118dca209d2b70a1c2e996ec1ed3c905ce | /OpcClient/src/LocalSyncOPCCLient.cpp | 09fea86dc8b99023c3c2bb5f76b797d39b389279 | [] | no_license | wenwushq/OPCClient | 837a49cfa34d6754897ed75b28be35f3ef6c959a | 19cb54a0ece61172e9e5f5ba63ca50d2c4d38dc6 | refs/heads/main | 2023-01-07T19:54:15.423280 | 2020-11-05T10:01:00 | 2020-11-05T10:01:00 | 310,238,809 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 10,103 | cpp | #include "LocalSyncOPCCLient.h"
#include <Winsvc.h>
#include <algorithm>
#pragma comment(lib, "Ws2_32.lib")
URUTIL_BEGIN_NAMESPACE
LocalSyncOPCCLient::LocalSyncOPCCLient()
{
p_group_ = nullptr;
refresh_rate_ = 0;
p_host_ = nullptr;
p_opc_server_ = nullptr;
is_env_ready = false;
}
LocalSyncOPCCLi... | [
"noreply@github.com"
] | wenwushq.noreply@github.com |
5fcd458d6060395c6927062b51717574b7593e9d | 694951018fc304d6dd66e0b8b7c2d133c9de071c | /lib/bit_error_rate.cpp | b575607c53f7db70aa2f13c738ab31f92d89bb23 | [] | no_license | romilpatel/LinkPlanner | 8e9e3369ae32f7d76aede341fd1d659bf1a19f91 | 6eae98a30d7386a9148a26179d259b5effd5fac1 | refs/heads/master | 2021-03-16T07:52:11.651085 | 2017-07-14T08:38:43 | 2017-07-14T08:38:43 | 95,436,638 | 0 | 0 | null | 2017-07-19T13:49:50 | 2017-06-26T10:44:05 | Matlab | UTF-8 | C++ | false | false | 3,429 | cpp | #include <algorithm>
#include <complex>
#include "netxpto.h"
#include "bit_error_rate.h"
void BitErrorRate::initialize(void){
firstTime = false;
outputSignals[0]->setSymbolPeriod(inputSignals[0]->getSymbolPeriod());
outputSignals[0]->setSamplingPeriod(inputSignals[0]->getSamplingPeriod());
outputSignals[0]->setF... | [
"danielffpereira@gmail.com"
] | danielffpereira@gmail.com |
881c7fb3437f6fce635f011bce313dec29ae60ee | 1ecc55daf99de213dec190f4a9d78070b9c217e2 | /algorithm/Leetcode/5、Median of Two Sorted Arrays.cpp | 0d3c9a8db0d53ea7cbae9c1bf78ede2d1f3dada3 | [] | no_license | RenewDo/practice | adb8a29a3c96bf2eaa5b9e6e11081b5268365830 | 2ed92e2be483747d75a4a5beb740384ea20c7587 | refs/heads/master | 2020-04-05T14:36:18.490239 | 2016-09-02T02:25:32 | 2016-09-02T02:25:32 | 58,454,203 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,054 | cpp | class Solution {
public:
double findMedianSortedArrays(vector<int>& nums1, vector<int>& nums2) {
int len1= nums1.size(), len2 = nums2.size();
int total = len1+len2;
if(total&1)
return findk(nums1.begin(), len1, nums2.begin(), len2, total/2+1);
else return ... | [
"noreply@github.com"
] | RenewDo.noreply@github.com |
f0830f73e9bf9f117e33f9bd88d2c3bf79f78ad0 | 68a92984d8a8b911931e587950b24a9675ff01d0 | /main.cpp | bb4c70c1670af105cff11f9480cc15a34f142de7 | [] | no_license | MateuszMateo/Kalkulator- | b97002c6299dafd4ef3de1c9d137559fb617dc34 | dc26e0d204911e6305fb8f771607c459b424506d | refs/heads/master | 2021-01-10T16:16:53.940482 | 2015-10-01T09:49:14 | 2015-10-01T09:49:14 | 43,488,960 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,379 | cpp | #include <iostream>
#include<cstring>
using namespace std;
int main()
{
int a, b, wynik;
char dzialanie;
cout << "Aby, wybrac dodawanie wpisz +" <<endl;
cout << "Aby wybrac odejmowanie wpisz -" <<endl;
cout << "Aby wybrac mnozenie wpisz *" <<endl;
cout << "Aby wybrac dzielenie calkowitoliczbowe wpisz /" ... | [
"k.mateusz120@gmail.com"
] | k.mateusz120@gmail.com |
31a3abb2801ca4b17b72fce2305a1f674e6eab5b | fc7d66d45668fa2f2af9e9f229ddc2325b8a8fbf | /old/asm2020S/session14/stopopt.cc | 0ceca33ee02ff65a9533739478e8ac6f6c268f4f | [] | no_license | StevensDeptECE/CPE390 | 3b3e3f39c47bdaa768bc01dc875abeb6d44be303 | da6e657ecb94dde9f7d933c36bf17c1f2165540e | refs/heads/master | 2023-05-03T00:22:37.816177 | 2023-05-02T17:41:42 | 2023-05-02T17:41:42 | 144,867,364 | 61 | 53 | null | 2023-05-09T01:02:52 | 2018-08-15T14:59:41 | Assembly | UTF-8 | C++ | false | false | 183 | cc | #include <iostream>
using namespace std;
void f(int n) {
for (int i = 0; i < n; i++)
cout << i;
}
void g(int n) {
int i = 0;
do {
// this happens once!
} while (i < n);
}
| [
"Dov.Kruger@gmail.com"
] | Dov.Kruger@gmail.com |
9cc857817cef0478a279b51fe7f617dc022bed5b | 510b229d9fc12935bfd5291901035d8e02a5af46 | /lib/ctrcommon/include/ctrcommon/socket.hpp | e8c35a0c10109b8a0177daffa7a9f463529fdc5a | [
"MIT"
] | permissive | astronautlevel2/BootNTR | 179c8eb8ec88176551d5b6a5c2ca216e6f8148d7 | b00762b44aa3e913e4483364fecf67ef21b74256 | refs/heads/master | 2020-04-05T14:24:53.599375 | 2017-01-05T01:00:03 | 2017-01-05T01:00:03 | 61,382,418 | 128 | 13 | null | 2016-10-25T20:52:15 | 2016-06-17T15:08:03 | C++ | UTF-8 | C++ | false | false | 394 | hpp | #ifndef __CTRCOMMON_SOCKET_HPP__
#define __CTRCOMMON_SOCKET_HPP__
#include "ctrcommon/types.hpp"
#include <stdio.h>
#include <string>
u64 htonll(u64 value);
u64 ntohll(u64 value);
u32 socketGetHostIP();
int socketListen(u16 port);
FILE* socketAccept(int listeningSocket, std::string* acceptedIp = NULL);
FILE* socket... | [
"44670@44670.org"
] | 44670@44670.org |
023914c6eef20c04300f9b4909415e879cc404da | 4e87df024f179be11bc6ad91d3fda019183c9e3b | /server_trade_dispatcher/IOCPServer/recvbuffer.h | 1472202bb2a9be5e20a8d7e852df504430ee3493 | [] | no_license | lanzheng1113/game_robot | 54f03c8cb0b29ca7e38952187a45fdb00be1b508 | c8efb0770e19a9baa9fef5de3992360993847917 | refs/heads/master | 2020-07-12T14:26:25.288847 | 2019-08-28T07:23:08 | 2019-08-28T07:23:08 | 204,839,436 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,150 | h | #ifndef _RECVBUFFER_H
#define _RECVBUFFER_H
/**
* @file recvbuffer.h 定义接收缓冲区类RecvBuffer
* @author:Vincent
* @brief RecvBuffer类是IO接收缓冲区的封装
*
* 在本版本中,接收缓冲区由一个环形缓冲区CircuitQueue<BYTE>封装实现。
*/
#include <windows.h>
#include "../common/CircuitQueue.h"
#include "../common/NetBase.h"
/**
* @brief RecvBuffer类是IO接收缓冲区的封装
* 在本版本中... | [
"lanzheng_1123@163.com"
] | lanzheng_1123@163.com |
9f4211093d1fe73d70c0552c7b8cae023dbe5478 | 4e376d3b6efd7596e094b85eb9acebbdeabab246 | /src/rpcblockchain.cpp | 777329ecf8437da63ec3502badbd851b4cbbaffe | [
"MIT"
] | permissive | N1rvash/CHAPCOIN | 53f7b893cafd14ef8f339b897c70bdd092137c7b | cde904a6f72792e127479a12c946528e5d4709c6 | refs/heads/master | 2021-08-19T18:46:56.698106 | 2017-11-27T05:19:05 | 2017-11-27T05:19:05 | 112,150,310 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 8,480 | cpp | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "main.h"
#include "bitcoinrpc.h"
using namespace json_spirit;
using namespace... | [
"camilo@ninjas.cl"
] | camilo@ninjas.cl |
2f105dadba37f88151387fc5b323fa8c834af7b0 | 7257f9fcd1512d86c485ae2f265188b960464d32 | /src/searcher-inl.h | cdb3d14ecc36f38f300f75d67ea31a05b0e2eb16 | [
"MIT"
] | permissive | KellyJDavis/Andrews-Curtis | 46646c5921660f0bb1f3c5f56151a30c4eb2e9ee | 1838a14ae03ca2c920f68d1afcf2d8ffc7c550dc | refs/heads/master | 2020-04-22T12:07:14.990367 | 2014-09-27T21:52:49 | 2014-09-27T21:52:49 | 23,014,702 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 710 | h | //
// searcher-inl.h
// Andrews-Curtis Conjecture
//
// Created by Kelly Davis on 8/19/11.
//
//
#ifndef Andrews_Curtis_Conjecture_searcher_inl_h
#define Andrews_Curtis_Conjecture_searcher_inl_h
#include <iostream>
#include <boost/mpi/communicator.hpp>
namespace andrews_curtis
{
inline bool Searcher::is_tr... | [
"kdavis@alum.mit.edu"
] | kdavis@alum.mit.edu |
7fa0f2ad505322c470e461987095f70f0d88ccd5 | d60cfe7e01b3043674049224e96d96bbf8dcfd9b | /test/json.cpp | e8221c64c6629d4cf17bdedf98771e7c6cbcfd16 | [] | no_license | shaiganhuiyi/VideoOnDemandSystem | 438890f9bff183cbd9dc316ffeb63fabd2ed526c | a0b9e459a1d952776b10a06fcda8eef72940745f | refs/heads/master | 2023-08-15T05:08:00.399541 | 2021-09-16T14:33:11 | 2021-09-16T14:33:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,010 | cpp | #include<iostream>
#include<string>
#include<jsoncpp/json/json.h>
int main(int argc,char *argv[] )
{
//1.多个数据对象组织成为json格式的字符串--序列化
Json::Value root;
root["姓名"]="张三";
root["年龄"]=18;
root["成绩"].append(33);
root["成绩"].append(44);
root["成绩"].append(55);
Json::StyledWriter writer;
std::cout<< ... | [
"861585843@qq.com"
] | 861585843@qq.com |
7298c12227ec4a78714f664c94087541fe0872b0 | 4dca3b21f8d6c60601f0b71a5484dc0625299b78 | /Arduino/SharpSensorCm.ino | 52df7a8beb7171fc8d2154080a7cfd03ec5bab15 | [] | no_license | ritwikkanodia/Multi-DisciplinaryProject | 008fcd174d4182f09f98bc2e219b906bf1119660 | e1373b12fb3c46737d07a8e645e09b1064849daa | refs/heads/master | 2023-04-08T23:05:47.155767 | 2021-04-06T09:22:58 | 2021-04-06T09:22:58 | 332,398,835 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 963 | ino | #include <SharpIR.h>
#define ir A0
#define model 20150
// ir: the pin where your sensor is attached
// model: an int that determines your sensor: 1080 for GP2Y0A21Y
// 20150 for GP2Y0A02Y
// (working distance range according ... | [
"noreply@github.com"
] | ritwikkanodia.noreply@github.com |
40a681fb8a60a0cbc05675e377bbf2d78d5c8852 | 9cb6b8d7d4625450db5f3fed5040e87bcc950832 | /diversos/spoj_jaspion.cpp | 6a4910e253cf6ccad530513fba17a71049d0eaf4 | [] | no_license | kangli-bionic/Treino-Maratona | 7ca7731142514c28880c0e463c6a8ba5d97aebb6 | c02fefbe740f8792b825faa722718cdd64c456a2 | refs/heads/master | 2021-05-30T03:28:37.094987 | 2014-09-15T18:17:01 | 2014-09-15T18:17:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 745 | cpp | #include <cstdio>
#include <string>
#include <cstring>
#include <map>
#include <sstream>
using namespace std;
char buf[500];
char buf2[500];
map<string, string> dic;
int main()
{
gets(buf);
int casos;
sscanf(buf, " %d", &casos);
while(casos--){
int m, n;
gets(buf);
sscanf(buf, " %d %d", &m, &n);... | [
"gabrielrcp@gmail.com"
] | gabrielrcp@gmail.com |
63a6f1852d34a8609b72e666268c48a1bb78669a | e52ba923f4b908255bfe8943e429e539514b3724 | /roscpp_core/rostime/include/ros/time.h | e1b65e94433e54362d9b3777979159c6256e3bed | [] | no_license | KawaiLaboratory/CartROS | 3686a5f2d0076ace7728031ffea45ce99b060e57 | aa08352a354e9d59e5c69a852634375006077ab8 | refs/heads/master | 2023-02-21T15:04:14.188618 | 2021-01-21T02:19:06 | 2021-01-21T02:19:06 | 156,093,619 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,919 | h | /*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2010, Willow Garage, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following... | [
"b1504000@planet.kanazawa-it.ac.jp"
] | b1504000@planet.kanazawa-it.ac.jp |
f6af59d0fc0b1be8b8f09392204e42a37bcf9e55 | a593c5f30d0d26781307ec734dd8b48b2c581448 | /ToF/DSDaq/AthenaII.h | e12d14e2cca9e764cdb1f04f4ceeffe0f94f3017 | [] | no_license | nthallen/citcims | 5cfac1b5ef7b17c4142961414a446a2fd393a21f | 5c5fe5bbb0bed96459624338c7f340e822439213 | refs/heads/master | 2023-05-24T19:05:24.008090 | 2019-07-21T19:55:37 | 2019-07-21T19:55:37 | 65,412,891 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 931 | h | #ifndef ATHENAII_H_INCLUDED
#define ATHENAII_H_INCLUDED
#include "dsdaqdrv.h"
/**
* Provides methods specific to the AthenaII hardware.
*/
class AthenaII : public dsdaqdrv {
public:
AthenaII(int ad_se); // This probably needs more args...
virtual ~AthenaII();
void parse_ascii(const char *ibuf);
pro... | [
"allen@huarp.harvard.edu"
] | allen@huarp.harvard.edu |
24811afa59020c64fd1bf82cdd526c5860c54e8b | f24e7daff602a5e3f2b4909721548a9f84598a56 | /codeforces/250/A/problem.cpp | b6705c53110a78b5727c7913a7809b484af2fff5 | [] | no_license | permin/Olymp | 05b594e8c09adb04c1aa065ba6dd7f2dae8f4d6e | 51ac43fcbcc14136ed718481f64e09036f10ddf8 | refs/heads/master | 2021-01-18T23:04:00.491119 | 2017-03-08T22:22:25 | 2017-03-08T22:22:25 | 23,457,833 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,308 | cpp | #include <iostream>
#include <cstring>
#include <cstdlib>
#include <cstdio>
#include <string>
#include <vector>
#include <set>
#include <map>
#include <list>
#include <stack>
#include <deque>
#include <queue>
#include <algorithm>
#include <cassert>
#include <cmath>
#include <ctime>
#include <sstream>
#include <unordere... | [
"rodion.permin@gmail.com"
] | rodion.permin@gmail.com |
e8968ad517749b427ffb6e97090c9fb578d3c3e6 | 920c4ef30727f0c51b5c9f00bdd9b923b541853e | /Code_Cpp/cppserver备份资料/code/common/source/include/cfg_data/worldBossData/worldBossData.h | df3476991f3eca2161f24d7eed1ba8161368da9a | [] | no_license | fishney/TDServer | 10e50cd156b9109816ddebde241614a28546842a | 19305fc7bf649a9add86146bd1bfd253efa6e9cb | refs/heads/master | 2023-03-16T22:24:45.802339 | 2017-10-19T07:02:56 | 2017-10-19T07:02:56 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 1,430 | h | /*----------------- worldBossData.h
*
* Copyright (C): 2016 Mokylin¡¤Mokyqi
* Author : tanghaibo
* Version : V1.0
* Date : 2017/05/09 14:47:14
*--------------------------------------------------------------
*
*------------------------------------------------------------*/
#pragma once
#include "stl/... | [
"haibo tang"
] | haibo tang |
112872cce9698bc62d8df4722c8a5b41f0533822 | 159a16eb7e314307e0f85b808a3c928d691d09e1 | /afl_code/Point.h | 3c8e1cf6ab3d0d158f29f4c5577a18d19b4c2887 | [] | no_license | stevehu88/Map_Render | 96789876de674e02886441fa3e3f6af487cc516b | 26278d7b226693f9aea0221989c64559fc9017b2 | refs/heads/master | 2020-06-05T07:15:20.701265 | 2015-09-10T03:37:56 | 2015-09-10T03:37:56 | 42,220,145 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 402 | h | /*
* Point.h
*
* Created on: Sep 4, 2015
* Author: Steve Hu
*/
#ifndef POINT_H_
#define POINT_H_
class Point {
public:
Point();
Point(double px, double py);
virtual ~Point();
double getX() const {
return x;
}
void setX(double x) {
this->x = x;
}
double getY() const {
return y;
}
void se... | [
"root@linux-q01p.dhcp.nkg.sap.corp"
] | root@linux-q01p.dhcp.nkg.sap.corp |
88535be3318d0d16092dd8469b5b1763f3fc7a70 | e929a84dec3a6e710351261a6de895308efa6d33 | /codemp/null/null_glimp.cpp | 64c1ee8d188941d48e7ba27b5d8c055cda77d569 | [] | no_license | xLAva/JediAcademyLinux | 570d85e1e24d950ab63e9297135248362d873dbd | 1d31492a576106e104f49bd9b5fe7f7792a90e89 | refs/heads/JediAcademyLinux | 2021-01-18T21:23:43.164581 | 2014-11-29T13:52:49 | 2014-11-29T13:52:49 | 9,734,512 | 125 | 18 | null | 2013-09-24T19:02:36 | 2013-04-28T18:51:54 | C++ | UTF-8 | C++ | false | false | 1,412 | cpp | #include "../game/q_shared.h"
#include "../renderer/tr_local.h"
#ifdef __linux__
typedef unsigned int GLenum;
#endif
#ifdef _WIN32
#include <windows.h>
BOOL (WINAPI * qwglSwapIntervalEXT)( int interval );
//void (APIENTRY * qglMultiTexCoord2fARB )( GLenum texture, float s, float t );
//void (APIENTRY * qglActiveTextur... | [
"willi@schinmeyer.de"
] | willi@schinmeyer.de |
a447f5d1c87423241b3580954cba681f7b5dcd04 | fd6ff690a9d2f1cf1eb8b92a96cead753369c109 | /src/backend/cpu/cpu-context.h | 0b9261a19e45c40d6efb53569e1c515f90bf66db | [
"Apache-2.0"
] | permissive | Asixa/Dragonfly | 1a8e6bab0e011a034c732071ed09f76afb601894 | ef599c8a7f9d756159cd80a61dcc70fd128ef67f | refs/heads/master | 2021-05-20T03:32:17.525880 | 2021-02-01T15:43:12 | 2021-02-01T15:43:12 | 252,166,588 | 2 | 0 | Apache-2.0 | 2020-11-06T01:58:15 | 2020-04-01T12:19:15 | C++ | UTF-8 | C++ | false | false | 1,369 | h | #ifndef CPU_CONTEXT_H
#define CPU_CONTEXT_H
#include <string>
#include "LLVM/context.h"
class CudaDriver {
public:
llvm::GlobalValue* cuda_device,*cuda_module,*cuda_context;
llvm::Constant* ptx;
llvm::Function* init,
* driver_get_version,
* device_get_count,
* device_get,
* device_get_name,
* device_get_at... | [
"Asixa@foxmail.com"
] | Asixa@foxmail.com |
61e37aee3f78e676d9d36ea6c75819924f9b6cd7 | 55ca8d221b40f0b626b7553363d00568c9cb5bf0 | /long/marchlunch2.cpp | cb00341dff6700c2f585a0ca003eb347d3c1d85d | [] | no_license | mukul3646/CodesPreservedDuringEngineering | 224d1638a9e033e9633dd9962a2717f94d78d31d | 19f2f85750c61fc58d28bd8f58d2d8d30ff39697 | refs/heads/master | 2022-11-26T05:22:15.432580 | 2020-08-06T12:29:58 | 2020-08-06T12:29:58 | 285,565,588 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 858 | cpp | #include<bits/stdc++.h>
using namespace std;
long int printDistinct(long int arr[],long int n)
{
long int count=0;
// First sort the array so that all occurrences become consecutive
sort(arr, arr + n);
// Traverse the sorted array
for (int i=0; i<n; i++)
{
// Move the index ahead w... | [
"mukul3646n@gmail.com"
] | mukul3646n@gmail.com |
da71ebeed49131844112f79e20274b2e25f1fc8e | 4fc8cfdbcde18d697f7aa12165a3842e62419029 | /DXUT9and10/Optional/ImeUi.cpp | a807a21f4091e04a448fa4cb7cfcf19d60836514 | [] | no_license | seanpm2001/Marselas_Zombie-Direct3D-Samples | f3de32effddcfbce5818e0d1ca5b32de6acbdd4a | 5f53dc2d6f7deb32eb2e5e438d6b6644430fe9ee | refs/heads/master | 2023-03-18T17:26:53.101653 | 2018-09-27T21:30:49 | 2018-09-27T21:30:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 101,778 | cpp | //--------------------------------------------------------------------------------------
// File: ImeUi.cpp
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//--------------------------------------------------------------------------------------
#include "dxut.h"
#include "ImeUi.h"
#include <math.h>
#inc... | [
"marselas@gmail.com"
] | marselas@gmail.com |
14c36301b395004dc03913eab38ab4a7b094f5d7 | e542e955e45277ca014430019a0188f6e85a0d3c | /HkfyCrypt/HDSerial.cpp | 8c139d7f8066cb2771a2bb8d9559ffdb9cadc57a | [] | no_license | langyastudio/sentinel-crypto | fb3eb34270dc22cb42255b8beeee3340510bf096 | 86f98f7f2149e1ff10cb3657f01144ce386b6570 | refs/heads/master | 2020-03-22T10:51:21.039366 | 2019-10-31T03:21:46 | 2019-10-31T03:21:46 | 139,931,467 | 4 | 1 | null | null | null | null | GB18030 | C++ | false | false | 2,406 | cpp | #include "stdafx.h"
#include "HDSerial.h"
void ChangeByteOrder(PCHAR szString, USHORT uscStrSize)
{
USHORT i = 0;
CHAR temp= '\0';
for (i = 0; i < uscStrSize; i+=2)
{
temp = szString[i];
szString[i] = szString[i+1];
szString[i+1] = temp;
}
}
//------------------------------------------------... | [
"1032030048@qq.com"
] | 1032030048@qq.com |
9c173e48c8ecf8f345e47a3ec8ecbb99335c1d4e | 380061c0415ed0d76acbbd1da00d9d42a650ba15 | /src/Integrative_Phys/Anatomical_layer/Anatomical_entity.cpp | 44e29e011c8c57195e0360c16c9bd4e707ad19e9 | [] | no_license | velociraptors/physio_mist | 551d266d3fb911088d83d5b735f080f4168a47c4 | d69aed766561cfb85071304797dba23af70a4aca | refs/heads/master | 2021-01-17T04:25:00.300402 | 2009-12-04T18:21:47 | 2009-12-04T18:21:47 | 313,483 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 521 | cpp | //////////////////////////////////////////////////////
// Implementation of Anatomical_entity
//////////////////////////////////////////////////////
#include "Anatomical_entity.h"
void Anatomical_entity::set_FMAID( FMAID* nFMAID )
{
fmaid = nFMAID;
}
FMAID* Anatomical_entity::get_FMAID()
{
return fmaid;
}
Anatomical... | [
"barbarajoyjones@gmail.com"
] | barbarajoyjones@gmail.com |
31344cff8c135bfc68695a188648c7a55a6987a1 | 9acc02a9aef3e41052f22f0f04d9b43d153f4722 | /book-notes/ecpp/it28-avoid-returning-handles-to-object-internals/avoid_returning_handle_to_object_internal.m.cpp | 69ddec1e4535ebf93399181839374469f6e380c3 | [] | no_license | zhehaowang/zhehao.me | be5b8786662e90060d69d14f6b32353d1fb93c61 | e223e7f234f3df8d3ca65bf27120947175389d61 | refs/heads/master | 2022-07-14T18:42:40.535116 | 2022-07-03T00:08:45 | 2022-07-03T00:08:45 | 67,072,899 | 6 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 765 | cpp | #include <iostream>
#include <string>
// demonstrates undefined behavior of dangling reference caused by temporary
// objects + returning a handle to object internal
class MyClass {
public:
MyClass(const std::string& data) : d_data(data) {}
const std::string& data() const { return d_data; }
private:
std::strin... | [
"wangzhehao410305@gmail.com"
] | wangzhehao410305@gmail.com |
8ad277c9f6646ed46bf2256eb126da8f0b4658df | a6fbd31d83a34c84b95f9f33521aa49e4377b96d | /Semestre 1/Programacion y algoritmos/prog2017_Proyecto2_Alvarez_ES/image.hpp | b1024c6460c501be8129f0f5cf572c065882cb55 | [] | no_license | ericksav21/Maestria | d8732dd1670ce552bd881827c27ce0986a5b80eb | 637ef704029677f78ca614c413119ec93fedb813 | refs/heads/master | 2021-01-19T20:08:06.415345 | 2019-01-25T17:17:24 | 2019-01-25T17:17:24 | 101,221,897 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 900 | hpp | #ifndef IMAGE_H
#define IMAGE_H
#include <iostream>
#include <vector>
#include <string>
#include <cmath>
#include <fstream>
#include <sstream>
#include "util.hpp"
#include "point.hpp"
class Image {
private:
int width, height, scale;
vector<vector<int> > mat;
void read_from_file(string files_name);
int A_test(in... | [
"erickalv21@gmail.com"
] | erickalv21@gmail.com |
8ed5f2780de6dad1cf5325115861e2eaefe1cbe1 | 49b979e617619251a4d8df4c92ded34dde460aeb | /flow/MaxFlow.cpp | c5fb9bd72d60f331906e3ab0fafb5f5f54155f8a | [] | no_license | boook64/codebook | ad340438cec5983afc18bb8cfad787075d3c88dd | cb25cfd7ca0ec426e872b80fd426f38515c0b124 | refs/heads/master | 2023-01-09T23:39:38.840631 | 2020-11-05T16:28:29 | 2020-11-05T16:28:29 | 310,356,223 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,580 | cpp | struct N{
int from, to;
long long cap, flow;
};
struct dinic{
int s, t, dep[maxn], use[maxn], res[maxn];
vector<int> g[maxn];
vector<N> e;
void init(){
for (int i = 0; i < maxn; ++ i)
vector<int> ().swap(g[i]);
vector<N> ().swap(e);
}
void ADDE(int f, int t, long long c){
g[f].emplace... | [
"boook64@gmail.com"
] | boook64@gmail.com |
694c44895249d2de28307f8bf76e4427e98d7a2d | 992da214facdfe75afd595e141685a5958c256dc | /ComponentRealSenseV2Server/smartsoft/src/RealSenSeWrapper.cc | fd4e0fa2c33c58b07fc2f6d20c02c0658a0598f2 | [] | no_license | HannesBachter/ComponentRepository | e9d66bcc52108ebfa03e161122ad0e0d0042f3d6 | 71b7a90cf8b5cc91f70757b6fafbaf78d4c1b7a8 | refs/heads/master | 2023-02-16T13:17:17.161655 | 2020-08-03T14:43:54 | 2020-08-03T14:43:54 | 285,233,349 | 0 | 1 | null | 2020-08-05T08:51:59 | 2020-08-05T08:51:58 | null | UTF-8 | C++ | false | false | 25,187 | cc | //--------------------------------------------------------------------------
// Code generated by the SmartSoft MDSD Toolchain Version 2.2
// The SmartSoft Toolchain has been developed by:
//
// Christian Schlegel (schlegel@hs-ulm.de)
// University of Applied Sciences Ulm
// Prittwitzstr. 10
// 89075 Ulm (Germany)
//
/... | [
"lutz@hs-ulm.de"
] | lutz@hs-ulm.de |
16e4cf34ca9c7af4e76849219ee1980154aa1798 | 0cbf4ba563610d48109381aea7599236783f96d2 | /src/pmd/pmd.cpp | a7c7570a1783a1c2b7e30344b0b8349940a15939 | [] | no_license | xsun89/emeralddb | 6a8971bcf09952987f8f3f5e46b6996d79918f94 | 27e690bec6b6ce346b19d31879a8ff7dfa211f9c | refs/heads/master | 2016-09-05T10:25:07.495114 | 2014-12-23T00:14:03 | 2014-12-23T00:14:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,340 | cpp | /*******************************************************************************
Copyright (C) 2013 SequoiaDB Software Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License, version 3,
as published by the Free Software Foundati... | [
"sunxin89@gmail.com"
] | sunxin89@gmail.com |
1797c4623367e0d47504ec17e49ebaffa339e5c4 | 9d364070c646239b2efad7abbab58f4ad602ef7b | /platform/external/chromium_org/extensions/shell/app/shell_main_delegate.h | 3db8ac5084fa8bfb14219eca60117bc417ac4962 | [
"BSD-3-Clause"
] | permissive | denix123/a32_ul | 4ffe304b13c1266b6c7409d790979eb8e3b0379c | b2fd25640704f37d5248da9cc147ed267d4771c2 | refs/heads/master | 2021-01-17T20:21:17.196296 | 2016-08-16T04:30:53 | 2016-08-16T04:30:53 | 65,786,970 | 0 | 2 | null | 2020-03-06T22:00:52 | 2016-08-16T04:15:54 | null | UTF-8 | C++ | false | false | 1,772 | h | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef EXTENSIONS_SHELL_APP_SHELL_MAIN_DELEGATE_H_
#define EXTENSIONS_SHELL_APP_SHELL_MAIN_DELEGATE_H_
#include "base/compiler_specific.h"
#include "bas... | [
"allegrant@mail.ru"
] | allegrant@mail.ru |
cad2fa408768ccba40c4508937f4d6e5911f95e9 | 5696f7e9bb6cb18e791be3f71e8a72f9a26a0a22 | /tools/WindowsMediaPlayer/CWMPMetadataText.h | c2423776a3f9da93f13582d4a1da1594dfd0533d | [
"MIT"
] | permissive | xylsxyls/xueyelingshuang | 0fdde992e430bdee38abb7aaf868b320e48dba64 | a646d281c4b2ec3c2b27de29a67860fccce22436 | refs/heads/master | 2023-08-04T01:02:35.112586 | 2023-07-17T09:30:27 | 2023-07-17T09:30:27 | 61,338,042 | 4 | 2 | null | null | null | null | GB18030 | C++ | false | false | 866 | h | // CWMPMetadataText.h : 由 Microsoft Visual C++ 创建的 ActiveX 控件包装类的声明
#pragma once
/////////////////////////////////////////////////////////////////////////////
// CWMPMetadataText
class CWMPMetadataText : public COleDispatchDriver
{
public:
CWMPMetadataText() {} // 调用 COleDispatchDriver 默认构造函数
CWMPMetad... | [
"yangnan@huaiye.com"
] | yangnan@huaiye.com |
e685174b40ebd9cbf0bb2f8d3fd686e4e0a4858d | 55cd997356533e66dd1e5ad585089836982620ad | /CustomControls/UICustomSingleControl/UICustomColorViewWidget.cpp | f80ca93ab7d1b6dc5bc45047d717c35dc41ab37c | [] | no_license | douzhongqiang/EasyCanvas | f8e34ee6b60acf825cecc388c2a4a03262039d31 | 84aad331afad1a43e77fcf3bb4ce093f80a60008 | refs/heads/master | 2023-07-25T22:36:15.453873 | 2023-07-15T07:18:02 | 2023-07-15T07:18:02 | 251,264,472 | 143 | 70 | null | null | null | null | UTF-8 | C++ | false | false | 2,555 | cpp | #include "UICustomColorViewWidget.h"
#include "UICustomCore/CustomStyleConfig.h"
#include <QPainter>
#include <QMouseEvent>
#include <QMimeData>
#include <QDrag>
UICustomColorViewWidget::UICustomColorViewWidget(QWidget* parent)
:CustomWidget(parent)
, m_selectedColor(g_StyleConfig->getHighLightColor())
{
g... | [
"514200399@qq.com"
] | 514200399@qq.com |
d9f2ade4eb765bebe8d93a31928f53653e310ee4 | e9854cb02e90dab7ec0a49c65f658babba819d56 | /Curve Editor Framework/QT/src/gui/itemviews/qlistview.h | 290542935a57b7fdf66f80b310f2610298bad2c1 | [] | no_license | katzeforest/Computer-Animation | 2bbb1df374d65240ca2209b3a75a0b6a8b99ad58 | 01481111a622ae8812fb0b76550f5d66de206bab | refs/heads/master | 2021-01-23T19:46:13.455834 | 2015-06-08T21:29:02 | 2015-06-08T21:29:02 | 37,092,780 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,832 | h | /****************************************************************************
**
** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the QtGui module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** ... | [
"sonyang@seas.upenn.edu"
] | sonyang@seas.upenn.edu |
6c1862b908afb86b80e2b8941e5481c3fc1ab832 | 1af49694004c6fbc31deada5618dae37255ce978 | /chrome/services/sharing/nearby/nearby_connections.cc | 181cc5baaa42fd876266e03dd4274af2667b7bd9 | [
"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 | 25,030 | cc | // 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.
#include "chrome/services/sharing/nearby/nearby_connections.h"
#include "base/files/file_util.h"
#include "base/synchronization/waitable_event.h"
#includ... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
b71e50af33cf710c2ba1980e001650fff243a38a | 3b91dfd4409513207575f2728918a1e2e484e13b | /trunk/tools/lvvfs/lvvfs.cpp | a68f4ee6121ddf802d7dd38ecae74a9c7992878b | [] | no_license | wingfiring/xirang | 16a8b10de9965b7609153acb8d4cfe878a089aa5 | eda84647cca476a29e8d785b8fd8ceda78bb952f | refs/heads/master | 2019-06-15T08:06:44.692019 | 2017-06-04T10:25:57 | 2017-06-04T10:25:57 | 6,007,811 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,279 | cpp | #include <iostream>
#include <xirang/versionedvfs.h>
#include <xirang/fsutility.h>
#include <xirang/vfs/local.h>
#include <xirang/vfs/inmemory.h>
#include <xirang/vfs/subvfs.h>
#include <xirang/io/exchs11n.h>
#include <xirang/io/path.h>
#include <xirang/io/file.h>
#include <xirang/io/memory.h>
#include <unordered_ma... | [
"scy@icerote.com"
] | scy@icerote.com |
b2dc64e01315a1f831f773f2fbb5f085ec524a57 | d2d6aae454fd2042c39127e65fce4362aba67d97 | /build/iOS/Debug/include/Fuse.Navigation.GoForward.h | b00df20cd5e2dfb712a5cd8029c7da22bd941b80 | [] | no_license | Medbeji/Eventy | de88386ff9826b411b243d7719b22ff5493f18f5 | 521261bca5b00ba879e14a2992e6980b225c50d4 | refs/heads/master | 2021-01-23T00:34:16.273411 | 2017-09-24T21:16:34 | 2017-09-24T21:16:34 | 92,812,809 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 748 | h | // This file was generated based on '/Users/medbeji/Library/Application Support/Fusetools/Packages/Fuse.Navigation/1.0.2/$.uno'.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Fuse.Navigation.BackF-9e5acfb7.h>
namespace g{namespace Fuse{namespace Navigation{struct GoForward;}}... | [
"medbeji@MacBook-Pro-de-MedBeji.local"
] | medbeji@MacBook-Pro-de-MedBeji.local |
4b7e39d6bb6623f77a0c0736845f8bf2c2f187b6 | f5303bee9003fe3ace6f82fa69de0377cea45cd8 | /service/service2/sys/openfile.cpp | 751f99aeda74e014dc534e24a77387b104ba180b | [
"MIT"
] | permissive | rdmenezes/exodusdb | 82c55d8c43934c30821dd2a752e83c1d792e154a | f732e366b74ff4697890ec0682bc3697b8cb0bfb | refs/heads/master | 2021-01-16T00:27:49.522747 | 2014-12-24T18:01:51 | 2014-12-24T18:01:51 | 32,968,924 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 592 | cpp | #include <exodus/library.h>
libraryinit()
function main(in filename, io file, in similarfilename="") {
//opens a filename and returns file variable and true
//otherwise if similar file name it tries to create in same fashion
//otherwise
file = "";
for (var tryn=1; tryn<=2; ++tryn) {
if (file.o... | [
"neosys.com@415b895b-543e-5d66-3bb8-6f700c98dabf"
] | neosys.com@415b895b-543e-5d66-3bb8-6f700c98dabf |
31ad1c4762ef5fd099cdaf38c4703834f8fefdc0 | d5d2719a9ff2ca4c7e24068d5b82d1434b7646b2 | /So_nhi_phan_tu_1_den_N.cpp | c24e6830ffe09e290f790367c7e660d542eb8c35 | [] | no_license | cuongdh1603/Data-structure-and-Algorithm | a3610eb92c504c7c0f6dd19cbc6ab83d4b78999d | 0285562b694573e1f2b79e2caab985ae0c170298 | refs/heads/main | 2023-07-12T04:17:36.297555 | 2021-08-21T15:06:53 | 2021-08-21T15:06:53 | 352,666,254 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 405 | cpp | #include<bits/stdc++.h>
using namespace std;
int main(){
short t;
cin>>t;
while(t--){
int n;
cin>>n;
deque<string> dq;
dq.push_back("1");
for(int i=0;i<n;i++){
string s = dq.front();
cout<<s<<' ';
dq.pop_front();
dq.push... | [
"="
] | = |
7e96bd88692fff9b3945a80f9bdb9b635b6def39 | a64b801b31be97b6a717900ab1e07579b5174d09 | /lab7/Tests.cpp | 4c77c8b3fce434c62bcf6d481ce0d49091a3615e | [] | no_license | LauraDiosan-CS/lab5-6-template-stl-TaniaVarduca | 7844a8169767aed8d8a6a85b385e09b0a3fbaa47 | 5c27773c4f7efb80bc2317d18918f8bf42917b94 | refs/heads/master | 2021-05-18T10:29:25.595452 | 2020-04-13T04:54:31 | 2020-04-13T04:54:31 | 251,211,395 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,595 | cpp | #include "Tests.h"
#include "Aplicatie.h"
#include "RepoFile.h"
#include"Service.h"
#include <iostream>
#include <assert.h>
#include "tests.h"
using namespace std;
//teste constructori
void testConstructors() {
Aplicatie a1; //constructor implicit
assert((a1.getName() == NULL) && (a1.getConsumMemorieKb() == 0) && (a... | [
"tania_varduca@yahoo.com"
] | tania_varduca@yahoo.com |
d995bc6ba6992969890ef85b341e82de5931ccf8 | 1e867f11e7974fc57b03d06646a7918a064fb052 | /leetCode/Repeated DNA Sequences.cpp | 559b5129f13a4ccc509f5f005b953fc95eaadbf4 | [] | no_license | Wahed08/ACM-Problem-Solving | f4d6b3615d0f8e935583028b3642a283c502d2b1 | d7bc101b51699bc165202f201bcc791687ce4fe6 | refs/heads/master | 2023-04-17T19:46:09.620633 | 2023-04-07T05:53:40 | 2023-04-07T05:53:40 | 188,804,904 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 529 | cpp | class Solution {
public:
vector<string> findRepeatedDnaSequences(string s) {
ios_base::sync_with_stdio(false);
cin.tie(0), cout.tie(0);
int ln = s.length();
map<string, int>mapp;
vector<string>vec;
if(ln < 10)
return {};
... | [
"noreply@github.com"
] | Wahed08.noreply@github.com |
8ff44774ff0db65565ea84ef6eeadeaf96d30ab5 | 4cf362f0f761a765097a23696c6af050e5d75a7e | /AstarSolver.cpp | 4fba1a365d6ed5cc45c4d5a03e4c49bce7a72fe0 | [] | no_license | Rui1223/robust_planning_icra2020 | 372d55977497dee67b8fed88c6ebb707da5488d6 | 73f9e94fcc5cf75b5a24ef77d99665cf62fa218c | refs/heads/master | 2022-03-07T13:31:24.102931 | 2019-11-23T03:23:15 | 2019-11-23T03:23:15 | 209,879,541 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,600 | cpp | /* This cpp file defines A* search on a given graph
with specified start and goal */
#include <vector>
#include <iostream>
#include <cmath>
#include <algorithm>
#include "Graph.hpp"
#include "AstarSolver.hpp"
#include "Timer.hpp"
AstarSolver_t::AstarSolver_t(Graph_t &g, int start, std::vector<int> goalSet)
{
// ini... | [
"gilbertwr2012@gmail.com"
] | gilbertwr2012@gmail.com |
a42f6e2df0de944887371cfa0deb6b0dfa9dc05e | 9fcd0caf38e4e9eea4a8db1933898f7a4be80c23 | /src/regex.hpp | fbf69ce7f980e88e4bd89142fe1e7d7e2140f4d8 | [
"LicenseRef-scancode-public-domain"
] | permissive | kalven/CodeDB | 8312cc8de663efe2da97bf856271755eaacc7b97 | d38c87c076aa4ed03721d58152e16b65a1cf7145 | refs/heads/master | 2021-01-01T19:50:59.467235 | 2014-05-19T00:12:06 | 2014-05-19T00:12:06 | 522,529 | 9 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,394 | hpp | // CodeDB - public domain - 2010 Daniel Andersson
#ifndef CODEDB_REGEX_HPP
#define CODEDB_REGEX_HPP
#include <stdexcept>
#include <memory>
#include <string>
class match_range {
public:
match_range() : m_begin(0), m_end(0) {}
match_range(const char* begin, const char* end)
: m_begin(begin), m_end(end) {}
... | [
"kalven@gmail.com"
] | kalven@gmail.com |
46dd111ad56a94eaa3bc46cceee9b8a19dc3de92 | 1a3ba7b44c67c3313b8be684b4dd8b59047755eb | /EngineRuntime/UserInterface/BinaryLoader.h | df8709a977111a82ea079ae03cb8054be2efb7a7 | [] | no_license | lineCode/VirtualUI | 85522c5845f8971a6e601089feefa0e8a44bf51a | dc33712038a906c22c0e3711a03feaee24318484 | refs/heads/master | 2020-03-24T15:58:28.077505 | 2018-07-29T22:51:35 | 2018-07-29T22:51:35 | 142,808,529 | 0 | 1 | null | 2018-07-30T01:13:20 | 2018-07-30T01:13:19 | null | UTF-8 | C++ | false | false | 349 | h | #pragma once
#include "ShapeBase.h"
#include "Templates.h"
#include "ControlClasses.h"
#include "../Streaming.h"
namespace Engine
{
namespace UI
{
namespace Loader
{
void LoadUserInterfaceFromBinary(InterfaceTemplate & Template, Streaming::Stream * Source, IResourceLoader * ResourceLoader, IResourceResolver ... | [
"36736607+ManweMSU@users.noreply.github.com"
] | 36736607+ManweMSU@users.noreply.github.com |
cf11278965bab01836385f551fbf9c349391ef92 | e6182f4fc40cdc8952a6f622816acbadb0dcdeed | /src/qt/sendcoinsentry.cpp | 6a8f1eeb46a4ebceb9f9763649773fdec58072fc | [
"MIT"
] | permissive | easynodecoind/EasyNode | 1abe35268a5f2ee6fa9f1354459aeb6706b24598 | e1987dc48f4eca5def95fdcfc42138818572f0c1 | refs/heads/master | 2020-03-09T08:02:04.122151 | 2018-04-09T18:38:16 | 2018-04-09T18:38:16 | 128,679,696 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,370 | cpp | // Copyright (c) 2011-2015 The Bitcoin Core developers
// Copyright (c) 2014-2017 The Dash Core developers
// Copyright (c) 2017-2018 The EasyNode Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "sendcoi... | [
"easynode@tuta.io"
] | easynode@tuta.io |
0cb639b821ac78015446f2fc5b0daf40a78901a3 | 204ced989c16e23faa5044e3dffe90ba60e941df | /RGBWW-H801/ESPeasy/Arduino/libraries/ArduinoJson/include/ArduinoJson/Deserialization/Comments.hpp | 6586777e82d67415282ebd04b401a89c5d25ba96 | [
"MIT"
] | permissive | ranseyer/home-automatics | 332e79b1718dbeb8377514cc8e404e2dbc65733a | 8bb1e3de9b85f72f7ba5c1052990b00944f569ba | refs/heads/master | 2021-07-08T05:27:27.792518 | 2021-04-12T14:32:14 | 2021-04-12T14:32:14 | 57,380,120 | 12 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,691 | hpp | // Copyright Benoit Blanchon 2014-2016
// MIT License
//
// Arduino JSON library
// https://github.com/bblanchon/ArduinoJson
// If you like this project, please add a star!
#pragma once
namespace ArduinoJson {
namespace Internals {
template <typename TInput>
void skipSpacesAndComments(TInput& input) {
for (;;) {
... | [
"none@easy-vdr.de"
] | none@easy-vdr.de |
ee1a63e2aea65701efbca592d04a390dcacc1f5e | 1942a0d16bd48962e72aa21fad8d034fa9521a6c | /aws-cpp-sdk-clouddirectory/include/aws/clouddirectory/model/FacetAttributeType.h | 6d1fc9336ef28c8d9b252b6b0304c06cd68b756c | [
"Apache-2.0",
"JSON",
"MIT"
] | permissive | yecol/aws-sdk-cpp | 1aff09a21cfe618e272c2c06d358cfa0fb07cecf | 0b1ea31e593d23b5db49ee39d0a11e5b98ab991e | refs/heads/master | 2021-01-20T02:53:53.557861 | 2018-02-11T11:14:58 | 2018-02-11T11:14:58 | 83,822,910 | 0 | 1 | null | 2017-03-03T17:17:00 | 2017-03-03T17:17:00 | null | UTF-8 | C++ | false | false | 1,207 | h | /*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | [
"henso@amazon.com"
] | henso@amazon.com |
5d3faaa74e48d5fc35951e13d06f8f283a2a793c | ee4d01750ed34c070a882c64ae41968c32b43996 | /chromakey/d3dUtil.cpp | a33a4bb48a71712d7ee98195f1ec546dc9885fe5 | [] | no_license | HowsonLiu/ChromaKey | e72121f4af81131a965bf65f959b8c82c36732b8 | b02175ec09ce24ce4b93797c4710fe153944849d | refs/heads/master | 2020-08-15T02:06:57.494100 | 2019-10-15T09:58:57 | 2019-10-15T09:58:57 | 215,264,752 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,879 | cpp | #include "stdafx.h"
#include "d3dUtil.h"
#include <D3DX11async.h>
//using namespace std::experimental;
HRESULT CreateShaderFromFile(
const WCHAR* csoFileNameInOut,
const WCHAR* hlslFileName,
LPCSTR entryPoint,
LPCSTR shaderModel,
ID3DBlob** ppBlobOut)
{
HRESULT hr = S_OK;
// // 寻找是否有已经编译好的顶点着色器
// if (csoFil... | [
"948470636@qq.com"
] | 948470636@qq.com |
621e9287571de73771fc599d573d0dcf47db9fcc | b70c43d17abe9337847575bc36023afcbd0e6cad | /network/arduino/shared/ip/udp/UdpHelper.cpp | 0e0bfdd4182eb5c873fd31706219a4e0aefbf6cb | [] | no_license | S3ler/CMqttSnForwarder | ca4600b7d6c85b940f7a06e42155e19c90bb56c7 | 072ddf0fe40be35cf780cb501a79550bc7b32a25 | refs/heads/master | 2020-04-25T12:03:30.930538 | 2020-01-14T12:29:19 | 2020-01-14T12:29:19 | 172,766,029 | 1 | 1 | null | 2020-01-15T16:33:57 | 2019-02-26T18:24:31 | C | UTF-8 | C++ | false | false | 3,421 | cpp | //
// Created by SomeDude on 29.04.2019.
//
#include "UdpHelper.hpp"
#include <stdint.h>
#include <platform/device_address.h>
#include <network/arduino/shared/ip/ArduinoIpAddressHelper.hpp>
#include <string.h>
int32_t arduino_init_udp(WiFiUDP *wiFiUdp, uint16_t port) {
if (wiFiUdp->begin(port) == 1) {
... | [
"GabrielNikol@web.de"
] | GabrielNikol@web.de |
2e896eade36aa47dc9706ab9462e38ddc89f304a | 8248ce72ace5ebb6da3fa08efa84d1f707de4eb3 | /LE_Out.h | f9802742d2e357175898b79a3f04a7bc2857bd82 | [] | no_license | Reisbey-1/PLC_Ladder | c4acd14cbf13482a476d2dfdafae88326433c8c7 | 12afd86b66ca0e6a66f096f2a05aab30112548ed | refs/heads/main | 2023-06-20T21:20:59.439554 | 2021-07-28T16:35:56 | 2021-07-28T16:35:56 | 390,419,873 | 1 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 687 | h | // LE_Out.h: Schnittstelle für die Klasse CLE_Out.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_LE_OUT_H__B2B8114B_A52D_4EBF_A1A7_0820DFD58AAF__INCLUDED_)
#define AFX_LE_OUT_H__B2B8114B_A52D_4EBF_A1A7_0820DFD58AAF__INCLUDED_
#include "LE_Point.h"
namespace Ladde... | [
"noreply@github.com"
] | Reisbey-1.noreply@github.com |
f3aa776982a493fe1675804ac25a3280d95d6f67 | c82d4afeabb5247daf14045effea2dce06b82d54 | /C++/2_1_1/2_1_1/2_1_1.cpp | 4e208b5dbc169cd59652bf8b35a09b9d77b58ed0 | [] | no_license | lubolib/University_Code | d9bcfefde5c7e5fd5bf50676a9f957f20e049fd3 | 092752985de849385be39a6740befbde2deab4aa | refs/heads/master | 2022-03-22T23:13:27.702527 | 2019-09-26T23:47:06 | 2019-09-26T23:47:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 848 | cpp | // 2_1_1.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。
//
#include "pch.h"
#include <iostream>
int main()
{
std::cout << "Hello World!\n";
}
// 运行程序: Ctrl + F5 或调试 >“开始执行(不调试)”菜单
// 调试程序: F5 或调试 >“开始调试”菜单
// 入门提示:
// 1. 使用解决方案资源管理器窗口添加/管理文件
// 2. 使用团队资源管理器窗口连接到源代码管理
// 3. 使用输出窗口查看生成输出和其他消息
// 4. 使用错误列表窗口查看错误
... | [
"xixuecao@gmail.com"
] | xixuecao@gmail.com |
9dd7057eb535081e74de085b95cc4862fca18ecc | eca150147dad714dcfc30df3d5c1ebba50a2a3ad | /UVA/11723/9142517_AC_0ms_0kB.cpp | dbfa7ec8d676637fcd06366afb64d0f06dbcd8b7 | [] | no_license | Abdullahfoysal/ICPC-OJ | a4c54774e2b456c62f23e85a37fa9c5947d45d71 | 394f175fbd1da86e794c5af463a952bc872fe07d | refs/heads/master | 2020-04-18T03:56:29.667072 | 2018-04-17T16:29:43 | 2018-04-17T16:29:43 | 167,219,685 | 1 | 0 | null | 2019-01-23T16:58:02 | 2019-01-23T16:58:02 | null | UTF-8 | C++ | false | false | 423 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int r,d;
int i=1;
while(cin>>r>>d)
{
if(r==0 & d==0)
break;
int Count=0;
Count=r/d;
if(Count<=26)
{
if(r%d==0)
Count--;
cout<<"Case "<<i<<": "<<Count<<end... | [
"avoidcloud@gmail.com"
] | avoidcloud@gmail.com |
04fb7d231aebc7e892ad24813559a25f5529bc32 | b8f72bd3b4ad1f616ad74d4c32c55b3fd2888f44 | /codeforces gym/101341B.cpp | 20cb45508071a7812cc52fbedc13e2f66f527690 | [] | no_license | OloieriAlexandru/Competitive-Programming-Training | ec0692e2860e83ca934b0ec0912722360aa8c43c | eaaa5bbc766e32c61a6eab3da38a68abb001f509 | refs/heads/master | 2020-05-29T17:50:53.841346 | 2020-04-25T15:53:08 | 2020-04-25T15:53:08 | 189,284,832 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,199 | cpp | #include <bits/stdc++.h>
#define nmax 200005
using namespace std;
char s[nmax];
int ln, cnt, poz, poz2;
bool ok()
{
for (int i=0; i<ln; ++i)
if (!strncmp(s+i,"happiness", 9))
return false;
return true;
}
int main()
{
scanf("%s",s);
ln = strlen(s);
for (int i=0; i<ln; ++i)
{
... | [
"aoloieri@ias.bitdefender.biz"
] | aoloieri@ias.bitdefender.biz |
7a9ef3504d6922664f04e49879c65778861472f1 | 89055544193a903880e8f7c107dc4cb2506b85f5 | /PathPlanning/Astar.cpp | 4e265ab6724277384efb8561bcbc5986e7493f38 | [] | no_license | KyuhwanYeon/AlgorithmStudy | d344121bace18ed432bc5bf9d003dbd4d7ba68cf | d9d68843c50bcd631bec46f5824f63562298c15c | refs/heads/master | 2021-11-24T11:54:01.479313 | 2021-10-24T15:04:47 | 2021-10-24T15:04:47 | 201,750,810 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,927 | cpp | #include <iostream>
#include <string.h>
#include <vector>
#include <algorithm>
#include <queue>
using namespace std;
class Map
{
public:
vector<vector<int>> grid{
{0, 1, 0, 0, 0, 0},
{0, 1, 0, 0, 0, 0},
{0, 1, 0, 0, 0, 0},
{0, 1, 0, 0, 0, 0},
{0, 0, 0, 1, 1, 0}};
vector... | [
"KyuhwanYeon@gmail.com"
] | KyuhwanYeon@gmail.com |
452acae905efef99541142c6b1722e373c74db73 | 4810365d4c281ee3656272189e822d9d14aff504 | /Include/GeoDB/GeoWell.h | 2e8ee2385ca2438d0f7c98fa93d4389b2b8c0d8b | [] | no_license | 15831944/GeoReavealLogApp | 869d67b036e7adfe865b0fb89b99c7f009049a6b | 36be9c1d3fea4d55d5e69c8872c2eb1f2c88db8b | refs/heads/main | 2023-03-08T13:28:04.334108 | 2021-02-19T03:59:21 | 2021-02-19T03:59:21 | 478,417,611 | 1 | 1 | null | 2022-04-06T05:37:08 | 2022-04-06T05:37:07 | null | GB18030 | C++ | false | false | 4,189 | h | // GeoWell.h
/*********************************************************************/
#pragma once
#include <afxtempl.h>
#include <afxcoll.h>
#include "GeoAdo.h"
/*
CREATE TABLE Well
(
WellID bigint PRIMARY KEY IDENTITY, --井编号
WellName varchar(64) NOT NULL, --井名称 JM
Alias varchar(64), --井别名 ... | [
"bmwmsn123@icloud.com"
] | bmwmsn123@icloud.com |
a1465d8e54539a9e6cdb77b986413b9f0f68b513 | dccc8885ff0e21721b1f4d3dbbe167f0e1d954fa | /Codeforces/Contests/299/TavasandSaDDas/main.cpp | 0b50e8a471e0e6a0f9277bd7acf10bbebce132f4 | [] | no_license | XiaoxiongZheng/Algorithms | 289721177a2336d08fe5ba29593beabbf57e3023 | 7be8767511f99c27d54076c4cc996f709efce305 | refs/heads/master | 2020-05-03T07:07:58.557835 | 2015-08-13T06:26:45 | 2015-08-13T06:26:45 | 24,021,322 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 502 | cpp | #include <iostream>
#include <cmath>
using namespace std;
string n;
int main() {
cin >> n;
int len = n.size();
if (n == "4" || n == "7") {
cout << (n == "4" ? 1 : 2) << endl;
return 0;
}
int ans = 0, l = len - 1;
while (l)
{
ans += pow(2, l);
l--;
}
... | [
"xxzheng.cs@gmail.com"
] | xxzheng.cs@gmail.com |
c2ede75bff9df7fb8aecf80d9737d9fe2cb7bf7f | 715febd8df093b36fd0ac41a17fcab9e40621b3e | /800/Problem71/WayTooLongWords.cpp | 36d3be3029e2d13024f9fa255be07372a7b462de | [] | no_license | idm2114/codeforces | 2892c2682172a08b6f9ab50f0af38e47c2e8014d | 0efed3f050e62014876659e355c3dd19bf352a66 | refs/heads/master | 2022-08-30T12:35:03.326465 | 2020-05-25T14:30:13 | 2020-05-25T14:30:13 | 266,800,069 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 292 | cpp | #include <iostream>
#include <string>
using namespace std;
int main () {
int len;
cin >> len;
for(int i=0;i<len+1;i++){
string x;
getline(cin, x);
if (x.length() > 10) {
x = x.substr(0,1) + to_string(x.length()-2) + x.substr(x.length()-1, 1);
}
cout << x << endl;
}
}
| [
"noreply@github.com"
] | idm2114.noreply@github.com |
3a3e6fbff88966f7a58c3125bf23f951a2fc7b53 | 3a7d140ec93581c61c9c5680cf6bbc319266f688 | /Solved Practice problems/dubstep.cpp | 9ba94fb2a21dc3c52d61317d4fb1c3680fc413ad | [] | no_license | Ovishake1607066/Solved-Codeforces-problems | dcc6e33d471e4e92d1cf76b7c5aab4b0278fbf55 | fe038bb365bd666b2bbcad815e9ad3206d7e0988 | refs/heads/master | 2022-07-17T04:12:21.628142 | 2020-05-13T19:20:09 | 2020-05-13T19:20:09 | 263,710,650 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 566 | cpp | #include<iostream>
#include<cstring>
using namespace std;
int main()
{
string s;
char s2[2000];
cin>>s;
int i,j,a=0,b=0,c,d;
for(i=0,j=0;i<s.size(); )
{
if(s[i]=='W' && s[i+1]=='U' && s[i+2]=='B')
{
i=i+3;
if(a==1)
b=1;
... | [
"noreply@github.com"
] | Ovishake1607066.noreply@github.com |
4797ce0e6b791ca126676c7c8ac76b03d2a24dfa | 40e58042e635ea2a61a6216dc3e143fd3e14709c | /chopshop11/Team166Task.h | d420cc0d575b7e730fa153e1733aecdd8c371a35 | [] | no_license | chopshop-166/frc-2011 | 005bb7f0d02050a19bdb2eb33af145d5d2916a4d | 7ef98f84e544a17855197f491fc9f80247698dd3 | refs/heads/master | 2016-09-05T10:59:54.976527 | 2011-10-20T22:50:17 | 2011-10-20T22:50:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,829 | h | /*******************************************************************************
* Project : Chopshop11
* File Name : Team166Task.h
* Owner : Software Group (FIRST Chopshop Team 166)
* File Description : Header for main robot task and global paramters
***********************************************... | [
"demosthenes2k7@gmail.com"
] | demosthenes2k7@gmail.com |
470b83f2f9884b2638a6295cf47398df4cc44a02 | 08a2e70f85afd89ce06764f95785a3a3b812370e | /net/third_party/quic/core/quic_version_manager_test.cc | 43e5a06883b5b4a8666d409aeaffa6a9a21f836a | [
"BSD-3-Clause"
] | permissive | RobertPieta/chromium | 014cf3ffb3436793b2e0817874eda946779d7e2d | eda06a0b859a08d15a1ab6a6850e42e667530f0b | refs/heads/master | 2023-01-13T10:57:12.853154 | 2019-02-16T14:07:55 | 2019-02-16T14:07:55 | 171,064,555 | 0 | 0 | NOASSERTION | 2019-02-16T23:55:22 | 2019-02-16T23:55:22 | null | UTF-8 | C++ | false | false | 3,772 | 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 "net/third_party/quic/core/quic_version_manager.h"
#include "net/third_party/quic/core/quic_versions.h"
#include "net/third_party/quic/platf... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
b20208f6d2fd065d0082cc22491430957b6ccbed | 59ce5089aad9744d7a8a7d772f8e4fbb920fe8df | /main.cxx | ced9d607ac217ed3d0292b85e33169c75bb86242 | [
"MIT"
] | permissive | aWilson41/vtkLKOpticalFlow | 8a52414e4228470934f567ac8fd466b5c61b547b | fd2f7ea15b53c45d94842dd6deea00858a65d07d | refs/heads/master | 2020-04-04T00:18:41.594570 | 2019-11-20T06:52:57 | 2019-11-20T06:52:57 | 155,646,588 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,017 | cxx | #include "vtkCoarseToFineOpticalFlow.h"
#include <vtkActor.h>
#include <vtkArrowSource.h>
#include <vtkColorSeries.h>
#include <vtkColorTransferFunction.h>
#include <vtkGlyph3DMapper.h>
#include <vtkImageData.h>
#include <vtkInteractorStyleTrackballCamera.h>
#include <vtkNIFTIReader.h>
#include <vtkNIFTIWriter.h>
#incl... | [
"andx_roo@live.com"
] | andx_roo@live.com |
4b89d2c4cab4cee3a6f1d4acff6434fbdd494a17 | d05555aa4da349b8a1cc219b4c3fae881577f7ab | /A1827/1827gather 奶牛大集会.cpp | a273dbe675f82f79944b2c23851f74b72878ba02 | [
"MIT"
] | permissive | instr3/BZOJ-solution-legacy | c95cc0882d24c8b74b72a546cf9f2b84d541faea | a71f7df2241602ad744e8ca2453a8423590d5678 | refs/heads/master | 2021-01-11T05:19:01.069622 | 2016-09-26T03:19:38 | 2016-09-26T03:19:38 | 69,208,796 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,560 | cpp | #include <iostream>
#include <cstdlib>
#include <cmath>
#include <cstring>
#include <cstdio>
#include <algorithm>
#include <queue>
using namespace std;
#define each(i,n) (int i=1;i<=(n);++i)
#define every(i,a,b) (int i=(a);i<=(b);++i)
struct enode{int to,fr,w,next;long long tw,tper;}mye[200002];
struct vnode{int first,... | [
"instr3@163.com"
] | instr3@163.com |
eb94a5bba9cb3c58826e14d89cb31db7b16ec388 | f4ba62961c0295743c7a8e71e69bd252336fc189 | /Arduino/MMC3316xMT.ino | eb96376ff317fb08540580358133a4c0d1dd45ca | [] | no_license | DcubeTechVentures/MMC3316xMT | 3a4315825ccf2afa832ddae224049d29309c8ce9 | be52d5812e489db75d4c1b15ad64618f5b9dde3c | refs/heads/master | 2021-01-19T05:41:18.761060 | 2016-06-20T10:50:42 | 2016-06-20T10:50:42 | 64,728,884 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,410 | ino | // Distributed with a free-will license.
// Use it any way you want, profit or free, provided it fits in the licenses of its associated works.
// MMC3316xMT
// This code is designed to work with the MMC3316xMT_I2CS I2C Mini Module available from ControlEverything.com.
// https://www.controleverything.com/content/Magnet... | [
"ryker1990@gmail.com"
] | ryker1990@gmail.com |
e5cf1827c8740501e5e392251a5425ee7ef2daba | 6e3190744c949eca539808e78e9f4e1018707b75 | /external/dysii/src/indii/ml/aux/Pdf.cpp | 33c72677040421d18e05a6e21956246de467f1d2 | [
"BSD-3-Clause"
] | permissive | micahcc/BrainID | 208de93c8167eba12b85e5abac8952ddc80223f6 | 1ae6776c6175ab72e9d45a639f3d0aa4fe7d1cf8 | refs/heads/master | 2021-05-28T14:16:31.901590 | 2015-01-06T23:39:58 | 2015-01-06T23:39:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 236 | cpp | //#if defined(__GNUC__) && defined(GCC_PCH)
// #include "aux.hpp"
//#else
#include "Pdf.hpp"
//#endif
using namespace indii::ml::aux;
Pdf::Pdf() : N(0) {
//
}
Pdf::Pdf(const unsigned int N) : N(N) {
//
}
Pdf::~Pdf() {
//
}
| [
"micahc@b3ba8586-d01d-0410-af51-a98ec15c9dce"
] | micahc@b3ba8586-d01d-0410-af51-a98ec15c9dce |
61d1271d68ab6034d14abbf6b27d6250f55647a2 | f252f75a66ff3ff35b6eaa5a4a28248eb54840ee | /external/opencore/pvmi/recognizer/src/pvmf_recognizer_registry_impl.cpp | 94c87a92e04fdc544442453b6ccc9b803ab693db | [
"MIT",
"LicenseRef-scancode-other-permissive",
"Artistic-2.0",
"LicenseRef-scancode-philippe-de-muyter",
"Apache-2.0",
"LicenseRef-scancode-mpeg-iso",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | abgoyal-archive/OT_4010A | 201b246c6f685cf35632c9a1e1bf2b38011ff196 | 300ee9f800824658acfeb9447f46419b8c6e0d1c | refs/heads/master | 2022-04-12T23:17:32.814816 | 2015-02-06T12:15:20 | 2015-02-06T12:15:20 | 30,410,715 | 0 | 1 | null | 2020-03-07T00:35:22 | 2015-02-06T12:14:16 | C | UTF-8 | C++ | false | false | 25,696 | cpp |
#ifndef OSCL_TICKCOUNT_H_INCLUDED
#include "oscl_tickcount.h"
#endif
#ifndef PVMF_FORMAT_TYPE_H_INCLUDED
#include "pvmf_format_type.h"
#endif
#include "pvmf_recognizer_registry_impl.h"
#define LOGERROR(m) PVLOGGER_LOGMSG(PVLOGMSG_INST_REL,iLogger,PVLOGMSG_ERR,m);
#define LOGINFOHI(m) PVLOGGER_LOGMSG(PVLOGMSG_INST_H... | [
"abgoyal@gmail.com"
] | abgoyal@gmail.com |
3383bb1e76ddce61c903a3bdfb73f7466377ea58 | 6cc10675105fdb4543857b657f8f077c93158f7d | /src/unit_test/nas_acl_cps_entry_ut.cpp | a66cf5048e7c93176177fc8b3e93884a4cf6eb43 | [] | no_license | pkarashchenko/opx-nas-acl | 87a1f17209b91d2059b3cd58cd0902042450d354 | e9e77ab615dce52b2745d18163b0deb9d1f8cc5d | refs/heads/master | 2021-01-19T19:54:10.063675 | 2017-07-21T22:19:45 | 2017-07-21T22:20:08 | 83,730,446 | 1 | 1 | null | 2017-03-02T22:20:29 | 2017-03-02T22:20:29 | null | UTF-8 | C++ | false | false | 104,632 | cpp | /*
* Copyright (c) 2016 Dell 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
*
* THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARR... | [
"J.T.Conklin@Dell.Com"
] | J.T.Conklin@Dell.Com |
4bcb412424855893d5c030820d084f1a6b95ff69 | 57567c1c860343c4216af46491167949a6a318a5 | /ComputerGraphics/LineScanConversion/Line.cpp | 2709a2e1cbccbf99c2f26496393681b9267ddda2 | [] | no_license | therdes/ComputerGraphics | ce64caa63fe017a36095ace0fa78307c03978a1d | 0833f0ca7d0fdca02f88ac6b27537f6bec2a0408 | refs/heads/master | 2021-01-10T02:35:03.187539 | 2016-03-14T14:46:07 | 2016-03-14T14:46:07 | 53,864,361 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,226 | cpp | #include "Line.h"
using std::vector;
vector<Coordinate> Line::scanConversion()
{
vector<Coordinate> ret;
/* Step By One */
/*double x = _start.x();
double y = _start.y();
double dx = _end.x() - _start.x();
double dy = _end.y() - _start.y();
double k = (doubleEqual(dx, 0, 0.000001)) ? dy : dy / dx;
double ... | [
"therdesok@gmail.com"
] | therdesok@gmail.com |
58d28e2103b2b98452046cd51aa1ca5589cc1f15 | f85cfed4ae3c54b5d31b43e10435bb4fc4875d7e | /sc-virt/src/projects/compiler-rt/lib/esan/cache_frag.h | 646d3f85ed97a53a7f5922a9f7e2914e20845367 | [
"NCSA",
"MIT"
] | permissive | archercreat/dta-vs-osc | 2f495f74e0a67d3672c1fc11ecb812d3bc116210 | b39f4d4eb6ffea501025fc3e07622251c2118fe0 | refs/heads/main | 2023-08-01T01:54:05.925289 | 2021-09-05T21:00:35 | 2021-09-05T21:00:35 | 438,047,267 | 1 | 1 | MIT | 2021-12-13T22:45:20 | 2021-12-13T22:45:19 | null | UTF-8 | C++ | false | false | 852 | h | //===-- cache_frag.h --------------------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"sebi@quantstamp.com"
] | sebi@quantstamp.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.