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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
de764d1622ca93b9c555c08bf4de636e58354e18 | 243af6f697c16c54af3613988ddaef62a2b29212 | /firmware/uvc_controller/mbed-os/components/storage/blockdevice/COMPONENT_I2CEE/TESTS/block_device/i2cee/main.cpp | c18567b25100aef35d5dc74477bd39ee1ddf16b6 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT",
"Apache-2.0",
"BSD-3-Clause",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause"
] | permissive | davewhiiite/uvc | 0020fcc99d279a70878baf7cdc5c02c19b08499a | fd45223097eed5a824294db975b3c74aa5f5cc8f | refs/heads/main | 2023-05-29T10:18:08.520756 | 2021-06-12T13:06:40 | 2021-06-12T13:06:40 | 376,287,264 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,091 | cpp | /*
* Copyright (c) 2020 Arm Limited
* SPDX-License-Identifier: Apache-2.0
*
* 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
... | [
"13125501+davewhiiite@users.noreply.github.com"
] | 13125501+davewhiiite@users.noreply.github.com |
3395c80d9e3ef8694da9c8a4ca82d8cf33d15441 | 2822dcf0ccf6497f1a17184c6f504e070b904c80 | /String/Easy/Add Binary Strings.cpp | 3697831f4bf73e288b75ca36c5484788b79f9628 | [] | no_license | DangZhonghua/CodingPractice | a57893a9ed03f48ac8193dff05d1e002abf1b198 | 2ca27e153ba844f6b82a4de274821743b797ddd2 | refs/heads/master | 2021-01-24T04:30:04.091210 | 2019-11-10T11:27:34 | 2019-11-10T11:27:34 | 122,940,460 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,564 | cpp | /*
https://practice.geeksforgeeks.org/problems/add-binary-strings/0/?ref=self
Add Binary Strings
Print the resultant string after adding given two binary strings
Input:
The first line of input contains an integer T denoting the number of test cases.
The first line of each test case contains two binary strings s1 and s... | [
"richard.dang@arcserve.com"
] | richard.dang@arcserve.com |
535dd7be8293947ac69e3bec54da22e9dfea482a | f3f32cc6adb662d0ba30c9f5fc005d5c35afd181 | /1845-SeatReservationManager.cpp | 8bfb7a8428124408bd2f086d21844e48bb5f572e | [] | no_license | rranjik/ideal-octo-barnacle | 675934f1e86591bb393ebb4ccde0f2cc40f7efd8 | 104f190cf3f4414578cc521886c914f0037e36ab | refs/heads/master | 2023-09-01T11:51:02.653672 | 2023-08-26T02:24:03 | 2023-08-26T02:24:03 | 159,698,415 | 1 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 521 | cpp | class SeatManager {
public:
priority_queue<int, vector<int>, greater<int>> pq;
SeatManager(int n) {
for(int i = 1; i<=n; i++) pq.push(i);
}
int reserve() {
auto res = pq.top();
pq.pop();
return res;
}
void unreserve(int seatNumber) {
pq.push(seat... | [
"noreply@github.com"
] | rranjik.noreply@github.com |
a1c9bd927ab341bb97325bac272e94e6ce97dd7d | 1c167daf725d9d7368a4d8e69654b8a4749b2fe9 | /examples/common/glm/test/external/gli/duplicate.hpp | 7fb673ba5b11d43716fc1980708a54be9be75426 | [
"Zlib",
"BSD-3-Clause",
"MIT",
"BSL-1.0",
"LicenseRef-scancode-public-domain"
] | permissive | syoyo/tinygltf | 427470a39f7c0feb073900ff65f2dc7a8f4cf4b6 | 3d445cc65d9d54fc8e708b9159c5b522dbf77687 | refs/heads/release | 2023-09-04T09:27:15.295859 | 2023-09-02T17:20:35 | 2023-09-02T17:20:35 | 92,255,456 | 1,758 | 470 | MIT | 2023-09-12T11:28:36 | 2017-05-24T05:59:28 | C++ | UTF-8 | C++ | false | false | 3,020 | hpp | /// @brief Include to duplicate textures, images or a subset of either textures or an image. These operations will cause memory allocations.
/// @file gli/duplicate.hpp
#pragma once
#include "image.hpp"
#include "texture1d.hpp"
#include "texture1d_array.hpp"
#include "texture2d.hpp"
#include "texture2d_array.hpp"
#in... | [
"syoyo@lighttransport.com"
] | syoyo@lighttransport.com |
41eebc13939c999c1d7915ef89dff22e844db971 | 1ba876310f56168c3b499c0a7bf6ff62812c2a75 | /FrontPanelDisplay/FpRenderCbIf.h | 184c5c5d62e2f660ea0ac786eccb3b6812611f15 | [
"MIT"
] | permissive | dliess/FrontPanelIO | 1e1f21a3dd9417c4f2cf4946b58cd59a0ead6a81 | b9fd5ff81336d9bf22cc734099145ea69dde8d8b | refs/heads/master | 2022-03-06T07:19:51.551671 | 2022-03-05T12:23:06 | 2022-03-05T12:23:06 | 148,037,431 | 0 | 0 | null | 2019-04-10T17:24:50 | 2018-09-09T15:13:23 | C | UTF-8 | C++ | false | false | 233 | h | #ifndef FP_RENDER_CB_IF
#define FP_RENDER_CB_IF
class RenderIf;
namespace fp
{
class RenderCbIf
{
public:
virtual void revealed(RenderIf& r) = 0;
virtual void renderDisplays(RenderIf& r) = 0;
};
} // namespace fp
#endif | [
"liessdaniel415@gmail.com"
] | liessdaniel415@gmail.com |
9dcfaac2cd26b2ee3f4088b255c96375511754b8 | d93c610b3beb11aa00e9227779a746ff056bf3df | /package/WBCellTurret.cpp | d37d279414c5c0b3d1f36cc2fd119ccdb15dfc70 | [] | no_license | olgi9911/Mini_Project_2-Tower-Defense | e127bff030ae33bc89bf3bb90d3fc24bea662dbe | 854965afcde3a6dfe9ce462b9483811d4cbafff0 | refs/heads/main | 2023-06-03T03:28:32.879562 | 2021-06-30T13:17:31 | 2021-06-30T13:17:31 | 381,707,185 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 879 | cpp | #include <allegro5/base.h>
#include <cmath>
#include <string>
#include "AudioHelper.hpp"
#include "IceCreamBullet.hpp"
#include "Group.hpp"
#include "WBCellTurret.hpp"
#include "PlayScene.hpp"
#include "Point.hpp"
#include "Enemy.hpp"
const int WBCellTurret::Price = 100;
WBCellTurret::WBCellTurret(float x,... | [
"olgi9911@gmail.com"
] | olgi9911@gmail.com |
2416453f2edbb2aeb040fa5016fcaf7a29b435d0 | 2783ef473acfec21a80e755fa0769f562c25825e | /vjezba7/z731-4.cpp | 3374e786a6f1178af2f7e4d13537eacf882d4336 | [] | no_license | abraovic/oop | 3e806e410e59e10e7724273238b2e73ce7d89b91 | 1655ddce575f00cec4a8ae7dc504fc868c3ccc2a | refs/heads/master | 2022-03-18T17:04:51.290541 | 2019-11-12T23:18:22 | 2019-11-12T23:18:22 | 113,325,691 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,767 | cpp | /**
Korak 1:
Program unosi 1000 kompleksnih brojeva definiranih klasom kompleks u niz od
1000 elemenata. Nakon toga se ti brojevi zapisuju u dvije datoteke. U prvi se
vršu tekstualni zapis, a u drugu binrani zapis.
Program nema nikakav ispis.
Korak 2:
U tekstualnoj datoteci brojevi su zapisani kao tekst svaki k... | [
"abraovic@gmail.com"
] | abraovic@gmail.com |
7b8cccede92e816551a0c90ac1b0479f2977b65f | b51ba79f5c2eb1ed4753a8d3cbb72366c173ea12 | /tests/integrationtests/header-miss/main.cpp | b6d0bb6e0e46f07a2c8a6680ab809fd9a69fe97d | [
"BSD-3-Clause"
] | permissive | Nuitka/clcache | 56fb788ef1765c8a2a3997814b76280a9543e7d7 | 12ee253c75dd8451484bd78dd30eab1fd49b63cb | refs/heads/develop | 2023-08-19T06:32:43.375738 | 2020-12-30T00:03:19 | 2020-12-30T00:32:53 | 324,145,092 | 5 | 2 | NOASSERTION | 2022-02-16T10:11:57 | 2020-12-24T11:53:32 | Python | UTF-8 | C++ | false | false | 104 | cpp | #include <iostream>
#include "info.h"
int main()
{
std::cout << INFO << std::endl;
return 0;
}
| [
"simon@kullo.net"
] | simon@kullo.net |
fbb391765481d27b1edaa7deae3f2795b1692495 | 4c41604640534608f1093bf08c74c782a13fd2ac | /Graphics_lib/Inc/Base.hpp | 45cf7f466940925598df122ab0eb3de79771cafd | [] | no_license | KCHETTY/derper | 9aeb34745452f282fc7b8235f6dca9df060e59db | 54a970c7960e2282539bae093f70f802a9195db0 | refs/heads/master | 2021-01-19T16:02:47.327029 | 2017-08-21T19:49:05 | 2017-08-21T19:49:05 | 100,985,192 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 437 | hpp | #pragma once
#include <GL/glew.h>
#include <iostream>
#include <vector>
#include <stdlib.h>
#include <istream>
#include <fstream>
#include <GL/gl.h>
#include <GL/glu.h>
#include <GLFW/glfw3.h>
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/type_ptr.hpp>
#include "../SpartanJ-soil2-349... | [
"kchetty416@gmail.com"
] | kchetty416@gmail.com |
74adb51f9e00784d9bb7373efeceb6a2bbcbbac4 | 55b057d341596852403bfe8ce9ddad45623925c0 | /tools/clang/tools/extra/.svn/pristine/74/74adb51f9e00784d9bb7373efeceb6a2bbcbbac4.svn-base | 298759f86e344b6b6c4292aaa03dd4b6cfbd2097 | [
"NCSA",
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | wydddddd/TripleDoggy | 104b3f3ec44689a746cf5601fde3e160d6f05494 | b4d4d4701f49caefd9f68a4898ad538b0a5e8f8e | refs/heads/master | 2022-07-16T07:08:55.361512 | 2022-06-28T10:40:15 | 2022-06-28T10:40:15 | 369,498,767 | 0 | 0 | Apache-2.0 | 2022-06-28T10:42:37 | 2021-05-21T10:28:47 | C++ | UTF-8 | C++ | false | false | 1,844 | //===--- ExceptionBaseclassCheck.cpp - clang-tidy--------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"wjq@loccs.com"
] | wjq@loccs.com | |
5a547ef2b78a032d7bec942883c5d6100542c231 | 3eb34e2a8e25f04775de21526924ec2d27c86ef1 | /03/day_03.cpp | 84c6894756e15104a1124c20b28a685665fd1b27 | [] | no_license | XzzX/AoC2020 | 2b10fc147843670eaca3e2ace3bb4686763711c8 | 348b9ca193b60f577d6f6b81ba1e4b8951beb91e | refs/heads/master | 2023-02-07T22:13:44.186735 | 2020-12-29T10:41:32 | 2020-12-29T10:41:32 | 317,941,809 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,553 | cpp | #include <algorithm>
#include <fstream>
#include <iostream>
#include <string>
#include <vector>
struct Map
{
std::vector<std::string> data;
int width;
int height;
};
auto read_input()
{
Map map;
std::ifstream fin("input");
std::string str;
fin >> str;
while (!fin.eof())
{
map.data.push_back(str)... | [
"sebastian.eibl@fau.de"
] | sebastian.eibl@fau.de |
24704a47495eb13229efdffe0a381e0ad3c8274e | af2d3a047a360890479f7d2ea8450f4c5b79d098 | /Sudoku/Sudoku/Source.cpp | 82f1768479c5fde0958b789e03d3ddf027bccf14 | [] | no_license | Dave1840438/TP_Final_Struct | 51f6a8abeff849c8e2fdb7f55baae8ba425eb604 | 91611d1d67ff3eb99d22cbc25104dd67aab50f72 | refs/heads/master | 2020-05-19T07:49:55.631582 | 2014-12-10T14:25:23 | 2014-12-10T14:25:23 | null | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 827 | cpp | //Source.cpp
//David Sylvestre et Patrick Lemay
//1er Décembre 2014
//Ce fichier contient le main
#include "Sudoku.h"
#include "Chrono.h"
#include <iostream>
#include <fstream>
#include <string>
using namespace std;
//Instancie un objet de type Sudoku, lui commande de se résoudre
//puis affiche le temps d'éxécution ... | [
"david.sylvestre@sympatico.ca"
] | david.sylvestre@sympatico.ca |
0daefcad88b4683e42ef7a30cb13b27099d8ad62 | 019a93c2b5d6c690fd2e177ec717f921797a5a2d | /Physically Based Shading/DrawSkyQuad.cpp | 9330ce90433c22317752dc1aa785ee7de1fd890a | [] | no_license | WladWD/OpenGL_Engine | d68275d0ee25af8bcbde1a2eed78d2ae2844b7a5 | 2d584259bfc12914eec14fca22b3fe8386878525 | refs/heads/master | 2022-03-16T14:25:06.321225 | 2022-02-21T14:44:30 | 2022-02-21T14:44:30 | 173,384,808 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 6,282 | cpp | #include "DrawSkyQuad.h"
Atmosphere::DrawSkyQuad::DrawSkyQuad(GLuint MoonTexture, GLuint MoonGlowTexture) : MoonTexture(MoonTexture), MoonGlowTexture(MoonGlowTexture)
{
shader_update_sky = new Shader::ShaderUpdateSky();
shader_moon = new Shader::ShaderMoon();
GenerateQuad();
InitShaderVariable();
}
Atmosphere:... | [
"vladick.d2014@yandex.ru"
] | vladick.d2014@yandex.ru |
95580dcb7c8f264f8ef0fb97c1a7bcf36f2e497c | 70ba75fc0a6ce9822913b257f3fae7d8620d3a65 | /dependency/dm/include/dm/datastructures/bitarray.h | 483abb6637d12990e2e9edd6f39830b8efa0a9cb | [
"BSD-2-Clause"
] | permissive | ezhangle/cmft | 6ac5876f8e28c6e94906df1273ac677a91e6926a | 0534764a9f1fe6ebbe5d382318b27bb0e9dd4cdf | refs/heads/master | 2021-01-22T14:02:38.346189 | 2015-04-02T03:55:03 | 2015-04-02T03:55:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,597 | h | /*
* Copyright 2014-2015 Dario Manesku. All rights reserved.
* License: http://www.opensource.org/licenses/BSD-2-Clause
*/
#ifndef DM_BITARRAY_H_HEADER_GUARD
#define DM_BITARRAY_H_HEADER_GUARD
#include <stdint.h> // uint32_t
#include <new> // placement-new
#include "allocator.h" // DM_ALLOC()/DM_FREE()
#include "... | [
"dariomanesku@gmail.com"
] | dariomanesku@gmail.com |
5e836da1e75e0abeb73d92f263a61ae96474e53f | 568eb464f617548275d6611d6d86914c5263910c | /skia/svg/SkSVGStop.h | 50be4916e383c31dd5b591014a29ea6ca45585e8 | [
"BSD-3-Clause"
] | permissive | bluebellzhy/chromium | c27cba0ca182189745d282d78cf7b0928f6d47b3 | 008c4fef2676506869a0404239da31e83fd6ccc7 | refs/heads/master | 2021-01-15T19:03:37.018631 | 2008-10-24T21:13:14 | 2008-10-24T21:13:14 | 67,454 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 918 | h | /* libs/graphics/svg/SkSVGStop.h
**
** Copyright 2006, Google Inc.
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
** http://www.apache.org/licenses/LICENSE-2.0
**
** Unless re... | [
"initial.commit@4ff67af0-8c30-449e-8e8b-ad334ec8d88c"
] | initial.commit@4ff67af0-8c30-449e-8e8b-ad334ec8d88c |
5e900e978203c7a098880c43c83906d22b423ae0 | cde1ad335b4bbff574dfbdf8161d16516809b8a6 | /examples/source/animationExample.cpp | fe49ed53adb35c2eb45095ebfa697f388134d3be | [
"MIT"
] | permissive | structuresound/nodeKitten | 5ec72c4d27404bc9e359d6e7b46c3173157ee0d4 | 7584f37546708e376ade06908ae004db0f4b45cd | refs/heads/master | 2020-05-21T04:18:54.718812 | 2017-03-04T00:33:00 | 2017-03-04T00:33:00 | 33,831,275 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,373 | cpp | //
// AnimationExample.cpp
// NodeKittenX
//
// Created by Leif Shackelford on 1/26/15.
// Copyright (c) 2015 structuresound. All rights reserved.
//
#include "animationExample.h"
using namespace std;
using namespace Shader;
shared_ptr<Texture> moonTex;
shared_ptr<Texture> skyTex;
shared_ptr<Texture> skyTex2;
v... | [
"leif@structuresound.com"
] | leif@structuresound.com |
85fc24c4f9f114a4030fc2259c718dc572c78178 | 78d26d96caee92899606db01312a98cb2952d0bb | /HW 4:2 Huffman copy/HW 4:2 Huffman/main.cpp | c54bc382373b96cc99711073bed5fd83b89d3929 | [] | no_license | 27diego/Algorithms | d40b693f6003f9affb9142054d2c5d4172693e26 | 688a4ef90fb906d97f6d3bfa118a8e78da12df23 | refs/heads/master | 2020-05-04T20:09:10.550046 | 2019-04-05T04:59:03 | 2019-04-05T04:59:03 | 179,424,236 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,560 | cpp | #include <iostream>
#include <queue>
#include <vector>
#include <unordered_map>
using namespace std;
struct Node
{
char letter;
int frequency;
Node* left;
Node* right;
public:
Node(char letter, int frequency)
{
this->letter = letter;
this->frequency = frequency;
thi... | [
"school@Diegos-MacBook-Pro.local"
] | school@Diegos-MacBook-Pro.local |
77a37c318e142bb9ed0f3b17e8959a746fbc8dbe | fe8ecf6111b8e9b56c586d79d7bde84f02bbcb6a | /COMP220/COMP220_Examples/09_MeshTextured/Model.cpp | 790a3804da188fe1c72d856e56c954faa2492f4c | [] | no_license | Falmouth-Games-Academy/bsc-live-coding | 40ce0b62f37b902b3c5c95c470c0b8f414b70af2 | d5021247e940802104902e6702269dca2f2c2d20 | refs/heads/2017-18 | 2021-01-22T00:36:13.850455 | 2017-12-03T23:27:20 | 2017-12-03T23:27:20 | 68,711,534 | 0 | 32 | null | 2017-12-26T15:27:33 | 2016-09-20T12:52:42 | C++ | UTF-8 | C++ | false | false | 3,221 | cpp | #include "Model.h"
bool loadModelFromFile(const std::string& filename, GLuint VBO, GLuint EBO, unsigned int& numVerts, unsigned int& numIndices)
{
std::vector<Vertex> vertices;
std::vector<unsigned int> indices;
Assimp::Importer importer;
const aiScene* scene = importer.ReadFile(filename, aiProcess_JoinIdentical... | [
"brian.mcdonald@falmouth.ac.uk"
] | brian.mcdonald@falmouth.ac.uk |
e5cf3a2b914e2e0a1aedda731cf0f4a99cd83868 | 23bcadb19a16a3e00d1d158d73b26788e31e3ff6 | /quic/common/EnumArray.h | 966229810fe5ef7398c291f2d485b29ea1a666f5 | [
"MIT"
] | permissive | odelalleau/mvfst | 4f4df749843cb5a24d3cb20ac0399fe7e6252313 | 1241731b1869aa88e98959a7a9535fdfeffc4474 | refs/heads/master | 2021-09-25T01:12:05.196779 | 2021-06-16T20:09:45 | 2021-06-16T20:10:35 | 238,462,853 | 0 | 0 | MIT | 2021-09-23T03:41:51 | 2020-02-05T13:58:11 | C++ | UTF-8 | C++ | false | false | 1,575 | h | /*
* Copyright (c) Facebook, Inc. and its 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 <folly/Portability.h>
#include <glog/logging.h>
#include <array>
#include <utility>
namespace quic {
//... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
2333ed48c01302acd86c021525c10a4b8c1635d5 | c03615f53093643e3c1e323b83cbe77970966575 | /PRT/3rdParty/cgal/cgal/include/CGAL/Boolean_set_operations_2/Gps_polygon_simplifier.h | 84a3006a692eddc811420259ee8191bc80dcae39 | [] | no_license | fangguanya/PRT | 0925b28671e756a6e9431fd57149cf2eebc94818 | 77c1b8e5f3a7a149825ad0cc3ef6002816222622 | refs/heads/master | 2021-06-08T20:54:22.954395 | 2016-11-24T07:38:11 | 2016-11-24T07:38:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,984 | h | // Copyright (c) 2005 Tel-Aviv University (Israel).
// All rights reserved.
//
// This file is part of CGAL (www.cgal.org).
// You can redistribute it and/or modify it under the terms of the GNU
// General Public License as published by the Free Software Foundation,
// either version 3 of the License, or (at you... | [
"succeed.2009@163.com"
] | succeed.2009@163.com |
14fe0ad4176e3da101559b24593c6c9ed1fb26f1 | 59418b5794f251391650d8593704190606fa2b41 | /sample_plugins/original_snippets/em5/component/multiplayer/GhostComponent.cpp | dcec73659e7965d8f0f2317b8182ccb23ae8dd50 | [] | no_license | JeveruBerry/emergency5_sdk | 8e5726f28123962541f7e9e4d70b2d8d5cc76cff | e5b23d905c356aab6f8b26432c72d18e5838ccf6 | refs/heads/master | 2023-08-25T12:25:19.117165 | 2018-12-18T16:55:16 | 2018-12-18T17:09:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,741 | cpp | // Copyright (C) 2012-2018 Promotion Software GmbH
//[-------------------------------------------------------]
//[ Includes ]
//[-------------------------------------------------------]
#include "em5/PrecompiledHeader.h"
#include "em5/component/multiplayer/GhostComponent.h... | [
"christian.ofenberg@promotion-software.de"
] | christian.ofenberg@promotion-software.de |
f5e859f50edf879b1d304d3613e1f5ffd9e2c161 | f112f9745d7c916c68ee2b8ec05e93e74d7d3004 | /redis/include/tencentcloud/redis/v20180412/model/EnableReplicaReadonlyRequest.h | b213a20f0eb5c83676070b6fb59c2b210f192070 | [
"Apache-2.0"
] | permissive | datalliance88/tencentcloud-sdk-cpp | d5ca9454e2692ac21a08394bf7a4ba98982640da | fbb8ea8e385620ac41b0a9ceb5abf1405b8aac8c | refs/heads/master | 2020-09-04T20:59:42.950346 | 2019-11-18T07:40:56 | 2019-11-18T07:40:56 | 219,890,597 | 0 | 0 | Apache-2.0 | 2019-11-06T02:02:01 | 2019-11-06T02:02:00 | null | UTF-8 | C++ | false | false | 2,405 | h | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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
... | [
"jimmyzhuang@tencent.com"
] | jimmyzhuang@tencent.com |
fdf035196f59a285d8f59ffc0b2cb2379dc29c2b | 984d1c53e33f7ff7ce510f9b49d0e363996d0158 | /hdu/1197_Specialized Four-Digit Numbers.cpp | 055a27a453e1ee25b32a2cf878dac9806a3a1f53 | [] | no_license | lip23/growing | 789137ccb10bd3274fe5eaeec23958a726a120fb | 17b6911919084a79fa6e5971a3a7aec3646e38c4 | refs/heads/master | 2020-03-19T10:11:20.634008 | 2018-06-06T15:55:21 | 2018-06-06T15:55:21 | 136,351,110 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 335 | cpp | #include <iostream>
using namespace std;
int main()
{
for(int i=2992;i<10000;i++)
{
int t1=i,t2=i,t3=i;
int c1=0,c2=0,c3=0;
while(t1!=0)
{
c1+=t1%10;
t1/=10;
if(t2!=0)
{c2+=t2%12;t2/=12;}
if(t3!=0)
{c3+=t3%16;t3/=16;}
}
if(c1==c2&&c1==c3)
cout<<i<<endl;
}
r... | [
"lip@suarez.local"
] | lip@suarez.local |
0b161faa05649d290da242c5450318b4ef7bc47c | 7ae43c7525d09204819504a14205190e57c592a4 | /C++/lab3/pr.3.1/pr3.1/stdafx.cpp | 0592f9c179e5a505b05aaaf5fc4ff120e01cc487 | [] | no_license | MaxSpirihin/MyFirstPrograms | eea2f2fe845afd1739ff20cb157bbfff5dc4c6da | e3f114467109a99ce165cfc5c239785ffb888dd9 | refs/heads/master | 2021-01-19T03:53:51.601283 | 2016-06-23T10:16:39 | 2016-06-23T10:16:39 | 61,795,713 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 284 | cpp | // stdafx.cpp : source file that includes just the standard includes
// pr3.1.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
// TODO: reference any additional headers you need in STDAFX.H
// and not in this file
| [
"maaaks777@mail.ru"
] | maaaks777@mail.ru |
3dabc2d246df81f2113e89f065f063dc668b20bd | 5d83739af703fb400857cecc69aadaf02e07f8d1 | /Archive2/c8/9fc769750f3904/main.cpp | 5c27ed600309cd95a40b6d2b0e05831bc6020cd3 | [] | 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 | 2,307 | cpp | #include <utility>
#include <type_traits>
#include <memory>
template<class Sig>
struct function_view;
template<class R, class...Args>
struct function_view<R(Args...)>{
void* state;
R(*f)(void*, Args&&...);
template<class F, class=std::enable_if_t<std::is_co... | [
"francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df"
] | francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df |
43bb81a80c1cf5aba0adc95cf413c802b6b26253 | 12a07fa356cc73ea3fe305633255206c64de9298 | /Peter_v250_src/ProgClip.h | 2cf3ea178c73fffc6e1cd79f13ce977499d409ae | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | inferno986return/gemtree-peter-mirror | 8982df1b77260aa83734589c814b67a5b36f780a | e9e9bac2f806a0f6b7107d5e68725d167c62dc73 | refs/heads/master | 2021-06-24T10:45:19.113511 | 2018-12-06T16:12:08 | 2018-12-06T16:12:08 | 160,628,335 | 7 | 1 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 1,294 | h |
/***************************************************************************\
* *
* Obsluha clipboardu *
* *
\***************************************************************************/
extern DWORD CF_PETPROGP; // ID formátu "Program"
extern DWORD CF_PETPR... | [
"inferno986returns@gmail.com"
] | inferno986returns@gmail.com |
edba9dda275fc0b6f6ae7b6e5edf369406a34d4f | 3abbb2ce88f9087d3b270aeb384a6dbdc1fad888 | /SlidingWindowMaximum.cpp | 34df8e5b5d1d3d43e9c71692bcf86d3feca3ed00 | [] | no_license | liulin2012/myLeetcode | 262c8023ee2021dac02e5b055c0b071b5104f3c0 | 8a87da475a5206df5c33bfa6fdbab2042ca03a1a | refs/heads/master | 2021-01-10T19:39:11.414637 | 2015-12-04T20:16:31 | 2015-12-04T20:16:31 | 30,717,188 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 702 | cpp | class Solution {
public:
vector<int> maxSlidingWindow(vector<int>& nums, int k) {
deque<int> dq;
vector<int> res;
if (nums.empty()) return res;
int cur = k;
for (int i = 0; i < k; i++) {
while (!dq.empty() && nums[dq.front()] <= nums[i]) dq.pop_front();
... | [
"liulin.jacob@gmail.com"
] | liulin.jacob@gmail.com |
4fcf670133f2a639d185e84c312384b3df0852dd | ee3d19f9b96de7a4a8443c0c73264bd2f4e716ad | /03_2_controlled_lighting/src/example.ino | 671c9a9261c5476379e751e1bbe43e9129ff2215 | [] | no_license | mgrachev/arduino-sketches | a182513a168a12a651bb8486163ad80f1fc0db79 | 729c6d6abdb6b242a9f33683ab3380a19da3f244 | refs/heads/master | 2021-01-10T06:29:03.189795 | 2015-11-21T14:06:39 | 2015-11-21T14:06:39 | 45,781,702 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 399 | ino | #define LED_PIN_1 9
#define LED_PIN_2 5
#define POT_PIN A0
void setup() {
pinMode(LED_PIN_1, OUTPUT);
pinMode(LED_PIN_2, OUTPUT);
pinMode(POT_PIN, INPUT);
}
void loop() {
int rotation, brightness;
rotation = analogRead(POT_PIN);
brightness = rotation / 4;
analogWrite(LED_PIN_1, brightness);
int br... | [
"work@mgrachev.com"
] | work@mgrachev.com |
106e4f78cf27f4d180274d5ccdc0c95c6b0fde89 | b9448c7288ba16466a7d4d305d0c67e3803624e6 | /lab2.cpp | 9a49219a5f2bcf7460a33a2cda7fde39ce633c9b | [] | no_license | BuckanovNikita/mpi_lab | ed6f30e90b9cc63fcb3ac554f1a08dabe01cd0a8 | dc9c9a5a72d0d5f1ab471caace4ab2d885ac9af1 | refs/heads/master | 2022-06-18T05:52:14.330424 | 2020-05-11T07:18:42 | 2020-05-11T07:18:42 | 262,895,437 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 884 | cpp | #include <mpi.h>
double f(double x) {
return x;
}
using namespace std;
int main(int argc, char* argv[]) {
int rank;
int size;
double time;
unsigned long long n = 10000000000;
double a = 0.0;
double b = 2.0;
double sum = 0.0;
double h = (b - a) / n;
MPI_Status status;
M... | [
"buckanov.nikita@yandex.ru"
] | buckanov.nikita@yandex.ru |
c20f082d2a88d7d182a6d5103e04f37657ea98b9 | 95d27a5ac57fbfb90720a8d35a4b0fff4b5bcea4 | /z80-emulator/src/Interpreter/Expression/ExpressionLiteral.h | bb0fd46b45d0ce7583de159fea2f3e38eeda53d8 | [] | no_license | YushchenkoAndrew/Z80 | e2176eaf834b9d63cb8ca8704baf4442ca75ef6e | 457bb3ec8797912e9e09333d86d35cdc4aa3041d | refs/heads/master | 2023-08-31T23:34:16.870268 | 2023-08-31T15:20:31 | 2023-08-31T15:20:31 | 361,228,020 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 525 | h | #pragma once
#include "Expression.h"
namespace Interpreter {
class ExpressionLiteral : public Expression {
public:
ExpressionLiteral(std::shared_ptr<Token> token, int32_t s):
value(token->literal), type(token->token), size(s) {}
ExpressionLiteral(std::string val, TokenT type):
value(val), type(type), s... | [
"Andrew10122000@gmail.com"
] | Andrew10122000@gmail.com |
8fe9411867fa3a4d373f37d47e39ae2eec8fe628 | 3d7c0a138fa67f80d0a5a3416cb9f0d5f8e05e33 | /LearnOpenGL/Triangle.cpp | 9537c6603d54b0962d9bb9dfd65acf43b379bdc4 | [] | no_license | jjzhang166/LearnOpenGL-3 | ee095401b1dc1324c01f8d710f6009419bafe041 | 06c0a79950a97e6578b32d3edf79365de92c552b | refs/heads/master | 2023-03-17T19:42:07.073770 | 2021-02-15T12:44:14 | 2021-02-15T12:44:14 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 4,757 | cpp | //#include "Triangle.h"
//#include <string>
//#include "Common.h"
//using namespace std;
//
//float vertices[] = {
// -0.5, -0.5, 0.0,
// 0.5, -0.5, 0.0,
// 0.0, 0.5, 0.0
//};
//
//unsigned int vs;
//unsigned int fs;
//unsigned int sProgram;
//
//void CreateAndCompileShader(/*int &vs, int &fs*/)
//{
// string vss =
// ... | [
"jiangkai@xindong.com"
] | jiangkai@xindong.com |
40ad09b9636d28004ca122a9a0c70c3aa6169bd0 | d0fb46aecc3b69983e7f6244331a81dff42d9595 | /dcdn/include/alibabacloud/dcdn/model/UploadRoutineCodeRequest.h | 0b9892edacecd1246fa56d5354657bc0548a512f | [
"Apache-2.0"
] | permissive | aliyun/aliyun-openapi-cpp-sdk | 3d8d051d44ad00753a429817dd03957614c0c66a | e862bd03c844bcb7ccaa90571bceaa2802c7f135 | refs/heads/master | 2023-08-29T11:54:00.525102 | 2023-08-29T03:32:48 | 2023-08-29T03:32:48 | 115,379,460 | 104 | 82 | NOASSERTION | 2023-09-14T06:13:33 | 2017-12-26T02:53:27 | C++ | UTF-8 | C++ | false | false | 1,543 | h | /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | [
"sdk-team@alibabacloud.com"
] | sdk-team@alibabacloud.com |
ee63a75799606d76e8818601a6390a2387b62467 | 9fba47f10492683b8055080bcd34e60271aacf4d | /Slicer/Slicing/llvm/DominanceFrontier.h | 50b401ef19cac584de4d003889aa9c2ac2da6f96 | [
"MIT"
] | permissive | twang15/BarrierFinder | aabc51c3bf3df72009e7b1e8b183a9fd2737effc | c20ff99ffeeeabc1508682bc99ffb4c7659e7e9f | refs/heads/master | 2021-02-09T10:20:53.991627 | 2020-06-24T20:44:50 | 2020-06-24T20:44:50 | 244,270,514 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,061 | h | //===- llvm/Analysis/DominanceFrontier.h - Dominator Frontiers --*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"twang15@ncsu.edu"
] | twang15@ncsu.edu |
e50bf310a676c2e5163d23dc7fd2792bbf6312e9 | f27e0c94b31b6474a06873075bb79b7d85712c1f | /WS08/in-lab/Account.cpp | 3a1fda8e934d6b0b36e372e40a499a1fc3c450a6 | [] | no_license | janahvitalicio/Cpp-Object-Oriented-Programming-Introduction-Course | c2415edc88084dcfd74aabfe557f29e0f065d6a7 | c52ee883a57285ccdc839925a1caded913fa8daf | refs/heads/main | 2022-12-29T09:30:04.147841 | 2020-10-13T04:07:11 | 2020-10-13T04:07:11 | 303,582,595 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 796 | cpp | /**********************************************************
* Name: Janah Vitalicio
* Date: March 18, 2019 (Week 10, Workshop 8)
**********************************************************/
#include <iostream>
#include "Account.h"
using namespace std;
namespace sict {
Account::Account... | [
"noreply@github.com"
] | janahvitalicio.noreply@github.com |
24d29ba1a3f1bedb3831ef26b4ea197bbf211fb9 | c219217b93ac2dcfd859fcac4d4070d29fa844dc | /Code/Server/H5Vtk/vtkH5DataReader.cpp | 8063c4ac49e7f9f05173e3e72b18f13b27363642 | [] | no_license | imikejackson/H5Vtk | c61c83e740f454a0a284d0d030d5102b4dc260d6 | a25768b9e41657f9dfec625b2b945a6a2cb3f934 | refs/heads/master | 2021-04-03T06:04:27.885128 | 2011-11-12T19:32:06 | 2011-11-12T19:32:06 | 125,084,853 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 16,109 | cpp | ///////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2010, Michael A. Jackson. BlueQuartz Software
// All rights reserved.
// BSD License: http://www.opensource.org/licenses/bsd-license.html
//
////////////////////////////////////////////////////////////////////////////... | [
"mike.jackson@bluequartz.net"
] | mike.jackson@bluequartz.net |
a71d0d18c0160f3a02f38f023ee7283a304f324e | bcb7d852d4873676d60cd0e2cd57610757275ea5 | /test-src/death_by_exception.cpp | cd4abb8e0c826bed1a525d1e52e1c0fae2f2f185 | [
"BSD-2-Clause"
] | permissive | mattiash/crpcut | 5356768a5bc85873d36fc7c6cc7eadc96503ca0d | 44c3777a5ba03869fde83ad0ff5cde46e32fd344 | refs/heads/master | 2021-01-13T02:10:38.318796 | 2011-08-16T14:48:49 | 2011-08-16T14:48:49 | 1,822,734 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,152 | cpp | /*
* Copyright 2009 Bjorn Fahller <bjorn@fahller.se>
* 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 li... | [
"bjorn@fahller.se"
] | bjorn@fahller.se |
3e8152196168e9a5f76badd232eace59a77ba86b | c0e6e838e658dcd488a5c4abac9f0ae2304693c0 | /src/PlayScene.h | de947db0e74686cfa6b9188cda5a957b6c8de970 | [] | no_license | JoshKimGBC/GAME3001-A1 | 182886fee39706f040c277f13a1a7dd2ae39eab8 | 76ff5d8cd319336ed8ed6f69db816e593e27ceec | refs/heads/main | 2023-04-11T07:17:39.002621 | 2021-04-22T02:49:53 | 2021-04-22T02:49:53 | 360,372,728 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 785 | h | #pragma once
#ifndef __PLAY_SCENE__
#define __PLAY_SCENE__
#include "Scene.h"
#include "Button.h"
#include "Label.h"
#include "Obstacle.h"
#include "SpaceShip.h"
#include "Target.h"
enum Behaviour {SEEK, FLEE, ARRIVE};
class PlayScene : public Scene
{
public:
PlayScene();
~PlayScene();
// Scene LifeCycle Functio... | [
"joshua.kim@georgebrown.ca"
] | joshua.kim@georgebrown.ca |
54592ae1c71da618f5ab7884a0a80debc0c9108c | 191b37a27f0115a78a7c09f550ef4dec7208f22b | /longsesmart/platform/smartrecv.cpp | febd7e58ae67b5e9238005e358d59141d383822e | [] | no_license | johnnyleeRH/zmqplatform | 916cb9821bc6e07039e4e1c62008b297d0d55480 | 06e64ba6a968d4e2a3aae57d35485f5bc3be5433 | refs/heads/master | 2021-01-08T16:00:27.507321 | 2020-02-26T08:01:44 | 2020-02-26T08:01:44 | 242,073,723 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,466 | cpp | #include "smartrecv.h"
#include <cerrno>
char SmartRecv::recvbuf[kMQLen];
SmartRecv::SmartRecv() :
start_(false), parser(SmartParse::Inst()) {
topic_.push_back(ktypesmart);
topic_.push_back(ktypefeature);
topic_.push_back(ktypecrop);
topic_.push_back(ktypebackground);
topic_.push_back(ktypeh264);
}
bool ... | [
"ronghua.li@horizon.ai"
] | ronghua.li@horizon.ai |
323b0f054e2470c67578a6699a38d484eb24526a | 17e5d6cd444cbbc31e0f233018803ddc655992d0 | /lab10/DISTANCE-CMFI.CPP | 6daeac16d9e7d8517ba1e259eeec74f930d7205d | [] | no_license | arash-arora/OOPS | fb2cf25f322cb25040a78e60888703c4c7661d5f | 54a9d5506642a53e55e37b6d2203ff731bb5e3eb | refs/heads/master | 2023-02-13T23:43:44.485457 | 2021-01-08T19:46:24 | 2021-01-08T19:46:24 | 294,294,261 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,206 | cpp | #include<iostream.h>
#include<conio.h>
class DB;
class DM
{
float met,cm;
public:
void getval()
{
cout<<"Enter the distance in meter and centimeter ";
cin>>met>>cm;
}
void disp()
{
cout<<"Distance in Meters : "<<met<<endl;
cout<<"Distance in Centimeters : "<<cm;
}
frie... | [
"noreply@github.com"
] | arash-arora.noreply@github.com |
53be3350d63507c8e280d334838a8440d6194abc | ddd0748cbe65c8967e2b0c1834bdc7cd50291e12 | /project1/project1/Source.cpp | b4b762f64407360ffeb196cbfa3dc9f2cf594357 | [] | no_license | jbeneliezer/ESE_344 | ef522ee92ebd26e1e855c92875d6080242e2a01a | 112eb3d755f9e9517ac6041228d3a537267c5e6d | refs/heads/master | 2023-04-19T07:19:30.792113 | 2021-05-05T02:40:26 | 2021-05-05T02:40:26 | 338,151,356 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,875 | cpp | #define _USE_MATH_DEFINES
#ifndef MATRIX_H
#define MATRIX_H
#include <iostream>
#include <fstream>
#include <vector>
#include <string>
#include <complex>
#include <math.h>
#include <cassert>
using namespace std;
template <typename T>
class matrix
{
public:
matrix(size_t rows, size_t cols) : array(... | [
"good@everything.localdomain"
] | good@everything.localdomain |
ccc0b4455721ed0077e2a5d42963c143777365c1 | eaf9231124657a55dffd4398cab0f739f337ed0b | /app/src/main/cpp/platform/android/Feature.cpp | dd04fbd01276d4b9c9186ebe4a1f3806d3ac3fa9 | [
"Apache-2.0"
] | permissive | TGSen/PerfectShow | bf43253ff72c7fa628885daeec74d0c632695519 | f9d4a49136204ea6621bb6e991d4bab09d5521e2 | refs/heads/master | 2020-09-02T17:32:59.941429 | 2019-10-27T15:27:17 | 2019-10-27T15:27:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,995 | cpp | #include "platform/android/Feature.h"
#include "venus/Feature.h"
static const char* LOG_TAG = "Feature-JNI";
#include "jni_bridge.h"
using namespace cv;
using namespace venus;
jobjectArray JNICALL Java_com_wonderful_ishow_algorithm_Feature_nativeDetectFace(JNIEnv* env,
jclass clazz, jobject _image, jstring _image... | [
"martin6taylor@gmail.com"
] | martin6taylor@gmail.com |
d2086d004df508aba9cc3a0a1523b37112b80d28 | 0eadab2edcc5849a97475ff2009538b5040974f2 | /Code/Explicit/include/sitkExplicitITKImageScanlineConstIterator.h | 867ea7a706e2d77add5382de6e39b72957881682 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Booyam/SimpleITK | a7d08fc11b4eddf051e78bbddcaa7b368e983506 | 17259361e92100cca473ec27ca5f4a65cee1d15d | refs/heads/master | 2020-12-20T11:43:31.074899 | 2020-01-23T16:49:46 | 2020-01-23T16:49:46 | 236,062,850 | 0 | 0 | Apache-2.0 | 2020-01-24T18:48:56 | 2020-01-24T18:48:55 | null | UTF-8 | C++ | false | false | 7,819 | h | /*=========================================================================
*
* Copyright Insight Software Consortium
*
* 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://ww... | [
"blowekamp@mail.nih.gov"
] | blowekamp@mail.nih.gov |
9dca771d112af53069ac980befa56dde149d6765 | 537dad87e023d7578bb05d8c8ca29224a49e8b7a | /src/subgraph_fit.cc | a9183f4d549b6ade690bd71e52563101bf7db6c4 | [
"MIT"
] | permissive | peraro/finiteflow | 5c35ec63a566c19e8b4039adc14638c5e0040e90 | 4d416de6b418b67961a174956c933df0e3c84cf5 | refs/heads/master | 2022-12-08T07:50:36.175306 | 2022-11-22T15:34:23 | 2022-11-22T15:34:23 | 187,710,347 | 46 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 8,838 | cc | #include <fflow/subgraph_fit.hh>
namespace fflow {
namespace detail {
Ret SubgraphSubFit::new_xpoint(Context *, AlgInput *, Mod,
AlgorithmData *) const
{
return SUCCESS;
}
Ret SubgraphSubFit::fill_equation(Context *,
A... | [
"peraro@physik.uzh.ch"
] | peraro@physik.uzh.ch |
8deea9a65f96dc9a3cf36144e02bc1daadb99455 | e79e5a096d2afac0ee02deb2734d006dae9e4cbb | /Gears/Src/RenderCore/RenderPipe_DLEmiss_opengl.h | 0d6554b208745915eb2ab623a820f98b9504695b | [
"MIT"
] | permissive | pkm158/Gears | ee003c32dc7699139acbea8e2cb160cc609928d3 | 9ea5d835bf9bcbc3905e544bcb6c36816caca553 | refs/heads/master | 2021-05-16T03:02:47.212967 | 2016-11-19T22:38:49 | 2016-11-19T22:38:49 | 40,279,097 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 743 | h | /************************************************************************/
/* Author: Kemi Peng
History: 08/03/2015 by Kemi Peng*/
/************************************************************************/
#ifndef RENDERPIPE_DLEMISS_OPENGL
#define RENDERPIPE_DLEMISS_OPENGL
#include "IRenderpipe.h"
class RenderPipe... | [
"pengsoftware@gmail.com"
] | pengsoftware@gmail.com |
dc1450eda23657cc2e60abd93a11914f996cb5d8 | 046f161cf8966b81bec442315f7e26e25d99c1ac | /HUFFMAN.CPP | e97174db77cc57822850309136bbba8712d4a199 | [] | no_license | Balaji4/LetUsCPlusPlus | 759a9e7a73462b90539d7305cabe3d95d77cd7e9 | 4da78b2f20f0575c13e21d7a1d1257da46e75cb8 | refs/heads/main | 2023-01-21T03:06:04.713810 | 2020-11-26T21:15:43 | 2020-11-26T21:15:43 | 316,336,367 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 746 | cpp | #include<iostream.h>
#include<conio.h>
#include<string.h>
void huffalgo();
class huff
{
float freq;
char a;
public:
void getvalue(char b,float f)
{
a=b;
freq=f;
}
friend ostream& operator<<(ostream &,huff);
};
ostream& operator<<(ostream &out,huff temp)
{
out<<temp.a;
... | [
"balajidubey214@gmail.com"
] | balajidubey214@gmail.com |
c969c583cf99e2fe445b028ca89896442626cbcd | c9702a04a4751ad007e52be4b56cb6281ddef6c6 | /Source/EscapeGame/MoveElevator.cpp | 7733c4f12eb3b711be0330ba0597578af1e68ef8 | [] | no_license | xiens/Escape_Game | c5ad05318ff1ec604cb68fba5c65742bd10bb997 | a40f54641cb8643fcc986d344044e04b621aa032 | refs/heads/master | 2020-03-17T20:55:55.463624 | 2018-07-22T18:33:42 | 2018-07-22T18:33:42 | 133,935,696 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,702 | cpp | // bububu
#include "MoveElevator.h"
#include"TimerManager.h"
#include "GameFramework/Actor.h"
#define OUT
// Sets default values for this component's properties
UMoveElevator::UMoveElevator()
{
// Set this component to be initialized when the game starts, and to be ticked every frame. You can turn these features
... | [
"xiens2@gmail.com"
] | xiens2@gmail.com |
9debe73038d6e6c5ed059e38897af1a0a4750e8e | d7f8b4dfe63536f09f7f6b9e7d270b94e526c448 | /86.partition-list.cpp | f174290792a22b6ce2bb565f248bc349787c0292 | [] | no_license | wlfrii/LeetCode | 3990970cfc89e90bbc604a3647eb94c8ec644564 | 1f415a1053e7307ea3ef507ebf2ced8db23db00e | refs/heads/master | 2021-10-22T21:39:32.368193 | 2021-10-09T07:40:13 | 2021-10-09T07:40:13 | 201,034,540 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,353 | cpp | #include "myFunctions.h"
/*
* @lc app=leetcode id=86 lang=cpp
*
* [86] Partition List
*/
/**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ListNode(int x) : val(x), next(NULL) {}
* };
*/
/**
* Idea.
* We need two head-nodes at least to represent two pa... | [
"longfei.wang@sjtu.edu.cn"
] | longfei.wang@sjtu.edu.cn |
569418596e3de058aa89852c3f559c8b92ddf64a | 70ffc53a7a906d6da6d635d131fb525618245083 | /src/libks/libks/imageproc/colorcoder.cpp | 8c82c1047e0eae7c4862fd9cfd949b38357709e0 | [] | no_license | sundsunds/catkin_backup | 529c9892655bd0f5035f1b02f0dc0fe945e0080c | 04ebec48e26fdf89e13ea0f6086c76ce8119f4ea | refs/heads/master | 2021-01-18T23:13:52.830285 | 2017-04-03T16:38:15 | 2017-04-03T16:38:15 | 87,096,984 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,486 | cpp | #include "libks/imageproc/colorcoder.h"
#include <cstdio>
#include <string>
namespace ks {
using namespace cv;
using namespace std;
ColorCoder::ColorCoder(float min, float max, bool shadowLess, bool shadowGreater, ColorScale scale)
:minVal(min), maxVal(max), shadowLess(shadowLess), shadowGreater(shadowGreater),... | [
"sunds1986@139.com"
] | sunds1986@139.com |
a3c1a5b90d570e8e3a6035c27219d6ec0e585a17 | 96450835b2632e4b635b6fda84f4a416ecc6f6d1 | /CMouseEvent.h | 56a946d767d10f5eee3f39f4ff1106f1cb915b0c | [] | no_license | UCLanGroup/GameProject | 0f31e364dd97e424ec05045e26589a083bc5dda3 | d835a923ec8d027f4023342dfe7ec06771d6e81f | refs/heads/master | 2021-01-17T06:53:15.684415 | 2016-06-25T15:31:39 | 2016-06-25T15:31:39 | 50,593,734 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 770 | h | #pragma once
namespace tle_ui
{
class CComponent;
//For forming mouse events to be passed to and from components
class CMouseEvent
{
public:
//Types of events
enum Type : int {Mouse_Entered, Mouse_Exitted, Mouse_Clicked, Mouse_Moved};
//Creates a mouse event from the position of the event and... | [
"blazingdarkness47@gmail.com"
] | blazingdarkness47@gmail.com |
1e5fde8b7f51611ad104729d751636c9ff8039e9 | 8ff774e123febeb306131750d63d22f3483b2319 | /src/SmartIoT/Uptime.cpp | fc978abee93dda615c8f080d3c9485bfee2c65cd | [
"MIT"
] | permissive | AntorFr/SmartIot | b79c5fa85116c402587ea6e63b4f669492ad7588 | 5966511af97f5d486f800248d2ac229d0f485331 | refs/heads/master | 2022-03-22T01:29:20.102205 | 2022-02-17T22:45:18 | 2022-02-17T22:45:18 | 160,933,793 | 3 | 0 | MIT | 2022-02-06T09:21:31 | 2018-12-08T11:47:03 | C++ | UTF-8 | C++ | false | false | 302 | cpp | #include "Uptime.hpp"
using namespace SmartIotInternals;
Uptime::Uptime()
: _milliseconds(0)
, _lastTick(0) {
}
void Uptime::update() {
uint32_t now = millis();
_milliseconds += (now - _lastTick);
_lastTick = now;
}
uint64_t Uptime::getSeconds() const {
return (_milliseconds / 1000ULL);
}
| [
"contact@antor.fr"
] | contact@antor.fr |
5fb05de27974fc8fef0d54adfe70835adb7be184 | d35dd01cfc38e8b0eadb9cf1f25e8691035a2c20 | /VS Project/SDL 2D Engine/CAnimation.h | c478b63ba10901ec4f150ef44d6aa0b5314884ed | [] | no_license | vincerp/ballin-octo-dangerzone | 691b0848c01c5a4a25d44b3de970e681a2c4d916 | 9f112fa6dc3607363e1c0f9b5ff15d4699b08d19 | refs/heads/master | 2020-12-30T17:44:30.868258 | 2013-08-29T11:30:57 | 2013-08-29T11:30:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 486 | h | #ifndef _CANIMATION_H_
#define _CANIMATION_H_
#include <SDL.h>
class CAnimation {
private:
int currentFrame;
int frameInc;
int frameRate; // DELAY in milliseconds
long oldTime; // time passed since last animation frame
public:
int maxFrames;
bool oscillate; // true: increase/decrease frames, false: loop... | [
"till.riemer@gmx.de"
] | till.riemer@gmx.de |
013f21b77842d0f7ddf8d76d8bd161861c143241 | 4f76464ab556ee36e00881f661bbfdee98d69add | /projects/engine/nex/resource/ResourceLoader.cpp | 37a62934f5085dddb5537594cd6a4eba92ace838 | [] | no_license | Neconspictor/Euclid | 5406c25cf0089d0c11c319349ae4b7a7a437774c | 3a144723d1e79b9670336ec66cbdee875d97a1d6 | refs/heads/master | 2022-04-14T17:48:23.527977 | 2020-04-01T14:47:18 | 2020-04-01T15:14:06 | 251,591,695 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,487 | cpp | #include <nex/resource/ResourceLoader.hpp>
#include <nex/platform/SubSystemProvider.hpp>
#include <nex/renderer/RenderBackend.hpp>
#include <nex/resource/Resource.hpp>
#include <boost/stacktrace.hpp>
#include <boost/exception/get_error_info.hpp>
#include <boost/filesystem/operations.hpp>
#include <nex/util/ExceptionHan... | [
"goeth@fim.uni-passau.de"
] | goeth@fim.uni-passau.de |
e0870a916528752bb60c2d2440bb66b5fbf1ad92 | 85fc862b69d4c7555750211b524cdbc0735fd6eb | /Lab3/Assessment3ProjectKenWagner/Copy of Assessment3ProjectKenWagner.cpp | 9b05ce28bba369eceff7f6710b8b8e9ba070fcff | [] | no_license | kenxwagner/CS162_The_-Lab_-Work | 28e9f4261c8f30e782e38f7c66eb273aa1c55fed | 71bbbe2c812eeac2a6fbe9f49cb5627c3ed75e89 | refs/heads/master | 2021-01-10T08:20:55.816909 | 2015-10-16T08:32:47 | 2015-10-16T08:32:47 | 44,373,394 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,643 | cpp | //Assessment3ProjectKenWagner.cpp
#include <iostream>
#include <string>
using namespace std;
//Date class definition
class Date
{ public:
Date(short d= 1, short m = 1, short y = 1900);//Default constructor with default values.
Date(Date &);// copy constructor.
void printDate();// function prototype;
p... | [
"ken_xwagner@hotmail.com"
] | ken_xwagner@hotmail.com |
48d20b0aa44aa23fe9ea7282e366d742b05b0149 | d1663fd2089aab599896a4e4c4425a79baa4ae3d | /WinNginx/WNbackDlg.h | c865525c6373635461d8ab811f3d9a93160b3aef | [
"MIT"
] | permissive | nonrk/winginx | d574be2fe371a53a3a588abe05e7f310ba3a458f | 0b174cb25daaeea7a41da3d55564a4005f1ffe70 | refs/heads/master | 2020-05-18T11:12:20.501692 | 2019-06-12T03:57:25 | 2019-06-12T03:57:25 | 184,371,348 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 800 | h | #pragma once
#include "afxwin.h"
// CWNbackDlg 对话框
class CWNbackDlg : public CDialogEx
{
DECLARE_DYNAMIC(CWNbackDlg)
public:
CWNbackDlg(CWnd* pParent = NULL); // 标准构造函数
virtual ~CWNbackDlg();
// 对话框数据
enum { IDD = IDD_DLG_BACK };
protected:
virtual BOOL CWNbackDlg::OnInitDialog();
virtual void DoDataExcha... | [
"nonrk@163.com"
] | nonrk@163.com |
22090ce9b1611e443818739b85b7ac3a5fd64779 | 904a6760dbe18cfc9c59ad39470ab38a4ebf47a4 | /src/ui/graphics_gl.cpp | c22f9e5d3fd0b782f65431943caaaa404fa71272 | [] | no_license | rocdat/shiokaze | b93f0c3fed2ef8bb16d13ef27a4cedced7c9a792 | 99fad59e04cef65190d7614836aec41529e771c6 | refs/heads/master | 2020-04-14T07:14:34.659827 | 2018-12-28T13:36:56 | 2018-12-28T13:36:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,699 | cpp | /*
** graphics_gl.cpp
**
** This is part of Shiokaze, a research-oriented fluid solver for computer graphics.
** Created by Ryoichi Ando <rand@nii.ac.jp> on Jan 13, 2018.
**
** Permission is hereby granted, free of charge, to any person obtaining a copy of
** this software and associated documentation files (the "Softw... | [
"rand@nii.ac.jp"
] | rand@nii.ac.jp |
d6059eb5e17e9390e76a2880a381b21c9f78961b | b5d130d7e3a668b661ce3c9d976e255533d24b89 | /test/unittest/thread_manager_test.cpp | 4e71f5bca3275561a497a0f88a03886b86c04f82 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | byzin/Zisc | f00c4f7116a7f1c22f2bc7abeb7e5285a2d131d1 | d67e244d95192b434ffcd341a54616e922b1157b | refs/heads/master | 2023-07-09T23:58:27.130798 | 2023-07-03T06:58:20 | 2023-07-03T06:58:20 | 66,723,872 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 44,259 | cpp | /*!
\file thread_manager_test.cpp
\author Sho Ikeda
\brief No brief description
\details
No detailed description.
\copyright
Copyright (c) 2015-2023 Sho Ikeda
This software is released under the MIT License.
http://opensource.org/licenses/mit-license.php
*/
// Standard C++ library
#include <algor... | [
"zin.kosmos.1190@gmail.com"
] | zin.kosmos.1190@gmail.com |
5c6ae5de9239fa5c2a173856646345e398ade922 | 357d9e53268db080b253db7b1aed2c3209d4d39b | /Practical Programs/inline1.cpp | 06e710483b8a18ed9951938168d8611fa9baf091 | [] | no_license | mdutt247/student-cpp | 48b9a502be46d5118d4a340c91ec9ff45e26747b | 2127393dd8b871ee670a062ca958c5fef14c5bae | refs/heads/main | 2023-05-04T06:49:10.883116 | 2021-05-18T13:43:58 | 2021-05-18T13:43:58 | 319,932,164 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 222 | cpp | #include<iostream>
#include<stdio.h>
using namespace std;
int main()
{
inline int sum(int,int);
int a,b, ans;
cin>>a>>b;
sum(a,b);
ans=sum(a,b);
cout<<"The sum is: "<<ans;
}
int sum(int x, int y)
{
return (x+y);
}
| [
"59934065+mdutt247@users.noreply.github.com"
] | 59934065+mdutt247@users.noreply.github.com |
9a47d8f4324735773a33bfdf660059b25cfe869a | 239ae3528027868f1698bcffe4dd1941a963a18c | /desy_setup/CMSSW_5_3_14/src/AnalysisDataFormats/TauAnalysis/interface/NSVfitSingleParticleHypothesis.h | 6790d155b5ad68c2dcc60edf0fb3c3b96204cd68 | [] | no_license | saxenapooja/HTauTau | 2ff61e337fd0b0ee2319982d64174b7495d7fd9f | 46343cba7a6a4aeeacfd91e44f7ffc1a358a0295 | refs/heads/master | 2016-09-06T08:27:31.588092 | 2014-08-22T10:26:31 | 2014-08-22T10:26:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,650 | h | #ifndef AnalysisDataFormats_TauAnalysis_NSVfitSingleParticleHypothesis_h
#define AnalysisDataFormats_TauAnalysis_NSVfitSingleParticleHypothesis_h
#include "DataFormats/Candidate/interface/Candidate.h"
#include "DataFormats/TrackReco/interface/Track.h"
#include "DataFormats/VertexReco/interface/Vertex.h"
#include "Data... | [
"pooja.saxena@cern.ch"
] | pooja.saxena@cern.ch |
6ef4268bf3edf2c388a312f2abcaa9349919e6a4 | f9e69456902987575806fbf5c4c0dce3072f0e5f | /Algorithm/online_judge/task2/test1/reverse.cpp | 235f9530acc08a991933dc19ba8a304ec13f0334 | [] | no_license | Demo099NJ/Algorithm | 547b0789f825856142be1c38b9f88565fcc11922 | dc5b29be431e51afc30d0b7cc862d0e70146a582 | refs/heads/master | 2022-12-10T15:36:11.400141 | 2020-09-09T02:05:56 | 2020-09-09T02:05:56 | 293,865,473 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,440 | cpp | #include<iostream>
#include<assert.h>
using namespace std;
char **getArray(int len, int col) {
char **array = new char*[len]; assert(array != nullptr);
for(int i = 0; i < len; ++i) {
array[i] = new char[col]; assert(array[i] != nullptr);
}
for(int i = 0; i < len; ++i) {
for(int j = 0; j < col; ++j) {
cin >>... | [
"noreply@github.com"
] | Demo099NJ.noreply@github.com |
b2a0832f99f2c22768bfc22fb99d85e04fd8a756 | 9c93f34b497f6412596d6babd9fd3cff76cacafd | /ScreenPosTransformation/Vector4.cpp | 4365dfb89151cc7dd2248cc172010c9ae3398660 | [] | no_license | synsax/3D-drawing | 63eda11ef0e10c2c6ec120f16f939a13622d5ca9 | 6e2f6958630536b051113c4f7693708d1e2dd001 | refs/heads/master | 2021-09-07T23:47:25.185785 | 2018-03-03T14:36:12 | 2018-03-03T14:36:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,163 | cpp | #include"Vector4.h"
#include"Vector3.h"
#include"Matrix4x4.h"
#include<cmath>
Vector4::Vector4() {
x = 0;
y = 0;
z = 0;
w = 0;
}
Vector4::Vector4(float _x, float _y, float _z, float _w) {
x = _x;
y = _y;
z = _z;
w = _w;
}
Vector4 Vector4::operator + (Vector4 v) {
return Vector4(this->x + v.x, this->y + v.y, ... | [
"www.vantanphsh1036@gmail.com"
] | www.vantanphsh1036@gmail.com |
d3e6af807d2a9c760d109f02043a13169e99f64c | 140c7efcaed05765f3cbec494dc8f71557c179d9 | /game/resource/Shader.cpp | 1796b98d876cb98e717719313e151cbcaa63d6e3 | [] | no_license | omrta-dev/AutoQuest | d3ad1f9f663e8f9c2c5a89b489f798b9f950b4e5 | 54af80432eed36978249f0f0132dc44efed3494d | refs/heads/master | 2022-11-21T20:08:44.953268 | 2020-07-22T08:27:28 | 2020-07-22T08:27:28 | 236,527,673 | 0 | 0 | null | 2020-06-02T07:24:57 | 2020-01-27T15:51:25 | C | UTF-8 | C++ | false | false | 4,553 | cpp | #include "Shader.hpp"
#include <fstream>
#include <memory>
aik::resource::Shader::Shader()
{
m_isBound = false;
m_shaderIDs.reserve(2);
m_iProgramID = 0;
}
aik::resource::Shader::Shader(const std::string &vertexShader, const std::string &fragmentShader,
const std::string &geometrySh... | [
"omar.martinez.sw@gmail.com"
] | omar.martinez.sw@gmail.com |
2bb23021ce7c582b7d8b2510fbc74a2ece90bab0 | 06cc6e99ee1d0a6ad120763ad004c38d757b77cd | /Codechef/xor.cpp | b0003f56d4f36c3e954fc65ccf4f9b15584a7946 | [] | no_license | MaicolGomez/ACM | 0eddec0ba8325c6bdc07721acc57a361c03c4588 | ff23b2c24daa5df1cc864b134886ff81a6d488c7 | refs/heads/master | 2020-03-06T20:57:14.628666 | 2018-03-28T01:46:27 | 2018-03-28T01:51:08 | 127,066,787 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 993 | cpp | #include<bits/stdc++.h>
using namespace std;
#define pi (2.0*acos(0.0))
#define eps 1e-6
#define ll long long
#define inf (1<<29)
#define vi vector<int>
#define vll vector<ll>
#define sc(x) scanf("%d",&x)
#define scl(x) scanf("%lld",&x)
#define all(v) v.begin() , v.end()
#define me(a,val) memset( a , val ,sizeof(a) )
#... | [
"maycolgo@gmail.com"
] | maycolgo@gmail.com |
9c5774be8e6ca73effe53ad8e2d1d215de9014c1 | b8666024462a1c5c2a2cd209abac7250c9839a80 | /3DEngine/GSOption.cpp | eed8013f68f4f66e590df0351898e878d05969a2 | [] | no_license | Promenlt/InfinityJump | 5d908ad82963a2c3588c7dd5038c42cd6860689d | 910996795b19fa9836e7e18770dac1007758fc7a | refs/heads/master | 2022-12-10T23:18:21.797214 | 2020-08-17T11:46:00 | 2020-08-17T11:46:00 | 288,155,160 | 0 | 0 | null | 2020-08-17T10:52:13 | 2020-08-17T10:52:13 | null | UTF-8 | C++ | false | false | 97 | cpp | #include "stdafx.h"
#include "GSOption.h"
GSOption::GSOption()
{
}
GSOption::~GSOption()
{
}
| [
"68494848+Promenlt@users.noreply.github.com"
] | 68494848+Promenlt@users.noreply.github.com |
cd32d87be6f523e7d5851517fb522f5166fc88f0 | 0a66d5e146eb37a713c6f52156246167dd53699b | /WindowsProgramming/CD-ROM/Chap06_MessageMap/Map_step5_Done!/Hellowinclass_step5.cpp | f7c06369995b7bfffe841c8a94fce505b952aef9 | [] | no_license | GP101/2016 | 0b3291a34983e6bc35bb8fefd8f3ad098c0d42a7 | b7c864c75b060b10a7dd2d481e06600a18292df7 | refs/heads/master | 2023-01-11T10:42:05.683911 | 2022-12-29T07:55:24 | 2022-12-29T07:55:24 | 57,969,129 | 3 | 15 | null | null | null | null | UTF-8 | C++ | false | false | 65 | cpp | //Use CView.cpp CView.h stdafx.cpp stdafx.h CObject.cpp CObject.h | [
"jintaeks@gmail.com"
] | jintaeks@gmail.com |
805944104402fed187009fe82d35e2b6cdab51e0 | c40d1eb90464fa61c7c290ccd4f4a6416d7ed2ff | /hr_Largest_Rectangle_In_a_Histogram.cpp | 1c90e1d8ef6887aaf546604603c60ed6f65fb26a | [] | no_license | mh-rahman/Programming-Practice | 2bebdd5c68490882efefa9e262d2a90bb0da51fa | e4ceb275a6c9a56999289751f13e74548d9cd185 | refs/heads/master | 2021-07-26T12:48:43.158183 | 2020-09-19T22:34:25 | 2020-09-19T22:34:25 | 219,614,371 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,641 | cpp | #include <bits/stdc++.h>
using namespace std;
vector<string> split_string(string);
// Complete the largestRectangle function below.
long largestRectangle(vector<int> h) {
stack<long int> position;
stack<long int> height;
long int i=0,maxArea=0,area=0,p;
position.push(i);
height.push(h[i]);
i... | [
"aaaa@bb.com"
] | aaaa@bb.com |
46f09443d09032a6e3c0b5406edd334a15c9fd73 | 42612848041c4f6809976f125056672f214c1afe | /FYP_matrix/google-api/google/cloud/ml/v1beta1/model_service.grpc.pb.cc | 0220c6ab097a6cc0c1f3c193b6a9f16b8d76f9ab | [] | no_license | Chen-Zhe/FYP_matrix | abc64a71dd730de35afe1a03c86a6771ccf7de07 | a791320d8fcd14c983db4db1422772ed69ad6089 | refs/heads/master | 2021-01-12T17:14:16.290658 | 2017-05-07T12:24:43 | 2017-05-07T12:24:43 | 69,989,506 | 3 | 2 | null | 2016-12-06T16:29:18 | 2016-10-04T17:36:17 | C++ | UTF-8 | C++ | false | true | 14,973 | cc | // Generated by the gRPC protobuf plugin.
// If you make any local change, they will be lost.
// source: google/cloud/ml/v1beta1/model_service.proto
#include "google/cloud/ml/v1beta1/model_service.pb.h"
#include "google/cloud/ml/v1beta1/model_service.grpc.pb.h"
#include <grpc++/impl/codegen/async_stream.h>
#include <... | [
"chenzhesg@gmail.com"
] | chenzhesg@gmail.com |
af047cf51b002e169fae188fcd3cbf2adeb02d14 | b54882cf89639ad5a6d289fb478e90e95311ad39 | /removeDuplicateElementFromSortedLinkedList.cpp | 704983ba5780f1a05e67d59eb10a235f18903151 | [] | no_license | kk77777/geeksForGeeksSolutions | 16111f7c39686db17e06e4213ab68159437900d0 | 4b51dd9699550b55b68766c6e22ff5cb9b205a7c | refs/heads/master | 2021-08-07T09:36:49.380647 | 2021-08-01T08:37:08 | 2021-08-01T08:37:08 | 249,911,067 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 362 | cpp | Node *removeDuplicates(Node *head)
{
// your code goes here
if (head == NULL)
return NULL;
Node *temp = head;
while (temp->next != NULL)
{
if (temp->data == temp->next->data)
{
temp->next = temp->next->next;
}
else
{
temp = temp... | [
"kaushikgattani@gmail.com"
] | kaushikgattani@gmail.com |
6222cc73c2b927ce439bb3a0d942d0334f6161c2 | 1a5720295d1542207777a2519259b5cb09d9b8c1 | /Event/Event/Event.cpp | cac2a24535387a266a67f8c7fe56e1acac1943da | [] | no_license | mac1112/moje | c9985fda4030e7d38c1d08e02ee91a052437e08f | 8e76444f65764a2730b5c877fca6b176beaa43d6 | refs/heads/master | 2021-07-17T19:37:51.560097 | 2017-10-25T17:32:27 | 2017-10-25T17:32:27 | 107,107,181 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 627 | cpp | #include <iostream>
#include "Event.h"
using namespace std;
void Event::load()
{
cout << "Nazwa wydarzenia: "; cin >> name;
cout << "Dzien: "; cin >> day;
cout << "Miesiac: "; cin >> month;
cout << "Rok: "; cin >> year;
cout << "Godzina: "; cin >> hour;
cout << "Minut: "; cin >> minutes;
}
void Event::show()
{... | [
"32835927+mac1112@users.noreply.github.com"
] | 32835927+mac1112@users.noreply.github.com |
e3beab734e079cdde6b7d2185d39a2c5950f5153 | a2f9e4b70a094905732f2a055b38eeb7b078ba7b | /src/RcppExports.cpp | 2264cb89a6af66d2b8ed52313e1f16ba55c42a22 | [] | no_license | harryprince/spatialcluster | 8db5cf29ed4d8496e095ed64049037a4e3710e94 | e7c091a76dc0ac12ef7142d679ba3bf8528ea47a | refs/heads/master | 2020-05-02T23:56:01.292190 | 2018-07-16T07:18:28 | 2018-07-16T07:18:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,780 | cpp | // Generated by using Rcpp::compileAttributes() -> do not edit by hand
// Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
#include <RcppArmadillo.h>
#include <Rcpp.h>
using namespace Rcpp;
// rcpp_alk
Rcpp::IntegerVector rcpp_alk(const Rcpp::DataFrame gr, bool shortest);
RcppExport SEXP _spatialcluster_rcpp_al... | [
"mark.padgham@email.com"
] | mark.padgham@email.com |
58c3309b8c6c3e727fcbc5620538b8cb8d736d19 | 8f56670759a0b3862fb50c339c8a11e478aa434d | /ex2.cpp | b7cbb0655d9243a319971706b6d1325639fa0cb1 | [] | no_license | chilyard/tests | bd0fc3b6f0444250e438896aaae7552d6f0422a6 | d4a4fee845cf19af0b48bf3052ace7c41a3f762b | refs/heads/master | 2021-01-10T13:39:51.090757 | 2016-02-09T03:49:55 | 2016-02-09T03:49:55 | 8,422,844 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 310 | cpp |
#include <iostream>
using namespace std;
int main()
{
// variable declaration
int i, num;
// for loop
for(i = 8; i <= 23; i++) {
cout << "Enter number [" << i << "]:";
cin >> num;
if (num==i) {
cout << num << endl;
} else {
cout << "wrong number, try again" << endl;
i--; }
}
}
| [
"chilyard@chilyard-VirtualBox.(none)"
] | chilyard@chilyard-VirtualBox.(none) |
b14b7cb3c118940f7c9f16da94e5f68d71ed6dd7 | 823e2f96c8823f3eb457fe1a452ce1dc221ba45e | /BST.cpp | 6e83ed9accf1e1c37dd3e1a0abf52bb7e155c0ae | [] | no_license | ChrisBuckey/CST370Final | 96ad99177b8af760190a1175a35756a822c8ece6 | 5d2106f18fbea2b2a85a6f7d82447407f19544dc | refs/heads/master | 2020-05-29T13:15:56.313021 | 2019-05-29T05:15:25 | 2019-05-29T05:15:25 | 189,154,737 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,282 | cpp | /*
Final Written Exam
A program that converts an array into a binary search tree and finds the level a value is on the search tree
Chris Buckey
003146116
02/28/2019
*/
#include <iostream>
#include <iomanip>
using namespace std;
#include "BST.h"
//--- Definition of constructor
BST::BST()
: myRoot(0)
{}
bool B... | [
"noreply@github.com"
] | ChrisBuckey.noreply@github.com |
a1722404d9376944151cdf53f2b33cec3d331231 | bd1fea86d862456a2ec9f56d57f8948456d55ee6 | /000/121/493/CWE78_OS_Command_Injection__wchar_t_environment_system_83a.cpp | c59dd2bcc542c7e91fc9ebb01d675158f3342e27 | [] | no_license | CU-0xff/juliet-cpp | d62b8485104d8a9160f29213368324c946f38274 | d8586a217bc94cbcfeeec5d39b12d02e9c6045a2 | refs/heads/master | 2021-03-07T15:44:19.446957 | 2020-03-10T12:45:40 | 2020-03-10T12:45:40 | 246,275,244 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,102 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE78_OS_Command_Injection__wchar_t_environment_system_83a.cpp
Label Definition File: CWE78_OS_Command_Injection.one_string.label.xml
Template File: sources-sink-83a.tmpl.cpp
*/
/*
* @description
* CWE: 78 OS Command Injection
* BadSource: environment Read input from an ... | [
"frank@fischer.com.mt"
] | frank@fischer.com.mt |
21c7b89823dd2c8da681b7cc5603ab91c864a00b | 8aafe2122b7f415bc3e612e6218fcff94cef999e | /Melnikova_Olga/lab3/f.cpp | ff34e1ffac813797e4ac9914f4b9a85863bb4a7d | [] | no_license | Hotiakov/PiAA_8304 | 270da348503633f20f6866566c613a7df77e581d | eadf83d5365ef451bd7f3005a168c93856659922 | refs/heads/master | 2022-10-02T17:13:18.084515 | 2020-06-08T17:06:53 | 2020-06-08T17:06:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,127 | cpp | #include <iostream>
#include <map>
#include <vector>
#include <algorithm>
#include <fstream>
char begin, end;
struct Edge {
char end{}; //куда входит ребро
int bandwidth{}; //max пропуск. способность
int flow{}; //поток в сети
bool is_reverse = false; //обратное ли
};
struct Vertex { //здесь все де... | [
"melnikova.oa00@gmail.com"
] | melnikova.oa00@gmail.com |
3ccb5e8a4843b898c4e4c1c346d52eb3065e6d49 | 56de6ba7cd519658db452914bf0d16db97f54065 | /content/renderer/media/media_stream_constraints_util_video_device.cc | 7c44df524bd3757dba9739ce2d1984f352c82ba1 | [
"BSD-3-Clause"
] | permissive | ywapple/chromium | e37db5b2c0978c6ed507d25950a51e242072cd1b | d5840e2a44a661a55fcee3aec6d23114a91a03d8 | refs/heads/master | 2023-02-26T23:30:23.956849 | 2017-09-08T23:43:48 | 2017-09-08T23:43:48 | 104,996,232 | 2 | 0 | null | 2017-09-27T09:00:30 | 2017-09-27T09:00:30 | null | UTF-8 | C++ | false | false | 38,694 | cc | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/renderer/media/media_stream_constraints_util_video_device.h"
#include <algorithm>
#include <cmath>
#include <limits>
#include <utility>... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
b1b41f69f3c42c5f677fe9cdf3fe20d1a4606d8a | 6ced41da926682548df646099662e79d7a6022c5 | /aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/S3Location.h | 4879c162ed9338b5da822a8c3495cb643a2bbe07 | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | irods/aws-sdk-cpp | 139104843de529f615defa4f6b8e20bc95a6be05 | 2c7fb1a048c96713a28b730e1f48096bd231e932 | refs/heads/main | 2023-07-25T12:12:04.363757 | 2022-08-26T15:33:31 | 2022-08-26T15:33:31 | 141,315,346 | 0 | 1 | Apache-2.0 | 2022-08-26T17:45:09 | 2018-07-17T16:24:06 | C++ | UTF-8 | C++ | false | false | 6,148 | h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/lookoutvision/LookoutforVision_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class Jso... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
6b9cda52006d3e50b6d58381bce2567d5ff0906a | 70418d8faa76b41715c707c54a8b0cddfb393fb3 | /11586.cpp | 98fbc99014b8e9581dcd591bf34780b935760284 | [] | no_license | evandrix/UVa | ca79c25c8bf28e9e05cae8414f52236dc5ac1c68 | 17a902ece2457c8cb0ee70c320bf0583c0f9a4ce | refs/heads/master | 2021-06-05T01:44:17.908960 | 2017-10-22T18:59:42 | 2017-10-22T18:59:42 | 107,893,680 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,117 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
int n;
string input;
cin >> n;
cin.ignore(100, '\n');
while (n--)
{
getline(cin, input);
vector<string> pieces;
istringstream iss(input);
copy(istream_iterator<string>(iss), istream_iterator<string>(), back_inserter(pieces));
int sz = pieces.s... | [
"yleewei@dso.org.sg"
] | yleewei@dso.org.sg |
be5c968b5b3423a64be5ed9b174fc5c284053d39 | 1bb34d582ec78fbf8e30f80b8efea85ba2b65d23 | /Term2/discrete/labs/test.cpp | bdfdbdc74281e1c19cd5995aae02c78345d05f8d | [] | no_license | iliayar/ITMO | 41187c292dd5a9f72d62ebe81b5e42c664020bd1 | 6194a511384f6243b7c43c3b6fd2c03a0d089e92 | refs/heads/master | 2023-09-03T06:54:32.742264 | 2023-08-19T17:00:08 | 2023-08-19T17:00:08 | 216,113,996 | 12 | 1 | null | 2023-04-18T13:21:54 | 2019-10-18T22:11:01 | Jupyter Notebook | UTF-8 | C++ | false | false | 10,391 | cpp | #include <iostream>
#include <fstream>
#include <vector>
#include <map>
#include <cassert>
#include <set>
#include <string>
using namespace std;
struct Grammar
{
int start;
vector<pair<int, vector<int> > > rules;
int nterms;
Grammar(int start, vector<pair<int, vector<int> > > rules):
start(s... | [
"iliayar3@gmail.com"
] | iliayar3@gmail.com |
3fa4f5706afd3c5df0075c133b28b471c5c92656 | 2f329704f0b497c5751194697a9833011ea023ff | /NfcRaceTimeWay/src/NfcListener.hpp | 538e0435a6c6e986c7fe14f00e178912d0443ca1 | [
"LicenseRef-scancode-warranty-disclaimer",
"Apache-2.0"
] | permissive | jcmurray/Cascades-Community-Samples | 7f5f9f04d46a5a94932947d507d93dc2273584af | 4749d8105d1136b960784ae451cd78fca5377b4a | refs/heads/master | 2020-04-03T16:46:29.260600 | 2016-01-25T20:03:01 | 2016-01-25T20:03:01 | 4,585,897 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,270 | hpp | /* Copyright (c) 2012 Research In Motion Limited.
*
* 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 ... | [
"jomurray@rim.com"
] | jomurray@rim.com |
7e844eab887fe23181e285d7eb384aa669a15ef1 | 5006b3e50ee2b3651a87204d850bc9e53dbfabb1 | /include/parser/PrintPredictiveTable.hpp | 1a37cb94ce7fc33ee014367a1b26ff1756020ddd | [
"MIT"
] | permissive | Hamada14/JavaCompiler | 93d00028b12ecd98e34fc379aeeeb0ddc6f12096 | ee01fdf3d4ef667fc8bebbdf1691391460dd0b16 | refs/heads/master | 2021-04-03T05:14:31.996511 | 2018-05-11T17:01:12 | 2018-05-11T17:01:12 | 124,693,217 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 700 | hpp | #ifndef PRINTPREDICITVETABLE_HPP_INCLUDED
#define PRINTPREDICITVETABLE_HPP_INCLUDED
#include <climits>
#include <cstring>
#include <fstream>
#include <stdio.h>
#include <string>
#include <vector>
#include <sstream>
using namespace std;
class PrintPredictiveTable
{
private:
int block_length = 60;
char dash =... | [
"madoo.ayman14@gmail.com"
] | madoo.ayman14@gmail.com |
aa9ff48776f747746808574a7857083430d38120 | 73cfd700522885a3fec41127e1f87e1b78acd4d3 | /_Include/boost/log/detail/threadsafe_queue.hpp | 92926996de03b3c01d1c794fcbdb2b7e4ce6633f | [] | no_license | pu2oqa/muServerDeps | 88e8e92fa2053960671f9f57f4c85e062c188319 | 92fcbe082556e11587887ab9d2abc93ec40c41e4 | refs/heads/master | 2023-03-15T12:37:13.995934 | 2019-02-04T10:07:14 | 2019-02-04T10:07:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,413 | hpp | /*
* Copyright Andrey Semashev 2007 - 2015.
* 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)
*/
/*!
* \file threadsafe_queue.hpp
* \author Andrey Semashev
* \date 05.11.2010
... | [
"langley.joshua@gmail.com"
] | langley.joshua@gmail.com |
ab341e80d2b811021e785d4a35b9d1dffbb97aab | 08627eabe30d639cb98fbbff5631bdafcc264456 | /Day19.cpp | 2d6e7085b80a93f502818977359b793e3ba47e64 | [] | no_license | SanmugapriyaS/HackerRank-Solutions-30-Days-of-Code | 89e4e20dcefc508c80f054975b434982f66bd695 | 814b64262738c3834e4888f937ebef7224b3bde5 | refs/heads/master | 2020-05-03T04:15:58.559337 | 2019-04-04T15:08:14 | 2019-04-04T15:08:14 | 178,416,888 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 739 | cpp |
#include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
#include <string>
using namespace std;
class AdvancedArithmetic{
public:
virtual int divisorSum(int n)=0;
};
class Calculator : public AdvancedArithmetic {
public:
int divisorSum(int n) {
... | [
"noreply@github.com"
] | SanmugapriyaS.noreply@github.com |
3967d04caf818ffa948cb790a2f4904b68df1ee6 | 1005f450818900b923e345b73d77628f20d1875e | /thirdparty/msgpack-c/include/msgpack/preprocessor/repetition/enum_shifted.hpp | 71d549ba4fb225479b253c60d9b18c216ea774a1 | [
"MIT"
] | permissive | qicosmos/rest_rpc | c7ad37547a9dcb616832b32bc110a237977b8c74 | 93088a7e0f0ddb3786de40ed7b6311852644edbf | refs/heads/master | 2023-08-23T06:56:42.464323 | 2023-07-04T02:57:13 | 2023-07-04T02:57:13 | 162,215,656 | 1,504 | 354 | MIT | 2023-07-05T03:37:24 | 2018-12-18T02:01:52 | C++ | UTF-8 | C++ | false | false | 3,818 | hpp | # /* Copyright (C) 2001
# * Housemarque Oy
# * http://www.housemarque.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)
# */
#
# /* Revised by Paul Mensonides (2002) */
#
# /* See http://www.boost... | [
"qicosmos@163.com"
] | qicosmos@163.com |
72bb88a753fc323bc839c92d557d6d034bc1d580 | e6ed1a784f989a2d2929249e675c0e077e172761 | /代码练习/STL源码剖析/stack.cpp | 4a3ccfa8ad43ed0c277af9cc02b783e6f6176363 | [] | no_license | lovelybigduck/note | ae19d71dcb4121040d7c99c0ecde92bd09bf9f89 | abdb53f644096e401ea18d94f0ecb30ee89da1e1 | refs/heads/master | 2023-03-18T03:31:07.614653 | 2019-10-09T00:34:51 | 2019-10-09T00:34:51 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,035 | cpp | //stack,修改了deque的接口,称为adapter(配接器)
template <class T,class Sequece=deque<T> >
class stack{
friend bool operator==__STL_NULL_TMP_ARGS(const stack&,const stack&);
friend bool operator< __STL_NULL_TMPL_ARFS(const stack&,const stack&);
public:
typedef typename Sequence::value_type value_type;
typedef typename Sequence:... | [
"38546030+biglovelyduck@users.noreply.github.com"
] | 38546030+biglovelyduck@users.noreply.github.com |
57a44e6040453ed2959fafc2336a41b6c98a826a | 34090b851ee2d1f12dbe13f30d199bb328fb11f6 | /src/test/librust/transaction_builder_tests.cpp | dd2e877b3ad9f04a0a1f3727c7445366283e15aa | [
"MIT"
] | permissive | Creddit-lol/Creddit-Core | 7e4962d1e1dfb63c56236485938f7d4bf148e54f | 2514c8867fd2bdc34ae4c5466b9a31816dcc0b6c | refs/heads/master | 2023-05-12T18:45:39.377629 | 2021-06-07T23:54:09 | 2021-06-07T23:54:09 | 370,868,857 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 12,343 | cpp | // Copyright (c) 2016-2020 The ZCash developers
// Copyright (c) 2020 The CREDD developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or https://www.opensource.org/licenses/mit-license.php.
#include "test/librust/sapling_test_fixture.h"
#include "test/librust/utiltest.h"
#incl... | [
"bobski.robertson122@gmail.com"
] | bobski.robertson122@gmail.com |
ede7a3c2a1ff82c0fceabf4d2b00174bb7d88c29 | 741ff83e1203e7c9b8faeef0914e7fcb4040cdd3 | /test/dense.cpp | e598cd5e7c8c8d24dbab5ec5cad1e085456fe144 | [] | no_license | FabianSchuetze/gpu_nn | 4f6d0f34bf947d847bdfd5da3c4b886873c48033 | 9d5b6ced0ee7db289fbc940947c2d949b5f9407c | refs/heads/master | 2020-09-02T23:20:44.177406 | 2020-01-01T15:52:58 | 2020-01-01T15:52:58 | 219,328,853 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 6,492 | cpp | #define CATCH_CONFIG_MAIN
#include "../include/layer/dense.h"
#include <eigen-git-mirror/Eigen/Core>
#include <memory>
#include "../include/common.h"
#include "../include/layer/layer.h"
#include "../third_party/catch/catch.hpp"
//#include "../include/math.h"
#include <sys/time.h>
#include "../include/storage.h"
#includ... | [
"fabian.schutze@eui.eu"
] | fabian.schutze@eui.eu |
ea68d1bed76f1f1c67c7b300bbb49aac9fa68ce2 | b8906afecca06f48f2cd289a9997f670b26c4721 | /platform/shared/stlport/test/compiler/ttei5.cpp | 989fb4de6537f6b6c7ff5ed78d845426f79023e5 | [
"LicenseRef-scancode-stlport-4.5",
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | rhomobile/rhodes | 51bd88921c51bd618948f9a557de17fc297e7cc2 | fc8409c9c281684a49d7ff6805ddc565de09a6d5 | refs/heads/master | 2023-09-01T17:45:36.149868 | 2023-08-31T20:56:06 | 2023-08-31T20:56:06 | 54,084 | 504 | 155 | MIT | 2023-09-12T00:14:29 | 2008-09-18T21:55:16 | C | UTF-8 | C++ | false | false | 706 | cpp | /*
* It is known that this code not compiled by following compilers:
* gcc 3.4.1
*
* It is known that this code compiled by following compilers:
* gcc 2.95.3
* gcc 3.3.3
*
* MSVC 6
* MSVC 8 Beta
*/
/*
* Indeed this code is wrong: explicit template specialization
* have to appear out-of-class.
*
... | [
"dmitry@rhomobile.com"
] | dmitry@rhomobile.com |
70ad8b5da57701579553427992336ac2fe3df025 | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/wget/new_hunk_1792.cpp | d5b47b51f63f4477c48aca68648da78aadb6fba9 | [] | no_license | ccdxc/logSurvey | eaf28e9c2d6307140b17986d5c05106d1fd8e943 | 6b80226e1667c1e0760ab39160893ee19b0e9fb1 | refs/heads/master | 2022-01-07T21:31:55.446839 | 2018-04-21T14:12:43 | 2018-04-21T14:12:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 319 | cpp | /* Disallow embedded newlines. */
if (strchr (val, '\n'))
{
fprintf (stderr, _("%s: %s: Invalid value %s.\n"),
exec_name, com, quote (val));
return false;
}
xfree_null (opt.useragent);
src/ChangeLog | 1 +
src/log.c | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
| [
"993273596@qq.com"
] | 993273596@qq.com |
31fb35e62e9ef94f3c7cffa67fc681013bb1e4fd | cc669db6a7c09f3727e5518058d103c45083767a | /ROV-002-Snaggletooth-codes/Arduino/ROV-002_DriveCode/Direction_Control.ino | e714fdd804709702e449d0037558b8fdc8ca6109 | [] | no_license | sswisty/UNH-ROV | 366c3faea9a7552899b6c48fec9db0a9849a0ff8 | f04bba4fbfa648ef9d7cc5f2128491c1830c4846 | refs/heads/master | 2016-08-03T12:11:59.578110 | 2015-08-19T18:57:22 | 2015-08-19T18:57:22 | 41,047,952 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 506 | ino | /* Part of ROV-002 Drive Control */
// Incase a motor is required twice Direction Correction accounts for both
// commands
int DirectionCorrection(long primaryValue, long secondaryValue, char side)
{
int correctedValue = 0;
if (side == '+')
{
correctedValue = prim... | [
"sswisty7@gmail.com"
] | sswisty7@gmail.com |
3f82513fe91338ccecc73cee86ff423d9d4b5b51 | 2f2b22fbcda8f84d14fbd0487424b841dfd7fc68 | /edrum-integrate/edrum-integrate.hpp | 86da029bea81a6fb8dab18e39b0128cfe8dcc776 | [] | no_license | bn3monkey/SG2018_Edrum | 9e8f3092fd11e113122728159ca2e7756c6310a4 | 9f656b52eb1529db5df1a2b7082f35b6359e4755 | refs/heads/master | 2022-06-09T04:54:01.907120 | 2019-01-03T05:08:23 | 2019-01-03T05:08:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 167 | hpp | #ifndef __INTEGRATE__
#define __INTEGRATE__
#include "../edrum-hardware/Hardware_IO/Hardware_IO.hpp"
#include "../edrum-resource_manager/ResourceManager.hpp"
#endif
| [
"bn3monkey@naver.com"
] | bn3monkey@naver.com |
85fa9e96e83c160858a1c4b2675ad294f32f6dd6 | 000f843e497c58a822727bc536687e7eeb65bfe7 | /src/dhcp/aca_dhcp_server.cpp | 4a2feb1a1207423e76e3ed1678afb4e76b00b1a1 | [
"GPL-2.0-only"
] | permissive | Gzure/alcor-control-agent | 3759039914ed141ad250aa3cf956009d326441bf | 93a202ebff38f16eb1dc445299376a502393b9ca | refs/heads/master | 2023-01-21T21:07:45.365599 | 2020-11-12T22:18:16 | 2020-11-12T22:18:16 | 290,921,956 | 0 | 0 | Apache-2.0 | 2020-08-28T01:33:22 | 2020-08-28T01:33:21 | null | UTF-8 | C++ | false | false | 25,516 | cpp | // Copyright 2019 The Alcor Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed... | [
"noreply@github.com"
] | Gzure.noreply@github.com |
b9f791361d05b83247657b62a6ae1c6a8e1b3329 | 62c1e34fe78617e6f673d7110716eac81d92ad1c | /database/detail/get_schema.hpp | fcd9b73cd48751b6e2e9cc9f3ede60148322e19f | [
"MIT"
] | permissive | igor-sadchenko/brig | 42346058a24442a554ead19f36bf9415a658e3e6 | 3e65a44fa4b8690cdfa8bdaca08d560591afcc38 | refs/heads/master | 2021-01-21T03:55:15.385506 | 2017-06-14T21:47:12 | 2017-06-14T21:47:12 | 35,676,411 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 814 | hpp | // Andrew Naplavkov
#ifndef BRIG_DATABASE_DETAIL_GET_SCHEMA_HPP
#define BRIG_DATABASE_DETAIL_GET_SCHEMA_HPP
#include <brig/database/command.hpp>
#include <brig/database/detail/dialect.hpp>
#include <brig/string_cast.hpp>
#include <stdexcept>
#include <string>
namespace brig { namespace database { namespac... | [
"andrew@localhost"
] | andrew@localhost |
45654f5f7ebf9bf648c518f9399ead47b782c690 | 97f0a6c2db928e12cab425a147263045a40593a1 | /w2/average_temp.cpp | 352c10458d68edf25619833d478e76e23f381d2e | [] | no_license | N-911/c_plus_plus_white | a6b00e6bbe30a153c80c241e463f5aad7910718c | c3d7ecda4c8786077452ef7c1411d5728646d356 | refs/heads/master | 2022-11-05T02:59:27.093008 | 2020-07-01T15:58:23 | 2020-07-01T15:58:23 | 273,306,042 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 745 | cpp | #include <iostream>
#include <vector>
using namespace std;
vector<int> calc_averag_t(const vector<int>& v);
void print_vector(const vector<int>& v ){
for (auto x : v)
cout << x << " ";
}
vector<int> calc_averag_t(const vector<int>& v) {
int sum = 0;
int size = v.size();
vector<int> res;
... | [
"nikolayenkoserhiy@gmail.com"
] | nikolayenkoserhiy@gmail.com |
31ff6bf030a74b6eae7bf462f656d91f6c5c408c | eae0f480188b52eb01993dee5eff8cb00d93005d | /agg-2.5/examples/gouraud_mesh.cpp | 16380f6d5bca18bd676609afe9d1e92dd70062d4 | [
"GPL-2.0-only",
"GPL-2.0-or-later",
"MIT"
] | permissive | jangko/nimAGG | 49a0675b01ab885497ca7e1fa99cc4fa9f9c9e5d | 0566604c1576517ae25b1d5bc430f896d15bd16f | refs/heads/devel | 2021-01-11T09:26:22.349647 | 2019-05-30T10:08:31 | 2019-05-30T10:08:31 | 76,875,061 | 18 | 0 | MIT | 2019-05-30T09:57:22 | 2016-12-19T15:48:12 | Nim | UTF-8 | C++ | false | false | 13,812 | cpp | #include <math.h>
#include <stdio.h>
#include <time.h>
#include "agg_rendering_buffer.h"
#include "agg_conv_transform.h"
#include "agg_conv_stroke.h"
#include "agg_conv_clip_polyline.h"
#include "agg_scanline_u.h"
#include "agg_scanline_bin.h"
#include "agg_renderer_scanline.h"
#include "agg_rasterizer_outline_aa.h"
#i... | [
"jangko128@gmail.com"
] | jangko128@gmail.com |
81f43de99a973cda2c05753625384b78e3ade5d3 | 7bfca2b8d8bec179ac9bf1f80eb7704d0334576b | /TIMP :)/TIMP/TIMP_1/modAlphaCipher.h | 5dfc4971b3a7145d10a4489bbd60d24927ffbe1a | [] | no_license | Islyam2612/Islyam | 3d65182fad0b923ed12a32cfa128042c1958d269 | b7429c302712d5de9e7db8bdb61b851a3361922f | refs/heads/master | 2020-04-26T05:43:20.508060 | 2019-06-27T10:36:09 | 2019-06-27T10:36:09 | 173,343,072 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 638 | h | #pragma once
#include <vector>
#include <string>
#include <codecvt>
#include <locale>
#include <map>
using namespace std;
class modAlphaCipher
{
private:
wstring numAlpha = L"АБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ";
map <wchar_t,int> alphaNum;
vector <int> key;
vector<int> convert(const wstring& ws);
st... | [
"ISLYAM_2612@MAIL.RU"
] | ISLYAM_2612@MAIL.RU |
9780b58f0860b2359ceee12b23593d5c6f6d5a6b | fdacb097452e2e270a587f389664985ce1effbde | /ProgrammPalatka2/ProgrammPalatka2/Palatka2.cpp | ebbcb59467d10a2550b9d1d5a48c4e93c3ad0c98 | [] | no_license | SkiRka/OneProject | f86ee8b21e86e7e455dcb5bfd358a8354847986f | b714b3822c3197a0c59016dc31d3546010c4dedc | refs/heads/master | 2020-04-06T04:30:55.744006 | 2013-07-21T17:08:30 | 2013-07-21T17:08:30 | null | 0 | 0 | null | null | null | null | IBM866 | C++ | false | false | 561 | cpp | // palatka2.cpp -- задача
#include <iostream>
int main(){
using namespace std;
// вводим размеры площадки и палатки
cout << "Введите размеры площадки: ";
int N, M;
cin >> N
>> M;
cout << "Введите размеры палатки: ";
int K, L;
cin >> K
>> L;
// находим результат
int rezultat;
N /= L;
M /= K;
rezul... | [
"dima89658702496@gmail.com"
] | dima89658702496@gmail.com |
07e8a656b4fa6707482d4abd17efbc509b9a9cf7 | dbcfb16ac73b6a56cc7a8f484d6c07316de1512a | /usrp/host/lib/legacy/db_flexrf_mimo.h | aeff53258e3d5cfce49539623e559fffe522ae8e | [] | no_license | nesl/uant | 7d01c72041e8d3709e674660beab4a96aad5ce33 | f60f41022382040c982b02e0292b2a634119b7a2 | refs/heads/master | 2021-01-21T12:36:55.082284 | 2009-11-28T22:25:17 | 2009-11-28T22:25:17 | 12,229,437 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,995 | h | /*
* Copyright 2008 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
* GNU Radio is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later v... | [
"torres@de063d3e-1f6d-0410-b845-a75911d76424"
] | torres@de063d3e-1f6d-0410-b845-a75911d76424 |
d081889bbd9a35529c956d513a95665750dc871d | 600df3590cce1fe49b9a96e9ca5b5242884a2a70 | /chromecast/browser/media/cast_renderer.h | 0b6ce602651612c1d7e24959d415b7ac327c4aff | [
"BSD-3-Clause"
] | permissive | metux/chromium-suckless | efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a | 72a05af97787001756bae2511b7985e61498c965 | refs/heads/orig | 2022-12-04T23:53:58.681218 | 2017-04-30T10:59:06 | 2017-04-30T23:35:58 | 89,884,931 | 5 | 3 | BSD-3-Clause | 2022-11-23T20:52:53 | 2017-05-01T00:09:08 | null | UTF-8 | C++ | false | false | 3,363 | h | // Copyright 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.
#ifndef CHROMECAST_BROWSER_MEDIA_CAST_RENDERER_H_
#define CHROMECAST_BROWSER_MEDIA_CAST_RENDERER_H_
#include "base/memory/weak_ptr.h"
#include "chromecas... | [
"enrico.weigelt@gr13.net"
] | enrico.weigelt@gr13.net |
0be65748396e951787f5cb5ab006fca2a18f8e99 | 03b9122b8c3e9d783392c57d891288275ad70a36 | /src/registry.hpp | 62711dacb2f543e5c1bc55fd9d615aa850708c27 | [] | no_license | instance01/GRAB0 | d20c3354377ca16debff8b9aaf86cafe8f752a61 | 12e97dd1d8ca57f7b6f71019e74b74fad737a70f | refs/heads/master | 2023-01-28T06:33:19.141838 | 2020-12-08T13:37:56 | 2020-12-08T13:37:56 | 281,225,760 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 562 | hpp | #ifndef REGISTRY_HEADER
#define REGISTRY_HEADER
#include <vector>
#include <mutex>
#include "replay_buffer.hpp"
#include "game.hpp"
class Registry {
public:
// General
Registry(ReplayBuffer *replay_buffer) : replay_buffer(replay_buffer) {};
~Registry() {};
std::mutex lock;
// TODO: Bandits
/... | [
"nibbadont@protonmail.com"
] | nibbadont@protonmail.com |
e8276a94ab227b3cb1d559502e80d5fde90e2610 | 06cb71218ef207cee9f6be593613c30aa38ccf48 | /General Programs/PATTERNS/Triangle (Equaletral)/Triangle (Equaletral)/Source.cpp | fa00d349621fe0dadb7f2b85b2d445cd5ef745fd | [] | no_license | aurangzaib048/Cpp-programming | e2d4acb84c3c03dc3a1c5568023f7251b824e4ab | a28a9cf8ea08e90f212fcc2a4d611286aa42dea0 | refs/heads/master | 2020-04-03T06:27:22.430878 | 2018-10-28T14:26:47 | 2018-10-28T14:26:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 414 | cpp | /*
Program for displaying equaletral triangle of size n.
*/
#include<iostream>
#include<iomanip>
using namespace std;
int main()
{
int n,a,c;
cout << "Enter size for Triangle?\t";
cin >> n;
a = n;
c = 0;
for (int i = 1; i <= n; i++)
{
cout << setw(40 - n);
for (int j = 1; j < a; j++)
cout << " ";
f... | [
"aurangzaib048@gmail.com"
] | aurangzaib048@gmail.com |
6277719a711e5e7afab5fb9916ffbdacaab298b8 | 5550d6032bc0e44030df0b623881c150a952c577 | /GameSource/Opengl2Md2/TinyFont.h | 213cf00a5df384b6b233e3296ea27001d9c12718 | [] | no_license | gtpk/AIGamePlatform | 129c1cb5ccfdf6bc3349582bf57080bbbefa30b4 | fe147b49d7d7ac5a391c22f03b1ff7f7e0b38c8d | refs/heads/master | 2021-05-06T03:18:14.635566 | 2017-12-20T23:29:30 | 2017-12-20T23:29:30 | 114,865,795 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,493 | h | #pragma once
/*
#ifdef WIN32
#define FONT_FILE "H2porl.ttf"
#endif
#ifndef FONT_H
#define FONT_H
#define FONT_SCREEN 5
#define FONT_VIEWPORT 6
#define FONT_OUTLINE 0
#define FONT_POLYGON 1
#define FONT_TEXTURE 2
#define FONT_PIXEL 3
#define FONT_BITMAP 4
#define FONT_EXTRD 5
#define DEFAULT_SIZE 20
#inclu... | [
"gtpk11@gmail.com"
] | gtpk11@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.