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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
cb5a97be4252c6fd50b3a51b0ddb062e531b6bdd | b7f3edb5b7c62174bed808079c3b21fb9ea51d52 | /chrome/browser/chromeos/fileapi/recent_drive_source.h | c63308a019842938f584811bd8813811ad4d1663 | [
"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 | 1,774 | h | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_CHROMEOS_FILEAPI_RECENT_DRIVE_SOURCE_H_
#define CHROME_BROWSER_CHROMEOS_FILEAPI_RECENT_DRIVE_SOURCE_H_
#include <memory>
#include ... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
14105e6d13b6d65ab6ea37cc02e163123406bb37 | 38030e497b6e172cb926ebce4d25019175713bbd | /Easy/Inorder Traversal and BST.cpp | b945bdedf4dfa3a7aec2b1fe62daee717d713e8c | [] | no_license | KushRohra/GFG_Codes | 7e6126434360bd0e376ce13be7e855c380b88d24 | 54e2b0affeaac3406aa052c28cfebcefc6492f90 | refs/heads/master | 2021-03-26T00:37:05.871686 | 2020-12-27T12:51:53 | 2020-12-27T12:51:53 | 247,659,010 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 378 | cpp | using namespace std;
int main()
{
int t;
cin>>t;
while(t--)
{
int n;
cin>>n;
int a[n],i,f=0;
for(i=0;i<n;i++)
{
cin>>a[i];
}
for(i=0;i<n-1;i++)
{
if(a[i+1]-a[i]<=0)
f=1;
if(f==1)
... | [
"iec2017024@iiita.ac.in"
] | iec2017024@iiita.ac.in |
c0cd8ae622510334559b6b6b4e2140be56a32711 | bbb8d941d0aa439ca435e0f00ddbd7330ad2db79 | /Practise/chk3.cpp | e92e33dc3a27e5ebbca86bd556644665c63229e2 | [] | no_license | dimritium/Code | 7ca940124074d7f7bca28559e0fe2f3cba24f846 | e6678b3dabe21fcd05e362bb8115f7812ad9abb8 | refs/heads/master | 2021-07-25T06:35:22.755474 | 2017-11-04T15:07:50 | 2017-11-04T15:07:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 327 | cpp | #include<iostream>
using namespace std;
const int const1=5;
void display(int const1)
{
const int const2=5;
int arr1[const1];
int arr2[const2];
for(int i=0;i<5;i++)
{
arr1[i]=i;
arr2[i]=i*10;
cout<<arr1[i]<<" "<<arr2[i];
}
}
int main()
{
int a=6;
a=7;
cout<<a;
display(7);
}... | [
"dimrishubhi@gmail.com"
] | dimrishubhi@gmail.com |
636085a34994787734533764e9392cdf4725a5cb | a0b0eb383ecfeaeed3d2b0271657a0c32472bf8e | /lydsy/1677.cpp | 7db59452e1f2915896a6f176af19d156123db181 | [
"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 | 270 | cpp | #include <cstdio>
const int maxn = 1000001, mod = 1000000000;
int n, f[maxn];
int main()
{
scanf("%d", &n);
f[1] = 1;
for(int i = 2; i <= n; ++i)
{
f[i] = f[i - 1] + (i & 1 ? 0 : f[i >> 1]);
if(f[i] >= mod)
f[i] -= mod;
}
printf("%d\n", f[n]);
return 0;
}
| [
"t251346744@gmail.com"
] | t251346744@gmail.com |
d053cc7a3ee2c56141f151525ddbb6b4fc6b1093 | bf7f457e73780694af1c688f55fac3ba2413e82f | /mindspore/ccsrc/backend/kernel_compiler/cpu/gather_d_grad_cpu_kernel.cc | 8a31a5a22e9dc2cb6062359bd299e016d1f2eae6 | [
"Apache-2.0",
"LicenseRef-scancode-proprietary-license",
"LGPL-2.1-only",
"Libpng",
"IJG",
"Zlib",
"MIT",
"MPL-2.0",
"BSD-3-Clause-Open-MPI",
"MPL-2.0-no-copyleft-exception",
"BSD-3-Clause",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference",
"AGPL-3... | permissive | chncwang/mindspore | 974441b85c9edc1e1ce30e086e9d33fb1ab2052c | 6dac92aedf0aa1541d181e6aedab29aaadc2dafb | refs/heads/master | 2023-03-10T11:13:31.752406 | 2021-03-02T11:21:09 | 2021-03-02T11:21:09 | 343,701,879 | 0 | 0 | Apache-2.0 | 2021-03-02T11:56:25 | 2021-03-02T08:38:28 | null | UTF-8 | C++ | false | false | 5,099 | cc | /**
* Copyright 2020 Huawei Technologies Co., Ltd
*
* 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... | [
"shibeiji@huawei.com"
] | shibeiji@huawei.com |
7d663bf80851561592696d432196f63ec3e2d577 | 0426effeb56cef8cb51a33baea255952377303a7 | /main.cpp | d4c08d5440ca6739ac57367e19066680ccff2108 | [] | no_license | xingzemao/phy905_proj4_white_dwarfstar | 5eaf9d5835adbbd1972fbc20ae3129ef9e9deb7e | a4ec895d03065861b29c5790a9eba028f13f2b90 | refs/heads/master | 2021-01-20T06:22:38.209843 | 2017-05-04T13:45:06 | 2017-05-04T13:45:06 | 89,869,389 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,859 | cpp | #include<iostream>
#include<math.h>
#include<fstream>
#include"ode_method.h"
using namespace std;
int main()
{
double Ye=0.5;
// double rho_old=10;
// double m_new,rho_new;
class RK4_class dwarf_star;
// double rest_kinetic_e=0,grav_e=0;
double rho_array[8]={-1,0,1,2,3,4,5,6};
ofstream myfile;
myfile.open("C_r_m... | [
"noreply@github.com"
] | xingzemao.noreply@github.com |
27cf1eb0e27a8874e8ead3f62867287322c0bd01 | 9f9660f318732124b8a5154e6670e1cfc372acc4 | /Case_save/Case20/case8/300/p | d22c5d277b2c58f363d43a026c8d6915c9e20b9e | [] | no_license | mamitsu2/aircond5 | 9a6857f4190caec15823cb3f975cdddb7cfec80b | 20a6408fb10c3ba7081923b61e44454a8f09e2be | refs/heads/master | 2020-04-10T22:41:47.782141 | 2019-09-02T03:42:37 | 2019-09-02T03:42:37 | 161,329,638 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,907 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6
\\/ M anipulation |
\*-------... | [
"mitsuaki.makino@tryeting.jp"
] | mitsuaki.makino@tryeting.jp | |
1cc041cfb9914639e213be1a47f9ed4f36a3eb3e | ade0043b6c686a65d8ee4cb412102755cd8464a2 | /zircon/system/dev/usb/usb-peripheral/usb-peripheral.cc | d354a7713eee79d2707db0a9415532a709cdd5ce | [
"BSD-3-Clause",
"MIT"
] | permissive | Xoooo/fuchsia | b806c2c355d367e9f6f740c80b446b10d3d5c42c | 58bb10136f98cc30490b8b0a1958e3736656ed8a | refs/heads/master | 2020-07-07T06:06:26.206594 | 2019-08-13T05:55:19 | 2019-08-13T05:55:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 29,294 | cc | // Copyright 2017 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "usb-peripheral.h"
#include <assert.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <threads.h>
#incl... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
3bab77aec364d8c92a7536d3c98fd42dccf8718e | 86a2acee9da5712c3d6fd1ff6c60a9c975b3f318 | /src/VertexBufferLayout.h | afcec7e74db1f6bccade897e485395aaa64db43b | [] | no_license | endre-szilagyi/fractal-erosion | 6b33a3fa309a7dbc772ffd646635b1b044e65aaf | 7226812ac10be5990ba69a28bd93c067ce230c4a | refs/heads/master | 2020-12-05T12:37:21.455942 | 2020-01-04T00:05:01 | 2020-01-04T00:05:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 867 | h | #ifndef FRACTALS_VERTEXBUFFERLAYOUT_H
#define FRACTALS_VERTEXBUFFERLAYOUT_H
#include <vector>
#include <GL/glew.h>
#include "VertexBufferLayoutElement.h"
class VertexBufferLayout {
public:
VertexBufferLayout();
VertexBufferLayout(const VertexBufferLayout &vertex_buffer_layout) = delete;
VertexBufferLay... | [
"ernyoke19930115@gmail.com"
] | ernyoke19930115@gmail.com |
1bf32946c46aced1e49e7e60e6cf0ef64e58dd99 | 390d7a875d4fba3a19053f6a6fff4089025738df | /video.cpp | ce96b0aa30f741507dee1ae5092d43ef8a6b5d6a | [] | no_license | ascetic85/Qswfrip | 9dfae2fe45009f6030ad38067958d95c04b8fe25 | 72236f65f74c4e2dd611f7577f3dd3ff4860b584 | refs/heads/master | 2016-09-06T02:53:20.531401 | 2013-06-19T10:10:09 | 2013-06-19T10:10:09 | 10,788,361 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,677 | cpp | #include "swf.h"
UI32 CSWF::ReadDefineVideoStream(DEFINEVIDEOSTREAM *lpdvsVideoStream)
{
UI32 ulTagLength=bsInFileStream.GetByteOffset();
memset(lpdvsVideoStream,0,sizeof(DEFINEVIDEOSTREAM));
memcpy(&lpdvsVideoStream->rhTagHeader,&rhTagHeader,sizeof(RECORDHEADER));
lpdvsVideoStream->usCharacterID=bsInFi... | [
"Apple@helloworld.local"
] | Apple@helloworld.local |
793351da8659a133a98800d2e3f575bc2e275511 | eb597f5e43cc56b1e3141376da31640b757baf93 | /src/fem_core/utils/nosighup.h | 62be3650601967e2555693dce2008237e6a4a081 | [] | no_license | AlienCowEatCake/vfem | 27cee7980eb37937a7bdaec66338f20860686280 | 4fe0b260c12be6ffe51d699d2a3076a35c7c2ece | refs/heads/master | 2023-02-15T19:35:48.320360 | 2017-02-03T19:46:47 | 2017-02-04T09:17:49 | 327,827,936 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 435 | h | #if !defined(UTILS_NOSIGHUP_H_INCLUDED)
#define UTILS_NOSIGHUP_H_INCLUDED
namespace fem_core { namespace utils { namespace nosighup {
/**
* @brief Устанавливает обработчик SIGHUP с перенаправлением вывода в файлы
* @note Hе использовать при отладке!
*/
void set_nosighup();
}}} // namespace fem_core::utils::nosigh... | [
"peter.zhigalov@gmail.com"
] | peter.zhigalov@gmail.com |
793bf2f7261074fbf8eeb16c80477f142d33b10d | 5cddf3fbc348e942fe2bddaf7d4def9da8590e77 | /LeetCode/c++/113_Path_Sum_II.cpp | d0a244f6debf82074830b3d14c698eaf8a8980bd | [] | no_license | ellyheetov/Problem-Solving | 76c0f1620ad4cb2f2584dde30ebb8ef5377e62d4 | 93dbc9d4033d965988794d13365706c0907bf4a0 | refs/heads/master | 2023-05-03T02:03:58.756412 | 2021-05-24T15:13:23 | 2021-05-24T15:13:23 | 258,560,934 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,852 | cpp | //
// Created by 박혜원 on 2020/04/22.
//
#include <iostream>
#include <vector>
#include <queue>
#include <sstream>
using namespace std;
struct TreeNode {
int val;
TreeNode *left;
TreeNode *right;
TreeNode(int x) : val(x), left(NULL), right(NULL) {}
};
class Solution {
public:
void recurse(TreeNode... | [
"60229909+ellyheetov@users.noreply.github.com"
] | 60229909+ellyheetov@users.noreply.github.com |
76a81e6fdab0a75e04b5e9a8854ce455838e1ec8 | 1f1cc05377786cc2aa480cbdfde3736dd3930f73 | /xulrunner-sdk-26/xulrunner-sdk/include/nsIRedirectChannelRegistrar.h | c3ba28057559fbe6aae9ed66e2c6d841be512c1e | [
"Apache-2.0"
] | permissive | julianpistorius/gp-revolution-gaia | 84c3ec5e2f3b9e76f19f45badc18d5544bb76e0d | 6e27b83efb0d4fa4222eaf25fb58b062e6d9d49e | refs/heads/master | 2021-01-21T02:49:54.000389 | 2014-03-27T09:58:17 | 2014-03-27T09:58:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,656 | h | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-cen-l64-xr-ntly-000000000000/build/netwerk/base/public/nsIRedirectChannelRegistrar.idl
*/
#ifndef __gen_nsIRedirectChannelRegistrar_h__
#define __gen_nsIRedirectChannelRegistrar_h__
#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif
/* For ... | [
"luis@geeksphone.com"
] | luis@geeksphone.com |
0107f2f2debb7bceec7f13b22c07144c6fc1a20a | 711e5c8b643dd2a93fbcbada982d7ad489fb0169 | /XPSP1/NT/net/tapi/skywalker/ipconf/test/t3out/procampp.cpp | bc8e91307459d27d86ffa8860140fad0e4080420 | [] | no_license | aurantst/windows-XP-SP1 | 629a7763c082fd04d3b881e0d32a1cfbd523b5ce | d521b6360fcff4294ae6c5651c539f1b9a6cbb49 | refs/heads/master | 2023-03-21T01:08:39.870106 | 2020-09-28T08:10:11 | 2020-09-28T08:10:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27,940 | cpp |
/****************************************************************************
* @doc INTERNAL PROCAMPP
*
* @module ProcAmpP.cpp | Source file for the <c CProcAmpProperty>
* class used to implement a property page to test the control interface
* <i ITVideoSettings>.
********************************... | [
"112426112@qq.com"
] | 112426112@qq.com |
6650f099574e951f0a4959e9393da38d02dc0177 | 4960d44a32752d9ccc8f159e6f8f153d4fbb3f8d | /FileBrowser/imgui_demo.cpp | 2216e515b6171f83255018ba2f909189d7c19a6e | [
"MIT"
] | permissive | bwrsandman/ImGui-Addons | 9c93b1b166755b4988b27cffaa473e8987576c53 | 04f1bb99c47d7e50c3aa54193b5aaebb99f150a0 | refs/heads/master | 2020-08-31T06:14:01.814966 | 2019-10-29T22:12:10 | 2019-10-29T22:12:10 | 218,619,769 | 0 | 0 | MIT | 2019-10-30T20:32:32 | 2019-10-30T20:32:31 | null | UTF-8 | C++ | false | false | 250,490 | cpp | // dear imgui, v1.74 WIP
// (demo code)
// Message to the person tempted to delete this file when integrating Dear ImGui into their code base:
// Do NOT remove this file from your project! Think again! It is the most useful reference code that you and other coders
// will want to refer to and call. Have the ImGui::Sho... | [
"ahmed.u@outlook.com"
] | ahmed.u@outlook.com |
6713afa6250617fb133d29a74af6825355880584 | eb051b472c4e664a162642bf57489ebdd61de008 | /QTableV2.h | 8cba39eb641fd5fefa9c0a00b435f5ee11bb70e7 | [] | no_license | rungstroem/AI2Exam | 8a5469af34f047cd989df54f0b6eb2f661c868c6 | b8827c640c72769d37a81eef00a320c4ddcdaed9 | refs/heads/main | 2023-04-29T15:14:55.352344 | 2021-05-17T17:55:47 | 2021-05-17T17:55:47 | 368,274,311 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,148 | h | /* Actions
* Piece1 Piece2 Piece3 Piece4
* */
/*
* Maybe create functions that can count how many times a state is visited and how many times
* an action is taken - for statistics afterward
*/
#include <time.h>
#include <vector>
#include <cstdlib>
#include <iostream>
#include <fstream>
const int states... | [
"noreply@github.com"
] | rungstroem.noreply@github.com |
83d4bb287b6bc87fd3ebc9e407c66e40afbddf3a | 0454c145a0f9df3747968bd8e5e8a95dbad62e60 | /Code-Solution/Motor2D/j1App.h | 195e66ad0a9f1659e320cc0b38fe3a121d6badb7 | [] | no_license | YessicaSD/CITM_2_Research_GroupMovement | 39e793ceacc967aaa7474d3ca17e075cd61b3269 | 881cc7b298c02cab5d8444398b896cc7edf4ba5e | refs/heads/master | 2020-04-23T08:15:22.177579 | 2019-05-01T12:45:50 | 2019-05-01T12:45:50 | 171,031,392 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,410 | h | #ifndef __j1APP_H__
#define __j1APP_H__
#include "p2List.h"
#include "j1Module.h"
#include "j1PerfTimer.h"
#include "j1Timer.h"
#include "PugiXml\src\pugixml.hpp"
#include <list>
// Modules
class j1Window;
class j1Input;
class j1Render;
class j1Textures;
class j1Audio;
class j1Scene;
class j1Map;
class j1PathFinding;... | [
"36170847+YessicaSD@users.noreply.github.com"
] | 36170847+YessicaSD@users.noreply.github.com |
5d7eed89a4d5d9e5304a5e36d8b241489ecfa0c8 | 9c099ee7f3fdea5b3abbd4d56d12603992ea319e | /src/base/Config.cpp | 6e85723f8e5ee659e22695dd9ddbaed29fd23c70 | [] | no_license | Rasie1/glowy3d | 782273331545ac1b8d54a0a3cee7a86208e1119d | 3ba7d60fc39887abbad55f701292f6ec33846444 | refs/heads/master | 2021-04-28T23:04:08.200368 | 2017-01-05T13:29:47 | 2017-01-05T13:29:47 | 77,740,879 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,677 | cpp | #include "base/Config.h"
#include "base/ConfigReader.h"
#include <cpptoml.h>
#include <map>
#include <iostream>
using namespace std;
namespace glowy3d
{
Config::Config(const std::string& filename)
{
auto config = cpptoml::parse_file(filename);
auto pScreenResolutionW = config->get_qualified_as<unsigned shor... | [
"rasielll@gmail.com"
] | rasielll@gmail.com |
109050d17dc0f0c25de89942aa815088b6cc72ed | 954bd8c43237b879fdd659a0f4c207a6ec0da7ea | /qt.labs/keepinmymind/src/release/moc_mainwindow.cpp | 4e1849263038a9c60059189d72d1fdabcc8c03e0 | [] | no_license | bothmagic/marxenter-labs | 5e85921ae5b964b9cd58c98602a0faf85be4264e | cf1040e4de8cf4fd13b95470d6846196e1c73ff4 | refs/heads/master | 2021-01-10T14:15:31.594790 | 2013-12-20T11:22:53 | 2013-12-20T11:22:53 | 46,557,821 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,142 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'mainwindow.h'
**
** Created: Fri 20. Jul 12:04:09 2012
** by: The Qt Meta Object Compiler version 62 (Qt 4.7.3)
**
** WARNING! All changes made in this file will be lost!
****************... | [
"markus.taubert@c8aec436-628a-29fb-4c76-4f2700b0ca23"
] | markus.taubert@c8aec436-628a-29fb-4c76-4f2700b0ca23 |
2343c5770c93d0bd9b298ffec278f1dd73a99dbd | 04b1803adb6653ecb7cb827c4f4aa616afacf629 | /base/posix/unix_domain_socket.cc | 7c087a53b5cca6753f8b3608f71ee07035ff7d64 | [
"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 | 9,605 | cc | // Copyright (c) 2011 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 "base/posix/unix_domain_socket.h"
#include <errno.h>
#include <sys/socket.h>
#if !defined(OS_NACL_NONSFI)
#include <sys/un.h>
#endif
#includ... | [
"sunny.nam@samsung.com"
] | sunny.nam@samsung.com |
5be4da6afd56e5518cc89fb4d33316552d6577da | 58b0973cbc7de0bf1a92f401315797a2a64f57d7 | /SimpleCalculator/simplecalculator.h | 584f138eb089e6e60514d8c95ba13c521f97b701 | [] | no_license | linx0911/QtExample | 4e2aea9da076961123e697378bfd9e2deef41211 | 1d443f94fe2f4ade268b6bb321de5ae6cecb326f | refs/heads/master | 2023-02-07T17:45:26.147274 | 2020-12-29T18:39:09 | 2020-12-29T18:39:09 | 325,088,754 | 0 | 0 | null | 2020-12-28T19:05:23 | 2020-12-28T18:37:54 | C++ | UTF-8 | C++ | false | false | 1,072 | h | #ifndef SIMPLECALCULATOR_H
#define SIMPLECALCULATOR_H
#include <QMainWindow>
QT_BEGIN_NAMESPACE
namespace Ui { class SimpleCalculator; }
QT_END_NAMESPACE
class SimpleCalculator : public QMainWindow
{
Q_OBJECT
public:
SimpleCalculator(QWidget *parent = nullptr);
~SimpleCalculator();
void SetResult(Q... | [
"linxgray0911@gmail.com"
] | linxgray0911@gmail.com |
42d37542c77354ae98ccd822585004956ef6c483 | cf33f3793250f2839d8455f85f578b906de4d6b1 | /NativeJIT/test/CodeGen/FunctionBufferTest.cpp | 1ee5548aa42ce7d73aa907b1bc4b074b33da3ba2 | [
"MIT"
] | permissive | BitFunnel/BitFunnel | 693570ebc3a06a4c406b7f0c56d50500e0eda738 | b8ec70eeb3aa2f6aef6166feb6780fac3acf981b | refs/heads/master | 2023-07-04T15:33:37.248624 | 2022-01-04T20:27:35 | 2022-01-04T20:27:35 | 55,266,587 | 402 | 47 | MIT | 2021-10-03T07:56:48 | 2016-04-01T22:44:40 | C++ | UTF-8 | C++ | false | false | 27,912 | cpp | // The MIT License (MIT)
// Copyright (c) 2016, Microsoft
// 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, mo... | [
"danluu@gmail.com"
] | danluu@gmail.com |
2e90c80e37adaf86304c66d1848bf4250ca44d46 | acaee026fefd54051676991ba1b24ae62a212436 | /tut_2/Source Files/main.3.cpp | a99d12ff23f8c686316ba55c6a86838adda180a9 | [] | no_license | Chris-QingYuan/pick_up_cpp | 596e063f47334dd1596e5cab0f7d58b02483a084 | e72a2c19789eae46de97cd467d87f912cd5f8594 | refs/heads/master | 2020-03-28T21:56:39.857672 | 2018-09-23T17:58:48 | 2018-09-23T17:58:48 | 149,194,139 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 734 | cpp | #include <cstdlib>
#include <iostream>
#include <string>
#include <vector>
#include <sstream>
int main(int argc, char const *argv[])
{
int intArr_0[10] = {1};
int intArr_2[] = {2, 3, 4};
std::cout << "the array car itself " << intArr_0 << std::endl;
for (int i = 0; i < sizeof(intArr_0) / sizeof(intA... | [
"1515y.chris@gmail.com"
] | 1515y.chris@gmail.com |
13c7b19347509dd37e16fe5ce8ab89f6fb352459 | 935ae3ef07ea8dc2a85c2ecafc4ec0d990a1ba84 | /Jingan/JinganInfo.cpp | fc3080e9f0023e112ee140be80657b1acce6fbc4 | [] | no_license | fanmuzhi/jingan | 3f11ecbbef4e7dacc1307fc68ffea9e239603342 | d3f6a17db706a1d6f10cbe5d563ff0afc5e13e4f | refs/heads/master | 2020-03-26T04:00:50.745704 | 2017-02-28T06:07:09 | 2017-02-28T06:07:09 | 144,481,865 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 617 | cpp | #include "JinganInfo.h"
#include "Syn_Test_Utils.h"
JinganInfo::JinganInfo(QWidget *parent)
: QWidget(parent)
{
ui.setupUi(this);
Qt::WindowFlags flags = Qt::Dialog;
this->setWindowFlags(flags);
this->SetInfo();
QObject::connect(ui.buttonBox, SIGNAL(clicked(QAbstractButton *)), this, SLOT(close()));
}
Jingan... | [
"JerryZhang@cn.synaptics.com"
] | JerryZhang@cn.synaptics.com |
b4de34efe1469c15cbb1972f85d1a7fcebf5e40a | 4133c68b2f4aa42d6e4ca207d16d912e19ff4a3f | /catkin_ws/devel/include/rosserial_arduino/Adc.h | 10ea42c08bdb6ad6b4ab35adeead5ae732307088 | [] | no_license | WolfNCTU/Mechanical_Practice | c17913969835a43a056e296a0e3e662fbf26ab28 | de8de20d2e7552978081298e0cf6219890896d53 | refs/heads/master | 2020-04-05T18:20:29.816716 | 2018-12-24T06:33:00 | 2018-12-24T06:33:00 | 157,082,675 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,735 | h | // Generated by gencpp from file rosserial_arduino/Adc.msg
// DO NOT EDIT!
#ifndef ROSSERIAL_ARDUINO_MESSAGE_ADC_H
#define ROSSERIAL_ARDUINO_MESSAGE_ADC_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include <ros/m... | [
"andy11259@yahoo.com.tw"
] | andy11259@yahoo.com.tw |
579cf7d9aee5c3fadfcc1403e56c1c094ddc0fdb | 1bb0ccb24e47f6f7255600505f3b9f97121e5f35 | /src/fast/tracker.h | 782e0a5d50c21b21457c66bfd4926b4ba5dd8317 | [
"BSD-3-Clause"
] | permissive | ZouCheng321/omni3d | a123c74f4b502d4e2654ff7ce4399f5d9a6ea5f6 | 3b816e2428c341f794fae28377408c05a90d5ddb | refs/heads/master | 2020-03-18T14:04:46.332665 | 2016-02-10T08:39:06 | 2016-02-10T08:39:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,467 | h | #pragma warning(disable: 4786)
#ifndef _TRACKER_H__
#define _TRACKER_H__
#include <stdlib.h>
#include <iostream>
#include "fast.h"
#include <algorithm>
#include <vector>
#include <map>
#include <string>
#include <iterator>
#include <math.h>
#include <assert.h>
#include <functional>
... | [
"o.koch@FR-55S0342.criteois.lan"
] | o.koch@FR-55S0342.criteois.lan |
c80465ff37102aaf3374c44b3db3b8d72b62cf6a | 4920997fa59184511998ab138efc7faee8427555 | /calit2/FuturePatient/GroupedBarGraphWPoints.cpp | 7afa948c6b5be6169133a3917c4f947ecc13e4ac | [] | no_license | szellmann/calvr_plugins | 24721ad5a5b15bee6eb0f3e59dd078d543d9cd92 | daabe8025a0664b7ebc0a465b91baa6e51ed5746 | refs/heads/master | 2023-06-27T05:13:15.657784 | 2017-11-14T01:39:12 | 2017-11-14T01:40:54 | 109,897,267 | 0 | 0 | null | 2017-11-07T22:14:38 | 2017-11-07T22:14:38 | null | UTF-8 | C++ | false | false | 59,280 | cpp | #include "GroupedBarGraphWPoints.h"
#include "GraphGlobals.h"
#include <cvrKernel/CalVR.h>
#include <cvrConfig/ConfigManager.h>
#include <iostream>
#include <sstream>
#include <cfloat>
#include <cmath>
#include <osg/Depth>
using namespace cvr;
GroupedBarGraphWPoints::GroupedBarGraphWPoints(float width, float heigh... | [
"aprudhom@lava.ucsd.edu"
] | aprudhom@lava.ucsd.edu |
abdabfd1bdd3a119a464d9c8a61317910f7a5c2f | 3c7ef1f858eb58a7a4110825812f546b4c5105e8 | /src/odometry.cpp | 50882d13847abf9ecc9e593ba273a7f3988ec865 | [] | no_license | revilo196/Vac32Bot | 5de4207e18ea4904ac76a02959eea6e32fdf830d | 0a15d22f3ef758bd780622340dbcc699f5321833 | refs/heads/master | 2021-01-06T00:42:54.083418 | 2020-03-06T17:42:28 | 2020-03-06T17:42:28 | 241,179,318 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,809 | cpp | #include <cmath>
#include "odometry.h"
// Bring the 'difference' between two angles into [-pi; pi].
float normalizeRadiansPiToMinusPi(float rad) {
// Copy the sign of the value in radians to the value of pi.
float signed_pi = std::copysign(M_PI,rad);
// Set the value of difference to the appropriate signed val... | [
"oli1111@web.de"
] | oli1111@web.de |
dc00b76741a50b31bed736ab8b98f2acd1fe53ba | d65d30d108215836428fa39c018c424f69e5c14b | /Classes/Mortal.h | bdf416937bfeca9f9585e7a3a9331e54975c3fc8 | [] | no_license | Crasader/ProjectX | 12d616bec5fd930d69f1b6f28f78db298177b9ec | 3924e3f93d76b2474550faebcafa6f80d5774ced | refs/heads/master | 2020-12-04T17:57:52.374347 | 2018-06-08T02:21:26 | 2018-06-08T02:21:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 481 | h | #pragma once
#include "Animal.h"
// Mortal class, remember to call update appropriately!
class Mortal : public Animal {
public:
static Mortal* create(int classIndex, std::string playerName, int playerIndex);
std::string getPlayerName();
std::string getClassName();
int getPlayerIndex();
protected:
void update(... | [
"samnolan555@gmail.com"
] | samnolan555@gmail.com |
6037ff480fdc280d62c29275fe332ef697b93347 | 076aa7a8e3bf1dbbe3fdfe137a155540dca3c5af | /GameStateHandler.cpp | 0dd048531a01bd6bf21757a3926fd241941f91eb | [] | no_license | iregilah/cpp-nagyhazi | 189cfcc2d073adc9b026bd460e021382a13beeb9 | b46078e61a22b08eec165368fd84ab05a8b76a60 | refs/heads/master | 2023-08-05T19:12:18.712272 | 2021-10-05T17:02:46 | 2021-10-05T17:02:46 | 413,904,966 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 804 | cpp | #include "GameStateHandler.h"
#include "MainMenuState.h"
#include <cassert>
std::unique_ptr<GameStateHandler> GameStateHandler::instance;
GameStateHandler &GameStateHandler::getInstance() {
static GameStateHandler handler;
return handler;
}
GameStateHandler::GameStateHandler() {
gameState = std::make_uniq... | [
"halasz.gergo44@gmail.com"
] | halasz.gergo44@gmail.com |
9f223d9576bbe251267c778d6ec90b2a4b33a9e7 | 44f04b8f2b6c0dba51f1e998985d3a9e8540715f | /CodeForces/466/C/C.cpp | 9069e0d8f673adfb5fba12b96e32c31a1f6fcf59 | [] | no_license | GuessEver/ACMICPCSolutions | 2dd318a45939711eff1dd208cffc05a029b38130 | 909927778efd77ca9ec8e18aed3ff22c167d2a33 | refs/heads/master | 2020-05-18T20:52:32.359955 | 2015-11-04T08:31:43 | 2015-11-04T08:31:43 | 29,720,059 | 5 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 514 | cpp | #include <cstdio>
#include <iostream>
using std::cout;
using std::endl;
const int N = 5 * 100000 + 10;
int n;
long long sum[N];
long long ans;
int main()
{
scanf("%d", &n);
for(int i = 1; i <= n; i++)
{
int a; scanf("%d", &a);
sum[i] = sum[i-1] + a;
}
if(sum[n] % 3 != 0) { puts("0"); return 0; }
long long ... | [
"jiangzh777@163.com"
] | jiangzh777@163.com |
38e1b4b673dd5d6ee105fcd37250552498dcaf90 | bc0825fed62feca1a626835644190827eaeb7053 | /src/unittest/end-to-end-test-small-load.cc | 3ee8ac8beb6a97cea691742997c535466920d5c9 | [
"MIT"
] | permissive | YanzhaoWu/mosaic | 9d4e3454a5523c62639e7f368dee5521e39f8144 | 6484cc7f5e7918a363d578a89283e94771987d8a | refs/heads/master | 2021-07-09T09:16:18.266229 | 2017-10-04T03:54:57 | 2017-10-04T03:54:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,721 | cc | #include "test.h"
#include <core/util.h>
#include <core/datatypes.h>
namespace core = scalable_graphs::core;
namespace util = scalable_graphs::util;
int main(int argc, char** argv) {
if (argc != 3) {
printf("Usage: test_end_to_end_small [path_to_tiles] [path_to_meta]\n");
return 1;
}
std::string path_t... | [
"steffen.maass@gatech.edu"
] | steffen.maass@gatech.edu |
9e932d68885c3f3997a7b657c3e3ab1fe8584779 | 6fee5fd1b5412e65a3a6c4df3edfa608c885f11b | /Cpp/11572 Unique Snowflakes.cpp | 98d84290c7377f5f4556dfbb273216554800e083 | [] | no_license | PrinceCuet77/UVa | d47f000ae6c05465b5582c77626a7d9f2942eb71 | d45e0d895bf56696d5bb0c331a517249b7ba6ef1 | refs/heads/master | 2020-12-15T00:39:33.049648 | 2020-05-31T07:52:21 | 2020-05-31T07:52:21 | 234,930,506 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 848 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main()
{
ll testCase;
cin >> testCase;
for ( int i = 0; i < testCase; i++ ) {
ll n, value;
cin >> n;
map < ll, ll > mp;
ll result = 0, block = 0, cnt = 0;
... | [
"noreply@github.com"
] | PrinceCuet77.noreply@github.com |
d9c3b58bfb8cba0833cc524ee0a8cbb037a4c39f | 78d87f98fdbcedd27b466e8a6bfb75a94d161628 | /clientApp/helplibdialog.h | f25a9acfef5e41faf2b2763523cbcf270aa504b1 | [] | no_license | matinfazel/Volumina | a394bdf768c4430bd867c48701344f7193fd58c0 | 73805068b01c0a160b11c98003500d9d10d67f24 | refs/heads/main | 2023-03-03T09:52:26.961103 | 2021-02-14T07:14:53 | 2021-02-14T07:14:53 | 338,744,499 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 422 | h | #ifndef HELPLIBDIALOG_H
#define HELPLIBDIALOG_H
#include <QDialog>
namespace Ui {
class HelpLibDialog;
}
class HelpLibDialog : public QDialog
{
Q_OBJECT
public:
explicit HelpLibDialog(QWidget *parent = nullptr);
~HelpLibDialog();
private slots:
void on_close_button_clicked();
... | [
"noreply@github.com"
] | matinfazel.noreply@github.com |
d3d8ebc33a9a14ae66366364710f16adcf9590bd | f8c2769f3e96adb0f50b86cb9ba86eb7b6ff3328 | /renderdoc/driver/d3d11/d3d11_context1_wrap.cpp | 0e95fee3a807adedf0e634200b6aaee958c7013a | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | mistajuliax/renderdoc | 353e20037fa906750153002b0a5488fe7a6aced0 | ae82dfcb26f79c6bc3fef721cb494e30659fe778 | refs/heads/v1.x | 2022-06-23T12:15:00.965728 | 2018-03-15T13:32:21 | 2018-03-15T13:32:21 | 126,796,656 | 0 | 0 | MIT | 2022-06-17T12:19:36 | 2018-03-26T08:20:30 | C++ | UTF-8 | C++ | false | false | 72,960 | cpp | /******************************************************************************
* The MIT License (MIT)
*
* Copyright (c) 2015-2018 Baldur Karlsson
* Copyright (c) 2014 Crytek
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (t... | [
"baldurk@baldurk.org"
] | baldurk@baldurk.org |
4c35599f8f56ffa2c7961996b5ae0a5384959bb7 | 9030708d919add005d222699c80a99206d671c06 | /backend/BackendManager.h | e86c0988eb04a328e34f4f0b453a7ac306c07e6e | [
"Apache-2.0",
"LicenseRef-scancode-dco-1.1"
] | permissive | bvsg363/drm_hwcomposer_master | 69b8d2e2f171683ca265d9906d10d5379c7ecccc | 5376072a7d4e8bf1d7ab466d0c13c318812ade90 | refs/heads/master | 2023-03-18T12:06:37.803014 | 2021-03-17T11:08:28 | 2021-03-17T11:08:28 | 348,676,624 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,042 | h | /*
* Copyright (C) 2020 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | [
"bvsg363@gmail.com"
] | bvsg363@gmail.com |
56b9726e6a806beee459bd74eeeea6fc5c7ce473 | 54ef0f6a1c46729a30b5291af09b25f89d53cff9 | /CPP/bubble-sort.cpp | 0ee81cc14e0429c045447e4adc468e8a0591d2da | [
"CC0-1.0"
] | permissive | 0xsegf/hacktoberfest2021 | cf59fad7798e4e682d0bbb540ff26c67ed917d26 | e4345398d0dc7becba639233d844831ed50aae8c | refs/heads/master | 2023-09-02T14:47:00.517013 | 2021-10-31T17:27:31 | 2021-10-31T17:27:31 | 422,652,622 | 0 | 1 | CC0-1.0 | 2021-10-31T17:27:32 | 2021-10-29T17:01:20 | Jupyter Notebook | UTF-8 | C++ | false | false | 403 | cpp | #include <bits/stdc++.h>
using namespace std;
void swap(int* a, int* b) {
int t;
t = *a;
*a = *b;
*b = t;
}
int main() {
int n;
cin >> n;
int arr[n];
for (int i = 0; i < n; i++) cin >> arr[i];
for (int i = 0; i < n; i++)
for (int j = 0; j < n - 1; j++)
if (arr[j] > arr[j + 1]) swap(&arr[j]... | [
"noreply@github.com"
] | 0xsegf.noreply@github.com |
d1658bd832fa2397f45eb94d225e82ab2ebd89bf | 9c56a1548ee24fa679b831bca5e796fa86dbb583 | /baekjoon/11724/source.cpp | b7b69e72fb6db0eefb166434101908efb2ba8fdc | [
"CC-BY-4.0",
"CC-BY-3.0"
] | permissive | qilip/ACMStudy | 1a006f759d52dc6afbb0cd4b6c2060a8bf5377d8 | da7361b09a4519b3c721d54cd6df6ff00337fa27 | refs/heads/master | 2023-04-21T17:50:52.806789 | 2023-04-10T17:39:57 | 2023-04-10T17:39:57 | 124,194,483 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 610 | cpp | #include <cstdio>
#include <algorithm>
using namespace std;
int N, M, p[1010];
int find(int cur){
if(cur==p[cur]) return cur;
return p[cur] = find(p[cur]);
}
int merge(int a, int b){
a=find(a);
b=find(b);
if(a==b) return 0;
p[b] = a;
return 1;
}
int main(void){
scanf("%d %d", &N, &M... | [
"qilip@qilip.io"
] | qilip@qilip.io |
d3ddeea9949c76ccfd38d718569fba25752d36c9 | c73b25c20f3b56343ae31399a4d51134098451f3 | /cpp/SampleCustomUndo/SampleCustomUndoPlugIn.cpp | f43442036abb6cd753a895a7d221f82823ef00c6 | [
"MIT"
] | permissive | deKlerk/rhino-developer-samples | b3fe59392729ab2ab168945c5f7accbfc1bb7f7c | 7f26b4d48c0579e97fe5964fe27ebed5168c135a | refs/heads/master | 2020-03-27T06:34:39.594185 | 2017-08-25T17:04:07 | 2017-08-25T17:04:07 | 146,116,291 | 0 | 1 | null | 2018-08-25T17:36:56 | 2018-08-25T17:36:55 | null | UTF-8 | C++ | false | false | 6,436 | cpp | // SampleCustomUndoPlugIn.cpp : defines the initialization routines for the plug-in.
//
#include "StdAfx.h"
#include "rhinoSdkPlugInDeclare.h"
#include "SampleCustomUndoPlugIn.h"
#include "resource.h"
// The plug-in object must be constructed before any plug-in classes derived
// from CRhinoCommand. The #pragma init_... | [
"dale@mcneel.com"
] | dale@mcneel.com |
4b5329bf224f4d839b7ad4fa2eb29dd8d49f10f9 | 841eb9c27fd1960516758345b24661a6add13f56 | /app.cpp | 1707a01f2bc0e1fdd6d646bee6a93040f683c155 | [] | no_license | DaanA32/pvm | 92cabee388fa944b397483be0022cf43a5f57ad9 | d6bdf0a1841d5b9bcaa2ca1f1ec1d6b54b81b875 | refs/heads/master | 2021-03-24T12:56:34.038802 | 2018-03-18T10:50:30 | 2018-03-18T10:50:30 | 121,933,369 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 87 | cpp | #include <iostream>
int main()
{
std::cout << (-5 % 6) << std::endl;
return 0;
} | [
"daan.adams@student.ucll.be"
] | daan.adams@student.ucll.be |
c6dafa17967eab1da0ecaab11ac6757ed9973a96 | 725104e743ab6c99e6dcfd4e749c069af4c9cdc9 | /LeetCodeTestSolutions/Ex089-GrayCode.cpp | 89cb8cb4314e9f3163cee4ed9ca5a7e04e3706b1 | [] | no_license | Msudyc/LeetCodePartCpp | 7306af23a1921e0c52fc29d12b32fad337a62174 | 0204709753fdaeee6fa222f70fa11ff9bd1f6e6d | refs/heads/master | 2021-01-15T10:25:49.839340 | 2014-11-09T04:05:49 | 2014-11-09T04:05:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 885 | cpp | /*
The gray code is a binary numeral system where two successive
values differ in only one bit.
Given a non-negative integer n representing the total number
of bits in the code, print the sequence of gray code. A gray
code sequence must begin with 0.
For example, given n = 2, return [0,1,3,2]. Its gray code
sequen... | [
"msudyc@gmail.com"
] | msudyc@gmail.com |
94a69f5a06c7cd4f04f4cb35e7576d40ac9a0077 | 412bde5326428b302929e646d3f70f1fb02a46e5 | /SSDE/LLVM/llvm/tools/clang/tools/extra/clang-tidy/llvm/TwineLocalCheck.cpp | 986c338ac221ca23680f77b35673309652bb33fa | [
"NCSA"
] | permissive | ElTantawy/mimd_to_simt | 64dbd1e22ba407a0a66e4b32ce0b4c8a34811661 | 1f3f1d83d84e29eb6a5b883b312f8eea7a3313a2 | refs/heads/master | 2020-04-02T04:24:55.177534 | 2018-11-28T21:25:32 | 2018-11-28T21:25:32 | 65,509,095 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,245 | cpp | //===--- TwineLocalCheck.cpp - clang-tidy ---------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"ahmed.mohammed.eltantawy@gmail.com"
] | ahmed.mohammed.eltantawy@gmail.com |
6501194232c940c09abd316615d7b6945c55cbd0 | 4e35f816ac48dd1628eb0b41e01c0a2cfae02dc4 | /乙题/1035.cpp | 3ca45d968d67288f13f915a887c3b026a72b4f9f | [] | no_license | Tyaoo/PAT | 03b9a8e74be623e30b2c7781db880be27136f72c | 1fe4e87c6d21e70a6642ecd501ca5fd3a2bb21e7 | refs/heads/master | 2021-05-20T15:54:14.773080 | 2020-04-08T07:53:53 | 2020-04-08T07:53:53 | 252,355,611 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,878 | cpp | #include<bits/stdc++.h>
using namespace std;
int cmp(int *a, int *b, int n){
for(int i=0; i<n; i++){
if(a[i] != b[i]){
return 0;
}
}
return 1;
}
int main(){
int n;
scanf("%d", &n);
int org1[n], org2[n], mid[n];
for(int i=0; i<n; i++){
scanf("%d", &org1[i... | [
"1136245383@qq.com"
] | 1136245383@qq.com |
6e49721ffe32a093e9c6211322ee2e07a85d093f | fa4492ecd806d6cc3e30a8b8141b9f769f73d6d6 | /Hazel/src/Hazel/Platform/OpenGL/OpenGLContext.h | 63d88e76fca248240a60b29966323ed163d26838 | [
"MIT"
] | permissive | escrichov/Hazel | 4583a56eff630c93bd7152ef064ff6b8f9e128e4 | c266ede643d7473518d561c23a3827bde1481eb0 | refs/heads/master | 2021-04-08T17:20:18.942176 | 2020-04-12T16:18:30 | 2020-04-12T16:18:30 | 248,793,901 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 293 | h | #pragma once
#include "Hazel/Renderer/GraphicsContext.h"
struct GLFWwindow;
namespace Hazel {
class OpenGLContext : public GraphicsContext
{
public:
OpenGLContext(GLFWwindow* window);
void Init() override;
void SwapBuffers() override;
private:
GLFWwindow* m_WindowHandle;
};
} | [
"Carlos Escriche"
] | Carlos Escriche |
03801a666b20ff1d0fb00b441814f3544546e84d | 6b3a46c9c6570fd760d7f69eb77e16ad43b8114b | /P02/Test.cpp | 7dd704e70da99df8cfd76d4487fd558e57e46d15 | [] | no_license | EstevesAndre/CAL1718 | 957f54b29563e2bfee1a74158197c9481a81bd4a | 4a810b969de8d7822cea3cdf0da59bf310155b57 | refs/heads/master | 2018-10-09T11:30:26.894168 | 2018-06-22T22:43:35 | 2018-06-22T22:43:35 | 121,650,736 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,592 | cpp | #include "cute.h"
#include "ide_listener.h"
#include "xml_listener.h"
#include "cute_runner.h"
#include "Sudoku.h"
#include "Labirinth.h"
void compareSudokus(int in[9][9], int out[9][9])
{
for (int i = 0; i < 9; i++)
{
for (int a = 0; a < 9; a++)
ASSERT_EQUAL(in[i][a], out[i][a]);
}
}
void testSudokuAlreadySo... | [
"estevesandre1@hotmail.com"
] | estevesandre1@hotmail.com |
d132cb00dd4570685d83f15e7c929b64f36e33b3 | 54ab54febf36f5b20078ee19c53e34ffbb9cdee6 | /sprint03/t04/outputContainer.h | 7751bada7c3ada104e1afdd31ea1885d6717c1c3 | [
"MIT"
] | permissive | arni30/marathon-cpp | dca1a42fc1bbdffe68de7eaeb5dd2caaa8483eae | b8716599a891e2c534f2d63dd662931fe098e36a | refs/heads/master | 2022-12-16T12:45:21.252421 | 2020-09-12T15:50:10 | 2020-09-12T15:50:10 | 291,640,605 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 347 | h | #ifndef T04_OUTPUTCONTAINER_H
#define T04_OUTPUTCONTAINER_H
#include<iostream>
#include <iterator>
#include <algorithm>
template<typename Container>
void outputContainer(const Container& container) {
std::ostream_iterator<typename Container::value_type> cout(std::cout, "\n");
std::copy(container.begin(), contai... | [
"alex30jordan@gmail.com"
] | alex30jordan@gmail.com |
5cbd08b16aed2eebdd050dce049d844c775c6c3c | 5bc8070ac4dc6bdfcdff50079f16c65ebd3dad89 | /159_reverse_words.cpp | 455cfa354e6092edac8a745334479718718659b2 | [] | no_license | pi5/leetcode_algos | 6c05c3be926d772a43a461049b4578d8a43e6ec8 | da92d4fd5e47ebdb826155a3aa982fbc5ae8ee8b | refs/heads/master | 2021-01-20T11:13:37.490826 | 2015-04-28T23:40:38 | 2015-04-28T23:40:38 | 33,007,929 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,684 | cpp | #include<iostream>
#include<string>
using namespace std;
class Solution {
public:
void reverseWords(string &s) {
int n = s.length();
if (n == 1 && s[0] == ' ') {
s = "";
return;
}
if (n <= 1) return;
/* First rever... | [
"pi5@umbc.edu"
] | pi5@umbc.edu |
a8c0d4a2fe714641ba3d772948b5bd6ae9b47660 | c1a63f99d40495eef82902b0d3336f4e8443288d | /Passage.cpp | 5b0cce85722001c8fc6a6e51adcb704b2bb4038e | [] | no_license | emadbutt17/Rogue_Dungeon | b765d15205ac9aff61eb34982e6168012302a820 | b30bb19119aa6e302dd33c131e65378be7d78d6d | refs/heads/main | 2023-04-24T02:19:46.020558 | 2021-05-08T22:10:18 | 2021-05-08T22:10:18 | 365,619,966 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,137 | cpp | //
// Created by constantine on 9/13/20.
//
#include "ObjectDisplayGrid.h"
#include "Passage.h"
#include <algorithm>
#include <iostream>
#include <assert.h>
Passage::Passage(std::string name) : Structure('#'), door('+') {
this->name = name;
}
void Passage::setPosX(int x) {
xVec.push_back(x);
}
void Passage:... | [
"noreply@github.com"
] | emadbutt17.noreply@github.com |
790897f28fba86ec3ebbc2c4ed6928f6c4cb5575 | d2249116413e870d8bf6cd133ae135bc52021208 | /MFC CodeGuru/controls/simdatatip/Tfxdatatip.h | 4e031d8ca0d4747e980d29a775a9870d5ce0c6a5 | [] | no_license | Unknow-man/mfc-4 | ecbdd79cc1836767ab4b4ca72734bc4fe9f5a0b5 | b58abf9eb4c6d90ef01b9f1203b174471293dfba | refs/heads/master | 2023-02-17T18:22:09.276673 | 2021-01-20T07:46:14 | 2021-01-20T07:46:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,010 | h | /*
* Configuration control preamble *********************************************
*
* PROJECT: C++ Library
*
* TITLE: Data Tip window (aka. enhanced Tooltips)
* FILENAME: tfxdatatip.h
*
* CREATED: 10 April 1997
* ORIGINATOR: S.A.J. Wilson
*
* (c) C... | [
"chenchao0632@163.com"
] | chenchao0632@163.com |
0baced9d90886b16da40b4912826a233fbe705f0 | 3f1619529291bcebdaf9d2faa94d8e07b7b7efda | /operator_Vivado/float_div3/fir_prj/solution1/.autopilot/db/hls_design_meta.cpp | c2638f058482ba464a340dcfc394244a4bcf2107 | [] | no_license | Victorlzd/High_Level_Synthesis_Trainee | 6efb431b0de4f5ef84cc4e5bad90a24c4c9b434d | 01350bb65de0fae9377aa52986a3541c27e6a9c2 | refs/heads/master | 2021-09-21T22:28:22.140443 | 2018-08-31T22:08:27 | 2018-08-31T22:08:27 | 137,374,417 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 580 | cpp | #include "hls_design_meta.h"
const Port_Property HLS_Design_Meta::port_props[]={
Port_Property("ap_clk", 1, hls_in, -1, "", "", 1),
Port_Property("ap_rst", 1, hls_in, -1, "", "", 1),
Port_Property("ap_start", 1, hls_in, -1, "", "", 1),
Port_Property("ap_done", 1, hls_out, -1, "", "", 1),
Port_Property("ap_idle", 1... | [
"victorlezaud@gmail.com"
] | victorlezaud@gmail.com |
e0f9ff3dc59f3f0edc312bdc1fabc8f5e33509d7 | 72e915468eea207ed0125b87f28186e54b10bd92 | /UserDev/RecoTool/Cluster3DRecoUtil/Alg/Find3DShoweringPoint.h | 2feb13fa2035572b235fafb76cf6b590971addeb | [] | no_license | hgreenlee/larlite | 37834d3105d21e4a475776763e349c15faa2d644 | a7e88ac08d89ffe195651e251037d9e1bfe64b2e | refs/heads/trunk | 2020-12-30T14:46:48.894003 | 2019-09-24T22:01:49 | 2019-09-24T22:01:49 | 91,092,510 | 0 | 0 | null | 2017-05-12T13:07:06 | 2017-05-12T13:07:06 | null | UTF-8 | C++ | false | false | 1,105 | h | /**
* \file Find3DShoweringPoint.h
*
* \ingroup ClusterRecoUtil
*
* \brief Class def header for a class Find3DShoweringPoint
*
* @author david caratelli
*/
/** \addtogroup ClusterRecoUtil
@{*/
#ifndef FIND3DSHOWERINGPOINT_H
#define FIND3DSHOWERINGPOINT_H
#include <iostream>
#include "Cluster3DRecoUtil/Ba... | [
"devish.c@gmail.com"
] | devish.c@gmail.com |
2121123f3b0c3ba4aa5d3af0f24c73018cda6c73 | e16f201da897b605b843445b089d19eb51a74285 | /Source/BattleTank/TankAimingComponent.h | 1aabecbf3f946d9cf697a45c7eaf93fd95caa74f | [] | no_license | DannSant/UnrealBattleTank | 9b81d5d3219a181cf4282112af9495683fc631d0 | b59dd0fbf03cd7d89c7c43b0fe40525b8cb9d537 | refs/heads/master | 2020-06-05T09:05:30.302026 | 2019-06-17T17:00:21 | 2019-06-17T17:00:21 | 192,385,832 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 995 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "Kismet/GameplayStatics.h"
#include "CoreMinimal.h"
#include "Components/ActorComponent.h"
#include "TankAimingComponent.generated.h"
class UBarrelTank;
//Holds barrel's properties and elevate method
UCLASS( ClassG... | [
"dann.santlar@gmail.com"
] | dann.santlar@gmail.com |
084310b05d6d46ae6b366c3e38c2043644302333 | 01ec5fae952211e0a0ab29dfb49a0261a8510742 | /backup/source/cpp/[202]快乐数.cpp | a4b57608dbe1cf4a74170d0d69d56a4c9136cf47 | [] | no_license | algoboy101/LeetCodeCrowdsource | 5cbf3394087546f9051c493b1613b5587c52056b | 25e93171fa16d6af5ab0caec08be943d2fdd7c2e | refs/heads/master | 2021-02-20T00:18:51.225422 | 2020-06-21T09:04:24 | 2020-06-21T09:04:24 | 245,323,834 | 10 | 4 | null | 2020-03-09T02:23:39 | 2020-03-06T03:43:27 | C++ | UTF-8 | C++ | false | false | 714 | cpp | //编写一个算法来判断一个数是不是“快乐数”。
//
// 一个“快乐数”定义为:对于一个正整数,每一次将该数替换为它每个位置上的数字的平方和,然后重复这个过程直到这个数变为 1,也可能是无限循环但始终变不到 1。
//如果可以变为 1,那么这个数就是快乐数。
//
// 示例:
//
// 输入: 19
//输出: true
//解释:
//12 + 92 = 82
//82 + 22 = 68
//62 + 82 = 100
//12 + 02 + 02 = 1
//
// Related Topics 哈希表 数学
//leetcode submit region begin(Prohibit modificat... | [
"chenwenwen0210@126.com"
] | chenwenwen0210@126.com |
db99773b0c3c74f79405b4017ab586c3af25db66 | a2a36c771c513e2f202e2851e141c8d8493ee8f7 | /cpp primer plus/chaptereleven/no6/main.cpp | 75b0aca5e67782dd35ed7c38b9c3edfc365e84c7 | [] | no_license | XUqilian/Cproject | dcecc9c28e94fc7ab5a68d93bed944266578d429 | fa73a0f05e21375a423a3d21540c7a118cef253b | refs/heads/master | 2023-08-22T05:49:25.723540 | 2023-08-03T15:34:34 | 2023-08-03T15:34:34 | 237,756,845 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 441 | cpp | #include "head.h"
//#include<iostream>
int main()
{
ston a[6]={12.3,23.4,34.5};
for(int i=3;i<6;i++)
{
scanf("%f",&a[i]);
}
ston* max=&a[0];
ston* min=&a[0];
for(int i=1;i<6;i++)
{
if (*max<a[i]) max=&a[i];
if(*min>a[i]) min=&a[i];
}
ston t(11,0);
... | [
"57311647+XUqilian@users.noreply.github.com"
] | 57311647+XUqilian@users.noreply.github.com |
e876b33fcc36ac2f7920186e72f01a3fd3a148ba | 2547370ac5335d2ec3b05c21621ccf51b6e021fd | /securitySystemCode/securitySystemCode.ino | f0ff55df237447fa5b0f65ee504b35bf7f1a74b9 | [
"MIT"
] | permissive | an36/ECE-411-Team-5 | 7932f6d521adff4bfb774fa0902ddd84b2f07576 | 53e02572ab448f8203a6c55b43856a72ceeae138 | refs/heads/main | 2023-01-30T06:35:38.960553 | 2020-12-08T22:37:56 | 2020-12-08T22:37:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,903 | ino | #include <Keypad.h>
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
//-----------------------STEPPER MOTOR CODE ----------------------------
const int STEPS_PER_REV = 200;
const int dirPin = 2;
const int stepPin = 3;
int stepsRequired = 65;
int mSpeed = 2000;
int lockStatus = 0; // 0 is unlocked, 1 is locked
//------... | [
"an36@pdx.edu"
] | an36@pdx.edu |
0ccd9cfe2b0d02bcb7de536a36e1ce17ab1d343d | 4c23be1a0ca76f68e7146f7d098e26c2bbfb2650 | /ic8h18/0.004/CC5H10OOH-A | c96943577ff4caddc1a890dd693cb55286f3d918 | [] | no_license | labsandy/OpenFOAM_workspace | a74b473903ddbd34b31dc93917e3719bc051e379 | 6e0193ad9dabd613acf40d6b3ec4c0536c90aed4 | refs/heads/master | 2022-02-25T02:36:04.164324 | 2019-08-23T02:27:16 | 2019-08-23T02:27:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 843 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6
\\/ M anipulation |
\*-------... | [
"jfeatherstone123@gmail.com"
] | jfeatherstone123@gmail.com | |
3508231d1fbc907c9bf008935160861076b3885d | aef0d7272830097bdb1166ae5c091050cc03fc2a | /Lab Work/Week 9/W9Q1.cpp | c02789c9bf62c78bac00b5571751323cb8c42af7 | [] | no_license | Rajendrasinghjeena/DAA | 5fe57cc31b3e7f1667762d38b718df64e0ef99bf | ab8fb3f2eba189301ea45899d21060bf6e830a9d | refs/heads/master | 2023-08-26T08:55:52.053454 | 2021-11-13T03:08:06 | 2021-11-13T03:08:06 | 405,114,708 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,292 | cpp | #include <bits/stdc++.h>
using namespace std;
#define V 5
#define INF 99999
void printSolution(int dist[][V]);
void floydWarshall(int graph[][V])
{
int dist[V][V], i, j, k;
for (i = 0; i < V; i++)
for (j = 0; j < V; j++)
dist[i][j] = graph[i][j];
for (k = 0; k < V; k++) {
... | [
"noreply@github.com"
] | Rajendrasinghjeena.noreply@github.com |
324a758836faef09f05ca27f8196ffa795b8907b | 7e091d3fd10d0029548941319cac5886941226e4 | /MathUtil.cpp | b4b5f806fee932af4aa1c70e421b6a2ddd0a6660 | [
"MIT"
] | permissive | rroa/GeometryWars | 576fc23b44fc469f8e77df613d477802b7018b2b | 28decab8aa9f9da8584b4b93dd81099e2cbd8aed | refs/heads/master | 2021-01-22T05:20:54.077175 | 2016-01-09T15:42:15 | 2016-01-09T15:42:15 | 27,763,078 | 3 | 5 | MIT | 2020-06-06T05:22:28 | 2014-12-09T11:16:00 | C++ | UTF-8 | C++ | false | false | 1,468 | cpp | #include "Utility/package.hpp"
#include "MathUtil.hpp"
//---------------------------------------------------------------------------------
// Written by Terence J. Grant - tjgrant [at] tatewake [dot] com
// Find the full tutorial at: http://gamedev.tutsplus.com/series/
//----------------------------------------------... | [
"raul.roa@gmail.com"
] | raul.roa@gmail.com |
268efb02248337e8891c0960bbdd5beb157b6647 | 304efe8c9f52f0a433039237340210fd6c631448 | /Lab12/Lab12-Q3.cpp | a01ceff1bf1e06566f06bd1baa6b202e58245e69 | [] | no_license | ahmedesoliman/CSC111-Lab | 1bcccfcd86a80db891480f77081f403182907d6d | 0f6fb37440fc878f2ac7088911e7bb9ebaf38c99 | refs/heads/master | 2022-12-14T19:20:36.214043 | 2020-09-16T00:43:15 | 2020-09-16T00:43:15 | 273,648,122 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 323 | cpp | #include <iostream>
using namespace std;
int main() {
double exams, grade, total = 0, avg;
cout << "Entre exams";
cin >> exams;
double arr[exams];
for (int i=0; i<=exams; i++){
cout << "Please enter your grade" << endl;
cin >> grade;
total += grade;
}
avg = total / exams;
cout << "AVG = " << avg;... | [
"43861320+ahmedesoliman@users.noreply.github.com"
] | 43861320+ahmedesoliman@users.noreply.github.com |
fe802081e8fdc456a4fabcc139a5c0f4b97f6182 | e46017b1e42f465aa95069694a9475716085b4fa | /Vishv_GE/Unit_Test/HandlePool/stdafx.cpp | 2810bbfec3c99180d8f49db90a36d3deba9b567f | [
"MIT"
] | permissive | InFaNsO/Vishv_GameEngine | 807817ea731e60dacccec2bab24e4445ea14d36d | e721afa899fb8715e52cdd67c2656ba6cce7ffed | refs/heads/master | 2021-01-08T09:36:26.934144 | 2020-06-11T11:51:59 | 2020-06-11T11:51:59 | 241,986,587 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 289 | cpp | // stdafx.cpp : source file that includes just the standard includes
// HandlePool.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
// TODO: reference any additional headers you need in STDAFX.H
// and not in this file
| [
"bhavilg101@gmail.com"
] | bhavilg101@gmail.com |
0cd546ee5e4fa0964e489e6d8f8f77fa8e94c65d | 7203950f284e82eac8e406ead42101a031a9fadf | /Source/Spaceship/AI/ChooseNextWaypoint.h | 5ca80dae204ea99428d79c499133000718bd64f7 | [] | no_license | BillyOMahony/Spaceship | b342963c2368a77386a2a0c3d44e864c8aa4c91e | 57af9045a7d316575bb84d3f6fb63035d1368578 | refs/heads/master | 2021-10-27T02:33:53.156071 | 2019-04-15T12:59:15 | 2019-04-15T12:59:15 | 157,246,542 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 616 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "BehaviorTree/BTTaskNode.h"
#include "ChooseNextWaypoint.generated.h"
/**
*
*/
UCLASS()
class SPACESHIP_API UChooseNextWaypoint : public UBTTaskNode
{
GENERATED_BODY()
public:
virtual EB... | [
"omahonybilly@gmail.com"
] | omahonybilly@gmail.com |
ffbaba53672fcec3a2c16f3eebb1213433baa56f | 012f0800c635f23d069f0c400768bc58cc1a0574 | /hhvm/hhvm-3.17/hphp/runtime/base/pipe.cpp | 61dcca59fbb7016ae557a9d7a8bb54ae59d7290e | [
"Zend-2.0",
"BSD-3-Clause",
"PHP-3.01"
] | permissive | chrispcx/es-hhvm | c127840387ee17789840ea788e308b711d3986a1 | 220fd9627b1b168271112d33747a233a91e8a268 | refs/heads/master | 2021-01-11T18:13:42.713724 | 2017-02-07T02:02:10 | 2017-02-07T02:02:10 | 79,519,670 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,485 | cpp | /*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010-2016 Facebook, Inc. (http://www.facebook.com) |
+---------... | [
"peiqiang@huawei.com"
] | peiqiang@huawei.com |
28905459ea48d9fbb62cc88f728e0f64f17d4ddb | 91409bc83fe4b5c182021578daab5d7b7d6c12c3 | /src2/util.h | 991400718d933ffba0ac5577deb619131a691149 | [] | no_license | mycroftyoung/saw | 0690a26846812cd214434eb918f8d981b5d89689 | 81359aebb183117e2203764399b9a6e31bcd46b3 | refs/heads/master | 2022-01-15T18:35:14.975259 | 2019-02-19T09:13:37 | 2019-02-19T09:13:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,956 | h | /// @file util.h
///
/// @author Dmitry Azhichakov <dmitry@dsa.pp.ru>
#ifndef __UTIL_H__INCLUDED__
#define __UTIL_H__INCLUDED__
#include "poly.h"
#include <ostream>
#include <boost/multi_array.hpp>
namespace farn {
class Mat3;
class MatrixFFTW;
class PiezoTensor;
class PlanFFTW;
class Spacia... | [
"a.trushin@hh.ru"
] | a.trushin@hh.ru |
009114196f6370c7159b3d3195ccc24938394e40 | fc38390ccccd4689266058a6e397a7800429a179 | /cpp-chess-engine/src/MoveBuilderTester.h | d33b330fa05a1bf6ea3565d2aa5ac2ed95f7676d | [] | no_license | w-ensink/chess-project | f3119d7f7e7e968ec89979446e0c8d9afba390c7 | 7aa3c16274dadbffe431bb80242ac53c565d446d | refs/heads/master | 2022-10-07T00:59:07.001994 | 2020-06-09T13:59:17 | 2020-06-09T13:59:17 | 265,320,352 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,851 | h | //
// Created by Wouter Ensink on 04/06/2020.
//
// System to test MoveBuilder
/* Goals:
* - test how the MoveBuilder behaves when normal, predictable input is given
* - test how the MoveBuilder handles weird step combos
* - test if moves are correctly recognized
*
* */
#ifndef CHESS_ENGINE_MOVEBUILDERTESTER... | [
"wouterensink3@gmail.com"
] | wouterensink3@gmail.com |
0f9387e45c979ffd7a0decb51c3ef44ef0e85cc3 | 48ef47d45a5abcce2c00c1d5845d9d1066e7cc1f | /cpp/038_CountandSay.cpp | 6d8c2a957c6249b152d32b3547542e9399d33fc0 | [] | no_license | umiringo/leetcode | fc4b062f7c628027adaefadc06e0ebb186c4e0ca | b4d824c286b82bc4c871a5f068912f8b7dfae4c8 | refs/heads/master | 2021-01-10T02:02:25.681851 | 2016-01-15T03:35:10 | 2016-01-15T03:35:10 | 46,166,723 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 489 | cpp | class Solution {
public:
string countAndSay(int n) {
string ret = "1";
for(int i = 1; i < n; ++i){
string tmp;
for(int j = 0; j < ret.length(); ++j){
int num = 1;
while(j < ret.length() - 1 && ret[j] == ret[j+1]){
num++;
... | [
"umiringo42@gmail.com"
] | umiringo42@gmail.com |
eb8ad03e5b5a9e70e701bfdeadf26a30f9ef450a | dc7c38f1f91ab45c3047caf66c736454c429bc61 | /Lib/Source/Var.cpp | 74037f4eebc577e6e7eb0d1a6d043dea51fd0cc6 | [
"MIT"
] | permissive | RcCreeperTech/V3DLib | 83d76e2b252c3cc5143df4ea43aaf9c72642ad85 | 38eb8d55b8276de5cf703d8e13fb9b5f220c49f0 | refs/heads/main | 2023-07-17T18:21:20.855603 | 2021-08-21T05:02:22 | 2021-08-21T05:02:22 | 398,517,570 | 1 | 0 | NOASSERTION | 2021-08-21T09:28:05 | 2021-08-21T09:28:05 | null | UTF-8 | C++ | false | false | 1,371 | cpp | #include "Var.h"
#include "Support/basics.h"
namespace V3DLib {
namespace {
int globalVarId = 0; // Used for fresh variable generation
} // anon namespace
Var::Var(VarTag tag, bool is_uniform_ptr) : m_tag(tag), m_is_uniform_ptr(is_uniform_ptr) {
assert(!is_uniform_ptr || tag == UNIFORM);
}
bool Var::is_unif... | [
"wrijnders@gmail.com"
] | wrijnders@gmail.com |
e989c38d42ab33c6e0543fb19919a2ac64e71533 | c11521357cd964c4e019a296841bb38e29f6a04a | /src/network_adapter.cpp | 56a3f5d12b230f4d62725c8a517e32f2b517f0c7 | [] | no_license | adir-ch/network-adapter | 3174b992edeb6afd7e9bd743e39a98368d38f0e9 | 973237f0c1d2c5121a83d3f1fa85997e81e3f1d8 | refs/heads/master | 2021-01-10T22:10:28.897843 | 2013-12-02T02:40:54 | 2013-12-02T02:40:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,669 | cpp |
// System includes
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <errno.h>
#include <stdlib.h>
// xSL includes
#include "network_adapter.h"
#include "rt_route.h"
#include "rt_rule.h"
#include "xslcp_log.h"
#include "tl/ip_addr.h"
// constructor
NetworkAdapter :: NetworkA... | [
"actiger@gmail.com"
] | actiger@gmail.com |
fbc2a554ffc2309c1d0e772f4a809c60a681f2cb | 33d14230d807ce98db15cb79d3ae4a97cfda3a4b | /HapcanDevice.h | 8ad522a92078e9f0ba8d83afaecfdfbe5a4c42c5 | [] | no_license | Onixarts/Hapcanuino | 403330f55d4157b904e3b1456bfc4a471fdfcff3 | 1043b1802ce5b625c62845b0dd36a2ed1c45c5cf | refs/heads/master | 2021-01-12T10:46:31.810043 | 2020-04-21T16:38:51 | 2020-04-21T16:38:51 | 72,689,888 | 5 | 2 | null | 2020-04-21T16:38:54 | 2016-11-02T23:22:41 | C++ | UTF-8 | C++ | false | false | 9,017 | h | /*
Onixarts Hapcan library for Arduino
Author: Bartosz Rosa
Version: 1.0
License: Free to use.
mail: software@onixarts.pl
*/
#ifndef _OnixartsHapcanuino_h
#define _OnixartsHapcanuino_h
#include <mcp_can.h>
#include "Arduino.h"
#include "Consts.h"
namespace Onixarts
{
namespace HomeAutomationCore
{
... | [
"pelzak1@o2.pl"
] | pelzak1@o2.pl |
7c8e69081351400da299a1d9e4cad6802903ad44 | 305c12f62b8a403e7951b4da6318166624ad2ebd | /Thread_Scheduling/simple_timer.H | c860a71b98bca0edc834246946fc38236d591e20 | [] | no_license | tharun-b/Kernel_OS | ff436f344644e59afbb76161eab5e7ec8a82a42b | f9b81e5659a817602b22572bb2f7123a6cc6241a | refs/heads/master | 2020-04-05T23:15:01.151416 | 2016-08-03T06:56:34 | 2016-08-03T06:56:34 | 64,822,381 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,235 | h | /*
File: simple_timer.H
Author: R. Bettati
Department of Computer Science
Texas A&M University
Date : 09/03/19
This is a simple example of a hardware interrupt handler.
As an example, this implements a timer, which in turn
triggers a function to be called at the give... | [
"tharun.battula@gmail.com"
] | tharun.battula@gmail.com |
4c431d0cfdf3996cf315996c80716a83a1704f82 | fbbe424559f64e9a94116a07eaaa555a01b0a7bb | /Keras_tensorflow_nightly/source2.7/tensorflow/include/tensorflow/core/framework/tensor_shape.pb_text.h | 7dd28180b7013fc64ca0f523a22ef76928fe1cc3 | [
"MIT"
] | permissive | ryfeus/lambda-packs | 6544adb4dec19b8e71d75c24d8ed789b785b0369 | cabf6e4f1970dc14302f87414f170de19944bac2 | refs/heads/master | 2022-12-07T16:18:52.475504 | 2022-11-29T13:35:35 | 2022-11-29T13:35:35 | 71,386,735 | 1,283 | 263 | MIT | 2022-11-26T05:02:14 | 2016-10-19T18:22:39 | Python | UTF-8 | C++ | false | false | 1,122 | h | // GENERATED FILE - DO NOT MODIFY
#ifndef tensorflow_core_framework_tensor_shape_proto_H_
#define tensorflow_core_framework_tensor_shape_proto_H_
#include "tensorflow/core/framework/tensor_shape.pb.h"
#include "tensorflow/core/platform/macros.h"
#include "tensorflow/core/platform/protobuf.h"
#include "tensorflow/core/... | [
"ryfeus@gmail.com"
] | ryfeus@gmail.com |
de95c4235f8b2a9ffab10039a92438e3fe53b074 | ad25f1713fad6fb387cf997628312aee219035b5 | /solutions/numbers/numbers-daumilas.cpp | 38cb87ade1bdf23c330a4587d6f4f609decba16c | [] | no_license | prime21/tasks | 7224f38cff263b0f6accbbc4bec181054e6d5454 | 0d6326476e654d5b59b60d287b464968716c7e4d | refs/heads/master | 2021-01-15T16:52:52.968593 | 2014-06-29T20:24:25 | 2014-06-29T20:24:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 212 | cpp | #include <cstdio>
int main() {
long long A, B, i;
scanf("%lld%lld", &A, &B);
if (B < A) {i = A; A = B; B = i;}
printf ("%d\n", B == A ? 0 : B - A - 1);
for (i = A + 1; i < B; i++) printf ("%lld ", i);
} | [
"daumilas@gmail.com"
] | daumilas@gmail.com |
f414c4c033012bbb6f40b3b17a13af42c0559bd1 | 997a1241d92b763fb9b6ed4f03ddb2293e83bfb8 | /init.cpp | 9a12916b33c0369c64042baf05c13a769cda22a7 | [
"MIT"
] | permissive | epaycoin/epaycoin | 4c9987ce907e69ae8dba656192f7b8fa02414749 | 9b40e24561d37e42a7f4a605fc5d2bdeca3b3765 | refs/heads/master | 2021-01-19T00:58:35.114200 | 2016-07-29T10:40:08 | 2016-07-29T10:40:08 | 64,471,619 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 33,696 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 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 "db.h"
#include "walletdb.h"
#include "bitcoinrpc.h"
#include "net.h"
#inc... | [
"wemmoppyssiffe-2698@yopmail.com"
] | wemmoppyssiffe-2698@yopmail.com |
d3afe3580a837b073b8cc79875736a68658ea95c | 41b3a72244fa5532cab03618c882af96d83490d6 | /CsWeapon/Source/CsWp/Public/CsWeaponClass.h | 75476372d82bd1dadf3c9225a4ba79f569a7f721 | [
"MIT"
] | permissive | closedsum/core | 83fe249ef3fd8f543b589b843e85a767820b8ebc | 12c3ab8d3a43d58d431bfd4a7563fdb4943f4a62 | refs/heads/master | 2023-08-30T00:48:34.572460 | 2023-08-30T00:39:11 | 2023-08-30T00:39:11 | 102,293,517 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 931 | h | // Copyright 2017-2023 Closed Sum Games, LLC. All Rights Reserved.
#pragma once
// Containers
#include "Containers/CsInterfaceObject.h"
class ICsWeapon;
class ICsPooledObject;
struct CSWP_API FCsWeaponClass : public TCsInterfaceObject<ICsWeapon>
{
private:
typedef TCsInterfaceObject<ICsWeapon> Super;
public:
sta... | [
"closedsum@gmail.com"
] | closedsum@gmail.com |
b214f6c5831f6b40963d8817e6936208afa92078 | c6bddd88916e6c8697a9e02485bd22c58d76bcec | /GeneratedPlaceholders/Engine/InterpGroupInstCamera.h | 21649b64b2bf0e6614f86b8c23f8699a34bc5a50 | [] | no_license | GIRU-GIRU/Mordhau-Unofficial-SDK | 18d13d62d746a838820e387907d13b0a37aed654 | f831d7355cf553b81fb6e82468b3abf68f7955aa | refs/heads/master | 2020-07-06T03:36:48.908227 | 2020-04-22T13:54:00 | 2020-04-22T13:54:00 | 202,872,898 | 7 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 181 | h | #pragma once
#include "CoreMinimal.h"
#include "InterpGroupInstCamera.generated.h"
UCLASS()
class UInterpGroupInstCamera : public UInterpGroupInst
{
GENERATED_BODY()
public:
}; | [
"45307738+crypdos@users.noreply.github.com"
] | 45307738+crypdos@users.noreply.github.com |
62be58828235e75e78738e26a38e5c8b7d8f1964 | 52124740605e99267a49d7a33da467e123c4a05d | /TD3/KNAPSACK.cpp | 37c5f03afaf79506784bac441b102a84cd7b59b0 | [] | no_license | joaopfg/Competitive-programming | 582c68084f8d3963e356cdcaaa269f4606b35405 | 9266a753fc552619bf4b3ee7c8abb26575e69790 | refs/heads/master | 2022-08-03T00:11:17.431331 | 2020-05-29T20:16:29 | 2020-05-29T20:16:29 | 267,943,202 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 678 | cpp | #include <bits/stdc++.h>
#define rep(i,begin,end) for(int i=begin;i<=end;i++)
#define repi(i,end,begin) for(int i=end;i>=begin;i--)
#define fio ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0);
using namespace std;
#define MAXN 2002
int dp[MAXN][MAXN];
int sz[MAXN], v[MAXN];
int sol(int n, int s){
if(dp[n][s]... | [
"noreply@github.com"
] | joaopfg.noreply@github.com |
7c2486b1bb00d813ffbc7c9e936345d446d6acd8 | 0b69a011c9ffee099841c140be95ed93c704fb07 | /problemsets/Codeforces/C++/B569.cpp | 0ad8a5083eba43dc18862683454659f7f05666eb | [
"Apache-2.0"
] | permissive | juarezpaulino/coderemite | 4bd03f4f2780eb6013f07c396ba16aa7dbbceea8 | a4649d3f3a89d234457032d14a6646b3af339ac1 | refs/heads/main | 2023-01-31T11:35:19.779668 | 2020-12-18T01:33:46 | 2020-12-18T01:33:46 | 320,931,351 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,626 | cpp | /**
*
* Author: Juarez Paulino(coderemite)
* Email: juarez.paulino@gmail.com
*
*/
#include <bits/stdc++.h>
using namespace std;
#define eb emplace_back
#define mp make_pair
#define mt make_tuple
#define fi first
#define se second
#define sz(v) ((int) (v).size())
#define all(v) (v).begin(), (v).end()
#define ms(x... | [
"juarez.paulino@gmail.com"
] | juarez.paulino@gmail.com |
daee83494fc4e766ea4732d085b87d7449e342b3 | c993b955f1d0e77952c53a2abfe8f582a32a802c | /ref-impl/src/impl/ImplAAFContainerDef.h | 6a302cc49d163d30b53b1cea565393140801bb8a | [] | no_license | christianscheuer/aaf | 6d67e767f439d6f43c3b7fba64336876bcbc0b8d | 0b76dd5bf4f70b0e7b3c33fd6d923ce6f67c71aa | refs/heads/master | 2020-05-01T03:08:19.586353 | 2019-05-01T09:34:40 | 2019-05-01T09:34:40 | 177,238,098 | 0 | 0 | null | 2019-03-23T03:12:02 | 2019-03-23T03:12:02 | null | UTF-8 | C++ | false | false | 2,644 | h | //@doc
//@class AAFContainerDef | Implementation class for AAFContainerDef
#ifndef __ImplAAFContainerDef_h__
#define __ImplAAFContainerDef_h__
//=---------------------------------------------------------------------=
//
// $Id$ $Name$
//
// The contents of this file are subject to the AAF SDK Public Source
// Lice... | [
""
] | |
8336686d21dfc610b4999a373f4674eb0f3fc5ce | b3fb682a5a421b7f89dc678bb02d0f7a8df0c1ef | /libengine/src/main/include/engine/layers.hpp | 892f13514c6a157c6ee146c6e40d5fcc8f492064 | [] | no_license | zmichaels11/asmjs-test | b84bf71905e444ebdaccba39e4f9965a0bd9019e | c21b4b59f70d13bb23c40f97f77f10c74d693d71 | refs/heads/master | 2020-06-14T18:33:03.622291 | 2018-02-15T00:36:21 | 2018-02-15T00:36:21 | 195,088,249 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 326 | hpp | #pragma once
#include "layers/background_layer.hpp"
#include "layers/basic_sprite_layer.hpp"
#include "layers/gui_layer.hpp"
#include "layers/renderable_image.hpp"
#include "layers/scene.hpp"
#include "layers/sound_layer.hpp"
#include "layers/text_layer.hpp"
#include "layers/tile_layer.hpp"
#include "layers/tiled_imag... | [
"zmichaels11@gmail.com"
] | zmichaels11@gmail.com |
fb30aaa60ddcaed2b38d89bbd16cfc3fc2d51cac | a810ee137e83049892e33ad0ab216fcf580368d5 | /9.ValidPerfectSquare.cpp | 03a41e4739daa7cef0ed56079f1ac86a8f3e9196 | [] | no_license | rameshwarikodam/MayLeetCodingChallenge | a3ef9d08eb425065f414879a6a8af3ffccd6415a | 313db8f9bc0796e31f200ca574d73d5936ac5c8f | refs/heads/master | 2022-06-19T21:30:12.753154 | 2020-05-09T10:43:41 | 2020-05-09T10:43:41 | 261,147,824 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 213 | cpp | class Solution {
public:
bool isPerfectSquare(int num) {
if (num < 1) return false;
for (int i = 1; num > 0; i += 2) {
num -= i;
}
return num == 0;
}
}; | [
"noreply@github.com"
] | rameshwarikodam.noreply@github.com |
a9e513e1aa6663a8e2e01959dd5cf096dc14c248 | 46f53e9a564192eed2f40dc927af6448f8608d13 | /chrome/browser/ui/views/apps/chrome_native_app_window_views_aura.cc | 8535c131c8a4b7993968358e439958d7c54eab6f | [
"BSD-3-Clause"
] | permissive | sgraham/nope | deb2d106a090d71ae882ac1e32e7c371f42eaca9 | f974e0c234388a330aab71a3e5bbf33c4dcfc33c | refs/heads/master | 2022-12-21T01:44:15.776329 | 2015-03-23T17:25:47 | 2015-03-23T17:25:47 | 32,344,868 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 13,748 | cc | // Copyright 2015 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/apps/chrome_native_app_window_views_aura.h"
#include "apps/ui/views/app_window_frame_view.h"
#include "ash/ash_constant... | [
"scottmg@chromium.org"
] | scottmg@chromium.org |
20136c40efb840ea251c24dd4888cc2ecb89ad8c | c68c824ae3fc5f5ab5139dfc4f1eefa8c647c3a5 | /arduinoPro/track/wheel/wheel.ino | 3c97abae9270126bf259abedda123a4d2c6fa31a | [] | no_license | gangyahaidao/DIY-Tulip | c490d69139be92ca35cfb88f1f785c281f127397 | af13877571484439f8a626569091c74035977c94 | refs/heads/master | 2022-01-05T15:25:56.758766 | 2019-04-30T03:17:50 | 2019-04-30T03:17:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,789 | ino | #include <avr/wdt.h>
#include <Wire.h>
#include <math.h>
#define TIMEOUT WDTO_8S
#define START_PIN 21
#define LEFT 5 //1-5
#define MIDDLE 11 //6-11
#define RIGHT 16 //12-16
#define FORWARD_SPEED 40
#define SIDE_FLOAT 5.0
#define SIDE 5
#define RASIO 0.01
#define SLOWDOWN 0.85
int leftEdgePin, rightEdgePin;
int left,... | [
"736791342@qq.com"
] | 736791342@qq.com |
9ef74a7924dbe8292762d72be63bf3e5baa8b851 | a2d4cae6bfa944209a56ca5124a278f176625336 | /include/Xenon/Graphics/Camera/CameraController.hpp | 530594f709d339bf2333b99a56f392d089e4cf60 | [
"MIT",
"LicenseRef-scancode-public-domain"
] | permissive | maciejjaskiewicz/Xenon | d57116e135088ff7dec3a4d42799fe927f2fbc05 | 665bdd69b9aa8a90ce3e90221d7ba9ded467d5d3 | refs/heads/master | 2021-07-22T18:11:44.358673 | 2020-05-13T13:25:38 | 2020-05-13T13:25:38 | 167,240,268 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 511 | hpp | #pragma once
#include "Camera.hpp"
#include "Xenon/Utils/DeltaTime.hpp"
namespace Xenon
{
class CameraController
{
public:
explicit CameraController(float aspectRation);
virtual ~CameraController() = default;
virtual void update(const DeltaTime& deltaTime) = 0;
virtual voi... | [
"maciek.jaskiewicz97@gmail.com"
] | maciek.jaskiewicz97@gmail.com |
466094a780477d03e4960b9c9398f35c0ffe73f5 | a92b18defb50c5d1118a11bc364f17b148312028 | /src/prod/src/data/txnreplicator/statemanager/SerializableMetadataEnumerator.cpp | fc450b4c75e9086c6d50577c9efb412e97b7390b | [
"MIT"
] | permissive | KDSBest/service-fabric | 34694e150fde662286e25f048fb763c97606382e | fe61c45b15a30fb089ad891c68c893b3a976e404 | refs/heads/master | 2023-01-28T23:19:25.040275 | 2020-11-30T11:11:58 | 2020-11-30T11:11:58 | 301,365,601 | 1 | 0 | MIT | 2020-11-30T11:11:59 | 2020-10-05T10:05:53 | null | UTF-8 | C++ | false | false | 1,943 | cpp | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
#include "stdafx.h"
using nam... | [
"noreply-sfteam@microsoft.com"
] | noreply-sfteam@microsoft.com |
d9f051c4dc2914ce495ad73541d5eeba9a9bbb7b | c3ffa07567d3d29a7439e33a6885a5544e896644 | /HSNU-OJ/96.cpp | 949b9e0a5bd1cbdae56a6b234eba1d9ea00f13d3 | [] | no_license | a00012025/Online_Judge_Code | 398c90c046f402218bd14867a06ae301c0c67687 | 7084865a7050fc09ffb0e734f77996172a93d3ce | refs/heads/master | 2018-01-08T11:33:26.352408 | 2015-10-10T23:20:35 | 2015-10-10T23:20:35 | 44,031,127 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 978 | cpp | #include<bits/stdc++.h>
#define LL long long
using namespace std;
const int maxn=40000+10 ;
vector<int> v[maxn] ;
int d[maxn] ;
int num[6] ;
queue<int> q ;
void get_num(int st,LL &a,LL &b)
{
a=b=0LL ;
memset(d,-1,sizeof(d)) ;
while(!q.empty()) q.pop() ;
q.push(st) ; d[st]=0 ;
while(!... | [
"a00012025@gmail.com"
] | a00012025@gmail.com |
88eea0ea56fe0af43e44aea62d22d0199abfd8e3 | b1a8b4515064081a2571a21cef3aab597e2566c4 | /unit_tests/aub_tests/unified_memory/unified_memory_copy_aub_tests.cpp | 190a74680715b27797931d5d7c140d89cad8845f | [
"MIT",
"LicenseRef-scancode-free-unknown"
] | permissive | KamilKoprykIntel/compute-runtime | 379e9bc66e34b6cbda4b9a1ef7d1cd0da58d9ca2 | 8ece440625dc178b6f836ea455d8daccda5cdcc0 | refs/heads/master | 2021-01-08T04:01:29.178394 | 2020-02-19T19:17:21 | 2020-02-20T11:10:21 | 241,906,088 | 0 | 0 | MIT | 2020-02-20T14:32:41 | 2020-02-20T14:32:40 | null | UTF-8 | C++ | false | false | 2,051 | cpp | /*
* Copyright (C) 2019 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "test.h"
#include "unit_tests/aub_tests/fixtures/unified_memory_fixture.h"
namespace NEO {
class UnifiedMemoryCopyAubTest : public UnifiedMemoryAubFixture,
public ::testing::TestWithParam<std... | [
"lukasz.jobczyk@intel.com"
] | lukasz.jobczyk@intel.com |
c1453c6e803336e5d0523f495cae34e5361c50fc | 7d73cf652a375a363884bdff5a4b206a16bec0a9 | /src/cn_utils/cryptonote_basic/account.cpp | eb5a5b75de68532e76501d5bea5f6e05c32d139d | [
"MIT"
] | permissive | kevacoin-project/kevacoin | 44e08bd6220c28ce3ef88ee08aac3980ea662415 | 603a38a9742e5a1d06912be012e070794246b377 | refs/heads/master | 2022-04-29T06:30:45.305827 | 2022-03-20T01:25:28 | 2022-03-20T01:25:28 | 161,680,230 | 35 | 13 | MIT | 2020-04-13T05:30:12 | 2018-12-13T18:37:54 | C++ | UTF-8 | C++ | false | false | 10,865 | cpp | // Copyright (c) 2014-2018, The Monero Project
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are
// permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain the above copyright notice, this list of
/... | [
"jianpingw@gmail.com"
] | jianpingw@gmail.com |
61c53803962da5dc23475611808c8d48f34f4fd3 | 2cc1f30840b1ecc0d1b80a9532543fb8d64a8a10 | /GCD_Euclid.cpp | 15176dd2c73dde820e17721e632984fefb3d99cd | [] | no_license | satputesagar/data-structure-algorithm | 062452f5c6ff8c5b590ef009444856ed453e58b6 | fd87a1217512895298c8a9ccb71ea3ef1c406d4f | refs/heads/main | 2023-08-12T16:56:03.827127 | 2021-09-07T11:49:16 | 2021-09-07T11:49:16 | 335,789,457 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,041 | cpp | #include<iostream>
#include<stdlib.h>
using namespace std;
long long int GCDEuclid(long long int a,long long int b )
{
if(b==0)
return a;
return GCDEuclid(b, a%b);
}
int main()
{
for(long long int i =0 ;i <100;i++)
{
long long int a = rand() % 100;
long long int b = r... | [
"noreply@github.com"
] | satputesagar.noreply@github.com |
7412a4ef9aa9ddea7a31ebfca916a834a710d2e8 | 7fbe471aa3853e11b43ca6142c5c3edd6c5a48d2 | /codeup/算法笔记5.5/质因子分解/质因子分解.cpp | c8457caec598b4a6a209b15be0647a65596e0054 | [] | no_license | UraNus0205/PAT | a2262c40ab304f376336b1258935a87d12158336 | 93604fabdd8e98a798a063efb3c0c55fad43de61 | refs/heads/master | 2023-03-10T06:29:05.963366 | 2021-03-04T10:59:01 | 2021-03-04T10:59:01 | 299,800,940 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,555 | cpp | #include <iostream>
#include <cmath>
using namespace std;
const int maxn = 10010;
int prime[maxn], pNum = 0;
bool p[maxn] = { false };
struct factor {
int x, cnt;
};
factor fac[10];
bool isPrime(int n)
{
if (n <= 1) return false;
int sqr = (int)sqrt(1.0 * n);
for (int i = 2; i < sqrt(n); i++)
{
... | [
"787551776@qq.com"
] | 787551776@qq.com |
88e01f02534e246dda682796053a8fa49030218d | 43a2fbc77f5cea2487c05c7679a30e15db9a3a50 | /Cpp/External/SDK/BP_FishingFish_Islehopper_05_Colour_05_Amethyst_classes.h | 10f6b5f86e27e48e699bfde5b023384a0de0c3ad | [] | no_license | zH4x/SoT-Insider-SDK | 57e2e05ede34ca1fd90fc5904cf7a79f0259085c | 6bff738a1b701c34656546e333b7e59c98c63ad7 | refs/heads/main | 2023-06-09T23:10:32.929216 | 2021-07-07T01:34:27 | 2021-07-07T01:34:27 | 383,638,719 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 981 | h | #pragma once
// Name: SoT-Insider, Version: 1.102.2382.0
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Classes
//-----------------------------------------------... | [
"Massimo.linker@gmail.com"
] | Massimo.linker@gmail.com |
c8bd164568c09a764b9f0f16fcc06fdbda892010 | 98076f73e5dc55f23b2f1e17bb5600ca0efe35e9 | /list_type_node.h | ce9dbc511e2fcb3f05bbbc0baffb6c351a6b576e | [] | no_license | libo3019/SerializationCompiler | 019524e620013eb1701d9a98588c0c36aafd77f6 | 54a794e924effaf74e40a9bb32c3634180d0691c | refs/heads/master | 2020-08-27T22:38:33.325094 | 2020-01-04T15:20:12 | 2020-01-04T15:20:12 | 217,507,695 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 352 | h | #pragma once
#include "non_terminal_node.h"
#include "terminal_node.h"
namespace Serialization {
class Compiler;
class list_type_node : public non_terminal_node
{
public:
list_type_node(Compiler *compiler, int lineno, NodeType type, parser_node *node)
:non_terminal_node(compiler, lineno, type, node)
{
... | [
"libo_job@126.com"
] | libo_job@126.com |
5734efc61167971fa2714fd0fd7b97641e645e07 | 2fa764b33e15edd3b53175456f7df61a594f0bb5 | /appseed/core/core/plugin/plugin_plugin.h | 25da031996ea2333d801e33b94e887d9eb9f69d0 | [] | no_license | PeterAlfonsLoch/app | 5f6ac8f92d7f468bc99e0811537380fcbd828f65 | 268d0c7083d9be366529e4049adedc71d90e516e | refs/heads/master | 2021-01-01T17:44:15.914503 | 2017-07-23T16:58:08 | 2017-07-23T16:58:08 | 98,142,329 | 1 | 0 | null | 2017-07-24T02:44:10 | 2017-07-24T02:44:10 | null | UTF-8 | C++ | false | false | 1,982 | h | #pragma once
int32_t spaboot_start(const char * pszVersion, const char * pszId);
namespace core
{
class file;
}
namespace plugin
{
enum e_check
{
check_before_auth,
check_before_start,
};
class host_interaction;
class system;
class CLASS_DECL_CORE plugin :
virtual public... | [
"camilo@ca2.email"
] | camilo@ca2.email |
7dade2386de8c73300e08aed5f3af4421b82c1a2 | fde4c4c49327b4dbcb971d3f2bf63611b41ada3a | /Celebrity jeopardy.cpp | cd3a56adc777b1b70471969879ed5adfdd6d598a | [] | no_license | 20180649/nada | cda961129b1aacb589b98a63669bba94b086b8ea | a54ef8d718b68c389df71f2262128d7df296e327 | refs/heads/main | 2023-01-31T13:06:50.084233 | 2020-12-15T23:56:43 | 2020-12-15T23:56:43 | 321,850,745 | 0 | 0 | null | 2020-12-16T02:55:49 | 2020-12-16T02:55:48 | null | UTF-8 | C++ | false | false | 192 | cpp | #include <iostream>
#include <stdio.h>
#include <stdlib.h>
using namespace std;
int main()
{
char c;
while(c=getchar(),c!=EOF){
putchar(c);
}
return 0;
}
| [
"noreply@github.com"
] | 20180649.noreply@github.com |
bf7d0e8a07192fb79b86bc9790e4f8a85606be2b | d1fdc2d765c79108009c2c1ce8a0a090d7486571 | /Geometry/Angles.cpp | 0427f1a15320f323d5dc87690360098be2da53e3 | [] | no_license | daviddoria/Tools | c49582afac80b200261313f03feeb0475216a026 | a9eef0e17c06278b9897111db545107b737fdc69 | refs/heads/master | 2021-01-19T21:29:05.934255 | 2011-12-20T14:37:33 | 2011-12-20T14:37:33 | 3,020,064 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,058 | cpp | #include "Angles.h"
#include <vnl/vnl_matrix.h>
////// Conversions //////////
double deg2rad(const double deg)
{
return deg * (M_PI/180);
}
double rad2deg(const double rad)
{
return rad * (180/M_PI);
}
///// Polar and Rectangular (2D) //////
vgl_vector_2d<double> Polar2Rect(const double Theta)
{
double x = sin... | [
"daviddoria@gmail.com"
] | daviddoria@gmail.com |
4dc947c6826ceaddb9485514ef5da2386b2f7b74 | 93bac6000ed49b2a3b2eecd4218292e3ba330ad3 | /core-banking/study-object-arrays.cpp | a5cd83927ff8b4be68f9ec5cc5fcd1a4edc5a6d4 | [
"MIT"
] | permissive | deepcloudlabs/dcl112-2021-apr-05 | 5edcf06c020fea8bd2e3abf7845f4cddcabe05f4 | 19683a3eeac2ccd47f977d21dae069d6a631bfb1 | refs/heads/main | 2023-04-01T03:50:47.358080 | 2021-04-09T13:20:30 | 2021-04-09T13:20:30 | 354,570,303 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,071 | cpp | #include <iostream>
#include "account.h"
using namespace banking;
int main(){
account acc1("tr2", 2000);
account acc2 = {"tr2", 2000};
account acc3 = {"tr2"};
account acc4{"tr2"};
account acc5= 100.1234; // casting operator
// stack -> array
account accounts[3]{
{"tr1"},
{"... | [
"deepcloudlabs@gmail.com"
] | deepcloudlabs@gmail.com |
ba13f2f7221078329c9a6105fb222bb0adbb5dd4 | f0a659196a43df2d36bf786027226fb2494d62b1 | /C++Extension/ThirdParty/NewtonDynamics/dgCore/dgProfiler.h | 58684c9626dcae534ba3f3cfb1fc00b91f6dcd73 | [
"MIT",
"Zlib"
] | permissive | MrPrezident/MSPhysics | 72dc3458a2612abcbed1e185cb2cee7a5306afbc | eb9f2b55d7823ad246d6da98c3c2eb03d5a08c18 | refs/heads/master | 2020-04-06T08:45:47.213958 | 2018-11-15T01:29:29 | 2018-11-15T01:29:29 | 157,315,489 | 0 | 0 | MIT | 2018-11-15T01:29:30 | 2018-11-13T03:35:07 | C++ | UTF-8 | C++ | false | false | 2,318 | h | /* Copyright (c) <2003-2016> <Julio Jerez, Newton Game Dynamics>
*
* 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 purpo... | [
"anton.synytsia@gmail.com"
] | anton.synytsia@gmail.com |
a708ab42420646d70ef0e04504d82cfa52332940 | 089077acd7dc512a1afde017692382b0b9ada02f | /aBaseTool/src/utility/path.cpp | 44ff682005ddc7f510461349ead5d1293fe492c9 | [] | no_license | lizzyly7/SmartDraw | 6830b172cebcf2005366b7438d771af3faa137cf | cb891dbe66d75bbb3f692fce72e91402e1c97010 | refs/heads/main | 2023-04-19T05:54:52.948266 | 2021-05-04T11:02:01 | 2021-05-04T11:02:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,114 | cpp | //////////////////////////////////////////////////////////////////////
// Implemented by Samuel Gonzalo
//
// You may freely use or modify this code
//////////////////////////////////////////////////////////////////////
//
// Path.cpp: implementation of the CPath class.
// http://www.codeproject.com/file/CFileFinderE... | [
"humkyung@atools.co.kr"
] | humkyung@atools.co.kr |
c0ec74dd05ceb349c0dac93d9882da7ea671fae4 | 151431c214541a0e75725b0c2eade362ed459916 | /bubblehist.cc | 699744be6dfbd5ce53e21a5d8de64df75ea3a975 | [
"BSD-3-Clause"
] | permissive | kaityo256/mdacpv1 | 90cf5957362f647f870f609fcc1c2d65199be498 | 6cba989f19f8d98f90cae8406b6eb0475945120c | refs/heads/main | 2023-06-06T15:09:06.913058 | 2021-06-28T05:21:57 | 2021-06-28T05:21:57 | 380,901,258 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,687 | cc | #include <iostream>
#include <assert.h>
#include <math.h>
#include <fstream>
#include <functional>
#include <algorithm>
#include "bubblehist.h"
#include "communicator.h"
//----------------------------------------------------------------------
//const double density_threshold = 0.4;
const double density_threshold = 0.2;... | [
"kaityo@users.sourceforge.jp"
] | kaityo@users.sourceforge.jp |
b51efd03c070d9f3581fe34b0ca4e4866b21bb5a | be96e08fea158e535f4cd4a6ccbf4448e2a6e6c7 | /src/vkt/ArrayView2D.hpp | 18bf1cf3982f5e4bf2a5971a6feebf566a59b6b6 | [
"MIT"
] | permissive | szellmann/volkit | bc5bc549596deaeec0f624fa61859ae9ae2067c4 | f8e8755d0e016359e4977934412888830080dd42 | refs/heads/master | 2023-02-13T09:48:14.323457 | 2020-11-03T09:40:09 | 2021-01-19T23:04:55 | 286,974,603 | 1 | 0 | MIT | 2020-08-12T09:39:30 | 2020-08-12T09:39:29 | null | UTF-8 | C++ | false | false | 2,316 | hpp | // This file is distributed under the MIT license.
// See the LICENSE file for details.
#pragma once
#include <cstddef>
#include "linalg.hpp"
#include "macros.hpp"
namespace vkt
{
template <typename T>
class ArrayView2D
{
public:
typedef T value_type;
typedef T* iterator;
typ... | [
"info@szellmann.de"
] | info@szellmann.de |
624fd2add92f55673bdb8781e82f2b7c57cf588a | 29274a2281f5f47520abfc0ee0809b16e9104997 | /Huffman-Encoder/LZ78Compressor.cpp | ee9b128d191c2886973225d175e466493ca0c7db | [] | no_license | mihristov/Archiver-Huffman-Encoding | 365b534af16ff34f31a38d3f322f64c23c5b0725 | d46f0066c2378d24ab340e1fdd50edf31c29fc55 | refs/heads/master | 2020-06-06T04:09:31.814237 | 2014-05-11T20:48:43 | 2014-05-11T20:48:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 69 | cpp | #include "LZ78Compressor.h"
void LZ78Compressor::CompressFile()
{
} | [
"milenhristov411@gmail.com"
] | milenhristov411@gmail.com |
8e0d7e3374cf22302b79a0cefe31b0347ea7bc94 | 2819c9adabe7b5b6bb92d676f6e7c411a79d318b | /1033 旧键盘打字.cpp | 87fcd3a8e33994b57ae2926ba75d550aee7e86af | [] | no_license | DaiYuSs/PAT-Basic-Level-Practice- | b1b5e4afdb22b2967e44d7e38ed4a29111137b1c | f4c0bf67d3e7fc7780cb00b4c11b81d64e003339 | refs/heads/master | 2020-03-28T15:11:44.909652 | 2018-09-18T01:24:22 | 2018-09-18T01:24:22 | 148,565,921 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 757 | cpp | #include <iostream>
#include <string>
#include <cstring>
#include <algorithm>
using namespace std;
string x;
string::iterator it;
void qaerasea(char ch);
int main()
{
string s;
getline(cin, s);
getline(cin, x);
for (int i = 0; i < s.size(); i++) {
qaerasea(s.at(i));
}
for (int i = 0; i < x.s... | [
"noreply@github.com"
] | DaiYuSs.noreply@github.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.