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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
800726eb50378b3cc049cc431855ec8ff7c47c14 | e5e0d729f082999a9bec142611365b00f7bfc684 | /tensorflow/core/grappler/optimizers/gpu_swapping_ops.cc | 46828346da608a237528da2a2a8070c57946f762 | [
"Apache-2.0"
] | permissive | NVIDIA/tensorflow | ed6294098c7354dfc9f09631fc5ae22dbc278138 | 7cbba04a2ee16d21309eefad5be6585183a2d5a9 | refs/heads/r1.15.5+nv23.03 | 2023-08-16T22:25:18.037979 | 2023-08-03T22:09:23 | 2023-08-03T22:09:23 | 263,748,045 | 763 | 117 | Apache-2.0 | 2023-07-03T15:45:19 | 2020-05-13T21:34:32 | C++ | UTF-8 | C++ | false | false | 2,180 | cc | /* Copyright 2018 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... | [
"gunan@google.com"
] | gunan@google.com |
a5a2da1d87c4fb40199dc570cde5e4f5f9f5ad9c | cec1016b6392a1514e241db0f10f27034fd45da1 | /FindYourAnswer/comment.h | 2dcf10c4ffd67ed7055c6f86d9487da4dfd4f1cc | [] | no_license | zh-bupt/qt_project | 50a89e34b5b5909e1197a7997f517a477c6774c3 | cbe8ddc19fc595efb7362c4ccb82ce062b15eb08 | refs/heads/master | 2021-07-18T18:18:41.411057 | 2017-10-26T15:25:34 | 2017-10-26T15:25:34 | 108,382,471 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 835 | h | #ifndef COMMENT_H
#define COMMENT_H
#include <QString>
#include "baseinfo.h"
#include <QTextStream>
using namespace std;
class Comment : public BaseInfo
{
public:
Comment();
Comment(int creator_id, QString context);
Comment(int creator_id, QString context, int questionId);
Comment(int id,int creator_... | [
"zh2015211203@bupt.edu.cn"
] | zh2015211203@bupt.edu.cn |
61998f261b2ca6d976a6b7d6c273b027db2889bf | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/collectd/gumtree/collectd_repos_function_2086_collectd-5.6.1.cpp | 90d6e7d4ad1b876a1c16c2511a229a7d18ab3ef4 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 271 | cpp | static int
uuid_init (void)
{
char *uuid = uuid_get_local ();
if (uuid) {
sstrncpy (hostname_g, uuid, DATA_MAX_NAME_LEN);
sfree (uuid);
return (0);
}
WARNING ("uuid: could not read UUID using any known method");
return (0);
} | [
"993273596@qq.com"
] | 993273596@qq.com |
665babc4f6f8927bd93bc52e9143beef0fdd43aa | d676ef70a10292dabc7b902e8c293b223dc07c62 | /lodepng.cpp | 742766f028f9ed9a8cfe9a419404f82c2f111bf5 | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | wreynard/bc7e | a7730ca6258361d7795b2dc1118c44e740a24d8a | ef06a8bb5d0759a5532aa7a00ffa3234ccc0a12b | refs/heads/main | 2023-08-30T20:47:59.631980 | 2023-08-19T21:10:24 | 2023-08-19T21:10:24 | 313,484,572 | 0 | 0 | Apache-2.0 | 2020-11-17T02:27:19 | 2020-11-17T02:27:19 | null | UTF-8 | C++ | false | false | 209,685 | cpp | /*
LodePNG version 20161127
Copyright (c) 2005-2016 Lode Vandevenne
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
incl... | [
"richgel99@gmail.com"
] | richgel99@gmail.com |
bd790fb2cfc6d085047dd3d120712fd90d639218 | 45fae03aa16bbdb6246771fe3846c85ba7a2ca03 | /MYDEVC/CPROGS/agecalcsimple.cpp | a2e6bee15d50fc9d6c19543673aff113ce2473fc | [] | no_license | dipendughosh/programs | 4ae1e350bb90c000a1056ef1f3f37d78a989187c | ce3149dcd4c6925c79deac356f7eea66f29b61aa | refs/heads/master | 2023-03-17T06:52:05.638866 | 2023-03-07T20:31:40 | 2023-03-07T20:31:40 | 130,804,144 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 863 | cpp | // Age calculation where month = 30 days by default
#include <iostream.h>
#include <stdlib.h>
#include <conio.h>
int main()
{
int dob,mob,yob,curday,curmon,curyear;
int agemon = 0,ageday = 0, ageyear = 0;
cout<<"Enter date of birth : \n";
cout<<"Day : "; cin>>dob;
cout<<"Month : "; cin>>mob;
... | [
"dipendughosh@gmail.com"
] | dipendughosh@gmail.com |
fb5727ca6cda3b6d6bf76dee5c83079b6781569a | af828ccfbf4a30657d2adcd7e16d973830de1c39 | /Ledlib/Events/EventManager.h | bba14294018d8ebfdedfa778633898aa2f37f89c | [] | no_license | thejoggeli/matrix-raspi-3d | 0d682c4ab8bc5e78a5cb59731c526a5477d92959 | 7f62b741ac618bb6d4e08ea0b9bddbaa42532216 | refs/heads/master | 2021-06-26T21:48:06.459979 | 2020-10-26T10:56:26 | 2020-10-26T10:56:26 | 172,988,332 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 746 | h | #pragma once
#include <string>
#include <vector>
#include <memory>
namespace Ledlib {
class Event;
class MessageEvent;
class EventListener;
class EventManager {
private:
static int initCounter;
EventManager();
public:
static unsigned int eventCounterTemp;
static unsigned int eventCounterTotal;
static bool Init... | [
"michi.pfaendler@gmail.com"
] | michi.pfaendler@gmail.com |
630a00bd89a4bda0066020f2662007715ce665b4 | 81ff0719044b7fb6a2d75f4d606183ce3b342c6a | /Lab18/insertion_sort.cpp | d2f7d752b94fa58d4c48412c2364c4345dfdcbc9 | [] | no_license | Hpkage/cs201 | 18c67eea4bddde70cfca3733aa54e56460abab77 | 390c65147d267a87ab58f5db8420233bd157b903 | refs/heads/master | 2023-01-25T03:58:52.128201 | 2020-12-07T06:16:56 | 2020-12-07T06:16:56 | 290,391,964 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,425 | cpp | /**
* @file insertion_sort.cpp
* @author Student Name
* @version Feb 17, 2019
* John Quan
* @brief
*/
#include <iostream>
#include <vector>
void insertionSort(std::vector<int> & data) {
// TODO Write the code for insertionSort
int j, key;
for (int i = 0; i < data.size(); i++) {
key = data[i];
j =... | [
"hpkageyama@alaska.edu"
] | hpkageyama@alaska.edu |
d3d470e7f4dc9c1563a02c54f26a7223bd366aa5 | 470af688bbe0f5c4aa35f67856cdf0270f369a8e | /webserver.ino | 3e546d6151188fc00380e627eb415c442896f71b | [] | no_license | smartswitchsio/test1 | 81bd529b2230d096f66af24977f88b6bc2baeaef | 5ca8dca49f7a2dd276822ce9abd842f970655868 | refs/heads/main | 2023-04-08T15:29:51.334600 | 2021-04-16T14:38:51 | 2021-04-16T14:38:51 | 358,628,518 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,632 | ino |
/*Socket messages*/
void ICACHE_FLASH_ATTR onWsEvent(AsyncWebSocket *server, AsyncWebSocketClient *client, AwsEventType type, void *arg, uint8_t *data, size_t len)
{
//Handle WebSocket event, onEvent
if(type == WS_EVT_CONNECT){
dtdisplay = true;
} else if(type == WS_EVT_DISCONNECT){
... | [
"noreply@github.com"
] | smartswitchsio.noreply@github.com |
0b257cba5ee9f6c2e98bee462c86538f68f1bb3e | 8ddc8bec29139f480e08ec3c6d0081027c61d6a9 | /engine/graphics/ShaderProgram.h | 4ce10f8215f4fbc63d5b2ed3ae0cda74a52ea579 | [
"MIT"
] | permissive | TremaineDM/Engines | bf916439f0ded3ed36a959233bfd8b02d71e94eb | 88dacaddc633ad341b9a2559a9a80b9dd01b09de | refs/heads/master | 2023-09-03T04:58:05.303654 | 2021-11-24T14:15:43 | 2021-11-24T14:15:43 | 337,858,826 | 0 | 0 | MIT | 2021-05-26T19:33:16 | 2021-02-10T21:28:58 | C++ | UTF-8 | C++ | false | false | 1,208 | h | #ifndef SHADER_PROGRAM_H
#define SHADER_PROGRAM_H
#include <vector>
#include <string>
#include "SDL_stdinc.h"
#include "math/Matrix.h"
#include "glew/glew.h"
class ShaderProgram
{
friend class ShaderManager;
GLuint programID;
GLuint LinkShaders(const std::vector<GLint>& shaders);
public:
ShaderProgram();
... | [
"54917119+TremaineDM@users.noreply.github.com"
] | 54917119+TremaineDM@users.noreply.github.com |
7a1e0b6b57ad1d869d8331b466697c490c721060 | 948f4e13af6b3014582909cc6d762606f2a43365 | /testcases/juliet_test_suite/testcases/CWE121_Stack_Based_Buffer_Overflow/s08/CWE121_Stack_Based_Buffer_Overflow__placement_new_declare_64b.cpp | c80867449f994f49d1c26fcc38ed2e933620ca60 | [] | no_license | junxzm1990/ASAN-- | 0056a341b8537142e10373c8417f27d7825ad89b | ca96e46422407a55bed4aa551a6ad28ec1eeef4e | refs/heads/master | 2022-08-02T15:38:56.286555 | 2022-06-16T22:19:54 | 2022-06-16T22:19:54 | 408,238,453 | 74 | 13 | null | 2022-06-16T22:19:55 | 2021-09-19T21:14:59 | null | UTF-8 | C++ | false | false | 3,836 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE121_Stack_Based_Buffer_Overflow__placement_new_declare_64b.cpp
Label Definition File: CWE121_Stack_Based_Buffer_Overflow__placement_new.label.xml
Template File: sources-sinks-64b.tmpl.cpp
*/
/*
* @description
* CWE: 121 Stack Based Buffer Overflow
* BadSource:... | [
"yzhang0701@gmail.com"
] | yzhang0701@gmail.com |
85f6cf7e97feaeb2868e9dd93d08b9e2c7f2943a | 9d364070c646239b2efad7abbab58f4ad602ef7b | /platform/external/chromium_org/base/android/build_info.h | d9a7d32a81d3285a0e8e43d98e4aa15fc0293a1b | [
"BSD-3-Clause"
] | permissive | denix123/a32_ul | 4ffe304b13c1266b6c7409d790979eb8e3b0379c | b2fd25640704f37d5248da9cc147ed267d4771c2 | refs/heads/master | 2021-01-17T20:21:17.196296 | 2016-08-16T04:30:53 | 2016-08-16T04:30:53 | 65,786,970 | 0 | 2 | null | 2020-03-06T22:00:52 | 2016-08-16T04:15:54 | null | UTF-8 | C++ | false | false | 2,104 | h | // 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.
#ifndef BASE_ANDROID_BUILD_INFO_H_
#define BASE_ANDROID_BUILD_INFO_H_
#include <jni.h>
#include <string>
#include "base/base_export.h"
#include "ba... | [
"allegrant@mail.ru"
] | allegrant@mail.ru |
4600b786312e14fb4fff9a32ce97df55f5be9ec6 | 40f2d3566e815babca5ccf748a2501118eaa4576 | /Problem 50/main.cpp | 99a235fdc7b2791ea1efd720e8763d469d39b3da | [] | no_license | tranthanhsongitrepo/On-tap-CTDL | 006ddca30789342976663757dc4211408e5e8935 | 5219235a7c6c3afacd618eba5a4263be285e9019 | refs/heads/master | 2020-07-02T15:54:02.530938 | 2019-08-10T04:10:12 | 2019-08-10T04:10:12 | 201,577,695 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 432 | cpp | #include <iostream>
#include <algorithm>
using namespace std ;
int main() {
int n;
cin >> n;
int a[n];
for (int i = 0; i < n; i++) {
cin >> a[i];
}
sort(a, a + n);
int q;
cin >> q;
for (int i = 0; i < q; i++) {
int temp;
cin >> temp;
cout << upper_bou... | [
"tranthanhsonwork1999@gmail.com"
] | tranthanhsonwork1999@gmail.com |
259701aa08b38b385a4b3b7912642767737dfe3d | 1c33b6fd7fbf966a961ccd679ad2ba344f2fc05f | /2018/10194 - Football (aka Soccer).cpp | 5ec3e189e93def625c87a85f1b828eddcd06c1a6 | [] | no_license | zim2510/Online-Judge-Solves | f57170e5bf14f339944079ed62bed01bdc5b27e3 | 949ab3cfba0cc7ec4ffaa6f2b3e5b0c517d9377a | refs/heads/master | 2022-01-07T10:23:12.653572 | 2019-05-19T11:30:58 | 2019-05-19T11:30:58 | 135,351,009 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,586 | cpp | #include <bits/stdc++.h>
#define Read() freopen("in.txt", "r", stdin)
#define Write() freopen("out.txt", "w", stdout)
#define min3(a, b, c) min(a, min(b, c))
#define max3(a, b, c) max(a, max(b, c))
#define TC(i, a, b) for(int i = a; i<=b; i++)
#define FOR(i, a, b) for(int... | [
"zim2510@gmail.com"
] | zim2510@gmail.com |
8ba5e7e46ed4e6b93ced4a9c2873836c56e24d09 | e6b5d019e565ce55b2febfbe21b82c2a21723385 | /TheWaySoFar-Training/2015-05-06/J.cpp | 9472a652ff699a1c7e800e3fecc6dee522ff25ad | [] | no_license | Sd-Invol/shoka | a628f7e8544d8eb110014316ab16ef3aed7b7433 | 1281cb43501d9ef127a2c67aebfba1905229502b | refs/heads/master | 2023-06-06T07:23:09.496837 | 2023-05-13T14:46:23 | 2023-05-13T14:46:23 | 13,319,608 | 37 | 17 | null | null | null | null | UTF-8 | C++ | false | false | 1,940 | cpp | #include <bits/stdc++.h>
using namespace std;
const int N = 1005;
int n , m , ca;
pair<int , int> a[N];
int f[2005];
void init() {
int i , j , k;
n = 0;
for (i = 2 , j = 1 ; ; ++ i) {
j += i * i;
if (j > 1000000)
break;
a[n ++] = make_pair(j , i);
}
for (i = 3 , ... | [
"Sd.Invol@gmail.com"
] | Sd.Invol@gmail.com |
22577107df3f509fc19afc582a66d08c226c26f7 | 98b394360e0543565323951742966c72a07ec351 | /shared/sorting.hpp | 8c0332bdf541e5b609a90c078c4e4988a8770ab5 | [] | no_license | bmewj/cs346-column-reordering | 616b6c850ef31367cd520fa493d0d2d8c6c9d3df | d3c7d356f632fa6e8150907f30f05555d7300f90 | refs/heads/master | 2023-04-03T18:16:56.236846 | 2017-12-19T16:11:44 | 2017-12-19T16:11:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 330 | hpp | #ifndef sorting_hpp
#define sorting_hpp
#include "BitTableView.hpp"
void sort_column(BitTableView& bit_table_view, int column);
void sort_lexicographically(BitTableView& bit_table_view);
void sort_mutually_exclusive_group(BitTableView& bit_table_view);
int* count_mutually_exclusive_group(BitTableView& bit_table_view)... | [
"bartholomew.michael.joyce@gmail.com"
] | bartholomew.michael.joyce@gmail.com |
7b26fe0338f18ef019be105b23ce797e7ce5d1ae | 1cbea7d7562b758c3beecf056de638d08c314e0f | /CC_CHMOD/CC_CHMOD/Source.cpp | 0e5c993c596a7b21279ecdc71396b4e44fcd91fc | [] | no_license | sriharsha-sammeta/CodeChef | d47b3a128ca81c2a958949fc3bff6b18232cf02d | e8417d7e7660cb486a28a28b0221eafb052d76ba | refs/heads/master | 2021-01-10T03:43:22.362560 | 2015-10-26T19:54:05 | 2015-10-26T19:54:05 | 44,993,123 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,010 | cpp | #include<iostream>
#include<vector>
#define fr(i,begin,end) for(int i=begin;i<end;i++)
#define sz(input) int(input.size())
#define tr(V,it) for(auto it=V.begin();it!=V.end();it++)
#define szA(arr) sizeof(arr)/sizeof(arr[0])
using namespace std;
typedef vector<int> vi;
typedef long long int lli;
/*
void caliculateP... | [
"sriharsha4444@icloud.com"
] | sriharsha4444@icloud.com |
1ac1a5b165d69300320f199ffad59724d9906e16 | 6d400a815473d91b36e263c8d7c8b04f6951a3fe | /src/quark/moneyServerClient2.cpp | c041bc6e51fcd4bb2a5f4a1f90d26566a9931947 | [
"MIT"
] | permissive | kacerr/quark | f2806d781f8007aef0b0736b31cc63b47b63b1a8 | d1812dd9aa510605f15ffb48ae339e8a312e3b42 | refs/heads/master | 2021-07-21T09:12:18.429796 | 2017-10-30T00:53:52 | 2017-10-30T00:53:52 | 108,965,159 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,951 | cpp | /*
* moneyServerClient2.cpp
*
* Created on: 20. 7. 2017
* Author: ondra
*/
#include "moneyServerClient2.h"
#include <imtjson/object.h>
#include <imtjson/array.h>
#include "../common/runtime_error.h"
#include "error.h"
#include "logfile.h"
#include "orderBudget.h"
namespace quark {
MoneyServerC... | [
"ondra-novak@email.cz"
] | ondra-novak@email.cz |
a01f1180cdc7e63873659947d8b51a27288f0fcf | 62764f86b1a4e7c84417f1886688f82a0241e993 | /Il2Native.Logic/impl/System/Math.cpp | d6909b93a710cc6f36e96756c506dff27b4d8756 | [
"MIT"
] | permissive | GabberBaby/cs2cpp | fa79254ad29b43e914a6ca98d6305844cd49f670 | c482a0abe4c0dd5d39b7284c2a86b68541cf386c | refs/heads/master | 2021-01-16T23:05:16.708584 | 2016-03-22T19:40:34 | 2016-03-22T19:40:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,545 | cpp | #include "CoreLib.h"
// Method : System.Math.Acos(double)
double CoreLib::System::Math::Acos(double d)
{
throw 3221274624U;
}
// Method : System.Math.Asin(double)
double CoreLib::System::Math::Asin(double d)
{
throw 3221274624U;
}
// Method : System.Math.Atan(double)
double CoreLib::System::Ma... | [
"duzhar@hotmail.com"
] | duzhar@hotmail.com |
2c5dd45f4d39ebd43a8e390254eb806aaef0e769 | 5d071b1aee999038b2ee4d491c6590085506378f | /Data Structure and Algorithm/Exhaustive search/Knapsack1-2.cpp | f9541d7f402d3d9d846b4ab655833fc5fd8cc284 | [] | no_license | seock04/Uncertainty-Handler | 78361056f8bbf505d8fd137a71534d71d447b8d2 | 981cb829ab3a7390e587548cc1eaee0027a7bd01 | refs/heads/master | 2023-09-01T06:29:33.853000 | 2023-08-29T08:01:08 | 2023-08-29T08:01:08 | 228,979,686 | 4 | 2 | null | 2020-11-05T11:45:07 | 2019-12-19T05:11:30 | C++ | UTF-8 | C++ | false | false | 446 | cpp | #include<iostream>
using namespace std;
int N;
int W;
int stuff[101][2];
int answer = 0;
void solve(int n, int w, int v)
{
if (w > W) return;
if (n == N) {
if (v > answer)
answer = v;
return;
}
solve(n + 1, w + stuff[n][0], v + stuff[n][1]);
solve(n + 1, w, v);
}
int main()
{
cin >> N >> W;
for (in... | [
"seock04@gmail.com"
] | seock04@gmail.com |
dd1f9919da512836e241bd4c10d0eed106b161df | 3549e1e0b91eb890c066e56c454e6ffdc46b7739 | /src/rcl/rclmt/rclmt_event.cxx | 04c409057800ca827ce8d2985c85db32c692455c | [] | no_license | usrlocalben/rsr | 8060607cc463a1320e7a46f0917c19dcb781c583 | c7aefc702559d1c9b183f56477d19fc89550b4f1 | refs/heads/master | 2021-06-24T04:32:36.557806 | 2020-11-15T20:08:20 | 2020-11-15T20:08:20 | 158,414,032 | 1 | 0 | null | 2020-10-26T17:34:27 | 2018-11-20T15:48:21 | C++ | UTF-8 | C++ | false | false | 2,490 | cxx | #include "src/rcl/rclmt/rclmt_event.hxx"
#include <stdexcept>
#include <fmt/printf.h>
#include <Windows.h>
namespace rqdq {
namespace rclmt {
void Event::Close() {
if (d_handle != nullptr) {
const auto tmp = d_handle;
d_handle = nullptr;
if (tmp != GetStdHandle(STD_INPUT_HANDLE)) {
... | [
"benjamin@rqdq.com"
] | benjamin@rqdq.com |
d5b1557013f1b4c718223885d1791cd38e267ebe | 432f5bfc35cb394ae3c648b919688acae32f1608 | /.github/workflows/lab4ejer2.cpp | fd7aae496550e5a93702138f44c22a006d2adbb5 | [] | no_license | JuanGarrid2/LabosFunda | 130720b6aea4029db02a6abcad9dc49104612c65 | dd6bdc3a8477078851fb09886582eade657ce4be | refs/heads/master | 2021-04-23T04:11:32.627229 | 2020-07-13T16:25:53 | 2020-07-13T16:25:53 | 249,896,714 | 0 | 0 | null | 2020-07-13T16:15:35 | 2020-03-25T05:43:01 | C++ | UTF-8 | C++ | false | false | 332 | cpp |
#include "iostream"
using namespace std;
int main(){
int a;
cout << "Digite un numero" << endl;
cin >> a;
if(a % 2 == 0){
cout << "El numero es par" << endl;
}
else{
cout << "El numero es impar" << endl;
}
ret... | [
"noreply@github.com"
] | JuanGarrid2.noreply@github.com |
2af055f70c70120297538caccf4e105e7df54685 | f0e276cd595518a98c857b3cf9a9db95bc639d70 | /socket_notice.cpp | d4a9518641c1827bfbafa0870aa918a1d98bd72d | [] | no_license | greshem/develop_cpp | caa6fa4f07d925ff1423cab2f29684de40748eb3 | 4f3d4b780eed8d7d678b975c7f098f58bb3b860e | refs/heads/master | 2021-01-19T01:53:15.922285 | 2017-10-08T07:25:35 | 2017-10-08T07:25:35 | 45,077,580 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,338 | cpp |
//#2010_09_28_18:21:53 add by greshem
#include <unistd.h>
#include <signal.h>
#include <sys/param.h>
#include <sys/types.h>
#include <Baselib.hpp>
#include <fstream>
//#include <dirent.h>
#include <string>
#include <iostream>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <map>
#include <iostre... | [
"qianzhongjie@gmail.com"
] | qianzhongjie@gmail.com |
e410079240653426b414dca17d42bf4c532b1dd2 | 57e7e6315b154d6e78ce761920cb594b94ced9d0 | /ImgMnj.h | 7991bd0a04cdc461590627c44bee970f135944f4 | [
"Unlicense"
] | permissive | MIZUTANIAKI/WaterfallsRepository | 96017d2ecb74da0861043c207ff92d0234c469c3 | 972367027be1a5297d08a18f70102ea58a81b0e8 | refs/heads/master | 2022-12-11T23:44:54.695471 | 2020-09-13T20:57:54 | 2020-09-13T20:57:54 | 262,959,227 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 812 | h | #pragma once
#include <vector>
#include <DxLib.h>
#include "Vector2.h"
#include <string>
#include <map>
#define lpImglMng ImgMnj::GetInstance()
class ImgMnj
{
public:
static ImgMnj& GetInstance(void)
{
Create();
return *sInstance;
}
static void Create()
{
if (sInstance == nullptr)
{
sInstance = new ... | [
"1916043@s.asojuku.ac.jp"
] | 1916043@s.asojuku.ac.jp |
1b1c29bc93597208cd9064257b1eb0cb3b704c9b | 5944b855f3448f01d55c446b543da6bd3e3b0198 | /src/Scene.h | 0c1b9afbf797c898450e646297fd2633489ac31f | [
"MIT"
] | permissive | Shimmen/Rendeer | 9fa1f49ecc46398a639c8c573d9ff7fdd716fc9c | 24e499114c35b9bce8a5b9e04aa9bfe3cc792c82 | refs/heads/master | 2020-05-21T12:42:18.709990 | 2017-04-19T13:20:40 | 2017-04-19T13:20:40 | 29,208,746 | 5 | 1 | null | 2016-12-04T23:22:21 | 2015-01-13T20:11:01 | C++ | UTF-8 | C++ | false | false | 1,174 | h | #pragma once
#include <memory>
#include <vector>
#include <glm/fwd.hpp>
#include "Entity.h"
#include "Camera.h"
#include "Lighting.h"
class TextureCube;
//
// Scene is the root entity of the scene graph and it defines the world origin
//
class Scene: public Entity
{
public:
Scene();
std::shared_ptr<CameraCompo... | [
"simon.moos95@gmail.com"
] | simon.moos95@gmail.com |
fc3d4641d40d3f5adc1381ca37c6080b07b712ee | a47ed4514234de21e78e1cd639bd2bc34b22de48 | /src/perm_list.cpp | 597664f68242b99ecab2d80787337b6d645e19ba | [] | no_license | Nojgaard/DoubleTrace | 92379b4fec4c0aefaa21bc800adeb136db024d8d | 6b8c3e2afa96efdbb554e247b803c5f91321be05 | refs/heads/master | 2021-07-17T06:41:37.139716 | 2017-10-24T11:10:31 | 2017-10-24T11:10:31 | 108,107,812 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,847 | cpp | #include <dtrace/perm_list.h>
#include <iostream>
namespace dtrace {
PermList::PermList(const std::vector<Perm> &perms): perms(perms) {
for (size_t i = 0; i < perms.size(); ++i) {
perms_idx.push_back(i);
}
}
PermList::PermList(Vertex fix_v, const std::vector<Perm> &perms): perms(perms) {
for (size_t i = ... | [
"nnoej10@gmail.com"
] | nnoej10@gmail.com |
1c428e4e76c79f3ac8ced57f4be247a6285d5764 | e835aa3afd88381b607c4ae8ab800e35146110d0 | /a001.cpp | 3f11617a20ce75ba5904dce8d4db26638df0672d | [] | no_license | Benjamin1021523/program-practice | 87588986add2e5abf535ceab486aa455bc6b59d6 | 7873103da8ff3c957c81352091586659fda871ab | refs/heads/master | 2021-03-30T17:29:49.083089 | 2017-05-21T11:10:43 | 2017-05-21T11:10:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 165 | cpp | //Hello world
#include<iostream>
using namespace std;
int main(){
string a;
while (cin >> a){
cout << "hello, " << a << endl;
}
return 0;
}
| [
"benjamin.30805@yahoo.com.tw"
] | benjamin.30805@yahoo.com.tw |
480818309f4efc65aa28fd2b64363ceb7ba9f8e4 | 3579b4de0c15259d83504c12c8996418142a0a45 | /mod/gemc/2.3/source/utilities/graph.h | f9aad726a5ed2d592b07bc266cde61649150a30e | [] | no_license | JeffersonLab/solid_gemc | 146cf2105e4f7e4d44cdb9ca5045a3942a348a53 | 0817316475a8ad4d54bc62e7be9730225c2adf80 | refs/heads/master | 2023-08-16T19:52:00.097897 | 2023-06-21T23:31:30 | 2023-06-21T23:31:30 | 159,871,444 | 1 | 8 | null | 2022-03-09T17:46:12 | 2018-11-30T19:47:48 | C | UTF-8 | C++ | false | false | 1,472 | h | #ifndef graph_H
#define graph_H 1
// Qt headers
#include <QtWidgets>
// C++ headers
#include <string>
using namespace std;
// Class definition
class graph : public QGraphicsView
{
// metaobject required for non-qt slots
Q_OBJECT
public:
graph(QWidget *parent = 0);
~graph(){;}
QGraphicsScene *scene;
... | [
"zwzhao@jlab.org"
] | zwzhao@jlab.org |
489b4e8ca09d34fa003b01a92432c8e51ccbcc61 | fcb0062d68c350e2ef8910d03adc27fbb6229142 | /season.cpp | 7c69318957bf46bbb74f1efb54f63a5cad633405 | [] | no_license | NaumanAli/AP_ass1 | ade9f69da4070944afde39f336b73b0bb3c8de1e | 827a7cdbf18c913019af5a8581a4fdeb099b422c | refs/heads/master | 2020-07-07T23:30:34.371537 | 2015-03-11T12:00:41 | 2015-03-11T12:00:41 | 32,015,088 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 218 | cpp | #include "season.h"
//class season
season::season(){
}
season::season(char season,string year){
this->id=season;
this->year=year;
}
string season::getYear(){
return year;
}
char season::getChar(){
return id;
}
| [
"12besemnali@seecs.edu.pk"
] | 12besemnali@seecs.edu.pk |
de38dbb9830d47dd7c1153629d3a1c30e129eef9 | 417fb7f185659171dd7ac403fdd82d5dcf830a32 | /inputmodel.cpp | b50aabd1836fb8cf2f4178a746d2d396ba3a144e | [] | no_license | XanderEVG/priceparcer | 346cda5a279e2cada96af805e317cdfd180d8e11 | 1b2bdd66bbb88a1a44e2757f48368dd5920f75a3 | refs/heads/master | 2021-06-02T20:09:25.208958 | 2019-05-26T18:28:22 | 2019-05-26T18:28:22 | 41,423,224 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,576 | cpp | #include "inputmodel.h"
#include <QBrush>
#include <QInputDialog>
#include <QMessageBox>
InputModel::InputModel(Table *parent) : Model(parent)
{
this->parent=parent;
iconP.addPixmap(QPixmap(":/images/images/ok.png"),QIcon::Normal, QIcon::Off);
iconN.addPixmap(QPixmap(":/images/images/bad.png"),QIcon::No... | [
"XanderEVG@gmail.com"
] | XanderEVG@gmail.com |
67b16e392a8a50b62453a020648de30c38b9e8a7 | 6b84794b2b0aa23a2d2c3c5f1437001d103213ae | /Problems & Contents/URI/2-Ad-Hoc/1271-OndeEstaoMeusGenes.cpp | ba257376e7aafc6bd980633dc532e591009b4208 | [] | no_license | mtreviso/university | 2406d3782759a75ef00af4da8e4e1ed99cfb89d8 | 164dbfc13d6dddb3bdbb04957c4702d0e0885402 | refs/heads/master | 2021-01-09T08:14:21.551497 | 2016-06-09T23:19:01 | 2016-06-09T23:19:01 | 16,703,296 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 965 | cpp | #include <iostream>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cmath>
#include <vector>
using namespace std;
void swap(int *x, int *y){
int temp = *x;
*x = *y;
*y = temp;
}
void inverterForcaBruta(int *genes, int *posicoes, int i, int j){
while(i < j){
posicoes[genes[i]] = j;
posicoe... | [
"marcosvtreviso@gmail.com"
] | marcosvtreviso@gmail.com |
20622444eb1256d41c039de6044f09c3797fae4f | 2d6b9ce226bb31b3d33ea021039b02d7009c35cc | /day03/code/08continue循环.cpp | 6e3c10a39cdf4db01b139b0fca3b183013e674a2 | [] | no_license | smallpotatody/C-_learning | e2c68ffe6cc8dfb8d30c6e911a83476c712c45fb | 1f44325e557e2b976a801eda406c8efb6ff4a67f | refs/heads/master | 2020-08-07T18:00:18.900929 | 2019-10-16T13:52:38 | 2019-10-16T13:52:38 | 213,353,936 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 183 | cpp | #include <iostream>
using namespace std;
int main()
{
for (int i = 0; i <= 100; i++)
{
if (i % 2 != 0)
{
continue;
}
cout << i << endl;
}
system("pause");
return 0;
} | [
"122849308@qq.com"
] | 122849308@qq.com |
2ffb2441b8d4139be1d512256ec642935b3fc2e8 | e5bc98304d21e77af5bd566654614430ff0fbbb4 | /graphs/knightsProblem.cpp | 36ba9419111adf1ecd84a821fe1bde5026dee3e6 | [
"MIT"
] | permissive | abelvdavid/100DaysofCode | 958f9ec01c6f86ebf6d4ec855c75ee0be90e22b3 | 5b38615bf9c6480731e3fe124a6cf96a0985c9b9 | refs/heads/master | 2020-07-04T00:36:08.588279 | 2017-11-05T22:25:07 | 2017-11-05T22:25:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 943 | cpp | #include <iostream>
#include <vector>
using namespace std;
#define N 8
int row[] = {2, 2, -2, -2, 1, 1, -1, -1};
int col[] = {-1, 1, 1, -1, 2, -2, -2, 2};
bool isValid(int x, int y)
{
if(x < 0 || y <0 || x>=N || y>=N)
return false;
return true;
}
struct Node
{
int x, y, dist;
bool const operator==(const... | [
"karangc2@illinois.edu"
] | karangc2@illinois.edu |
456d85d0cd1754df8398c5f694dd8ad7e2fd04f8 | 6f2b6e9d77fc4dd5e1dae8ba6e5a66eb7c7ae849 | /sstd_boost/sstd/boost/config/compiler/intel.hpp | a5af0277215ef7824dd108940ac3c2dd400e2896 | [
"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 | 22,235 | hpp | // (C) Copyright John Maddock 2001-8.
// (C) Copyright Peter Dimov 2001.
// (C) Copyright Jens Maurer 2001.
// (C) Copyright David Abrahams 2002 - 2003.
// (C) Copyright Aleksey Gurtovoy 2002 - 2003.
// (C) Copyright Guillaume Melquiond 2002 - 2003.
// (C) Copyright Beman Dawes 2003.
// (C) Copyright Martin Wi... | [
"zhaixueqiang@hotmail.com"
] | zhaixueqiang@hotmail.com |
a07a0c38971848b55235dd9afcbc8bfb54a701c2 | 704dfc475d6a81b35079d2584160a5be2beaafe3 | /lab_4/geometric_shapes/geometric_shapes_app/CControlPrint.cpp | 07fc03e28a1323396ebf5f6f2be8643f841e5a15 | [] | no_license | MihaGoHard/OOP | 75bc6764265066ef3e2d66735b9a0233c4de5a81 | 79308c39680074a1cdbd7ced1466436684ae5563 | refs/heads/main | 2023-05-25T18:40:22.296646 | 2021-06-10T14:34:29 | 2021-06-10T14:34:29 | 338,836,980 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,194 | cpp | #include "CControl.h"
using namespace std;
bool CControl::PrintShapeMinPerimeter() const
{
if (m_shapesList.size() == 0)
{
m_output << "\nNo shapes in list\n";
return false;
}
auto shapeMinPerimeter = min_element(m_shapesList.cbegin(), m_shapesList.cend(),
[](const auto& shape1, const auto& shape2) {
re... | [
"shasherin06@bk.ru"
] | shasherin06@bk.ru |
a0313d170d821a260a75d24c148d047b7925b7cb | d0c44dd3da2ef8c0ff835982a437946cbf4d2940 | /cmake-build-debug/programs_tiling/function14348/function14348_schedule_22/function14348_schedule_22.cpp | 3ad4d3444bfa709dc694a76b6657ab790f218a8f | [] | 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,107 | cpp | #include <tiramisu/tiramisu.h>
using namespace tiramisu;
int main(int argc, char **argv){
tiramisu::init("function14348_schedule_22");
constant c0("c0", 256), c1("c1", 512), c2("c2", 256);
var i0("i0", 0, c0), i1("i1", 0, c1), i2("i2", 0, c2), i100("i100", 2, c0 - 2), i101("i101", 2, c1 - 2), i102("i102... | [
"ei_mekki@esi.dz"
] | ei_mekki@esi.dz |
b08418228eadf862c9cf64654c653e064453f04b | efe1131a33ee82e7c46b5af4cf200dcae8eb4add | /samples/MFC32/OLE/SUPERPAD/LINKITEM.CPP | 4bdf6220e8954372ad8064eb7b7d96551402e48c | [
"BSL-1.0"
] | permissive | ALEHACKsp/dmc | 819398bbb46e8b5a8ef5c344ef2a0f8b4ee8903c | 9478d25a677f70dbe4fc0ed317cc5a5e5050ef8b | refs/heads/master | 2022-12-28T13:36:57.721262 | 2020-10-11T07:47:16 | 2020-10-11T07:47:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,376 | cpp | // This is a part of the Microsoft Foundation Classes C++ library.
// Copyright (C) 1992-1995 Microsoft Corporation
// All rights reserved.
//
// This source code is only intended as a supplement to the
// Microsoft Foundation Classes Reference and related
// electronic documentation provided with the library.
/... | [
"walter@walterbright.com"
] | walter@walterbright.com |
8fda0bf899a943868b904d7ce669f97ef571201c | 7e68c3e0e86d1a1327026d189a613297b769c411 | /Test/UnitTest/TestBigReal/TestUtil.cpp | 25c388fbe25c20edb8827adf8f6f53338eb9eb1f | [] | no_license | staticlibs/Big-Numbers | bc08092e36c7c640dcf43d863448cd066abaebed | adbfa38cc2e3b8ef706a3ac8bbd3e398f741baf3 | refs/heads/master | 2023-03-16T20:25:08.699789 | 2020-12-20T20:50:25 | 2020-12-20T20:50:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,421 | cpp | #include "stdafx.h"
#include <Date.h>
#include <Console.h>
#include "TestUtil.h"
BigReal getRandom(int length, int exponent, RandomGenerator &rnd, DigitPool *pool, bool allowZero) {
BigReal result(pool);
do {
result = randBigReal(length, rnd, pool);
} while(!allowZero && result.isZero());
return (exponent ... | [
"jesper.gr.mikkelsen@gmail.com"
] | jesper.gr.mikkelsen@gmail.com |
c0c7b429a18c5cf0431cf04b34b69d0e0edf9224 | b511b9756e6f1f3c79014d14e7c3c84ece99defe | /source/ShuttingDownLogic.cpp | c4fd815c892b9db353dda5d738c129c02619d99b | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0",
"BSL-1.0"
] | permissive | TotteKarlsson/MiniBot | 0f8429662170db1c3eef0c7c3c63859f14a2289d | 0d5040162f1069209d3f506c09fa0a8c4b5329de | refs/heads/master | 2021-01-22T18:24:44.874560 | 2017-08-18T23:55:42 | 2017-08-18T23:55:42 | 100,757,976 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,737 | cpp | #include <vcl.h>
#pragma hdrstop
#include "MainForm.h"
#include "mtkLogger.h"
#include "mtkVCLUtils.h"
#include "arraybot/apt/atAPTMotor.h"
#include "TSplashForm.h"
#include "frames/TXYZUnitFrame.h"
using namespace mtk;
static HWND gOtherAppWindow = NULL;
extern TSplashForm* gSplashForm;
__fastcall TMain::~TMain()... | [
"v-matsk@alleninstitute.org"
] | v-matsk@alleninstitute.org |
65b0884a764199207b22864c272d9f1b4c3df551 | c019737868718fab1a2603c5c7ab4bf221946e76 | /work dialog/jliu/UI_QT/flowermail-project_jliu/MainPage/wordsize.h | 7afa54ba089f19b592948905f243700fc05f438a | [
"MIT"
] | permissive | SecretMG/Flower-Mail | af45c0ccb813a87ebc30bdba8c447c6459beb7b5 | 8f9104b11e2a6380355010ebe7e085a6383dd094 | refs/heads/master | 2023-07-13T17:23:36.852235 | 2021-08-04T08:04:42 | 2021-08-04T08:04:42 | 293,402,516 | 2 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 273 | h | #ifndef WORDSIZE_H
#define WORDSIZE_H
#include <QDialog>
namespace Ui {
class WordSize;
}
class WordSize : public QDialog
{
Q_OBJECT
public:
explicit WordSize(QWidget *parent = nullptr);
~WordSize();
private:
Ui::WordSize *ui;
};
#endif // WORDSIZE_H
| [
"reburnming@126.com"
] | reburnming@126.com |
da43019a6be6497721f61ac25d1a1603df717c7b | ceb0cfd58acbde2dadac89b121b1807582238d5b | /gr-mods/include/Tools/Math/Galois.cpp | 4c67603e6dc4090947f85b88d77be74a7e80946b | [] | no_license | aospan/satellite | 314e4bc6fbd0722ef7989348edf5b809661cd2c4 | 6bd5304ea42d0533eb231e3d834bf7b640e44699 | refs/heads/master | 2021-09-07T13:17:55.944169 | 2018-02-23T11:44:52 | 2018-02-23T11:44:52 | 105,211,877 | 5 | 0 | null | 2017-09-29T00:27:46 | 2017-09-29T00:27:46 | null | UTF-8 | C++ | false | false | 5,266 | cpp | #include <cmath>
#include <iostream>
#include <sstream>
#include <cmath>
#include "Tools/Exception/exception.hpp"
#include "Galois.hpp"
using namespace aff3ct::tools;
Galois
::Galois(const int& K, const int& N, const int& t)
: K(K), N(N), m((int)std::ceil(std::log2(N))), t(t), d(2 * t + 1)
{
if (K <= 0)
{
std:... | [
"c@blockstream.com"
] | c@blockstream.com |
e7ce0c43a6b9f903984450b7156dbf35ccd71779 | 612325535126eaddebc230d8c27af095c8e5cc2f | /src/crypto/signature_verifier.cc | 9f3d76409533367eb2fd4f64bb931225ea9742fa | [
"BSD-3-Clause"
] | permissive | TrellixVulnTeam/proto-quic_1V94 | 1a3a03ac7a08a494b3d4e9857b24bb8f2c2cd673 | feee14d96ee95313f236e0f0e3ff7719246c84f7 | refs/heads/master | 2023-04-01T14:36:53.888576 | 2019-10-17T02:23:04 | 2019-10-17T02:23:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,147 | cc | // Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "crypto/signature_verifier.h"
#include <stdint.h>
#include <memory>
#include <vector>
#include "base/logging.h"
#include "base... | [
"2100639007@qq.com"
] | 2100639007@qq.com |
b68c88dfe605a52ec3d8902f378ec2d47232ea3b | 1e98b6b167d788a4f06f10de9e9d230ec9ae2c73 | /src/foundation/system/win32/win32registry.cc | cf60d45da56f818b48b3391b1ef3c07c60658c84 | [] | no_license | myevan/nebulax | 7b6d95e9420dddad1d153062953397f82c15d771 | d50dfc5d933c2892915db9bbb688dffd3618fa52 | refs/heads/master | 2016-09-06T10:50:24.827413 | 2015-03-28T17:20:59 | 2015-03-28T17:20:59 | 33,028,481 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,590 | cc | //------------------------------------------------------------------------------
// win32registry.cc
// (C) 2007 Radon Labs GmbH
//------------------------------------------------------------------------------
#include "stdneb.h"
#include "system/win32/win32registry.h"
namespace System
{
//-------------------------... | [
"myevan80@gmail.com"
] | myevan80@gmail.com |
f2060e82a98bf88e87cd2c2b45d6cf395c47ee34 | 138e55c5456c45996ecc3fcdc3eefa9fa1152adc | /The Skyline Problem.cpp | 91fac5f081dfcd6b447dd55453b135a2ef66c9fa | [] | no_license | guinao/LeetCode | ed5779a4403652020d450a9b3a187ae0cacb3bd7 | 0520cdba1a6b13f073b5fcffb9a84ddad9ed910b | refs/heads/master | 2021-01-01T18:48:01.646152 | 2016-02-26T07:35:35 | 2016-02-26T07:35:35 | 31,796,314 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 902 | cpp | #include <vector>
#include <queue>
#include <utility>
#include <algorithm>
using namespace std;
class Solution {
public:
vector<pair<int, int>> getSkyline(vector<vector<int>>& buildings) {
vector<pair<int,int>> ans;
if(buildings.size() == 0)
return ans;
priority_queue<pair<int,int> > living;
int i=0, h = ... | [
"yingyuanxiang34@sina.com"
] | yingyuanxiang34@sina.com |
d35e95704a5c518fc162ce599d78eaa566905dbf | f13b002a27c4b6d89151b3c925b4a5a97607f39a | /SOUI_gn/src/demos/360/SDateTimeEdit.h | f98b89072b977f65be492fb8bf935bfc8fcdf89a | [
"MIT"
] | permissive | lehoon/soui_gn | 007c2b0f00e5f0f036cbaeee98526eaa445bd541 | 0d3196eca8bddc0c2c9a694e06fb544965079b77 | refs/heads/master | 2020-05-23T13:15:54.091119 | 2018-05-04T02:46:34 | 2018-05-04T02:46:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 25,492 | h | #ifndef __S_DATETIME_EDIT_H__
#define __S_DATETIME_EDIT_H__
#include "control/SRichEdit.h"
#include <vector>
#include <Windows.h>
/*
<date_edit font="face:寰蒋闆呴粦,adding:-3" colorText="#000000">2017-08-01 12:33:33</date_edit>
*/
namespace SOUI
{
class SDateRichEdit :public SRichEdit
{
public:
STextHost *GetText... | [
"240145500@qq.com"
] | 240145500@qq.com |
ba1075f781d7a31a4a9525fe2aac19ab86998a07 | e8c4c83c81de3acba4c4d9a8b606f457a7c22417 | /02_bitwise_operators/04. Nth bit/04. Nth bit.cpp | 5b06b44cb761c61f406e2b1e9da3fe4bafe28774 | [
"MIT"
] | permissive | ekov1/FMI---Introduction-to-Programming-2020 | ac57efc57084214fbe308257001f6448950ba35e | d4954d1722fe3e78578fd63f3de6b973ee8289e1 | refs/heads/main | 2023-02-26T16:05:05.270235 | 2021-02-02T21:52:17 | 2021-02-02T21:52:17 | 306,726,383 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 401 | cpp | // Напишете програма, която прочита 2 цели числа num
// и n и принтира стойността на n - тия бит на num.
// Вход: 19006 // 0b01001010'00111110
// 5
// Изход : 1
#include <iostream>
int main()
{
int num, n;
std::cin >> num >> n;
int mask = 1 << n;
int bit = (num & mask) >> n;
std::cout << bit;... | [
"kristian_ekov@abv.bg"
] | kristian_ekov@abv.bg |
329a6fa44771175fc39a439a5d75c85e0629a303 | 73023c191f3afc1f13b39dffea22b7f65a664f7d | /MatrixEngine/Classes/CollistionSystem/BoxCollider.h | 2fa2a1a7803328876c0c28c5c0bb35c5586ef28d | [] | no_license | ugsgame/Matrix | 0a2c2abb3be9966c3cf7a4164799ed107c8f2920 | 1311b77bd9a917ec770e428efb9530ee6038617a | refs/heads/master | 2020-09-05T15:45:45.973221 | 2019-11-07T07:20:38 | 2019-11-07T07:20:38 | 220,145,853 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 586 | h |
#ifndef __BOXCOLLIDER_H__
#define __BOXCOLLIDER_H__
#include "Math/Size.h"
#include "Box2D/Box2D.h"
#include "Collider.h"
using namespace Math;
class GameActor;
class BoxCollider:public Collider
{
//__DeclareClass(BoxCollider);
public:
BoxCollider();
~BoxCollider();
public:
static BoxCollider* Create();
sta... | [
"670563380@qq.com"
] | 670563380@qq.com |
a6715a35b487a2ba2049e5f99b8a4949e8e627f8 | 5a1995e300a1bcb70ee7f138896ecc467febc152 | /implementacao/exemplos/Fundraising/Fundraising.Pareto.cpp | d82e2557d1c41244c184f242c84e5fdac91e92c1 | [] | no_license | victorsenam/tcc | cbc02f1450313f2a4d6dcf9384923f1deabf50c1 | 0b61979f88eda0c5fcae328496abea9b0221aaae | refs/heads/master | 2021-01-11T22:01:35.917458 | 2018-02-06T18:16:55 | 2018-02-06T18:16:55 | 78,896,423 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 965 | cpp | /**
Este código é uma parte do Trabalho de Conclusão do Bacharelado em Ciência da Computação de Victor Sena Molero pela Universidade de São Paulo. O Trabalho completo está presente em http://github.com/victorsenam/tcc e esta implementação é documentada no Capítulo "Exemplos Implementados".
**/
#include <cstdio>
#incl... | [
"victorsenam@gmail.com"
] | victorsenam@gmail.com |
f923cacdbe083a2338c6a4aa8df4a836421559ff | d33bcd4ffe245121d9df924682dbc9f87066886b | /src/proxy/CSubject.h | 6e94943708ad1ecaca8183197871e35aee104f41 | [] | no_license | ElonVampire/DesignPattern | a561531eb8703c377695e7aa1a0c3f5a9b41550e | 923e8ba9207cef3b4b800183f2b0eb4f59c11a75 | refs/heads/master | 2022-01-12T06:08:53.490987 | 2019-05-30T07:11:53 | 2019-05-30T07:11:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 266 | h | //
// Created by st007 on 19-2-11.
//
#ifndef DESIGNPATTERN_CSUBJECT_H
#define DESIGNPATTERN_CSUBJECT_H
class CSubject {
public:
virtual ~ CSubject();
virtual void Request() = 0;
protected:
CSubject();
private:
};
#endif //DESIGNPATTERN_CSUBJECT_H
| [
"lsh02040003@sina.cn"
] | lsh02040003@sina.cn |
e40a68a1a6a081176067367d4283917211f8d80f | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/squid/hunk_6507.cpp | f0f0ecf6565cba6ef4cae94fcc3a4d9a3f6e0add | [] | 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 | 5,913 | cpp | char syntax[64];
int nexttype;
char nexttoken[64];
- register struct node *np=NULL;
- register struct enum_list *ep=NULL;
+ register struct node *np = NULL;
+ register struct enum_list *ep = NULL;
type = get_token(fp, token);
- if (type != SYNTAX){
+ if (type != SYNTAX) {
print... | [
"993273596@qq.com"
] | 993273596@qq.com |
83ad5ecf380d823571eb598c7422f20312985a65 | aa6029286987bf4b1200181cbaa3e2883f357ff4 | /ExternalHardwareInterrupts/ExternalHardwareInterrupts/ExternalInterrupt.h | b6cb0671f7c777fe8114a15a896ce88cad8adc82 | [] | no_license | MiladHajiShafiee/avr-basic-projects | d1bb271d4c4ad53c0ac34f2a62fe4b10d2414038 | 094c0e84815cfea0e2f0614fcd42cf3eee74cc33 | refs/heads/main | 2023-03-17T08:58:11.895504 | 2021-03-15T16:45:45 | 2021-03-15T16:45:45 | 348,049,856 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 398 | h | /*
* ExternalInterrupt.h
*
* Created: 2018/08/01 7:36:19 صـبـح
* Author: Milad
*/
#ifndef EXTERNALINTERRUPT_H_
#define EXTERNALINTERRUPT_H_
#include <avr/interrupt.h>
enum intReq { Int0, Int1, Int2 };
enum trigSty { level, anyTrigger, fallingEdge, risingEdge };
class ExInterrupt
{
public:
void interrpt... | [
"miladhajishafiee1994@gmail.com"
] | miladhajishafiee1994@gmail.com |
3e1dbcee6d40b584de32b3e84dc3082d045d304a | a00deec339abb67609ec28813a226e5a1fad35d9 | /Source/BansheeGLRenderAPI/Include/BsGLTexture.h | fb66cc9ff12b8a54ae06ed71f7f1a85f1690c957 | [] | no_license | gitter-badger/BansheeEngine | f5a326cfdd8a0eaf1c874924856a66a56d10a9fe | 05bfc71d0db5cd88a38bfa2eeb715351a0b4ace5 | refs/heads/master | 2021-01-20T13:11:25.090493 | 2017-05-04T13:30:26 | 2017-05-04T13:30:26 | 90,459,819 | 0 | 0 | null | 2017-05-06T11:59:00 | 2017-05-06T11:59:00 | null | UTF-8 | C++ | false | false | 2,922 | h | //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
//**************** Copyright (c) 2016 Marko Pintera (marko.pintera@gmail.com). All rights reserved. **********************//
#pragma once
#include "BsGLPrerequisites.h"
#include "BsTexture.... | [
"bearishsun@gmail.com"
] | bearishsun@gmail.com |
f0ad92da8fc1d0e0c2eb7a6928a20e22d087d0fc | 791709137bc8352a293ad38a0269e0e7860a6164 | /AAEclipticalElements.cpp | 7b62d8224692506709dba277c0f0c206ee067fd4 | [] | no_license | Math-Collection/WhereIsTheMoon | 69cc00430eaaf96a8b1c8a7348c225052bbeed48 | 05010b7a6a7f7f5470889dd5e2ca3eb60347b696 | refs/heads/master | 2020-07-22T05:09:23.609897 | 2017-08-11T13:03:24 | 2017-08-11T13:03:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,927 | cpp | /*
Module : AAECLIPTICALELEMENTS.CPP
Purpose: Implementation for the algorithms which map the ecliptical elements from one equinox to another
Created: PJN / 29-12-2003
History: PJN / 29-11-2006 1. Fixed a bug where CAAEclipticalElements::Calculate and CAAEclipticalElements::FK4B1950ToFK5J2000
... | [
"hvanruys@tvvlaanderen.net"
] | hvanruys@tvvlaanderen.net |
9eed4fd7bc41dba4e4b967f41660ad9eb24ab15b | 5ca8d11ff417a7d498496df6fdbc7957958e24ab | /Classes/UI/ColorCheckBox.cpp | 9a771e33696f00a8d569981230aa9a383103276d | [
"MIT"
] | permissive | luowuxiao/SuperLife | b208ad1c2456942acb333c05064ffe9e55a4c2b0 | 52c2b15f92382bf211dc76a0f3eca82011b04d92 | refs/heads/master | 2023-03-24T13:01:30.173186 | 2016-03-30T12:54:46 | 2016-03-30T12:54:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 652 | cpp | //
// ColorCheckBox.cpp
// SuperLife
//
// Created by wang haibo on 14-8-19.
//
//
#include "ColorCheckBox.h"
USING_NS_CC;
ColorCheckBox* ColorCheckBox::create()
{
ColorCheckBox* widget = new ColorCheckBox();
if (widget && widget->init())
{
widget->autorelease();
return widget;
}
... | [
"lwwhbwhb@gmail.com"
] | lwwhbwhb@gmail.com |
2645de7f7e6e4c9abddad93b364b1aeb65cf159a | 641fa8341d8c436ad24945bcbf8e7d7d1dd7dbb2 | /chromecast/graphics/cast_screen.h | efcde628d2a573a7ccedb503d9378da6da5fe521 | [
"BSD-3-Clause"
] | permissive | massnetwork/mass-browser | 7de0dfc541cbac00ffa7308541394bac1e945b76 | 67526da9358734698c067b7775be491423884339 | refs/heads/master | 2022-12-07T09:01:31.027715 | 2017-01-19T14:29:18 | 2017-01-19T14:29:18 | 73,799,690 | 4 | 4 | BSD-3-Clause | 2022-11-26T11:53:23 | 2016-11-15T09:49:29 | null | UTF-8 | C++ | false | false | 1,434 | h | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROMECAST_GRAPHICS_CAST_SCREEN_H_
#define CHROMECAST_GRAPHICS_CAST_SCREEN_H_
#include "base/macros.h"
#include "chromecast/public/graphics_types... | [
"xElvis89x@gmail.com"
] | xElvis89x@gmail.com |
dde7a0a84b1f314f66a1d6cf32d40b7058d73d6f | 81a2b2ea830f11742f7fb095e8894c370f30bd76 | /Sector.cpp | 1e1d4608ea961100e90930957265fb8dfd2768e4 | [] | no_license | grondak/T5WorldGen | b9bdac4d4d4212d4cd8f0167584ab9f2decaab38 | 6747fda5b097bb2616a04c87d39e5d2819babc88 | refs/heads/master | 2016-09-10T13:07:52.374195 | 2013-05-28T01:08:42 | 2013-05-28T01:08:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,149 | cpp | /*
* File: Sector.cpp
* Author: tonyreynolds
*
* Created on May 26, 2013, 2:33 PM
*/
#include "System.h"
#include "Sector.h"
#include "SectorFile.h"
Sector::Sector() {
}
Sector::Sector(const char *givenSectorName, const char *givenFileName) {
setSectorName(givenSectorName);
setFileName(givenFileNam... | [
"tonyreynolds@tony-reynoldss-mac-pro-4.local"
] | tonyreynolds@tony-reynoldss-mac-pro-4.local |
7fc6e6e276fec156886938b5e3ec74206393f133 | 13500b849db6d62ac7ee94e32ddd76681af79d6b | /1078/AC Code KLQ.cpp | 175759fd9f0af0e0702d57fbfb7a8e2e863754b3 | [] | no_license | syjsu/noip-with-vue.js | 055a90d13dedd2c00b2d449a39fa4f3128270480 | 6076cd41b5343dd3ff18b4c4afec207021f8c78b | refs/heads/master | 2020-03-17T20:15:42.362689 | 2018-05-24T05:10:27 | 2018-05-24T05:10:27 | 133,900,801 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 742 | cpp | #include<cstdio>
using namespace std;
int flnum,st,ed,count=0,ans=-1;
int fl[205];
bool visit[205];
int main()
{
void dfs(int,int);
scanf("%d%d%d",&flnum,&st,&ed);
for(int i=1;i<=flnum;i++)
{
scanf("%d",&fl[i]);
visit[i]=true;
}
dfs(st,ed);
printf("%d",ans);
return 0;
}
void dfs(int... | [
"syjsu@qq.com"
] | syjsu@qq.com |
1ae77f5755063d849bbc75330ef2c5d60fae2708 | b71b8bd385c207dffda39d96c7bee5f2ccce946c | /testcases/CWE590_Free_Memory_Not_on_Heap/s03/CWE590_Free_Memory_Not_on_Heap__delete_int_static_02.cpp | 8d91515f71bfd816b3862a72c6f952e27c8c8171 | [] | no_license | Sporknugget/Juliet_prep | e9bda84a30bdc7938bafe338b4ab2e361449eda5 | 97d8922244d3d79b62496ede4636199837e8b971 | refs/heads/master | 2023-05-05T14:41:30.243718 | 2021-05-25T16:18:13 | 2021-05-25T16:18:13 | 369,334,230 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,952 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE590_Free_Memory_Not_on_Heap__delete_int_static_02.cpp
Label Definition File: CWE590_Free_Memory_Not_on_Heap__delete.nonpointer.label.xml
Template File: sources-sink-02.tmpl.cpp
*/
/*
* @description
* CWE: 590 Free Memory Not on Heap
* BadSource: static Data buffer is ... | [
"jaredzap@rams.colostate.edu"
] | jaredzap@rams.colostate.edu |
0965c3ba21dc9d2d35b4bb2b3745321da3dea88d | 877fff5bb313ccd23d1d01bf23b1e1f2b13bb85a | /app/src/main/cpp/dir7941/dir7942/dir8062/dir8063/dir12766/dir12767/dir13029/dir19577/file19695.cpp | 0e3e31a961af7516a092428005ec3bc42bfc6d47 | [] | no_license | tgeng/HugeProject | 829c3bdfb7cbaf57727c41263212d4a67e3eb93d | 4488d3b765e8827636ce5e878baacdf388710ef2 | refs/heads/master | 2022-08-21T16:58:54.161627 | 2020-05-28T01:54:03 | 2020-05-28T01:54:03 | 267,468,475 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 115 | cpp | #ifndef file19695
#error "macro file19695 must be defined"
#endif
static const char* file19695String = "file19695"; | [
"tgeng@google.com"
] | tgeng@google.com |
eea484115f87757378d44ccc34895743661c36a8 | e68c1f9134b44ddea144f7efa7523076f3f12d3a | /FinalCode/WizardDefensiveWindow.cpp | 3fe31e3f1d1d20d7235b371ea8b654663521aee5 | [] | no_license | iso5930/Direct-3D-Team-Portfolio | 4ac710ede0c9176702595cba5579af42887611cf | 84e64eb4e91c7e5b4aed77212cd08cfee038fcd3 | refs/heads/master | 2021-08-23T08:15:00.128591 | 2017-12-04T06:14:39 | 2017-12-04T06:14:39 | 112,998,717 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 13,505 | cpp | #include "StdAfx.h"
#include "WizardDefensiveWindow.h"
CWizardDefensiveWindow::CWizardDefensiveWindow(TCHAR* _tszObjKey, OBJ_TYPE _eObjType, int _iIndex, SLOT_ID _eSlotID)
: CWindowUI(_tszObjKey, _eObjType, _T("Window_Wizard_Defensive"))
{
// Select
m_iSelect = -1;
// Index
m_iIndex = _iIndex;
// SlotID
m_eSl... | [
"iso5930@naver.com"
] | iso5930@naver.com |
2ea0a0992356e397dbb12af74e0891630ff4a63e | 487e2878bc9e0b12a6957b2600effeceef39c88f | /problem-0001/src/main.cpp | d33fc8b8144c15ac0e3d9e0aa10763b77df7cdbd | [] | no_license | luisfisherjr/Project-Euler | a91259fdc9fdf1c7b2cd1c8ab0044c4a46b5d471 | d67b8777f2748242b1330d684296d12811a5048d | refs/heads/master | 2020-03-10T04:57:31.619883 | 2018-04-12T07:17:47 | 2018-04-12T07:17:47 | 129,205,715 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,024 | cpp | #include <iostream>
#include <numeric>
#include <vector>
std::vector<int> multiples(const std::vector<int>&, int);
int main(int argc, char *argv[])
{
std::vector<int> inputNumbers = {3,5};
std::vector<int> mults = multiples(inputNumbers, 1000);
int solution = std::accumulate(mults.begin(), mults.end(), 0);
// ... | [
"luisfisherjr@gmail.com"
] | luisfisherjr@gmail.com |
016e53628068a4c1e41fa74312723342d856a694 | 7393272590c399cc7be0777ba197acbac264bd7a | /Software/Luminary/routines/processor.hpp | 14fa03f3b1ce14f3bb25ed054d960614d8fb46e6 | [
"MIT"
] | permissive | brandonbraun653/Luminary | 058f6230e576004b66a4cb5dcef98c4c09714842 | c9b4e4d6598f09de945fdbcf5aee1508c1687fa9 | refs/heads/master | 2020-12-27T07:09:10.105289 | 2020-08-06T03:07:49 | 2020-08-06T03:07:49 | 237,808,086 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 904 | hpp | /********************************************************************************
* File Name:
* processor.hpp
*
* Description:
* Routine processor interface for PWM output animations
*
* 2020 | Brandon Braun | brandonbraun653@gmail.com
******************************************************************... | [
"brandonbraun653@gmail.com"
] | brandonbraun653@gmail.com |
704191be604595193e8a32adf468b414f4df7a86 | 70dd1322b8c2cced29f9df49537287a025ac6831 | /repeatedStringMatch.cpp | e2e25050f6c41a995bae6dec8d714d4aa84161bf | [] | no_license | Sheena997/LeetCode-Practice | 5de9f94f6e4e382289a9e719cb225ad28db7168e | 7565e90c85f96a947de26b05d9f24694d326e8df | refs/heads/master | 2021-07-08T17:08:27.862595 | 2020-10-07T12:10:33 | 2020-10-07T12:10:33 | 200,205,925 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 837 | cpp | /*
686. 重复叠加字符串匹配
给定两个字符串 A 和 B, 寻找重复叠加字符串A的最小次数,使得字符串B成为叠加后的字符串A的子串,如果不存在则返回 -1。
举个例子,A = "abcd",B = "cdabcdab"。
答案为 3, 因为 A 重复叠加三遍后为 “abcdabcdabcd”,此时 B 是其子串;A 重复叠加两遍后为"abcdabcd",B 并不是其子串。
来源:LeetCode
链接:https://leetcode-cn.com/problems/repeated-string-match/
*/
class Solution {
public:
int repeatedStringMatch(st... | [
"18365368008@163.com"
] | 18365368008@163.com |
0fdfc758aade257fca4fa7c403e6ab5b301a85d3 | b8d157766e7d2095aa1579d9d9d0f60f89b93512 | /ch7/Account.cpp | 94ee904af4cf4a703ab10226f629a8235eac8d2e | [] | no_license | StephenGuanqi/CppLearning | 24a7c7cc4a31ec616975e5096804c1051e76c53e | f5c5d49b8280207ccdaa5f6f8a38f1d45b69c033 | refs/heads/master | 2021-09-02T08:20:59.351560 | 2017-12-31T22:34:28 | 2017-12-31T22:34:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 328 | cpp | //
// Created by Guanqi Yu on 12/17/17.
//
#include "Account.h"
// define and initialize a static member. initRate is in the class scope.
double Account::interestRate = initRate();
void Account::rate(double newRate) {
interestRate = newRate;
}
double Account::initRate() {
interestRate = todayRate;
return interes... | [
"guanqiy@andrew.cmu.edu"
] | guanqiy@andrew.cmu.edu |
fbeb0c1b1fb74187db3c5e6c703d7a5a61fb481c | cf45fad37c2f7cb19b62d04d02e27bc4f85a5ca6 | /DAA/qs2.cpp | 5a0d029c1da91ac66cee3dbd27ec2d8c0906a083 | [] | no_license | Sid330s/useFullCodes-return-AC- | 0ad275377cc42d4601cf3d887e30c06cf4f37726 | 947742eb50a48e1bb024db988756ddb076d197f5 | refs/heads/master | 2023-07-11T16:03:00.471306 | 2021-08-11T07:13:01 | 2021-08-11T07:13:01 | 251,012,809 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,083 | cpp | #include<bits/stdc++.h>
using namespace std;
const int n=5;
int mat[n][n];
int partition(int arr[],int l,int r)
{
int random = l + rand() % (r-l+1);
swap(arr[random],arr[r]);
int pivot=arr[r];
int k=l-1;
for(int i=l;i<r;i++)
{
mat[i][r]+=1;
mat[r][i]+=1;
if(arr[i]<=pivot... | [
"siddharthvaidon@gmail.com"
] | siddharthvaidon@gmail.com |
f95b3e9dc00a9c2e9fffc1bd62038c16b4e2dc92 | a29ababcb77ef0431b911dbe1380c27c0ff4ee43 | /Generation/Production/GrossToNetActivePowerCurve.cpp | 8d8d03be900d3c992eff5df7235d54998dbfb669 | [] | no_license | bmzp/iec61970 | 8701c51e6c9aeb41ac05714b663278f4bd8c42db | b6ec1eb8913435528f2df3eec28fb7845a737df7 | refs/heads/master | 2022-04-16T00:23:49.215620 | 2020-03-11T15:12:24 | 2020-03-11T15:12:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 441 | cpp | ///////////////////////////////////////////////////////////
// GrossToNetActivePowerCurve.cpp
// Implementation of the Class GrossToNetActivePowerCurve
// Created on: 07-fev-2014 11:43:58
///////////////////////////////////////////////////////////
#include "GrossToNetActivePowerCurve.h"
GrossToNetAc... | [
"adirkuhn@gmail.com"
] | adirkuhn@gmail.com |
9391c634de45a6eae24318b52258f257c3822896 | 9655c1a76de83187abaafe13c5f0ae0d38746a93 | /Com/POSN 1.50/EOI/0 (1).cpp | a369845d8b9231ba3f380c56d1c0d1ac0bcdaccb | [] | no_license | PunnyOz2/POSN-Programming | 26a2df48e4f4c164b3c364d00ebef85b5df78ccd | c89cf7765354f8b5ff1f6f95b8382251f5ca734c | refs/heads/main | 2023-05-25T09:04:23.802021 | 2021-06-13T05:43:15 | 2021-06-13T05:43:15 | 376,192,660 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 225 | cpp | /*
TASK:
LANG: CPP
AUTHOR: PeaTT~
SCHOOL: CRU
*/
#include<bits/stdc++.h>
using namespace std;
int a[]
int main()
{
int q;
scanf("%d",&q);
while(q--){
scanf("%d",&n);
}
return 0;
}
| [
"punnyoz1103@gmail.com"
] | punnyoz1103@gmail.com |
51642d5dcf9166463f5f5bd7f9dd81bb7704d282 | 519c64b3f1a8d8c12121141f9f950db8c31d3ac9 | /Uva/591 - Box of Bricks.cpp | 2d786aa0099ceefdcdd0749f44d1d8ded750a851 | [] | no_license | Ronnoc/Training | 7c7db931865dd5a7ba222b3c1c384a43459737f0 | 75d16ac8f33dfe0cf47548bf75d35a8b51967184 | refs/heads/master | 2022-11-11T19:57:53.845777 | 2022-11-06T02:54:34 | 2022-11-06T02:54:34 | 13,489,501 | 17 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 691 | cpp | #include<stdio.h>
int main()
{
int n,k=0;
while(scanf("%d",&n)==1 && n!=0)
{
k++;
int a[60],i,sum=0;
for(i=1;i<=n;i++){scanf("%d",&a[i]);sum+=a[i];}
int avg=sum/n;
... | [
"kybconnor@126.com"
] | kybconnor@126.com |
a05d2ea77969d22912c1b263cafc9f63bba8e0fa | aa1e61c77092fa09f6ac781d8f81ef79afbfa153 | /12_Checkpoint_Erro01/UnitDM.h | 088a50b8c5b6765db997ead73ef080d0ca8f44d3 | [] | no_license | bravesoftdz/cpp_builder_udemy | e05e18fddc8d5b51d98ca41a15b258772b01566f | 724e932fa80710503a30d5f97d26c938c71d7bbe | refs/heads/main | 2023-03-19T18:29:33.304921 | 2021-03-09T20:37:16 | 2021-03-09T20:37:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,575 | h | //---------------------------------------------------------------------------
#ifndef UnitDMH
#define UnitDMH
//---------------------------------------------------------------------------
#include <System.Classes.hpp>
#include <Data.DB.hpp>
#include <FireDAC.Comp.Client.hpp>
#include <FireDAC.Phys.FB.hpp>
#include <Fi... | [
"vlad@altersoft.net"
] | vlad@altersoft.net |
21e0ffe80123b7662a9599260d309fd99388bcee | 0083b8e5ac5c0c7d731c6f65e09789c27cadb2a6 | /src/main.cpp | 13ed40849b8e8723f30724b563a988486d871f70 | [] | no_license | SMWRanty/SPC | 24c106571ebea13729a5a2b2ab6a4e513b263e7f | fc76511e1147a1325ce931d11a4363aae228fe7f | refs/heads/main | 2023-02-12T23:05:42.104380 | 2021-01-14T15:54:59 | 2021-01-14T15:54:59 | 329,566,859 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 75 | cpp | int main(int argc, char** argv)
{
(void)argc;
(void)argv;
return 0;
} | [
"Christopher.Burdett-Smith-Whitting@LucyZodion.com"
] | Christopher.Burdett-Smith-Whitting@LucyZodion.com |
72f10608a5a03c4ffba529a05d916e7aec72037e | f2d6d6eea1846579e15fe7f55bda710b35785d18 | /src/BurpUnity.hpp | b56040539875eda92fbfa3f53db8f411165235c8 | [] | no_license | BurpTech/BurpUnity | 834a580389a5f93f024f4ac300b2ddfeffade56c | 2aaf47c244001ca2a02af9c7b849b51b781bb6e8 | refs/heads/master | 2022-11-14T10:59:24.867396 | 2020-07-08T15:44:45 | 2020-07-08T15:44:45 | 270,839,364 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,330 | hpp | #pragma once
#include "BurpUnity/defines.hpp"
#include "BurpUnity/Entry/AsyncIt/Params.hpp"
#include "BurpUnity/Runnable.hpp"
#include "BurpUnity/Runner.hpp"
#include "BurpUnity/Memory/Instance.hpp"
#include "BurpUnity/Module.hpp"
#include "BurpUnity/Usage.hpp"
#include <cstddef>
#define bu_params(S) S, __LINE__
#if... | [
"pghalliday@gmail.com"
] | pghalliday@gmail.com |
086507ecb01958b2bc6c139cc3a05ffe36f11cb7 | e315bb51eb5d5c24023ebd5f9bcea15a25e2fec6 | /picross_cli/cli_load_grid_command.cpp | f133bc55440b7dac3120eaef7c44bb0a3836402e | [
"MIT"
] | permissive | deqyra/PicrossEngine | 5327f77856a856a39da19856b126df3f626ca54f | 0c81172faa8121c58bc2a88122d1cdbe661cc17e | refs/heads/master | 2020-08-23T07:50:26.002568 | 2020-06-11T21:03:09 | 2020-06-11T21:03:09 | 216,574,336 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,428 | cpp | #include "../tools/cli/cli_command.hpp"
#include "../tools/cli/cli_streams.hpp"
#include "../tools/cli/cli_input.hpp"
#include "cli_load_grid_command.hpp"
#include "picross_cli_state.hpp"
#include <string>
#include <iostream>
#include "../io/xml_grid_serializer.hpp"
#include "../core/grid.hpp"
namespace Picross
{
... | [
"deqyra@gmail.com"
] | deqyra@gmail.com |
837da00245406380e39d145903bd231d5009733b | 73f866ba06ebc743c7b9d6c4e868d6faaa351c0e | /malynkovsky_o_v/priorityQueueL/priorityQueueL.h | 0c6d5148ede9525a1dc010b666011c865033f7a2 | [] | no_license | malynkovsky/Programming-technologies | d6ae7005f26e9b28a3cbc159a9d4146ae7f61b87 | 6d9f2f3685a480b16e5e833d76e5ab29fdfddc6d | refs/heads/master | 2022-12-23T02:05:47.159940 | 2020-10-01T17:30:29 | 2020-10-01T17:30:29 | 300,040,899 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 735 | h | #pragma once
#ifndef PRIORITYQUEUEL_KOSHKA
#define PRIORITYQUEUEL_KOSHKA
#include <iosfwd>
class PriorityQueueL
{
public:
PriorityQueueL() = default;
explicit PriorityQueueL(const PriorityQueueL& rhs);
~PriorityQueueL();
PriorityQueueL&operator=(const PriorityQueueL& rhs);
void push(const int& rhs)... | [
"malynkovsky.oleg@gmail.com"
] | malynkovsky.oleg@gmail.com |
b8968cedac24dff1a91283deb2603f5bfd19bc51 | 6d258d9abc888d6c4640b77afa23355f9bafb5a0 | /qt5/battle_ship/src/models/fire_result.h | fd96d046e83ded652eb667449408e8bd9deaa954 | [] | no_license | ohwada/MAC_cpp_Samples | e281130c8fd339ec327d4fad6d8cdf4e9bab4edc | 74699e40343f13464d64cf5eb3e965140a6b31a2 | refs/heads/master | 2023-02-05T00:50:47.447668 | 2023-01-28T05:09:34 | 2023-01-28T05:09:34 | 237,116,830 | 15 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 469 | h | /** @file */
#ifndef SHOT_H
#define SHOT_H
namespace battleshipGame {
/**
* The Shot enum defines 3 valid results of the fire.
*/
enum FireResult {
BESIDE, /**< There isn't a ship in the square that was fired. */
INJURED, ///< There is a ship in the square that was fired, but
///< after the fi... | [
"ml.ohwada@gmail.com"
] | ml.ohwada@gmail.com |
3179623c2615305bae5d3d9bead570235e8b1284 | 4093a0637689185204a3e653737745fd3b95b234 | /vec3f.h | 88bd39465c28275b95337d64dc6c34e31c8f09a5 | [] | no_license | nualhad/TugasBesarKomgrafKincirBelanda | ad6a8446aeda61a3533887df6517449a3e67b8fe | 96c0994549f69884ca16428ee86630c282320739 | refs/heads/master | 2020-05-29T17:13:27.347990 | 2013-07-25T18:11:39 | 2013-07-25T18:11:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,006 | h |
/* File for "Terrain" lesson of the OpenGL tutorial on
* www.videotutorialsrock.com
*/
#ifndef VEC3F_H_INCLUDED
#define VEC3F_H_INCLUDED
#include <iostream>
class Vec3f {
private:
float v[3];
public:
Vec3f();
Vec3f(float x, float y, float z);
float &operator[](int index);
float operator[](int ind... | [
"miez_chuby@yahoo.co.id"
] | miez_chuby@yahoo.co.id |
3591dee0c12ebcc1a3934822ec3d665df26a3946 | 1179fec3a66bccf5fa83d114727f720f390f3aaa | /src/Hal/Io.h | b4a27fed8eb3c76949df2f591654d0311e8a6398 | [
"MIT"
] | permissive | WolfgangGitHub/esp-rgb-led-matrix | 122b13fd45c018795346c36d5a8eb00046f6ef6d | 66af3da17a1f483af825b9a664252c7b33d79b95 | refs/heads/master | 2020-08-15T04:27:16.547331 | 2019-10-14T09:00:10 | 2019-10-14T09:00:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,820 | h | /* MIT License
*
* Copyright (c) 2019 Andreas Merkle <web@blue-andi.de>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rig... | [
"web@blue-andi.de"
] | web@blue-andi.de |
c28d6f4384ad76034bde8f4ffd0f269789328aef | 3efc50ba20499cc9948473ee9ed2ccfce257d79a | /data/code-jam/files/3224486_misof_5125089213284352_0_extracted_B.cc | 76c41fa7a4567acb769358a74199d8ed69a1f7ae | [] | no_license | arthurherbout/crypto_code_detection | 7e10ed03238278690d2d9acaa90fab73e52bab86 | 3c9ff8a4b2e4d341a069956a6259bf9f731adfc0 | refs/heads/master | 2020-07-29T15:34:31.380731 | 2019-12-20T13:52:39 | 2019-12-20T13:52:39 | 209,857,592 | 9 | 4 | null | 2019-12-20T13:52:42 | 2019-09-20T18:35:35 | C | UTF-8 | C++ | false | false | 3,375 | cc | // another fine solution by misof
// #includes {{{
#include <algorithm>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <string>
#include <tuple>
#include <unordered_map>
#include <unordered_set>
#include <utility>
#include <vector>
#in... | [
"arthurherbout@gmail.com"
] | arthurherbout@gmail.com |
e9027f9c11f6f9dd8766961bfbd71e3136f4be40 | cd1e3ebd5b9a996fb7ceb058fbaa60f21bad9fb4 | /sources/quick-src/extra/luabinding/cocos2dx_extra_luabinding.cpp | c7302fd8f81c8b5b41eca525bed87c4bef4cf8ae | [] | no_license | heruohuan/hebiTest | 777d6a1b48d17cdef628c462ab07f653566f5c9a | 2ee60ed481e2a99884660f433a373054d20d622d | refs/heads/master | 2021-01-10T10:42:11.969033 | 2016-03-04T09:06:57 | 2016-03-04T09:06:57 | 53,101,185 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 50,923 | cpp | /*
** Lua binding: cocos2dx_extra_luabinding
** Generated automatically by tolua++-1.0.92 on Tue Jul 15 15:28:05 2014.
*/
#include "cocos2dx_extra_luabinding.h"
#include "CCLuaEngine.h"
using namespace cocos2d;
#include "crypto/CCCrypto.h"
#include "native/CCNative.h"
#include "network/CCNetwork.h"
using namespac... | [
"he_bi@He-bideMacBook-Pro.local"
] | he_bi@He-bideMacBook-Pro.local |
f68feab6eaef611069b9c5fafa6bc980d2cfbf19 | 826c2762805e39ac1c080091e7f4f642fb41e19a | /ouniverse_2021_whitebox_ue4_source_BAK/2021-4-13/App/Game/Include/AppMode.h | 3090ed7e066d92bcd10508c22cef79b2274b3a72 | [] | no_license | legendofceo/ouniverse_ue_cpp_source_deprecated_pre2022 | fe625f69210c9c038202b8305495bdf373657ea8 | 729f12569f805ce74e602f8b13bab0ac318358a5 | refs/heads/main | 2023-08-12T19:14:39.216646 | 2021-10-17T16:19:29 | 2021-10-17T16:19:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,032 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/GameModeBase.h"
#include "AreaAddress.h"
#include "Log.h"
#include "Tally.h"
#include "Delegate.h"
#include "AppMode.generated.h"
class UApp;
class AAppController;
class USof... | [
"work.by.ceo@gmail.com"
] | work.by.ceo@gmail.com |
cfd3022091287074667fc63ed9a922f5f283be2b | b92a23e6ac60d1bf3b8d33cd944a623c67c69620 | /Lecture12/length.cpp | 48b61d56cb87a12565f6bdcaa8938912c2461831 | [] | no_license | pushpraj9889/CPP-Live-21-Aug | cc57e92b5fc9267bbcecfff2a02e2b43dfd1b8b4 | ba391cbb6e8c8b3db76fc93c6fbba46cf7225c1d | refs/heads/master | 2023-08-05T02:33:48.120086 | 2021-09-24T18:06:57 | 2021-09-24T18:06:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 407 | cpp | #include<iostream>
using namespace std;
// length(char arr[])
int length(char *arr){
int co=0;//0 "Hi cat\0\n"
// int i=0;
// while(arr[i]!='\0'){
// co++;//6
// i++;//6
// }
for(int i=0;arr[i]!='\0';i++){
co++;//6
}
return co;
}
int main(){
// int arr[]={1,2,3,4,5};
char arr[1000];
cin.ge... | [
"mosinaashraf1913@gmail.com"
] | mosinaashraf1913@gmail.com |
4b0646dda75e1665584a5f64894715b24e55029c | 4881fb95959433ef15b2a894201e1cd6b7ffadf0 | /DP/editDistance.cpp | 9d61c4ee06f8fc5170aa839398b41c1a3918b223 | [] | no_license | mohitsh/cpp | 719d7aded858dfc998b02b3c9d0ec0d189613b49 | c441ae2f6c7533d74e67c1a88df0647453daa5c1 | refs/heads/master | 2021-01-19T06:15:04.901356 | 2019-12-29T19:42:04 | 2019-12-29T19:42:04 | 42,009,935 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,771 | cpp | #include<iostream>
#include<vector>
#include<string>
using namespace std;
int min(int a, int b, int c)
{
int min;
min = (a<b) ? a : b;
min = (min < c) ? min : c;
return min;
}
void editDistance(string s1, string s2)
{
int l1, l2;
l1 = s1.size();
l2 = s2.size();
static int mat[1000]... | [
"mohitsh114@gmail.com"
] | mohitsh114@gmail.com |
82e5166fcb5e63ead0924317bc36f2f96b692542 | c4f539ea7065d11c997ffdddae8302f261f1327c | /libs/random/src/random-precomp.cpp | 1c8311f9fe6bb8e159faf19f20460c5a25a8a329 | [
"BSD-3-Clause"
] | permissive | Tednsn/mrpt | 0d3d566b6df1eb83752da323585de6860dfeb1c9 | 66af769da390ec2409b0bf68078a9f1f7ca17d7f | refs/heads/master | 2020-04-16T12:23:23.675830 | 2019-01-14T01:40:34 | 2019-01-14T01:40:34 | 165,577,002 | 1 | 0 | BSD-3-Clause | 2019-01-14T01:42:20 | 2019-01-14T01:42:19 | null | UTF-8 | C++ | false | false | 675 | cpp | /* +------------------------------------------------------------------------+
| Mobile Robot Programming Toolkit (MRPT) |
| http://www.mrpt.org/ |
| |
| Cop... | [
"joseluisblancoc@gmail.com"
] | joseluisblancoc@gmail.com |
11ebf4f28aa3803c09aed760ac542d3380e2f851 | 332297e5b7277ad48ec867933bd2c88bf49e8ff4 | /chromeos/components/tether/tether_component_impl.h | 25439439e882b2a99fad8d91fc8812ceb08acf8d | [
"BSD-3-Clause"
] | permissive | chorman0773/chromium | 3b4147a24e41dab4abe82cde84b9a6f52dd7ee67 | ba837a33fd29823d60e8119daf0d5b8113384ca6 | refs/heads/master | 2022-11-29T21:39:15.228897 | 2018-11-13T15:42:24 | 2018-11-13T15:42:24 | 157,396,636 | 1 | 0 | NOASSERTION | 2018-11-13T15:42:25 | 2018-11-13T14:52:16 | null | UTF-8 | C++ | false | false | 4,968 | h | // Copyright 2016 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 CHROMEOS_COMPONENTS_TETHER_TETHER_COMPONENT_IMPL_H_
#define CHROMEOS_COMPONENTS_TETHER_TETHER_COMPONENT_IMPL_H_
#include <memory>
#include "base... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
9882aa1e18fb1c3354ada8746f91f4e7fe3e7591 | 07c3e4c4f82056e76285c81f14ea0fbb263ed906 | /Re-Abyss/app/utils/DebugMenu/IFolder.hpp | cb7d6d26299b5e24fd97db7008774fc70698ed23 | [] | no_license | tyanmahou/Re-Abyss | f030841ca395c6b7ca6f9debe4d0de8a8c0036b5 | bd36687ddabad0627941dbe9b299b3c715114240 | refs/heads/master | 2023-08-02T22:23:43.867123 | 2023-08-02T14:20:26 | 2023-08-02T14:20:26 | 199,132,051 | 9 | 1 | null | 2021-11-22T20:46:39 | 2019-07-27T07:28:34 | C++ | UTF-8 | C++ | false | false | 521 | hpp | #pragma once
#include <abyss/utils/DebugMenu/IItem.hpp>
#include <abyss/utils/DebugMenu/INode.hpp>
#include <abyss/utils/Ref/Ref.hpp>
#include <Siv3D/Optional.hpp>
namespace abyss::DebugMenu
{
class IFolder : public IItem
{
public:
virtual void onOpendUpdate(const IInputController* input) = 0;
virtual bool isO... | [
"tyanmahou@gmail.com"
] | tyanmahou@gmail.com |
973e080ff048eb7491b4381edf8df4e2dc839d8f | 8c5ac43079ab0d14a07b68bbdc64fb91dc06527c | /src/Author.cxx | 568a1f1d15448e2a4ca66ab1eff09646bfc208d3 | [] | no_license | Maciej-Poleski/LPS | 494072c382328611bcf35a2bc75efecb9e0a9626 | 9c154b5d39161f7f7bd9f2e1ec73d72f976c96c6 | refs/heads/master | 2023-06-25T13:30:36.507707 | 2011-08-17T22:51:03 | 2011-08-17T22:51:03 | 390,454,332 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,408 | cxx | /* (C) Maciej Poleski 2011 */
#include "Author.hxx"
#include <QtCore/QDataStream>
quint16 Author::lastID=~ ( static_cast<quint16> ( 0u ) );
Author::Author() : id ( lastID++ )
{
}
Author::Author ( QString publicKeyFile, QString name, QString email ) :
publicKeyFile ( publicKeyFile ), name ( name ), email ( ema... | [
"Maciej-Poleski@users.noreply.github.com"
] | Maciej-Poleski@users.noreply.github.com |
8e220b78ae792b56f27182c835238063a75efc18 | e203cbf51ca5efa6b5ec3b6df3e1548fc3c2cbfa | /mobile/src/main/cpp/GestureClassifier.cpp | 7a031e80cda58130427e1c5d23e5eb5ab64b5824 | [] | no_license | frantic0/Gmapper | 938db66630284e8331cd4b15bcd9a316404d0300 | ee2401e84457106622093f5a06d8999618f3338d | refs/heads/master | 2021-01-24T03:57:10.598198 | 2018-02-13T22:12:39 | 2018-02-13T22:12:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,368 | cpp | //
// Created by James on 18/01/2018.
//
#include "GestureClassifier.hpp"
//TODO: Make lock free
GestureClassifier::GestureClassifier( void )
{
toProcessThread.setup( sizeof( AccelerometerData ) * 2000 );
startThread( 6000 ); // Sleep 1/60th of a second each call
ifttt.setup( );
simpleOSC.setup( 409... | [
"jfrin001@gold.ac.uk"
] | jfrin001@gold.ac.uk |
a7476e7a1767eb5cd8b2a675019972d5bbd04592 | d97c210bd54e596172ac8587447610ff57aacf02 | /src/renderer/content_renderer_client.h | e562bd050583e906049df59b3160ec50b94c49cd | [] | no_license | davidsz/sprocket | 8df5b81efec3ef59b02cd009c45904c897ef7ba5 | 31760ce9b5cacd6fce24c69c542808975cbe8388 | refs/heads/master | 2021-01-17T07:58:06.220234 | 2016-06-02T13:54:01 | 2016-06-10T11:26:45 | 60,611,391 | 0 | 2 | null | 2016-06-07T12:28:26 | 2016-06-07T12:28:24 | C++ | UTF-8 | C++ | false | false | 2,125 | h | // Copyright (c) 2016 University of Szeged.
// Copyright (c) 2016 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 SPROCKET_RENDERER_CONTENT_RENDERER_CLIENT_H_
#define SPROCKET_RENDERER_CONTENT_RENDERER_CLIENT_... | [
"davidsz@inf.u-szeged.hu"
] | davidsz@inf.u-szeged.hu |
7a2b116f4ffdcc1c747d86d05979cc5629e78ab6 | 2b04cdb3aca3d35f0436e7595783f9a17c0c277c | /BuildingEscape/Source/BuildingEscape/PositionReport.cpp | 2c19195ea08d2fd6f89e93689debcdd3789ead19 | [] | no_license | BlackEtude/UE4_Escape_the_Room | 89cba28e4790c5611ca551ee6586b3622a39197b | 338d8541f0a9c48eec6d31b0026d66ddf39ae014 | refs/heads/master | 2021-05-02T16:19:33.877981 | 2018-02-08T22:51:32 | 2018-02-08T22:51:32 | 120,673,336 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 958 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "PositionReport.h"
#include "GameFramework/Actor.h"
// Sets default values for this component's properties
UPositionReport::UPositionReport()
{
// Set this component to be initialized when the game starts, and to be ticked every... | [
"229726@student.pwr.edu.pl"
] | 229726@student.pwr.edu.pl |
94b081762a3a80d2267d405005c065f1db6c5ba2 | 9870e11c26c15aec3cc13bc910e711367749a7ff | /CF/cd_126_D.cpp | db6128c430e00765c1176e801ac82668ecf33af9 | [] | no_license | liuq901/code | 56eddb81972d00f2b733121505555b7c7cbc2544 | fcbfba70338d3d10bad2a4c08f59d501761c205a | refs/heads/master | 2021-01-15T23:50:10.570996 | 2016-01-16T16:14:18 | 2016-01-16T16:14:18 | 12,918,517 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 779 | cpp | #include <cstdio>
typedef long long ll;
const ll inf=1000000000000000000LL;
ll f[100];
bool a[110];
int main()
{
f[1]=1;
f[2]=2;
int n;
for (int i=3;;i++)
{
f[i]=f[i-2]+f[i-1];
if (f[i]>=inf)
{
n=i;
break;
}
}
int T;
scanf("%d",&T);... | [
"liuq901@163.com"
] | liuq901@163.com |
1b5e33a4d21c80ba06cd5eb66c4cb333de07e7ff | 11107024f8c2fa943edc7564e6938322cf438315 | /LocalSearch/tests/LocalSearch.cpp | edfcf77928ba796a3d33909b3c4e9cde53f3d2d7 | [] | no_license | eli215/optimization-algorithms | 1a9530a28b965c611a68e16e00735dd4fd58be7d | cfcaec0385ac3772e0f30557236a8f704742b26f | refs/heads/main | 2023-05-24T04:58:57.459178 | 2021-06-21T20:14:03 | 2021-06-21T20:14:03 | 301,543,311 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,005 | cpp | #include "LocalSearch.hpp"
LocalSearch::LocalSearch()
{
this->problem = Problem();
this->scalingParam = 0;
this->bestSolution = std::vector<double>();
this->minFitness = std::numeric_limits<double>::max();
this->iterations = 0;
}
/// @brief 3-arg LocalSearch constructor which generates a random solution vector ... | [
"elistorlie@gmail.com"
] | elistorlie@gmail.com |
838f3fa334aef35d1b3576cea861b3a51ea0148d | c54375a5483b194dd63883bf692d2ba969510ab1 | /14.WatchDog/14.1WatchDog_Basic/main.cpp | 6aaec91f7386e8c6342454787443d9b66be77a8f | [] | no_license | TESR-Channel/STM32F413DiscoveryKit | a17b15ab3e4d0a48ff042b0c9ac19ad74682bcdc | 146f09835debd18858155a8c4b5774b3ab033ad7 | refs/heads/master | 2022-04-11T21:00:54.957561 | 2020-04-03T20:18:29 | 2020-04-03T20:18:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 772 | cpp | #include "mbed.h"
const uint32_t TIMEOUT_MS = 3000; // Watchdog Timer
#define PressButton 1
DigitalIn User_Button(PA_0,PullNone);
int main()
{
int count = 0;
printf("Watchdog int.\n");
Watchdog &watchdog = Watchdog::get_instance(); // Watchdog setup
watchdog.start(TIMEOUT_MS); // Watchdog start
... | [
"noreply@github.com"
] | TESR-Channel.noreply@github.com |
80341072f2b1ef2c1b0c11dd8a4495c4eb6b7792 | 8578ae5be776b49559fa95ce30f6b45b6a82b73a | /src/util/rbf.h | e9ea0f4ecdab2400f52a55c6556ed251b1c2f518 | [
"MIT"
] | permissive | devcoin/core | 3f9f177bd9d5d2cc54ff95a981cfe88671206ae2 | f67e8b058b4316dd491615dc3f8799a45f396f4a | refs/heads/master | 2023-05-25T03:42:03.998451 | 2023-05-24T07:59:22 | 2023-05-24T08:02:14 | 21,529,485 | 16 | 13 | MIT | 2022-01-07T17:04:18 | 2014-07-05T22:42:13 | C | UTF-8 | C++ | false | false | 567 | h | // Copyright (c) 2016-2019 The Bitcoin Core and Devcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef DEVCOIN_UTIL_RBF_H
#define DEVCOIN_UTIL_RBF_H
#include <cstdint>
class CTransaction;
static const... | [
"fernando@develcuy.com"
] | fernando@develcuy.com |
11260844380493cade86ec22f08971442ce68ff7 | ca571e53fe9c7b5e2bce408dc441dd5d7795e861 | /rough-terrain-code/catkin_ws/src/huskyterrain/src/pcl_visualize.cpp | c3fd04df77103af472b93d4a3a948c64d76d383f | [] | no_license | tommyvsfu1/optimization_rough_terrain | d559ded45b1490eb22675ad8b1e877f95fd75bf8 | b53d98a3e19cbd113cde41f07649232d6f566640 | refs/heads/master | 2020-03-17T14:13:18.532005 | 2018-05-16T12:42:57 | 2018-05-16T12:42:57 | 133,663,757 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,049 | cpp | #include <iostream>
#include <ros/ros.h>
#include <pcl/visualization/cloud_viewer.h>
#include <sensor_msgs/PointCloud2.h>
#include <pcl_conversions/pcl_conversions.h>
#include <pcl/point_cloud.h>
#include <pcl/console/parse.h>
#include <pcl/common/transforms.h>
#include <pcl/visualization/pcl_visualizer.h>
#include <Ei... | [
"tommy558788@gmail.com"
] | tommy558788@gmail.com |
3fdb3fa1363db847abb74b7a129351a8e6a8d495 | a114b97fbc3b1a46e5c7f0f9053611205c98ebf4 | /addons/db/src/db.cpp | 4a9a78137e48b258ee5918348521b2e75a24ce80 | [] | no_license | forme12/qualnet- | d4a76f0916623227dfd51b4ed6d23af052e3a69d | 4d8fd82b9d16633f8773f7953c8cc2e0b60a230f | refs/heads/master | 2021-11-03T08:47:08.491807 | 2019-03-25T11:40:26 | 2019-03-25T11:40:26 | 177,569,714 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 416,729 | cpp | // Copyright (c) 2001-2009, Scalable Network Technologies, Inc. All Rights Reserved.
// 6100 Center Drive
// Suite 1250
// Los Angeles, CA 90045
// sales@scalable-networks.com
//
// This source code is licensed, not sol... | [
"2081444098@qq.com"
] | 2081444098@qq.com |
463c438a770a38ca8084bbac0c37af8b2ab07454 | dd6147bf9433298a64bbceb7fdccaa4cc477fba6 | /8304/Melnikova Olga/Lab1/archery.h | 0528eff82f15edaf13aa42486daf5ebbf74cec60 | [] | no_license | moevm/oop | 64a89677879341a3e8e91ba6d719ab598dcabb49 | faffa7e14003b13c658ccf8853d6189b51ee30e6 | refs/heads/master | 2023-03-16T15:48:35.226647 | 2020-06-08T16:16:31 | 2020-06-08T16:16:31 | 85,785,460 | 42 | 304 | null | 2023-03-06T23:46:08 | 2017-03-22T04:37:01 | C++ | UTF-8 | C++ | false | false | 163 | h | #pragma once
#ifndef ARCHERY_H
#define ARCHERY_H
#include "unit.h"
class Archery : public Unit //лучники
{
public:
Archery();
};
#endif // ARCHERY_H
| [
"melnikova.oa00@gmail.com"
] | melnikova.oa00@gmail.com |
7d90382f1d09ed580fb72db284ad2b45a2762078 | fbba4082b89fd3807d7104f9a09dfea13dcabc7d | /Part2/optimized_tuned4.cpp | 99f751797eb96b56bf5beeb6420f16c3065609e2 | [] | no_license | msimiste/CPSC501_Assignment4 | eef2a2e4c344ef7ad5fe20861f4519da443a30c8 | 75f6c5f3a8c3f866eed3bfa22644df1dd78bed79 | refs/heads/master | 2020-06-18T23:11:39.278201 | 2016-12-11T12:17:59 | 2016-12-11T12:17:59 | 74,935,878 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,121 | cpp |
/* Include files */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <fstream>
#include <iostream>
#include <vector>
#include <cmath>
#include <time.h>
/* CONSTANTS ***************************************************************/
#define SIZE 8
#define PI 3.... | [
"mikesimister@shaw.ca"
] | mikesimister@shaw.ca |
cb41d764173331940381eaa2a7f28a7ea5d0c6fb | 6fd62e4307ddf0156412019d1915540ef38f8fa0 | /DrawBoot/stdafx.cpp | d153f92d407907dda163c24712c3b336dcc46c56 | [] | no_license | zpeng1993/RedFiles2017 | a58b59f2cd52c173a9de853bdaf54fcc5a67485d | a7481f290bc42c662e428da86fa03b5e804b5432 | refs/heads/master | 2021-07-13T00:02:28.834445 | 2017-10-17T07:56:30 | 2017-10-17T07:56:30 | 107,235,431 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 163 | cpp |
// stdafx.cpp : 只包括标准包含文件的源文件
// DrawBoot.pch 将作为预编译头
// stdafx.obj 将包含预编译类型信息
#include "stdafx.h"
| [
"whut_zp@163.com"
] | whut_zp@163.com |
a3b11de019bb8c7adfde93f7b697c875e2bdee92 | 492976adfdf031252c85de91a185bfd625738a0c | /src/Game/AI/AI/aiSeqTwoWeakPointOnFirstDo.h | 60325f9f5094a8901b577cb06bf33854672dc092 | [] | no_license | zeldaret/botw | 50ccb72c6d3969c0b067168f6f9124665a7f7590 | fd527f92164b8efdb746cffcf23c4f033fbffa76 | refs/heads/master | 2023-07-21T13:12:24.107437 | 2023-07-01T20:29:40 | 2023-07-01T20:29:40 | 288,736,599 | 1,350 | 117 | null | 2023-09-03T14:45:38 | 2020-08-19T13:16:30 | C++ | UTF-8 | C++ | false | false | 637 | h | #pragma once
#include "Game/AI/AI/aiSeqTwoAction.h"
#include "KingSystem/ActorSystem/actAiAi.h"
namespace uking::ai {
class SeqTwoWeakPointOnFirstDo : public SeqTwoAction {
SEAD_RTTI_OVERRIDE(SeqTwoWeakPointOnFirstDo, SeqTwoAction)
public:
explicit SeqTwoWeakPointOnFirstDo(const InitArg& arg);
~SeqTwoWea... | [
"leo@leolam.fr"
] | leo@leolam.fr |
f860ac22cbb1370304249f97764e8a7e108db035 | 48b7c50ee5d51b10c5c4839c6c64fac7d1a05fa5 | /cockpit/test/array_check.h | aa0bebc43a08d6dc0b452df351837f8b32063372 | [
"MIT"
] | permissive | gogo-dev/GoGo | 6b65da6188bdac846115dd5c2deede49ba862113 | 28ecf16ff7d3e4890bf6f1e0a35dd1cf109c5308 | refs/heads/master | 2021-01-02T09:31:24.503364 | 2010-08-20T19:42:04 | 2010-08-20T19:42:04 | 752,140 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,827 | h | #pragma once
#include <boost/cstdint.hpp>
#include <gtest/gtest.h>
#include <cassert>
#include <string>
static char hexify_octet(boost::uint8_t octet)
{
assert(octet < 16);
static const char* hex = "0123456789ABCDEF";
return hex[octet];
}
static std::string hexify_element(boost::uint8_t elem)
{
std::string s;
... | [
"cg.wowus.cg@gmail.com"
] | cg.wowus.cg@gmail.com |
da5a7141fa954ebe6e43bad83293a9686bb5a611 | fec4ce0c594dbe642b6ad0a0a7c8ac8639519730 | /src/util.cpp | ac848c2e34c50b74070503c334f1aa91f44ccefb | [
"MIT"
] | permissive | ResourceCoin/ResourceCoin | a76f6a44f2fac33eff7e5c9aa9145d5b531fcbad | 8be155473dcfc8333667b2d19f2e882f51e89ca3 | refs/heads/master | 2021-05-05T21:22:23.358476 | 2017-12-28T06:02:22 | 2017-12-28T06:02:22 | 115,589,814 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 37,993 | 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 "util.h"
#include "sync.h"
#include "strlcpy.h"
#include "version.h"
#inc... | [
"admin@resourcecoin.io"
] | admin@resourcecoin.io |
38b39774027872d81e80d05a43d680e1152ebe2d | d296f3b8b55616c4a74f5bbb217fc87b9f4b8e63 | /weikong/cbl/src/encrypt/des.cpp | 582af96077bb6f4dc421d1139d4ea0df726780ab | [] | no_license | ktysakura/project_test | 8c541eecc974c37256a2daad0328c308253759db | 4c015aa92894b87c6ed5a0419073300f2c01b206 | refs/heads/master | 2023-03-01T18:24:07.597722 | 2021-02-08T09:34:58 | 2021-02-08T09:34:58 | 294,620,728 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,035 | cpp | #include "des.h"
#include <stdlib.h>
namespace cbl {
#define LB32_MASK 0x00000001
#define LB64_MASK 0x0000000000000001
#define L64_MASK 0x00000000ffffffff
static const char PC1[] =
{
57, 49, 41, 33, 25, 17, 9,
1, 58, 50, 42, 34, 26, 18,
10, 2, 59, 51, 43, 35, 27,
19, 11, 3, 60, 52, 44, 36,
63, 55, 47, 39,... | [
"563073320@qq.com"
] | 563073320@qq.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.