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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9d4bf305c762f09f5c62b41b7e4dbfaee8857a4c | 6d54a7b26d0eb82152a549a6a9dfde656687752c | /src/platform/nxp/crypto/se05x/CHIPCryptoPALHsm_se05x_hkdf.cpp | 4a3c06d48282722e24da4e0642456b0bbb280293 | [
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | project-chip/connectedhomeip | 81a123d675cf527773f70047d1ed1c43be5ffe6d | ea3970a7f11cd227ac55917edaa835a2a9bc4fc8 | refs/heads/master | 2023-09-01T11:43:37.546040 | 2023-09-01T08:01:32 | 2023-09-01T08:01:32 | 244,694,174 | 6,409 | 1,789 | Apache-2.0 | 2023-09-14T20:56:31 | 2020-03-03T17:05:10 | C++ | UTF-8 | C++ | false | false | 4,055 | cpp | /*
*
* Copyright (c) 2021 Project CHIP 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 requir... | [
"noreply@github.com"
] | project-chip.noreply@github.com |
e1f4b76db6dc982ba81b488404b1a5d65daf9c85 | f7be31ceb4e2f41964ff3a6bdcc9b31b11279d18 | /src/Display/Display.hpp | 2e7992baa5cfe36780f596164b8502aa8b148c40 | [] | no_license | limepixl/mc-clone | 11c313f11194c9251ad3d9078c631129573dcb87 | 894ce4e067b9f1e2a73f67190546e77d0919fbe4 | refs/heads/master | 2021-10-27T03:19:45.000789 | 2019-04-15T17:16:42 | 2019-04-15T17:16:42 | 164,831,283 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 524 | hpp | #pragma once
class Display
{
public:
struct GLFWwindow* window;
// Values used for deltatime calculation
double deltaTime = 0.0;
double lastFrame = 0.0;
// Window's dimensions
int width;
int height;
public:
Display(int windowWidth, int windowHeight);
// Calculates the delta time between frames
void calc... | [
"stefs.ivanovski@gmail.com"
] | stefs.ivanovski@gmail.com |
566f9ccf6495947b57e6e69ea8ba5ed1828ecc4e | b0df518f64806d0cee925fa617913ea3eaacb605 | /Mk2_PV_phaseAngle_v0/Mk2_PV_phaseAngle_v0.ino | b0570b4eb1722eec866f2c94693a4e3ead011606 | [] | no_license | tomasuz/Mk2_3phase | c94c8ebc79e0990e1e3ad8c843af2a19760fe71b | 71d3a2bb29a15725da045a15ecde7f6b8c4c17f3 | refs/heads/master | 2021-08-16T13:28:32.424230 | 2021-06-13T14:21:07 | 2021-06-13T14:21:07 | 133,177,228 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 33,145 | ino | // This is a cut-down version of my stand-alone sketch for diverting suplus
// PV power to a dump load using a triac. The original version, which includes
// more explanation and 'debug' code to support off-line working, may be found at
// http://openenergymonitor.org/emon/node/841
//
// Further modified to use phase-... | [
"tomas@martišiai.lt"
] | tomas@martišiai.lt |
e2d471fef6a4f725543bed3643d296847864978a | 31ccf88e290a086c53e4b884cd5d6cf0f41d1367 | /HolographicJS/WebGLProgram.h | 821ec9379366b4e58429af0bdb6c4082d33e6032 | [
"Apache-2.0"
] | permissive | lwansbrough/HolographicJS | 40d29030610f5e4f712196a87a12f3404901fc23 | 8e71dd890e587929e46fba25c9dcaa72748ba73f | refs/heads/master | 2020-01-27T09:57:03.028370 | 2016-12-22T17:36:56 | 2016-12-22T17:36:56 | 73,271,948 | 113 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 161 | h | #pragma once
#include "WebGLObject.h"
namespace HolographicJS
{
public ref class WebGLProgram sealed :
public WebGLObject
{
public:
WebGLProgram();
};
}
| [
"lochie@live.com"
] | lochie@live.com |
de0db65bccfea0c6e81ab1d288e3bb9488fb4c97 | b14c48085a7611008754cac38a1d1abe4653fa6a | /main.cpp | 2c636ddc1b56ccf1a06aaecbea7a97791b57a5fc | [] | no_license | yayayat/EV3_Proto | a3cc6591ef83a82cd4609d2201a7624dcb4ab659 | 1fcd954ac17fd13e35bd9ad3dbaa2fad101466ac | refs/heads/master | 2022-11-30T14:05:37.753681 | 2020-08-19T14:39:04 | 2020-08-19T14:39:04 | 288,725,926 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,573 | cpp | #include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <vector>
#include <math.h>
#define HEX_OUTPUT
uint8_t mas[200];
uint8_t pack[34];
uint16_t n = 0;
using namespace std;
uint8_t hex_decode(const uint8_t *in)
{
uint8_t out;
unsigned int i, t, hn, ln;
hn = in[0] > '9' ? in[0] - 'A' + 10 :... | [
"mitya.borisov@yandex.ru"
] | mitya.borisov@yandex.ru |
2f249ae37eb6759ecf42a2ce463a1d6384a02014 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5631572862566400_1/C++/AlexWang1993/main6.cpp | bcd3a92d5e95730a21ba33998054dc4f8b01eb39 | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 3,379 | cpp | //
// main.cpp
// Mushroom
//
// Created by Alex Wang on 2016-04-15.
// Copyright © 2016 Alex Wang. All rights reserved.
//
#include <iostream>
#include <algorithm>
#include <string>
#include <vector>
using namespace std;
int test;
int f[1000];
int best = 0;
int findCycle(int* part, int* num, int n, int v, int ... | [
"alexandra1.back@gmail.com"
] | alexandra1.back@gmail.com |
9daca6d0be2848882c768213192b5fa53d6dbbe1 | 54f352a242a8ad6ff5516703e91da61e08d9a9e6 | /Source Codes/AtCoder/abc003/A/3806690.cpp | d6e2a6d4725a7049af2b4142da125ff706ea5987 | [] | no_license | Kawser-nerd/CLCDSA | 5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb | aee32551795763b54acb26856ab239370cac4e75 | refs/heads/master | 2022-02-09T11:08:56.588303 | 2022-01-26T18:53:40 | 2022-01-26T18:53:40 | 211,783,197 | 23 | 9 | null | null | null | null | UTF-8 | C++ | false | false | 185 | cpp | #include <iostream>
using namespace std;
int main()
{
int n,sum=0;;
cin >> n;
for(int i=1;i<=n;i++){
sum += i*10000;
}
sum = sum/n;
cout << sum << endl;
return 0;
} | [
"kwnafi@yahoo.com"
] | kwnafi@yahoo.com |
ef493d3c334824f52d1fd24850e9b74abbfe1f9b | bb54eba6989920d1d5e37c0f98a0d75c0ab8af38 | /src/chainparamsbase.cpp | 46e73f6e9613d477455f17327aab82227a6041bc | [
"MIT"
] | permissive | olivingcoin/olivingcoin | 8e4de2b44aba1eedbd7f43fb8cef59e76d56b922 | e34ee63da7c35c717c8045b1ed1c43562430c508 | refs/heads/master | 2023-06-21T17:31:36.932592 | 2021-07-30T08:45:16 | 2021-07-30T08:45:16 | 380,154,480 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,925 | cpp | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2018 The Olivingcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <chainparamsbase.h>
#include <tinyformat.h>
#include <util/system.h>
#in... | [
"teri98@naver.com"
] | teri98@naver.com |
dee57b2dec3f2ca3b2eca5d6b039f364d42d646d | f56811229e26c65e1ce942d8d09ae88ed936c09c | /src/Renderer.cpp | ef7386c42e21fb59d33a8f60573790494f873c11 | [] | no_license | UnsafePointer/opengl-renderer-tests-archived | 5e3e940f03a1cdf3851ebe29d9b2b285b43b4505 | 8516b2bc9313b654faf641fe23527bcd15f414f5 | refs/heads/master | 2022-07-14T22:00:11.027246 | 2020-05-09T09:41:28 | 2020-05-09T09:41:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,724 | cpp | #include "Renderer.hpp"
#include <iostream>
#include "Framebuffer.hpp"
#include "RendererDebugger.hpp"
using namespace std;
const uint32_t WIDTH = 1024;
const uint32_t HEIGHT = 768;
Renderer::Renderer() {
if (SDL_Init(SDL_INIT_VIDEO) != 0) {
cout << "Error initializing SDL: " << SDL_GetError() << endl;
... | [
"renzo@crisostomo.me"
] | renzo@crisostomo.me |
c2b3a8af0f8304dc02338be711a6cc782a946f8f | 4f307eb085ad9f340aaaa2b6a4aa443b4d3977fe | /chuntao.lin/assignment3.3/GraphicsLib/GraphicsBuffer.h | 377172a8e1e52296bf85a528597b8980df790eab | [] | no_license | Connellj99/GameArch | 034f4a0f52441d6dde37956a9662dce452a685c7 | 5c95e9bdfce504c02c73a0c3cb566a010299a9b8 | refs/heads/master | 2020-12-28T10:29:19.935573 | 2020-02-04T19:41:09 | 2020-02-04T19:41:09 | 238,286,390 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,677 | h | #ifndef GraphicsBuffer_H
#define GraphicsBuffer_H
#include <allegro5/allegro.h>
#include <allegro5/allegro_font.h>
#include <allegro5/allegro_ttf.h>
#include <allegro5/allegro_audio.h>
#include <allegro5/allegro_acodec.h>
#include <allegro5/allegro_image.h>
#include <allegro5/allegro_primitives.h>
#include <iostream... | [
"john.connelly@mymail.champlain.edu"
] | john.connelly@mymail.champlain.edu |
5d7b12947c037dcc05e0c4bf3e85a0efe797f042 | 48520fac58b33e8c79d1c927e5eb8dced0534b16 | /ch_5/static_mem_fun.cpp | 004fc83cdd8c5e13b46edfd3f9aeb69f8c7f62b3 | [] | no_license | Anushalagadapati/cpp | 60b43a4cc905a62daa9f37412263927552788f15 | 45d67386088982b20b1e46dac237996e9af22364 | refs/heads/master | 2020-05-20T23:22:18.535787 | 2019-05-09T12:55:58 | 2019-05-09T12:55:58 | 185,798,520 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 429 | cpp | /*nesting functions */
#include<iostream>
using namespace std;
class sample
{
static int x;
static int y;
public:
static void display(void);
static void swap(void);
};
int sample :: x = 10;
int sample :: y = 20;
main()
{
sample a;
sample :: swap();
sample :: display();
}
static void sample :: display(void)
{
cout <<"x=... | [
"anusha.lagadapati3@gmail.com"
] | anusha.lagadapati3@gmail.com |
2021073af9f6fa59780a2d0648fcbe4cccb26026 | 72210b764d9ccb796a0351e78afa810cc2e83677 | /code/threads/main.cc | d6383859e0c4f83826ddf27e5cdb78c622e56501 | [
"MIT-Modern-Variant"
] | permissive | ilms49898723/OS_MP4 | f28ba3848abe0b75dbabe35a97ad946fb29de98e | 686bb223ee3b2dd413f6bc115a0364dc579602b9 | refs/heads/master | 2021-06-12T05:33:14.691887 | 2017-01-15T08:22:49 | 2017-01-15T08:22:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,708 | cc | // main.cc
// Driver code to initialize, selftest, and run the
// operating system kernel.
//
// Usage: nachos -d <debugflags> -rs <random seed #>
// -s -x <nachos file> -ci <consoleIn> -co <consoleOut>
// -f -cp <unix file> <nachos file>
// -p <nachos file> -r <nachos file> -l ... | [
"ilms49898723@gmail.com"
] | ilms49898723@gmail.com |
ee42d2ed9f418a010e072ac118a7836de04b7220 | 3139c77ec3acb0b3cc71e7a6cc40215d238e683c | /Lab2/Cw5/cw5.cpp | d1145aac8981c523e322b32127fdef8135f1744f | [] | no_license | JatsaCantWin/JIPPLab20202021 | d5a61236a9a060e13a5225b91fcc1962cc56ad83 | a16105b26f0f3a6b4373e5b03af4f891abd3be69 | refs/heads/master | 2023-04-29T08:23:10.455667 | 2021-01-21T15:44:01 | 2021-01-21T15:44:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 960 | cpp | #include <iostream>
using namespace std;
void swap(int &a, int &b)
{
a = a + b;
b = a - b;
a = a - b;
}
int main()
{
int a; int b;
cout << "Kilka testow funckji swap:" << endl;
a = 5; b = 2;
swap(a, b);
cout << a << " " << b << endl;
a = -500; b = 1;
swap(a, b);
cout <... | [
"bomburpl@gmail.com"
] | bomburpl@gmail.com |
5539cbc369be0f26e4fb6b81642ccd4ab917229e | 16ca66e4f61d76b9afe81c6d8cd4a932217efd16 | /Space.hpp | d5be56a8b34935c133aee26977587ae690b28562 | [] | no_license | d685shvarts/textGame | 5b9dd5ae29504691df74228ae1901c2e61aeeded | e83ebd962d82b4d52371902f37505418d804a649 | refs/heads/master | 2020-04-26T22:02:16.926269 | 2019-03-17T19:44:42 | 2019-03-17T19:44:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,969 | hpp | /***************************************************************************************************************************************
** Program name: Space header file
** Author: Daniel Shvarts
** Date: 03/19/2019
** Description: Declaration of abstract Space class that will be used to create 6 other derived Space ... | [
"d685shvarts@gmail.com"
] | d685shvarts@gmail.com |
83ec22481eb4d3a54747e7175e3275b689a50f28 | ddad5e9ee062d18c33b9192e3db95b58a4a67f77 | /base/pthread_utils.cc | 4ef54dfe0c676678ab90f2c2cfebf008ef970863 | [
"BSD-2-Clause"
] | permissive | romange/gaia | c7115acf55e4b4939f8111f08e5331dff964fd02 | 8ef14627a4bf42eba83bb6df4d180beca305b307 | refs/heads/master | 2022-01-11T13:35:22.352252 | 2021-12-28T16:11:13 | 2021-12-28T16:11:13 | 114,404,005 | 84 | 17 | BSD-2-Clause | 2021-12-28T16:11:14 | 2017-12-15T19:20:34 | C++ | UTF-8 | C++ | false | false | 1,386 | cc | // Copyright 2013, Beeri 15. All rights reserved.
// Author: Roman Gershman (romange@gmail.com)
//
#include "base/logging.h"
#include "base/pthread_utils.h"
namespace base {
static void* start_cpp_function(void *arg) {
std::function<void()>* fp = (std::function<void()>*)arg;
CHECK(*fp);
(*fp)();
delete fp;... | [
"romange@gmail.com"
] | romange@gmail.com |
ce149516be1f9754bb01d4e6bbb11a36dd8ec93d | d845462300ff6f608ed3453d6aff43034eb84706 | /grid/src/grid.cpp | 39e363273762eb04f3f5a70db576d2f87833a417 | [] | no_license | chenhao94/FluidSimulation | 3af2900f37f6a72af3a086a0d80e8bb1f8d0e0bd | e3659b5e5d13f55e43f20bd32c1af077e571fa00 | refs/heads/master | 2020-12-30T13:20:27.876926 | 2017-05-15T02:31:38 | 2017-05-15T02:31:38 | 91,199,925 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,168 | cpp | #include "grid.hpp"
#include "particle.hpp"
#include <cmath>
#include <cstring>
#include <algorithm>
#include <Eigen/Dense>
#include <Eigen/Sparse>
#include <Eigen/IterativeLinearSolvers>
#include <iostream>
using namespace std;
static constexpr auto g = 9.8;
vector<int> Grid::fluidCells;
float Grid::xbound = 0;
flo... | [
"chenhao@cs.utexas.edu"
] | chenhao@cs.utexas.edu |
e1becd4098f55a9944e69c61507e3d551d7c8d6f | 8f81ca33cd8b0605dc1cc16cfcf36aafefbeeb3c | /sudoku_solver.cpp | 6fea5551b26479061d00dfe5b885f23eccd9330a | [] | no_license | tfonzi/Cplusplus_Sudoku | 3256ee8f0bcbdfcea37ed0a5786d4aa53bf02d6e | e290ed5ff1af3ce2f76e47a739fdd36d34de9237 | refs/heads/main | 2023-02-07T19:01:34.132829 | 2021-01-03T19:08:52 | 2021-01-03T19:08:52 | 324,901,480 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,686 | cpp | #include "sudoku_solver.h"
sudoku_solver::sudoku_solver(){
//default constructor
std::vector<cell> zero_array;
for (int i = 0; i < 81; i++){
zero_array.push_back(cell());
}
this->starting_array = zero_array;
this->solution_array = zero_array;
}
std::vector<cell> sudoku_solver::get_s... | [
"tyler.a.fonzi@gmail.com"
] | tyler.a.fonzi@gmail.com |
fd239264e2959a69074ff61f8bba20c969a9390b | a34a1a79a2c576304b1c6a6183f049cb54a189df | /ffxi/audio/adpcmstream.cpp | a9ad964a116c927a41729797294573a60990542a | [] | no_license | Aenge/lotus-engine | c7f93e57ffb57af8620a867a1c704ec43ccd83f4 | e4b334c5b4c9e87ab92fdefd2c7ab5b16f832c3f | refs/heads/master | 2023-07-10T00:42:56.263503 | 2021-08-22T20:10:04 | 2021-08-22T20:10:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,016 | cpp | #include "adpcmstream.h"
ADPCMStreamInstance::ADPCMStreamInstance(ADPCMStream* adpcm) : adpcm(adpcm)
{
data = adpcm->getNextBlock();
mFlags |= PROTECTED;
}
unsigned int ADPCMStreamInstance::getAudio(float* buffer, unsigned int samples, unsigned int buffer_size)
{
if (!adpcm)
return 0;
unsigne... | [
"teschnei@gmail.com"
] | teschnei@gmail.com |
4349107c7223758721b980cb563b6acb8c0c5725 | a2111a80faf35749d74a533e123d9da9da108214 | /raw/pmbs12/pmsb13-data-20120615/sources/brbym28nz827lxic/41/sandbox/meyerclp/demos/Quelle1.cpp | 3bd3f6352b198a4c0be265f27196d42841525045 | [
"MIT"
] | permissive | bkahlert/seqan-research | f2c550d539f511825842a60f6b994c1f0a3934c2 | 21945be863855077eec7cbdb51c3450afcf560a3 | refs/heads/master | 2022-12-24T13:05:48.828734 | 2015-07-01T01:56:22 | 2015-07-01T01:56:22 | 21,610,669 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,257 | cpp | #include <seqan/sequence.h>
#include <seqan/basic.h>
#include <seqan/find_motif.h>
#include <seqan/file.h>
#include <iostream>
using namespace seqan;
template<typename TAlphabet>
void countAllLetters(TAlphabet const&, String<char> str){
typedef typename Size<TAlphabet>::Type TSize;
TSize alphSize = ValueSize<TAlp... | [
"mail@bkahlert.com"
] | mail@bkahlert.com |
15ea2cb73ad081ffbb5315bece1ee3fbda510690 | e3cb0a797c6dd46f71fe9fef77f5fb4b301b3ac9 | /Matrix/Matrix2D.h | ac1498558893b36a7ba425b1d9f70d8219c3ae7c | [] | no_license | MarinaNem/C_Lab | f451b9c47c2baf9781f0633b2a95cc04d8797fdd | 731fc6a5ac2d1f2ca65cb809aee56f4b9c89f486 | refs/heads/master | 2021-05-21T02:12:03.845043 | 2020-09-19T10:46:22 | 2020-09-19T10:46:22 | 252,497,944 | 0 | 0 | null | 2020-09-19T10:46:24 | 2020-04-02T15:44:11 | C++ | UTF-8 | C++ | false | false | 312 | h | #pragma once
#include "MatrixBase.h"
class Matrix2D :public MatrixBase
{
public:
Matrix2D() : MatrixBase(m2D_size) {};
virtual int element(unsigned int i, unsigned int j) const override;
virtual int& element(unsigned int i, unsigned int j) override;
private:
int matrix[m2D_size * m2D_size];
};
| [
"marina.laimik@gmail.com"
] | marina.laimik@gmail.com |
a7f54927571f6f3e3da28ca8182d967c5a143a90 | 12715c011c9920758e72eb08b5cc627501b4bc5d | /src/mesh_to_traversability_gridmap_node.cpp | ba76e672cc454b77f842935ab273292ad298b863 | [] | no_license | Renaudeau82/mesh_to_traversability_gridmap | 0014616ba36d71f4d7452f130dda63017fc5ddba | 13d508ac3440ab9c060fbd6883b4ce54ad898cde | refs/heads/master | 2021-01-01T17:53:35.073073 | 2017-07-26T13:52:20 | 2017-07-26T13:52:20 | 98,191,035 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 722 | cpp | #include <ros/ros.h>
#include <mesh_to_traversability_gridmap/mesh_to_traversability_gridmap.hpp>
// Standard C++ entry point
int main(int argc, char **argv) {
// Announce this program to the ROS master
ros::init(argc, argv, "mesh_to_traversability_gridmap_node");
ros::NodeHandle nh;
ros::NodeHandle private_... | [
"brice_ren@hotmail.fr"
] | brice_ren@hotmail.fr |
03b41fc9ffb8b630f8f0d28be3b6f8d988997765 | fa5750449293d2cf330dd57ecddaf9fbd64119a2 | /IO streams/04 - reading from files.cpp | 28e82b9ab1302e219a48072eb39c179dbbc87dba | [] | no_license | TutoRepos/cookbook-c-cpp | 397831848c4d740cc69656267ad97898f4f099b4 | ea506038e4b001432677df7c92abc71a87030e21 | refs/heads/master | 2022-03-25T07:37:38.107288 | 2019-12-28T13:01:47 | 2019-12-28T13:01:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,850 | cpp | #include <iostream>
#include <fstream>
#include <string>
#include <vector>
//fstream or ifstream are commonly used for input files
//steps always needed when reading from files:
//1) include <fstream>
//2) declare fstream or ifstream oject
//3) connect it to a file in local filesystem
//4) read data from t... | [
"noreply@github.com"
] | TutoRepos.noreply@github.com |
5e4cac42e0f8440d58a6b92e45edad2ea14fffb1 | b154bc66fe8ab508f285a0214bc6d380d2e29327 | /optical.ino | dcf7d48541583cea4ba49576fd1d05fb9adf1ca3 | [] | no_license | uicnma/art_150 | 5221453e9aba493c8475f06534ecb045b13d2e18 | 6965072b6f9f61abc70a0a10e68bf57fa1c686b5 | refs/heads/master | 2021-05-02T16:50:15.561669 | 2016-10-31T22:36:32 | 2016-10-31T22:36:32 | 72,481,783 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 471 | ino | const int photocellPin = A0; //photocell attach to
int sensorValue = 0; // value read from the sensor
const int buzzerPin = 9; //buzzer attach to
void setup()
{
pinMode(buzzerPin, OUTPUT); //initialize buzzer as an output
}
void loop()
{
sensorValue = analogRead(photocellPin);
digitalWrite(buzzerPin, ... | [
"noreply@github.com"
] | uicnma.noreply@github.com |
ad01754fc5db5441713d5a9cf35ad25f3cfdfdc0 | 5a68ad40aeb3a8fb1e7dca1b65669b636bd8360f | /Libs/Door/Door.cpp | 4552658c39477c50d2afc18acab0ae1e8224a16e | [] | no_license | xrgman/Schuur | 0ad4add5559a266b858628c7f67c4b57c10df872 | 57ee14ffaf5e66fb28d6a8d5d296592e5f9d0cf8 | refs/heads/master | 2021-01-01T03:53:14.304849 | 2016-05-26T18:51:13 | 2016-05-26T18:51:19 | 57,442,642 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,363 | cpp | #include "Arduino.h"
#include "Door.h"
//******************************************************************
//** Constructor.
//** Paramater ledPin - The pin the led of the door is connected to.
//******************************************************************
Door::Door(int ledPin) {
doorLedPin = ledPin;
d... | [
"xrgman@gmail.com"
] | xrgman@gmail.com |
5c6bc402c40b3ffdc59b0f3da9acba6ed63c75ec | d623a9b3ca379226010d111388f98c62c1e4a25d | /Nahajowski12/Nahajowski12/Nahajowski09/CRandom.cpp | 316d13fa4abf7cc82d8df92bed01367a5d3fefa6 | [] | no_license | mnahajowski/Multi-echelon-Supply-Chain-Network-Problem | 864482e8072d7549927760040fae455f94694f24 | de99fa3a9cd635969cc7671fdf523da9bf3a6633 | refs/heads/master | 2021-01-14T23:12:52.943271 | 2020-02-25T20:24:15 | 2020-02-25T20:24:15 | 242,790,506 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,317 | cpp | #include "CRandom.h"
CRandom::CRandom()
{
std::random_device random_seed;
setSeed(random_seed());
}
CRandom::CRandom(int new_seed) {
setSeed(new_seed);
}
CRandom::~CRandom()
{
}
/*int *CRandom::getInts(int left, int right) {
std::random_device rd;
std::mt19937 gen(rd());
std::uniform_int_distribution<> dis(l... | [
"immortalmar0@gmail.com"
] | immortalmar0@gmail.com |
6cfac5f83e8a8d8c2c56e6fe095bd72eaa50fb42 | 284d8657b07536bea5d400168a98c1a3ce0bc851 | /xray/core/sources/threading_functions.h | 4c31abe7d3165acf655c389da712398107e92a6d | [] | no_license | yxf010/xray-2.0 | c6bcd35caa4677ab19cd8be241ce1cc0a25c74a7 | 47461806c25e34005453a373b07ce5b00df2c295 | refs/heads/master | 2020-08-29T21:35:38.253150 | 2019-05-23T16:00:42 | 2019-05-23T16:00:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 744 | h | ////////////////////////////////////////////////////////////////////////////
// Created : 05.05.2010
// Author : Dmitriy Iassenev
// Copyright (C) GSC Game World - 2010
////////////////////////////////////////////////////////////////////////////
#ifndef THREADING_FUNCTIONS_H_INCLUDED
#define THREADING_FUNCTIO... | [
"tyabustest@gmail.com"
] | tyabustest@gmail.com |
9b18a972817f6fc970257ce119220ac6946ff7b9 | 6df4b4779de1395e1e3772faee0779b0ceeff2d5 | /10519 - !! Really Strange !!.cpp | 1bdcc5bdc5e5075e5d5895b3ad2c7d35d8dc842b | [] | no_license | rezwan4029/UVA-CODES | 13c8179107d573733a40108dfd772829e551c0cb | 7c92715cca8a72bd576faa7c1927eac0f0c95ca9 | refs/heads/master | 2020-04-12T08:01:14.854931 | 2018-11-07T22:45:13 | 2018-11-07T22:45:13 | 6,367,809 | 34 | 38 | null | null | null | null | UTF-8 | C++ | false | false | 521 | cpp | import java.math.*;
import java.util.*;
public class Main {
public static void main(String args[]) {
Scanner ob = new Scanner(System.in);
while(ob.hasNext()){
BigInteger x = ob.nextBigInteger();
if( x.equals( BigInteger.ZERO ) ){
System.out.println(1);
... | [
"rezwan.maruf.ndc09@gmail.com"
] | rezwan.maruf.ndc09@gmail.com |
5ee6da18f083fdbac6dd9636cd1b49fb1954a968 | 02450e6f83bf914087bb2e9cc3805a6c06027889 | /Black/Week4/partN/main.cpp | 58e30e6a243316c30ed022a5fefaa73cb74b6815 | [] | no_license | RinokuS/yandex-cpp-belts | d4962c022a53e64cf540c79feb979752814e9b29 | b863efe12dedf5a93517c937308b5f140ea86725 | refs/heads/main | 2022-12-25T22:02:36.059625 | 2020-10-03T09:31:41 | 2020-10-03T09:31:41 | 300,842,700 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,545 | cpp | #include <iostream>
#include "test_runner.h"
#include "misc.h"
#include "io.h"
#include "json.h"
#include <string>
#include <iomanip>
#include "graph.h"
#include "router.h"
using namespace std;
int main(void) {
stringstream ss{R"(
{
"routing_settings": {
"bus_wait_time": 2,
"bus_velocity": 30
},... | [
"JeffTheKilller@mail.ru"
] | JeffTheKilller@mail.ru |
3531c37dc37287fe69adb42420409d1d660f4ff5 | a8525b53387406fcf22db093226c46558e016811 | /src/game/server/gamecontext.h | 5e776c63e8d8164e26a1b51c1b81005b82964160 | [
"Zlib",
"LicenseRef-scancode-other-permissive"
] | permissive | teeworldsCloudFell/teeworlds-ptum | 34b3b95bf054df658a0ad0e123e0aa1469e06b02 | 4383938a0df89f321a755f299e2218d42aee9e9b | refs/heads/master | 2021-12-12T11:46:06.590229 | 2017-01-03T13:04:27 | 2017-01-03T13:04:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,899 | h | /* (c) Magnus Auvinen. See licence.txt in the root of the distribution for more information. */
/* If you are missing that file, acquire a complete release at teeworlds.com. */
#ifndef GAME_SERVER_GAMECONTEXT_H
#define GAME_SERVER_GAMECONTEXT_H
#include <engine/server.h>
#include <engine/console.h>
#inc... | [
"necropotame@gmail.com"
] | necropotame@gmail.com |
bdd29fe116e2db34b09f5d7d41256b39aee390d6 | 47e58df7e2b22b2e172aa9a298a1820623fab629 | /icuSources/i18n/unicode/measfmt.h | febc75d9c7f6c9315d9e45c3e5b3188189618a03 | [
"ICU",
"NAIST-2003",
"LicenseRef-scancode-unicode",
"BSD-3-Clause",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause"
] | permissive | aosm/ICU | 2ba445771447448462d46449fd560dfa193cf2f7 | 71cb850a00a24b8ea5c3583cce3d26124acece20 | refs/heads/master | 2023-07-08T21:46:03.354183 | 2014-10-31T07:34:07 | 2014-10-31T07:34:07 | 8,897,215 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 9,520 | h | /*
**********************************************************************
* Copyright (c) 2004-2014, International Business Machines
* Corporation and others. All Rights Reserved.
**********************************************************************
* Author: Alan Liu
* Created: April 20, 2004
* Since: ICU 3.0
******... | [
"rasmus@dll.nu"
] | rasmus@dll.nu |
e663cf6e32f614c97e0da544bc68f3816d8efa55 | 02bc9e671a9bb5b2b963370b44bdc4e47aa21142 | /deps/chakrashim/core/lib/Runtime/Base/PropertyRecord.h | 4073bc48fb8fe71409a28167f3fbe341182bd0da | [
"LicenseRef-scancode-openssl",
"Zlib",
"NTP",
"NAIST-2003",
"LicenseRef-scancode-unicode",
"LicenseRef-scancode-unknown-license-reference",
"Artistic-2.0",
"ISC",
"MIT",
"BSD-3-Clause",
"ICU",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause"
] | permissive | JefferyQ/spidernode | 2f61e76326d97088ae9f1ab74a6bada2136ba888 | c735553973e2045ed4e6c09ebdeaf7a1b90a8686 | refs/heads/master | 2021-01-17T07:00:13.639117 | 2016-07-26T15:59:10 | 2016-07-26T15:59:10 | 64,418,277 | 1 | 0 | null | 2016-07-28T18:19:39 | 2016-07-28T18:19:39 | null | UTF-8 | C++ | false | false | 11,189 | h | //-------------------------------------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//---------------------------------------------------------... | [
"Kunal.Pathak@microsoft.com"
] | Kunal.Pathak@microsoft.com |
4046f536afcac84a7a09ff5d360371fbf950e9f7 | 09946f08e430e04497d7e1e12b21c1f9bafc1a45 | /hw/lab1/fsm.h | ac8e02ae715e64eaf7b6f15f9a5987ea5e834ccf | [] | no_license | vlazarew/kamkin | 298e50611036ea9ccae67fb7a56b2079b50ea706 | 98f4be2a6b129b7e7cf383325052c7f886daf6a1 | refs/heads/main | 2023-04-30T20:23:54.463089 | 2021-05-30T19:25:25 | 2021-05-30T19:25:25 | 351,830,144 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,887 | h | /*
* Copyright 2021 ISP RAS (http://www.ispras.ru)
*
* 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 o... | [
"Lazarewvladimir18@gmail.com"
] | Lazarewvladimir18@gmail.com |
ed76617d5ba686f26af10922e02aa1b72211e0f3 | ef9cf7e9e1083ba41aafa1e71dc1dbd393c90515 | /Contact.cpp | 4320c38eaab17aa7dd073abcbac727913d00fd91 | [] | no_license | OvenVan/Contact | eeab3dc7f05f4d4839abc05b67f9b035087d72a6 | e8c9eeadc989c9bff1183bb7d598874609d11ea8 | refs/heads/master | 2020-03-19T20:34:17.985779 | 2018-09-22T03:25:47 | 2018-09-22T03:25:47 | 136,907,592 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,043 | cpp |
#include "stdafx.h"
#include "Contact.h"
extern vector<Person*> contact_item;
extern string errorMsg;
Contact::Contact()
{
MainFunctionsNum = 5;
refresh();
}
Contact::~Contact()
{
int freei = contact_item.size();
for (int i = 0; i<freei; ++i){
delete(contact_item.at(i));
}
}
MainStrategy* Contact::setMainSt... | [
"yew_oven@outlook.com"
] | yew_oven@outlook.com |
ce70f84beabc11df6742523cca07e8e446559885 | bffdf3f0cfa0e6c0cac32f032cdfb159560e01af | /TransformToNav/main.cpp | 2888e9415bdf022d49e908f1e2e676d45f8a5a7e | [] | no_license | BrokenRain/TransformToNav | c356cd88b271598a32246dd518cbb90b4f69be7d | fd6bd51abfcac6bdb7d3655f122b688ad16451c9 | refs/heads/master | 2021-06-18T05:30:02.630039 | 2017-06-24T01:23:22 | 2017-06-24T01:23:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 167 | cpp | #include "Nav.h"
#include <QtWidgets/QApplication>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
Nav w;
w.show();
return a.exec();
}
| [
"497381250@qq.com"
] | 497381250@qq.com |
15d386c39fb1ac0ec098c907d19d598b497462c4 | 7a4173164c3f2a29f89e8daa22f20a9ddf50cc2a | /src/urg_node-indigo-devel/include/urg_node/urg_node_driver.h | 4ba7c2be17ef36c3254ea7adaa0f37895881b584 | [] | no_license | temburuyk/y_ws | 10325d370de5a1da6bea88d71950261dfd8cadc3 | 2b2ec0e81bc31f5ed20c73bcd2faebef8a99b1d1 | refs/heads/master | 2021-01-20T08:30:27.648840 | 2017-05-10T19:20:06 | 2017-05-10T19:20:06 | 90,156,435 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,443 | h | /*
* Copyright (c) 2013, Willow Garage, Inc.
* Copyright (c) 2017, Clearpath Robotics, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must re... | [
"temburuyk@gmail.com"
] | temburuyk@gmail.com |
8c97b1542857826c29db203c0cded3164a646865 | 6525746e3478741d5658406b2a7b1df287b46288 | /openFoam/dlrReactingFoam/system/blockMeshDict | fab789bfd21bfa37cce399f9b65e07bfad2872e2 | [] | no_license | scramjetFoam/cfdCaseSetups | 05a91228988a01feeca95676590fd0c3b7a60479 | 37bf3f07aae6e274133d1c9d289c43ebdd87d741 | refs/heads/master | 2023-07-06T02:57:54.810381 | 2020-11-05T15:42:20 | 2020-11-05T15:42:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,487 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 5 |
... | [
"julian.toumey@uconn.edu"
] | julian.toumey@uconn.edu | |
c20660f9d77f45a4caba57a7ce3044635468d4f5 | bd1fea86d862456a2ec9f56d57f8948456d55ee6 | /000/113/860/CWE762_Mismatched_Memory_Management_Routines__delete_array_struct_calloc_74b.cpp | 1af9db6a6cfc78a1b35a08d06a2b8ef5c08bcc9a | [] | 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 | 1,741 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE762_Mismatched_Memory_Management_Routines__delete_array_struct_calloc_74b.cpp
Label Definition File: CWE762_Mismatched_Memory_Management_Routines__delete_array.label.xml
Template File: sources-sinks-74b.tmpl.cpp
*/
/*
* @description
* CWE: 762 Mismatched Memory Managem... | [
"frank@fischer.com.mt"
] | frank@fischer.com.mt |
1f5653f49e0c00d747ed22ccceea9c592f136a1f | ec0c10f6c207a3ad1832fabe824767f406a992e0 | /2141.cpp | eed0f7e465f3ae4eb0b74379fc46294bbe156811 | [] | no_license | luck2901/Algorithm | 5f8e88f6fa6d49e11ce880a2550d5ed8c4c57b05 | 3462c77d1aa6af3da73c4f10b6dd7bb7a8e8a9b4 | refs/heads/main | 2023-07-14T09:32:33.963583 | 2021-08-26T02:10:09 | 2021-08-26T02:10:09 | 339,104,020 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 779 | cpp | #include<iostream>
#include<vector>
#include<algorithm>
#include<cstring>
#include<queue>
using namespace std;
typedef long long ll;
vector<pair<int, int>>v;
int main()
{
ios_base::sync_with_stdio(false);
cin.tie(NULL);
cout.tie(NULL);
int N, tag = 0; cin >> N;
ll sum = 0;
for (int i = 0; i ... | [
"luck2901@naver.com"
] | luck2901@naver.com |
a9a1e4c5367f0d6f4f82252d3c1c001758addbf8 | b7f3edb5b7c62174bed808079c3b21fb9ea51d52 | /components/performance_manager/performance_manager_impl.h | 25869114d8255367fd50b225a677b4f18f2f7bdd | [
"BSD-3-Clause"
] | permissive | otcshare/chromium-src | 26a7372773b53b236784c51677c566dc0ad839e4 | 64bee65c921db7e78e25d08f1e98da2668b57be5 | refs/heads/webml | 2023-03-21T03:20:15.377034 | 2020-11-16T01:40:14 | 2020-11-16T01:40:14 | 209,262,645 | 18 | 21 | BSD-3-Clause | 2023-03-23T06:20:07 | 2019-09-18T08:52:07 | null | UTF-8 | C++ | false | false | 8,495 | h | // Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_PERFORMANCE_MANAGER_PERFORMANCE_MANAGER_IMPL_H_
#define COMPONENTS_PERFORMANCE_MANAGER_PERFORMANCE_MANAGER_IMPL_H_
#include <memory>
#... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
91fbdc8215b4cd3d9ca24721ef197258da6ecaae | 06b1016cea82c738d19a76ed22b6170a2fcc6d22 | /ChessEngine/Constants.cpp | 915139aa39a30bcd1be6dcb2cd10e267f0af27c9 | [] | no_license | mpweinge/Chess-AI | 335df616137a37ae3c0162864d6ac1098d9bbb69 | c04cedf5cf1ca57a161b4c1c17e14fd9ef37f074 | refs/heads/master | 2021-01-19T11:02:45.477045 | 2012-05-29T22:16:34 | 2012-05-29T22:16:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 572 | cpp | /*
* Constants.cpp
* ChessEngine
*
* Created by Michael Weingert on 12-03-28.
* Copyright 2012 __MyCompanyName__. All rights reserved.
*
*/
#include "Constants.h"
#include "ChessBoard.h"
#include "ChessLog.h"
#include <execinfo.h>
void ChessAssert()
{
void* callstack[128];
int i, frames = backtrace(cal... | [
"mpweinge@uwaterloo.ca"
] | mpweinge@uwaterloo.ca |
d5367545c15ec6d67738a4ac4edcb8c7e3611f2a | 3fb019aa6d769775122d18402564137ddfada664 | /RayTracingRenderer-master/src/normalvector.h | 10e0c57ece588e46d80c4ee6d2a71f53e9d6be8d | [] | no_license | anastasialavrova/bmstu_CG_course_work | 8ce3f7ecdcefd485272578e35b62e69a780852fc | 8e64b96ea72ea5e85e56114274ef696cc9719e17 | refs/heads/master | 2020-11-27T04:33:06.184151 | 2019-12-20T15:38:43 | 2019-12-20T15:38:43 | 229,304,999 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,359 | h | #ifndef NORMALVECTOR_H
#define NORMALVECTOR_H
#include "transformationmatrix.h"
class NormalVector
{
public:
// Конструктор по умолчанию
NormalVector();
// XYZ Конструктор
NormalVector(double newX, double newY, double newZ);
// Конструктор копирования
NormalVector(const NormalVector& rhs);
... | [
"44167571+anastasialavrova@users.noreply.github.com"
] | 44167571+anastasialavrova@users.noreply.github.com |
31fe2ca28b2af769ddbcd8a2ab2f575c12efcc25 | cffc460605febc80e8bb7c417266bde1bd1988eb | /before2020/NTHU/NTHU 9050(Math, Matrix).cpp | 3322fcd07793a4d6d7482df2500ab7c48cfee154 | [] | no_license | m80126colin/Judge | f79b2077f2bf67a3b176d073fcdf68a8583d5a2c | 56258ea977733e992b11f9e0cb74d630799ba274 | refs/heads/master | 2021-06-11T04:25:27.786735 | 2020-05-21T08:55:03 | 2020-05-21T08:55:03 | 19,424,030 | 7 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 788 | cpp | /**
* @judge NTHU
* @id 9050
* @tag Math, Matrix
*/
#include <stdio.h>
#include <string.h>
#include <iostream>
#define M 110
using namespace std;
int main()
{
int i, j, k;
int t, m, n, p;
int a[M][M], b[M][M], c[M][M];
for (scanf("%d", &t); t; t--)
{
scanf("%d%d%d", &m, &n, &p);
for (i = ... | [
"m80126colin@gmail.com"
] | m80126colin@gmail.com |
16b10709bfd7d8110151143157882864fea81e32 | 0ac15597fb5fa2363c4ffd1e41b15f1f45c69abc | /SplashScreenRoomNet/SplashScreenRoomNet/HttpResponse.h | 73740b7da5cc8e61028ba49f39b57b0568cdae4e | [] | no_license | tomconnolly94/splash-screen-room_net | f1896e7f88201a51ad93c8fae93206bca6bec60d | 761eea64962c3ad659aa6c0fe9da81b7ccc4b2e5 | refs/heads/master | 2022-11-20T13:42:25.586636 | 2020-07-09T19:44:19 | 2020-07-09T19:44:19 | 283,328,074 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 741 | h | #pragma once
//external includes
#include <string>
#include <vector>
//internal includes
#include "Properties.h"
class HttpResponse
{
public:
HttpResponse();
HttpResponse(int responseCode, std::string responseContent, std::string _contentType);
void SetStatusCode(int statusCode);
int GetStatusCo... | [
"tom.connolly@protonmail.com"
] | tom.connolly@protonmail.com |
167639fb650341c8a4ddc225970013b363d99a50 | b46eef7254d8919bd796149b3fc28041e778c679 | /src/util.h | 1ef6bc21755b0efcc78f12b1166bd421415f17e0 | [
"MIT"
] | permissive | KingricharVD/XDNA | 9f7eb1b2dfb8749fa309cb044da4f509c033899f | b96dc7a18f330083057744b869ddb46bf8b180e0 | refs/heads/master | 2020-09-16T17:16:44.675957 | 2019-11-20T14:39:35 | 2019-11-20T14:39:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,782 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Copyright (c) 2017-2019 The XDNA Core developers
// Distributed under the MIT software license, see the accompanying
// file COPY... | [
"hllmr1@gmail.com"
] | hllmr1@gmail.com |
0a7bc70d5edd2a2a44270f476759b3a36f9df810 | 9e6089ae0d70d8edf586bbd21b9064034f059f80 | /src/qt/splashscreen.cpp | bc89e2bd6e46a52db84b3c608de70b8dacf99ba6 | [
"MIT"
] | permissive | kinchcomputers/Thinkcoin- | fed8d8883da0553915dbd070d9b5c7979f919083 | 98a11a6ad403f2add5cab5d8b1402dddc2ba56f7 | refs/heads/master | 2021-01-16T18:44:19.810896 | 2015-08-21T20:51:22 | 2015-08-21T20:51:22 | 41,176,832 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,048 | cpp | // Copyright (c) 2011-2013 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 "splashscreen.h"
#include "clientversion.h"
#include "util.h"
#include <QPainter>
#undef loop /* ugh, remove this wh... | [
"computer.mad@hotmail.co.uk"
] | computer.mad@hotmail.co.uk |
56df8217f9d62df1ccbf84d4ba5b4eada927c71b | ecec137010f2cb4631f96b8c183983a62c9b2ca0 | /C++/college_code/expr/.history/exprei_5_20200517212958.cpp | cc282ed64831ed3d347e620a2bfd7ba4a74a8a32 | [] | no_license | lijiayan2020/Code | d6296658bdec1adb6353faa3ca1ae583542ce926 | ba9f015c51a60fc8aeb1f5efbd33e96126c34265 | refs/heads/master | 2023-04-12T19:23:21.860951 | 2021-04-21T16:21:11 | 2021-04-21T16:21:11 | 330,329,460 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,979 | cpp | //1函数实验
// 1. 定义一个函数,判断三个整型边长能否构成三角形,如果是三角形,则判断它是否是直角三角形。
// #include<iostream>
// //#include<algorithm>
// //#include<stdlib.h>
// //#include<cmath>
// using namespace std;
// void judge(int a,int b,int c);
// int max(int a,int b,int c);
// int main()
// {
// int a,b,c;
// cout << "Please enter three integer:\n";
//... | [
"1131106863@qq.com"
] | 1131106863@qq.com |
89dcd31e564d16d94e0df146a09731cacc44acfc | cc615e472a0bbe02a3f32f62ed62ceb6018f821d | /IPDSsniffer/winstyle/winstyle/ChildFrm.cpp | 5edc6991bfe50825120d75bdaa164c71fd5f3dd4 | [] | no_license | mianalishan/IPDSSniffer- | c1c557c663e87f2e0a450b361a71079c5e22fdc8 | 122cdba25b815b0a32cbe7b3f0a50ba5a7990d7c | refs/heads/main | 2023-06-25T11:06:18.517393 | 2021-07-23T10:08:21 | 2021-07-23T10:08:21 | 388,757,939 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,242 | cpp |
// ChildFrm.cpp : implementation of the CChildFrame class
//
#include "stdafx.h"
#include "winstyle.h"
#include "ChildFrm.h"
#include "LeftView.h"
#include "winstyleView.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// CChildFrame
IMPLEMENT_DYNCREATE(CChildFrame, CMDIChildWndEx)
BEGIN_MESSAG... | [
"noreply@github.com"
] | mianalishan.noreply@github.com |
96d94abb2cd03b29b1db7376d4c3d109ce83cd8b | 536656cd89e4fa3a92b5dcab28657d60d1d244bd | /chrome/browser/ui/views/crostini/crostini_package_install_failure_view.cc | 779283a558a0011cb24c2efa5c7c1f4e3531f74d | [
"BSD-3-Clause"
] | permissive | ECS-251-W2020/chromium | 79caebf50443f297557d9510620bf8d44a68399a | ac814e85cb870a6b569e184c7a60a70ff3cb19f9 | refs/heads/master | 2022-08-19T17:42:46.887573 | 2020-03-18T06:08:44 | 2020-03-18T06:08:44 | 248,141,336 | 7 | 8 | BSD-3-Clause | 2022-07-06T20:32:48 | 2020-03-18T04:52:18 | null | UTF-8 | C++ | false | false | 3,089 | cc | // Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/views/crostini/crostini_package_install_failure_view.h"
#include "base/strings/utf_string_conversions.h"
#include "chrome/bro... | [
"pcding@ucdavis.edu"
] | pcding@ucdavis.edu |
51ebf94486b2ec5d0ceb9687c906b2351bb79bac | bd544c9e74d911bc75f60809691c4ea43f31cb67 | /CPUCharge.cpp | e8459a30fe97458d6f10e95e8fca08d14f0e035e | [] | no_license | AhmedFakhreddine/Programs | 47565f6ab375a751fb40855a504995b23402f0be | b0c90dc40a4001e020f9e5cebdb4172073adef67 | refs/heads/master | 2020-07-04T07:53:20.230838 | 2019-08-13T19:42:21 | 2019-08-13T19:42:21 | 202,212,088 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,126 | cpp | #include <iostream>
#include <vector>
using namespace std;
class CPU{
private:
string modelNumber;
float speed;
string manufacture;
public:
CPU(string m, string mn, float s)
{
modelNumber=mn;
speed=s;
manufacture=m;
}
friend ostream& operator<<(ostream& o, CPU &cpu)
... | [
"noreply@github.com"
] | AhmedFakhreddine.noreply@github.com |
4671786127eb62f8ec7f87c8b2bbeca2e8395ee5 | afa53fe23d84296c3202ac1329f4ce55020f9e0d | /Intermediate/Build/Win64/UE4Editor/Inc/GameTaskEditor/GameTaskGraph.generated.h | 12ea2873fe35a54eb3628d30cf677269488ff69e | [] | no_license | 977908569/GameTask | 70d40f4bc1677be66c20ad0301332e8f8b896741 | 0cb7a5f97ee1eb0b28596f906c49117f56dcb7c7 | refs/heads/main | 2023-01-31T23:56:45.499708 | 2020-12-11T09:52:02 | 2020-12-11T09:52:02 | 309,542,809 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,164 | h | // Copyright Epic Games, Inc. All Rights Reserved.
/*===========================================================================
Generated code exported from UnrealHeaderTool.
DO NOT modify this manually! Edit the corresponding .h files instead!
========================================================================... | [
"977908569@qq.com"
] | 977908569@qq.com |
a18f32701b7f2423012f90560d02dc210144a18b | 4d4822b29e666cea6b2d99d5b9d9c41916b455a9 | /Example/Pods/Headers/Private/GeoFeatures/boost/interprocess/detail/math_functions.hpp | 923cc0208bbf84fb395a8ad6c87954dce87048ca | [
"BSL-1.0",
"Apache-2.0"
] | permissive | eswiss/geofeatures | 7346210128358cca5001a04b0e380afc9d19663b | 1ffd5fdc49d859b829bdb8a9147ba6543d8d46c4 | refs/heads/master | 2020-04-05T19:45:33.653377 | 2016-01-28T20:11:44 | 2016-01-28T20:11:44 | 50,859,811 | 0 | 0 | null | 2016-02-01T18:12:28 | 2016-02-01T18:12:28 | null | UTF-8 | C++ | false | false | 80 | hpp | ../../../../../../../../GeoFeatures/boost/interprocess/detail/math_functions.hpp | [
"hatter24@gmail.com"
] | hatter24@gmail.com |
d22ed1a8c7f4ed6e5c0321f03956c08cb988e441 | 85edd16a14ed5c2aeb658c1763b30a7dc08b3095 | /Whisper/Source/UI/Source/App/Win/WBootStrap.cpp | 5851f2ae78bab4085c68edcef81bfb94bc4214ca | [
"MIT"
] | permissive | jesse99/whisper | 14a17f94de8fccad2ddc6e9abf9cfa5f40922d50 | c71c2da3d71463a59411b36730713f517934ffc4 | refs/heads/master | 2020-04-21T00:16:20.627290 | 2019-02-05T05:21:44 | 2019-02-05T05:21:44 | 169,191,357 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 4,404 | cpp | /*
* File: WBootStrap.cpp
* Summary: Functions used to intialize and terminate UI apps.
* Written by: Jesse Jones
*
* Copyright © 1998-2001 Jesse Jones.
* This code is distributed under the zlib/libpng license (see License.txt for details).
*
* Change History (most recent first):
*
* $Log: ... | [
"jesse9jones@gmail.com"
] | jesse9jones@gmail.com |
70bb9b4aa2079f745a28fa8236cd41919e11794c | 6edaf7e78c43f822c830043aec786b2be47dd73e | /cpp/acm/cqu_2018_summer_fifteen_day/uva_12661.cpp | 5cc253adbfe9c8bcac47d607e6089b47461766ee | [] | no_license | HBat11233/hbat_code | 8d2c8bc0e44775fafa3cb2820e8388e8d3702bc6 | 2f5de84498660863fd2816f0f8d49442689f88b8 | refs/heads/master | 2021-07-20T03:54:20.961518 | 2018-10-11T08:24:50 | 2018-10-11T08:24:50 | 112,096,574 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,381 | cpp | #include <bits/stdc++.h>
using namespace std;
int n,m,s,t;
struct ips
{
int n;
int o;
int c;
int r;
ips(int n=0,int o=0,int c=0,int r=0)
:n(n),o(o),c(c),r(r){}
};
vector< vector<ips> >da;
int dis[400];
int pk[400];
void spfa(int x)
{
memset(dis,0x7f,sizeof(dis));
memset(pk,0,sizeof(pk... | [
"33086330+HBat11233@users.noreply.github.com"
] | 33086330+HBat11233@users.noreply.github.com |
7db24552294ecd6b7e21b0990b767edba1d95aa4 | d01d5fe5c922517c58e4a386cc824a5a7400663c | /public/include/cpp_extensions/thread/detail/checked_unique_lock_timed_tracker.hpp | b0f5c41da4e151670c6ed8ee2f974adec7dc87b3 | [
"BSD-3-Clause"
] | permissive | ffceiltda/cpp_extensions | 6efe7b625a280b07b29d2411d45ec6d5aa291438 | d1bffee478fe7f3d574ce66ef7bb9a59379661df | refs/heads/main | 2023-04-03T19:27:01.763544 | 2021-04-18T01:21:07 | 2021-04-18T01:21:07 | 358,773,623 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,876 | hpp | #ifndef _CPP_EXTENSIONS_THREAD_CHECKED_UNIQUE_LOCK_TIMED_TRACKER_HPP_
#define _CPP_EXTENSIONS_THREAD_CHECKED_UNIQUE_LOCK_TIMED_TRACKER_HPP_
#include <cpp_extensions/prolog.hpp>
#include <cpp_extensions/thread/detail/checked_unique_lock_tracker.hpp>
#include <chrono>
namespace cpp_extensions
{
namespace thread
{
... | [
"virgiliofornazin@gmail.com"
] | virgiliofornazin@gmail.com |
afc6e9c1526148b15bd3108a9ab32c91876bf17f | dec4ef167e1ce49062645cbf036be324ea677b5e | /SDK/PUBG_DmgType_BlueZone_parameters.hpp | 9f51d6165dbfab07275b580a07adc33d18982e81 | [] | no_license | qrluc/pubg-sdk-3.7.19.5 | 519746887fa2204f27f5c16354049a8527367bfb | 583559ee1fb428e8ba76398486c281099e92e011 | refs/heads/master | 2021-04-15T06:40:38.144620 | 2018-03-26T00:55:36 | 2018-03-26T00:55:36 | 126,754,368 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 389 | hpp | #pragma once
// PlayerUnknown's Battlegrounds (3.5.7.7) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "PUBG_DmgType_BlueZone_classes.hpp"
namespace PUBG
{
//---------------------------------------------------------------------------
//Parameters
//-----------------------------------------------------... | [
"qrl@uc.com"
] | qrl@uc.com |
0b73ea19934cf2cbdf0ecf0fe801d194504fa929 | faa33199a02f48084a3e4ca15602dfbabf792000 | /ideep4py/py/primitives/pooling_py.h | c00f864cdbc3a453768dce044b6977338ff49ea5 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | mingxiaoh/chainer_for_rebase | 11e50bb8f923aabafcf6ddd3b20fadd4dfc91180 | 8c5ba24bf81d648402d388dac1df7591b2557712 | refs/heads/master | 2020-03-08T07:42:58.960006 | 2018-04-17T08:14:40 | 2018-04-17T08:14:40 | 128,001,519 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,583 | h | /*
*COPYRIGHT
*All modification made by Intel Corporation: © 2017 Intel Corporation.
*Copyright (c) 2015 Preferred Infrastructure, Inc.
*Copyright (c) 2015 Preferred Networks, Inc.
*
*Permission is hereby granted, free of charge, to any person obtaining a copy
*of this software and associated documentation files... | [
"yiqiang.li@intel.com"
] | yiqiang.li@intel.com |
fb0eba28002fc8ab405d73577dbc5ac4c0751149 | c33e3ffb3373cb012517a7bfb4c57f0198a93008 | /15649.cpp | fcbfa8174330051dfcc6af76414b4bc78158d44a | [] | no_license | dampers/algorithm | 8fecb03a23305e719fd349514addd658f878f16f | 689ff34d3f24276fddbffbdcb30f5e69dce7e44a | refs/heads/master | 2022-06-05T14:09:30.819594 | 2022-05-22T17:07:53 | 2022-05-22T17:07:53 | 153,278,883 | 5 | 0 | null | 2018-11-20T18:40:33 | 2018-10-16T12:05:42 | C | UTF-8 | C++ | false | false | 408 | cpp | #include<bits/stdc++.h>
using namespace std;
int num[9], check[9];
int n, m;
void sf(int pos)
{
if(pos==m)
{
for(int i=0;i<m;i++) printf("%d ", num[i]);
printf("\n");
return;
}
for(int i=0;i<n;i++)
{
if(check[i]==0)
{
check[i] = 1;
num[pos] = i+1;
sf(pos+1);
check[i] ... | [
"noreply@github.com"
] | dampers.noreply@github.com |
06784841ad2e89529a2859a6e3c8d726d873eaea | a0b0eb383ecfeaeed3d2b0271657a0c32472bf8e | /usaco/Training/Chapter 1 Getting started/wormhole.cpp | 35fe0bcaf05b2341f155f4cd70d5b2a4a45b61cf | [
"Apache-2.0"
] | permissive | tangjz/acm-icpc | 45764d717611d545976309f10bebf79c81182b57 | f1f3f15f7ed12c0ece39ad0dd044bfe35df9136d | refs/heads/master | 2023-04-07T10:23:07.075717 | 2022-12-24T15:30:19 | 2022-12-26T06:22:53 | 13,367,317 | 53 | 20 | Apache-2.0 | 2022-12-26T06:22:54 | 2013-10-06T18:57:09 | C++ | UTF-8 | C++ | false | false | 964 | cpp | /*
ID: tangjin2
LANG: C++
TASK: wormhole
*/
#include <cstdio>
const int maxn = 13;
int n, x[maxn], y[maxn], nxt[maxn], pos[maxn], ans;
void dfs(int dep)
{
if(dep == (n >> 1))
{
bool flag = 1;
for(int i = 1; i <= n && flag; ++i)
{
bool vis[maxn] = {};
for(int j = i; nxt[j] && flag; j = pos[nxt[j]])
{
... | [
"t251346744@gmail.com"
] | t251346744@gmail.com |
c4219b78c7dace99093657e7cbe0e4943fe79c75 | a2f3c693d2bf6483ff77ff0c3ebef634485de3e5 | /Empty/EmptyApplication.cpp | 726b9de39f1c7b70c7747ae74b1326ee9b95fbca | [] | no_license | seraphim0423/MyEngine | 89173557610b442784447906a0d9163f89969dee | 790a9b7ba828d00c290310597eba2a27a3a38a35 | refs/heads/master | 2020-03-22T15:47:55.487772 | 2018-07-13T12:47:11 | 2018-07-13T12:47:11 | 140,279,322 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 112 | cpp | #include"BaseApplication.hpp"
namespace Game{
BaseApplication g_App;
IApplication * g_pApp = &g_App;
}
| [
"seraphim0423@gmail.com"
] | seraphim0423@gmail.com |
827b8e192dbc57d597993cd3dc2b78b33d51df9d | 9a3b9d80afd88e1fa9a24303877d6e130ce22702 | /src/Providers/UNIXProviders/AllocatedFromStoragePool/UNIX_AllocatedFromStoragePool.cpp | 143553d3011946d24a6d02ad17023d16c3bc550e | [
"MIT"
] | permissive | brunolauze/openpegasus-providers | 3244b76d075bc66a77e4ed135893437a66dd769f | f24c56acab2c4c210a8d165bb499cd1b3a12f222 | refs/heads/master | 2020-04-17T04:27:14.970917 | 2015-01-04T22:08:09 | 2015-01-04T22:08:09 | 19,707,296 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,532 | cpp | //%LICENSE////////////////////////////////////////////////////////////////
//
// Licensed to The Open Group (TOG) under one or more contributor license
// agreements. Refer to the OpenPegasusNOTICE.txt file distributed with
// this work for additional information regarding copyright ownership.
// Each contributor lice... | [
"brunolauze@msn.com"
] | brunolauze@msn.com |
39201c2532ff97de6cdc165a3b7c08680b6f0796 | d05aa5a5e46b356094ac801d80a35fc33a767299 | /src/commlib/zcelib/zce_predefine.cpp | 354b84dba718bd0044c42118849aaf2ceae61c74 | [
"Apache-2.0"
] | permissive | RiversFlows/zcelib | d2c131ca734964369d277bcbd354e62afab83d1b | 88e14ab436f1b40e8071e15ef6d9fae396efc3b4 | refs/heads/master | 2022-06-18T01:40:18.937878 | 2020-05-06T09:08:10 | 2020-05-06T09:08:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,590 | cpp | //预定义头文件对应的CPP文件,所有预定义信息描述
#include "zce_predefine.h"
/*
//摘抄:
// _ooOoo_
// o8888888o
// 88" . "88
// (| -_- |)
// O\ = /O
// ____/`---'\____
// ... | [
"fullsail@163.com"
] | fullsail@163.com |
6233441e8ceab02224a3d872cc46e9ba8acf7f98 | 93ac995bb97d67947c3c30665c2f4a7856bc7fbf | /Arduino_Samples/ChessSensor/MT7681.cpp | 3706b5ba9b6b5e760f64eee945d7341f523c428a | [] | no_license | WaDAMake/7681-ATcmd | bc3da1761758730a47f828a32f8a5b0dc2d417dc | 5bfe548a0e6d5b74ecdf54f071a2d9ede732a09a | refs/heads/master | 2020-05-29T11:07:32.917112 | 2016-04-14T05:38:42 | 2016-04-14T05:38:42 | 46,699,564 | 0 | 0 | null | 2015-11-23T05:52:56 | 2015-11-23T05:52:56 | null | UTF-8 | C++ | false | false | 10,559 | cpp | #include <Arduino.h>
#include <Stream.h>
#include "MT7681.h"
LC7681Wifi::LC7681Wifi(Stream *s, Stream* l) : m_lport(0)
{
m_stream = s;
m_log = l;
m_bufferPos = 0;
}
void LC7681Wifi::begin(int reset)
{
digitalWrite(reset, HIGH);
delay(100);
digitalWrite(reset, LOW);
delay(500);
digitalWrite(reset, HIGH... | [
"lex.yang@wadacreative.com"
] | lex.yang@wadacreative.com |
0fbd32aa0e2c6322e7807e9840fe01c2bf11b686 | 70f881ddbfc9a4dc4a0e3b044b720aa07a0aee78 | /src/StringCleaner.cpp | 2d9a0e8e310840124b5cba1f7f88a892698f8890 | [] | no_license | maxiejbe/Kaggle-Word2vec | 86be0bb7f8afdac2ae446420aa67d88968b6efb9 | 34d655ca105f9a6b97e47ec5c581020bb3dc1121 | refs/heads/master | 2021-01-10T07:24:28.338768 | 2020-07-26T15:43:38 | 2020-07-26T15:43:38 | 54,922,469 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,250 | cpp | #include "StringCleaner.h"
using namespace std;
using namespace boost;
StringCleaner::StringCleaner()
{
//ctor
}
StringCleaner::~StringCleaner()
{
//dtor
}
void StringCleaner::CleanHTML(string* toClean)
{
regex htmlRegex("<[^>]*>");
*toClean = regex_replace(*toClean, htmlRegex, string(" "));
}
void... | [
"maxi.ejberowicz@graion.com"
] | maxi.ejberowicz@graion.com |
0771cfdb847a2644f63868cfdaeb3834b0c3a473 | 574329c8282d252cb07d2a193351cb9ad63470a4 | /AstroVolume/Widgets/qMRMLSliceAstroControllerWidget.h | 354c9b23fa1fd29f275455785af4a4ec1d3163eb | [
"BSD-3-Clause"
] | permissive | Punzo/SlicerAstro | 5d322af8792a1cc438ececbbd03ff3e891eac835 | 0ed225c5b1ef14ef9adf389aab3822ef01603eca | refs/heads/master | 2023-02-07T16:44:25.144317 | 2023-02-01T12:38:23 | 2023-02-01T12:38:23 | 31,323,638 | 42 | 6 | BSD-3-Clause | 2020-10-08T19:03:37 | 2015-02-25T16:36:43 | C++ | UTF-8 | C++ | false | false | 1,897 | h | /*==============================================================================
Copyright (c) Kapteyn Astronomical Institute
University of Groningen, Groningen, Netherlands. All Rights Reserved.
See COPYRIGHT.txt
or http://www.slicer.org/copyright/copyright.txt for details.
Unless required by applicable l... | [
"punzodavide@hotmail.it"
] | punzodavide@hotmail.it |
d77a817efe243bfdc35f5e5c93aa60b17d8b23b0 | 0ebfd02c49ed146385a4d2efcc649402004d89c2 | /data types problems in c(lab)/(15,16)c.cpp | 5a0f81cf93b433f1b0c666f35d01e473d0d0114b | [] | no_license | BHAVITHASRRI-1905/data-structures | 35fe629716a5bce415f2318cf3d19aecfdbaf1d5 | b85d3d83b05a1251cbba676a7c1be5acbf8e711a | refs/heads/main | 2023-06-21T19:30:12.742690 | 2021-07-19T02:09:21 | 2021-07-19T02:09:21 | 377,110,390 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,403 | cpp | /*Write a C program that read 5 numbers and counts the number of positive numbers and negative numbers.
.Write a C program that read 5 numbers and find the sum of of positive numbers and negative numbers.*/
#include<stdio.h>
int main(){
int num1,num2,num3,num4,num5,count = 0,sum_p = 0,sum_n = 0;
printf("enter... | [
"noreply@github.com"
] | BHAVITHASRRI-1905.noreply@github.com |
1aa46d91e1345858afdbf7001c9e01e1dea06495 | da9bca392e877999877f4d599060537a7e9c9c1e | /code/foundation/memory/win360/win360memoryconfig.h | dad0e21f5517b35aa2119eb56645fea3454ec310 | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-2-Clause"
] | permissive | Aggroo/nebula-trifid | 70ac63d12dcafa6772824d8173344ce4658d2bbc | 51ecc9ac5508a8a1bf09a9063888a80c9e2785f0 | refs/heads/master | 2021-01-17T11:03:12.438183 | 2016-03-03T22:38:19 | 2016-03-03T22:38:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,964 | h | #pragma once
//------------------------------------------------------------------------------
/**
@file memory/win360/win360memoryconfig.h
Central config file for memory setup on the Win32 and Xbox360 platform.
(C) 2008 Radon Labs GmbH
(C) 2013-2015 Individual contributors, see AUTHORS file
*/... | [
"johannes@gscept.com"
] | johannes@gscept.com |
0eec300c847f02686f6433f9181232c62f89f16c | 5a228deb9479ddadd1ef43e8355549979bd92ab6 | /ROS-Tutorial/Tutorial1/src/turtle_vis/src/solutions/turtle_vis_node.cpp | 314a1e81f63bf7329124620fd2ae6973eca1a036 | [] | no_license | hajiejue/ROS-Tutorial | ae0cf0e8d88a529c18acb8352c35371e51308b0f | 88757922ba1a9e06039d19a18dfa9e6b5a7a7405 | refs/heads/master | 2023-01-30T23:49:41.392892 | 2020-12-08T11:50:47 | 2020-12-08T11:50:47 | 319,430,404 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,897 | cpp | /*********************************************************************
* Compiler: gcc 4.6.3
*
* Company: Institute for Cognitive Systems
* Technical University of Munich
*
* Author: Emmanuel Dean (dean@tum.de)
* Karinne Ramirez (karinne.ramirez@tum.de)
*
*... | [
"wudamunb@gmail.com"
] | wudamunb@gmail.com |
304c2871413abfd41b19acfac3bdb32b0b7bbdd8 | 7493c8b5325c375c71cf5d4731e0c00e17ff565a | /Codeforces/121D.cpp | 489c9ec84cca3d002f0093f7c9df5b99064863d9 | [] | no_license | dhruvik1999/Competitive-Programming | a16de6395e2d2f9e743686539db21239a580de9b | 90ee034aa8ecda1990ce7e1cbb03b23125db9e2f | refs/heads/master | 2021-07-16T20:36:55.342370 | 2020-05-06T08:13:28 | 2020-05-06T08:13:28 | 146,222,258 | 1 | 0 | null | 2018-09-10T13:08:17 | 2018-08-26T22:51:58 | C++ | UTF-8 | C++ | false | false | 558 | cpp | #include<bits/stdc++.h>
using namespace std;
#define ll long long
string con(ll n){
string ans = "";
while(n!=0){
ans = ((char)('0'+n%2))+ans;
n=n/2;
}
return ans;
}
ll doWork(ll a){
a++;
ll ans = 0;
ll t;
for(ll i=0;i<62;i++){
t = (a/(1LL<<(i+1)))*(1LL<<i);
t+= max(0LL,a%(1LL<<(i+1))-((1LL<<(i+1))>... | [
"navadiyadhruvik2@gmail.com"
] | navadiyadhruvik2@gmail.com |
6b1c858f833803bf2b27de0ca26064b1b43e5b0a | 780cf092b3f1fb27087452ec1ab00465413d3c78 | /hdr_bloom/src/model.h | 8c0febfa8c9cfe973341f0422f82e85f71b417f2 | [] | no_license | Alsdnworks/OpenGL | 4badea909d93485fd4da991573c73e22f569e05c | e6f8a52094fb6fffb983a5adef411fd1267fa46c | refs/heads/master | 2023-06-20T08:53:12.378322 | 2021-07-10T08:22:58 | 2021-07-10T08:22:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 736 | h | #ifndef __MODEL_H__
#define __MODEL_H__
#include "common.h"
#include "mesh.h"
#include <assimp/Importer.hpp>
#include <assimp/scene.h>
#include <assimp/postprocess.h>
CLASS_PTR(Model);
class Model {
public:
static ModelUPtr Load(const std::string& filename);
int GetMeshCount() const { return (int)m_meshes.s... | [
"AlsdnWorks@gmail.com"
] | AlsdnWorks@gmail.com |
63153b00eec4681e2e46802a5604bb363e7b3eff | a9be3efcfe8581fb4be48fba7333379364019fa6 | /7.reverse-integer.cpp | 9ffa30c97be6648ca1609b7c9aae331ddfb43928 | [] | no_license | 12301098-Heminghui/LeetCode-Cpp | 57b1bef32e8cdc4869f410410f3003486a23a358 | 3d1ea65056f3ecf5672fdefa46cf4de1cb2a6bd3 | refs/heads/master | 2021-08-17T07:12:57.360677 | 2020-05-04T10:16:53 | 2020-05-04T10:16:53 | 175,957,974 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 344 | cpp | #include <math.h>
#include<cmath>
using namespace std;
class Solution {
public:
int reverse(int x) {
int res = 0;
while (x != 0) {
if (res > INT_MAX/10 || res < INT_MIN/10){
return 0;
}
res = res*10 + x%10;
x = x/10;
}
... | [
"heminghui_i@didichuxing.com"
] | heminghui_i@didichuxing.com |
2ba13b97423b98be7e112c82a32e551897b56144 | 11c5881247676d1081c34432855306e89a9bfb6b | /Lab02_Assignment/SortedList/SortedList.cpp | 3894f7cad5b00f156bc4284ed3060c26464f27ad | [] | no_license | lazyyq/KHU_DS_Lab | 38a80a49b3e1f19d3709c9284450a8a38fe9ef54 | 9e8f268803bdab7ca2b60d65a2373f0e17881b17 | refs/heads/master | 2020-07-30T08:19:05.536776 | 2019-10-06T16:12:59 | 2019-10-10T04:31:39 | 210,151,158 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 3,629 | cpp | #include "SortedList.h"
SortedList::SortedList()
{
mLength = 0;
ResetIterator();
}
// Make list empty.
void SortedList::MakeEmpty()
{
mLength = 0;
}
// Get a number of records in current list.
int SortedList::GetLength()
{
return mLength;
}
// Check capacity of list is full.
bool SortedList::IsFull()
{
if (mLe... | [
"kykint@naver.com"
] | kykint@naver.com |
6135dc39f1c59d97ed37c8f5abcbe979b18004c0 | b06c2b89645a35447ab7e07e4bfdb0e0ebb64fd1 | /Source/Parteh/MainMenuGameMode.h | 942a199fcda166c3dbb7b6594bb54283f30ffced | [
"MIT"
] | permissive | ErnestasJa/PTH_0112 | cc88f20e57ae74e4f489434719423479cb6b0972 | b1d00f55035cbdd89bf5c66269938c9a9253e6ad | refs/heads/master | 2021-07-06T18:53:56.440253 | 2017-09-30T17:56:09 | 2017-09-30T17:56:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 310 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/GameModeBase.h"
#include "MainMenuGameMode.generated.h"
/**
*
*/
UCLASS()
class PARTEH_API AMainMenuGameMode : public AGameModeBase
{
GENERATED_BODY()
};
| [
"ernestasjanusevicius@gmail.com"
] | ernestasjanusevicius@gmail.com |
2f8e31c9bccd20bb75a23ca8df927d427a8988b0 | ef187313537d520739b4918e0ef4c0b0041bf4e7 | /C25_GlobalPosition/src/C25_objectTest.cpp | 6e2ccfb8eb393ca49572d4690a3fd7f2a8fc1089 | [] | no_license | robotil/robil | e4a0a4eb92c0758101ecc1963d77142d51ed4c9c | 257cd66266f299fd5f696cd4b5e92fa195237e47 | refs/heads/master | 2021-05-30T13:34:35.303549 | 2013-11-20T06:46:25 | 2013-11-20T06:46:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,838 | cpp | #include "ros/ros.h"
#include <image_transport/image_transport.h>
#include <message_filters/synchronizer.h>
#include <message_filters/subscriber.h>
#include <message_filters/sync_policies/approximate_time.h>
#include <sensor_msgs/image_encodings.h>
#include <sensor_msgs/PointCloud2.h>
#include <sensor_msgs/Image.h>
#in... | [
"odedyec@gmail.com"
] | odedyec@gmail.com |
f41c09119650beff0df223dd794d506c9c2b78a2 | c106e477330358a00357a14c6361b5f18c1a3314 | /KSPCtrl/KSPCtrl/KSPCtrl.ino | a4127c4c1125e3559d5a0ca891e9214d3da55e46 | [] | no_license | FreshmeatDK/Arduino | 37afaca20f86d370a01f68701eaa3a0c9f942ce7 | 8660eaa57077f0258fe0410beba6a4d904d3e70d | refs/heads/master | 2020-04-04T15:03:08.694721 | 2018-11-23T18:04:38 | 2018-11-23T18:04:38 | 156,023,078 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,861 | ino | /*
Name: KSPCtrl.ino
Created: 11/3/2018 9:57:35 PM
Author: Jesper
*/
#include <Joystick.h>
#include <Key.h>
#include <Keypad.h>
#include <Wire.h>
#include <SPI.h>
#include <FastLED.h>
#include <LedControl.h>
#include <NewLiquidCrystal/LiquidCrystal_I2C.h>
#include <avr\dtostrf.h>
//I2C adresses
#define RTCADR ... | [
"jkroghp@hotmail.com"
] | jkroghp@hotmail.com |
60f41480b75903066ccc7ea174a8976fd4b3e8c6 | ba9322f7db02d797f6984298d892f74768193dcf | /emr/src/model/RunETLJobRequest.cc | e8e7ed7a113a0432dccf2eebc71662b335e3a27e | [
"Apache-2.0"
] | permissive | sdk-team/aliyun-openapi-cpp-sdk | e27f91996b3bad9226c86f74475b5a1a91806861 | a27fc0000a2b061cd10df09cbe4fff9db4a7c707 | refs/heads/master | 2022-08-21T18:25:53.080066 | 2022-07-25T10:01:05 | 2022-07-25T10:01:05 | 183,356,893 | 3 | 0 | null | 2019-04-25T04:34:29 | 2019-04-25T04:34:28 | null | UTF-8 | C++ | false | false | 2,479 | cc | /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | [
"haowei.yao@alibaba-inc.com"
] | haowei.yao@alibaba-inc.com |
298e005c85a97824dafd87fccc1692584a105fa1 | cbbb378784d37056bb8a20d3a7acbc4eeb4925ec | /Project1/Project1/test/charToUint.cpp | c52b7127d2fd87e32c2a5a860850dcf057d4a2a8 | [] | no_license | jr2339/Memory-Management | a827c621db000e13ebe3574cc958619bfd47644f | cf8a5abc8807f0ff950b386dffbcd2dbe327ec05 | refs/heads/master | 2021-01-19T18:38:37.260943 | 2017-05-03T23:24:36 | 2017-05-03T23:24:36 | 88,371,524 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 461 | cpp | #include <stdint.h>
#include <cstdio>
uint64_t charsToUint64(unsigned char *chars, char numChars){
uint64_t uintVal = 0;
for(int i = 0; i < numChars; i++){
uintVal = uintVal | (chars[i] << ((numChars-(i+1))*8));
}
return uintVal;
}
int main(int argc, char **argv){
// In binary: 00000001 00001010 1100101... | [
"as2544@nau.edu"
] | as2544@nau.edu |
272016ba8ca6b645ea7d47d139e1c7414e0c7b1c | 5f2103b1083b088aed3f3be145d01a770465c762 | /31. Next Permutation.cpp | ef70105b9df36124d1996f9be9f80bd255e531cf | [] | no_license | supersj/LeetCode | 5605c9bcb5ddcaa83625de2ad9e06c3485220019 | 690adf05774a1c500d6c9160223dab7bcc38ccc1 | refs/heads/master | 2021-01-17T17:23:39.585738 | 2017-02-27T15:08:42 | 2017-02-27T15:08:42 | 65,526,089 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 844 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
class Solution {
public:
void nextPermutation(vector<int>& nums) {
int len = nums.size();
int leftIndex = len;
for (int i = len - 1; i >= 1; i--) {
if (nums[i] > nums[i - 1])
{
... | [
"sjzj1992@163.com"
] | sjzj1992@163.com |
87edecf120ed761857284e754ac70eaaf9f820bd | 97a569fe525b017307d33322d0cbc810c88b2bc6 | /src/core/integrators/bidirectional_path_tracer/PathVertex.cpp | a96ffdb10c106bf5c273bfe9056b3c1c786f5a47 | [
"BSL-1.0",
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"BSD-3-Clause",
"MIT",
"Zlib",
"Unlicense",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | ProjectAsura/tungsten | e564279219725946ab3282fcdadb3c30da59a210 | 30790940bf06779fb04de96d84a4c73257186ff4 | refs/heads/master | 2020-12-11T07:53:29.842678 | 2015-07-05T16:54:53 | 2015-07-05T16:54:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,799 | cpp | #include "PathVertex.hpp"
#include "PathEdge.hpp"
#include "integrators/TraceState.hpp"
#include "integrators/TraceBase.hpp"
#include "primitives/Primitive.hpp"
#include "renderer/TraceableScene.hpp"
#include "sampling/PathSampleGenerator.hpp"
#include "cameras/Camera.hpp"
#include "volume/Medium.hpp"
namespace ... | [
"mail@noobody.org"
] | mail@noobody.org |
e64f4e59f5dba3bce82c83cc2290b0ee2febc6e6 | 83297e194f9840ca190b4e0d534a2928f6bebf8f | /unit-tests.wsjcpp/src/unit_test_basic.cpp | 13b48d368e73aa4a0a78bbf2625ae286f982f8ca | [
"MIT"
] | permissive | wsjcpp/wsjcpp-levenshtein | 7e87b8c8bbf59628a9334520a240144419964ca3 | dd16bb573377d6e7418f142de3ea1cf731092b83 | refs/heads/master | 2020-12-19T04:56:54.988996 | 2020-09-20T08:58:28 | 2020-09-20T08:58:28 | 235,627,466 | 1 | 0 | MIT | 2020-09-20T08:58:29 | 2020-01-22T17:32:19 | C++ | UTF-8 | C++ | false | false | 1,547 | cpp | #include "unit_test_basic.h"
#include <vector>
#include <iostream>
#include <wsjcpp_levenshtein.h>
REGISTRY_WSJCPP_UNIT_TEST(UnitTestBasic)
UnitTestBasic::UnitTestBasic()
: WsjcppUnitTestBase("UnitTestBasic") {
//
}
// ---------------------------------------------------------------------
bool UnitTestBasic:... | [
"mrseakg@gmail.com"
] | mrseakg@gmail.com |
2c00163da3940de8d05aab3ac368a935924d0941 | 48580127d8146f07d31a4bc43cf9edae95961047 | /RachitGoyal/HackerRank/Insert a node at a specific position in a linked list.cpp | 15e3a27701b93de5015abf94e7964f5d6c4fc8d0 | [] | no_license | Bhawna11agg/Uplift-Project | b169ef9973f9b5fe569c6ad3864d21626d078bf9 | 04df721783074ad81f62cf014534dfb8d3a7660e | refs/heads/master | 2022-12-12T12:58:17.116477 | 2020-09-01T13:56:49 | 2020-09-01T13:56:49 | 270,994,809 | 11 | 23 | null | 2020-08-24T04:32:58 | 2020-06-09T12:20:09 | C++ | UTF-8 | C++ | false | false | 2,801 | cpp | #include <bits/stdc++.h>
using namespace std;
class SinglyLinkedListNode {
public:
int data;
SinglyLinkedListNode *next;
SinglyLinkedListNode(int node_data) {
this->data = node_data;
this->next = nullptr;
}
};
class SinglyLinkedList {
public:
S... | [
"noreply@github.com"
] | Bhawna11agg.noreply@github.com |
1051e44c7665d969dfcceaef4dde6bee1dec7173 | 4d1614ba0104bb2b4528b32fa0a2a1e8caa3bfa3 | /code/bess-v1/core/modules/mttest.cc | 589f5426184ef246afa61ee42402ffed5912b3e0 | [
"BSD-3-Clause",
"MIT"
] | permissive | Lossless-Virtual-Switching/Backdraft | c292c87f8d483a5dbd8d28009cb3b5e263e7fb36 | 4cedd1403c7c9fe5e1afc647e374173c7c5c46f0 | refs/heads/master | 2023-05-24T03:27:49.553264 | 2023-03-01T14:59:00 | 2023-03-01T14:59:00 | 455,533,889 | 11 | 4 | MIT | 2022-04-20T16:34:22 | 2022-02-04T12:09:31 | C | UTF-8 | C++ | false | false | 3,595 | cc | // Copyright (c) 2014-2016, The Regents of the University of California.
// Copyright (c) 2016-2017, Nefeli Networks, Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributio... | [
"sarsanaee@gmail.com"
] | sarsanaee@gmail.com |
514c1b7fc4ce90a6965cc11e40b7f4285c3d2b6e | c6ecad18dd41ea69c22baf78dfeb95cf9ba547d0 | /src/boost_1_42_0/libs/math/test/erf_large_data.ipp | ef4ea8b3a5f138ecf7d95558028ad8ddab8782a6 | [
"BSL-1.0"
] | permissive | neuschaefer/qnap-gpl | b1418d504ebe17d7a31a504d315edac309430fcf | 7bb76f6cfe7abef08777451a75924f667cca335b | refs/heads/master | 2022-08-16T17:47:37.015870 | 2020-05-24T18:56:05 | 2020-05-24T18:56:05 | 266,605,194 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 30,804 | ipp | // (C) Copyright John Maddock 2006-7.
// Use, modification and distribution are subject to 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)
#define SC_(x) static_cast<T>(BOOST_JOIN(x, L))
static const boost::array<boost::array... | [
"j.neuschaefer@gmx.net"
] | j.neuschaefer@gmx.net |
b0bfe9ad4e01a6e67c58dcd65edd3f9c693abd06 | 66f66b77fe04b6ee816bb5b395ac98776da40a61 | /src/gpucf/executable/CfRunner.h | ae7d5cbbf681c4241c471b13d4a76ef3a26ede3d | [] | no_license | fweig/gpucf | dfa278388043665f13cc6010754d62f0539342d1 | 83389c7df28d92303e21a47f73bd41bb3241390f | refs/heads/master | 2020-07-08T22:10:13.960899 | 2019-09-24T22:39:41 | 2019-09-24T22:39:41 | 203,793,366 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,064 | h | // Copyright CERN and copyright holders of ALICE O2. This software is
// distributed under the terms of the GNU General Public License v3 (GPL
// Version 3), copied verbatim in the file "COPYING".
//
// See http://alice-o2.web.cern.ch/license for full licensing information.
//
// In applying this license CERN does not ... | [
"felix.weiglhofer@gmail.com"
] | felix.weiglhofer@gmail.com |
5a91e139aca009e859fb4d4a3db877e653d7d52c | 96a6c4758ef996a9ae79fe8def1664aaf2ecdaae | /src/sky_module.cc | c203d950b7738ebf4c236af2830feffc22a91bad | [
"Apache-2.0"
] | permissive | ycq3/SkyAPM-php-sdk | 5c3f2202257862568aa59934104f31af1f8348cd | 0dc3ff97916f6d786001d0b7d3d7dd1553d5665e | refs/heads/master | 2023-05-03T13:45:25.049716 | 2021-05-17T16:47:04 | 2021-05-17T16:47:04 | 348,992,711 | 0 | 0 | Apache-2.0 | 2021-05-14T10:43:15 | 2021-03-18T08:16:29 | C++ | UTF-8 | C++ | false | false | 7,159 | cc | // contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership.
// The ASF licenses this file to You under the Apache License, Version 2.0
// (the "License"); you may not use this file except in compliance with
// the License. You may obta... | [
"noreply@github.com"
] | ycq3.noreply@github.com |
7aa0afb83dfc30e0aa9aadf286556b80fca85661 | a9685046b069dd987905f283f0325b02f4f424e9 | /ToonTanks/Source/ToonTanks/Actors/ProjectileBase.h | d5bbfcffb05b1878bdc716c58b1b162f55920783 | [] | no_license | galliume/unreal | 678fd8174ce4b64666762e0277d91f149f85fd98 | 5c74810940d7209ddcc8066066fd60e3f4fb5b45 | refs/heads/master | 2023-01-03T08:17:15.434232 | 2020-10-29T21:14:16 | 2020-10-29T21:14:16 | 273,072,934 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,102 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Actor.h"
#include "Particles/ParticleSystemComponent.h"
#include "ProjectileBase.generated.h"
class UProjectileMovementComponent;
UCLASS()
class TOONTANKS_API AProjectileBase ... | [
"gcconantc@gmail.com"
] | gcconantc@gmail.com |
3ce6be645dd8a783cbca33dbc21987642c107fed | 52dc9080af88c00222cc9b37aa08c35ff3cafe86 | /0400/60/467b.cpp | aac9e83125e7d8113896114851863c65fca5010e | [
"Unlicense"
] | permissive | shivral/cf | 1c1acde25fc6af775acaeeb6b5fe5aa9bbcfd4d2 | d7be128c3a9adb014a231a399f1c5f19e1ab2a38 | refs/heads/master | 2023-03-20T01:29:25.559828 | 2021-03-05T08:30:30 | 2021-03-05T08:30:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 630 | cpp | #include <iostream>
#include <vector>
template <typename T>
std::istream& operator >>(std::istream& input, std::vector<T>& v)
{
for (T& a : v)
input >> a;
return input;
}
void answer(unsigned v)
{
std::cout << v << '\n';
}
void solve(const std::vector<unsigned>& x, size_t n, size_t k)
{
cons... | [
"5691735+actium@users.noreply.github.com"
] | 5691735+actium@users.noreply.github.com |
90ea5a8dfb2e0a1e949cfffd48ca353dea5b300d | b2c2140258c16cadd876afb31d33e3e7b97a6bfe | /src/include/common/rid.h | 0fa90c1c089ee5a9738ee5b6ffb5ef3eed6e5e69 | [] | no_license | hqnddw/CMU-15445-database | cebafbcbf5bb0ae4ed0fa8b62d5be13eab68aa79 | 9502dcd019696af10e9781f890ab22d658e04bf7 | refs/heads/master | 2020-09-29T20:21:33.501271 | 2020-09-08T06:16:57 | 2020-09-08T06:16:57 | 227,114,452 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,578 | h | /**
* rid.h
*/
#pragma once
#include <cstdint>
#include <sstream>
#include "common/config.h"
namespace cmudb {
class RID {
public:
RID() : page_id_(INVALID_PAGE_ID), slot_num_(-1) {}; // invalid rid
RID(page_id_t page_id, int slot_num)
: page_id_(page_id), slot_num_(slot_n... | [
"173056013@qq.com"
] | 173056013@qq.com |
b0e3c44374d34c604cd866edda55679a5a4cd976 | 04b1803adb6653ecb7cb827c4f4aa616afacf629 | /chrome/browser/devtools/devtools_window_testing.h | a50c06e28af3140fd162c2fd5b06a183c2b9cef0 | [
"BSD-3-Clause"
] | permissive | Samsung/Castanets | 240d9338e097b75b3f669604315b06f7cf129d64 | 4896f732fc747dfdcfcbac3d442f2d2d42df264a | refs/heads/castanets_76_dev | 2023-08-31T09:01:04.744346 | 2021-07-30T04:56:25 | 2021-08-11T05:45:21 | 125,484,161 | 58 | 49 | BSD-3-Clause | 2022-10-16T19:31:26 | 2018-03-16T08:07:37 | null | UTF-8 | C++ | false | false | 2,856 | 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 CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_TESTING_H_
#define CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_TESTING_H_
#include "base/callback.h"
#include... | [
"sunny.nam@samsung.com"
] | sunny.nam@samsung.com |
15312b6e731224d83bbe6eccf8fd116ea746325f | bc6b66123490d46a7a0407584134727a55035974 | /clang/test/AST/ast-dump-template-decls-json.cpp | f201f13dbdaa6f8a28e1c34c4ab24e5b73a5cd28 | [
"Apache-2.0",
"LLVM-exception",
"NCSA"
] | permissive | IBinary6/llvm-project | 4c9c7cbe4cc66a60118c0d72a17254394a72bf3e | f237c7d411fa1b8f55a6a0ece41ed5da936fb76e | refs/heads/master | 2020-06-07T03:27:06.967021 | 2019-06-20T09:58:58 | 2019-06-20T09:58:58 | 192,897,035 | 1 | 0 | null | 2019-06-20T10:07:09 | 2019-06-20T10:07:09 | null | UTF-8 | C++ | false | false | 77,512 | cpp | // RUN: %clang_cc1 -std=c++17 -triple x86_64-unknown-unknown -ast-dump=json %s | FileCheck -strict-whitespace %s
template <typename Ty>
void a(Ty);
template <typename... Ty>
void b(Ty...);
template <class Ty, typename Uy>
void c(Ty);
template <>
void c<float, int>(float);
template <typename Ty, template<typename> ... | [
"aaron@aaronballman.com"
] | aaron@aaronballman.com |
1478b0a1b55c119140a07786e2d6575ce9405667 | 20aa6dae5425159bcbd008bf32e7040d1c7fcf9e | /plugin.cpp | e4ca44c7e36d4322136023df56a4ea996c7ed1f9 | [] | no_license | andydansby/photoreactor-SRR | c04a37c7b90be069e403c97e3837298fd8fa155f | 09aaf049ba7b774b5c1a6141c918b5f9bb48e51a | refs/heads/master | 2021-01-10T13:50:19.461260 | 2016-03-10T10:35:52 | 2016-03-10T10:35:52 | 53,576,331 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,044 | cpp | // plugin.cpp : Defines the entry point for the DLL application.
//
#include "stdafx.h"
#include "IPlugin.h"
#include <math.h>
#include <cmath>
#include <stdio.h>
#include <stdlib.h>
#include <iostream>//to use cout
using namespace std;
/////////////////////////////////////////////////////////////... | [
"andydansby@gmail.com"
] | andydansby@gmail.com |
579aee32328078ce3f2578c44567d2e5bb93c7de | c6b3e60a3db8e30270db498fa8cc72d25efb984e | /src/proj/projections/sterea.cpp | 6d500a3db7870480bdc7dc57b4aca2b617aebfca | [
"MIT"
] | permissive | mdsumner/libproj | 3aa1dc9d3cba9a4b083de0162c9e323b8bccf034 | b815df5411ae6a660fc0e99bd458d601c37c38f6 | refs/heads/master | 2023-08-19T04:20:38.102110 | 2021-10-06T11:54:25 | 2021-10-06T11:54:25 | 285,718,735 | 0 | 0 | null | 2020-08-07T02:32:32 | 2020-08-07T02:32:31 | null | UTF-8 | C++ | false | false | 3,754 | cpp | /*
** libproj -- library of cartographic projections
**
** Copyright (c) 2003 Gerald I. Evenden
*/
/*
** Permission is hereby granted, free of charge, to any person obtaining
** a copy of this software and associated documentation files (the
** "Software"), to deal in the Software without restriction, including
** wi... | [
"dewey@fishandwhistle.net"
] | dewey@fishandwhistle.net |
b1c9b84209b6c97ec87eebc6406ef8a4b5c90895 | da4a4b5461b5cb3ee7548686403d9329ee114148 | /database-objects/Post.h | 7a5c95bd877cac8f170343805be822169802aa94 | [] | no_license | sikorski-as/beeper | 87786efc84f8dddab4c5faad5e3c36c78e1be90c | 40fe7d3ebe8e5046aa3eb95bc5aec9f11209735d | refs/heads/dev | 2020-05-03T15:37:45.819391 | 2019-07-09T06:33:15 | 2019-07-09T06:33:15 | 178,706,895 | 2 | 0 | null | 2019-07-09T06:37:05 | 2019-03-31T15:32:06 | C | UTF-8 | C++ | false | false | 775 | h | //
// Created by hubertborkowski on 28.05.19.
//
#ifndef BEEPER_POST_H
#define BEEPER_POST_H
#include <string>
class Post
{
public:
Post(int id, int userId, const std::string& content) : id(id), userId(userId), content(content)
{}
Post(): userId(), content()
{
id = 0;
}
int getId() const
{
retu... | [
"hborkows@mion.elka.pw.edu.pl"
] | hborkows@mion.elka.pw.edu.pl |
61ec6ab3d355fb6aa5c30f7deaed002a58a201cf | 2488895229415ef17af60c53cbe9d513851afe00 | /Meerkat/inc/KernelDensity.hh | 6c6c9daa0c18e13a3da998b6db4e6609c7a69e1a | [] | no_license | alexpearce/CodePublic | 9ca16c6bdd0804308d73527808431f9781005841 | 159ad602fdb91e6b62ee544a32d3913b7c690249 | refs/heads/master | 2021-01-10T14:26:41.651075 | 2015-07-29T16:45:07 | 2015-07-29T16:45:07 | 43,753,902 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,946 | hh | #ifndef KERNEL_DENSITY
#define KERNEL_DENSITY
#include "AbsDensity.hh"
#include "AbsPhaseSpace.hh"
#include "TMath.h"
#include "TTree.h"
#include "TString.h"
#include "TRandom3.h"
#include <vector>
typedef std::vector<Double_t> TPhspVector;
typedef std::vector<TPhspVector> TCell;
/// Class that describes the unb... | [
"dominik@Dominiks-MBP.home"
] | dominik@Dominiks-MBP.home |
ddfb56f3ed14e3b7a32b5be3032c7855390af09b | 4c39ed31fe1268302952bbe5c2cd456c8083281e | /LeetCode/swapPairs.cpp | bd3ede142b4aab7d916b72eda9f468ed2b7e44a7 | [] | no_license | Abhay4/Algorithm | 37e3b8bd3c9990b896d862f1aa20ad8312f20e75 | 50b157e027c7f0c085a8a15929422e75851fafc4 | refs/heads/master | 2020-12-11T01:37:58.200719 | 2018-01-24T18:24:05 | 2018-01-24T18:24:05 | 38,934,843 | 0 | 0 | null | 2015-07-11T17:46:17 | 2015-07-11T17:46:17 | null | UTF-8 | C++ | false | false | 1,058 | cpp | #include <iostream>
using namespace std;
struct ListNode {
int val;
ListNode *next;
ListNode(int x) : val(x), next(NULL) {}
};
class Solution {
public:
ListNode *swapPairs(ListNode *head) {
if (head == NULL || head->next == NULL) return head;
ListNode* root = head->next;
... | [
"dwb1983@gmail.com"
] | dwb1983@gmail.com |
bf28dd9aa859071a18a8ad36a112d4cb192ffdf1 | b737a40c57e87b5acc5bea57d371e30a489ac1dc | /C++/xiao_gu/try.cpp | 5de03849b39772e4a1c1466baaac94f62eb567af | [] | no_license | GG-yuki/bugs | b89a4a2cdfa082823beb90d9b4cb05916295d25b | bcd9e3b59f05203e0d02921a5f1dc13720dc7bbe | refs/heads/main | 2022-11-08T06:46:09.239289 | 2022-04-10T11:59:13 | 2022-04-10T11:59:13 | 480,004,488 | 2 | 1 | null | 2022-10-26T14:38:52 | 2022-04-10T12:01:48 | Python | UTF-8 | C++ | false | false | 2,198 | cpp | #include<bits/stdc++.h>
using namespace std;
#define max 20001
struct Node{
int to;//指向边的结点
int val;//边的权值
int next;//指向下一个结点的下标
} node[max];
int head[max],n,m,num = 0;
int infinite = 99999;
//建立邻接表
void add(int from,int to,int val){
num++;
node[num].to = to;
node[num].val = val;
node[num].next = head[f... | [
"qiwei_ji@outlook.com"
] | qiwei_ji@outlook.com |
bf9acee295780572801febd767d5efc52c985237 | da43fdc07f0d189fc61499e7aaf4f540404cb6de | /16 Algorithm STL/binary_lower_upper_bound.cpp | b0a301c4274a6834f82ef14cea5660217f5c5b5d | [] | no_license | sarimurrab/DS-Algo-ONCB | c5f062359b67ca000614b360bfd20b76014338e0 | a7fe7fa5c68ab27a376f11f75a81d34db756738c | refs/heads/master | 2023-01-20T14:57:25.374214 | 2020-11-17T18:49:12 | 2020-11-17T18:49:12 | 287,773,855 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 727 | cpp | #include <iostream>
#include <algorithm>
using namespace std;
int main()
{
int arr[] = {1, 2,3,3,3,3,3, 4, 5};
int n = 9;
int key = 3;
// 1--> binary_search(arr, arr+n, key)
bool is_present = binary_search(arr, arr + 5, key);
cout << is_present;
// 2--> Lower Bound ( 1st element match w... | [
"samurrab@gmail.com"
] | samurrab@gmail.com |
a2c63f228f69bacd67d445da3a422bcdbeba650a | 786de89be635eb21295070a6a3452f3a7fe6712c | /PSEnv/tags/V00-06-00/include/EnvObjectStore.h | 9353e5957c9be1d622a43e138702b7b7ab7b784b | [] | no_license | connectthefuture/psdmrepo | 85267cfe8d54564f99e17035efe931077c8f7a37 | f32870a987a7493e7bf0f0a5c1712a5a030ef199 | refs/heads/master | 2021-01-13T03:26:35.494026 | 2015-09-03T22:22:11 | 2015-09-03T22:22:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,082 | h | #ifndef PSENV_ENVOBJECTSTORE_H
#define PSENV_ENVOBJECTSTORE_H
//--------------------------------------------------------------------------
// File and Version Information:
// $Id$
//
// Description:
// Class EnvObjectStore.
//
//------------------------------------------------------------------------
//-------------... | [
"salnikov@SLAC.STANFORD.EDU@b967ad99-d558-0410-b138-e0f6c56caec7"
] | salnikov@SLAC.STANFORD.EDU@b967ad99-d558-0410-b138-e0f6c56caec7 |
1adfe3ce8b3eebcd8555129ba4684de44dbc4a91 | 1b73515fb49ac64e0afa5ba7baf03170451d0e46 | /GameEngine/CoreEngine/CoreEngine/src/Vector3.cpp | 32289787446734402d271d99a8893b5819763085 | [
"Apache-2.0"
] | permissive | suddenly-games/SuddenlyGames | 2af48c0f31f61bad22e7c95124c0f91443ff2d54 | e2ff1c2771d4ca54824650e4f1a33a527536ca61 | refs/heads/develop | 2023-05-02T03:14:21.384819 | 2021-05-12T07:10:29 | 2021-05-12T07:10:29 | 330,379,384 | 1 | 0 | Apache-2.0 | 2021-03-21T03:12:52 | 2021-01-17T11:52:25 | C | UTF-8 | C++ | false | false | 3,787 | cpp | /*
Vector.Cpp
contains implimentation of Vector class functions
*/
#include "Vector3.h"
#include <iostream>
extern "C" {
#include <stdlib.h>
}
#include <sstream>
extern "C" {
#include <math.h>
}
// construct from coordinates
Vector3::Vector3(float x, float y, float z, float w)
{
Set(x, y, z, w);
}
// construct fro... | [
"trevorb101@hotmail.com"
] | trevorb101@hotmail.com |
fe2b2a39b54597fc132df3c91c5bcdfb729668d4 | f6e7bf63d88ddcd43892f62850f8d7f03ba85da0 | /Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp | 99f2b85ede08343fb482525b7b05b3965f673aed | [
"BSD-2-Clause"
] | permissive | frogbywyplay/appframeworks_qtwebkit | 6ddda6addf205fb1a498c3998ef6fc0f3a7d107f | 5a62a119d5d589ffbf8dd8afda9e5786eea27618 | refs/heads/master | 2021-07-09T14:55:57.618247 | 2021-04-28T13:58:39 | 2021-04-28T13:58:39 | 18,559,129 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 35,171 | cpp | /*
* Copyright (C) 2007, 2008 Holger Hans Peter Freyther
* Copyright (C) 2007, 2008 Christian Dywan <christian@imendio.com>
* Copyright (C) 2008 Nuanti Ltd.
* Copyright (C) 2008 Alp Toker <alp@atoker.com>
* Copyright (C) 2008 Gustavo Noronha Silva <gns@gnome.org>
* Copyright (C) 2010 Nokia Corporation and/or its ... | [
"dcaleca@wyplay.com"
] | dcaleca@wyplay.com |
935897b00584b30f7c540b977e7ad274c2004c2a | 4967b0f02627ca9d56eb3d9046bd546ff8ea4db6 | /Windows_Assignment1/Create_Read_File_4/CreateReadFile.cpp | e0766b98bf06d78a0b5db4e8695d0bc0e1cc8db6 | [] | no_license | himamsuvavil/NCRworks | 6c6c9e31337ea9a901c3b1e92dd1c4b117e086e4 | 4f83ad31c0b38001591edbf08d68c5e9478d14d8 | refs/heads/master | 2020-04-20T19:04:20.361398 | 2019-03-21T11:22:56 | 2019-03-21T11:22:56 | 169,039,210 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,529 | cpp | #include<iostream>
#include<windows.h>
#include<tchar.h>
#define BUFFER_SIZE 15
using namespace std;
int _tmain(int argc, TCHAR *argv[])
{
if (argc == 1) //Check if File name is given at command line arguments are not
{
cout << "No File is mentioned at command line arguments" << endl;
return 0;
}
else
{
HAN... | [
"cdac@DESKTOP-SS5H7HT"
] | cdac@DESKTOP-SS5H7HT |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.