blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
09b309d854de54d82285e44d8fe54c0054b65883 | a2ba8b603a916d53e51912e3f6855cef769bdf1b | /dsheader.cpp | fddb30f5e65f7f76d4d9732a073c9009684194a7 | [] | no_license | zhaili/dsicon | 37be10d8fc50fe9c2136ba7e8ea9f6eb0f370c35 | 6acf29f554b2f22cfeb10f0ac7e3f992889bb1ea | refs/heads/master | 2021-01-01T18:02:51.969382 | 2011-02-15T11:15:11 | 2012-03-05T09:32:10 | 3,625,613 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,485 | cpp | #include "stdafx.h"
#include "dsheader.h"
#define LO(b) (b & 0xF)
#define HI(b) ((u8)(b) >> 4)
void ReadTile(char* romname, u8* tile, u16* palette)
{
FILE* fp = fopen(romname, "rb");
if (fp == NULL)
return;
NDS_header header;
Banner banner;
fread(&header, sizeof(header), ... | [
"mrzhaili@gmail.com"
] | mrzhaili@gmail.com |
04c04a2574d139427e11cc80ebac92f757176115 | 714db9aa01dbb598955b883baf09d13283039592 | /python/dartpy/constraint/JointLimitConstraint.cpp | c3c6dd2fe3e12c49a758d3b46d76d2feb1c61d8e | [
"BSD-2-Clause"
] | permissive | JShep1/dart | f553fe311307057bb718d13dfbcc414e089a918b | 0ed33f028386bf5f2cdfe52858a6042ae8b45c38 | refs/heads/master | 2022-12-04T05:02:13.012682 | 2019-05-24T12:20:11 | 2019-05-24T12:20:11 | 275,070,417 | 0 | 0 | NOASSERTION | 2020-07-16T23:50:27 | 2020-06-26T04:07:42 | null | UTF-8 | C++ | false | false | 3,800 | cpp | /*
* Copyright (c) 2011-2019, The DART development contributors
* All rights reserved.
*
* The list of contributors can be found at:
* https://github.com/dartsim/dart/blob/master/LICENSE
*
* This file is provided under the following "BSD-style" License:
* Redistribution and use in source and binary forms, w... | [
"noreply@github.com"
] | noreply@github.com |
ceffa685244d15e99822630e3cf23a470e59e678 | b78978e63445879648ce1cf89513905edb8d3580 | /Affectiva/MultiObjectTLD.h | af69e9859e312733fc52ed8a5d72e7d84edbace2 | [] | no_license | 617475jordan/cam | 7d19a4be1c8aca73dd1a78c75469d88267cd6843 | 757a995558017fbd863a5e5edb0145c7ba0ba304 | refs/heads/master | 2021-09-01T13:20:23.307319 | 2017-12-27T05:57:44 | 2017-12-27T05:57:44 | 114,988,509 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 32,782 | h | /* Copyright (C) 2012 Christian Lutz, Thorsten Engesser
*
* This file is part of motld
*
* This program 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 of the License, or
* (at your o... | [
"617475jordan@sina.com"
] | 617475jordan@sina.com |
994521bf352055220f4d07e17717b130fa44b039 | 4509f3721d6ebea8fd7f4cb23450d2fe56060c77 | /src/example/include/TerrainGenerator.h | 29a9a60176d36f20126148eec89a724c162b5b62 | [] | no_license | Kadowns/RIFE-Engine | 54fa0199a4ba6856f3d925cbcf035f60eb53a75f | 975373ef1e4104edbfcf5fddc5a065dd9e5b05a7 | refs/heads/master | 2020-03-28T02:50:08.366865 | 2019-05-24T15:55:00 | 2019-05-24T15:55:00 | 147,600,758 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 671 | h | #pragma once
#include <PerlinNoise.h>
#include <Mesh.h>
namespace Scripts {
struct TerrainCreateInfo {
struct TextureWeights {
float_t min, max;
};
TextureWeights weights[4];
struct {
uint8_t x, z;
} extent;
uint32_t seed;
float_... | [
"ricardonovak@yahoo.com.br"
] | ricardonovak@yahoo.com.br |
6f90e5ac69c48f841b5567ef6b087c5f9378bae5 | 78918391a7809832dc486f68b90455c72e95cdda | /boost_lib/boost/wave/wave_config_constant.hpp | 85c6116180480241bd249811fdb5c3ebaee7bc9a | [
"MIT"
] | permissive | kyx0r/FA_Patcher | 50681e3e8bb04745bba44a71b5fd04e1004c3845 | 3f539686955249004b4483001a9e49e63c4856ff | refs/heads/master | 2022-03-28T10:03:28.419352 | 2020-01-02T09:16:30 | 2020-01-02T09:16:30 | 141,066,396 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,045 | hpp | /*=============================================================================
Boost.Wave: A Standard compliant C++ preprocessor library
Persistent application configuration
http://www.boost.org/
Copyright (c) 2001-2012 Hartmut Kaiser. Distributed under the Boost
Software License, Version 1.0. (S... | [
"k.melekhin@gmail.com"
] | k.melekhin@gmail.com |
c487833f556b17eb510da60dd5a3dd9f631b3d2c | abe2c978f240a5508f6ec842c9e7a6ab50d4f205 | /libs/ProjectExplorer/templates/wizards/codesnippet/main.cpp | 13f6ae11fefa6d4505260e8a0e11307e9cc24e82 | [] | no_license | kai66673/QWorkNew | 48cdb76edafc36468a9b89a1509db8511f890a42 | de485ae2fff0fa2d0c5274a5c51712896d98c311 | refs/heads/master | 2021-08-26T00:33:25.273835 | 2021-08-25T18:13:13 | 2021-08-25T18:13:13 | 98,813,428 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8 | cpp | %CODE%
| [
"kudryavtsev@teleformis.ru"
] | kudryavtsev@teleformis.ru |
1a4f0b36f9cc1dbd5371d9b32be4b0c637230646 | 12fdd23d5be8013321d3ae0365d99b76ddae27f7 | /Kosaraju.cpp | 416d9848615e80ecd6387d6d53cfd0833e319d03 | [] | no_license | DIPJOY10/CPPGraphSeries | 2322ad2c8465a8bf836e9bc5cc4ea05f0da2f16b | 9f93df3b4aac1cc02d2cf653b0cb5db9709b00de | refs/heads/main | 2023-04-16T22:43:01.500748 | 2021-05-03T10:01:08 | 2021-05-03T10:01:08 | 363,881,749 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,145 | cpp | #include <bits/stdc++.h>
using namespace std;
//we use the Kosaraju's algo to find all the strongly connected components in a directed graph.
//a strongly connected component(SCC) is a component of a directed graph in which we can go from every node to every other.
// we use three steps:
//1. find the topologi... | [
"noreply@github.com"
] | noreply@github.com |
eb0a58504e17a30f6f27312880e64b3173497df0 | 1385c32207e378f47bf2153956825e89228b8de1 | /references/WebRTC/modules/video_coding/jitter_buffer.cc | 4a0622aadef626bda17c1cffa0d1d03058fb559e | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-google-patent-license-webrtc",
"LicenseRef-scancode-google-patent-license-webm",
"Apache-2.0",
"LicenseRef-scancode-proprietary-license",
"LicenseRef-scancode-free-unknown"
] | permissive | marlonnardi/alcinoe | 4d5dc32328fff661792f5805a799e16b001688d1 | 5e14b2fca7adcc38e483771055b5623501433334 | refs/heads/master | 2020-08-12T09:38:29.484894 | 2020-05-17T23:17:32 | 2020-05-17T23:17:32 | 163,667,647 | 1 | 0 | Apache-2.0 | 2019-10-12T22:52:31 | 2018-12-31T12:34:34 | Pascal | UTF-8 | C++ | false | false | 44,800 | cc | /*
* Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | [
"loki5100-nospam@yahoo.fr"
] | loki5100-nospam@yahoo.fr |
7bd50de92ea0a67eba5640e0e935b018e6022d16 | 2f55c9c9cc67712df3f9c12f6f81650fb3f7f1d0 | /processor4/0/nut | 744195b5d02ff3d388f0885ce54f72a0d5296a0b | [] | no_license | bhqasx/Learning-openFoam-case | 86677c25948a2c0ac767be406a9356c2d2907ef9 | 159304b7e5d3579a1dfb3f20dc5ad8be79683222 | refs/heads/main | 2023-07-09T21:27:17.128564 | 2021-08-20T01:15:51 | 2021-08-20T01:15:51 | 397,872,602 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,613 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.1 |
... | [
"815810395@qq.com"
] | 815810395@qq.com | |
1ecd476945ee80924b67e1483209d1b70c87fa2c | 38c10c01007624cd2056884f25e0d6ab85442194 | /components/nacl/renderer/file_downloader.h | a7d73389c72f7e48287b46f152763f514d8a3968 | [
"BSD-3-Clause"
] | permissive | zenoalbisser/chromium | 6ecf37b6c030c84f1b26282bc4ef95769c62a9b2 | e71f21b9b4b9b839f5093301974a45545dad2691 | refs/heads/master | 2022-12-25T14:23:18.568575 | 2016-07-14T21:49:52 | 2016-07-23T08:02:51 | 63,980,627 | 0 | 2 | BSD-3-Clause | 2022-12-12T12:43:41 | 2016-07-22T20:14:04 | null | UTF-8 | C++ | false | false | 2,154 | 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.
#include <string>
#include "base/callback.h"
#include "base/files/file.h"
#include "components/nacl/renderer/ppb_nacl_private.h"
#include "third_party/We... | [
"zeno.albisser@hemispherian.com"
] | zeno.albisser@hemispherian.com |
7dc7e0bd10d8694dd618c54537505633bfb6d7c0 | df80f3a339a6bdf7f91ecf694264077b355e9463 | /contracts/dice/dice.cpp | bc7591627aac05aa1ce41bf5617c20a60b8a04df | [
"MIT"
] | permissive | huangjimmy/coinio | 69762447b0d6732c36ecb3fef015be8e592daf80 | 54bc7c3e1259888361b82805d894322d01a4bc0c | refs/heads/master | 2021-05-11T20:19:30.742745 | 2018-01-18T04:53:53 | 2018-01-18T04:53:53 | 117,438,202 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,469 | cpp | /**
* @file
* @copyright defined in cps/LICENSE.txt
*/
namespace dice {
void apply_offer( const offer_bet& offer ) {
assert( offer.amount > 0, "insufficient bet" );
assert( !hasOffer( offer.commitment ), "offer with this commitment already exist" );
require_auth( offer.player );
auto acnt = get_acco... | [
"jimmy_huang@live.com"
] | jimmy_huang@live.com |
db647354e2823453ddd44c7291e8a63ae0f9c6cc | ce6fc44470dcb5fca78cdd3349a7be70d75f2e3a | /Kattis/installing_apps.cpp | c6e8815c7d65f1f2b1dd72584d70f87ae2ade1d2 | [] | no_license | cormackikkert/competitive-programming | f3fa287fcb74248ba218ecd763f8f6df31d57424 | 3a1200b8ff9b6941c422371961a127d7be8f2e00 | refs/heads/master | 2022-12-17T02:02:40.892608 | 2020-09-20T11:47:15 | 2020-09-20T11:47:15 | 266,775,265 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,598 | cpp | #include <bits/stdc++.h>
using namespace std;
#define FOR(i,a,b) for (int i = (a); i < (b); ++i)
#define F0R(i,a) FOR(i,0,a)
#define ROF(i,a,b) for (int i = (b)-1; i >= (a); --i)
#define R0F(i,a) ROF(i,0,a)
#define f first
#define s second
using ll = long long;
using ld = long double;
ll INF = LLONG_MAX;
using vi = ... | [
"u6427001@anu.edu.au"
] | u6427001@anu.edu.au |
d4e7b1ec5e54c0ad27a543bb0576fa2424e0287f | 39f22d21bb09153fa48670048cb8035f2bdb3ecf | /tests/data-tests.cpp | 19f939336a7c8972849e3bed02894a703de021f4 | [
"MIT"
] | permissive | BurningEnlightenment/sexpr-cpp | bd1784e8e6cd493d2f0467106b2f89128433d511 | 1ab57a0e2e9eb8bbd837869c36faefcbaf8897c1 | refs/heads/master | 2021-01-14T08:05:18.259579 | 2017-02-18T14:06:54 | 2017-02-18T14:06:54 | 81,921,401 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 19,112 | cpp | // Copyright 2017 Henrik Steffen Gaßmann
//
// Licensed under the MIT License.
// See LICENSE file in the project root for full license information.
//
//#include "precompiled.hpp"
#include <sexpr-cpp/data.hpp>
#include "data-helpers.hpp"
#include "boost-unit-test.hpp"
BOOST_TEST_DONT_PRINT_LOG_VALUE(std::type_info)
... | [
"henrik@gassmann.onl"
] | henrik@gassmann.onl |
dbde6d234b7d9221a19558cdea864ab529df6c35 | 0b462cd5d2dfb49d80a1e71251f1c4f2d96c1ad7 | /tests/whitebox/core/wb_render.cc | 63c74d8512d43afb84525b71850586d7af426013 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | hecg119/waflz | 49edd71ad75c6415a468199bfb287941db17e510 | 2a4cc5f9ffc093597c1502b8e450b76eaec8261f | refs/heads/master | 2023-07-03T10:24:15.601959 | 2021-07-23T19:52:06 | 2021-07-23T19:52:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,270 | cc | //! ----------------------------------------------------------------------------
//! Copyright Verizon.
//!
//! \file: TODO
//! \details: TODO
//!
//! Licensed under the terms of the Apache 2.0 open source license.
//! Please refer to the LICENSE file in the project root for the terms.
//! --------------------------... | [
"noreply@github.com"
] | noreply@github.com |
1e6cb703d776d9381626bc3962532ebfec6922e6 | 0d99bcb8b8717008c1ec9b080c6c86c2b1710eee | /날씨/build/Android/Preview/app/src/main/include/Uno.Collections.Selec-30636d68.h | c644aec16f575f9be5a8db80318ca2eb12483884 | [] | no_license | shj4849/Fuse | 526d92bc49a0a2d8087beece987b1701dc35cccc | 447f49f96f9dadf203f5f91e8a1d67f19d8ecc04 | refs/heads/master | 2021-05-15T23:08:09.523726 | 2017-12-21T05:28:53 | 2017-12-21T05:28:53 | 106,758,124 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,716 | h | // This file was generated based on C:/Users/t2/AppData/Local/Fusetools/Packages/Uno.Collections/1.0.1/extensions/$.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Uno.Collections.IEnumerator.h>
#include <Uno.Collections.IEnumerator-1.h>
#include <Uno.IDisposable.h>
#inclu... | [
"shj4849@naver.com"
] | shj4849@naver.com |
f08e978b4f036cc0a47d348f204e5e3b5805fe37 | 07c3ea2f6f6bb8ec5a21bf80ecc61721d2a7a776 | /thread/threadWork.h | 5ad3bfd7c3361203bd324a40492457cf8f435df0 | [] | no_license | tiancihui/bo | 0721969eac6160a40475cae00d34f456fe77bdf9 | 73a0077b5fecdd81c2541baab34684efa32b513c | refs/heads/master | 2021-01-18T13:58:37.245013 | 2015-08-16T06:50:42 | 2015-08-16T06:50:42 | 39,809,898 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 581 | h | #ifndef __THREAD_WORK__
#define __THREAD_WORK__
#include "thread.h"
#include "threadJob.h"
#include "threadPool.h"
#include "../util/util.h"
namespace Thread
{
class threadPool;
class threadJob;
class threadWork : public thread
{
public:
threadWork(threadPool* pool);
virtual ~threadWork();
void... | [
"tiancihui1990@qq.com"
] | tiancihui1990@qq.com |
2788c7024caa60a4914c827a8e6ffc2737cc4cfc | 4516a1da0528fa263d3bb394b9d3e5f07a3d0841 | /Robotopia/Classes/MapTool/MapToolAppDelegate.cpp | 850e1f4a214efe2c99879bd4b108db93408594f7 | [
"MIT"
] | permissive | hjkim170227/ProjectArthas | 03810451ce7513274832b3bae30e3631341f87c9 | 5d3ea4c9a6eeda27bbf4711b4d3e889d07e59575 | refs/heads/master | 2021-01-19T10:45:15.145952 | 2014-12-29T14:02:55 | 2014-12-29T14:02:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 949 | cpp | #include "MapTool/MapToolAppDelegate.h"
#include "MapTool/MapToolScene.h"
#include "GameManager.h"
#include "DataManager.h"
AppDelegate::AppDelegate()
{
}
AppDelegate::~AppDelegate()
{
GET_DATA_MANAGER()->saveModuleData();
}
bool AppDelegate::applicationDidFinishLaunching()
{
auto director = cocos2d::Director::g... | [
"jwvg0425@naver.com"
] | jwvg0425@naver.com |
fd6179780ba9bd65b0177d466fac2cd6f0b9d95b | 25f09056e2e352b41a626223af606e7ccdf90aae | /WhatsProg_cliente/dados_whatsprog.h | 9e16849d62fcb4ccd97fb16e698b5adddb2bf2b8 | [] | no_license | Ieber/WhatsProg | d62ba6f9f5dc27c6e455b10feddaff3caadbc7d7 | 11c9f72d4e8a873950708cb861ae6ce485a32533 | refs/heads/master | 2022-01-24T18:57:33.880578 | 2019-07-22T14:47:56 | 2019-07-22T14:47:56 | 198,235,528 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,096 | h | #ifndef DADOS_WHATSPROG_H
#define DADOS_WHATSPROG_H
#include <string>
#include <stdint.h>
using namespace std;
// Numero de bytes das informacoes a serem enviadas
#define TAM_MIN_NOME_USUARIO 6
#define TAM_MAX_NOME_USUARIO 12
#define TAM_MIN_SENHA 6
#define TAM_MAX_SENHA 12
#define TAM_MAX_MSG 255
// Timeout (em se... | [
"noreply@github.com"
] | noreply@github.com |
ffd2fd3ee4738afb0be33c3749dbbe9c2a2e38f4 | 2a3089a6192d59df7cf0f03519b970de9e68937b | /windows/compilers_and_utilities/dmd2/src/dmd/dmd/mangle.h | 790c803f018e36cf0e96f006f0c9208c5d3632d5 | [
"BSL-1.0"
] | permissive | WhatMeWorry/Delivery | 3a7e46d9103971317f90116e2bc0f8709222b122 | 4c91192e07db2d2a667f954f185fe05e387db104 | refs/heads/master | 2023-06-11T20:26:37.846115 | 2023-06-07T23:17:10 | 2023-06-07T23:17:10 | 94,155,677 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,080 | h |
/* Compiler implementation of the D programming language
* Copyright (C) 1999-2023 by The D Language Foundation, All Rights Reserved
* written by Walter Bright
* https://www.digitalmars.com
* Distributed under the Boost Software License, Version 1.0.
* https://www.boost.org/LICENSE_1_0.txt
* https://githu... | [
"WhatMeWorry@users.noreply.github.com"
] | WhatMeWorry@users.noreply.github.com |
38f5a68a2eba67e8fe81eefa25087bf0daea17fe | 6ecdb46e2e562ebfa476ad5cede63d5783f5d00e | /poj/2096/2096.cpp | 5857781cf93256eaa43983cbfb441c84b2ffea23 | [] | no_license | archer811/ACM | 8ec1d337db65bab3249285b54a102accb677a3b2 | 9c69acd400d6a461d09679fada3605b199cabcb8 | refs/heads/master | 2016-09-06T03:45:28.799640 | 2014-11-09T11:54:04 | 2014-11-09T11:54:04 | 26,379,647 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 817 | cpp | #include<iostream>
#include<cstdio>
#include<cstring>
#include<cmath>
#include<queue>
#include<stack>
#include<algorithm>
#include<set>
#include<ctime>
#include<map>
using namespace std;
double dp[1005][1005];
int main()
{
int n, s, ns;
cin >> n >> s;
ns = n*s;
memset(dp,0,sizeof(dp));
dp[0][0] = ... | [
"2280483505@qq.com"
] | 2280483505@qq.com |
8b38823373ce99ef466767e395d8772c488fbb80 | 22204cffab84e7e6907f013a2d45b116ccb0c66d | /src/masternode-budget.h | 4585cd92592399997a2da91d20143c035f930ede | [
"MIT"
] | permissive | LordSoylent/PrimeStone-2 | bf24751d40d02e14b778e6e29eb2d9a3f9f1ca3f | 6ae3719a45a3ff105a1fe7ca0eb74a979be44def | refs/heads/master | 2020-04-18T21:34:06.721912 | 2019-01-26T19:14:49 | 2019-01-26T19:14:49 | 167,768,307 | 1 | 0 | MIT | 2019-01-27T04:15:02 | 2019-01-27T04:15:02 | null | UTF-8 | C++ | false | false | 18,758 | h | // Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2018 The PIVX developers
// Copyright (c) 2018-2019 The PrimeStone developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef MASTERNODE_BUDGET_H
#... | [
"laohcs9412@gmail.com"
] | laohcs9412@gmail.com |
8725bdd24c7f1fee3db8ee94edb5bb216a11eee9 | 8481b904e1ed3b25f5daa982a3d0cafff5a8d201 | /C++/POJ/POJ 2407.cpp | 1ef51f8e9ff621e16fb9edb98ca9fd317ac7db66 | [] | no_license | lwher/Algorithm-exercise | e4ac914b90b6e4098ab5236cc936a58f437c2e06 | 2d545af90f7051bf20db0a7a51b8cd0588902bfa | refs/heads/master | 2021-01-17T17:39:33.019131 | 2017-09-12T09:58:54 | 2017-09-12T09:58:54 | 70,559,619 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 357 | cpp | #include<iostream>
#include<cstdio>
using namespace std;
long long n;
int main()
{
long long i;
long long sum;
while(cin>>n && n)
{
sum=1;
for(i=2;i*i<=n;i++)
if(n%i==0)
{
n/=i;sum*=i-1;
while(n%i==0)
{
n/=i;
sum*=i;
}
}
if(n>1)
sum*=n-1;
cout<<sum<<endl;
... | [
"751276936@qq.com"
] | 751276936@qq.com |
5e98a86cabbc648eb20810baf94c9b985f126155 | 46ac63fc3beb1d5a7bfda3394a03aa2be3e18b0c | /DLR_Python/include/DynamsoftLabelRecognition.h | f5ccd529166be09cf7d8a5c004f64bd33daf4325 | [] | no_license | ZoroWang/ExtentionPythonByC | 17b85ffe061dbb07a468ad12d1a979bd56946d37 | 265c277e7f99f44967cf50d0687ec944baa6b957 | refs/heads/main | 2023-07-21T09:30:21.982741 | 2021-08-24T01:46:16 | 2021-08-24T01:46:16 | 399,298,715 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 41,135 | h | #pragma once
#if !defined(_WIN32) && !defined(_WIN64)
#define DLR_API __attribute__((visibility("default")))
#include <stddef.h>
#else
#ifdef DLR_EXPORTS
#define DLR_API __declspec(dllexport)
#else
#define DLR_API
#endif
#include <windows.h>
#endif
#define DLR_VERSION "1.2.0.0408"
/**Successful. *... | [
"57085290+ZoroWang@users.noreply.github.com"
] | 57085290+ZoroWang@users.noreply.github.com |
016b9eba1403f07499f57ad81060a45ded0db82a | 1c42215c5558211f02557ef1edd711d067ec78b6 | /src/LiftItems/ZenGin/Gothic_II_Classic/API/oVisFx.h | 175dc0ce31961dd276a4c7a66ec38423ba29bafc | [] | no_license | UnresolvedExternal/Union_AlterDamage | fd5891c3a62896a3e2049e9fea2b3da9721c57c9 | 88b1ae773ea8e5c3762d2a5fd23b3ca7fae5c3b2 | refs/heads/master | 2023-07-26T13:52:00.230498 | 2023-07-11T17:49:13 | 2023-07-11T17:49:13 | 200,260,609 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 21,292 | h | // Supported with union (c) 2018 Union team
#ifndef __OVIS_FX_H__VER2__
#define __OVIS_FX_H__VER2__
#include "z3d.h"
#include "zAi.h"
#include "zParticle.h"
#include "zParser.h"
#include "zKbSplines.h"
#include "zSound.h"
#include "zVobMisc.h"
namespace Gothic_II_Classic {
const int MAX_SPL_LEVEL = 20;
... | [
"vmi1401bsv04@gmail.com"
] | vmi1401bsv04@gmail.com |
c0553678a55f5ecf34b9e137191c97fe8a9b987e | 9f2c8a904642792134e71e784ff1c893c9609bfa | /praktikum1.cpp | 76812ea97b25a8eeeb83ed392cff76f0f4bc4f64 | [] | no_license | rizaldiakhmad/Praktikum03 | 0926360f87412b34a87a4936727006bb6f34192d | 2c9e752f467a3d81155011c208c78fdebc0054f4 | refs/heads/master | 2021-05-07T13:52:23.777234 | 2017-11-06T15:20:03 | 2017-11-06T15:20:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 245 | cpp | #include <iostream>
using namespace std;
int main(){
int x,y,z;
cout<< "nilai x = "; cin>> x;
cout<< "nilai y = "; cin>> y;
if (x>y){
z=x-y;
cout << "x-y =" <<z;
}
else{
z=x-y;
cout <<"y-x = " << z;
}
}
| [
"32384084+RizaldiAkhmad@users.noreply.github.com"
] | 32384084+RizaldiAkhmad@users.noreply.github.com |
ee98889fbc99f7552364812a7bb61625a45eebc7 | d38661e93db7233fb88131c860fa6eae540be54c | /Drone_Socket_Manager.h | ea6c7304c3620372b5627dfa5c9d0110d5df9ab5 | [] | no_license | Arnau6/Ar_drone_2.0 | 4f66af015f11fab763cd9dc759c0849396294e09 | 6b929c445a8a1b30f8c17eaf9584ffcbeca1bfc7 | refs/heads/master | 2021-01-13T09:49:58.120926 | 2014-07-16T10:33:22 | 2014-07-16T10:33:22 | 15,204,863 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 242 | h | #pragma once
class Drone_Socket_Manager
{
public:
Drone_Socket_Manager();
~Drone_Socket_Manager();
void send(char*);
private:
SOCKADDR_IN goal_address;
SOCKET goal_type_socket;
void allowSocket();
void prepare_UDP_connextion();
};
| [
"agbourda@gmail.com"
] | agbourda@gmail.com |
f374879519a6c40432a9cc344d2071715858d3c1 | 77c19e2cc23660f1fe858e863d105ea9f5a775bd | /src/udtconnect_wrap.h | 7ade299c35442b620aae511e4774f4ae1939a21b | [
"LicenseRef-scancode-unicode",
"NTP",
"Artistic-2.0",
"MIT",
"CC0-1.0",
"Zlib",
"LicenseRef-scancode-public-domain-disclaimer",
"BSD-3-Clause",
"ISC",
"NAIST-2003",
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"ICU",
"LicenseRef-scancode-unknown-license-reference",
... | permissive | InstantWebP2P/nodejs-httpp | 661af6b507f90186ad4a5e6ff24ecf4fbaed5793 | e15c133f27dd589b146ec82d853675d480c67171 | refs/heads/v12.x-httpp | 2023-08-13T19:00:40.108919 | 2023-07-19T13:59:16 | 2023-07-19T13:59:16 | 5,900,791 | 26 | 4 | NOASSERTION | 2023-07-18T21:53:05 | 2012-09-21T12:03:21 | JavaScript | UTF-8 | C++ | false | false | 619 | h | #ifndef UDT_CONNECT_WRAP_H_
#define UDT_CONNECT_WRAP_H_
#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS
#include "req_wrap-inl.h"
#include "async_wrap.h"
#include "uvudt.h"
namespace node {
class UDTConnectWrap : public ReqWrap<uvudt_connect_t> {
public:
UDTConnectWrap(Environment* env,
v8... | [
"iwebpp@gmail.com"
] | iwebpp@gmail.com |
d76114b1df28d70bb14cdc40d7702ad6e224d852 | 2847b79afb773f8a26ffa94dfc2be28510836431 | /src/buffer/buffer_pool_manager.cpp | 5e048b4befc906a66b049ed3e1369a143bda2020 | [] | no_license | Handora/KVScan | ae1e732d7e65c566b76609f5ab84da733f048078 | ebc55df328d132c83403d91fa3aca41cad32ba77 | refs/heads/master | 2020-03-06T23:03:27.813638 | 2018-03-30T15:58:44 | 2018-03-30T15:58:44 | 127,122,214 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,744 | cpp | /**
* buffer_pool_manager.cpp
* @author: Handora
* @email: qcdsr970209@gmail.com
* memory page buffer managerment based on lru_replacer
*/
#include <iostream>
#include "buffer/buffer_pool_manager.h"
#include "page/page.h"
namespace kvscan {
BufferPoolManager::BufferPoolManager(size_t pool_size,
Dis... | [
"qcdsr970209@gmail.com"
] | qcdsr970209@gmail.com |
a8a9af1482ecaa8cab7b838e0f1ff1c35aa553cc | f73ba1128cd9386b08f416ff42ce8cfd90eeb7fb | /SSProject/Content.cpp | eec051e87bbb125956189811866079173559ae7e | [] | no_license | ChimneyCake/SSProject | 6e22ac88408a233e0002f505d8f43be410341c38 | 61a8c57079bad563aa250737c05db2aad8c25c8c | refs/heads/master | 2021-01-15T18:40:58.032204 | 2017-08-23T22:06:45 | 2017-08-23T22:06:45 | 99,797,617 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 418 | cpp | #include "Content.h"
#include "Const.h"
Content::Content()
{
disp = "";
}
string Content::getInstructionHexCode()
{
return this->instructionHexCode;
}
void Content::setInstructionHexCode(string code)
{
code = returnAsLittleEndian(code);
this->instructionHexCode = code;
}
string Content::getDisp()
{
return disp;... | [
"opacicksenija@gmail.com"
] | opacicksenija@gmail.com |
67da7b40adaca7a57cef18c4581578f9b279e45e | bd0f075644ebc04f11f9cc6a343faae56dda87a8 | /src/index.cc | d7e098908af62b7bae90ce12111f4d5c56c3632d | [
"MIT"
] | permissive | jaredhanson/node-gitteh | 3ac5dc5cbbecc5fc160af7baaa38f80775de87cc | de208e2e9769526e992e68393bb969e9596d6c99 | refs/heads/master | 2023-08-12T10:43:44.029377 | 2011-07-20T01:38:29 | 2011-07-20T01:38:29 | 3,116,606 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 11,930 | cc | /*
* The MIT License
*
* Copyright (c) 2010 Sam Day
*
* 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 without limitation the rights
* to use, copy, modi... | [
"sam.c.day@gmail.com"
] | sam.c.day@gmail.com |
ea3ba020d0e3abba8a9c5267485cf60a12565093 | ed5669151a0ebe6bcc8c4b08fc6cde6481803d15 | /test/magma-1.6.0/src/zgetri_gpu.cpp | db973ba8e2fa67fa9d9cf6060a8165b5689a8bb9 | [] | no_license | JieyangChen7/DVFS-MAGMA | 1c36344bff29eeb0ce32736cadc921ff030225d4 | e7b83fe3a51ddf2cad0bed1d88a63f683b006f54 | refs/heads/master | 2021-09-26T09:11:28.772048 | 2018-05-27T01:45:43 | 2018-05-27T01:45:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,023 | cpp | /*
-- MAGMA (version 1.6.0) --
Univ. of Tennessee, Knoxville
Univ. of California, Berkeley
Univ. of Colorado, Denver
@date November 2014
@precisions normal z -> s d c
*/
#include "common_magma.h"
#define PRECISION_z
// === Define what BLAS to use ==============================... | [
"cjy7117@gmail.com"
] | cjy7117@gmail.com |
9f0f84a3b12d2c534c9cab533dc6544c54bdb444 | 6f50cc6d20ca8ee6664ddff005a595732eab88f4 | /src/node/view_change.h | 7f39cc03b28bade31e472a902da5ba75adaa5c03 | [
"Apache-2.0"
] | permissive | Saiprasad16/CCF | 032fccd9270f8aa0327f2a229185fe71ca822db3 | 9db09d03d77b3e006307f516df07d056e9a462f5 | refs/heads/main | 2023-04-26T23:38:27.109892 | 2021-05-07T17:06:12 | 2021-05-07T17:06:12 | 365,998,998 | 1 | 0 | Apache-2.0 | 2021-05-10T10:16:24 | 2021-05-10T10:10:20 | null | UTF-8 | C++ | false | false | 2,310 | h | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the Apache 2.0 License.
#pragma once
#include "crypto/hash.h"
#include "node_signature.h"
#include "service_map.h"
#include <string>
#include <vector>
namespace ccf
{
struct ViewChangeRequest
{
std::vector<NodeSignature> signatures... | [
"noreply@github.com"
] | noreply@github.com |
1be5171a29e25b2204355ce117dffe5930fbe06a | 4f0d2e2ab8a7bbc1cafda0a82610b7947ac02916 | /coldlang/ModuleConfig.h | 101b9d3c6d2ef27758a6a9a7f322a2c05966651c | [
"MIT",
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference",
"JSON"
] | permissive | hanayashiki/ColdLang | 17b92617c1792546ea252b9e0b63caba998d9e67 | b0b5bbdb15fb10c7d798c84156b57bc360881fcd | refs/heads/master | 2020-03-19T10:18:48.002642 | 2018-10-05T05:44:51 | 2018-10-05T05:44:51 | 136,360,488 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 184 | h | #pragma once
#include "Config.h"
class ModuleConfig : Config
{
public:
ModuleConfig(std::string config_addr);
~ModuleConfig();
int max_code_length;
int reserved_code_space;
};
| [
"494450105@qq.com"
] | 494450105@qq.com |
9d2eb126f96b70b05cb9268a6a8a1af6d8395342 | 3ff25f5f9d9d778ac4ed7331f03beee41ea5aecb | /Game Engine/ShaderProgram.h | 8f38577c7d24bc335e85ab768a952d4fb41cde06 | [] | no_license | shaoyang008/AwesomeGameEngine | d6ce4a39762e1d6a50f4f16d5862b160f79c3794 | 2c13d5134397b45aa98c8fa976ba72181b79071c | refs/heads/master | 2022-03-28T08:40:33.636144 | 2019-12-11T05:01:43 | 2019-12-11T05:01:43 | 208,950,907 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 837 | h | /*-------------------------------------------------------
Copyright (C) 2019 DigiPen Institute of Technology.
Reproduction or disclosure of this file or its contents without the prior
written consent of DigiPen Institute of Technology is prohibited.
File Name: ShaderProgram.h
Purpose: Compile and link shader programs... | [
"shaoyang008@hotmail.com"
] | shaoyang008@hotmail.com |
a3ed280aaa0eff90647447e85476eba1d7810407 | 6d8c5e578ba64574257e229ede28d7ac3817ea44 | /pos/Src/ISO8583_BatchUpload.hpp | 7d2fe853257b569281979f93d2a042297b71df24 | [] | no_license | suyuti/Hypercom | 0771b4a1a88fdf0077799de6fb9146ae4884c998 | fca325792378f83008d19f9f0f577e3f2ed6cb83 | refs/heads/master | 2021-01-13T01:28:46.126789 | 2015-02-26T20:39:25 | 2015-02-26T20:39:25 | 31,387,832 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,825 | hpp | //=============================================================================
// Company:
// Hypercom Inc
//
// Product:
// Hypercom Foundation Classes
// (c) Copyright 2006
//
// File Name:
// ISO8583_BatchUpload.hpp
//
// File Contents:
// Interface for the ISO8583_BatchUpload class. This ... | [
"mehmet.dindar@SMART0178.smartmoss.local"
] | mehmet.dindar@SMART0178.smartmoss.local |
a1be929a6323c99299c4e2110be339546d1c77ef | d9f7daa44b2d829f992069642c2334c514d98650 | /phuongtrinhbac2.cpp | a17d1da3df6de21be0d5e04176233763a08fd894 | [] | no_license | siligan8792/t2011eTestGit_LBEP | 0500ec16f146f6ed16d6ae737ccf29063aeb3211 | 5228fe98395bd3386f18f09d8dc0621c748f2234 | refs/heads/master | 2023-02-02T10:32:01.705231 | 2020-12-21T12:26:02 | 2020-12-21T12:26:02 | 315,912,516 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 686 | cpp | #include<stdio.h>
#include<math.h>
int main ()
{
int a,b,c;
printf ("nhap a= ");
scanf ("%d",&a);
printf ("nhap b= ");
scanf ("%d",&b);
printf ("nhap c= ");
scanf ("%d",&c);
if (a==0){
if (b==0){
if (c==0){
printf ("Phuong trinh vo so nghiem");
}
else{
printf ("Phuong trinh vo nghiem");
... | [
"nguyenthang871992@gmail.com"
] | nguyenthang871992@gmail.com |
ffc3d51fec48a0512c7f9bd5065d3aeb2b1de968 | 52ca17dca8c628bbabb0f04504332c8fdac8e7ea | /boost/mpl/aux_/preprocessed/bcc_pre590/fold_impl.hpp | 4f8b15862430387cedebebee78713a51c33ebca2 | [] | no_license | qinzuoyan/thirdparty | f610d43fe57133c832579e65ca46e71f1454f5c4 | bba9e68347ad0dbffb6fa350948672babc0fcb50 | refs/heads/master | 2021-01-16T17:47:57.121882 | 2015-04-21T06:59:19 | 2015-04-21T06:59:19 | 33,612,579 | 0 | 0 | null | 2015-04-08T14:39:51 | 2015-04-08T14:39:51 | null | UTF-8 | C++ | false | false | 88 | hpp | #include "thirdparty/boost_1_58_0/boost/mpl/aux_/preprocessed/bcc_pre590/fold_impl.hpp"
| [
"qinzuoyan@xiaomi.com"
] | qinzuoyan@xiaomi.com |
6e4f1881ce5d7c8506439f38114bdff149d4f84a | 887f3a72757ff8f691c1481618944b727d4d9ff5 | /third_party/gecko_1.9.2/win32/gecko_sdk/include/nsIDOMHTMLHeadingElement.h | a72c09a2c556cff9da37adf7ec2f110cbbebdbbc | [] | no_license | zied-ellouze/gears | 329f754f7f9e9baa3afbbd652e7893a82b5013d1 | d3da1ed772ed5ae9b82f46f9ecafeb67070d6899 | refs/heads/master | 2020-04-05T08:27:05.806590 | 2015-09-03T13:07:39 | 2015-09-03T13:07:39 | 41,813,794 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,359 | h | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM e:/builds/moz2_slave/mozilla-1.9.2-win32-xulrunner/build/dom/interfaces/html/nsIDOMHTMLHeadingElement.idl
*/
#ifndef __gen_nsIDOMHTMLHeadingElement_h__
#define __gen_nsIDOMHTMLHeadingElement_h__
#ifndef __gen_nsIDOMHTMLElement_h__
#include "nsIDOMHTMLElement.h"
#endif... | [
"gears.daemon@fe895e04-df30-0410-9975-d76d301b4276"
] | gears.daemon@fe895e04-df30-0410-9975-d76d301b4276 |
c4415c4344578c4881ac98634b4f09eaefc555f7 | 368cafb36cdffa995642f8fed7eed2c7b5faeadd | /mydate.cpp | 30d52a5702a7ccb4245628c96687cac3b728071b | [] | no_license | Tacita13/myDate | 62ae3222c6bb9080e19e218b6a0bf781bd6f362b | cd90e50919ebe582970b94a5678f63e902b1fed5 | refs/heads/master | 2020-05-24T18:12:09.373712 | 2017-03-20T00:26:40 | 2017-03-20T00:26:40 | 84,867,993 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,111 | cpp | // CCOM 4029: Lenguajes de Alto Nivel
// Profesor: Eric Gamess
//
// Estudiantes:
// Alex Castiillo Carrasco
// Isamar López Rodríguez
// Rafael L. Marrero Fernández
// Descripción :This file holds the implementation of the class myDate.
// This class manages dates which consits of three numbers that re... | [
"noreply@github.com"
] | noreply@github.com |
c6c2e731f4edf1e601d5bf7a26558f55937f2b4a | ae01158eebc447c165eb75816b4f9f1422aa6f25 | /OralCellDataPreparation/mag2.cpp | 0dac4a838e5a38c9f47b5b00d8027ee2bd05ebff | [
"MIT",
"LicenseRef-scancode-other-permissive"
] | permissive | MIDA-group/OralScreen | 025126d890b257cebd927f5d91739fb01827328d | b6af8a0039d9efe97a31f59c19d3fe859a131980 | refs/heads/master | 2021-12-15T01:56:11.727324 | 2021-11-26T14:48:08 | 2021-11-26T14:48:08 | 216,938,544 | 13 | 3 | MIT | 2020-04-03T19:47:01 | 2019-10-23T01:04:40 | Python | GB18030 | C++ | false | false | 4,433 | cpp | #include "mex.h"
#include <iostream>
#include "math.h"
///////////////////////////////////////////////////////////////////////////
/////////////////////输入的时候别忘了tmp_x,tmp_y,sum_x,sum_y////////////
/////////////////////////////////////////////////////////////////////////////
//#define CHECK_INDEX(x1,x2,y1,y2,imag... | [
"Jiahao.Lu.2199@student.uu.se"
] | Jiahao.Lu.2199@student.uu.se |
2fad89250b89ea5415233710b7984b8315045cbe | 574bf4097bc4f03bc11b6d6e9be93b4aa6cf3125 | /ct_of_ss_with_given_diff.cpp | 0e5508ff62c9cac00513276177c5ce2cc4ded9f0 | [] | no_license | Simply-Shashi/dynamic_programming | 32d0378d1a15c0c1db21bdb679338ce5b81feec5 | b0590bdc1ad275cd0c91fa9d7bf3a9bdf57ee213 | refs/heads/master | 2023-01-28T01:36:24.733753 | 2020-11-11T18:10:59 | 2020-11-11T18:10:59 | 306,507,954 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,057 | cpp | #include <iostream>
using namespace std;
class ct_of_ss_with_given_diff
{
public:
int subsetsum(int arr[], int sum, int n)
{
int t[n + 1][sum + 1];
for (int i = 0; i < n + 1; i++)
{
for (int j = 0; j < sum + 1; j++)
{
if (i == 0)
... | [
"ethicalhacker605@gmail.com"
] | ethicalhacker605@gmail.com |
582636641bfcd5b449619b5529c3f42114cdefc4 | 3c48f61c8893c072847a9f8cf618fcb50efc2a21 | /Selected100/070.cpp | 16a7719311de61e7e57e26661bc5d2b981aa87c9 | [] | no_license | sotetsuk/procon | 550ae9b9c39ea8616789f5b4566d6715bb9d0828 | e6f2c5fb558d372efd7833825e885db7a4fee4a8 | refs/heads/master | 2021-06-28T01:30:50.794701 | 2020-10-17T19:47:30 | 2020-10-17T19:47:30 | 20,493,581 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 435 | cpp | #include <iostream>
// namespace
using namespace std;
// consts
int MOD = 1000000007; // https://qiita.com/drken/items/3b4fdf0a78e7a138cd9a
long long modpow(long long a, long long p) {
if (p == 1) return a % MOD;
if (p % 2 == 1) return modpow(a * a % MOD, p / 2) * a % MOD;
else return modpow(a * a % MOD... | [
"koyamada-s@sys.i.kyoto-u.ac.jp"
] | koyamada-s@sys.i.kyoto-u.ac.jp |
78bb1414dcb9ec0c4da15d4b8991813b166cd79c | 36184239a2d964ed5f587ad8e83f66355edb17aa | /.history/hw3/ElectoralMap_20211021084655.cpp | 434f713ebe923110b9301043af5fa6e4ae70397e | [] | no_license | xich4932/csci3010 | 89c342dc445f5ec15ac7885cd7b7c26a225dae3e | 23f0124a99c4e8e44a28ff31ededc42d9f326ccc | refs/heads/master | 2023-08-24T04:03:12.748713 | 2021-10-22T08:22:58 | 2021-10-22T08:22:58 | 415,140,207 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,710 | cpp | #include<iostream>
#include<map>
#include<set>
#include<random>
#include<time.h>
#include<cmath>
#include<stdlib.h>
#include"ElectoralMap.h"
#define num_district 3
#define num_enum 4
#define one_person 1
//int Candidate::id = 0;
int ElectoralMap::count_district = 0;
int Election::ids = 0;
std::vector<int> Election::... | [
"70279863+xich4932@users.noreply.github.com"
] | 70279863+xich4932@users.noreply.github.com |
a0ce1c85ad520dbc5b05805050af7133f3e68c2a | 1d928c3f90d4a0a9a3919a804597aa0a4aab19a3 | /c++/JUCE/2017/8/juce_android_InAppPurchases.cpp | f9d4a25d201f31bc4128aa9b6dc2eeb99eb7b159 | [] | no_license | rosoareslv/SED99 | d8b2ff5811e7f0ffc59be066a5a0349a92cbb845 | a062c118f12b93172e31e8ca115ce3f871b64461 | refs/heads/main | 2023-02-22T21:59:02.703005 | 2021-01-28T19:40:51 | 2021-01-28T19:40:51 | 306,497,459 | 1 | 1 | null | 2020-11-24T20:56:18 | 2020-10-23T01:18:07 | null | UTF-8 | C++ | false | false | 43,137 | cpp | /*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2017 - ROLI Ltd.
JUCE is an open source library subject to commercial or open-source
licensing.
By using JUCE, you agree to the terms of both the JUCE 5 End... | [
"rodrigosoaresilva@gmail.com"
] | rodrigosoaresilva@gmail.com |
7b58310559bdd5498802245e6ca5449a4574ad9c | 38cadc0ea0c82b07ab67bf0d471ef560da81d827 | /lab 4/OctreeRayTracer/OctreeRayTracer/Scene.h | 65baf25b34ab57ae9dba1acb30dce5b4c5518d07 | [] | no_license | ThomasMGilman/ETGG-4804 | fea022fc0f06a25d6ccd02db8d5aa7419e8f815f | f0f455b7cbfe9de0cbd7d71be729c4aad8be8e5d | refs/heads/master | 2022-07-10T01:19:44.270304 | 2020-05-19T20:41:03 | 2020-05-19T20:41:03 | 204,701,861 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,720 | h | #pragma once
#include <string>
#include "Sphere.h"
#include "Mesh.h"
#include <vector>
#include <fstream>
#include <sstream>
#include "usefullFunctions.h"
class Scene {
public:
std::vector<Sphere> spheres;
std::vector<Mesh> meshes;
Camera camera;
vec3 lightPosition = vec3(0,10,0);
vec3 minPoint =... | [
"Thomas.Gilman@ymail.com"
] | Thomas.Gilman@ymail.com |
878f4a31683e486515f7a24b2b99181e472cb3ff | b294690d5471aba74e169d74487d46fb042defee | /Mikoshikagura/Source/ParticleOfLight.h | 540d03a8c9b4216581d348bf87c1883a8dd47fad | [] | no_license | yzysonic/mikoshikagura | 25ca49196c1f35a4eec4569d9bc91bc6d1f3072a | 51e6f98ce094744afbda672709662a078e600a8e | refs/heads/master | 2020-03-16T06:12:59.699558 | 2018-07-26T09:28:35 | 2018-07-26T09:28:35 | 132,549,460 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 751 | h | #pragma once
#include "Core\Core.h"
#include "ISeason.h"
#include "MapManager.h"
class LightParticleBehavior : public IParticleBehavior
{
public:
int noise_octavers = 2;
float rise_speed = 3.0f;
float noise_scale = 9.0f;
float noise_frequency = 0.05f;
float camera_range = 100.0f;
LightParticleBehavior(MapMan... | [
"bbrnobby@gmail.com"
] | bbrnobby@gmail.com |
ef829f5dc58a30883194ae725ad558596735bcec | 6710593a8befd769fb592c835749bc3d48665b57 | /10.1/stock/stock1.h | fe4d549084905a0f4fdef25db980c973b442d580 | [] | no_license | heathjay/C-_study | 30f0df6be5fcf59db542a29479972cfdd6ae401c | 68213d3fb1e6903db8f30a057e48f9c05cedda62 | refs/heads/master | 2022-11-07T05:58:58.824555 | 2020-06-20T22:31:13 | 2020-06-20T22:31:13 | 268,048,698 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 553 | h | #ifndef STOCK1_H_
#define STOCK1_H_
class Stock{
private:
char company[30];
int shares;
double share_val;
double total_val;
void set_tot(){
total_val = shares * share_val;
}
public:
// void acquire(const char * co, int n, double pr);
voi... | [
"jpmzy@163.com"
] | jpmzy@163.com |
df47e5c1974425c8290e3b12fe91bb05938d5295 | 7d39c6799f82b3408173778814d15e06493922e8 | /Models/henon.h | ba46ce2df83c8b309a25f66e78518e8638f0f282 | [] | no_license | Maldela/Macrodyn-Qt | 73c6f260432ab5b7ca324523f002f66b06e1c3b8 | b736270121f5e138feb4a7e3a4bd5c92a561b1b9 | refs/heads/master | 2020-05-20T01:30:35.477339 | 2015-09-29T13:05:52 | 2015-09-29T13:05:52 | 26,758,413 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,683 | h | #ifndef HENON_H
#define HENON_H
//$Header: /home/vwlt1/mmeyer/macrodyn_dmdyn/src/Models/RCS/henon.h,v 1.1 2000/08/31 15:57:00 mmeyer Exp $
/******************************************************************************/
/* */
/* Module name: h... | [
"maldela@halloarsch.de"
] | maldela@halloarsch.de |
4b010ab72e20f5622f662986e3c4a962605c7150 | a122f73914319a63045d0e16f72203ed8367bdf0 | /src/expressions/expression_whole.cpp | 4abd333821f8eaf0af53b851fbc8d99f6fcf8c69 | [] | no_license | curiousTauseef/design_patterns_1 | d683c9e38f2e82901a4ca307ef9db7b616602356 | 899c59c5e7a2c1995386620cbd72d28a394a6c57 | refs/heads/master | 2021-03-31T06:37:21.821639 | 2019-09-09T17:56:04 | 2019-09-09T17:56:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 516 | cpp | #include "expressions/expression_whole.h"
#include <iostream>
void expression_whole::push_exp(expression* e) {
m_expressions.push_back(e);
}
bool expression_whole::interpret(vehicle* v) {
std::vector<expression*>::iterator it;
it = m_expressions.begin();
for ( ; it != m_expressions.end(); ++it ){
... | [
"52882836+stefanmiletic-pmf@users.noreply.github.com"
] | 52882836+stefanmiletic-pmf@users.noreply.github.com |
5be79597111191025e948aa3724477c00850b459 | c5d9752a3f219a246ce8b467c8291f7ae9657afd | /common/Application.h | e1041014be0d671189be6d20af4ef6f37453acc6 | [
"MIT"
] | permissive | xcheng85/OpenGLSandbox | d4846998ad1f88ee6df23eee24b11379dd71d96d | ae976e1d12fb43870b3683c3c45de85f43ca260d | refs/heads/master | 2021-07-11T17:58:55.680716 | 2020-06-29T02:32:59 | 2020-06-29T02:32:59 | 165,541,004 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,360 | h | #pragma once
#include <string>
struct GLFWwindow;
namespace OpenGLSandbox
{
namespace Common
{
class Application
{
public:
Application(unsigned int width = 1920, unsigned int height = 1080, std::string title = "OpenGLSandbox");
virtual ~Application(){};
... | [
"shane85cheng@gmail.com"
] | shane85cheng@gmail.com |
03386fd41032890a4a3a218df389eee3e67511cc | c12dc233139fc8aa95877e6081e671c4a972b091 | /TEvtGen/EvtGen/EvtGen.cxx | f2e7102b88d5a858d367f422942fbe82384c4118 | [] | no_license | yanqicw/ORKA-ILCRoot | b4be984cb9f1991b0c174da7428366af4973ef84 | 6e66c4cbae6835586274a385bee9bed254a63976 | refs/heads/master | 2020-04-01T02:27:50.942859 | 2012-12-03T17:51:10 | 2012-12-03T17:51:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,526 | cxx | //--------------------------------------------------------------------------
//
// Environment:
// This software is part of the EvtGen package developed jointly
// for the BaBar and CLEO collaborations. If you use all or part
// of it, please give an appropriate acknowledgement.
//
// Copyright Informat... | [
"anna@fbb65c11-2394-7148-9363-1d506dd39c89"
] | anna@fbb65c11-2394-7148-9363-1d506dd39c89 |
1adca71128405d0ce6d3bb4038cd31274f32127e | fb7efe44f4d9f30d623f880d0eb620f3a81f0fbd | /chrome/browser/printing/cloud_print/privet_device_lister_impl.h | 5eeff67fec17564c2c7edd787538e8d0f65071a8 | [
"BSD-3-Clause"
] | permissive | wzyy2/chromium-browser | 2644b0daf58f8b3caee8a6c09a2b448b2dfe059c | eb905f00a0f7e141e8d6c89be8fb26192a88c4b7 | refs/heads/master | 2022-11-23T20:25:08.120045 | 2018-01-16T06:41:26 | 2018-01-16T06:41:26 | 117,618,467 | 3 | 2 | BSD-3-Clause | 2022-11-20T22:03:57 | 2018-01-16T02:09:10 | null | UTF-8 | C++ | false | false | 1,489 | h | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_PRINTING_CLOUD_PRINT_PRIVET_DEVICE_LISTER_IMPL_H_
#define CHROME_BROWSER_PRINTING_CLOUD_PRINT_PRIVET_DEVICE_LISTER_IMPL_H_
#includ... | [
"jacob-chen@iotwrt.com"
] | jacob-chen@iotwrt.com |
a8d1ecebc27940ab23c48de20a4a082ce9ec67ee | c5ab18ed0e400cab3aed75b49ea59b8be045f9a6 | /trunk/SieGet/gui.h | 8aef9d13743bdf929e52c2ab37a363a776f9b408 | [] | no_license | mksy/st_hunter | c1ff271802432558f3de9ef5a38e9eb8eb9110cb | 99516820b63b454a5fcc58cd4568dd07cf05259b | refs/heads/master | 2022-04-08T15:00:17.674144 | 2020-03-04T07:23:05 | 2020-03-05T09:33:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 659 | h | #ifndef _GUI_H_
#define _GUI_H_
#include "include.h"
#define GUI_RESULT_REDRAW (-1)
#define GUI_RESULT_CLOSE ( 1)
#define GUI_RESULT_OK ( 0)
class AbstractGUI;
typedef struct
{
GUI gui;
AbstractGUI *ab;
} MAIN_GUI;
class AbstractGUI
{
public:
MAIN_GUI *mg;
int gui_id;
REC... | [
"korekovtsevda@lad24.ru"
] | korekovtsevda@lad24.ru |
93a8a302f0e2797495406b33bf1703e2ec3a7e93 | e36e49d2cd31a28097fa1f066b5e65915c19e858 | /include/doll/Math/SIMD.hpp | da41095bd0841a60600f168172cbf70e77fd8588 | [
"Zlib",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | axia-sw/Doll | 9074e8a4b3dfcc6c02ea9abd78c2ae5f33f0da75 | a5846a6553d9809e9a0ea50db2dc18b95eb21921 | refs/heads/master | 2021-06-28T13:22:16.857790 | 2020-12-18T12:35:14 | 2020-12-18T12:35:14 | 74,479,497 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,607 | hpp | #pragma once
#include "../Core/Defs.hpp"
#include "Intrinsics.hpp"
namespace doll {
/// @typedef F32 V128[ 4 ]
/// @brief 128-bit SIMD vector intrinsic type.
///
/// @typedef V128 P_V128
/// @brief 128-bit SIMD vector type for parameter passing.
#if AX_INTRIN_SSE
typedef __m128 V128;
t... | [
"nocannedmeat@gmail.com"
] | nocannedmeat@gmail.com |
8d3f54aaef3cfa2144ba0bdfc22aaee51edb704f | ecdf29d7e17c251957af5682aa6cc6d1976fe1f2 | /Algorithms/ALgorithmsAgregator.h | 988d69b1cee1faf9339729204496236969e50d87 | [] | no_license | muffinangel/C--university-projects | 478ec74f7fbdeebf6ba96a167e5433ca5c0223d5 | 943c72eb8d14ebf821197017ef77218c4d54091f | refs/heads/master | 2020-03-27T22:20:00.375662 | 2018-09-13T10:05:36 | 2018-09-13T10:05:36 | 147,222,097 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 810 | h | #ifndef ALGORITHMSAGREGATOR_
#define ALGORITHMSAGREGATOR_
#include "Algorithm.h"
#include "Vigenere.h"
#include "Cezar.h"
#include "FenceCode.h"
#include "RSA.h"
#include <iostream>
#include <string>
#include <cmath>
class AlgorithmsAgregator {
private:
Algorithm *ptr_;
public:
void setAlgorithm(Algorithm *p... | [
"karoten3@gmail.com"
] | karoten3@gmail.com |
9beb51795fe315aa772e0f42a0bf32f85ac0e23a | 3efae27c34a1fd9661729f0ddad32a375f78b412 | /Programma Arduino/Movimento/Robot_Positioning/Robot_Positioning.ino | f77144c3253627c948a4b42b6f2196a131131ad5 | [] | no_license | LHLHLHLHTTTRFCCXXXC/3dof_robot_wt_conv_belt | 52b89969566d4f6296d4d70f2b7bd290f05801c8 | b9d74bead366d6d8f3c13b1e73d97bcb45d75531 | refs/heads/main | 2023-03-01T21:29:14.711613 | 2021-02-05T20:39:35 | 2021-02-05T20:39:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,068 | ino | /*
This program moves the robot in the 3 position.
Position1 R. takes the piece
Position2-3-4 R. leaves the piece
Position5-6 R. stand-by position
Tongs program open and close the tong,
in open position(1) the angle of the 4th motor is 158 degrees.
Function used:
setLED(G15_ID, onOff); // Control G15 LED. onOff: O... | [
"dennis.zanutto@mail.polimi.it"
] | dennis.zanutto@mail.polimi.it |
82e351b8ab15c1e55b433006d4f71222f5e86a00 | 05f637fa14ac28031cb1ea92086a0f4eb23ff2b1 | /src/library/substitution.h | 931db1e10df86b5a0745de621709044eeffda2b3 | [
"Apache-2.0"
] | permissive | codyroux/lean0.1 | 1ce92751d664aacff0529e139083304a7bbc8a71 | 0dc6fb974aa85ed6f305a2f4b10a53a44ee5f0ef | refs/heads/master | 2021-01-16T20:55:35.062666 | 2014-06-07T14:14:40 | 2014-06-07T14:14:40 | 19,588,851 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 841 | h | /*
Copyright (c) 2013 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura
*/
#pragma once
#include "util/lua.h"
#include "util/splay_map.h"
#include "util/name.h"
#include "kernel/expr.h"
#include "kernel/metavar.h"
namespace lean {... | [
"leonardo@microsoft.com"
] | leonardo@microsoft.com |
5474c0cecc2027fc25009cb4adc66cf6bd083e33 | 23c4109411bb6490d76430d485c19152c56e037a | /llvm-project/llvm/lib/CodeGen/RegAllocBasic.cpp | 58e1e364d285da24c2d191ec0e3b3bab1469dd70 | [
"NCSA",
"LLVM-exception",
"Apache-2.0"
] | permissive | AlexErf/GPUProject | f9a060e63caec0c07584aa2a2826432dc6cfc0b5 | c2740b6ca052436a73d05564187c473a37f362b9 | refs/heads/main | 2023-02-02T05:41:53.330592 | 2020-12-14T03:04:19 | 2020-12-14T03:04:19 | 310,434,160 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,638 | cpp | //===-- RegAllocBasic.cpp - Basic Register Allocator ----------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | [
"nlbrow@umich.edu"
] | nlbrow@umich.edu |
d47e7f60cdb7d6fbd7618db564323ad9c50707ff | f9a34303ffec7abc049419c484a3620c2fa49cf4 | /Cplusplus/Assign2_C/Assign2_C.cpp | 9b5fcb2907a8a02c4a40224edecdc6861b4989c1 | [] | no_license | hnthakkar/Hackerrank | 1afa9cfb4c552e02e9e3dfa2c6e9e94430ddf244 | 0175adbb1939a8615f4992c3746aeee806340d7a | refs/heads/master | 2021-01-19T00:12:50.246223 | 2015-12-11T12:45:12 | 2015-12-11T12:45:12 | 42,088,689 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,515 | cpp | #include <iostream>
#define arraySize 120
using namespace std;
bool arrayEquals(int a[], int b[]){
bool ret = true;
for (int i = 0; i < arraySize; i++){
if(a[i] != b[i]){
ret = false;
break;
}
}
return ret;
}
void copyArray(int from[], int to[]){
for(int i = 0; i < arraySize; i++){
to[i] = from[i];
... | [
"hemal_thakkar_iiit@yahoo.in"
] | hemal_thakkar_iiit@yahoo.in |
07d23137adb466c520bdd76b98bd2b1301c6a7a6 | 741b36f4ddf392c4459d777930bc55b966c2111a | /incubator/deeppurple/lwplugins/lwwrapper/LWcommon/LWLoad.h | 8d56e40af5b4d5e154e5c8d5b61c402bf6ef97cb | [] | no_license | BackupTheBerlios/lwpp-svn | d2e905641f60a7c9ca296d29169c70762f5a9281 | fd6f80cbba14209d4ca639f291b1a28a0ed5404d | refs/heads/master | 2021-01-17T17:01:31.802187 | 2005-10-16T22:12:52 | 2005-10-16T22:12:52 | 40,805,554 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 462 | h | #ifndef LWCOMMON_LWLOAD_H_HEADER_INCLUDED_C1348659
#define LWCOMMON_LWLOAD_H_HEADER_INCLUDED_C1348659
class LWLoad
{
public:
LWLoad(const LWLoadState *toLoad);
bool Load(bool &toLoad);
bool Load(string & toLoad);
bool Load(Real * toLoad, int num);
bool Load(Vector3 & toLoad);
bool Load(... | [
"deeppurple@dac1304f-7ce9-0310-a59f-f2d444f72a61"
] | deeppurple@dac1304f-7ce9-0310-a59f-f2d444f72a61 |
c7206561706352c26d0a09caf5029f0febaae682 | 2772db2e7587143f98dfb4627d847775d38ce6f3 | /modules/ramdisk/ramdisk.cpp | 7b572d853da435f87af8ce811bbe50a41ed516a1 | [
"MIT"
] | permissive | dylangentile/DFK | 472e2347ff9fa50e76142ecf59766c8ad0a08bae | a627073f0d54bedec10e7b344b86912669d2e070 | refs/heads/master | 2022-12-27T02:18:00.456230 | 2020-10-05T05:24:01 | 2020-10-05T05:24:01 | 273,635,013 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,307 | cpp | #include "headers/ramdisk.h"
#ifndef RAMDISK_SIZE
#define RAMDISK_SIZE 1048576
#endif
RamDisk::RamDisk() : mData(nullptr), mSize(RAMDISK_SIZE)
{
}
RamDisk::~RamDisk()
{
kfree(mData);
}
bool
RamDisk::init()
{
mData = kalloc(mSize);
if(mData == nullptr) return false;
return true;
}
size_t
RamDisk::getSize()
{
... | [
"dylangentile@ymail.com"
] | dylangentile@ymail.com |
bd7a43212e4797b04a06e1cf5a61f573a719cab5 | e9a26b0d564be3337cd0799a986089f9dba61f35 | /src/lua/scriptvm.cpp | eeeab242df604ee1e753af050d703f0784a77131 | [] | no_license | zigzed/common | 3994aae3593767283395910f443ecf7a5464ebae | 0bb51892706a8b9ab150605c2f092d08d78ce410 | refs/heads/master | 2021-01-20T07:46:22.545700 | 2013-04-23T15:46:53 | 2013-04-23T15:46:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,368 | cpp | /** Copyright (C) 2013 wilburlang@gmail.com
*/
#include "common/lua/scriptvm.h"
extern "C" {
#include "jit/LuaJIT-2.0.0/src/lua.h"
#include "jit/LuaJIT-2.0.0/src/lualib.h"
#include "jit/LuaJIT-2.0.0/src/lauxlib.h"
//#include "lua/lua.h"
//#include "lua/lualib.h"
//#include "lua/lauxlib.h"
}
#in... | [
"wilburlang@gmail.com"
] | wilburlang@gmail.com |
07e3deec8157648a8a60cf6892f4af9bbae56912 | 57d177fbd7d1bac2d97acaf081ff4fa75ed8ba53 | /third_party/skia/src/gpu/GrBatchTarget.h | 51dd8cac8941db6979bab5825f13765366e435ac | [
"BSD-3-Clause"
] | permissive | venkatarajasekhar/chromium-42.0.2311.135 | 676241bb228810a892e3074968c1844d26d187df | 8d6b0c3b1481b2d4bf6ec75a08b686c55e06c707 | refs/heads/master | 2021-01-13T11:57:38.761197 | 2015-05-04T12:43:44 | 2015-05-11T12:58:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,772 | h | /*
* Copyright 2015 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef GrBatchBuffer_DEFINED
#define GrBatchBuffer_DEFINED
#include "GrPendingProgramElement.h"
#include "GrPipeline.h"
#include "GrGpu.h"
#include "GrTRecorder.h"
/*
* Gr... | [
"jonathan.anderson@ieee.org"
] | jonathan.anderson@ieee.org |
4b5b5022beef0863b5eb2772c437fe8be916c97b | d09945668f19bb4bc17087c0cb8ccbab2b2dd688 | /2017-2021/2019/ttpc/g.cpp | 1af1bd8c6a876a168b2ca93ef4aa9facb83b93e5 | [] | no_license | kmjp/procon | 27270f605f3ae5d80fbdb28708318a6557273a57 | 8083028ece4be1460150aa3f0e69bdb57e510b53 | refs/heads/master | 2023-09-04T11:01:09.452170 | 2023-09-03T15:25:21 | 2023-09-03T15:25:21 | 30,825,508 | 23 | 2 | null | 2023-08-18T14:02:07 | 2015-02-15T11:25:23 | C++ | UTF-8 | C++ | false | false | 2,293 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef signed long long ll;
#undef _P
#define _P(...) (void)printf(__VA_ARGS__)
#define FOR(x,to) for(x=0;x<(to);x++)
#define FORR(x,arr) for(auto& x:arr)
#define ITR(x,c) for(__typeof(c.begin()) x=c.begin();x!=c.end();x++)
#define ALL(a) (a.begin()),(a.end())
#... | [
"kmjp@users.noreply.github.com"
] | kmjp@users.noreply.github.com |
6c25ddad940b3721543c4b27167521722031e3cd | 640b11dbd28ef7276b237aaf98fb1b0ccbd4e1d5 | /include/mtf7/emutf_rpcdata_block_operator.h | 325833163f11be5530b7e565049d6562a987a9f4 | [] | no_license | bortigno/mtf7 | 13fbc69ea18c34598efbf8df4d1b5bfe826b8d82 | 5450c5bc9168c1a03ab625a4b78f4be7edcbb057 | refs/heads/master | 2021-01-14T11:08:06.102155 | 2015-02-03T18:54:36 | 2015-02-03T18:54:36 | 27,378,015 | 0 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,109 | h | #ifndef __EMUTF_RPCDATA_BLOCK_OPERATOR__
#define __EMUTF_RPCDATA_BLOCK_OPERATOR__
#include "mtf7/types.h"
#include "mtf7/emutf_block_operator.h"
namespace mtf7{
class emutf_rpcdata_block_operator: public emutf_block_operator{
public:
// Minimal constructor with only error value.
emutf_rpcdata_block_oper... | [
"bortigno@gmail.com"
] | bortigno@gmail.com |
6f85fce0de9d41f72be246287be81d06f8dbd32b | c5f6f134613e5c6ad5c8f698d300ec7359be91e7 | /include/interface/IEntity.hpp | 13cf805e229795f11b8c95923827abc7b376359b | [
"MIT"
] | permissive | dualword/bomberman | c36ec5663718d70bae1411c2232edbce3f896749 | 2152557ba9462d7bfbc78012cad0bf12906bf7c4 | refs/heads/master | 2023-03-16T22:51:49.720817 | 2020-07-23T17:59:44 | 2020-07-23T17:59:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 727 | hpp | /*
** EPITECH PROJECT, 2020
** OOP_indie_studio_2019
** File description:
** IEntity
*/
#ifndef IENTITY_HPP_
#define IENTITY_HPP_
class IEntity
{
public:
enum class EType {
UNKNOWN,
PLAYER,
ROOM,
ITEM,
MOB,
BLOCK,
BOMB
};
protected:
EType _type;
... | [
"theo.cousinet@epitech.eu"
] | theo.cousinet@epitech.eu |
3e3c3a8ed57b8683613856fc5120466971d92b67 | c836b1eac04b2630a900d1ed6044cceeb1f91385 | /src/SolidStats.cxx | eb49dfb687c8ab373599aa38478f8d267698158e | [
"BSD-3-Clause"
] | permissive | fermi-lat/detCheck | fd2d7df655cd67debbf8e4eee8a808050a461046 | 3625df4d816d43d6e5b9e701f882851e0af2bb15 | refs/heads/master | 2021-05-05T16:13:36.034600 | 2019-08-27T17:29:26 | 2019-08-27T17:29:26 | 103,186,963 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,087 | cxx | // $Header: /nfs/slac/g/glast/ground/cvs/detCheck/src/SolidStats.cxx,v 1.17 2007/09/25 21:58:31 lsrea Exp $
#include <cmath>
#include <cassert>
#include <ctime>
#include "detCheck/SolidStats.h"
// may need need some or all of the following:
#include "detModel/Management/Manager.h"
#include "detModel/Sections/Volume.... | [
""
] | |
d1bf99ceb1993a4ba55b18d80c416442f12ee927 | 5470644b5f0834b9646649da365c96101a2f9b2a | /Sources/Elastos/Frameworks/Droid/Base/Core/inc/database/CBulkCursorNative.h | 2dd57c7fab7cd57c52657e64cfb9aa86348fa501 | [] | no_license | dothithuy/ElastosRDK5_0 | 42372da3c749170581b5ee9b3884f4a27ae81608 | 2cf231e9f09f8b3b8bcacb11080b4a87d047833f | refs/heads/master | 2021-05-13T15:02:22.363934 | 2015-05-25T01:54:38 | 2015-05-25T01:54:38 | 116,755,452 | 1 | 0 | null | 2018-01-09T02:33:06 | 2018-01-09T02:33:06 | null | UTF-8 | C++ | false | false | 1,391 | h | #ifndef __CBULKCURSORNATIVE_H__
#define __CBULKCURSORNATIVE_H__
#include "_CBulkCursorNative.h"
#include "database/BulkCursorNative.h"
using Elastos::Droid::Os::IBinder;
using Elastos::Droid::Os::IBundle;
using Elastos::Droid::Database::IIContentObserver;
namespace Elastos {
namespace Droid {
namespace Database {
C... | [
"chen.yunzhi@kortide.com"
] | chen.yunzhi@kortide.com |
2c40125be2296a8e68aae84d6b19e7a234e17596 | 71d45fe014363f10096ebaed443951f64a3f05ac | /spellCorrect/server/include/colorprint.cc | 27a7375c6f441f8eb8ce1896ef43220ac03a92fa | [] | no_license | PrinceClover/project | c16d97f58394c72a1055b9f82ae39239f88f20f4 | 5746debac5f7aa9134943d3d9372228a52304dbf | refs/heads/master | 2020-12-25T11:05:00.021114 | 2016-07-21T10:56:15 | 2016-07-21T10:56:15 | 61,975,885 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,185 | cc | ///
/// @file colorprint
/// @author PrinceClover(871353611@qq.com)
/// @date 2016-06-26 18:55:29
///
/*
* the template class defined in colorprint
*/
#ifndef __MY_COLORPRINT__
#define __MY_COLORPRINT__
#include <string>
#include <iostream>
namespace Prince_CP{
#if 0
#define __DEBUG__
#endif
/*
* t... | [
"871353611@qq.com"
] | 871353611@qq.com |
4c0c8f66552e52a0a84a2b5e5a353a4ba257ddb6 | aea6caf734c7f17aadee81ef2607e48840d13682 | /DrifterCode/dump_flash_gateway.ino | 8a6d3c4e45c4423fceed1f5c5b4e0f192a0a0a20 | [] | no_license | vcoles/NanoDrifters | 24ef8b833a88eef2e83a474e01b140554e16015a | 9b1a64a20a1c54fc307a53db6c230814fb87cdf3 | refs/heads/master | 2020-05-20T06:02:44.711391 | 2019-05-29T14:08:51 | 2019-05-29T14:08:51 | 185,420,356 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,000 | ino | //Gateway modified to ask node to dump its flash to gateway
//This code does not activate GPS, SD or SPI Flash only RF69 and Software Serial
//
// Sample RFM69 receiver/gateway sketch, with ACK and optional encryption, and Automatic Transmission Control
// Passes through any wireless received messages to the serial por... | [
"vcoles@umces.edu"
] | vcoles@umces.edu |
23311c338c44af4a1db73de8662a40ff9f49a416 | d0fb46aecc3b69983e7f6244331a81dff42d9595 | /openanalytics-open/include/alibabacloud/openanalytics-open/model/UnSubscribeRegionResult.h | 3b2e2371acbd24c548413459c3086fd5424b4b3e | [
"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,493 | 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 |
5dce2e50346a94e2e8a1eedf906a7d48df9a6e29 | 1b5c7410e1dfd06325705043c383cebf57ab15d8 | /inc/NodeInfoCollector.h | 717e4d1d449ed7da98d7d9d96d0d9182bb47f180 | [] | no_license | lmark1/morus_gui | 341d06385023ae6c47e5b2879b501cc1b00eb9ac | d01f1c06901e942b404501406a0abf6ddb57f0de | refs/heads/master | 2021-05-10T17:22:01.592235 | 2018-05-28T12:56:24 | 2018-05-28T12:56:24 | 118,607,685 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,545 | h | /*
* NodeInfoCollector.h
*
* This class will be collecting information from uavcan::NodeInfoRetriever
* via the interface uavcan::INodeInfoListener.
*
* Created on: Mar 5, 2018
* Author: lmark
*/
#ifndef SRC_NODEINFOCOLLECTOR_H_
#define SRC_NODEINFOCOLLECTOR_H_
#include <unordered_map>
#include <uavcan... | [
"lovro.markovic@fer.hr"
] | lovro.markovic@fer.hr |
99218c1e8f2f6ceb06ff66f49bbe369d45a3208d | c591b56220405b715c1aaa08692023fca61f22d4 | /Gursharan Kaur/Milestone 13(Strings)/HackerEarth/Easy/Can You Count.cpp | 49e9126fa090056dea16c2bda3fe3025bb6bc9b4 | [] | no_license | Girl-Code-It/Beginner-CPP-Submissions | ea99a2bcf8377beecba811d813dafc2593ea0ad9 | f6c80a2e08e2fe46b2af1164189272019759935b | refs/heads/master | 2022-07-24T22:37:18.878256 | 2021-11-16T04:43:08 | 2021-11-16T04:43:08 | 263,825,293 | 37 | 105 | null | 2023-06-05T09:16:10 | 2020-05-14T05:39:40 | C++ | UTF-8 | C++ | false | false | 1,032 | cpp | #include<bits/stdc++.h>
using namespace std;
long long Count (string s)
{
int cA=0,cE=0,cI=0,cO=0,cU=0,c=0;
long long ans=1;
for(int i=0;s[i]!='\0';i++)
{
if (s[i] == 'a' && cA == 0)
{ c++;
cA++;
}
else if (s[i] == 'e' && ... | [
"noreply@github.com"
] | noreply@github.com |
7c1bb5682fa546493daf55a87094af6cd82763f7 | f28e6c3396571256cd6fafb7cf5fef4907b34d29 | /cblib/tools/transform-helper.h | da4197dd0459de61b85729407864e7eba508bcd5 | [] | no_license | HFriberg/prepro | 78ce1bfa2a6a90c866a59cc30cd24914f21dce76 | 81f9f533491879f4f7799597890eded0170829e2 | refs/heads/master | 2020-03-24T23:39:24.650657 | 2015-04-01T15:17:44 | 2015-04-01T15:17:44 | 33,248,993 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,552 | h | // Copyright (c) 2012 by Zuse-Institute Berlin and the Technical University of Denmark.
// 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... | [
"haf@mosek.com"
] | haf@mosek.com |
0ccf92e9ba65627c1e8eec73eb33e79ee06e6d56 | 1e8e0abd2ce6d7871da9d5954feae6e003e5d0a1 | /erizo/src/test/bandwidth/StreamPriorityBWDistributor.cpp | 8065b154d551c46e46659aa0dd34311dcd304687 | [
"MIT"
] | permissive | vpoddubchak/licode | c6c65ecf9d8a4bf5610438b983dfb565b5bbf46d | 3bb99eb4f79de5dc9cc23816a927bb2e138e56af | refs/heads/master | 2021-07-04T19:51:51.789002 | 2021-04-27T07:53:40 | 2021-04-27T07:53:40 | 233,787,201 | 0 | 0 | MIT | 2020-04-15T07:36:43 | 2020-01-14T07:55:39 | null | UTF-8 | C++ | false | false | 14,873 | cpp | #include <gmock/gmock.h>
#include <gtest/gtest.h>
#include <rtp/RtpHeaders.h>
#include <rtp/RtpUtils.h>
#include <MediaDefinitions.h>
#include <bandwidth/StreamPriorityBWDistributor.h>
#include <bandwidth/BwDistributionConfig.h>
#include <stats/StatNode.h>
#include <Stats.h>
#include <string>
#include <tuple>
#inclu... | [
"noreply@github.com"
] | noreply@github.com |
383efac2a361a1326347b61de9f6137d6dbf2556 | 98b6001550c19fad60975e5dac262dde561e887b | /Cpp/homeworks/hw1_24.05.17/hw1_24.05.17/Vector.cpp | bbbe37dfe17c46fd28fd5c4e6f7e42e5e1322114 | [] | no_license | ArBond/ITStep | eee3998d7292ea110ee5f6fd39723cc5d7a095d8 | 8d013e349648e52c8753f94331dfe611086e57b5 | refs/heads/master | 2020-04-05T11:44:03.579526 | 2018-02-23T09:08:03 | 2018-02-23T09:08:03 | 81,499,847 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,285 | cpp | #include "Vector.h"
#include <iostream>
Vector::Vector():
m_x(0), m_y(0), m_z(0)
{
}
Vector::Vector(float x, float y, float z):
m_x(x), m_y(y), m_z(z)
{
}
float Vector::GetX() const
{
return m_x;
}
float Vector::GetY() const
{
return m_y;
}
float Vector::GetZ() const
{
return m_z;
}
void Vector::SetValues(f... | [
"bonartembon@gmail.com"
] | bonartembon@gmail.com |
bf1b8d652666ea6385b960d9a788d5bdca896511 | 1184cd0bb6863f6ab95f4a177e5dfb8a77c82727 | /sketch_dec17b.ino | 75190804119e9730a166302747f4e4ae2ac3b29b | [] | no_license | songyonguk/IntEngDesign | 0d208b79a2de7f0ab6beb8094bba9848838a68a9 | 9bac1e64cdcb98e7d91aba7c3c5c0a6dd77ae085 | refs/heads/master | 2023-02-04T06:33:54.970714 | 2020-12-17T14:08:22 | 2020-12-17T14:08:22 | 296,782,793 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,564 | ino | #include <Servo.h>
/////////////////////////////
// Configurable parameters //
/////////////////////////////
// Arduino pin assignment
#define PIN_LED 9 // [3097] LED핀 9번으로 설정
#define PIN_SERVO 10 // [3097] 서보핀 9번으로 설정
#define PIN_IR A0 // [3097] 적외선핀 A0번으로 설정
// Framework setting
#define _DIST_TARGET 25... | [
"noreply@github.com"
] | noreply@github.com |
cf7defe20de051995fe90440331be3bd1306e7ed | 8fde8cf49e88d539ecd03e5362c3f5ff30e61010 | /ddraw/Versions/IDirect3D.cpp | c104625198e989acdaddcf9ea101650dff2afa8c | [
"Zlib"
] | permissive | Tabris666/dxwrapper | 7e0b670a00d5b5e72fe21c2bfdfe88f9a6346a27 | 3f98bfd38df267205e0f782f530d9e490627f113 | refs/heads/master | 2020-04-07T22:18:31.067893 | 2018-10-31T07:33:23 | 2018-10-31T07:33:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,995 | cpp | /**
* Copyright (C) 2018 Elisha Riedlinger
*
* This software is provided 'as-is', without any express or implied warranty. In no event will the
* authors be held liable for any damages arising from the use of this software.
* Permission is granted to anyone to use this software for any purpose, including co... | [
"elisha@novicemail.com"
] | elisha@novicemail.com |
0050a1e369501e1c793510e9833a22fd164eb59c | ad49ba448efe450cb1ce16966581d39369eee586 | /c/support/adjacency.h | 69780ea2290d9e3c9c8d7e5ad010fce69aaeed89 | [] | no_license | onehalfatsquared/CPfold | 5bef1ab139bb82c4cb5d5ec580f495f1b706355f | 0c4b3d428f69a546159c79a1915681ccb57774c2 | refs/heads/master | 2021-06-09T14:49:34.991489 | 2021-05-05T16:39:26 | 2021-05-05T16:39:26 | 158,277,864 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,077 | h | #pragma once
#include "point.h"
#include <eigen3/Eigen/Dense>
#include "nauty.h"
#include "database.h"
#include <string>
#include <vector>
namespace bd {
class Database;
//adjacency matrix stuff
int toIndex(int r, int c, long m);
void index2ij(int index, int N, int& i, int& j);
bool checkConnected(int* M, int N);
bo... | [
"onehalfatsquared@github.com"
] | onehalfatsquared@github.com |
5a88fafe34d95f4a08afa040a42027fb8cfbcce2 | 9b474b0cee120b2b6bd1e3c91f368009fa31d883 | /src/vsg/vk/Device.cpp | ee32cf355fdf43b885bebe0854a26b389e362ca1 | [
"MIT"
] | permissive | yuqicxy/VulkanSceneGraphPrototype | d92e36efa2eff149d290d8397cc02ca0342bf7b6 | e790192d0edb0b9e07b8be435f2b615c5db70462 | refs/heads/master | 2020-04-02T17:48:28.612098 | 2018-10-25T08:28:05 | 2018-10-25T08:28:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,907 | cpp | /* <editor-fold desc="MIT License">
Copyright(c) 2018 Robert Osfield
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 without limitation the rights to use, copy, mod... | [
"robert@openscenegraph.com"
] | robert@openscenegraph.com |
e0216d7df817b6e476a1825815f2edb5d70e0888 | 30232e235a28b9b5986161d5522dd0dcd016cd57 | /firmware/util.cpp | 2d84c18675e24e7b9eda9c4f86c1555dd176e302 | [] | no_license | zxqugn/dlp_printer | bbb959d22d3250f35f92115e8f571140dbf5eed2 | e2f5f2b24c557267375e02551bb335e5f4b87f81 | refs/heads/master | 2020-11-26T03:05:42.266181 | 2015-03-17T03:07:38 | 2015-03-17T03:07:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,620 | cpp | #include "util.h"
namespace util {
byte serial_read_byte() {
/* read a byte from Arduino Serial */
while (!Serial.available()) {}
return Serial.read();
}
unsigned long serial_read_long() {
/* read a 4 byte unsigned int (ie an unsigned long) from Serial */
unsigned long a = 0;
unsigned... | [
"adgaudio@gmail.com"
] | adgaudio@gmail.com |
217882a4eb1a3c2d67ef68ea9492d30d00ac2a85 | f3888c18672d911f3fd61eb671ff81d8907bb4c6 | /Graphics/CSE125Console/CSE125Console/Particles.cpp | 004306dc5317ed984afecf29f309c4d12ed73241 | [] | no_license | xiazhvera/CSE125 | d38beec1aff42f8f48e27c84a19231bc47a8df12 | 9c4ad6bc04dd5c6b98967b88186c396053674abe | refs/heads/master | 2020-03-19T23:47:40.168929 | 2015-06-12T17:44:54 | 2015-06-12T17:44:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 44 | cpp | #include "stdafx.h"
#include "particles.h"
| [
"a7luong@ACS-CSEB220-23.ad.ucsd.edu"
] | a7luong@ACS-CSEB220-23.ad.ucsd.edu |
a716fec561d2bb7ccca37bde65e72b0e0b5e9fa0 | f791ef6004bd3b5fb21b26211ca54aa8b045950a | /Lab06/Lab06/Lab0604.cpp | d5836106f1186e851a9463a2ce3bd49a01eb009f | [] | no_license | MilindPathiyal/SYDE-121-UW-Lab06 | ae69aa8e1fd91475567308eb1b38520dfc96c0c1 | 26a546ab1629d8d119209f689efec85a63e5783b | refs/heads/master | 2021-05-05T05:02:04.177602 | 2018-01-23T18:28:12 | 2018-01-23T18:28:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,188 | cpp | /************************************************
* Student Name: Milind Paliath-Pathiyal
* Student Number: 20714398
* SYDE 121 Lab: #6 Assignment: 006
* Filename: Lab0604
* Date submitted: 10/23/17
*
* I hereby declare that this code, submitted
* for credit for the course SYDE121, is a product
* of my own eff... | [
"noreply@github.com"
] | noreply@github.com |
b770f59984160e8d86db11fb6db88a9f5966ee93 | 1b4c74231af4e21024ef841fc9d4d10d691716b5 | /PP_src/ppbim/src/PlaceType.cpp | f6bb42399dfc57c499559ae217b93776e94951d9 | [
"IJG"
] | permissive | agunta/photoplayer | 8e800d97c76bd25c2bad05284b9a54ae51aad467 | 0251cfbec5c60d9829f862c5e8b999f450ee5c94 | refs/heads/master | 2016-08-05T04:10:34.940247 | 2013-08-16T05:53:57 | 2013-08-16T05:53:57 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 11,443 | cpp | //////////////////////////////////////////////////////////////////////
// This software module was originally developed by
//
// Mitsubishi Electric ITE B.V. Visual Information Laboratory
// ('VIL')
//
// in the course of development of the
//
// MPEG-A Photo-Player Multimedia Application Format
// ('Photo-Player M... | [
"tysnicka@gmail.com"
] | tysnicka@gmail.com |
8d23e107b2387e2287a1a05e27da5fdc47a66522 | 68a36e3f58101de74c68fed188bc282ea054ab05 | /3. Project codes/Version0.07/Manager.cpp | d860a8cfea8341da6471e366c45db2a5a2840aca | [] | no_license | placidlife/CSCI_222_C6 | 9a7e7acb8a7cbece2072131696cb0db0263ed044 | d54b3673eddf4efeaba795c2c6d3f04c8bfd3038 | refs/heads/master | 2020-04-06T04:07:49.298464 | 2017-03-03T08:13:21 | 2017-03-03T08:13:21 | 83,044,090 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,280 | cpp | #include "Manager.h"
#include <string>
using namespace std;
void Manager::displayMenu()
{
while(1)
{
std::cout << "Welcome to Warehouse Management Tool" << std::endl << std::endl;
std::cout << "1) Add a new stock item" << std::endl;
std::cout << "2) Remove existing stock item" << std::endl... | [
"semper.mortale@gmail.com"
] | semper.mortale@gmail.com |
6584733836a7f8582b254b4cc46d3620e132c871 | e04b52d2390bbecb6ea07713f3be5cad096ecf2f | /Evaluate_mathematical_expression.cpp | ff00a6b326b6a6f24785f03c847e1fb5eb2dce22 | [] | no_license | kaluzap/Evaluate-mathematical-expression | 26673f66a0f7801b88f5ce85126ba713465bb3f9 | b98d8410780bf2e0e6906784fffe5e67df97d659 | refs/heads/master | 2020-08-04T11:05:08.001032 | 2019-10-02T21:18:58 | 2019-10-02T21:18:58 | 212,116,642 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,566 | cpp | #include <string>
#include <vector>
#include <algorithm>
#include <iostream>
#include <iomanip>
#include <sstream>
std::string replace_all(std::string instr, std::string xx, std::string yy)
//replace all xx for yy in instr
{
size_t where;
while( (where = instr.find(xx)) != std::string::npos){
instr.rep... | [
"noreply@github.com"
] | noreply@github.com |
5d46b1c4225fb25e556aa4fcf810bb0239db9390 | 69cfdcc5dc78ffe2cedb6f952261eab1044f8787 | /tokens/ReturnToken.cpp | 95dfb03763934129c981f3b8c4e42a45660d809a | [] | no_license | asm2015coursework/the_best_compilator_ever | 53cfdaa92cf3ba6e4f69ccbd33bcea1788ee0671 | eed0c3f277885e5189f5f6c04ae5c59892705d1c | refs/heads/master | 2020-06-04T04:23:04.422740 | 2015-06-29T08:00:50 | 2015-06-29T08:00:50 | 35,106,026 | 7 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 275 | cpp | #include "ReturnToken.h"
ReturnToken::ReturnToken(Token* expr) {
this->expr = expr;
}
string ReturnToken::toString() {
if (expr == nullptr) return "return";
else return "return " + expr->toString();
}
string ReturnToken::getType() {
return "Return";
}
| [
"smnikita@list.ru"
] | smnikita@list.ru |
b0f57e1a6a4089f97af6c8626f236e6a60623e30 | 896c8c5ea4ab726a68434ce0c17ed1ba31c36335 | /IMDB_Graph_Based_Recommendation/film.cpp | 46cbcf5846f387dc77b99a8fb177a918833b418b | [] | no_license | DavidLIUXLD/IMDB_Graph_Based_Recommendation | 9c5254e87f698e56dec1a653053ced005d5e270b | 3c352e613214962ed1d6a6983bea4db27d679307 | refs/heads/master | 2023-01-28T04:53:02.566984 | 2020-12-08T04:21:58 | 2020-12-08T04:21:58 | 317,126,176 | 0 | 1 | null | 2020-12-07T23:56:25 | 2020-11-30T06:03:26 | C++ | UTF-8 | C++ | false | false | 18 | cpp | #include "film.h"
| [
"DaViD28106@outlook.com"
] | DaViD28106@outlook.com |
76de1ffcdde721b2a520927987f57011ed88baec | c355c81a3b79ae1b52fb5b55a29be8cb6e3cc25a | /boj_algorithm/1849.cpp | 30c05930751198b6be652135eb5b2415678f80cd | [] | no_license | panda959595/boj_algorithm | e47be29bd46fe31328e26319083a87ba1f404082 | a10c1bbd0aa4a13fac3a3201ebe35de41a23ec29 | refs/heads/master | 2020-12-03T10:45:01.975357 | 2020-10-14T02:17:11 | 2020-10-14T02:17:11 | 206,241,336 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 884 | cpp | #include <iostream>
using namespace std;
int arr[100005];
int st[800005];
int ans[100005];
void set_st(int index, int s, int e) {
st[index] = e - s + 1;
if (s == e) {
return;
}
set_st(index * 2, s, (s + e) / 2);
set_st(index * 2 + 1, (s + e) / 2 + 1, e);
}
int find_st(int index, int s, int e, int num) {
st[inde... | [
"panda959595@gmail.com"
] | panda959595@gmail.com |
c3de611a070347c9b434715aaf8235fb048321d8 | 3b5315039cda5c6d470369fbf6480f6f53c9188a | /src/decwrap/cwrap_types.cpp | ba6971dbf0f923d6136e0e60c2c5458260a8a426 | [] | no_license | equinor/cwrap-remover | 0c88040914a26ef7c848f30970df56f93e5229a7 | 7a6237b91a701ab8d23db999e94c12a397f8ab7d | refs/heads/main | 2023-09-03T19:27:34.087468 | 2021-10-14T08:15:26 | 2021-10-14T08:15:26 | 410,683,100 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 610 | cpp | #include <pybind11/pybind11.h>
#include "cwrap_types.hpp"
namespace py = pybind11;
namespace ct = generated::cwrap_types;
namespace {
}
ct::type::type(py::object obj) {
py::modlue cwrap = py::module_::import("cwrap");
if (!py::isinstance(obj, cwrap.attr("BaseCClass")))
throw py::value_error("obj mu... | [
"ZOM@equinor.com"
] | ZOM@equinor.com |
77825a8cee16cf7e944cf61a3faa19cd396524b9 | 177da2396891a75358e1eb76522374c78ce2aa9a | /src/SoundHandle.cpp | 5ee1b7f9c26308e4bbd0a39ef444ae259fa5131e | [
"MIT"
] | permissive | gameblabla/nKaruga | 004097f1a348628e45f72c86a9ead42effd3c925 | 95b1a4cdef66ef4f96c5f035ddcd5bd34bc8519b | refs/heads/master | 2021-01-12T13:15:07.730574 | 2016-10-29T05:09:54 | 2016-10-29T05:09:54 | 72,162,573 | 5 | 2 | null | 2016-10-28T01:29:07 | 2016-10-28T01:29:06 | null | UTF-8 | C++ | false | false | 1,550 | cpp | #include "common.h"
bool SoundHandle::launchLoop;
SoundHandle::SoundHandle()
{
Mix_Init(MIX_INIT_OGG);
if (Mix_OpenAudio(MIX_DEFAULT_FREQUENCY, MIX_DEFAULT_FORMAT, MIX_DEFAULT_CHANNELS, 1024) == -1)
{
printf("Can't initialize audio : %s\n", Mix_GetError());
exit(1);
}
Mix_AllocateChannels(32);
... | [
"mattias.refeyton@telecom-paristech.fr"
] | mattias.refeyton@telecom-paristech.fr |
123dea8a1b789eb1d56043c48defa2de32de83a9 | e01bedf0853b66d6454e8d158842bc045ca60735 | /Main/Callback.cpp | cdc4d16f78d1ddcab7fb9a341a66b7a04841c2f7 | [] | no_license | markessien/MediaCode | f7cb31776049cf2aac8b3a3366b66b72c2160d61 | 8764b66da621a3bc66b82a3b638b4920f6ac54d3 | refs/heads/master | 2021-01-01T04:57:19.441433 | 2016-05-06T07:43:04 | 2016-05-06T07:43:04 | 58,048,005 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,636 | cpp | #include "stdafx.h"
#include <QTML.h>
#include <MediaHandlers.h>
#include "MediaCtl.h"
// QuickTime Callback for handling all events from QT Movie Controller
// Only handle the idle event for obtaining the audio VU meter levels
// Parameter refCon is the CQuickTime class pointer defined in CMediaCtrl class
B... | [
"markessien@gmail.com"
] | markessien@gmail.com |
afdfa2bfe3df66f0fb2ec0c428e9c04345a20130 | 6de965aeb0c3b257e09f688b9f703f6907519f69 | /runtime/Argument.cpp | 21b325b846600e0e37a519f89daacfc1ab345b51 | [] | no_license | WillianJunior/region-templates | 7727409392e965dd533c77e28340cf4174b58552 | dd954efb4ca556ee4b1646ad6a08fdb8a20cb03d | refs/heads/master | 2021-01-15T08:53:49.088707 | 2016-03-31T19:31:26 | 2016-03-31T19:31:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,908 | cpp | /*
* Argument.cpp
*
* Created on: Feb 16, 2012
* Author: george
*/
#include "Argument.h"
ArgumentBase::ArgumentBase(int type) {
this->type=type;
}
int ArgumentBase::size()
{
return (sizeof(int));
}
int ArgumentBase::serialize(char *buff)
{
((int*)buff)[0] = this->getType();
return ArgumentBase::size(... | [
"george@Georges-MacBook-Pro-2.local"
] | george@Georges-MacBook-Pro-2.local |
2c8675dfba8936c9a37c652c144cfc7505d58d40 | eb1b0187381ff4271fabd9e4b452919c677ce69e | /file.cpp | d8251682caf10cbbca59dd4c209e56a5609d9dae | [] | no_license | namantayal/Cpp-Lab | 3569e1c16773e7095ec920bcdd4e8c0a2201f918 | fdf9b356aee439d770857dae626e75b83212e9ab | refs/heads/master | 2021-03-05T09:21:27.429510 | 2020-03-09T18:25:42 | 2020-03-09T18:25:42 | 246,110,773 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 915 | cpp | #include<iostream>
#include<fstream>
#include <process.h>
#include <string.h>
using namespace std;
void replace()
{
ifstream fin;
ofstream fout;
char r[20],ch[20],f[20];
fin.open("a.txt",ios::in);
fout.open("b.txt",ios::out);
cout<<"Enter - ";
cin>>r;
cin>>f;
while(!fin.eof())
{
fin>>ch;
... | [
"noreply@github.com"
] | noreply@github.com |
b6b88d9fd6b80f3b945d2db48ef20b19c9b45e93 | 7fcde9eb06e8900ceedf6b8d8bb0464897752866 | /functions.cpp | 4e57a09e0ad9addc3b3375894587ec245dc1f0c6 | [] | no_license | lakshay1221/lakshay | f4cb828beb10345132d03ef738800f08a673d77a | a0a1b4ee31a504b7d19b33b930736b8b47d82730 | refs/heads/master | 2020-07-13T20:48:55.666367 | 2019-09-01T08:35:22 | 2019-09-01T08:35:22 | 205,152,198 | 0 | 5 | null | 2019-10-25T05:46:40 | 2019-08-29T11:51:43 | C++ | UTF-8 | C++ | false | false | 285 | cpp | #include<iostream>
using namespace std;
int add(int x,int y)
{
int z;
z=x+y;
return z;
}
int main()
{
int a,b,c;
cout<<"Enter the numbers you want to add:";
cin>>a;
cin>>b;
c=add(a,b);
cout<<"your number is:"<<c;
return 0;
}
| [
"noreply@github.com"
] | noreply@github.com |
899278703ca7671aa1f8e23a7e1338620586c739 | d2712c40e4d14e64a39008748b142cc32f16ebcf | /Chapter13/13.15.cpp | 3d1fa6219814e3aa3c94fbbc222a5217a9be78ff | [] | no_license | mtl6906/C_PLUS_PLUS_Primer_5th | 2ebab6f8d771112c0eb66ee308d5678d0e9fa6c8 | 30cd04d3930bd4a130f19ef1a8b2ddef7c8c4bad | refs/heads/master | 2020-03-18T16:00:11.135866 | 2019-06-30T07:21:59 | 2019-06-30T07:21:59 | 134,941,549 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 495 | cpp | using std::endl;
class numbered
{
public:
static int curr;
numbered()
{
mysn = ++curr;
}
numbered(const numbered &t)
{
mysn = ++curr;
}
... | [
"noreply@github.com"
] | noreply@github.com |
6acd6a7882f86a11b62c755fe2ee246f31eb36f1 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_1483488_0/C++/pantaloons/C.cpp | c2e7c61da8931c3a37029f405bb0de3786923a93 | [] | 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 | 691 | cpp | #include <iostream>
#include <vector>
#include <cstdio>
#include <set>
using namespace std;
int main() {
int T;
cin >> T;
for(int cc = 0; cc < T; cc++) {
int A, B;
cin >> A >> B;
long long rec = 0;
char x[20];
sprintf(x, "%d", B);
string bb(x);
set<string> done;
for(int i = A; i <= B; i++) {
spr... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
1e0bab648c64f8cb509355f7cb78c738a14d5787 | ad502a0a88c4eae8043df37e3688b6e957ae0530 | /_studio/shared/asc/include/asc_common_impl.h | 98d8fd5e21e7390e8ab139796e07912e69721c2d | [
"MIT",
"Intel",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Yanfeng-Mi/MediaSDK | 5264211629e1d5205522e215780fef4f6c9bd26b | dffa9e13a9e92db11232837e58807977a2ee02e3 | refs/heads/master | 2021-04-04T17:49:41.516487 | 2020-04-20T11:48:52 | 2020-04-20T11:48:52 | 248,476,179 | 0 | 0 | NOASSERTION | 2020-03-19T10:40:11 | 2020-03-19T10:40:10 | null | UTF-8 | C++ | false | false | 6,188 | h | // Copyright (c) 2018-2020 Intel Corporation
//
// 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 without limitation the rights
// to use, copy, modify, merge,... | [
"oleg.nabiullin@intel.com"
] | oleg.nabiullin@intel.com |
e2b512177bdedba784ec83cf8191bffa83100629 | 0df79028dddfe64cc7b7b25c287b6acfd7bd64ee | /Homework/Assignment_1/Gaddis_7thEd_Ch2_ProgChln10/main.cpp | 0629612a0c4e3f72d9fc90f3bf5c966fa0039a9f | [] | no_license | Tinwrks/TaiLeeCSC5 | dee9a8b7c40f5fdaf80b243345cf6130656b1568 | 78e86eeddcfb34b7e31752cfdf3e7de42a3bf91f | refs/heads/master | 2021-01-17T18:43:09.776307 | 2016-06-23T22:17:00 | 2016-06-23T22:17:00 | 61,830,579 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 407 | cpp | /*
* File: main.cpp
* Author: Tai Lee
*Purpose: Calculating Miles per Gallon
* Created on June 22, 2016, 3:23 PM
*/
#include <iostream>
#include <cstdlib>
using namespace std;
/*
*
*/
int main(int argc, char** argv) {
int mls=350.0,
gln=12.0,
mpg;
mpg=mls/g... | [
"tairecks@gmail.com"
] | tairecks@gmail.com |
eeba219fe6afbc171a9d454298f57fcadf5d6c89 | f769e4df3e80746adadf5ef3c843dda5212809cf | /chuck-norris-joke-part2/HoundCpp/HoundJSON/RequestedDateOutOfBoundsJSON.h | 63ad95679c02b8e94eafbdccd3e1f6079c90b97c | [] | no_license | jiintonic/weekend-task | 0758296644780e172a07b2308ed91d7e5a51b77d | 07ec0ba5a0f809d424d134d33e0635376d290c69 | refs/heads/master | 2020-03-30T09:07:29.518881 | 2018-10-03T15:13:58 | 2018-10-03T15:13:58 | 151,061,148 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,669 | h | /* file "RequestedDateOutOfBoundsJSON.h" */
/* Generated automatically by Classy JSON. */
#ifndef REQUESTEDDATEOUTOFBOUNDSJSON_H
#define REQUESTEDDATEOUTOFBOUNDSJSON_H
#pragma interface
#include "CommandErrorJSON.h"
#include "JSONRep.h"
#include "JSONHoldingGenerator.h"
#include "JSONObjectGenerator.h"
#include "J... | [
"ching-chuan.yang@daimler.com"
] | ching-chuan.yang@daimler.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.