blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
31917fb64763a23b74c96af58fe8e1dfd43e13d1 | 72cce5b8440d64c103c9dcc4f501606696828218 | /src/sbo_category.h | 8028a176cfefaaabe8f91b27fdc3dbbb08cb60ab | [] | no_license | atelszewski/sbosubmit | 2eb7bef4f540324c8a30c8ffb068102cfb4b0ea2 | 7d318172fd2dd1200fcc6505b085b232ab3b2256 | refs/heads/master | 2021-07-08T23:26:31.446988 | 2021-04-17T07:28:54 | 2021-04-17T07:28:54 | 241,956,548 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 154 | h | #ifndef SBO_CATEGORY_H_INCLUDED
#define SBO_CATEGORY_H_INCLUDED
#include <string>
using namespace std;
bool sbo_check_cat(string const &pcat);
#endif
| [
"atelszewski@gmail.com"
] | atelszewski@gmail.com |
6d21622843c20e96758b96d04922e4c7e25c5bde | 8a899be7c1f978d8ecb1975461493df57b85b854 | /Sourcecode/ESP8266_CSGO-Ambilight/Parsing.ino | b1dfb34300522ba4c9c8f0d0fdfa802f7d0e7166 | [] | no_license | TheAmadeus25/CounterStrike-GlobalOffensive-Ambilight-System | 0fd94a45c05504e3f5784245c091b79d9d975b4f | 4b324c89422ffc8f73d8ca02aee214f77bcdedf4 | refs/heads/master | 2020-08-06T21:11:14.226902 | 2019-10-13T13:07:53 | 2019-10-13T13:07:53 | 213,156,161 | 8 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,227 | ino | void Parsing() {
//char Buffer[payload.length() + 1];
//payload.toCharArray(Buffer, (payload.length() + 1) );
Player.health = atoi( strtok(incomingPacket, ";") );
Player.armor = atoi( strtok(NULL, ";") );
Player.helmet = strtok(NULL, ";");
Round.win_team = strtok(NU... | [
"noreply@github.com"
] | noreply@github.com |
df1a9e55fd109fa7dc521228d7ce994932947dc5 | 0e5aef62ab3a611e230e2b9b6d744848124458c0 | /app.cpp | fa20a8a3c27ddb1a49430f81ae1f7dafdbeb7f6c | [] | no_license | koalamrfan/koala | fb2069bf4c081e23f51288458733846c34c41eb3 | 28a1a71ce1eaa738c0967c852c44c2810353b042 | refs/heads/master | 2021-01-22T03:13:06.039562 | 2013-10-05T14:39:53 | 2013-10-05T14:39:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 970 | cpp | #include "app.h"
#include "texture_pool.h"
namespace ui
{
std::shared_ptr<Window> App::window_;
void App::Init(HWND hwnd, int argc, TCHAR** argv) {
window_ = std::make_shared<Window>(hwnd);
main(argc, argv);
}
Widget* App::MainWindowHitest(int x, int y) {
if(window_) {
return window_->HitTest(x,... | [
"familymr.fan@gmail.com"
] | familymr.fan@gmail.com |
8727bbc484aebeea368a91b96cc9d8a16f8907ee | 90184bb72202ba4663fb96c6410db804c5dbe574 | /681. Next Closest Time.cpp | f960b6dd1cef8eb589b0061d9ae7b0cd3d2a194e | [] | no_license | habib302/leetcode-1 | 08da70eea3ab5c59af530c97c8619f1b79de4dde | 32f6ccecd9213edb51824c3214246194ccbc4ccb | refs/heads/master | 2023-08-04T13:28:11.732528 | 2021-09-21T07:45:10 | 2021-09-21T07:45:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,288 | cpp | class Solution {
public:
string nextClosestTime(string time) {
string ans = time;
int hr = (time[0] - '0') * 10 + ( time[1] - '0');
int min = (time[3] - '0') * 10 + ( time[4] - '0');
int startingMins = (hr * 60 ) + min;
int digitPresent[10] = {0};
di... | [
"noreply@github.com"
] | noreply@github.com |
03ef3367f5dbe6658533999255b1a9123cda80bc | 6ffa05486404b09ac789d71a37b2bdcd1d2768a6 | /src/copperfx/panels/NodeFlowViewPanel/NodeItem.h | ea78a74ebafae9f44bceb9acbcadee5cef112781 | [
"Unlicense"
] | permissive | all-in-one-of/CopperFX | 4dada97d54b9f92ad960a7af27d22b12ce3c6464 | 9a50b69a57ebd6aa578d12456e34d792a7c51916 | refs/heads/master | 2020-07-08T18:49:47.834624 | 2019-08-24T01:38:44 | 2019-08-24T01:38:44 | 203,748,279 | 0 | 0 | Unlicense | 2019-08-22T08:23:37 | 2019-08-22T08:23:36 | null | UTF-8 | C++ | false | false | 1,684 | h | #ifndef NODE_ITEM_H
#define NODE_ITEM_H
#include <QSizeF>
#include <QPainter>
#include <QVector>
#include <QtCore/QUuid>
#include <QtWidgets/QGraphicsItem>
#include <QtWidgets/QGraphicsObject>
#include <QGraphicsSimpleTextItem>
#include <flags/flags.hpp>
#include "copper/Operator/OpNode.h"
#include "copper/Operator/... | [
"kirienko.max@gmail.com"
] | kirienko.max@gmail.com |
2e34e116883ead65671c17d628d13a6e6f403d7e | d928143913c7b298b7bc637c2dcfa2ae617229e7 | /src/Utils/Core/Rect.cpp | 79e85c430326491c7162e71cf5059ab09071387f | [] | no_license | hackerlank/Mengine | d7e649c29ab6cfd861bd85c75e514939ba7a09d6 | 108491a9ef86946fc4abed0662b0beafbde4fda4 | refs/heads/master | 2021-01-12T06:19:27.136456 | 2016-12-13T00:55:25 | 2016-12-13T00:55:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 535 | cpp | # include "Rect.h"
namespace Menge
{
/////////////////////////////////////////////////////////////////////////////////
Rect::Rect()
: top(0)
, bottom(0)
, left(0)
, right(0)
{
}
/////////////////////////////////////////////////////////////////////////////////
Rect::Rect( uint32_t _left, ui... | [
"yuriy_levchenko@202150c4-1a32-4ab8-af31-e3358ecdd631"
] | yuriy_levchenko@202150c4-1a32-4ab8-af31-e3358ecdd631 |
692dfe1210b3064d09982af9a286de18664c3f26 | 974d04d2ea27b1bba1c01015a98112d2afb78fe5 | /paddle/fluid/distributed/ps/service/ps_service/service.h | eb190073fbd834a92793f6a6f99016d0fa916d46 | [
"Apache-2.0"
] | permissive | PaddlePaddle/Paddle | b3d2583119082c8e4b74331dacc4d39ed4d7cff0 | 22a11a60e0e3d10a3cf610077a3d9942a6f964cb | refs/heads/develop | 2023-08-17T21:27:30.568889 | 2023-08-17T12:38:22 | 2023-08-17T12:38:22 | 65,711,522 | 20,414 | 5,891 | Apache-2.0 | 2023-09-14T19:20:51 | 2016-08-15T06:59:08 | C++ | UTF-8 | C++ | false | false | 2,563 | h | /* Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or... | [
"noreply@github.com"
] | noreply@github.com |
130a8d53136b77d7bda73ebc283c3a79b1e22efc | 23b26776ea152c261c9f4fdb7caecfea37fa034b | /src/Corrade/Utility/Test/GlobalStateAcrossLibrariesTest.cpp | 173df8095a29528164bdf5f80846f133cee0420b | [
"MIT",
"Unlicense",
"LicenseRef-scancode-public-domain"
] | permissive | fauder/corrade | bce2314461dc86a3d6468003ece7e2baf44c4e8c | c48c0d1caa51c90fdec81a9ec5162b1b6cf98cae | refs/heads/master | 2022-07-12T19:29:54.092140 | 2020-05-12T09:33:37 | 2020-05-12T09:43:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,188 | cpp | /*
This file is part of Corrade.
Copyright © 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016,
2017, 2018, 2019 Vladimír Vondruš <mosra@centrum.cz>
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files... | [
"mosra@centrum.cz"
] | mosra@centrum.cz |
ce87e5d7b23b3e236c56b923cfa90ed1749d2387 | bd1fea86d862456a2ec9f56d57f8948456d55ee6 | /000/079/913/CWE134_Uncontrolled_Format_String__char_environment_vprintf_84_bad.cpp | 6f49504e556e48fb8e9bef4fcec545bb0ae77a35 | [] | no_license | CU-0xff/juliet-cpp | d62b8485104d8a9160f29213368324c946f38274 | d8586a217bc94cbcfeeec5d39b12d02e9c6045a2 | refs/heads/master | 2021-03-07T15:44:19.446957 | 2020-03-10T12:45:40 | 2020-03-10T12:45:40 | 246,275,244 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,041 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE134_Uncontrolled_Format_String__char_environment_vprintf_84_bad.cpp
Label Definition File: CWE134_Uncontrolled_Format_String.vasinks.label.xml
Template File: sources-vasinks-84_bad.tmpl.cpp
*/
/*
* @description
* CWE: 134 Uncontrolled Format String
* BadSource: enviro... | [
"frank@fischer.com.mt"
] | frank@fischer.com.mt |
9d1cd3a1c82b0f106249896d75913054d49da0dc | 4f8a4ce45d4ba89aaa674254a2ac126e12e79f73 | /Project2/ScoreInfo.h | 6284ae28cee5ac92506f13bd8726808bff4d78b6 | [] | no_license | aohara19/Ohara-CSC17A | 659d8291e439d133311afb81fc122e1fca10cab2 | 7942fb628b943c240b09f7c8ed406209825bfe83 | refs/heads/master | 2020-04-22T18:20:15.821636 | 2019-05-27T13:35:57 | 2019-05-27T13:35:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,046 | h |
#ifndef SCORE_INFO_H
#define SCORE_INFO_H
#include <iostream>
#include "Property.h"
using namespace std;
class ScoreInfo;
ostream &operator << (ostream &, const ScoreInfo &);
//ScoreInfo class to store information to be put on the scoreboard
class ScoreInfo{
private:
int money;
int numProps,numSpec... | [
"allis@DESKTOP-SBFFDHV.attlocal.net"
] | allis@DESKTOP-SBFFDHV.attlocal.net |
5f037d70e0f36b758e1b96c6481da2dc27720ab0 | 75f68be3954d272ffb676ff24372fe9b848f3cf4 | /Tatanova_Alexandra/vector/vectorChapter18.cpp | 3041d4751d569c40ad5d0d5508c3aaeed764ccf8 | [] | no_license | droidroot1995/DAFE_CPP_013 | 9f0f2cd1e08e12dc554a066cdb7d3e1e1fff2fba | ee16c83e24d692b05191ea3915102bbcdbfacf79 | refs/heads/main | 2023-02-01T13:31:06.317281 | 2020-12-16T15:17:12 | 2020-12-16T15:17:12 | 300,523,531 | 0 | 12 | null | 2023-04-26T18:19:54 | 2020-10-02T06:35:38 | C++ | UTF-8 | C++ | false | false | 1,810 | cpp | #include "vectorChapter18.h"
vector::vector() : sz{0}, elem {nullptr}, space{0} { }
vector::vector(int s)
: sz{s}, elem{new double[s]}, space{s}
{
for (int i = 0; i<sz; ++i)
elem[i] = 0;
}
void vector::reserve(int newalloc)
{
if ( newalloc <= space )
return;
double* p = new double[newa... | [
"aleksandratatanova3830@outlook.com"
] | aleksandratatanova3830@outlook.com |
bc69b1d3f58cc12e071494476ff8fa54407df1aa | ee50df330a0fd0d5088836eb19b7dff7e7736da8 | /src/cryptonote_config.h | b9f28290468948374892a98754722bdc16693742 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | deep-recoal/recoal-2 | f37c8e09e34f31518519286932e6fc1bc9659c55 | 36d0e56513ac6fde647d3b26ebbb4427341a7357 | refs/heads/master | 2020-03-18T15:57:37.838896 | 2018-05-24T20:10:57 | 2018-05-24T20:10:57 | 134,939,549 | 0 | 0 | null | 2018-05-26T07:30:18 | 2018-05-26T07:30:18 | null | UTF-8 | C++ | false | false | 11,119 | h | // Copyright (c) 2018, ReCoal Project
// 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 t... | [
"noreply@github.com"
] | noreply@github.com |
8df1eecb92c6906f40936906d9e8b94d1c6b48d4 | e105aa526b1e17bad15345700d1844690f42db69 | /kirakira_bleimage/mode_bright.cpp | 722d9cb1816fa0cb6f7ed70ef0b793b0f5bcc2a1 | [] | no_license | carcon999/kirakira_bleimage | b23abda3cac697fd5f3c5d221895bfa08b9f8fb5 | 5a7d5c8f499cce5fffc143f26b93e1d627317481 | refs/heads/master | 2020-05-25T05:47:48.228773 | 2019-07-02T14:32:45 | 2019-07-02T14:32:45 | 187,656,157 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,045 | cpp |
#include "arduino.h"
#include "mode_ble.h"
#include "drv_ledbar.h"
#include "drv_beep.h"
#include "drv_display.h"
#include "drv_key.h"
#include "mode_bright.h"
using namespace kirabit;
#define LEVEL_MIN 0
#define LEVEL_MAX 4
#define BRIGHT_MODE_TIMEOUT (2000)
// global instance
kirabit::ModeBright MODE_BRIGHT;
... | [
"noreply@github.com"
] | noreply@github.com |
b5f86b17323e5d43937e8c292b32bedc0977e207 | a37bfc73b0421abe419c29b285fec41c17070320 | /src/yb/common/clock.cc | b3234c2ab6523c92fe93c8b3bd840e21d10dbe3f | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference",
"OpenSSL"
] | permissive | ymahajan/yugabyte-db | 939c0e11cef985cbb152c48b28d73c28c9f78750 | c3bfef94eb2ed59836771ab419f3d5403fa888f5 | refs/heads/master | 2023-06-27T02:56:00.446944 | 2021-02-18T20:26:27 | 2021-07-29T22:23:22 | 376,983,542 | 1 | 1 | NOASSERTION | 2021-06-14T23:44:38 | 2021-06-14T23:44:37 | null | UTF-8 | C++ | false | false | 1,454 | cc | // Copyright (c) YugaByte, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
// in compliance with the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writ... | [
"spolitov@gmail.com"
] | spolitov@gmail.com |
18843a74d7def41ab9034b3014bfb2c2f8af1e56 | 82ac8fa864d4386c9b69489aacabc2c5a98e4aff | /OikakeCppPractice3/OikakeCppPractice/src/main.cpp | 63400a18111465d9eb33736ddc54eb7c8362e230 | [] | no_license | ITSUKI0910/team10_2018 | ac4260b966d2b07f66f51a8e91db374955c1857a | f3a8e67f055c6633eae6a01d6b5cc02a54f5a2bf | refs/heads/master | 2021-10-10T10:36:56.104012 | 2019-01-09T14:49:15 | 2019-01-09T14:49:15 | 160,620,741 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 271 | cpp | #include<DxLib.h>
#include"Application/GameFrame/GameFrame.h"
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
{
return GameFrame().Run();
}
/*
1,30
履歴書
作品
羽田
3かい
二回受けることが出来る
*/ | [
"itsuki2525avo@gmail.com"
] | itsuki2525avo@gmail.com |
0f5c3ff0d8e39269c53a459c57dcce0ebaad1c38 | 94708218e6209d344d0a33dd131c9482a9156bb1 | /ugr_ig-master/P4/Material.cc | 8983c979250bc0d33db91666865a8e917807300a | [] | no_license | lorenmanu/variado | d1f3493a20b0dc96427966b70d8f610a3893591b | f5c36e66ade9f0edd96a8c12a0a809bacb4b6618 | refs/heads/master | 2021-01-10T08:14:17.978568 | 2015-10-25T15:45:03 | 2015-10-25T15:45:03 | 36,402,909 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,578 | cc | /*
* Jesús Ángel González Novez
* Práctica 4 IG
*
*/
#include "Material.h"
Material::Material() {
isIlluminated = false;
texturePtr = NULL;
amb[3] = dis[3] = spe[3] = 1.0;
}
Material::Material(const char * materialFile) {
texturePtr = new Textura(materialFile);
amb[3] = dis[3] = spe[3] = 1.0;... | [
"lorenrr1@gmail.com"
] | lorenrr1@gmail.com |
c6f190e12746639375c6352ad1b50c30a5a43431 | 82807ca4a9e755782778f02695461f6a083fdfdf | /offer_14/main.cpp | 2874a753168be263a8e095e957d470673ce4d12d | [] | no_license | hanny-liu/offer | b267e3ae32151d8d4d24f4eb30ab3f5b5a6742c7 | 62eac9d37ad10cb16925324fa8337ba098f225be | refs/heads/master | 2020-07-24T06:51:03.676844 | 2019-09-11T14:45:05 | 2019-09-11T14:45:05 | 207,835,048 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,948 | cpp | /*
剪绳子
给一根长度为n的绳子,请把绳子剪成m段(m\n都是整数,n>1且m>1),每段绳子的长度记为k[0],k[1],...k[m].
请问k[0]*k[1]*...*k[m]可能的最大乘积是多少?
例,当绳子长度是8时,我们把它剪成长度分别为2,3,3的三段,此时得到的最大乘积是18.
方法一:动态规划
从下到上,分别求出每个长度最大的乘积,f(n)=max(f(i)*f(n-i))
*/
/**
* 动态规划法:
* 动态规划求解问题的四个特征:
①求一个问题的最优解;
②整体的问题的最优解是依赖于各个子问题的最优解;
... | [
"1299250637@qq.com"
] | 1299250637@qq.com |
453c6785c4e9092aaef70cdeacb8254b83d10e58 | d5b3641f180dd4edba75c1bcc48d45a05fae7770 | /Graph Basics/LargestAreaHistogram.cpp | c5aafd3224897231e6261b1231e85141aaccd1ec | [] | no_license | clicknshade/Cp-Practice | 0a1be56d3bdacc754d8088caa9d3570db7b549b9 | 627a26a326473aed26e9d8e9337044de372d883b | refs/heads/master | 2020-07-28T06:19:00.986831 | 2019-08-16T13:05:48 | 2019-08-16T13:05:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,441 | cpp | #include<iostream>
#include<bits/stdc++.h>
using namespace std;
int maxAreaHist(int a[],int n){
stack<int> s;
int maxArea,curArea;
int i=0,tp;
while(i<n) {
//current bar greater than previous bar
if (s.empty() || a[s.top()] <= a[i] ){
s.push(i++);
}
... | [
"ashishsalaskar1@gmail.com"
] | ashishsalaskar1@gmail.com |
80900e023afa015c3e72c228d957e8a309bb738c | bbdf7d39828129907c11b6a3b0745e9f3ff6117a | /problem0070.cpp | 5ff990c0cbfe459061d5c14012320d5f15e14603 | [] | no_license | DavieV/Euler | 9b25b27275f3adba82e1ae2653a5d27d37e49945 | d5eb59cb739cf003e02e0db5e63b6a3bcdfefa68 | refs/heads/master | 2021-01-18T16:11:21.723996 | 2015-02-12T17:42:49 | 2015-02-12T17:42:49 | 27,414,380 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,472 | cpp | #include <iostream>
#include "eutility.hpp"
#define MAX 10000000
int next_prime(int p, bool s[]);
void del_mult(int p, bool s[]);
int main() {
int *euler_sieve = new int[MAX]; // sieve for euler's totient function
bool *prime_sieve = new bool[MAX]; // sieve of prime numbers
for (int i = 0; i < MAX; ... | [
"davidvalleau@gmail.com"
] | davidvalleau@gmail.com |
fc81d4b765eef1836838ade971eb4c4fc9ac05a6 | ea6a9bcf02fe7d72df645302909b1de63cdf7fe0 | /src/script/standard.h | 7b2fb3bae62ebde1135e60ddda463fa241e7b395 | [
"MIT"
] | permissive | durgeshkmr/minicoin | 69a834786413122eb2b85731b20f0fda931c7a72 | 4f082abe13cd34a759bf8ffb344a49244615960e | refs/heads/master | 2020-05-04T22:59:23.367524 | 2019-04-06T16:13:28 | 2019-04-06T16:13:28 | 179,529,407 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,020 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2018 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef MINICOIN_SCRIPT_STANDARD_H
#define MINICOIN_SCRIPT_STANDARD_H
#include <... | [
"durgeshkmr4u@gmail.com"
] | durgeshkmr4u@gmail.com |
73722e40bae9fd1897234e6f698c2ba6d3e197d6 | 4512f06cae743a0c9863802df6efa100a970c758 | /Tortoise-Core/libs/AtlasUtils.h | c3aea6b4e88c40e1c372eb09e33a5fd195d213a8 | [] | no_license | jjenki11/tortoise-dti | d38da5f214d90860352f52c4a34679b3f4707a2c | a938c063c41022c040266d921350bdd70e9dd3f3 | refs/heads/master | 2020-04-16T13:40:49.352875 | 2015-10-06T19:10:32 | 2015-10-06T19:10:32 | 40,923,816 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,424 | h | #include <list>
#include <algorithm>
#include <sstream>
#include <iostream>
#include <string>
#include <stdio.h>
#include <string>
#include <cstring>
#include <setjmp.h>
#include <signal.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <unistd.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#includ... | [
"jeff.jenkins.1986@gmail.com"
] | jeff.jenkins.1986@gmail.com |
195372d7c031ab6786421ffdc4f477d9e1648862 | 047b62f1ea767c717626e70bda9bf56c01678ed9 | /ColorImageClass.cpp | 0e0c52293a7b405507fcaee814a24f84044a836e | [] | no_license | aheldrich14/PPM-Image-Modifier | a8b5d0805a1bef35b9f2de647d488450b461faed | 6211caf3035d92b6d72127d24e380438216d19a8 | refs/heads/main | 2023-01-19T20:13:45.160710 | 2020-11-10T20:31:16 | 2020-11-10T20:31:16 | 311,775,903 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,132 | cpp | #include "ColorImageClass.h"
ColorImageClass::ColorImageClass()
{
pixelArr = 0;
}
ColorImageClass::~ColorImageClass()
{
if (pixelArr) //only delete pointers if they exist
{
for (int i = 0; i < imgRec.getHght(); i++)
{
delete [] pixelArr[i];
}
delete [] pixelArr;... | [
"aheldrich14@gmail.com"
] | aheldrich14@gmail.com |
cccdbccfbc9589383261201107bc3ecef5eaf239 | 5899280b047464b63d956690e1fabaf2fe1a7ee3 | /src/loopback.cpp | c5844a92da368795fe6416e383cb3c02e309db34 | [
"BSD-2-Clause"
] | permissive | kylemcdonald/libtins | d4f6c60e21057eafdd7ede609401b6659f18aa2b | 416edc34f7f4464bcd510d9f7c9fa44ff7d9b612 | refs/heads/master | 2020-12-11T05:56:03.189974 | 2014-07-27T04:24:16 | 2014-07-27T04:24:16 | 19,407,574 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,410 | cpp | /*
* Copyright (c) 2014, Matias Fontanini
* 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 ... | [
"matias.fontanini@gmail.com"
] | matias.fontanini@gmail.com |
0cb666650ec2aa358a004bdfafc5dd01bb3e8fd7 | 8c55c025b546d112786d3bc437f5d64c99d6efc2 | /02 Primitive Types/2_12.cpp | 1fdaf16ceaeca0b7c5038da732e9add0ef92930f | [] | no_license | tshrjn/EPI | ac0c7d6b44bf8b35df6206c00bee1d2350316b42 | f9aa4da2d2648deabae020de9e5c3dd3b0e9e761 | refs/heads/master | 2021-01-21T06:24:13.276833 | 2017-02-26T16:17:27 | 2017-02-26T16:17:27 | 83,221,007 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,258 | cpp | // 2_11 - Given n , return the primes from 1 to n
/* Things learnt:
1. primes.emplace_back(2);
*/
#include "/Users/tshrjn/stdc++.h"
using std::string;
using std::cin;
using std::cout;
using std::endl;
using std::vector;
using std::max;
using std::min;
/*#define dim pair<int, int> // h x w
#define pos pair<int, int> //... | [
"tusharjain.champ@gmail.com"
] | tusharjain.champ@gmail.com |
6ba816901e93798f1c3f153eaf98659398b2697c | 4ea5083a2dc96943b12c61dbac9a44359d4a5760 | /OpenVPN Tunnel Provider/Vendors/openvpn/openvpn/common/rc.hpp | d2a055e3a7509f0c9481e9e3a8ecf3ca6b72134e | [] | no_license | shahzaibiqbal/openvpn-adapter | afff351a1d2fbcfe966042c060c13364986c954e | d316cd7ebd0d29d636c755d4e10721e2891b6431 | refs/heads/master | 2020-09-08T17:36:24.694975 | 2017-02-05T10:38:35 | 2017-02-05T10:38:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,552 | hpp | // OpenVPN -- An application to securely tunnel IP networks
// over a single port, with support for SSL/TLS-based
// session authentication and key exchange,
// packet encryption, packet authentication, and
// packet compression.
//
// Copyright (C) 2012-201... | [
"ss.abramchuk@gmail.com"
] | ss.abramchuk@gmail.com |
501b00872c6e49aa707eeec17c52d283fe623222 | ed15e8e1e24cdfe459d2a92e7e9302fe0746f35d | /cc1.cpp | 6ca94171e4beeacee8f899638c0d7b6f5e193eaf | [] | no_license | thenooz/test | 748eb187d95db114bed0507c617822ba2df21357 | 868dbc2bacf25608694bf0764f4343ff14f90ea6 | refs/heads/master | 2021-01-10T02:28:42.050265 | 2016-03-29T18:12:42 | 2016-03-29T18:12:42 | 49,647,197 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 580 | cpp | #include<iostream>
using namespace std;
void numstones(int,int,int);
int main()
{
int nums;
cin>>nums;
int arr[nums][3];
for(int i=0;i<nums;i++)
{
//arr[i]=new int[3];
cin>>arr[i][0]>>arr[i][1]>>arr[i][2];
}
for(int i=0;i<nums;i++)
{
numstones(arr[i][0],arr[i][1],arr[i][2]);
}
return 0;
}
void numst... | [
"tanujgodar@gmail.com"
] | tanujgodar@gmail.com |
85cf7613f577589aeece3e3eab080586e6db6e93 | ef4177737c934fcc401c7f315df4e5844e299e1d | /Ch2 LinearList/拼写检查.cpp | e8dd62c0a1ddccef28abf092f0f18cef908800d5 | [] | no_license | wr786/Key-to-DSA | e495a20f24946d0caf869a4e8012ed563239b235 | 7351d81e673eb757c0ee4b4556dbce60168db781 | refs/heads/master | 2023-02-12T14:40:10.538240 | 2021-01-01T08:35:02 | 2021-01-01T08:35:02 | 297,310,726 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,658 | cpp | #include <iostream>
#include <algorithm>
#include <string>
#include <vector>
#include <unordered_map>
using namespace std;
vector<string> dict;
unordered_map<string, bool> inDict;
bool is_similar(string word, string lookup, int chances) {
int l1 = word.length(), l2 = lookup.length();
if(chances < abs(l1 - l2))... | [
"wr786@pku.edu.cn"
] | wr786@pku.edu.cn |
0a451286014ecbe889a3fb2aaaa5cb554461dcb9 | bb8c4b31a519d9c3eafa1e9c923176c938c562ad | /Motor2D/j1Map.cpp | 0ae4a4f43cd8251fc2f8a6eaf7c9ae4529de45e1 | [
"MIT"
] | permissive | oscarroyo4/UnknownMiner | 700dcd5dd757dab826387aca43bd583ead4d134d | 4283bd553ef2fcbe6ef208ecc4513439eac15edc | refs/heads/master | 2023-02-15T10:56:15.507345 | 2021-01-13T16:43:38 | 2021-01-09T21:50:19 | 210,903,398 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,693 | cpp | #include "p2Defs.h"
#include "p2Log.h"
#include "j1App.h"
#include "j1Render.h"
#include "j1Collision.h"
#include "j1Textures.h"
#include "j1Map.h"
j1Map::j1Map() : j1Module(), map_loaded(false)
{
name.create("map");
}
// Destructor
j1Map::~j1Map()
{}
// Called before render is available
bool j1Map::Awake(pugi::xml... | [
"47557315+oscarroyo4@users.noreply.github.com"
] | 47557315+oscarroyo4@users.noreply.github.com |
c14c40635f9e3890dce5ea66c5b8da9da501f2d6 | 5be08a041fa9c019337f2187813a4f54108e6e2d | /Actions/AddCircleAction.h | 0592ade22e3dd085e65124efaed2723d52f7f828 | [] | no_license | AymanAzzam/Paint-for-Kids | ae8c647b7ffb64ad87dd2a78be3a3bf15ebfc5c9 | 66ac8c7f24f881175fb505ed468e7055b313b5e5 | refs/heads/master | 2020-08-10T02:38:52.562643 | 2019-10-10T17:53:02 | 2019-10-10T17:53:02 | 214,212,999 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 368 | h | #pragma once
#include "Action.h"
class AddCircleAction : public Action
{
private:
Point P1, P2; //Circlele center and a point on it
GfxInfo CircleGfxInfo;
public:
AddCircleAction(ApplicationManager *pApp);
//Reads Circlele parameters
virtual void ReadActionParameters();
//Add Circlele to the Appl... | [
"aymanazzam63@gmail.com"
] | aymanazzam63@gmail.com |
0ac29ec116dda59868a4a5f645e60f798c4e2fc2 | 25ce41a0ba24160058bd76d22118d481f9f27fa8 | /kjvm_fold/kjvm/Stack.cpp | c89c12599e576670da6ae64314d8cdcb42dd4f92 | [] | no_license | kosta2222/kjvm_proj | 84446324eb9a680bd642248ff5cb098ab5ff296b | 4c2e7bd47d8d7b8cabe90d151ec8d07e32396aa0 | refs/heads/master | 2020-04-23T06:30:18.180216 | 2019-02-16T07:24:26 | 2019-02-16T07:24:26 | 170,975,435 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 88 | cpp | #include "StdAfx.h"
#include "Stack.h"
Stack::Stack(void)
{
}
Stack::~Stack(void)
{
}
| [
"muh_kosta@mail.ru"
] | muh_kosta@mail.ru |
12b789f7786843c000392494c7c455b99390daaa | 75b72ab86c2df0eca7e78634c49d5a757b2286c9 | /optimize.h | 2a655f60252b62898a4084412c78e1e5d7722c59 | [] | no_license | ftang921/pars-optimization | 0ff906370615d93fb8cc2db40f594a4477d03e98 | d04747b106b45e73acfb2a15a7ef01fd8f9fed2b | refs/heads/master | 2021-05-31T01:05:26.446406 | 2016-02-08T21:40:32 | 2016-02-08T21:40:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,709 | h | //
// optimize.h
// pars_optimize
//
// Created by Feng Tang on 6/9/15.
// Copyright (c) 2015 Fordham University. All rights reserved.
//
#ifndef optimize_h
#define optimize_h
#include <vector>
using namespace std;
class OptiEntry {
public:
vector<int> time;
vector<double> prob;
vector<double> nonCu... | [
"ftang@fordham.edu"
] | ftang@fordham.edu |
639214ef6cfa0fde3cee3922cb902b3ceb8f33ff | e0afb11f8f519057e40a14a3047b7baaf5cb4894 | /element.cpp | 64ecb186e28e61cb8c22a0a463a94536d060cde8 | [] | no_license | futurnaingenieur/UTBM-RPG | e6d8e2b5d5e5a96c5e432f5fba4ce4d55316ee57 | 2ee9f2f2e481c25461b68dce5ca7a3567324565a | refs/heads/master | 2020-05-18T07:09:25.600040 | 2015-04-01T11:19:09 | 2015-04-01T11:19:09 | 24,602,020 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 419 | cpp | #include <SFML/Graphics.hpp>
#include <string>
#include "element.hpp"
using namespace sf;
Element::Element(int input_x,int input_y)
{
dimensions.x=input_x;
dimensions.y=input_y;
rectangle.setSize(dimensions);
}
void Element::setTexture(Texture input_texture)
{
rectangle.setTexture(&input_texture);
}
... | [
"futurnaingenieur@gmail.com"
] | futurnaingenieur@gmail.com |
dd990cbe5efe85660c1f5dae29dca9ca521167a5 | 3c228807174968ae3320e8093ad1357bc7b2e4c3 | /CF-489C.cpp | c8d134b50f0584014f34fe1f0070e1dab9622cfa | [] | no_license | rajputji/Problem-Solutions-CPP | 151069d606baf7a11541109e6ca891edacf8568b | 8cfd220584f8ce11a080431a69fb9daf2c0177cf | refs/heads/master | 2023-03-24T05:54:13.283503 | 2021-03-26T12:56:23 | 2021-03-26T12:56:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,961 | cpp | /*
This code is written by Shammi Anand
contact : shammianand101@gmail.com, shammianand.me
*/
#include<bits/stdc++.h>
using namespace std;
#define ll long long
#define pb push_back
#define f first
#define s second
#define vi vector<int>
#define pii ... | [
"shammianand101@gmail.com"
] | shammianand101@gmail.com |
267196d5d53e4bcec6caed1c2b62d06b33886179 | fc0de36ac327936ba88559978d85d9c6d373f457 | /etc/17680.cpp | fea05d23ac5c1d08f058ea4b3abb91aa33500e5c | [] | no_license | KimSeongHeon/Algorithm | 0c749998eabaf49c67c9ac23a9d349fe1ca5bc23 | 24f3996228ed16f3673571c4f64f2017ba453373 | refs/heads/master | 2021-10-18T05:57:31.824937 | 2019-02-14T07:31:16 | 2019-02-14T07:31:16 | null | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,357 | cpp | #include <string>
#include <vector>
#include<algorithm>
using namespace std;
using std::transform;
vector<string> cache;
int use[31];
int solution(int cacheSize, vector<string> cities) {
int answer = 0;
int cSize = 0, found = 0, mincnt;
string target;
if(cacheSize == 0)
answer = cities.s... | [
"xoxo900@naver.com"
] | xoxo900@naver.com |
3ed00bbd651d00bf6aedf442a937685836997675 | 9a32178d3c2fdf377d84f65b55989264e67f40e9 | /2002/ALL VC SAMPLES/Attributes/General/Labrador/labdriv/labdriv.cpp | 3be12bc93b8ae95eda34476f670de1fc0e238a42 | [] | no_license | philipwolfe/Samples | 5e5cc1376575ac6361b62a3554c98626f153b694 | 7eb703287a6d07596a141c4557f271efe6c1666f | refs/heads/master | 2021-12-25T12:52:52.616313 | 2021-12-19T04:26:29 | 2021-12-19T04:26:29 | 250,445,305 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,539 | cpp | // labdriv.cpp : driver for the Labrador sample
//
// This is a part of the Active Template Library.
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// This source code is only intended as a supplement to the
// Active Template Library Reference and related
// electronic documentation provided with the... | [
"philipwolfe@users.noreply.github.com"
] | philipwolfe@users.noreply.github.com |
0396ad88585ef28dffb0ec7b6433af659839ff4c | 607fb1e7f847cb779e41fc4249c9d41fb5ab4825 | /Contain.ino | b27ec9b63a2bc80ffb4420ca5ea0756249aff346 | [] | no_license | fchegez24/Strings-Manupulation | 1b3c2e48de331ece09862120a10a13c056fdf8ce | d9ce1ff0ad005db9be169763e490e3a926a6adee | refs/heads/master | 2021-01-21T21:00:10.685316 | 2017-06-19T11:28:51 | 2017-06-19T11:28:51 | 94,769,185 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 693 | ino | ///////////////////////////////////////////////////////////////////////
//This example is meant for checking if a string consist a piece of////
//strin.By fredrick chege nyamu.For Improvements question email ////
//at fchegez24@gmail.com------------------------------------------/////
//improve the library to be bett... | [
"noreply@github.com"
] | noreply@github.com |
7d03621d2aae01ea51ef5cb720d47d1061e698c0 | 60799c0854702d8b7589814f1304f534c3dd6c23 | /isabelle_barbosa/src/ListaEncadeada.h | 08984372aa5795986f1dbca8cc92b68327039433 | [] | no_license | isabellevieirab/tp1_ed | 06166f622f29cbc6bdbd9c1810d1d6885dfc1adb | bb1c57097f2b48e5c6b77d9307f04900d0254d03 | refs/heads/master | 2022-02-18T03:02:04.112510 | 2019-10-05T01:24:09 | 2019-10-05T01:24:09 | 212,720,756 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 510 | h | #ifndef __TP1_ED_1__
#define __TP1_ED_1__
struct celula{
int v;
int opr;
celula* prox;
};
class ListaEncadeada{
public:
celula* cabeca;
celula* ponta;
int tamanho;
ListaEncadeada();
ListaEncadeada(int v);
virtual ~ListaEncadeada();
vo... | [
"noreply@github.com"
] | noreply@github.com |
28f0ae024e35489fb2fbd629cf3f1b2a599ac449 | 6ec47f8b798b0875c3d30b3aa419715c380be4ee | /Finalized Code/iomanip.cpp | 2a7993e6a007ff540b4ba838b18c70b24836e95e | [] | no_license | Captain-Price-TF-141/CS135 | 740a3bbcac7a0a5e72df31e4e91718510b500e17 | 7ef5337778b65554243220fdf80b09ca6a8a7f3b | refs/heads/main | 2023-03-05T00:37:31.345843 | 2021-02-21T06:48:03 | 2021-02-21T06:48:03 | 340,825,673 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 43 | cpp | //Captain-Price-TF-141
#include <iomanip>
| [
"noreply@github.com"
] | noreply@github.com |
043ed589f8967239bf1c0a5748e3d160af063f44 | fce0d1bf8e69505c67be0f929194e1d8a7475ebf | /Analyzer/BDT/Trial/v05_eventWeght/BDTTraining.cxx | 2dfaba0ad44c2af722e87c7d328cdfeebc8f1de7 | [] | no_license | KyeongPil-Lee/DYScouting | e86ccfbb8fad60554f4e5a152ced9db9d013a162 | 9150e3aa82ef5dc11de83728f65ebc62304c472b | refs/heads/master | 2021-12-19T08:53:46.435674 | 2021-12-06T18:29:09 | 2021-12-06T18:29:09 | 214,085,816 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 24,283 | cxx | // -- reference: https://github.com/root-project/root/blob/master/tutorials/tmva/TMVAClassification.C
#include <cstdlib>
#include <iostream>
#include <map>
#include <string>
#include "TChain.h"
#include "TFile.h"
#include "TTree.h"
#include "TString.h"
#include "TObjString.h"
#include "TSystem.h"
#include "TROOT.h"
... | [
"kplee@cern.ch"
] | kplee@cern.ch |
db01d49b3eb1d966656869a33aeffb15c21ffbf0 | 007816a6304b8b75c6506cfb1c80a05e78a5faff | /CAMPON.cpp | c8fc267d160178eba98dbf1f8194b5177148af12 | [] | no_license | hst005/Competitive-Programming-Basics-and-examples | 00382a5b2ffe25538a438f301521b1ea7e57ac1d | 5e95cfce4e716df9f802743ac369ae9db7f3776f | refs/heads/master | 2020-06-30T09:43:55.480088 | 2019-08-06T07:03:56 | 2019-08-06T07:03:56 | 200,794,043 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 815 | cpp | #include <iostream>
#define ll long long
using namespace std;
int main()
{
ll t;
cin>>t;
while(t--){
ll ar[32];
for(int i=0;i<32;i++){
ar[i]=0;
}
ll d;
cin>>d;
for(int i=0;i<d;i++){
int d... | [
"noreply@github.com"
] | noreply@github.com |
c1f515896c112856d4553e4f73c50425323a2c1d | 0a83b3293fbf3016395cacf12a8511dd7fb02673 | /src/server/scripts/Kalimdor/ashenvale.cpp | dab574c378d2797c698462f07a3ad999cca4b29e | [] | no_license | demooo/PandaFire | 55a9b992d3f30e0671d32cf3e2f8b34b4d24bf44 | f70f41114b166b0f299ed5543e33e2de51c132dc | refs/heads/master | 2020-04-08T05:28:18.097603 | 2015-01-09T07:40:22 | 2015-01-09T07:40:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,360 | cpp | /*
* Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2006-2009 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software ... | [
"mikaelhirvonen@msn.com"
] | mikaelhirvonen@msn.com |
4d1e315aac7081045cc068c566bc8cf6551c50cf | cbd9eb545fb4c88d6661ceec33749ed21b3f737e | /csmtp.h | de04189a16873ee09a1736bfaa10867c308d63c1 | [] | no_license | Khachik96/FLChat | 04f6065e1558f95f3d6da3ff18c81a30b97cd682 | 4b1e66ea8eadbcfd32a404061feadca18953ff03 | refs/heads/master | 2020-03-18T02:25:21.249810 | 2018-05-20T22:15:40 | 2018-05-20T22:15:40 | 134,189,884 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 80,707 | h |
#include <vector>
#include "openssl/err.h"
#include <cassert>
#include "MD5.h"
#ifdef __linux__
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <errno.h>
#include <stdio.h>
#include <unistd.h>
#include <openssl/... | [
"noreply@github.com"
] | noreply@github.com |
fdc605b750fa9c89f3e353a8b6a5c7a8a53f599e | b62e7086980cb97554b01dbfad64a040f9f80165 | /NtupleMacros/OSSusy2011/Configuration/CMS2.cc | dcac90da0a31e3942696deb82ab0f0d2fe7d4ee4 | [] | no_license | tastest/CMS2 | f819962e172c712abd82a8b213c4cb2286bcdcfe | e31e02d6037fbef206e216413b4def558ccefb39 | refs/heads/master | 2021-01-10T20:22:52.181267 | 2013-07-12T15:16:31 | 2013-07-12T15:16:31 | 10,772,930 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 75,771 | cc | #include "CMS2.h"
CMS2 cms2;
namespace tas {
TString &evt_CMS2tag() { return cms2.evt_CMS2tag(); }
TString &evt_dataset() { return cms2.evt_dataset(); }
vector<TString> &hlt_trigNames() { return cms2.hlt_trigNames(); }
vector<TString> &l1_techtrigNames() { return cms2.l1_techtrigNames(); }
vector<TString> &l1_trig... | [
"benhoob"
] | benhoob |
3f50d57c8fadce77be4befbe7ed8939d7728146c | fbe77e9e2a53a4600a1d9b00b5f2c29ee3e8c59a | /externals/binaryen/test/emscripten/tests/box2d/glui/glui_node.cpp | 96aa1dd951dd42a681bdf8eede63e6cd4b43736e | [
"LGPL-2.0-or-later",
"Zlib",
"Apache-2.0",
"MIT",
"NCSA",
"BSD-3-Clause"
] | permissive | AcuteAngleCloud/Acute-Angle-Chain | 8d4a1ad714f6de1493954326e109b6af112561b9 | 5ea50bee042212ccff797ece5018c64f3f50ceff | refs/heads/master | 2021-04-26T21:52:25.560457 | 2020-03-21T07:29:06 | 2020-03-21T07:29:06 | 124,164,376 | 10 | 5 | MIT | 2020-07-16T07:14:45 | 2018-03-07T02:03:53 | C++ | UTF-8 | C++ | false | false | 7,099 | cpp | /****************************************************************************
GLUI User Interface Toolkit
---------------------------
glui_node.cpp - linked-list tree structure
--------------------------------------------------
Copyright (c) 1998 Paul Rademacher
WWW: http:/... | [
"caokun@acuteangle.cn"
] | caokun@acuteangle.cn |
6e3a6e218423afbc8b1eb8816cc1610f17f0d0cf | 11a09372cf812213ee88a5059e9f868f97faf309 | /Hackerrank/SinglyLinkedList.cpp | 51bd33e946c4d2dcd817338a93137976e7354a0f | [] | no_license | RavirajWalke/online-contests | 52a755ae064caa9e70d0c847a64f2e9869090073 | bb61acd82ba852fdc2f8700ea27002a1a0215805 | refs/heads/master | 2020-03-14T02:58:02.353799 | 2018-04-28T13:13:23 | 2018-04-28T13:13:23 | 131,410,196 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,939 | cpp | /**
*
* @author Ravi
*/
/*
* C++ Program to Implement Singly Linked List
*/
#include<iostream>
#include<cstdio>
#include<cstdlib>
using namespace std;
/*
* Node Declaration
*/
struct node
{
int info;
struct node *next;
}*start;
/*
* Class Declaration
*/
class single_llist
{
pu... | [
"ravirajwalke9@gmail.com"
] | ravirajwalke9@gmail.com |
0ce0c2375794f9d15b8a9491271656db23f48041 | f24c8ebbb716d10eeba9b2fc6d231635ecd91f95 | /smiesd2/lab05/1001.cpp | 04df4b0bf793b78c49b0d3d8b0117f8649a851d2 | [] | no_license | zhiqiu/sicily | b6f7de28e7bbe9cddef5d11592017ea9b2df052b | f874a31af950148583101d6e5c96305afbe79d5b | refs/heads/master | 2021-01-22T17:14:29.776931 | 2015-10-10T01:59:16 | 2015-10-10T01:59:16 | 26,812,506 | 7 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 780 | cpp | #include <iostream>
using namespace std;
class student{
private:
int id;
int score;
public:
student(){
id = 0;
score = 0;
}
student(int a, int b): id(a), score(b){}
void set(int a, int b){
this->id = a;
this->score ... | [
"767385134@qq.com"
] | 767385134@qq.com |
d9e6f38225a7e204cc5e2406e9dd82b95e7f09d2 | aa3d6a8a6e8e75d968786ed1900564baaad1bb62 | /AOJ/V21/2101.cpp | 8bdfa9f7e7a85a0add1453ed8cbce0924548a84b | [] | no_license | Halksel/Competition | 418b18981d4eb30572e6f24401f53968c5e9c354 | ce9ea74410a63ad2c4de23dee33698d23afb01b1 | refs/heads/master | 2021-01-23T21:46:52.925976 | 2019-08-25T13:07:44 | 2019-08-25T13:07:44 | 59,487,622 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,888 | cpp | #include <bits/stdc++.h>
using namespace std ;
#define pb(n) push_back(n)
#define fi first
#define se second
#define all(r) (r).begin(),(r).end()
#define vmax(ary) *max_element(all(ary))
#define vmin(ary) *min_element(all(ary))
#define debug(x) cout<<#x<<": "<<x<<endl
#define fcout(n) cout<<fixed<<setprecision((n))
#d... | [
"whentheycry0708@gmail.com"
] | whentheycry0708@gmail.com |
f05ae8c88eebd8bf3d53ee4d888fa97a665de4d7 | b4a537160bc8aee055534280b8564992d05d4245 | /11000/11066.cpp | 59c6425605525aced69476ab4ed780e69500ca78 | [] | no_license | kadragon/acmicpc | c90d8658969d9bcbecd7ac45a188ac1ad4ad1dd3 | b76bb7b545256631212ea0a2010d2c485dbd3e40 | refs/heads/master | 2021-07-13T01:45:03.963267 | 2021-04-18T07:33:08 | 2021-04-18T07:33:08 | 244,813,052 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 853 | cpp | //
// Created by kangdonguk on 2020/04/04.
//
// https://www.acmicpc.net/problem/11066
// 파일 합치기
#define min(a, b) ((a) < (b) ? (a): (b))
#include <stdio.h>
int dp[501][501], d[501], sum[501];
int f(int s, int e) {
if (dp[s][e])
return dp[s][e];
if (s == e)
return 0;
if (e - s == 1)
... | [
"kangdongouk@gmail.com"
] | kangdongouk@gmail.com |
1b190f5483f3fef4d4f1a8befe2755cf82301919 | 0f753714aab2b0e90469f17af834e94e2faa9c0f | /src/progs/recon_shell_real.cpp | a236c7eff8c71fc33150da67c38f2c795c3e8140 | [] | no_license | npadmana/baorecon | b90ee4f2fb3738beb9e8ea1d5e654f6f4a0dc8eb | 1147c4b9f3a46c3b84a6c2f25960d70402e57390 | refs/heads/master | 2016-09-08T01:22:03.082693 | 2014-11-28T02:40:44 | 2014-11-28T02:40:44 | 2,431,362 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 9,562 | cpp | #include <iostream>
#include <cmath>
#include <sstream>
#include <fstream>
#include <iomanip>
#include "Recon.h"
static char help[] = "recon_shell_real -configfn <configuration file>\n";
using namespace std;
int main(int argc, char *args[]) {
PetscErrorCode ierr;
ierr=PetscInitialize(&argc,&args,(char ... | [
"nikhil.padmanabhan@yale.edu"
] | nikhil.padmanabhan@yale.edu |
29f877a3f938e4d509ae3c2432fee08f0c78b70b | 8a1ad6e4a32112c6227e928b74f9d419623ff869 | /ZinJpeg decoder throw/ZinJpeg decoder throw/zinjpeg_hamming.hh | b0760127bbbf49548e89d48480e52d410140b2a9 | [] | no_license | GreenIOur/ZinJpeg | f62081b988761736faec1275045705cababa332a | 034d8ef0e4f5af4ccedb2c550fb2bad4d673c5e2 | refs/heads/master | 2021-01-22T13:41:43.313122 | 2015-07-29T13:30:03 | 2015-07-29T13:30:03 | 39,894,838 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 161 | hh | #ifndef _SECDED_
#define _SECDED_
short get_safety_level();
uint64_t SECDED_decoder(uint64_t *rdata);
void SECDED_encoder(uint32_t data, uint64_t *out);
#endif | [
"greenjour@gmail.com"
] | greenjour@gmail.com |
c8d55bd8fc65e7bc7c0c18f235a1bbd9c1521819 | d0c44dd3da2ef8c0ff835982a437946cbf4d2940 | /cmake-build-debug/programs_tiling/function13996/function13996_schedule_17/function13996_schedule_17.cpp | 1b59c2d39a2db92e6ec069e3696343876fb036ab | [] | no_license | IsraMekki/tiramisu_code_generator | 8b3f1d63cff62ba9f5242c019058d5a3119184a3 | 5a259d8e244af452e5301126683fa4320c2047a3 | refs/heads/master | 2020-04-29T17:27:57.987172 | 2019-04-23T16:50:32 | 2019-04-23T16:50:32 | 176,297,755 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,190 | cpp | #include <tiramisu/tiramisu.h>
using namespace tiramisu;
int main(int argc, char **argv){
tiramisu::init("function13996_schedule_17");
constant c0("c0", 512), c1("c1", 1024), c2("c2", 64);
var i0("i0", 0, c0), i1("i1", 0, c1), i2("i2", 0, c2), i01("i01"), i02("i02"), i03("i03"), i04("i04"), i05("i05"), ... | [
"ei_mekki@esi.dz"
] | ei_mekki@esi.dz |
bbda0e498bf5fbe274d81ec0c9e8ffaf92edf542 | 245afd9f4adb8d868fa1228ac5898083e4140d4a | /Class_Set_Template/Class_Set_Template.cpp | 78615212f0c7760d6c85865b9b936db6533a6da3 | [] | no_license | Ars-eniy-Cheis/ProgramLanguages | 3e50c5eaa7d0f2c2bcdda7651d873484c912c78e | 3b79cef726a347188bb25d468b092e0c59ef6ecf | refs/heads/master | 2021-01-01T11:29:51.555886 | 2020-12-21T16:58:16 | 2020-12-21T16:58:16 | 239,254,881 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,975 | cpp | #define _CRT_SECURE_NO_WARNINGS
#include <iostream>
#include <stdlib.h>
#include <cmath>
#include <math.h>
using namespace std;
template <typename T>
class Set
{
int size;
T* set;
bool isSet(T a);
public:
Set(int n = 0);
Set(const Set& copy);
~Set();
void insert(T a);
Set Union(Set... | [
"mr.4eis@yandex.ru"
] | mr.4eis@yandex.ru |
86ea51f147e3c72d74fc4fd09b44303fba3db994 | 26f31517349cd3ca820e872facc4e51dc2f1fa8b | /identifyuber.h | 83fff2138ba65538c4b0662b6a7d5aaa21e0589f | [] | no_license | kajakIYD/PSS_Proj | bc373b142a393661a606b0446ce0e1070d7c1fe9 | 83f17dc248bcb2cb1a4c78c46a9122830d20d51b | refs/heads/master | 2020-03-13T11:36:37.771310 | 2018-11-20T17:02:13 | 2018-11-20T17:02:13 | 131,104,554 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 884 | h | #ifndef IDENTIFYUBER_H
#define IDENTIFYUBER_H
#include <cmath>
#include <deque>
#include <vector>
#include <iostream>
#include <Eigen/Dense>
using namespace Eigen;
using namespace std;
class IdentifyUber
{
public:
IdentifyUber();
virtual ~IdentifyUber() {};
virtual void Identify_step(double u, double ... | [
"ficupaolo@gmail.com"
] | ficupaolo@gmail.com |
112c7055186d4d30e14ecb165a9d207375ca9a69 | ac34cad5e20b8f46c0b0aa67df829f55ed90dcb6 | /src/ballistica/scene_v1/node/node_attribute.h | a6ffb74716a6f5157fef6d0adffbe4cb0cd388a8 | [
"MIT"
] | permissive | sudo-logic/ballistica | fd3bf54a043717f874b71f4b2ccd551d61c65008 | 9aa73cd20941655e96b0e626017a7395ccb40062 | refs/heads/master | 2023-07-26T19:52:06.113981 | 2023-07-12T21:32:56 | 2023-07-12T21:37:46 | 262,056,617 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 52,129 | h | // Released under the MIT License. See LICENSE for details.
#ifndef BALLISTICA_SCENE_V1_NODE_NODE_ATTRIBUTE_H_
#define BALLISTICA_SCENE_V1_NODE_NODE_ATTRIBUTE_H_
#include <string>
#include <vector>
#include "ballistica/scene_v1/scene_v1.h"
namespace ballistica::scene_v1 {
#pragma clang diagnostic push
#pragma ide ... | [
"ericfroemling@gmail.com"
] | ericfroemling@gmail.com |
b141a9ac1fff134ad77d974783dc43f8b6088279 | 187f6bb6b568e8bb42bafab8f81133d4ad5f383b | /Siv3D/src/Siv3D-Platform/WindowsDesktop/Siv3D/ConstantBuffer/D3D11/ConstantBufferDetail_D3D11.hpp | 23f0f620db0b015c61fda62fb3f752b59be612ee | [
"MIT"
] | permissive | Reputeless/OpenSiv3D | f2938ea8f5c8de2e6e3b200046943f3e5398a2a1 | 7d02aa0f4824d1ecbd50ea1c00737cc932332b0a | refs/heads/main | 2023-07-29T06:57:44.541422 | 2023-07-13T03:41:37 | 2023-07-13T03:41:37 | 306,929,779 | 0 | 0 | MIT | 2021-09-02T10:37:00 | 2020-10-24T16:55:13 | C++ | UTF-8 | C++ | false | false | 830 | hpp | //-----------------------------------------------
//
// This file is part of the Siv3D Engine.
//
// Copyright (c) 2008-2023 Ryo Suzuki
// Copyright (c) 2016-2023 OpenSiv3D Project
//
// Licensed under the MIT License.
//
//-----------------------------------------------
# pragma once
# include <Siv3D/Common.hpp>
# i... | [
"reputeless+github@gmail.com"
] | reputeless+github@gmail.com |
039fc6ddb8a8c7d039fbf9cfba9039f76db2fb18 | bb09adfc7e4fdba48a7cd34ad8c6354c20ae5cf0 | /src/main.cpp | bce143e58d99326e9d0182d680e568a757feb51c | [
"MIT"
] | permissive | cacoin/coocacoin | aafd691ddb67c98d83994bdef11b76d80dff4336 | 1ab7650b490b8dddb335556e7b4387c12a7d952b | refs/heads/master | 2021-01-18T22:17:39.108228 | 2016-07-23T14:30:20 | 2016-07-23T14:40:50 | 64,012,439 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 161,269 | 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 "alert.h"
#include "checkpoints.h"
#include "db.h"
#include "net.h"
#incl... | [
"coocacoin@gmail.com"
] | coocacoin@gmail.com |
0be27203d86265e820ec9d48a012963c0dc47897 | b013ab5e562bee2da35deba3ee63baaa8155c020 | /02Cplusplus/01base_content/006decltype/problem_01_decltype.cpp | 9aede76c928a76980040ef14bb4f627534521bce | [] | no_license | lzb991435344/CPlusPlusThings | cb927154085a42792158d27ea358d555bb8f22b3 | ff5879f62d18883beccfdba1c38fab647d410098 | refs/heads/master | 2022-12-30T16:46:11.505809 | 2020-10-25T14:16:09 | 2020-10-25T14:16:09 | 270,585,426 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,047 | cpp | /**
* @file decltype.cpp
* @brief g++ -o decltype decltype.cpp -std=c++11
*/
#include <iostream>
#include <vector>
using namespace std;
/**
* 泛型编程中结合auto,用于追踪函数的返回值类型
*/
template <typename T>
auto multiply(T x, T y)->decltype(x*y)
{
return x * y;
}
/**
int main()
{
int nums[] = { 1,2,3,4 };
vector<int> vec(n... | [
"991435344@qq.com"
] | 991435344@qq.com |
14e6dc88458b28834f9828bb0e5b7494d46d4bc1 | 308ecb5cec377ed4831bae2d8c033cee4f05540c | /Calculator/Calculator/Source.cpp | c43b4a7a059b7b42d8dd9077d247794bfb32571c | [] | no_license | lusine-abrahamyan/Test | 2456b03f78f3e9251c6a3bf6cb637770ec7b8201 | 2b6aea0671c1d65bc74d2be5532b1bb436feceb3 | refs/heads/master | 2019-03-09T18:33:36.730775 | 2013-10-29T18:59:28 | 2013-10-29T18:59:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 336 | cpp | #include <iostream>
#include "Calculator.h"
using namespace std;
int main()
{
double operand1,operand2;
char my_operator;
cout << "Enter expression"<<endl;
cin >> operand1;
cin >> my_operator;
cin >> operand2;
Calculator calcObj;
cout << "=" << calcObj.CalculateFunction(operand1,operand2,my_operator) << endl;... | [
"lusine.abrahamyan@bk.ru"
] | lusine.abrahamyan@bk.ru |
179cd5d948b64030f634460079e20551c5d550bf | 8fb9ae63c6a64d9f0789643405be4282c33c3a1b | /Timus/1118.cpp | e8742fab5e945dbbbf4ff51ba053bc1effbfdebb | [] | no_license | RafikFarhad/Code_is_fun | 7c67b4d9c97d7e58ccf822214d1ba4fe51b88ba6 | 08fd1c53125deaaeb0d6aac8f9c2fd7c76a05e4d | refs/heads/master | 2021-07-25T13:32:48.839014 | 2021-01-10T00:23:34 | 2021-01-10T00:23:34 | 46,503,470 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,199 | cpp | #include <cstdio>
#include <iostream>
#include <string>
#include <cstring>
#include <cmath>
#include <ctime>
#include <cstdlib>
#include <algorithm>
#include <new>
#include <vector>
#include <stack>
#include <queue>
#include <map>
#include <set>
/******************************************/
/** Author ... | [
"rafikfarhad@gmail.com"
] | rafikfarhad@gmail.com |
6313a869cafc5ab6f6d75d6232a86234aeecf132 | f52cd61bd0ec4af24d785dab8a2a167156b90a24 | /include/vibration_Sensor.h | 0abf1bb952ed2f701414e8c959b1ed623c694763 | [
"Apache-2.0"
] | permissive | Adam-Kareem/Vibration-Sensor | a266ef3d92a7d787a90252afc9d89a03fe5c02b3 | 2157e51d9d488d5dff6997ab2cce809d016f89ed | refs/heads/master | 2022-11-11T05:39:04.364016 | 2020-07-01T13:02:22 | 2020-07-01T13:02:22 | 274,822,402 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,048 | h | //Author : Adam Hussain
#ifndef VIB_SENSE
#define VIB_SENSE
#include <Adafruit_MPU6050.h>
#include <Wire.h>
#define w_to_F 6.283185 //2*pi
Adafruit_MPU6050 mpu;
sensors_event_t a, g, temp;
/*Updates Gyro and frequency values */
class MPU6050_data
{
public:
float gx, gy, gz; //gyro xyz
float fx, fy, fz; //frequ... | [
"afymagic@gmail.com"
] | afymagic@gmail.com |
8efd4dea3bf0036da24328c6d9562a3856888cc8 | 7f26fea4799e522ae41ab103737f5bd00aaa19c6 | /dev/floyd/floyd_runtime/variable_length_quantity.cpp | f95c8119536b882625d612e29d233b4ce76fe0ec | [
"MIT"
] | permissive | arielf212/floyd | 508bed3cfa5652174b511d47ba76e3c737a78d66 | 8346a24bfe19a5e02df471d0a6acc323937805f8 | refs/heads/master | 2023-06-10T01:44:41.282665 | 2019-09-01T20:02:53 | 2019-09-01T20:02:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,190 | cpp | //
// variable_length_quantity.cpp
// Floyd
//
// Created by Marcus Zetterquist on 2019-02-22.
// Copyright © 2019 Marcus Zetterquist. All rights reserved.
//
#include "variable_length_quantity.h"
#include <vector>
#include "quark.h"
//////////////////////////////// REFERENCE IMPLEMENTATION
std::vector<uint8_... | [
"marcus.zetterquist@gmail.com"
] | marcus.zetterquist@gmail.com |
041e9d1e3451863dd478551aa75dcccca0fd6a61 | 066cf76004b1449b992641fbbbd5e195ad6c4fc6 | /cpp/tree-RANSAC/external/corrade/src/Corrade/Utility/TweakableParser.h | e9dea6b70ba011defabc1538b409920b27213384 | [
"Unlicense",
"LicenseRef-scancode-public-domain",
"MIT"
] | permissive | ondrej-vesely/GEO1004-hw3 | 3b4bc8b3fa31aef5b6f96a496c1830ca309b2b83 | f30f5b492a9918a336a19d7ce1f272f46677282f | refs/heads/main | 2023-04-10T08:51:07.266167 | 2021-04-15T19:28:36 | 2021-04-15T19:28:36 | 352,589,255 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,821 | h | #ifndef Corrade_Utility_TweakableParser_h
#define Corrade_Utility_TweakableParser_h
/*
This file is part of Corrade.
Copyright © 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016,
2017, 2018, 2019, 2020 Vladimír Vondruš <mosra@centrum.cz>
Permission is hereby granted, free of char... | [
"ondrej-vesely@seznam.cz"
] | ondrej-vesely@seznam.cz |
bc5d01a0dbcb4cb6812058fec3d1272a1aa5ae8c | 6a69d57c782e0b1b993e876ad4ca2927a5f2e863 | /vendor/samsung/common/packages/apps/SBrowser/src/cc/trees/layer_tree_host_common_unittest.cc | 58306c95f26eb63a716c0c775214dd66c3a2d965 | [
"BSD-3-Clause"
] | permissive | duki994/G900H-Platform-XXU1BOA7 | c8411ef51f5f01defa96b3381f15ea741aa5bce2 | 4f9307e6ef21893c9a791c96a500dfad36e3b202 | refs/heads/master | 2020-05-16T20:57:07.585212 | 2015-05-11T11:03:16 | 2015-05-11T11:03:16 | 35,418,464 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 411,114 | cc | // Copyright 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 "cc/trees/layer_tree_host_common.h"
#include <set>
#include "cc/animation/layer_animation_controller.h"
#include "cc/base/math_util.h"
#include... | [
"duki994@gmail.com"
] | duki994@gmail.com |
4ecc12b137621e1ccda7d5e17162caa04c542dc2 | 3ac7658c1554f63865eb92a92a9a9b29f462b797 | /EXP/2019-2020(1) EXP/DualStack/DualStack/main.cpp | 6b447dd7b821007fea351a9e5fe08d24af5f6c23 | [] | no_license | yuhuarong/MyCPPExperiment | 9d8f050c616d97f9725fd5809867aedbaddcf637 | 13cac9edb0a1857a456409ba92151c6a90183ac3 | refs/heads/master | 2020-09-22T16:25:04.214263 | 2019-11-26T17:41:52 | 2019-11-26T17:41:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 760 | cpp | #include <iostream>
#include <string>
#include "SeqList.h"
#include "DualStack.h"
using namespace std;
void testSeqList() {
cout << "---------SeqList------------" << endl;
SeqList list;
int r[] = { 0, 2, 4, 53, 3424 };
SeqList list2(r, 5);
list.Insert(0, 5);
list.Insert(0, 2);
list.Insert(0, 3);
list.Insert(2... | [
"1533144693@qq.com"
] | 1533144693@qq.com |
862fd3c674c979ff5b01f1ad78b835eedaa035a6 | cf3302a478551167d14c577be171fe0c1b4a3507 | /src/cpp/activemq/activemq-cpp-3.2.5/src/main/activemq/wireformat/openwire/marshal/v1/ResponseMarshaller.cpp | bbdfc3a137a1ead889be21d2d3ee45b219aaaf7f | [
"Apache-2.0"
] | permissive | WilliamDrewAeroNomos/muthur | 7babb320ed3bfb6ed7905a1a943e3d35aa03aedc | 0c66c78af245ef3b06b92172e0df62eb54b3fb84 | refs/heads/master | 2016-09-05T11:15:50.083267 | 2015-07-01T15:49:56 | 2015-07-01T15:49:56 | 38,366,076 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,236 | cpp | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | [
"wdrew@aeronomos.com"
] | wdrew@aeronomos.com |
a43e5a4be36b73b2b9d0f30ce42e2519616e38f1 | 85e69612270607973a84a10dd1dc08db8030dac7 | /Tree/Food Chain.cpp | 85e9128a0925227a2cc4f53fc2de3ed2a5a730d7 | [] | no_license | hellozts4120/data-structure | 22f87a01a49b9e79fd981181ddb35fe619c3d03c | 6c6c42525ef90bdacdd24f3d1f875c27fb14c923 | refs/heads/master | 2021-01-01T06:54:54.273841 | 2015-12-03T05:53:45 | 2015-12-03T05:53:45 | 41,429,073 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,322 | cpp | #include<iostream>
#include<cstdio>
#include<cstring>
#define MAX 50005
using namespace std;
int n,k;
int father[MAX];
int ranks[MAX];
//father[A]=B,rank[A]=0表示A与B同类;rank[A]=1表示B可以吃A;rank[A]=2 表示A可以吃B
int Find(int x){
if(father[x] == -1){
return x; //此时它的父节点即为它自己
}
int temp = father[x];
father[x] = Find(father[... | [
"14307110190@fudan.edu.cn"
] | 14307110190@fudan.edu.cn |
d3b89177b732d6df3fef94f979a8cb94bc8c7a2c | 7ebae5ec0378642a1d2c181184460e76c73debbd | /USACO/censorb/censorb/censorb.cpp | 112da21240d2a14a29d9aecaa6af5ed383880699 | [] | no_license | tonyli00000/Competition-Code | a4352b6b6835819a0f19f7f5cc67e46d2a200906 | 7f5767e3cb997fd15ae6f72145bcb8394f50975f | refs/heads/master | 2020-06-17T23:04:10.367762 | 2019-12-28T22:08:25 | 2019-12-28T22:08:25 | 196,091,038 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 533 | cpp | #include <iostream>
#include <string>
#include <sstream>
#include <iomanip>
#include <math.h>
#include <queue>
#include <stack>
#include <vector>
#include <map>
#include <set>
#include <functional>
#include <algorithm>
using namespace std;
int main()
{
string censor, S;
cin >> S >> censor;
string ret;
for (long ... | [
"tonyli2002@live.com"
] | tonyli2002@live.com |
b89a7ccaf67f2a11c18974f682e88fbea827347e | 022ddbfd08623b855f50331861309d5429753d99 | /蓝桥/查找整数/main.cpp | feb710ea2e8b876a39df18d95c998d2879857d66 | [] | no_license | xluos/ACM | 06d6881dac8c12e6e0ded66fc5da43974e3520e7 | e90707178cc203e0e36092dc73bdc807c7daa246 | refs/heads/master | 2020-06-21T07:20:14.584736 | 2018-03-20T13:26:53 | 2018-03-20T13:26:53 | 94,203,765 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 342 | cpp | #include <iostream>
using namespace std;
int myfind(int n,int m,int a[])
{
for(int i=0;i<n;i++)
{
if(a[i] == m)
return i+1;
}
return -1;
}
int main()
{
int n,m = -1,a[1005];
cin>>n;
for(int i=0;i<n;i++)
{
cin>>a[i];
}
cin>>m;
cout<<myfind(n,m,a)<<... | [
"email@xluos.com"
] | email@xluos.com |
456530a316b04213a37ffee2dd9a01594919aba7 | 3392f4bfd574e4f4c8fb1a16d61531f3dda800d7 | /utils/include/utils/utils.h | 1b1e5d39dc1c7e26af1f7b788d74a59508d34208 | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | orsoromeo/cpp_playground | f4e0f90c877e738f2917645e6b09412bdc421f97 | 04fae5ec52aec910becaed56a30366a4e6baa064 | refs/heads/master | 2023-02-18T02:54:18.184191 | 2021-01-18T19:49:31 | 2021-01-18T19:49:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 510 | h | #ifndef UTILS_H
#define UTILS_H
#include <iostream>
#include <typeinfo>
#include <cxxabi.h>
// GCC specfic method to get a rough representation of the absolute name of the type T
// This is just a helper function for debugging.
template <typename T>
void GetName(const T&)
{
#ifdef __GNUG__
int status;
std::st... | [
"21087362+FaBrand@users.noreply.github.com"
] | 21087362+FaBrand@users.noreply.github.com |
284b76b03fc54fec93931794adbaca3da66ac7a5 | 8f86f0146cdd1202fadae202de160afa8a1c29b3 | /lib/MqttConnector/src/MqttConnector.cpp | 2bde9f3f10f95f9de97063454dffc03fda05ec31 | [
"MIT"
] | permissive | cmmakerclub/cmmc_connector_basic_mqtt_dht11 | 7bfc843fb84555d983b4f194ed22577fc8e25530 | 02d822393c5aa8ebda4e95f3880d9f95be35dc13 | refs/heads/master | 2021-01-15T22:18:57.929941 | 2017-08-16T16:30:38 | 2017-08-16T16:30:38 | 99,896,586 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 16,030 | cpp | /*
Copyright Nat Weerawan 2015-2016
MIT License
The MIT License (MIT)
Copyright (c) Nat Weerawan <nat.wrw@gmail.com> (cmmakerclub.com)
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 re... | [
"nat@cmmc.io"
] | nat@cmmc.io |
4463cd5f187d4778029d14b56c4ed7c124b01dc6 | 4286765dc67cbd2fe78efed4b91de4432f9adeb3 | /Anferov/Task1_T9/src/T9_translator.cpp | 7045d12a83a0724bf5cf649e01bc90e7d21848bc | [] | no_license | Garanyan/msu_cpp_spring_2017 | 64293be72b3bea7ac6cfcb21ae148053f36bc8df | 9e3df32c0e0b71c15e3995cf2bf731a4f7270e5d | refs/heads/master | 2020-04-01T23:51:17.836329 | 2017-05-21T17:11:01 | 2017-05-21T17:11:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 940 | cpp | #include "stdafx.h"
#include "T9_translator.h"
using namespace std;
key_def T9_translator::letter2digit(int c) {
static const char key[] = {2,2,2,3,3,3,4,4,4,5,5,5,6,6,6,7,7,7,7,8,8,8,9,9,9,9};
static const char repeat[] = {1,2,3,1,2,3,1,2,3,1,2,3,1,2,3,1,2,3,4,1,2,3,1,2,3,4};
if (c == ' ') return... | [
"igor-anferov@mail.ru"
] | igor-anferov@mail.ru |
b80f8bff5808d69a91a1c0ddd0e1eea8fe2455c4 | fa3050f5e5ee850ba39ccb602804c001d9b4dede | /ash/webui/shimless_rma/mojom/shimless_rma_mojom_traits.cc | 1ac4395160d1bfc83b5f1497241700115701eb97 | [
"BSD-3-Clause"
] | permissive | wayou/chromium | a64c9df7d9c6190f8f9f730e7f68a998ffcabfc9 | f5f51fc460df28cef915df71b4161aaa6b668004 | refs/heads/main | 2023-06-27T18:09:41.425496 | 2021-09-08T23:02:28 | 2021-09-08T23:02:28 | 404,525,907 | 1 | 0 | BSD-3-Clause | 2021-09-08T23:38:08 | 2021-09-08T23:38:08 | null | UTF-8 | C++ | false | false | 25,587 | cc | // Copyright 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 "ash/webui/shimless_rma/mojom/shimless_rma_mojom_traits.h"
#include "base/notreached.h"
#include "chromeos/dbus/rmad/rmad.pb.h"
#include "chrome... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
eb47459779968a79851e62d9e0b234094b04ae25 | 852233b7b484943900d8825eef9363f4a3004c66 | /app/src/main/cpp/pb/google/protobuf/stubs/mutex.h | 2c9040643c60f5b12b70e317567e22eb6061fe66 | [] | no_license | zhourui1207/VmSdkDemo_android | 79a54a8a6eeaa4d364395399d11b6a7a69f0c680 | 2ab2807152b7d266da6083f360a67d689ebd75e4 | refs/heads/master | 2021-01-13T09:36:25.735089 | 2017-11-22T13:01:19 | 2017-11-22T13:01:19 | 72,426,136 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,796 | h | // Copyright (c) 2006, Google Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditi... | [
"332867864@qq.com"
] | 332867864@qq.com |
4b8119dd7ee6ed89aabf5b86ed4dcc5e57af6d1d | c709792f1d067dc59ebdf48f2d0c838de101bb2d | /src/f4se/f4se/GameMenus.h | b0c6a36791136bca315fd4d86f5d517ee1d87d0e | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | levans88/f4se-mirror | f4122a23582326481614f4b0423a1f5b7f7655ff | 1d8271538faf42388fce245470f41cd83db29616 | refs/heads/master | 2020-09-08T09:05:17.133722 | 2019-06-14T11:52:27 | 2019-06-14T11:52:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,332 | h | #pragma once
#include "f4se_common/Utilities.h"
#include "f4se_common/Relocation.h"
#include "f4se/GameInput.h"
#include "f4se/GameTypes.h"
#include "f4se/GameUtilities.h"
#include "f4se/ScaleformAPI.h"
#include "f4se/ScaleformCallbacks.h"
#include "f4se/ScaleformValue.h"
typedef GFxValue* (*_GetChildEle... | [
"osvein@users.noreply.github.com"
] | osvein@users.noreply.github.com |
2fb1e927aed9bb6b73f07fc77b8539c7cb4a335b | c26b7a0948ac4e0d53d15e56fce487e3e681fba6 | /src/bolusGUI/dlgshowdata.h | bf4aac8253909f36e5936b7cf09c023623387399 | [
"Apache-2.0"
] | permissive | dreamshader/bolus | 0a5bfa55436c917808721a0f1aba3c695a2252cc | b63ae2e1821019f920cb8adeff373bafbb5e0008 | refs/heads/master | 2021-07-11T02:28:00.194438 | 2020-07-06T22:21:27 | 2020-07-06T22:21:27 | 138,501,410 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 482 | h | #ifndef DLGSHOWDATA_H
#define DLGSHOWDATA_H
#include <QDialog>
namespace Ui {
class dlgShowData;
}
class dlgShowData : public QDialog
{
Q_OBJECT
public:
explicit dlgShowData(QWidget *parent = nullptr);
~dlgShowData();
void displayDataRecord( void );
private slots:
void on_btnPrevRec_clicked();
... | [
"dreamshader@gmx.de"
] | dreamshader@gmx.de |
4aeeb819e321e0abcfdba6aa683fd57b64509ce3 | 4473ae7c91e143f5834f04c2979c17bc80fde4e2 | /srrg2_core/src/srrg_property/property_container_manager.cpp | b27f2a6e6eb21b9a8f52ce398faa2fd4d3682b62 | [
"BSD-3-Clause"
] | permissive | mfkiwl/srrg2_core | b09608b3ba9fad5e48894bf8653cb7909d77ff26 | 2a11c6c65ee08ff681e76482ed8c05e4141909e5 | refs/heads/master | 2022-06-25T14:08:27.003646 | 2020-05-11T13:08:07 | 2020-05-11T13:08:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,002 | cpp | #include <cassert>
#include <dlfcn.h>
#include <gnu/lib-names.h>
#include <iostream>
#include "srrg_boss/deserializer.h"
#include "srrg_boss/json_object_writer.h"
#include "srrg_boss/serializer.h"
#include "srrg_system_utils/env.h"
#include "srrg_system_utils/shell_colors.h"
#include "srrg_system_utils/system_utils.h"... | [
"ialoise@diag.uniroma1.it"
] | ialoise@diag.uniroma1.it |
10d728454861e561904dcf0c4d927a946ea41e27 | 6188978ac378e1b84532414de49e8cf32c610104 | /mednafen/video/png.cpp | c49672940c380d4d4dd81f958080ee9a85f4bbf0 | [] | no_license | capnslipp/Mednafen-Core | 22b823f0a49a42b5368a0236aa6f172d48230972 | 66dc9243016db5e162f2bc6b1dd12f6a585806f7 | refs/heads/master | 2021-01-14T11:57:23.505816 | 2015-04-11T00:34:37 | 2015-04-11T00:34:37 | 33,756,804 | 0 | 0 | null | 2015-04-11T00:35:19 | 2015-04-11T00:35:18 | null | UTF-8 | C++ | false | false | 5,683 | cpp | /* Mednafen - Multi-system Emulator
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distrib... | [
"brymaster@gmail.com"
] | brymaster@gmail.com |
69a077430677acdac67dd6cfe65e4ab8ac35dda5 | 23ce9939fddf910c090bda03618023f74a7337de | /GameOfLife/src/OpenCLMode.h | c13f87553d9b2db1077aa8150bdda0f194f900a7 | [] | no_license | schwittlick/ParallelOptimization | 4f21d88ab9d703b8f179e661488257a3fa3eb59a | b2160c4781aec83103eab249f361a5462501e2ae | refs/heads/master | 2021-05-27T19:26:08.065894 | 2013-09-27T10:22:38 | 2013-09-27T10:22:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,952 | h | #pragma once
#include "ofxState.h"
#include "SharedData.h"
#include "Colony.h"
#include "ofxUI.h"
#include "Timer.h"
#include <string>
#include <CL\opencl.h>
#include <iostream>
#include <fstream>
#include <sstream>
#include <string>
#include "Cell.h"
class OpenCLMode : public itg::ofxState<SharedData>
{
public:
... | [
"marzzzel@gmail.com"
] | marzzzel@gmail.com |
c5a2a5d407e27b109c93201c2aaa7a0923de114f | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/git/new_hunk_7113.cpp | 1653395a134cc1ebf24c230f92db7149b85ab636 | [] | 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 | 283 | cpp | if (show_all) {
printf("usage: %s\n\n", git_usage_string);
list_commands();
printf("%s\n", git_more_info_string);
return 0;
}
if (!argv[0]) {
printf("usage: %s\n\n", git_usage_string);
list_common_cmds_help();
printf("\n%s\n", git_more_info_string);
return 0;
}
| [
"993273596@qq.com"
] | 993273596@qq.com |
f685f4691954c89b047046fcb5c36645a14efdcb | 18146d0b9af100224ccc9fa994529e66aab64944 | /src/net.cpp | dde17ee8d43b9f8dbb3d609c7323ca7a359031a6 | [
"MIT"
] | permissive | proffilit/selitcoin | 587e9c3c9ed4183226cd7efa4e6c9a46927f34b6 | 4caaf7f463b60bf1360b4cca6613bc3ff9bc89e2 | refs/heads/master | 2021-01-17T06:48:13.434377 | 2016-06-29T17:10:17 | 2016-06-29T17:10:17 | 56,967,804 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 53,007 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Copyright (c) 2011-2012 Litecoin Developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "irc.h"
#include "db.h"
#i... | [
"70proffilit70@gmail.com"
] | 70proffilit70@gmail.com |
fa40e12662faafacd90650aa9eda7c9cde678f0e | 9acc7813bb1e46bda24811e7942bad7f194329ed | /assignment 1/all root.cpp | 73e9b399c2f9ac06c6c9b22ffd77defb72c4adc2 | [] | no_license | KaziShoaib/NumericalMethods-IIUC | 7c4e56a53af16fd16c4d82f91aff122f4ff00737 | e575e23d630f30ae6f2aa3488d67c4627dd30432 | refs/heads/master | 2022-08-09T20:08:33.744452 | 2019-02-08T14:15:15 | 2019-02-08T14:15:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,977 | cpp | #include<iostream>
#include<cmath>
#define E .0005
using namespace std;
int n, deg, counter, iteration;
double co[100], dco[100], x1, x0, roots[100];
void input(void)
{
int i;
cout<<"input degree of equation : ";
cin>>n;
deg=n;
for(i=n;i>=0;i--)
{
cout<<"input co-efficient of x^"<<i<<... | [
"shoaib.iiuc.cse@gmail.com"
] | shoaib.iiuc.cse@gmail.com |
47c49d30c2c0b331e1ccadfcdc92ebfb9d8dbc13 | 777a75e6ed0934c193aece9de4421f8d8db01aac | /src/Providers/UNIXProviders/KDCIssuesKerberosTicket/UNIX_KDCIssuesKerberosTicket_ZOS.hxx | 108d0612b625ecf8d7dacbdc15f95f92024d35ca | [
"MIT"
] | permissive | brunolauze/openpegasus-providers-old | 20fc13958016e35dc4d87f93d1999db0eae9010a | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | refs/heads/master | 2021-01-01T20:05:44.559362 | 2014-04-30T17:50:06 | 2014-04-30T17:50:06 | 19,132,738 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 140 | hxx | #ifdef PEGASUS_OS_ZOS
#ifndef __UNIX_KDCISSUESKERBEROSTICKET_PRIVATE_H
#define __UNIX_KDCISSUESKERBEROSTICKET_PRIVATE_H
#endif
#endif
| [
"brunolauze@msn.com"
] | brunolauze@msn.com |
82f443b500f3dda2c74bf0def68b97b70b795919 | b4377eb1749729819d9affa3b290425082501aa9 | /firsttest-master/class.h | abe0e9300fce13515fb1a322f74b3742cc2cf7c8 | [] | no_license | dawendiguo/myc- | bccd7e146e9030558a1a526c8d3c97a2b33160cb | 692a84efd541fdad6885c1da7d782d5809cdf08c | refs/heads/master | 2021-01-18T19:28:49.359429 | 2019-09-08T15:02:21 | 2019-09-08T15:02:21 | 59,921,391 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 321 | h | #include<iostream>
#include<string.h>
using namespace std;
class Student
{
public:
Student(int i,char na[20],char s)
{num=i;
strcpy(name,na);
sex=s;
}
void display()
{cout>>"num:">>num>>endl;
cout>>"name">>name>>endl;
cout>>"sex">>sex>>endl;
}
pvivate:
int num;
char name[20];
char sex;
};... | [
"dawendiguo88@live.com"
] | dawendiguo88@live.com |
cf56047af82bbba0bb05097b2b8ac79ef7d59b8d | 8d229d2e04abaf35da511ab39301f0a8723ab0f2 | /tt.h | 23e94559ef61d68c891e95664ec5b5c951f634bc | [] | no_license | Suhanip/School-Management-System | 49d88e59c2637b34d58d380994ba8352a50dd46c | 001013166c70de7dc0b543de9b4b2306e766a11f | refs/heads/master | 2022-11-10T21:29:10.162265 | 2020-06-08T13:29:21 | 2020-06-08T13:29:21 | 270,570,758 | 1 | 0 | null | 2020-06-08T07:26:54 | 2020-06-08T07:22:17 | null | UTF-8 | C++ | false | false | 4,147 | h | #include <bits/stdc++.h>
#include <iostream>
#include <iterator>
#include<fstream>
#include <map>
using namespace std;
class attendance{
public:
int mathat;
int chemat;
int phyat;
int cseat;
int show()
{
cout<<mathat<<setw(16)<<chemat<<setw(16)<<phyat<<setw(16)<<cseat<<endl;
}
... | [
"kushan0342@gmail.com"
] | kushan0342@gmail.com |
427c5cb5db665ceef8565f1665dfd77b1a4e7d22 | c91d781eeea756b186b98bce035db2d979c2ac06 | /lib/sparkbox/filesystem/public/sparkbox/filesystem/filesystem_manager.h | d35e12c728a8eb605b4a7385a77fadc6103141eb | [] | no_license | patrick24r/sparkboxHD | 77c8113e197d03162e9ea6df25d529505f560fb3 | 08537b3eb9c5d17168409269550efd165d03ad39 | refs/heads/master | 2023-09-01T11:18:28.176934 | 2023-08-30T03:26:18 | 2023-08-30T03:26:18 | 204,087,857 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 358 | h | #pragma once
#include "sparkbox/filesystem/filesystem_driver.h"
namespace sparkbox::filesystem {
class FilesystemManager {
public:
FilesystemManager(FilesystemDriver& driver) :
driver_(driver) {
driver_.Init();
}
void RunTest();
void RunDirectoryTest();
private:
FilesystemDriver& driver_;
}... | [
"patrick24r@gmail.com"
] | patrick24r@gmail.com |
2b7c580692d940688682e125106d6d19d6f8f914 | 806754d57c15d8b9b18119e4cc70e860907b7f2e | /EmbSysLib/Lib/Example/Hardware/Common/cHwEncoder.cpp | 714510c1d12480b6e34d7a2dfa79a8034b1efb94 | [
"MIT"
] | permissive | NXTRobot2k17/Orgel | 9fa26825e4a622b7bd8416c69c685e2b95ba070d | a31b1457d85159bd432f58498bc090ab51c87359 | refs/heads/master | 2021-01-23T05:08:54.323535 | 2017-07-10T15:36:50 | 2017-07-10T15:36:50 | 92,952,394 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 714 | cpp | //*******************************************************************
/*!
\file cHwEncoder.cpp
\author Thomas Breuer
\date 30.03.2015
\brief Sample of using hardware related classes
*/
//*******************************************************************
#include <stdio.h>
//************************************... | [
"karsten.dehren@brsmotorsport.de"
] | karsten.dehren@brsmotorsport.de |
4f445065ef75df727036ee21642a3e653291d979 | 7abcadaefba80b3f16e18960a216c97dfc47e3d2 | /cx_src/anim/player_rock_x.hpp | c7433f75daa301359fd8510bc6acbcc9578ab050 | [] | no_license | rufaswan/CX | ce9e5545860fc56c216f986b4564bb66f253ab70 | 1f491208ca9cacfa6ff4c651db54039a329e3dbb | refs/heads/master | 2021-09-28T18:26:08.840540 | 2018-11-19T11:29:56 | 2018-11-19T11:29:56 | 9,579,379 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,742 | hpp | class RockX : public EntityData {
private:
bool m_jumped;
bool m_jump_hold;
int m_jump_cnt;
int m_jump_max;
int m_noshot;
protected:
public:
enum STATE {
STAND = 0,
SHOT = 49,
STD_W = 30,
WALK = 3,
JUMP = 23,
FALL = 26,
LAND = 28,
DASH = 54,
WALL = 39,
CLMB = 42,... | [
"rufaswan@gmail.com"
] | rufaswan@gmail.com |
4c4b7cbb51a3ee9aadd00263bf729af4b7da3d6b | 31d2ff5b2d70ad6afc047c31339875b4ab4e4975 | /chrome/browser/vr/ui_input_manager.cc | fd571342cc33a8979ee5a34f8fe1007eba4da9a4 | [
"BSD-3-Clause"
] | permissive | DalavanCloud/chromium | 3d0934237ac6604158ed8db649d5e08d95e6c702 | 6a4703692d4e6f1480cc9d32a8677ff8c2a51c16 | refs/heads/master | 2023-01-01T17:13:36.512656 | 2018-07-13T14:37:55 | 2018-07-13T14:37:55 | 140,859,288 | 1 | 0 | null | 2018-07-13T14:48:30 | 2018-07-13T14:48:30 | null | UTF-8 | C++ | false | false | 17,403 | cc | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/vr/ui_input_manager.h"
#include <algorithm>
#include "base/containers/adapters.h"
#include "base/macros.h"
#include "base/memor... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
dbf6b548c9dbd976c15a3d0f095d03b972c33499 | 112f8258e211e7c565ae6daebe297ee78ff1722e | /Chapter 03/Ex3_12.cpp | 2790ba3e68b5ba8bc74fe997c69918cf6692eed0 | [] | no_license | vukhuyen/CPlusPlus | c4a39356eaa6310ad7abb5baa824c833ab26dfdc | 28949fff0033c4f34e84c4853879c30da8eda3e8 | refs/heads/master | 2021-06-05T21:09:27.412519 | 2017-12-14T00:54:23 | 2017-12-14T00:54:23 | 11,208,180 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 958 | cpp | // Ex3_12.cpp
// Using a while loop to compute an average
#include <iostream>
using std::cin;
using std::cout;
using std::endl;
int main()
{
double value {}; // Value entered stored here
double sum {}; // Total of values accumulated here
int i {}; // Coun... | [
"khue.vu@navy.mil"
] | khue.vu@navy.mil |
5bcdbf5c0391795126f2168147285418785b7d6f | b0dc293c331c50b9082b1c1af037b07b7d8d4bc4 | /rkdnseprmfwk.cpp | fe5c8bda6fc0f9398f746e400aa7724eb708ae31 | [] | no_license | Ironee1617/Programmers | 477c7f686dbe158223346743a47cb0dfc0b28d37 | 335367e20f600f7b3bdbf6d4ddf52a17412ea321 | refs/heads/main | 2023-05-29T02:59:35.296512 | 2021-06-02T15:08:38 | 2021-06-02T15:08:38 | 359,445,277 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 250 | cpp | #include <string>
#include <vector>
using namespace std;
string solution(string s) {
string answer = "";
int a = s.size();
if (a % 2 == 0) {
a /= 2;
answer = s.substr(a - 1, 2);
}
else {
a /= 2;
answer = s.at(a);
}
return answer;
} | [
"ironee1617@gmail.com"
] | ironee1617@gmail.com |
5fc3251f9062ec640dac4e1baffa921f77cbc29e | 264198f21472fae6d78aedcaf39295cc2d5a5865 | /Source/MyActionRPG/Struct/ItemInfo/ItemInfo.h | 9cea643eb070603c24335cbb5ef4c4eccf4495f8 | [] | no_license | Phudal/MyActionRPG | 271f76b589dd35ddc33702677559ac40987e0722 | 0b1fb98de3f00a1a400951712db9442eecc37330 | refs/heads/main | 2023-07-13T03:14:07.321020 | 2021-08-06T11:36:48 | 2021-08-06T11:36:48 | 384,091,974 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,482 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Engine/DataTable.h"
#include "Enum/ItemType.h"
#include "ItemInfo.generated.h"
USTRUCT()
struct MYACTIONRPG_API FItemInfo : public FTableRowBase
{
GENERATED_USTRUCT_BODY()
public:
//... | [
"080_075@naver.com"
] | 080_075@naver.com |
222022400b69bbf3a3cbfde1f90bcf9384c80f4e | 8fb3a7a95985e7d61aec85b201a96265e599d44c | /IR_Led.ino | e76880b22669cac92483b33876ed02fad85477f7 | [
"Apache-2.0"
] | permissive | aksharsramesh/Amaze2019 | a2f596939d2ccb821e449de71dd7facbe00337af | 80e2c05e169d6d3042dc06cf9dbd02d074e11479 | refs/heads/master | 2020-04-25T00:13:32.319638 | 2019-03-21T11:12:46 | 2019-03-21T11:12:46 | 172,371,509 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 261 | ino | int ir = 13, led = 10, a;
void setup() {
pinMode(ir,INPUT);
pinMode(led,OUTPUT);
Serial.begin(9600);
}
void loop() {
a= digitalRead(ir);
Serial.println(a);
if(a==1)
{
digitalWrite(led,HIGH);
}
else
{
digitalWrite(led,LOW);
}
}
| [
"aksharsramesh@gmail.com"
] | aksharsramesh@gmail.com |
e31b879618f3750c5aaf1fa60d3f9a6d1fed0672 | ef66dadf885506c94897f7c6727c35a6b5d9b7d3 | /art-extension/compiler/optimizing/extensions/passes/peeling.cc | f8549e1f95dd77e2839523f7398aabf5e275c740 | [
"Apache-2.0",
"NCSA",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | pramulkant/https-github.com-android-art-intel-marshmallow | aef8d075498f3c19712403c271b55ea457e053ec | 87e8c22f248164780b92aaa0cdea14bf6cda3859 | refs/heads/master | 2021-01-12T05:00:35.783906 | 2016-11-07T08:34:41 | 2016-11-07T08:34:41 | 77,827,976 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,470 | cc | /*
* Copyright (C) 2015 Intel Corporation
*
* 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... | [
"aleksey.v.ignatenko@intel.com"
] | aleksey.v.ignatenko@intel.com |
ba4c4a5cf2659eff99f4c358cae8eaf06a262255 | f6c14d0a503f3145e6d84c400e8b91418b626afc | /projetoPONG.ino | f50cb1d9e58368eba0dd5a9349c41a453caf2039 | [] | no_license | VinniciusL/POO | ec79683cb1e0597ea667d91850d3b42ddf01a0c2 | e80f255267ed8754d5af11d3d9ebbf2d124e932f | refs/heads/master | 2020-06-27T04:27:43.679367 | 2019-11-22T11:13:51 | 2019-11-22T11:13:51 | 199,844,197 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 28,959 | ino |
// =============================================================================================================
// --- Declaração dos Caracteres Customizados ---
// =============================================================================================================
// -- Caracteres para a Parede --
... | [
"noreply@github.com"
] | noreply@github.com |
229f6b3f816e35fd7b3cca96037f2cbec84a4cd5 | a3c83318e5adc064816b7411e6c4b82a40833477 | /rclcpp/executors/cbg_executor/src/examples_rclcpp_cbg_executor/ping_node.cpp | 4b65cb7336f7250093f3303e8511999744b17604 | [
"Apache-2.0"
] | permissive | ros2/examples | ffce506f1aed06e1d9cb3c4c7647f5796763de0d | 1d97c4fc7445554f6f85f63305d424fc017212a0 | refs/heads/rolling | 2023-08-22T18:27:34.258624 | 2023-07-11T20:10:08 | 2023-07-11T20:10:08 | 21,909,749 | 560 | 328 | Apache-2.0 | 2023-06-20T11:42:06 | 2014-07-16T17:11:20 | C++ | UTF-8 | C++ | false | false | 4,067 | cpp | // Copyright (c) 2020 Robert Bosch GmbH
//
// 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 agr... | [
"noreply@github.com"
] | noreply@github.com |
2cee294c0e4a2b6ce2e4c111ebb7aaddf4644de6 | add6d8eea5c2ea65bed56bf6939b5185b9ee14a5 | /stack/stack.h | 732916549568980ff9a415cd53087ce6ed25551a | [] | no_license | bcbcarl/data-structures | 0e70e2c9b4c9d6ffa045d07609aab5c4abe4efd0 | 60faca522938568064c4cc9ab52f71123a04230b | refs/heads/master | 2021-01-19T07:13:23.586774 | 2017-04-11T17:32:00 | 2017-04-11T17:32:00 | 87,529,100 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 510 | h | #ifndef CARL_STACK_H
#define CARL_STACK_H
#include <list>
namespace carl {
template <typename T>
class Stack {
public:
bool empty() const noexcept {
return stack_.empty();
}
size_t size() const noexcept {
return stack_.size();
}
const T& top() const {
return stack_.back()... | [
"bcbcarl@gmail.com"
] | bcbcarl@gmail.com |
d6e5e9386372935e8281385affa92c3eb1ba77ea | 177a619d09dc04cfa1ad11700fe5c10683555702 | /16-1hangman.cpp | f2aa74a93e6c8127bd33e9855cd40a262f2e275d | [] | no_license | Hanaydn/LearningCpp | 4b1ddaea300c169c1c00eaca397d0c58d3bb382a | 62f852c2d68fb195708f2bb0d0f1e948aadfde11 | refs/heads/master | 2020-03-22T05:02:05.307573 | 2018-07-27T03:59:17 | 2018-07-27T03:59:17 | 139,537,481 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,915 | cpp | #include<iostream>
#include<string>
#include<cstdlib>
#include<ctime>
#include<cctype>
using namespace std;
const int NUM = 26;
const string wordlist[NUM] = {"apiary", "beetle", "cereal", "danger", "ensign", "florid", "garage", "health", "insult", "jackal", "keeper", "loaner", "manage", "nonce", "onset", "plaid", "quil... | [
"ydanni_fanmily@163.com"
] | ydanni_fanmily@163.com |
d0653249cb2089e89f4423eae4f118998fe8c072 | 0c87193ec953a53d6f25d3d7ed6a6d7492fe65af | /CannyStill1.cpp | e936e910aef06be1ca0d41315434a7dc4dd6aa6e | [] | no_license | Louieboy246/Thesis | 19df3913b55afb4a245746172bddb10dd532fb5e | 80dfc1a762ec8bc8b47c2724ab25159a1c7336d3 | refs/heads/master | 2021-01-12T00:13:48.227933 | 2017-01-12T00:15:29 | 2017-01-12T00:15:29 | 78,691,787 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,700 | cpp | // CannyStill.cpp
#include<opencv2/core/core.hpp>
#include<opencv2/highgui/highgui.hpp>
#include<opencv2/imgproc/imgproc.hpp>
#include<iostream>
///////////////////////////////////////////////////////////////////////////////////////////////////
int main() {
cv::Mat matOriginal; // input image
cv::Mat... | [
"noreply@github.com"
] | noreply@github.com |
9b942c87c9c880a662400b0aaa6d8417f9ac769d | 6e09d72177402b133921a0cc611d4fbeabcf3aed | /Cpp/VS2005/book/book/二维数组找最大值.cpp | 8da0c724e1b34bf015533b6110f9027b221bb3c1 | [] | no_license | aravinda-kumar/Code | 4f91617c79569cccb7bbf517a3699d16fa7e1377 | eccdee6fe73237e2982b128a04813c854e4cfd4d | refs/heads/master | 2020-05-01T10:31:20.940519 | 2019-03-24T05:09:01 | 2019-03-24T05:09:01 | 177,422,267 | 1 | 0 | null | 2019-03-24T13:59:14 | 2019-03-24T13:59:14 | null | UTF-8 | C++ | false | false | 724 | cpp | //#include <iostream>
//using namespace std;
//
//int max_value(int i_a[][4]);
//
//int main()
//{
// int i_a[3][4]={5,12,23,56,19,28,37,46,-12,-34,6,8};
// cout << "The biggest number is:" << max_value(i_a) << endl;
// cout << "It is in NO." << i_row+1 << " row, and NO." << i_colum+1 << " colum." << endl;
// system(... | [
"1109478681@qq.com"
] | 1109478681@qq.com |
133fe8ff0e0a0e31e74e158400b496bbc38f09bd | 8042163dbac5ddf47f078b4d14f4eb6fe1da030d | /tensorflow/lite/micro/kernels/svdf.cc | ba7cb05da57aa403e758ce64df3a1348996f07d0 | [
"Apache-2.0"
] | permissive | AITutorials/tensorflow | 4513de8db4e9bb74b784f5ba865ef8a573b9efc1 | 6bee0d45f8228f2498f53bd6dec0a691f53b3c7b | refs/heads/master | 2022-07-29T13:37:23.749388 | 2020-06-11T17:47:26 | 2020-06-11T17:57:06 | 271,615,051 | 3 | 0 | Apache-2.0 | 2020-06-11T18:07:11 | 2020-06-11T18:07:10 | null | UTF-8 | C++ | false | false | 21,074 | cc | /* Copyright 2019 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | [
"gardener@tensorflow.org"
] | gardener@tensorflow.org |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.