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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
bb52ac58e6a8d4ebb27359eaf46707edf16ea2aa | b22588340d7925b614a735bbbde1b351ad657ffc | /athena/Reconstruction/Jet/JetSubStructureMomentTools/src/Validator.cxx | bb2a8fad6620731d7166271e838d7218bc008d3a | [] | no_license | rushioda/PIXELVALID_athena | 90befe12042c1249cbb3655dde1428bb9b9a42ce | 22df23187ef85e9c3120122c8375ea0e7d8ea440 | refs/heads/master | 2020-12-14T22:01:15.365949 | 2020-01-19T03:59:35 | 2020-01-19T03:59:35 | 234,836,993 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,550 | cxx | /*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
#include <iostream>
#include <math.h>
#include <float.h>
#include "JetSubStructureMomentTools/Validator.h"
#include <TFile.h>
#include <TH1.h>
#include "GaudiKernel/ITHistSvc.h"
using namespace std;
Validator::Validator(std::string name)... | [
"rushioda@lxplus754.cern.ch"
] | rushioda@lxplus754.cern.ch |
7cc65fc949162aa2d4c4fa4243e12d1e58a1eeab | 35570789ac21d1d30d36e0363c2565b0dcf6f2d4 | /1-text/print.cpp | f73d41c16910cc88011d43276aa4d5bc833ea6c2 | [] | no_license | NathanMcMillan54/basic-cpp | 3ac80ce37082bbbdd7a415c255a6789162f31a7b | a578f98f2ae0a6735c3084e35187212849768638 | refs/heads/main | 2022-12-30T10:23:22.624886 | 2020-10-15T19:39:40 | 2020-10-15T19:39:40 | 303,002,990 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 104 | cpp | #include <iostream>
int main() {
std::cout << "C++ print statement!" << std::endl;
return 0;
}
| [
"nathanmcmillan54@gmail.com"
] | nathanmcmillan54@gmail.com |
9af0808fee9bd82e5e699eb538dc39c3ae8445c8 | 72a3dac9a4ccd429c00b9de7a503b596a80efde0 | /Bellman-Ford.cpp | 547eca298da8d38caf4d101efec26cfc63385fca | [] | no_license | hemantmangwani/ALGORITHM-AND-DATA-STRUCTURES | f1391661745c69d79a21df4278ff056e120efa25 | 9347881f53b2732295c8b01a2caf102966cd281c | refs/heads/master | 2021-01-01T17:12:34.500776 | 2018-03-25T19:28:10 | 2018-03-25T19:28:10 | 98,023,597 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,102 | cpp | #include <bits/stdc++.h>
#define ll long long
#define T ll t; cin>>t; while(t--)
using namespace std;
#define speed ios_base::sync_with_stdio(0)
#define endl "\n"
#define MAX 1000000001
int main()
{
vector <int> v [2000 + 10];
int dis [1000 + 10];
ll n,e;
cin>>n>>e;
for(int i = 0; i < e + 2; i++)... | [
"hemantmangwani99@gmail.com"
] | hemantmangwani99@gmail.com |
0f3ef8937623bf9277aecbfaf7d74b045db40c3b | 536656cd89e4fa3a92b5dcab28657d60d1d244bd | /ash/app_list/views/apps_container_view.cc | 87db1f69335e12e01135f11ebd91650d0aad478d | [
"BSD-3-Clause"
] | permissive | ECS-251-W2020/chromium | 79caebf50443f297557d9510620bf8d44a68399a | ac814e85cb870a6b569e184c7a60a70ff3cb19f9 | refs/heads/master | 2022-08-19T17:42:46.887573 | 2020-03-18T06:08:44 | 2020-03-18T06:08:44 | 248,141,336 | 7 | 8 | BSD-3-Clause | 2022-07-06T20:32:48 | 2020-03-18T04:52:18 | null | UTF-8 | C++ | false | false | 25,849 | cc | // 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.
#include "ash/app_list/views/apps_container_view.h"
#include <algorithm>
#include <vector>
#include "ash/app_list/views/app_list_folder_view.h"
#include... | [
"pcding@ucdavis.edu"
] | pcding@ucdavis.edu |
28aa855ba94d75ffaeb6de8dbbb0401e7a0c9a91 | a54fe9cae6998342e99983d5bab0e20c445ae88e | /src/GroupBox.cpp | 2876c834938cea2da98b3469aad80aaa1dcdde17 | [] | no_license | lordio/StreamControlPanel | f286e2b40221ed160e93249b08760b0d6fab664f | 293785709ee1752efef314ec9549e5cdcd35c557 | refs/heads/master | 2021-01-01T15:45:14.015897 | 2015-01-28T20:52:28 | 2015-01-28T20:52:28 | 29,987,441 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 217 | cpp | #include "GroupBox.hpp"
GroupBox::GroupBox(BaseWindow & parent, tstring label, RECT rect, HFONT font) :
BaseWindow{ WC_BUTTON, label, BS_GROUPBOX | WS_CHILD, NULL, rect, &parent, font }
{
}
GroupBox::~GroupBox()
{
} | [
"lordio0190@gmail.com"
] | lordio0190@gmail.com |
466e498269ca39b7112cadea787575bdc8306a86 | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/git/new_hunk_7466.cpp | 7749c0176770400d9ad3c431b296ab550fdec453 | [] | no_license | ccdxc/logSurvey | eaf28e9c2d6307140b17986d5c05106d1fd8e943 | 6b80226e1667c1e0760ab39160893ee19b0e9fb1 | refs/heads/master | 2022-01-07T21:31:55.446839 | 2018-04-21T14:12:43 | 2018-04-21T14:12:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 184 | cpp | {
struct commit *commit;
if (prepare_revision_walk(rev))
die("revision walk setup failed");
while ((commit = get_revision(rev)) != NULL) {
const char *author = NULL, *buffer;
| [
"993273596@qq.com"
] | 993273596@qq.com |
222c63690b9b5ea2178d2e6d446f8d85af25561f | eb9783088c90b7a34e84da748ca5056070f4788c | /tests/themispp/secure_comparator_test.hpp | 457f3f55f5fc2dba2e6fe800848557318a4dee78 | [
"Apache-2.0"
] | permissive | b264/themis | 0a385f1ac2df00aa8b1b6ed34a7f41931eb1d097 | 77d5aceca4f580482f50185799d96884a5fddaa8 | refs/heads/master | 2021-01-11T00:14:40.389338 | 2016-10-10T11:36:34 | 2016-10-10T11:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,238 | hpp | /*
* Copyright (c) 2015 Cossack Labs Limited
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | [
"andrey@cossacklabs.com"
] | andrey@cossacklabs.com |
d0787bf21b8d911ab319f3f5a78dc416d6728607 | 543baf3f63e6a6b47534b524e54fa90c37613959 | /2013tonghua/E/main.cpp | 9cedfd9fa89d8f16d7de491ac388df62e9642030 | [] | no_license | funtion/algorithmProblems | ac9341f9fc5233cffe51d2140404983763b66265 | dd27afc25670ea3ad2a681dc382a3e500e530c1a | refs/heads/master | 2020-05-04T05:15:44.150235 | 2014-01-12T10:53:27 | 2014-01-12T10:53:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 774 | cpp | #include <iostream>
using namespace std;
int t;
long g,l;
long div[10000],cd;
inline long lcm(long x,long y,long z){
}
int main()
{
cin>>t;
while(t--){
cin>>l>>g;
if(g%l!=0){
cout<<0<<endl;
}else{
g/=l;
cd=0;
for(long i=1;i<=g/2;i++){
... | [
"acm@acm.com"
] | acm@acm.com |
9a6d2798737bce2c8b476da62958f5eaa6e74ac8 | 2f92193dcdf5bdb9c6e6b1877dcb89d7be0d8731 | /src/rpc/server.cpp | 9ca799528a4cb1a7269089db59c6f7a9fed3bda1 | [
"MIT"
] | permissive | Ltedeveloper/LTE-core | 21e83ed3eaf4bf597fbc7c53fe7312cd48dfe0e4 | 1410327c5139c6d74cd8f0035e976b98878342d8 | refs/heads/master | 2021-05-12T06:36:22.403299 | 2018-11-09T01:37:02 | 2018-11-09T01:37:02 | 117,222,291 | 6 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 17,556 | cpp | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2016 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "rpc/server.h"
#include "base58.h"
#include "fs.h"
#include "init.h"
#includ... | [
"zhangzhentao@blocklinker.com"
] | zhangzhentao@blocklinker.com |
1140e04d441d962bd8edbfbafa8d0b5a87d2b05b | cdb171176480747aeacc1a01cda58aa185efbca8 | /msvc/IO/ExportPDF/vtkIOExportPDFObjectFactory.cxx | 213e6aa59851d783a1b2740e329b3a4e05ebc634 | [
"BSD-3-Clause"
] | permissive | gajgeospatial/VTK-9.0.1 | 1504a2f2991da7c3765cd90fed0880c7b6783bf6 | 8ab2c0f8852f26598d950c9c7e514947b6855a41 | refs/heads/master | 2023-04-12T09:03:47.351448 | 2021-05-05T17:35:04 | 2021-05-05T17:35:04 | 266,163,338 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,807 | cxx | /*=========================================================================
Program: Visualization Toolkit
Module: vtkIOExportPDFObjectFactory.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
Th... | [
"glen.johnson@gaj-geospatial.com"
] | glen.johnson@gaj-geospatial.com |
7d5d353f8cd72fb8dcdabf57eefd7e9915ce3a36 | 149354d7985afe98a4e895adf3b87cc21a1c5d8d | /Core/String.hpp | 39ba5b6e57dcd530beab957785a94c09d871f26d | [
"Unlicense"
] | permissive | cursey/kanan-new | 5c8bde2bc51c985f116c889ba731ca77224baa90 | 4b1bb49cd8838e21263196c72ba0024394d7ef49 | refs/heads/master | 2023-09-01T02:46:48.031030 | 2023-08-26T01:01:19 | 2023-08-26T01:01:19 | 108,602,829 | 146 | 98 | Unlicense | 2023-09-08T02:25:48 | 2017-10-27T22:53:39 | C++ | UTF-8 | C++ | false | false | 418 | hpp | #pragma once
#include <string>
#include <string_view>
#include <vector>
namespace kanan {
//
// String utilities.
//
// Conversion functions for UTF8<->UTF16.
std::string narrow(std::wstring_view str);
std::wstring widen(std::string_view str);
std::string formatString(const char* format,... | [
"cursey@live.com"
] | cursey@live.com |
4ff9f6d2780eba0bf5e16725d7c2a45be725339c | 829faecc97ec07db831c9c138bdf089ee34c9a0f | /cpp/openGLEssential/lessons/Lesson3.3/ModelDemo.cpp | d49dc09f8433236ffde91a5fe7f827fd1b99b7a1 | [] | no_license | sysbender/study | ec1cf8baa3b2971dfb9aa08566bf5db7e5cc663d | d69bd41a269a4936624b6c4bcd53a71616986eb0 | refs/heads/master | 2021-01-20T06:07:56.494951 | 2018-07-16T12:47:01 | 2018-07-16T12:47:01 | 101,484,981 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,663 | cpp | #include "pch.h"
using namespace glm;
using namespace std;
using namespace Library;
namespace Rendering
{
RTTI_DEFINITIONS(ModelDemo)
ModelDemo::ModelDemo(Game& game, Camera& camera)
: DrawableGameComponent(game, camera), mShaderProgram(), mVertexArrayObject(0), mVertexBuffer(0),
mIndexBuffer(0), mWorldViewPro... | [
"sysbender@gmail.com"
] | sysbender@gmail.com |
00c46bce30e703ed8e0d2244454e14031ebe1485 | 7dc87769a3eb5e38846cef7bce17c221ad57bd6d | /qt4/utility_classes/home.cpp | 91d8d1b240c0869c45eb51f03956172987c593b3 | [] | no_license | tanxulong/interview | e2f5a90026bdc3e6472dcd702ec8369c3e84985e | a60801767cd3fd7537bd087cc855557d2ec17d0b | refs/heads/master | 2020-04-06T06:39:59.408241 | 2013-05-08T13:51:44 | 2013-05-08T13:51:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 225 | cpp | /*
* the QDir class provides access to directory structures
* and their contents.
*/
#include <QTextStream>
#include <QDir>
int main()
{
QTextStream out(stdout);
QString home = QDir::homePath();
out << home <<endl;
}
| [
"reg.tanxulong@gmial.com"
] | reg.tanxulong@gmial.com |
530c411f18f99f656b7ebbbbe872329d2e09fdaa | 8bfde2ca2f110e87e6d7af5d0808362e741bcd64 | /COMPETITIVE_NININJAS/Minimum Number of Chocolates.cpp | 510b2f9da394c7095504ffe0e1d81aafdb012887 | [] | no_license | SamarthAroraa/cpp-codebase | e9f59dcab89d10fcd9570917817d71d25d725e54 | fdd2fb04664a8865f72a96f36838c44d29e64fc3 | refs/heads/master | 2022-08-29T03:57:02.847686 | 2020-05-29T08:55:52 | 2020-05-29T08:55:52 | 267,812,021 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 916 | cpp | #include<bits/stdc++.h>
#define deb(x) cerr<<#x<<" "<<x<<endl;
#define ll long long
using namespace std;
int getMin(int *arr, int n){
// sort(arr,arr+n);
// for(int i=0;i<n;i++){
// cout<<arr[i]<<" ";
// }
int sum=0;
int choc[n];
choc[0]=1;
// sum+=choc[0];
for(int i=1;i<n;i++){
if(arr[i... | [
"samartharora@Samarths-MacBook-Air.local"
] | samartharora@Samarths-MacBook-Air.local |
bdc6fbf380354505800d7b26580a0b302d70607d | 80cf612d55905c0d7f091b064c9e69962ad0f89c | /test/main.cpp | e0ca2ef543f9a098f0dee75af515ac54e398ff6e | [] | no_license | houdini22/prime_numbers | 70457d1e7c2615b10186443efcf6cca3d15f0f19 | 9882d2a3d21f66d46dcf40418d43314a4053231f | refs/heads/master | 2020-05-20T20:30:34.085017 | 2019-05-18T13:18:40 | 2019-05-18T13:18:40 | 185,744,250 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,039 | cpp | #include <iostream>
#include <math.h>
#include <string>
#include <algorithm>
#include <vector>
#include <stdlib.h>
#include <map>
#include <fstream>
#include <stdio.h>
#include <string.h>
#include <sstream>
#include <chrono>
/*
* DATA TYPES
*/
typedef long long T_NUM;
typedef std::vector<T_NUM> T_NUM_VEC;
typedef st... | [
"baniczek@gmail.com"
] | baniczek@gmail.com |
acc68984a139d28aaeba3060cfea19bb31c73bc2 | 2f71acd47b352909ca2c978ad472a082ee79857c | /src/abc173/b.cpp | fd24e7b124e982389ebc2c88548697ed09269b51 | [] | no_license | imoted/atCoder | 0706c8b188a0ce72c0be839a35f96695618d0111 | 40864bca57eba640b1e9bd7df439d56389643100 | refs/heads/master | 2022-05-24T20:54:14.658853 | 2022-03-05T08:23:49 | 2022-03-05T08:23:49 | 219,258,307 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,566 | cpp | #include <bits/stdc++.h>
using namespace std;
// input
#define INIT std::ios::sync_with_stdio(false);std::cin.tie(0);
#define VAR(type, ...)type __VA_ARGS__;MACRO_VAR_Scan(__VA_ARGS__); // __VA_ARGS__可変引数マクロ
template<typename T> void MACRO_VAR_Scan(T& t) { std::cin >> t; }
template<typename First, typename...Rest>void... | [
"tad.imokawa@gmail.com"
] | tad.imokawa@gmail.com |
3bd2aff9409d8ccee38f262084840d2191dc4194 | 5ddd0ec20099a9c3ffe865c835dcceb5b7fd0332 | /of_v0.8.0_vs_release-gesture-recognizer/examples/events/eventsExample/src/testApp.cpp | 9c9dd7693f8a949d80e5e85d56705ea387157405 | [
"MIT"
] | permissive | MarkusKonk/Geographic-Interaction | af81f9f4c7c201dd55843d4dd0d369f2f407d480 | b74f6f04656611df8dc4ebdea43f263cea67b366 | refs/heads/master | 2020-12-30T10:36:34.414880 | 2014-02-03T12:37:45 | 2014-02-03T12:37:45 | 13,868,029 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,340 | cpp | #include "testApp.h"
//--------------------------------------------------------------
void testApp::setup(){
counter = 0;
vagRounded.loadFont("vag.ttf", 32);
ofBackground(50,50,50);
}
//--------------------------------------------------------------
void testApp::update(){
counter = counter + 0.033f;
}
//-----... | [
"matthias.m.hinz@googlemail.com"
] | matthias.m.hinz@googlemail.com |
c0a3b262edf6cb5c27a0cf80537cc28b35042e30 | 30667f904bf553424e56364263e9923b5f42d74d | /PowerBook/Car.cpp | 02216472031c2f8e9f99729069ed3dd9197c7b1a | [] | no_license | bb2002/CPPStudyProjects | 037ae0a2b8a4f89a9725845989a1f00921b018cd | 2569dbb9e4a1c2acfbe67fcce20304b5094f79a3 | refs/heads/master | 2020-04-29T06:05:51.377024 | 2019-03-15T23:54:07 | 2019-03-15T23:54:07 | 175,904,985 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 458 | cpp | #include "pch.h"
#include <iostream>
#include <cstring>
#include "Car.h"
using namespace std;
void Car::InitMembers(const char *id, int fuel) {
strcpy(PlayerID, id);
FuelGauge = fuel;
CurrentSpeed = 0;
}
void Car::Accel()
{
if (FuelGauge <= 0) {
return;
}
else {
FuelGauge -= CarConst::FUEL_STEP;
}
if (C... | [
"5252bb@daum.net"
] | 5252bb@daum.net |
41961cc1834777f89aab3ccaf8c6a8c386a864df | 54706dd82e31dbaddc4a88fdb26c0d9c1ce19230 | /Lizard.h | 9a98e0d0740b4dd03b73c4b8bbcc8be705ccbc34 | [] | no_license | MatanSofer/CPP-Zoo-Project | 074782391179e4167eda6ed4910c296d03e5cadb | 9cd5d2e912be7725352a6b6a4bebbe404557d1b1 | refs/heads/main | 2023-06-21T01:20:54.226999 | 2021-07-27T20:26:01 | 2021-07-27T20:26:01 | 390,117,148 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 327 | h | #pragma once
#include "Vertebrates.h"
#include "Animal.h"
#include "Reptiles.h"
class Lizard :public Reptiles
{
private:
int legsspeed;
public:
Lizard(char* name, bool sex, bool blood, bool legs, int legsspeed);
virtual void print()const;
~Lizard() {}
virtual const char* get_type()const;
... | [
"noreply@github.com"
] | MatanSofer.noreply@github.com |
413b90b58da35954e4ea42562d7bad47495ef5e5 | c9b2a1b6cf254273cc4705f31916c4942fd6f47f | /Piscine_Cpp/d01/ex06/HumanA.cpp | 418630e146362fdb643199ed3289ef3a728c12a3 | [] | no_license | gbourgeo/42projects | cb4141026a2572c04a6e9820fe2d1a7319ac3225 | 3127c9e74ff8ec6d00be3f7d449f3469d56bdb86 | refs/heads/master | 2021-01-17T02:58:20.156155 | 2020-09-08T12:00:52 | 2020-09-08T12:00:52 | 58,766,253 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,145 | cpp | // ************************************************************************** //
// //
// ::: :::::::: //
// HumanA.cpp :+: :+: :+: ... | [
"gillesbourgeois@gmail.com"
] | gillesbourgeois@gmail.com |
de9a422b63cb7b6fe69dd34facf70fd7556e89e4 | fb7efe44f4d9f30d623f880d0eb620f3a81f0fbd | /third_party/WebKit/Source/modules/geolocation/GeolocationWatchers.cpp | b66558c6b204e87ed5a78c67322593a8ddbb550e | [
"BSD-3-Clause",
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft"
] | 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 | 2,206 | cpp | // 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 "modules/geolocation/GeolocationWatchers.h"
#include "modules/geolocation/GeoNotifier.h"
#include "platform/wtf/Assertions.h"
namespace blink {... | [
"jacob-chen@iotwrt.com"
] | jacob-chen@iotwrt.com |
1f63ba23ce9a8ad91ef36d5333683b0904667dcc | 09b54c3664807a96d864795cf29995c41ad2e3ab | /MQ2PyExt_DataWrapper.cpp | 776eb70597b0117d88b238decd837f8a3d7d6606 | [] | no_license | rlane187/MQ2Py | a6bb124ab4d4075bee908b9ba5158e3bedd2cc51 | e0430a39c06f8f15de66151e411e503d5968a79f | refs/heads/master | 2021-01-18T21:56:36.822901 | 2017-04-03T19:01:35 | 2017-04-03T19:01:35 | 87,030,859 | 0 | 0 | null | 2017-04-03T02:12:48 | 2017-04-03T02:12:48 | null | UTF-8 | C++ | false | false | 6,002 | cpp | /* MQ2PyExt_DataWrapper.cpp
* Copyright (c) 2009 Stephen Raub.
*
* Distribution is not allowed without the consent of the author.
*
* This module implements the MQ2 Data API Wrapper class library
*/
#include "MQ2PyPCH.h"
#include "MQ2Py.h"
#include "MQ2PyExt.h"
#include "MQ2PyExt_DataWrapper.h"
using namespace... | [
"brainiac2k@gmail.com"
] | brainiac2k@gmail.com |
a18c8dd8b412b53ac1d9de894b5c3b243dde2583 | eeedc65ef99590d8316963717d1012cc6c90c9c5 | /src/privatesend/privatesend-util.h | ba843f06c5d1cb32050a65b89d4886fc88960b3e | [
"MIT"
] | permissive | BayerTM/DraftCoinZ | e277353042c908373738bce65716c38ab0cbc0ff | 217db2822a320d278d93dda4d3cd5dc4d01764f2 | refs/heads/main | 2023-06-01T00:54:12.511923 | 2021-06-09T21:35:24 | 2021-06-09T21:35:24 | 362,256,925 | 0 | 0 | MIT | 2021-04-27T22:23:49 | 2021-04-27T21:33:59 | null | UTF-8 | C++ | false | false | 831 | h | // Copyright (c) 2014-2019 The DFTz Core developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef PRIVATESENDUTIL_H
#define PRIVATESENDUTIL_H
#include "wallet/wallet.h"
class CKeyHolder
{
private:
CReserveKey... | [
"james@xmc.com"
] | james@xmc.com |
43785d74a85c8672bfa745b23dc40dad8b746e8a | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/windows/advcore/gdiplus/test/comtest/comtest.cpp | e3df685c393f1f335d6ab110a70fe18fc2cded1a | [] | no_license | jjzhang166/WinNT5_src_20201004 | 712894fcf94fb82c49e5cd09d719da00740e0436 | b2db264153b80fbb91ef5fc9f57b387e223dbfc2 | refs/heads/Win2K3 | 2023-08-12T01:31:59.670176 | 2021-10-14T15:14:37 | 2021-10-14T15:14:37 | 586,134,273 | 1 | 0 | null | 2023-01-07T03:47:45 | 2023-01-07T03:47:44 | null | UTF-8 | C++ | false | false | 1,647 | cpp | #include "precomp.hpp"
#include "comtest.h"
#include "ComBase.hpp"
#include "HelloWorld.hpp"
#include <initguid.h>
#include "comtest_i.c"
HINSTANCE globalInstanceHandle = NULL;
LONG globalComponentCount = 0;
//
// DLL entrypoint
//
extern "C" BOOL WINAPI
DllMain(
HINSTANCE hInstance,
... | [
"seta7D5@protonmail.com"
] | seta7D5@protonmail.com |
58fa052379f057f875735ffd300751c5df832a26 | 819875a388d7caf6795941db8104f4bf72677b90 | /ui/gfx/gl/.svn/text-base/gl_surface_android.cc.svn-base | fcb132ddd981291826857c381b439c7a590f69c2 | [
"BSD-3-Clause"
] | permissive | gx1997/chrome-loongson | 07b763eb1d0724bf0d2e0a3c2b0eb274e9a2fb4c | 1cb7e00e627422577e8b7085c2d2892eda8590ae | refs/heads/master | 2020-04-28T02:04:13.872019 | 2012-08-16T10:09:25 | 2012-08-16T10:09:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,655 | // Copyright (c) 2012 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 "ui/gfx/gl/gl_surface_android.h"
#include <EGL/egl.h>
#include "base/logging.h"
#include "base/memory/ref_counted.h"
#include "ui/gfx/gl/eg... | [
"loongson@Loong.(none)"
] | loongson@Loong.(none) | |
98ebc65259ad87f47d4c2988c2c2561fee1a305a | 5aa83fd4a74169c14e102d676e937fcdbd23dc64 | /TP3_fischmaa_geoffrog/src/Dvector.cpp | 353fbb833fcd01bdd1e615661ac8c42a7b0297e4 | [] | no_license | Fischmaa/ModelisationProgrammation | f061b7b8dc1e7e139725284e712b31b212451272 | a4edb83057c6f4801e68edabc19ee8d053c6fb0b | refs/heads/master | 2016-08-12T23:21:50.418119 | 2016-03-28T23:40:36 | 2016-03-28T23:40:36 | 51,293,699 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,914 | cpp | #include "Dvector.h"
#include <ctime>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <cassert>
using namespace std;
Dvector::Dvector():Darray(){
};
Dvector::Dvector(int d, double val ):Darray(d,val){
};
Dvector::Dvector(const Darray... | [
"germain.geoffroy@ensimag.grenoble-inp.fr"
] | germain.geoffroy@ensimag.grenoble-inp.fr |
24cc4830b9b45c1d731ee9466937df1c20e2d369 | e773931bdeb9317a5ff7c7e2e6b1012b2645642a | /content/browser/accessibility/dump_accessibility_scripts_browsertest.cc | f527a0626e528c02c0bbc741699c395148fe0cf8 | [
"BSD-3-Clause"
] | permissive | SelyanKab/chromium | 21780bcaf7a21d67e3a4fe902aa8fd5d653b374b | ee248e9797404ad1cfcafdc3c0a58729b0f8f88d | refs/heads/master | 2023-03-14T15:02:38.903591 | 2021-03-10T10:21:05 | 2021-03-10T10:21:05 | 234,272,861 | 0 | 0 | BSD-3-Clause | 2020-01-16T08:36:12 | 2020-01-16T08:36:12 | null | UTF-8 | C++ | false | false | 3,441 | cc | // Copyright (c) 2021 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/files/file_util.h"
#include "build/build_config.h"
#include "content/browser/accessibility/dump_accessibility_browsertest_base.h"
#incl... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
f460adee167a4bd02ddf0baeec8849b7a8c52d3c | d3741d8710d0778f99f485ea15dbfdb683dd1a6d | /src/cfl_tree.cpp | 80f9a9c396fb06deb790d96c6ca578917887230e | [
"MIT"
] | permissive | DBLouis/cfltk | af122133edfa7d2083fbd170c4e57313a921e5c7 | 8cb846aeeb5381f604eb954a93f387e4bdc88af2 | refs/heads/main | 2023-08-09T23:39:45.646467 | 2023-07-17T11:49:48 | 2023-07-17T12:02:40 | 382,894,659 | 0 | 0 | null | 2021-07-04T16:09:56 | 2021-07-04T16:09:55 | null | UTF-8 | C++ | false | false | 24,237 | cpp | #include "cfl_tree.h"
#include "cfl_lock.hpp"
#include <FL/Fl.H>
#include <FL/Fl_Image.H>
#include <FL/Fl_Tree.H>
#include <FL/Fl_Tree_Item.H>
#include <FL/Fl_Tree_Item_Array.H>
#include <FL/Fl_Widget.H>
#include <stdlib.h>
WIDGET_CLASS(Fl_Tree)
WIDGET_DEFINE(Fl_Tree)
void Fl_Tree_begin(Fl_Tree *self) {
LOCK(s... | [
"may642_2000@hotmail.com"
] | may642_2000@hotmail.com |
6471ef82b16c6875ae51284c34f5cfc9fe0965b4 | 4d77398fc24009f483f2b2abc028a135e09fc9eb | /Assignment4/Solid_plate/4.8/gradTz | 9728662a9194b279e95584bb5d401398f23fd547 | [] | permissive | Naveen-Surya/CFD-Lab-1 | 12c635b72c611d83080ed6dd316b1b0016f2f86f | c38b0bfe43c7135f4a10e744ea1ac6cf6e9d4a1a | refs/heads/master | 2020-04-05T16:43:39.651232 | 2018-08-23T12:10:06 | 2018-08-23T12:10:06 | 157,026,052 | 0 | 1 | MIT | 2018-11-10T22:11:51 | 2018-11-10T22:11:51 | null | UTF-8 | C++ | false | false | 1,376 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 5.x |
... | [
"sarthakgarg1993@gmail.com"
] | sarthakgarg1993@gmail.com | |
7d1efb423842f76dc6e210f220214999282824ea | f02f7b6eca25b0b0198d6239d08497be73ed9463 | /SDL2_Wrapper/window_archtype.h | 630cc187f12fa4b40005c535a4c7ad63651501b4 | [
"MIT"
] | permissive | andywm/Physics-Demo | 49ff2e4722a027aa9e1184bb4e8d6bf367612857 | 8c625636e4ca92e445329bcfc977a07b8504e9b2 | refs/heads/master | 2021-01-21T21:15:18.719410 | 2017-06-19T17:13:20 | 2017-06-19T17:13:20 | 94,798,429 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,374 | h | #pragma once
#ifndef _WINSOCKAPI_
#define _WINSOCKAPI_
#endif // ! #define _WINSOCKAPI_
#include<SDL2/SDL.h>
#include<string>
#include<queue>
#include<list>
#include<memory>
#include <glm\vec2.hpp>
using uint = unsigned int;
class WindowArchtype
{
private:
int mWindowID;
SDL_Window * mWindow;
std::queue<SDL_Event... | [
"andy6a6@msn.com"
] | andy6a6@msn.com |
c02384aafe22e299611df570cc931c5ad0726452 | 6f2b6e9d77fc4dd5e1dae8ba6e5a66eb7c7ae849 | /sstd_boost/sstd/libs/process/example/wait.cpp | 86f773767dc83bc883196b048f9ebf49b12e0253 | [
"BSL-1.0"
] | permissive | KqSMea8/sstd_library | 9e4e622e1b01bed5de7322c2682539400d13dd58 | 0fcb815f50d538517e70a788914da7fbbe786ce1 | refs/heads/master | 2020-05-03T21:07:01.650034 | 2019-04-01T00:10:47 | 2019-04-01T00:10:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 861 | cpp | // Copyright (c) 2006, 2007 Julio M. Merino Vidal
// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling
// Copyright (c) 2009 Boris Schaeling
// Copyright (c) 2010 Felipe Tanus, Boris Schaeling
// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling
//
// Distributed under the Boost Software License, Version 1.0. (See a... | [
"zhaixueqiang@hotmail.com"
] | zhaixueqiang@hotmail.com |
da8edd727fa3caa8dd6c25beb6d8bc803eaa9515 | 3cf9e141cc8fee9d490224741297d3eca3f5feff | /C++ Benchmark Programs/Benchmark Files 1/classtester/autogen-sources/source-966.cpp | 66e139eec834416b288e073cf2bb33c2c1340bcc | [] | no_license | TeamVault/tauCFI | e0ac60b8106fc1bb9874adc515fc01672b775123 | e677d8cc7acd0b1dd0ac0212ff8362fcd4178c10 | refs/heads/master | 2023-05-30T20:57:13.450360 | 2021-06-14T09:10:24 | 2021-06-14T09:10:24 | 154,563,655 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,588 | cpp | struct c0;
void __attribute__ ((noinline)) tester0(c0* p);
struct c0
{
bool active0;
c0() : active0(true) {}
virtual ~c0()
{
tester0(this);
active0 = false;
}
virtual void f0(){}
};
void __attribute__ ((noinline)) tester0(c0* p)
{
p->f0();
}
struct c1;
void __attribute__ ((noinline)) tester1(c1* p);
struct c1
{
bool ac... | [
"ga72foq@mytum.de"
] | ga72foq@mytum.de |
6a7b200da824acd6dc178511ff95828aae4f58bf | 5ec1ccbb2d6d485c7ddbff92d1a8855f5df4d805 | /src/barrier.hpp | 64d4ac732ed6e75b51093911d578228033ea0717 | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause-LBNL"
] | permissive | snake0/upcxx-2020.3.2 | e1f2e94e33175b15a1f636b384ce206a59abebac | a376bcb4f4f15905e4360f0b78f5a3661071b737 | refs/heads/master | 2023-01-08T13:54:32.709572 | 2020-11-18T12:14:38 | 2020-11-18T12:14:38 | 313,923,784 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,843 | hpp | #ifndef _f2c7c1fc_cd4a_4123_bf50_a6542f8efa2c
#define _f2c7c1fc_cd4a_4123_bf50_a6542f8efa2c
#include <upcxx/backend.hpp>
#include <upcxx/completion.hpp>
#include <upcxx/future.hpp>
#include <upcxx/team.hpp>
namespace upcxx {
namespace detail {
////////////////////////////////////////////////////////////////////... | [
"1260865816@qq.com"
] | 1260865816@qq.com |
e4188ddfe84790da5759936a0ccfc815d6d40891 | d1f24644ad545978264a4a5f6db812546ee6f20e | /covid19_ventilator_vub/test/suite.cpp | 8cc29965f4ac4cae2b074b8c2070ca76c5766e0a | [] | no_license | jantje/covid16_ventilatyor_vub | be5be96d62fee24cf5183c1a6678baa9c6327863 | ffc6211f3178f0c45ccdc3b8dc6a93e2229e86fe | refs/heads/master | 2021-03-31T15:56:08.955531 | 2020-03-24T22:22:15 | 2020-03-24T22:22:15 | 248,117,811 | 1 | 3 | null | 2020-03-24T21:14:51 | 2020-03-18T02:14:45 | C++ | UTF-8 | C++ | false | false | 121 | cpp | #include <gtest/gtest.h>
#include "Alarm.h"
TEST(GreaterTest,AisGreater){
EXPECT_EQ(3,3);
};
#include "gtest.cpp.in"
| [
"ruben.de.smet@rubdos.be"
] | ruben.de.smet@rubdos.be |
4c746be060ef4ab5ae7559dc9c5c39008f435c53 | 54c67306d63bb69a5cf381d12108d3dc98ae0f5d | /game/sound/common/synth.cpp | 50de71864d69f6951308a987b0d497713032effe | [
"ISC"
] | permissive | open-goal/jak-project | adf30a3459c24afda5b180e3abe1583c93458a37 | d96dce27149fbf58586160cfecb634614f055943 | refs/heads/master | 2023-09-01T21:51:16.736237 | 2023-09-01T16:10:59 | 2023-09-01T16:10:59 | 289,585,720 | 1,826 | 131 | ISC | 2023-09-14T13:27:47 | 2020-08-22T23:55:21 | Common Lisp | UTF-8 | C++ | false | false | 755 | cpp | // Copyright: 2021 - 2022, Ziemas
// SPDX-License-Identifier: ISC
#include "synth.h"
#include <stdexcept>
namespace snd {
static s16 ApplyVolume(s16 sample, s32 volume) {
return (sample * volume) >> 15;
}
s16_output synth::tick() {
s16_output out{};
m_voices.remove_if([](std::shared_ptr<voice>& v) { return v... | [
"noreply@github.com"
] | open-goal.noreply@github.com |
672f436717c64f5dbb4b456dc9e895ce30218313 | b38063d6700559ba059ee6e04034352d34620d24 | /tests/pair_extraction.cc | 69f2ba2ff7899c3ad3b601c4372a6a6b207e73d7 | [
"Apache-2.0"
] | permissive | kaorun55/Super4PCS | 6bcfe12068c3e0b154a26447b510d1336209d4b3 | 355c8f8d2af49f97c561d15e02632d55420a1127 | refs/heads/master | 2021-01-17T10:40:01.186462 | 2015-05-11T14:35:39 | 2015-05-11T14:35:39 | 30,953,909 | 0 | 0 | null | 2015-02-18T05:49:06 | 2015-02-18T05:49:04 | C++ | UTF-8 | C++ | false | false | 8,237 | cc | // Copyright 2014 Nicolas Mellado
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to i... | [
"nmellado0@gmail.com"
] | nmellado0@gmail.com |
5bd4d1d9ead0fa6e20698b2465724c2ce61804c6 | db51654c39a6e0fedb36a040cba7534dd214db6e | /pointers.h | a2ee72303959a540e77003b216816ee2edf8fef8 | [] | no_license | KirillOvs/ComplexSession | 62f43b4ad56374a68a3b580da028daa3ea81e682 | ec55909e0ae9ca4f62373b1119749595fc11db98 | refs/heads/master | 2020-05-03T21:31:24.590152 | 2019-04-01T14:46:53 | 2019-04-01T14:46:53 | 178,825,312 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 331 | h | #ifndef POINTERS_H
#define POINTERS_H
#include <memory>
#include "range.h"
struct ScheduleData;
using ScheduleDataPtr = std::shared_ptr<ScheduleData>;
class ScheduleItem;
using ScheduleItemPtr = std::unique_ptr<const ScheduleItem>;
class Worker;
using WorkerPtr = std::unique_ptr<Worker>;
#endif // P... | [
"ovseychuk@ukr.net"
] | ovseychuk@ukr.net |
7db574a144e2397c6e7dfe20effffe5984394963 | 95613a70265e6871c25a4be18075c180427d0980 | /src/walletdb.h | a48bd7687e94042830962e89e7d8da4340e35d3a | [
"MIT"
] | permissive | CryptoLover705/NocNoc | 394b7426a25a0b048fb5e2ae6c02b5f75099189e | fafa860f29c63d7357721a231fef7ad314355263 | refs/heads/master | 2023-02-11T04:11:49.555586 | 2021-01-01T00:21:57 | 2021-01-01T00:21:57 | 318,871,415 | 1 | 0 | MIT | 2020-12-05T19:25:13 | 2020-12-05T19:25:12 | null | UTF-8 | C++ | false | false | 6,297 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2013 The Bitcoin developers
// Copyright (c) 2016-2017 The PIVX developers
// Copyright (c) 2016-2019 The NocNoc developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit... | [
"edward.thomas3@yahoo.com"
] | edward.thomas3@yahoo.com |
4a6fc8b0033f0d208ceea802eace5fa6dcc7d726 | cd53591c82fc4b78635db88d7b48cff95b2d75f7 | /Alien.hpp | 1e7a4ffc0ec31bb651dc1e0bede262cf5ee8d7c6 | [] | no_license | taylor-jones/Fly-Away-Home | da439d3856068c39544d7255091fbf394a3403df | 14036d29c6ef719327cc9043b269d313b968689c | refs/heads/master | 2020-03-26T15:25:19.335305 | 2019-01-15T01:19:04 | 2019-01-15T01:19:04 | 145,041,889 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,568 | hpp | /**********************************************************
** Program Name: final project
** Author: Taylor Jones
** Date: 3/6/2018
** Description: Alien.hpp is the Alien class
** specification file. This file contains declarations
** for the member variables and member functions of
** the Alien class.
************... | [
"taylorjonesdev@gmail.com"
] | taylorjonesdev@gmail.com |
8ccbe77e6ba41d09784f91a8dedc586432102424 | c50c30e511946ddb660a2e25bfb81376faad6d08 | /src/qt/addresstablemodel.cpp | 9097ab9b549dde917109c761c7a7d2cf653d2427 | [
"MIT"
] | permissive | ultranatum/ultragate | e52fd316761fde9996f52e7e98ddf7475d915a88 | b4773b11f358932cbdbd8f738b0648bd4ee5f385 | refs/heads/master | 2022-07-23T21:26:27.488403 | 2022-06-21T11:27:42 | 2022-06-21T11:27:42 | 175,899,669 | 4 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 16,172 | cpp | // Copyright (c) 2011-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2019 The PIVX developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "addresstablemodel.h"
... | [
"ultranatum@web.de"
] | ultranatum@web.de |
9b3d91a76c50953d806ac99c64632bf1406567db | 6db8ebd5b071a349de6a15c1e6fc1e27a0987cd1 | /Drivers/libuavcan/root_ns_a/B.hpp | 12b1d026f163386aaa06c515d8f4f638584e2f9a | [] | no_license | RuslanUrya/nucleo_power_uavcan | 163ea518aaf25d68adb310ac51c51668c2ffa985 | ee34900a4b8f83bf3a0855fa0c58a47de9df17af | refs/heads/master | 2022-12-24T18:52:38.874759 | 2020-10-06T08:56:11 | 2020-10-06T08:56:11 | 283,022,531 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,252 | hpp | /*
* UAVCAN data structure definition for libuavcan.
*
* Autogenerated, do not edit.
*
* Source file: /home/acyc/src/libuavcan/libuavcan/test/dsdl_test/root_ns_a/B.uavcan
*/
#ifndef ROOT_NS_A_B_HPP_INCLUDED
#define ROOT_NS_A_B_HPP_INCLUDED
#include <uavcan/build_config.hpp>
#include <uavcan/node/global_data_typ... | [
"ruslikc@gmail.om"
] | ruslikc@gmail.om |
188c99879752898ffb4adcaec1b65ac6e7394a41 | 08cb51dc2ccf77dfec50851664367eefa78afb32 | /day04/ex01/PlasmaRifle.cpp | eb1e0fbccb1eca008a0ff45c4eab9c533db75d37 | [] | no_license | acarlson99/piscine-cpp | f251a5662e5509f4ca8d6c0d4b737655e10a4820 | 86f926d046e7cac139e7ed28b9a9ed4af80dd6bd | refs/heads/master | 2020-04-17T16:32:36.547220 | 2019-02-05T03:11:49 | 2019-02-05T03:11:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,321 | cpp | // ************************************************************************** //
// //
// ::: :::::::: //
// PlasmaRifle.cpp :+: :+: :+: ... | [
"acarlson@e1z3r2p8.42.us.org"
] | acarlson@e1z3r2p8.42.us.org |
8b2d4b355db7e2032137d2edb91486c2c248e9d6 | 19ad692a3b1f7cadc8e94e2ad544190dd8aa48d1 | /assignment 2/Solved/time.h | ce5061c71d1311393233c0667ae608f3b37d20ff | [] | no_license | mabdullahkhalil/Data-Structures | 96f473c612efb3e730c5a171dcabdf8fb8e29222 | c635d77e1d2ef851d830bdc68946b073dff4fe7e | refs/heads/master | 2020-03-27T06:38:11.203952 | 2018-08-25T19:10:18 | 2018-08-25T19:10:18 | 146,122,148 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,194 | h | #include <sys/time.h>
#include <iostream>
using namespace std;
int timeval_subtract (struct timeval *result, struct timeval *x, struct timeval *y)
{
/* Perform the carry for the later subtraction by updating y. */
if (x->tv_usec < y->tv_usec) {
int nsec = (y->tv_usec - x->tv_usec) / 1000000 + 1;
... | [
"muhammadabdullahkhalil@gmail.com"
] | muhammadabdullahkhalil@gmail.com |
c803a423a373ff8c5687b501a41df1e1602e0ec7 | b269392cc4727b226e15b3f08e9efb41a7f4b048 | /CodeForces/CodeForces 443A.cpp | 11910e2636559b90f8e7916b7adc2e9a8b292f72 | [] | no_license | ThoseBygones/ACM_Code | edbc31b95077e75d3b17277d843cc24b6223cc0c | 2e8afd599b8065ae52b925653f6ea79c51a1818f | refs/heads/master | 2022-11-12T08:23:55.232349 | 2022-10-30T14:17:23 | 2022-10-30T14:17:23 | 91,112,483 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 357 | cpp | #include <iostream>
#include <cstdio>
#include <cstring>
#include <set>
using namespace std;
char str[1005];
set <char> ele;
int main()
{
ele.clear();
gets(str);
int len=strlen(str);
for(int i=0; i<len; i++)
{
if(str[i]>='a' && str[i]<='z')
ele.insert(str[i]);
}
cout <<... | [
"1273789365@qq.com"
] | 1273789365@qq.com |
e93382f17a8e406e8c729429843d13889ed5c290 | 259319e5fe06036972de9036f0078b8f5faba86e | /records/StudentRecord.cpp | 9b9eb617920366a7c7d62e8a3f5d9ba327189155 | [] | no_license | ferromera/sancus | 652d05fc2a28987ac37309b9293cbd7f92448186 | 0f5d9b2e0bf1b6e099ade36edcf75e9640788589 | refs/heads/master | 2021-01-01T16:56:39.380388 | 2011-12-04T01:01:55 | 2011-12-04T01:01:55 | 32,414,828 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,683 | cpp | #include "StudentRecord.h"
#include <cstring>
using namespace std;
StudentRecord::StudentRecord():idNumber_(0),name_(string()){
key_=new Key;
buffer= new char[260];
}
StudentRecord::StudentRecord(const StudentRecord & sr):
idNumber_(sr.idNumber_),name_(sr.name_){
key_=new Key((uint16_t) idNum... | [
"FernandoRomeraFerrio@gmail.com@b06ae71c-7d8b-23a7-3f8b-8cb8ce3c93c2"
] | FernandoRomeraFerrio@gmail.com@b06ae71c-7d8b-23a7-3f8b-8cb8ce3c93c2 |
b4ff71c1eab2bfc2267df8d024228650e356fca6 | 66d008acad46229b9783b62d83f0a6736af09a0c | /Shader.cpp | 86071250c7b98c7107d8c8ac53dcd9540fed8981 | [] | no_license | emirhanylmzz/3D_SNAKE_GAME_OPENGL | 36cbf585b1a17d7ad4ea5dae89e32d700af3a709 | 653b1e690878312677d3f021a62e8dd8d1122c03 | refs/heads/main | 2023-03-02T00:59:55.025574 | 2021-02-07T10:54:39 | 2021-02-07T10:54:39 | 310,135,202 | 0 | 0 | null | 2021-02-07T10:54:39 | 2020-11-04T22:48:17 | C++ | UTF-8 | C++ | false | false | 2,323 | cpp | #include "Shader.h"
#include <iostream>
#include <GL/glew.h>
#include <GLFW/glfw3.h>
#include "Renderer.h"
Shader::Shader(const string& v, const string& f)
{
m_RendererID = CreateShader(v, f);
}
Shader::~Shader()
{
GLCall(glDeleteProgram(m_RendererID));
}
unsigned int Shader::CompileShader(unsigned i... | [
"noreply@github.com"
] | emirhanylmzz.noreply@github.com |
4ea0d691bbcfbfe47460cc8d595447388ee9c035 | 9d82eabe30c2ad6aef7c24d3358eec308c74254c | /Plugins/Puerts/Source/PuertsEditor/Public/PEBlueprintMetaData.h | 9c0b13578c625b2424813eef5e6d463694e877db | [] | permissive | zombieyang/puerts_unreal_demo | 011da1e0b6bc43b9c36c264cbd2729be61eec3ee | 167ed16baf9a77ac615bcb56431c3771ff9c3e82 | refs/heads/master | 2023-03-12T04:01:28.817664 | 2022-08-11T03:52:52 | 2022-08-11T03:52:52 | 344,380,891 | 0 | 0 | MIT | 2021-03-04T07:02:30 | 2021-03-04T07:02:29 | null | UTF-8 | C++ | false | false | 27,691 | h | /*
* Tencent is pleased to support the open source community by making Puerts available.
* Copyright (C) 2020 THL A29 Limited, a Tencent company. All rights reserved.
* Puerts is licensed under the BSD 3-Clause License, except for the third-party components listed in the file 'LICENSE' which may
* be subject to th... | [
"johnche@tencent.com"
] | johnche@tencent.com |
7cbe456fbefdd6e4d5d268558782cd777324249b | 2eec9db7c8890de85eaa2140b59116e573dd0b53 | /src/qt/modaloverlay.h | 5228ffd1e0a0f49958959ac6f6810399a5c301b6 | [
"MIT"
] | permissive | Alonewolf-123/PaydayCoin-Core | 45bca042a8014f4486977f951bc2083728d8fb5e | d807d95550d955bfa9ffda2b39cad745422224e5 | refs/heads/master | 2023-01-13T15:33:54.226987 | 2019-12-16T04:54:53 | 2019-12-16T04:54:53 | 227,445,703 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,512 | h | // Copyright (c) 2016-2018 The PaydayCoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef PAYDAYCOIN_QT_MODALOVERLAY_H
#define PAYDAYCOIN_QT_MODALOVERLAY_H
#include <QDateTime>
#include <QWidget>
//! Th... | [
"alonewolf2ksk@gmail.com"
] | alonewolf2ksk@gmail.com |
3ac1b30d13b5fb9ddd636f3afdd1a6078fecccea | e61f3ee1dd37c88c829a198d463318830c8d0623 | /Functions/PassbyAddress/main.cpp | 7c9d79f3ce5d8fb794bf529403612f76a7d98d5d | [] | no_license | Adityasakare/CPP | 484b3ae26588dec153b3e2bf6922f5db6ace0084 | ed0743c6b041a318a8d4d443ec280747a9b89f65 | refs/heads/master | 2023-07-25T20:13:39.450799 | 2021-09-02T18:20:57 | 2021-09-02T18:20:57 | 268,801,113 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 236 | cpp | #include<iostream>
using namespace std;
void swap (int *a, int *b)
{
int temp;
temp = *a;
*a = *b;
*b = temp;
}
int main()
{
int x=10, y=20;
swap(&x, &y);
cout<<x<<","<<y;
return 0;
}
| [
"noreply@github.com"
] | Adityasakare.noreply@github.com |
4372154864296e19770387a4cac9032f2a6ce47e | c8533e38289deff74c37b2759137424762e28242 | /CTCI/ch2/5b.cpp | 359bcd14ef1e31bda94a05e87801896f8f1ff9b8 | [] | no_license | rhb2/playground | 0ab19416deca8961ec5279b1b962fe2aa01a3cfc | 306257143152a76f01eedb3274c71f04bac414aa | refs/heads/master | 2023-05-11T19:11:26.317693 | 2021-06-03T22:44:46 | 2021-06-03T22:44:46 | 334,799,168 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,413 | cpp | #include <iostream>
#include <cassert>
#include "../util/sll.h"
using namespace std;
linkedlist<int> *
sumlists(linkedlist<int> &l1, linkedlist<int> &l2)
{
linkedlist<int> *result = new linkedlist<int>;
int sum;
int carry = 0;
node<int> *pn1, *pn2;
l1.reverse();
l2.reverse();
pn1 = l1.head;
pn2 = l2.head;
... | [
"robert.bogart@joyent.com"
] | robert.bogart@joyent.com |
10f602de41c887b243cdf20cacbaf7be67cfe204 | 37ee162650bc8bbe0cd8aac85854465c3a6d58dc | /src/connection.cpp | 3fc136e6866f98bd416d2949d4f46bfb9d82b67c | [] | no_license | weltenbauer/wb-time-tracker | 487c958a25c3ef11c6066df31a5d31aef618fb0f | b5cf82cf8ad6732eee37803765ae89212a74eeaf | refs/heads/master | 2020-07-11T13:59:32.544041 | 2019-08-26T21:03:46 | 2019-08-26T21:03:46 | 204,561,068 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,242 | cpp |
#include <SPI.h>
#include <WiFiNINA.h>
#include <ArduinoHttpClient.h>
#include "connection.h"
#include "util.h"
#include "../config.h"
//-----------------------------------------------------------------------------------------------
WiFiSSLClient wifi;
//------------------------------------------------------------... | [
"christian.rathemacher@weltenbauer-se.com"
] | christian.rathemacher@weltenbauer-se.com |
2a4461a0a4dd9e7b399b32c016fa48e998d883ae | cc9ae71207dc667c2e0be27671ced5c86f2f71a3 | /test/oldstudy/class_array.cpp | d0663fe13534f156229ae4051ec3c7a7b4702414 | [] | no_license | xm0629/c-study | aed8480aa30b35637bfca307e009eb8b827b328d | 26183be9c91b2b53bd71b6693fe6d39823bc5d63 | refs/heads/master | 2020-04-09T11:35:48.047562 | 2019-03-30T15:27:01 | 2019-03-30T15:27:01 | 160,316,327 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 613 | cpp | // 对象数组
# include <iostream>
using namespace std;
class Box
{
public:
Box(int h=10, int w=12, int len=15):height(h),width(w),length(len){}
int volume();
private:
int height;
int width;
int length;
};
int Box::volume()
{
return (height*width*length);
}
int main()
{
... | [
"920972751@qq.com"
] | 920972751@qq.com |
a64e093d5d373559c712cb30cd4f734a20b4f052 | b0c8bc79873ca7136c19b62adbe07107fcbf7cd8 | /types/Body.cpp | b8bc1bdcff41c4474146a6daeaa94cb1bc32d243 | [] | no_license | Giulianos/ss-2018b-tp4 | 3de51cf709013acc74169e2ad617157866131462 | dd6d8408b66628a9931ef49f996df5424d45db15 | refs/heads/master | 2020-05-29T18:03:14.186634 | 2018-11-11T23:49:59 | 2018-11-11T23:49:59 | 189,294,823 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,966 | cpp | //
// Created by Giuliano Scaglioni on 05/11/2018.
//
#include "Body.h"
#include <cmath>
#include <cstdio>
int Body::next_id = 0;
double
Body::get_radius() const
{
return radius;
}
double
Body::get_mass() const
{
return mass;
}
Body::Body(double x, double y, double vx, double vy, double radius, double mass)
... | [
"scaglionigiuliano@gmail.com"
] | scaglionigiuliano@gmail.com |
fbdc5177ac9c49fb3c7afefb53a4d3b6018f350c | 2124d0b0d00c3038924f5d2ad3fe14b35a1b8644 | /source/GamosCore/GamosScoring/Scorers/src/GmPSLET_dEdx_unrestrD.cc | d32e8b41e13aa1ef9d16ff1f24e2b34e9b8d41e1 | [] | no_license | arceciemat/GAMOS | 2f3059e8b0992e217aaf98b8591ef725ad654763 | 7db8bd6d1846733387b6cc946945f0821567662b | refs/heads/master | 2023-07-08T13:31:01.021905 | 2023-06-26T10:57:43 | 2023-06-26T10:57:43 | 21,818,258 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,835 | cc | //#define VERBOSE_DOSEDEP
#include "GmPSLET_dEdx_unrestrD.hh"
#include "G4VPrimitiveScorer.hh"
#include "GamosCore/GamosScoring/Management/include/GmScoringVerbosity.hh"
#include "GamosCore/GamosUtils/include/GmGenUtils.hh"
#include "GamosCore/GamosBase/Base/include/GmParameterMgr.hh"
#include "G4EmParameters.hh"
#inc... | [
"pedro.arce@ciemat.es"
] | pedro.arce@ciemat.es |
5b1ca8adfc4cc8c5e62109714d4b9004789812cc | 4c25432a6d82aaebd82fd48e927317b15a6bf6ab | /data/dataset_2017/dataset_2017_8/ss1h2a3tw/5304486_5760761888505856_ss1h2a3tw.cpp | 2912af530b40ae4bc2009b57cba2a4b914ae51c6 | [] | no_license | wzj1988tv/code-imitator | dca9fb7c2e7559007e5dbadbbc0d0f2deeb52933 | 07a461d43e5c440931b6519c8a3f62e771da2fc2 | refs/heads/master | 2020-12-09T05:33:21.473300 | 2020-01-09T15:29:24 | 2020-01-09T15:29:24 | 231,937,335 | 1 | 0 | null | 2020-01-05T15:28:38 | 2020-01-05T15:28:37 | null | UTF-8 | C++ | false | false | 1,804 | cpp | #include <cstdio>
#include <algorithm>
using namespace std;
char cake[30][30];
int r,c;
int main (){
int T;
scanf("%d",&T);
for(int I = 1 ; I <= T ; I++){
scanf("%d%d",&r,&c);
for(int i = 0 ; i < r ; i ++){
scanf("%s",cake[i]);
}
bool firstempty=true;
f... | [
"e.quiring@tu-bs.de"
] | e.quiring@tu-bs.de |
2d5f06a73a8becc601aab6f1fe95b7438e270d85 | 3ca7dd1e368194aa2f884139d01f802073cbbe0d | /Codeforces/solved/20C/20C.cpp | e46ba3d0d2b577fce5b47ede86f0fe7e77d0b6ba | [] | no_license | callistusystan/Algorithms-and-Data-Structures | 07fd1a87ff3cfb07326f9f18513386a575359447 | 560e860ca1e546b7e7930d4e1bf2dd7c3acbcbc5 | refs/heads/master | 2023-02-17T17:29:21.678463 | 2023-02-11T09:12:40 | 2023-02-11T09:12:40 | 113,574,821 | 8 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,181 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef vector<int> vi;
typedef pair<int, int> pii;
int main() {
ios::sync_with_stdio(0); cin.tie(0);
int N, M; cin >> N >> M;
vector<vector<pair<int, ll>>> adjList(N+5);
for (int i=0;i<M;i++) {
int u,v,w; cin >> u >> v >> w;
adjList... | [
"callistusystan@gmail.com"
] | callistusystan@gmail.com |
2cb63511678f4ee4ca3e068f7b21bf81a78ee107 | 1a9df829cfba53d1032a4e4fd60f40e998af2924 | /src/predict_pseudo.cpp | a7c164e20b52f1b1978e441e54dff1e2c04bfd66 | [] | no_license | X4vier/MC-AIXI-CTW | bf30c2610ed5435e4ba741e6daa741c8176a3789 | ea2e98e95352166f8d707a200e67fb0e30690376 | refs/heads/master | 2020-04-04T15:41:17.541126 | 2018-11-04T04:17:40 | 2018-11-04T04:17:40 | 156,047,993 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,438 | cpp | #include "predict_pseudo.hpp"
#include <cassert>
#include <ctime>
#include <cmath>
#include "util.hpp"
// create a context tree of specified maximum depth
ContextTree::ContextTree(size_t depth) { return; }
ContextTree::~ContextTree(void) { return; }
// clear the entire context tree
void ContextTree::clear(void) { re... | [
"xavier.orourke@gmail.com"
] | xavier.orourke@gmail.com |
76250cfc3e8d3fdee22df78981ee158920f82865 | 600df3590cce1fe49b9a96e9ca5b5242884a2a70 | /ash/touch/touch_uma.cc | 4ae3adcf97ee2383a8429db685e84d602ae1d86f | [
"BSD-3-Clause"
] | permissive | metux/chromium-suckless | efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a | 72a05af97787001756bae2511b7985e61498c965 | refs/heads/orig | 2022-12-04T23:53:58.681218 | 2017-04-30T10:59:06 | 2017-04-30T23:35:58 | 89,884,931 | 5 | 3 | BSD-3-Clause | 2022-11-23T20:52:53 | 2017-05-01T00:09:08 | null | UTF-8 | C++ | false | false | 10,965 | cc | // Copyright (c) 2012 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 "ash/touch/touch_uma.h"
#include "ash/common/wm_shell.h"
#include "base/metrics/histogram.h"
#include "base/strings/stringprintf.h"
#include... | [
"enrico.weigelt@gr13.net"
] | enrico.weigelt@gr13.net |
e91dbf012f8644c94b5e87a8a9878e7b6b9d37a4 | 8de5fa2abac197367077f8aae43c16c3ce2f9ad2 | /1010. Radix (25).cpp | 07d045461518bce47ab9bb83c0f7dc4f54598909 | [] | no_license | zhoujf620/PAT-Practice | 2220435e9a27cbbe8230263f7ad0b5572138e3fb | c2b856f530af1f4ea38dfb4992eb974081a4890b | refs/heads/master | 2020-12-04T23:24:56.252091 | 2020-01-20T14:48:01 | 2020-01-20T14:48:01 | 231,934,012 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,310 | cpp | // 1010. Radix (25)
// Given a pair of positive integers, for example, 6 and 110, can this equation 6 = 110 be true? The answer is "yes", if 6 is a decimal number and 110 is a binary number.
// Now for any pair of positive integers N1 and N2, your task is to find the radix of one number while that of the other is gi... | [
"zhoujf620@zju.edu.cn"
] | zhoujf620@zju.edu.cn |
6cbf9d74c62652e42e372bf9fdba97dde802d950 | 6104eba97327b09b0d5f084c990b3bf50ef20ca6 | /STL_Univ/STL_Univ/unodered_set 과 map.cpp | 136e2cab3b514202d44c1f0e9421c80714ddcf01 | [
"MIT"
] | permissive | LeeKangW/CPP_Study | 03caf637d3cc797f6d8f5ed3121228f9e23f3232 | 897cd33ddeca79bbef6c4a084c309b40c6733334 | refs/heads/master | 2021-07-13T00:40:25.666219 | 2021-06-24T02:01:46 | 2021-06-24T02:01:46 | 222,482,593 | 1 | 0 | null | null | null | null | UHC | C++ | false | false | 1,203 | cpp | #include<iostream>
#include<unordered_set>
#include<random>
#include<thread>
#include"String.h"
#include"save.h"
using namespace std;
//2020.5.25 월
//
// unordered_set / unordered_map
//
// unordered associative container
// 1. 순서가 없다.
// 2. 메모리 구조를 출력
// 3. String을 이 컨테이너의 원소로 되도록 하려면
// hash 함수를 쓰기 때문에 찾을 때 O(1) ... | [
"leegw1371@gmail.com"
] | leegw1371@gmail.com |
8c5166c1e4948cf10f1e75871e54dca34ff52d73 | 68c2c9f85e79fb2ce4fd3bb90d857b8be5bf9520 | /mathclass/src/subtraction.cpp | 601b946109a928df196456c796f38afe85b59430 | [
"LicenseRef-scancode-other-permissive",
"MIT"
] | permissive | mori-inj/Graphics | 556e6b7f7f722ec71f5ec5ede462e2e2b132f6a9 | 4923736e43f782e242f835074e8f67cb7653afd9 | refs/heads/master | 2021-01-01T16:47:37.426078 | 2019-06-13T20:25:47 | 2019-06-13T20:25:47 | 97,922,371 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,110 | cpp |
#include "mathclass.h"
namespace jhm {
unit_vector operator-( unit_vector const& a )
{
unit_vector b;
b.p[0] = - a.p[0];
b.p[1] = - a.p[1];
b.p[2] = - a.p[2];
return b;
}
vector operator-( vector const& a )
{
vector b;
b.p[0] = - a.p[0];
b.p[1] = - a.p[1];
b.p[2] = - a.p[2];
... | [
"leokim1022@snu.ac.kr"
] | leokim1022@snu.ac.kr |
7608bccbf96cc36f9fc49a0202c905a139838fec | 64058e1019497fbaf0f9cbfab9de4979d130416b | /c++/src/app/blastdb/blastdbcp.cpp | f5a5ea06f3bc8d507c65afcf25da25f36af4ed0f | [
"MIT"
] | permissive | OpenHero/gblastn | 31e52f3a49e4d898719e9229434fe42cc3daf475 | 1f931d5910150f44e8ceab81599428027703c879 | refs/heads/master | 2022-10-26T04:21:35.123871 | 2022-10-20T02:41:06 | 2022-10-20T02:41:06 | 12,407,707 | 38 | 21 | null | 2020-12-08T07:14:32 | 2013-08-27T14:06:00 | C++ | UTF-8 | C++ | false | false | 11,559 | cpp | /* $Id: blastdbcp.cpp 347262 2011-12-15 14:16:31Z fongah2 $
* ===========================================================================
*
* PUBLIC DOMAIN NOTICE
* National Center for Biotechnology Information
*
* This software/database is a "United States Government Wo... | [
"zhao.kaiyong@gmail.com"
] | zhao.kaiyong@gmail.com |
2680efc3a2611a45fe87974c975071e244ad8eb4 | fd47ed69443b69ff56316cbc81131782f5c460a5 | /LogitechLcdWinamp/gen_lglcd/DrawableText.h | 6f0dcde0a06706344cd139863a2f473d65d560b8 | [] | no_license | koson/jawsper-projects | 820b436f89415e2de3176168c489447d1f26bb34 | d750c293ad33b568d304d27d81ed61d02a1ac1ae | refs/heads/master | 2021-01-18T05:54:34.359533 | 2013-01-31T15:35:41 | 2013-01-31T15:35:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 477 | h | #pragma once
#include "Fonts.h"
class DrawableText
{
bool m_Changed;
int m_X, m_Y, m_Width, m_MaxWidth;
wchar_t m_Str[MAX_PATH];
Font* m_Font;
int prev_len;
public:
DrawableText(int a_X, int a_Y, int a_Width, Font* a_Font ) :
m_X(a_X), m_Y(a_Y), m_Width(a_Width), m_MaxWidth(a_Width), m_Changed(fa... | [
"jawsper@gmail.com@aa725750-22df-18b2-2580-202d682e9b9e"
] | jawsper@gmail.com@aa725750-22df-18b2-2580-202d682e9b9e |
89602e597f50b469bb7dfa05a9a5317c6f75d1d7 | 6a13fa167b2d4bcea80358562dfde6164ff29693 | /Scripts/Character.cpp | 270faa38d303816f56f96861b68fd5622e29a151 | [] | no_license | scrapzero/RPG-Zero-70 | 1e4130f38e42030bbf85c64177db188dc32fa5f7 | 19e95aff37b15949878458cae1f0f107b2ba7787 | refs/heads/master | 2023-06-30T08:09:28.794552 | 2023-06-15T15:30:40 | 2023-06-15T15:30:40 | 92,604,803 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 61,161 | cpp | #include "Character.h"
#include "MyScene.h"
#include "math.h"
bool KeyOK();
bool KeyCancel();
bool KeyRight();
bool KeyLeft();
bool KeyUp();
bool KeyDown();
CEffect1::CEffect1()
{
Effect[0] = "zero/BattleEffect1.png";
}
CEffect1::~CEffect1()
{
}
void CEffect1::PushEffect(CCharacterBase * fromChar, CCharacterBase... | [
"doragontuinatomikku@gmail.com"
] | doragontuinatomikku@gmail.com |
223f7df63e9ecdec7736e77f1348f1dc183c8248 | 220846e017a9992e596bd1ea806d527e3aeea243 | /162_Find_Peak_Element.cpp | 618e82ebc8f572dcbf0cf7ddf9e0f7dd0bcccb78 | [] | no_license | anzhe-yang/Leetcode | bfa443b7a74ddbd441348c364ee00004173ddd86 | fe9eb16136035f25f31bddb37c6b4884cd7f6904 | refs/heads/master | 2020-04-08T14:49:04.781848 | 2019-10-25T02:39:22 | 2019-10-25T02:39:22 | 159,453,173 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,049 | cpp | /** 问题描述:
* 如果某个元素大于它周围的元素,则称为山顶元素。
* 给定一个数组,数组中相邻两个元素不相等,找到其中的山顶元素并返回位置索引。
* 数组可能包含多个山顶元素,可以任意返回某一个。
* 可以假设数组的 -1 索引和 n 索引的值为负无穷。
* 算法复杂度为 O(logN) 。
*/
#include <iostream>
#include <vector>
using namespace std;
int findPeakElement(vector<int>& nums)
{
/*
二分法。
比较当前mid值和下一个值。
如果... | [
"yaz951114@gmail.com"
] | yaz951114@gmail.com |
dc22d51a8bf9cc33337873826a0a7a7cf3e4a0dd | 14a925dcf097319834778c8b3010a7c786748199 | /include/parser_utils.h | df50293d5110452d1322419273f70e441d6bc2f6 | [
"MIT"
] | permissive | toaderandrei/cppnd-udacity-system-monitor | a410a194633dc0d786281df653a5ab08e7ded228 | 011f95e63452a7a7f7d0821c0131186a871a1ee9 | refs/heads/master | 2022-04-20T07:51:50.943096 | 2020-04-18T12:45:13 | 2020-04-18T12:45:13 | 256,291,666 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,429 | h | //
// Created by toaderst on 08-03-20.
//
#ifndef MONITOR_PARSER_UTILS_H
#define MONITOR_PARSER_UTILS_H
#include <fstream>
#include <iostream>
#include <sstream>
namespace ParserUtils {
inline void CloseStream(std::ifstream *stream) {
if (stream != NULL && stream->is_open()) {
stream->close();
}
}
template... | [
"andrei.toader-stanescu@tomtom.com"
] | andrei.toader-stanescu@tomtom.com |
f2e17f79958df1a967867dd00c1600ac1513da5e | 6a1eda4d8653fbe54afc5e473ce48de5434cf6b2 | /taiji/v1.0/Taiji/TRedis/RedisClientSet.cpp | 09e050be07e642e651f690f196a74353d11ffb99 | [] | no_license | helloworldyuhaiyang/cdk | 8263f5ddd211fdfc55dec05e4d9d0469f3967f67 | 7ace68f48ca0439dfe3ff451dec32354d4ddc54d | refs/heads/master | 2023-07-19T07:51:03.615697 | 2021-09-07T07:09:07 | 2021-09-07T07:09:07 | 403,876,936 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,864 | cpp |
#include "Command.h"
#include "CRedisClient.h"
namespace Taiji {
namespace TRedis {
uint64_t CRedisClient::sadd(const string &key, const VecString &members)
{
Command cmd( "SADD" );
cmd << key;
VecString::const_iterator it = members.begin();
VecString::const_iterator end = members.end();
for ... | [
"18989893637@189.cn"
] | 18989893637@189.cn |
bdc964416783c8d74b581f21943c873fb97c6434 | 1a0c8311f35111b275b7fa32db7581b8c9915211 | /soundGEN/classes/sndanalyzer.h | 8d23ca073a50d14c60257ddf24dd1daefdae9c79 | [] | no_license | deus-amd/Sgen | 485ffcafafeb992a5d40d07bfcda352790189c67 | f7223bef1d7a85de64d50eb6436d9ba20dce923d | refs/heads/master | 2020-12-13T21:52:11.541195 | 2014-10-26T10:57:29 | 2014-10-26T10:57:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,378 | h | #ifndef SNDANALYZER_H
#define SNDANALYZER_H
#include <math.h>
#include <QVector>
#include <qDebug>
#include "../abstractsndcontroller.h"
#include "../kiss_fft/kiss_fftr.h"
#include "../kiss_fft/_kiss_fft_guts.h"
struct HarmonicInfo {
double freq;
double amp;
};
class SndAnalyzer
{
public:
SndAnalyzer();
... | [
"posedelov@rusoft.ru"
] | posedelov@rusoft.ru |
63f5f7f01ab9d8e7336db011430a7d17332daf32 | 2068d594c0299ee22ba9f27aef1dbb87ee760319 | /q_다리를지나는트럭.cpp | 9b396d123bd33550ef82c955da71f36de48e97fb | [] | no_license | meenheepark/programmers | e2ee3985547411a8594416a5ac59cd26b44adcf1 | d64fb45dd6b53ae99fc5211c3225f91b2a4ba426 | refs/heads/master | 2021-05-19T10:17:20.928938 | 2020-05-19T01:15:41 | 2020-05-19T01:15:41 | 251,647,909 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 994 | cpp | #include <string>
#include <vector>
#include <queue>
using namespace std;
int solution(int bridge_length, int weight, vector<int> truck_weights) {
int answer = 0;
queue <int> q;
int sum = 0;
for(int i = 0 ; i < truck_weights.size() ; i++){
while(1){
int w = truck_weights[i];
... | [
"noreply@github.com"
] | meenheepark.noreply@github.com |
f1023d10c90caacf68b692d37b47e5600b6ecd43 | da8d1b8255feb551e9dc36853cd680da113791a4 | /include/AvbApi_FunctionList.hpp | 4f5c29c51c3fa26e73e267ad0dab1363a7506096 | [
"BSD-2-Clause"
] | permissive | jdkoftinoff/jdksavbapi | a577285fde064d7be0de8d78bddcf2ac18a89128 | 431ee094ed22d05fc5ec7bc0b91f216e33466aae | refs/heads/master | 2020-05-18T17:23:21.335287 | 2014-10-07T20:57:39 | 2014-10-07T20:57:39 | 24,826,923 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,186 | hpp | #pragma once
/*
Copyright (c) 2014, Jeff Koftinoff
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and... | [
"jeffk@jdkoftinoff.com"
] | jeffk@jdkoftinoff.com |
260a83d7146c1912a69ffd7f2ab4d546607d46c9 | 485faf9d4ec7def9a505149c6a491d6133e68750 | /include/wxviz/VizRender.H | 2112f6859a0b7ce0eca1192d40ed39db9b00bc5e | [
"LicenseRef-scancode-warranty-disclaimer",
"ECL-2.0"
] | permissive | ohlincha/ECCE | af02101d161bae7e9b05dc7fe6b10ca07f479c6b | 7461559888d829338f29ce5fcdaf9e1816042bfe | refs/heads/master | 2020-06-25T20:59:27.882036 | 2017-06-16T10:45:21 | 2017-06-16T10:45:21 | 94,240,259 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,547 | h | /**
* @file
*
*/
#ifndef VIZRENDER_H_
#define VIZRENDER_H_
#include <string>
using std::string;
class ChemistryTask;
class SbViewportRegion;
class SoNode;
class SoOffscreenRenderer;
class SGContainer;
class SGViewer;
class SFile;
class VizRender
{
public:
static bool thumbnail(const string& urlstr, int widt... | [
"andre.ohlin@umu.se"
] | andre.ohlin@umu.se |
7a71b6a4d0506a37bc222e9612eaa9758bc01194 | 4cc4d9d488939dde56fda368faf58d8564047673 | /test/vts/compilation_tools/vtsc/code_gen/fuzzer/HalHidlFuzzerCodeGen.cpp | 6bb6176a6d99f7e945f00043e56ca4aa91131e96 | [] | no_license | Tosotada/android-8.0.0_r4 | 24b3e4590c9c0b6c19f06127a61320061e527685 | 7b2a348b53815c068a960fe7243b9dc9ba144fa6 | refs/heads/master | 2020-04-01T11:39:03.926512 | 2017-08-28T16:26:25 | 2017-08-28T16:26:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,150 | cpp | /*
* Copyright 2016 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 applica... | [
"xdtianyu@gmail.com"
] | xdtianyu@gmail.com |
046cb79e430eaa717be3e074028817a2f461d1da | 2e619c8e2b667640989c6703a39fde3e4485679b | /2. Leetcode/easy level/375. kth distinct string in an array.cpp | cd700c6c1ae7fccaa9c2507efebfc0ecec2a6ede | [] | no_license | satyampandey9811/competitive-programming | 76957cde72ba217894ba18370f6489d7c481ba55 | 8ca1e2608f5d221f4be87529052c8eb3b0713386 | refs/heads/master | 2022-10-14T11:13:16.704203 | 2022-09-20T18:24:09 | 2022-09-20T18:24:09 | 203,355,790 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 503 | cpp | // link to question - https://leetcode.com/problems/kth-distinct-string-in-an-array/
class Solution {
public:
string kthDistinct(vector<string>& a, int k) {
map<string, int> m;
int n = a.size(), ct = 0;
for(int i = 0; i < n; i++) {
m[a[i]]++;
}
... | [
"satyampandey9811@gmail.com"
] | satyampandey9811@gmail.com |
d7d1fdac7bf12c0564d9f5210f2651457f3c0050 | 92eeef4be893943d3f724375299d49b37fde8d50 | /Arrays_and_Strings/zero_matrix.cpp | 9c00abd106cd73e3fde504f004aebfc73cf548ba | [] | no_license | kuluruvineeth/coding_questions | 51593c272bcd3c2d0f2d572d02c8949bd84412fa | ad59620ff8be13dcc4db832466ca4681e7a32ad3 | refs/heads/master | 2023-03-18T01:50:45.624087 | 2021-03-05T14:18:04 | 2021-03-05T14:18:04 | 299,634,419 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,674 | cpp | #include<bits/stdc++.h>
using namespace std;
//to make respective rows all entries as 0.n denotes number of columns
void nullifyrow(int **matrix,int row,int n)
{
for(int i=0;i<n;i++)
{
matrix[row][i]=0;
}
}
//to make respective columns all entries as 0.m denotes number of rows
void nullifycolumn(int **matrix,i... | [
"noreply@github.com"
] | kuluruvineeth.noreply@github.com |
e2b7d2f823ded9be5bbd11c2b9a8d846aef07bf2 | 4e7300d79bbdcaa9f70fff786fe0d8dc71cf3635 | /source/group.cpp | 74306c18056ea7e3b37791ac68afcc2244db993e | [] | no_license | busratican/ComputerGraphics-Assign3 | 4173ec5876f05ac49a49d4e752fdd8fdb2cc40c5 | 93f107b13d832efbdd406dc4a5971511edc79c8e | refs/heads/master | 2021-01-01T06:36:29.440181 | 2017-07-17T11:08:02 | 2017-07-17T11:08:02 | 97,467,174 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 423 | cpp | #include "group.h"
Group::Group(int n) { numObjects = n; index.resize(n); }
Group::~Group() { index.clear(); }
bool Group::intersect(const Ray &r, Hit &h, float tmin)
{
bool __r = false;
for(int i=0;i<numObjects;i++)
{
if(index[i]->intersect(r,h,tmin))
__r = true;
}
return __... | [
"gulbusra55@gmail.com"
] | gulbusra55@gmail.com |
87951a10f99844c1b3c2c51f151120c2a97668b9 | 2eda515fba1767e517d0f6dc84f84590352a54ef | /ZF/ZFUIWidget/zfsrc/ZFUIWidget/ZFUIPageBasic.h | cbacad63895dbefc77a87ce0b3224992851b297b | [
"MIT"
] | permissive | yeshuopp123/ZFFramework | cb43ec281015b563618931c3972ef522a2e535c9 | 6cf2e78fed9e5ef1f35ad8402dbcb56cfd88ad9e | refs/heads/master | 2021-05-01T05:38:03.739214 | 2017-01-22T16:48:47 | 2017-01-22T16:48:47 | 79,763,020 | 1 | 0 | null | 2017-01-23T02:34:41 | 2017-01-23T02:34:40 | null | UTF-8 | C++ | false | false | 7,514 | h | /* ====================================================================== *
* Copyright (c) 2010-2016 ZFFramework
* home page: http://ZFFramework.com
* blog: http://zsaber.com
* contact: master@zsaber.com (Chinese and English only)
* Distributed under MIT license:
* https://github.com/ZFFramework/ZFFramework/bl... | [
"z@zsaber.com"
] | z@zsaber.com |
8d8564d9a498e18607bf1a694729ef2a27b7fb96 | cfad33a05c9d942060f05417521fe6512d3470e0 | /python/cc/simple_output_stream_adapter_test.cc | b2e5efc1824a2e08a78d19155190b853be0b1806 | [
"Apache-2.0"
] | permissive | code-machina/tink | fe2d3772e9b12ceaaef18c0789af2cdcd3ee6b9a | 6db4f1846642e7f631043770ea80cf56caec723b | refs/heads/master | 2020-07-18T15:42:40.824615 | 2019-09-03T19:15:21 | 2019-09-03T19:15:49 | 206,271,110 | 1 | 0 | Apache-2.0 | 2019-09-04T08:34:19 | 2019-09-04T08:33:30 | null | UTF-8 | C++ | false | false | 7,857 | cc | // Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed ... | [
"copybara-worker@google.com"
] | copybara-worker@google.com |
86c28b5d79a7b3a62e6010f0794768bba40bff6d | 303b225245d9d090849fe89b32d46e171bbcb125 | /C++/final/final1.1_fixed/input.h | 5e2a564281654747d599a6b1390d4467808e0339 | [] | no_license | Trouble404/Undergraduate-courseworks | cb3e70923168e4312d5a90e4d4bca0ee705ddeea | 1e8b49f343c60c2756b701806ee97a3a8b0bbe5f | refs/heads/master | 2021-09-05T01:51:16.309069 | 2018-01-23T15:07:42 | 2018-01-23T15:07:42 | 118,033,958 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 284 | h | #ifndef _INPUT_H
#define _INPUT_H
#include <iostream>
#include <string>
#include <fstream>
#include <vector>
#include <cstring>
using namespace std;
int choose(int c); //菜单中的选择函数
int inte_Input(); //输入数字
string str_Input();//输入字符串
#endif | [
"362914124@qq.com"
] | 362914124@qq.com |
e32fb1861165772e7f2ae4bb2e750049e3b48ea2 | 35155c04e6eb4d65737cfc5477990479d40f47a6 | /scripts/x-test-fem/x-test-neb/test-case-1-sin-buckle/src/murty95.cpp | 8f7b0c843be13783acc76981988d780422e89d38 | [] | no_license | XiaohanZhangCMU/mdGpy | b1476fb829e95c21ff0bb86ad2047e280dc2c796 | 90916bfb9cb2604b6f3341c8b7c5b37380a6679d | refs/heads/master | 2020-03-20T18:40:06.092597 | 2018-06-16T17:56:39 | 2018-06-16T17:56:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,587 | cpp | /*
murty95.h
by Keonwook Kang kwkang75@yonsei.ac.kr
Last Modified :
FUNCTION :
Reference: M. V. Ramana Murty and Harry A. Atwater
"Empirical interatomic potential for Si-H interactions"
Phys. Rev. B, 51, 4889 (1995)
Si-Si interaction is based on
J. Ters... | [
"xiaohanzhang.cmu@gmail.com"
] | xiaohanzhang.cmu@gmail.com |
f5e38a57b119e9a66900e784e9daa8c336e1712a | 63e96875d8b6739872056596e0d1aac6f88d3360 | /GrazingPatterns.cpp | f0f80c13dd21bfa545b465259284a4d7729c0eb8 | [] | no_license | dougyouyang/Grazing-Patterns-USACO | 16e8d3fcaebf159012e6708e42f107e7893bd778 | 1bea2a1343b2c4bdb21cffc160494903214bf61e | refs/heads/master | 2021-05-08T09:25:01.247160 | 2017-10-17T04:37:05 | 2017-10-17T04:37:05 | 107,218,470 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,517 | cpp | // Copyright © 2017 Dougy Ouyang. All rights reserved.
#include <iostream>
using namespace std;
int mat[10][10], total=0;
void DFS(int brow, int bcol, int mrow, int mcol)
{
//base case
if(mat[brow][bcol]==0 || mat[mrow][mcol]==0)
return;
if(brow==mrow && bcol==mcol){
int eat=0;
f... | [
"noreply@github.com"
] | dougyouyang.noreply@github.com |
0a2d0c2057b402d1c28069e126e3e033aa15a34e | a4008ca31634dcafe53137267d7b2df4572605bc | /reco/HitClustering/STClusterizerCurveTrack.hh | 0ef04685a69e412eb0b07515292e0903f7de6ac8 | [] | no_license | SpiRIT-Collaboration/SpiRITROOT | 416f766d59110b23f14b3f8c5647c649d5c42efb | 0f5154b75e5db0d736373386e1481caa7c2ff03c | refs/heads/develop | 2023-03-10T15:25:16.906623 | 2022-01-21T17:42:01 | 2022-01-21T17:42:01 | 19,332,445 | 6 | 3 | null | 2018-12-19T09:04:44 | 2014-05-01T01:20:47 | C++ | UTF-8 | C++ | false | false | 873 | hh | #ifndef STCLUSTERIZERCURVETRACK
#define STCLUSTERIZERCURVETRACK
#include "STClusterizer.hh"
#include "STCurveTrackFitter.hh"
#include "STCircleFitter.hh"
#include "STRiemannFitter.hh"
#include "STHitCluster.hh"
#include "TMath.h"
#include "TVector3.h"
class STClusterizerCurveTrack : public STClusterizer
{
public:... | [
"phyjics@gmail.com"
] | phyjics@gmail.com |
da2502bb64ee7e00ecef996437758ada18e57a5b | 5a60d60fca2c2b8b44d602aca7016afb625bc628 | /aws-cpp-sdk-appconfig/source/model/GetConfigurationProfileResult.cpp | 9018b52076701d7d7635dbe68984d0863b5ee42a | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | yuatpocketgems/aws-sdk-cpp | afaa0bb91b75082b63236cfc0126225c12771ed0 | a0dcbc69c6000577ff0e8171de998ccdc2159c88 | refs/heads/master | 2023-01-23T10:03:50.077672 | 2023-01-04T22:42:53 | 2023-01-04T22:42:53 | 134,497,260 | 0 | 1 | null | 2018-05-23T01:47:14 | 2018-05-23T01:47:14 | null | UTF-8 | C++ | false | false | 1,964 | cpp | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/appconfig/model/GetConfigurationProfileResult.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <aws/core/AmazonWebServiceResult.h>
#include <aws/core/utils/StringUtils.h>
#inc... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
1b52bf418d1955ccd48a7f45b47061b22b5602d7 | ac56437cd07aa7b5dfad305d0ee130ab45611cb4 | /labs/laba_4_3.cpp | dfb855edd867fa239c82792a679b3909a95f97c7 | [] | no_license | dreamiquel/kashtanov.labs | 58e8e2f32b36e487031ea6a951cf0ea683c3e9e4 | 9055556a55a5c7ea6beff38b315a52912658d54b | refs/heads/main | 2023-06-03T16:11:26.266501 | 2021-06-20T16:28:21 | 2021-06-20T16:28:21 | 376,084,737 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,017 | cpp | // laba 4.3.cpp : Этот файл содержит функцию "main". Здесь начинается и заканчивается выполнение программы.
//
#include <iostream>
#include <cmath>
#include <vector>
#include <string>
using namespace std;
int main()
{
int n = 1;
long double a, sum = 1, f = 1, eps;
unsigned long long int an = 1... | [
"noreply@github.com"
] | dreamiquel.noreply@github.com |
f29ac0e4bed17dfe8db9f25ded80d9695fa59af1 | a4d518ddd989bad8b2dde807b2d3111eff00e356 | /Project/libs/StarEngine/include/Scenes/SlideScene.h | d969a9191dde7875e3abecc76b36a2cd2516adcc | [
"MIT"
] | permissive | GlenDC/StarEngine-downloads | 84269ea6ada832a82af4022a5dbaa1475fdc8924 | b52a065b76df9b41327d20cde133ebad5e65adcd | refs/heads/master | 2021-01-23T17:31:00.220517 | 2013-12-15T22:46:24 | 2013-12-15T22:46:24 | 15,191,686 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,595 | h | #pragma once
#include "../defines.h"
#include "../Logger.h"
#include "../Context.h"
#include "../Scenes/BaseScene.h"
#include "../Graphics/UI/Index.h"
namespace star
{
class SlideScene : public BaseScene
{
public:
SlideScene(const tstring& name, const tstring & nextScene);
virtual ~SlideScene();
... | [
"decauwsemaecker.glen@gmail.com"
] | decauwsemaecker.glen@gmail.com |
f6858cf32b9dac91e3e30c3b2a4dadccb088455e | b5e00c7392791f982cc5a26d588d5ffc5cf9eb74 | /Breakout/Ball.cpp | 14b84c1b5090a68ef918ef9c6d703b1793f7c202 | [] | no_license | Gareton/OpenGL_Learning | 24643a4a2066158af16ed891dd54067fae8f8384 | eeb8086af2006e42a684c3f5a6e429963d1ffb55 | refs/heads/master | 2020-06-16T01:50:03.271263 | 2019-07-20T14:02:12 | 2019-07-20T14:02:12 | 195,448,194 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,029 | cpp | #include "Ball.h"
#include <glad/glad.h>
Ball::Ball()
: GameObject(), Radius(12.5f), Stuck(true) { }
Ball::Ball(glm::vec2 pos, GLfloat radius, glm::vec2 velocity, Texture2D sprite)
: GameObject(pos, glm::vec2(radius * 2, radius * 2), sprite, glm::vec3(1.0f), velocity), Radius(radius), Stuck(true), PassThroug... | [
"fghftftrdrrdrdrdr65656hj56h@gmail.com"
] | fghftftrdrrdrdrdr65656hj56h@gmail.com |
738cbb87b3f5b277d6ac7b6f1c2acc100305dede | 9f010ed20064f81fb6cb84b4bff7df848a987488 | /A1090/main.cpp | 32b09725432001f77df83da83e5acccf3b03ed8b | [] | no_license | specular-zxy/PAT-code | cd847db9c25c5a753028729950691163e8680c30 | d49b2557ae6105f13a8dc04d70bbaedd4951b044 | refs/heads/master | 2021-05-27T12:57:28.304496 | 2020-06-28T13:43:52 | 2020-06-28T13:43:52 | 254,268,749 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 857 | cpp | #include <cstdio>
#include <cmath>
#include <vector>
using namespace std;
const int maxn = 100010;
vector<int> child[maxn];
double p, r;
int n, maxDepth = 0, num = 0;
void DFS(int index, int depth) {
if (child[index].size() == 0) {
if (depth > maxDepth) {
maxDepth = depth;
num = 1;
... | [
"zhouxinyan33@gmail.com"
] | zhouxinyan33@gmail.com |
f437506ef4b516b0bc805de5ed43b1d527332389 | ce920bd897afa6135f3f1a3c777416eb390555cb | /include/sqlite.hh | 3729743518c20bf55abec57b1cd2a69c12937e61 | [] | no_license | ivankp/server_old_1 | 64095f03ed58c8599ebf1d5e9709a657a4f70e2e | fa7e4bb53751190057aabe571b8bfb7dbb1e8f03 | refs/heads/master | 2023-05-01T00:08:17.345373 | 2021-05-18T17:46:30 | 2021-05-18T17:46:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,305 | hh | #ifndef IVANP_SQLITE_HH
#define IVANP_SQLITE_HH
#include <iostream>
#include <iomanip>
#include <concepts>
#include "sqlite3/sqlite3.h"
// https://sqlite.org/cintro.html
#include "base64.hh"
#include "error.hh"
#define THROW_SQLITE(...) ERROR(__VA_ARGS__,": ",errmsg())
class sqlite {
sqlite3* db = nullptr;
publ... | [
"ivan.pogrebnyak@gmail.com"
] | ivan.pogrebnyak@gmail.com |
7948a3902ef01507cd163f841c114927d960fdd7 | 117aaf186609e48230bff9f4f4e96546d3484963 | /questions/48534529-1/main.cpp | 74d870d60db7287710a8d015971c1023e39ecd7f | [
"MIT"
] | permissive | eyllanesc/stackoverflow | 8d1c4b075e578496ea8deecbb78ef0e08bcc092e | db738fbe10e8573b324d1f86e9add314f02c884d | refs/heads/master | 2022-08-19T22:23:34.697232 | 2022-08-10T20:59:17 | 2022-08-10T20:59:17 | 76,124,222 | 355 | 433 | MIT | 2022-08-10T20:59:18 | 2016-12-10T16:29:34 | C++ | UTF-8 | C++ | false | false | 548 | cpp | #include "filemodel.h"
#include <QGuiApplication>
#include <QQmlApplicationEngine>
#include <QQmlContext>
#include <QTimer>
#include <QDebug>
int main(int argc, char *argv[]) {
#if defined(Q_OS_WIN)
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
#endif
QGuiApplication app(argc, argv);
qmlRegist... | [
"e.yllanescucho@gmail.com"
] | e.yllanescucho@gmail.com |
100661eddd0b8fec35f42efd387a379d459f61ac | dd1e33b7a6abe5e991b0f7f99bbcb06ffc8b36d1 | /Source/PresetTable.cpp | 6bc3e871ed0a62a9195dff25234c7b785fd74494 | [] | no_license | n-wave/Akateko | 45a1bb7a26d925510a00928e905816c696f1f318 | f227a8f47c497bf33dabac0ab139a9740fc5073c | refs/heads/master | 2020-03-23T14:54:32.947581 | 2018-06-29T14:45:06 | 2018-06-29T14:45:06 | 141,707,326 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,581 | cpp | /*
==============================================================================
PresetTable.cpp
Created: 27 Apr 2018 10:06:13pm
Author: mario
==============================================================================
*/
#include "PresetTable.h"
#include <algorithm>
using std::v... | [
"info@n-wave.systems"
] | info@n-wave.systems |
3b561abe183d2204efc29915f5292126b9f512d3 | 0b69a011c9ffee099841c140be95ed93c704fb07 | /problemsets/UVA/993.cpp | 4155c9820d3017be5cf27aff3c41814b35a1317e | [
"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 | 619 | cpp | /**
*
* Author: Juarez Paulino(coderemite)
* Email: juarez.paulino@gmail.com
*
*/
#include <cstdio>
#include <cmath>
#include <algorithm>
using namespace std;
int main() {
int T, N;
scanf("%d", &T);
while (T--) {
scanf("%d", &N);
if (N < 10) { printf("%d\n", N); continue; }
... | [
"juarez.paulino@gmail.com"
] | juarez.paulino@gmail.com |
c96be9f1489b7cbe34c981e06957adea97e23dbd | bb7d3a8c005d2dd14c22651b89ae7ca4ddaad37e | /2/main.cpp | 23537971c4dab2b9b678881287ed8c1caf9e5dcb | [] | no_license | gheome/TemaIP123 | 45e700c7ccea927c4f8253944bae84d7e9aa69f6 | 4d6887e464a98fbb6820cf274fae2c422d9f0f8b | refs/heads/master | 2021-01-11T01:11:24.412464 | 2016-10-16T20:04:21 | 2016-10-16T20:04:21 | 71,071,062 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 303 | cpp | #include <iostream>
using namespace std;
unsigned char sumBinaryFigure(unsigned long long number)
{
int nr;
nr=0;
while(number>0)
{
if (number%2==1)
nr++;
number=number/2;
}
return nr;
}
int main()
{
return sumBinaryFigure(111111222211);
return 0;
}
| [
"alexandru_gh97@yahoo.co.uk"
] | alexandru_gh97@yahoo.co.uk |
8591089edf128a2bb8e9aab1b7f6a1e84d6c704b | 8dc84558f0058d90dfc4955e905dab1b22d12c08 | /content/common/input/synthetic_web_input_event_builders.h | 3247d0d243ddf02fe47ecb4e1bfd62c6a02fb2dc | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | meniossin/src | 42a95cc6c4a9c71d43d62bc4311224ca1fd61e03 | 44f73f7e76119e5ab415d4593ac66485e65d700a | refs/heads/master | 2022-12-16T20:17:03.747113 | 2020-09-03T10:43:12 | 2020-09-03T10:43:12 | 263,710,168 | 1 | 0 | BSD-3-Clause | 2020-05-13T18:20:09 | 2020-05-13T18:20:08 | null | UTF-8 | C++ | false | false | 3,758 | 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 CONTENT_COMMON_INPUT_SYNTHETIC_WEB_INPUT_EVENT_BUILDERS_H_
#define CONTENT_COMMON_INPUT_SYNTHETIC_WEB_INPUT_EVENT_BUILDERS_H_
#include "base/time... | [
"arnaud@geometry.ee"
] | arnaud@geometry.ee |
31214f42b2431a53de5e9505d1dd105c9b7f1a49 | f3ee233dc76c097134931f4988b1b5c94ce6879e | /WeatherStation_CPP/Src/cpp_Light_Sensor.cpp | 5faf3f5b9c8ecdc28aa2d66ffc28099f9648fa6e | [] | no_license | mitea1/WeatherStation_Cpp | d5ee59799718da080779ec5e8acb6c425d42f631 | 47ae8995a41c9179f36e7d1b5c056e4ab9fe9a20 | refs/heads/master | 2016-09-12T10:55:39.837159 | 2016-04-29T22:48:03 | 2016-04-29T22:48:03 | 56,344,920 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 885 | cpp | /*
* Light_Sensor_CPP.cpp
*
* Created on: Apr 20, 2016
* Author: Simon
*/
/*----- Header-Files -------------------------------------------------------*/
#include "cpp_Light_Sensor.hpp"
/*----- Macros -------------------------------------------------------------*/
/*----- Data types -------------... | [
"bolzs2@bfh.ch"
] | bolzs2@bfh.ch |
15f854947c9db5775945a5b4426165166e010e8e | b1708eb6995a2bdfc22cee18d2897bd5d8e1bc50 | /x11hash.cc | 789765812311ef50c949b1dc54d3200a3e60bc3f | [] | no_license | n-johnson/node-x11-hash-algo | 6351f15b9fc906b33149bdaf95d58df72f4237d4 | df95aa1442b09e719ad130e5595e0100d734ca0c | refs/heads/master | 2021-01-16T08:55:00.308080 | 2014-08-11T08:23:35 | 2014-08-11T08:23:35 | 22,830,404 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 960 | cc | #include <node.h>
#include <node_buffer.h>
#include <v8.h>
#include <stdint.h>
extern "C" {
#include "x11.h"
}
using namespace node;
using namespace v8;
Handle<Value> except(const char* msg) {
return ThrowException(Exception::Error(String::New(msg)));
}
Handle<Value> hash(const Arguments& args) {
Handl... | [
"node@njohnson.me"
] | node@njohnson.me |
a1d90bfc62e9c1ddd465f51b592519e18f02aa7d | d9714160fd222bc49ef52a56edb7aeb82a591549 | /bench/lib/exp/scalar/hkth1d6hkth3d4.cpp | f65ed039a55d50f6b0335eed169d5fa9b7365ed9 | [
"MIT"
] | permissive | timocafe/poly | c2fb195a196f68c406fa10130c71e29d90bc125c | 3931892bcd04f9ebfc0fde202db34d50973bc73b | refs/heads/master | 2021-01-13T00:34:32.027241 | 2020-10-02T18:42:03 | 2020-10-02T18:42:03 | 41,051,374 | 0 | 0 | null | 2020-10-02T15:27:08 | 2015-08-19T18:08:26 | C++ | UTF-8 | C++ | false | false | 1,756 | cpp | //
// hkth1d6hkth3d4_test.cpp
//
// Created by Ewart Timothée, 2/3/2016
// Copyright (c) Ewart Timothée. All rights reserved.
//
// This file is generated automatically, do not edit!
// TAG: hkth1d6hkth3d4
// Helper:
// h = Horner, e = Estrin, b = BruteForce
// The number indicates the order for Horner
// e... | [
"timothee.ewart@epfl.ch"
] | timothee.ewart@epfl.ch |
e2601ab2802eef6f7c83cb1ea5c9f695bdaf69a5 | c7ec870ad42a8ef1b4721e83f636d4533717d8a6 | /src/wallet/wallet.cpp | 0888d381cd941f60083d85980fe08eedb3ca5386 | [
"MIT"
] | permissive | TheRinger/Atlascoin | dcdab93e74e151d62e1efc8f4bb35f3e7b2d72ac | 21f6f2372e841fd3ba89e91086cbd5add3e4ef9b | refs/heads/master | 2020-04-06T22:16:48.957176 | 2018-11-16T07:43:21 | 2018-11-16T07:43:21 | 157,830,789 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 177,444 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2016 The Bitcoin Core developers
// Copyright (c) 2017 The Atlas Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "wallet/wallet.h"
#incl... | [
"tytek2012@gmail.com"
] | tytek2012@gmail.com |
41e702ec33255a127c309654a3e85b58ca50e12c | 7a3fe1dccd3560a402dfb8f5c0ece7b3c4a054c0 | /ConsoleApplication1/Game.cpp | d04bd55df27fc4320281094507009ee40def4887 | [] | no_license | hasahmed/shapegame_cpp_win | 95b761d65c19a6b67b429a04b04c7501bd4c91c9 | db70d15e05a5ab379597576682e6843a9bb21b8d | refs/heads/master | 2021-10-02T22:02:47.976511 | 2018-12-01T11:35:04 | 2018-12-01T11:35:04 | 159,936,303 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,153 | cpp | #include <exception>
#include "shapegame"
using namespace shapegame;
Game* Game::_inst = nullptr;
shapegame::Game::Game(
unsigned int windowWidth,
unsigned int windowHeight,
std::string windowTitle
){
if (Game::_inst) {
throw std::runtime_error("Game can only be constructed once"... | [
"hasahmed@umail.iu.edu"
] | hasahmed@umail.iu.edu |
604f72ad2a5a8078f411d0a809875b7d4a9cb2b8 | 4d9bbd510b0af8778daba54fe2b1809216463fa6 | /build/Android/Debug/app/src/main/include/Fuse.Scripting.JSObjectUtils.h | 9d76447f80d5acfc3d200b971f3180c654411126 | [] | no_license | Koikka/mood_cal | c80666c4930bd8091e7fbe4869f5bad2f60953c1 | 9bf73aab2998aa7aa9e830aefb6dd52e25db710a | refs/heads/master | 2021-06-23T20:24:14.150644 | 2020-09-04T09:25:54 | 2020-09-04T09:25:54 | 137,458,064 | 0 | 0 | null | 2020-12-13T05:23:20 | 2018-06-15T07:53:15 | C++ | UTF-8 | C++ | false | false | 1,596 | h | // This file was generated based on node_modules/@fuse-open/fuselibs/Source/build/Fuse.Scripting/1.12.0/JSObjectUtils.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Uno.h>
namespace g{namespace Fuse{namespace Scripting{struct Context;}}}
namespace g{namespace Fuse{namespa... | [
"antti.koivisto@samk.fi"
] | antti.koivisto@samk.fi |
57c31a802f9aad39bc088ff9a39be85ae1dc2788 | dc888595f079eade0807235c1880642600974d95 | /seven day_1/build-gridLayout-Desktop_Qt_5_7_0_MinGW_32bit-Debug/debug/moc_widget.cpp | 0d029dcb973488f7f56de84cf6964c13872bc0a0 | [] | no_license | WenchaoZhang/qt_learing | 53377594e4102a68ddcadfab121d502ffab72a53 | 33e4dbdbd3a2c35e124c923b850e6e244aab320b | refs/heads/master | 2021-01-23T19:29:10.871224 | 2017-09-30T04:40:22 | 2017-09-30T04:40:22 | 102,826,803 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,550 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'widget.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.7.0)
**
** WARNING! All changes made in this file will be lost!
**************************************************************... | [
"269426626@qq.com"
] | 269426626@qq.com |
cf1ab5a019e54fec47f920181ec845a62fca700b | fbf49ac1585c87725a0f5edcb80f1fe7a6c2041f | /SDK/BP_C058A_SkillMoveTeleport_classes.h | 5fea63434740597d23c72521a11a0294a7013833 | [] | no_license | zanzo420/DBZ-Kakarot-SDK | d5a69cd4b147d23538b496b7fa7ba4802fccf7ac | 73c2a97080c7ebedc7d538f72ee21b50627f2e74 | refs/heads/master | 2021-02-12T21:14:07.098275 | 2020-03-16T10:07:00 | 2020-03-16T10:07:00 | 244,631,123 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 699 | h | #pragma once
// Name: DBZKakarot, Version: 1.0.3
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
// Classes
//---------------------------------------------------------------------------
// BlueprintGeneratedClass BP_C058A_... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.