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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
551ae3d51ee38c8c76b2733bc1c07f0ffac20a44 | 5fd0b45b2f6ec6a6c1802fce1b52e0218d189f89 | /platform/android/MapboxGLAndroidSDK/src/cpp/snapshotter/map_snapshot.hpp | 6b82d02835be7f6fa97bd8920a6fe3c4f8c84fc5 | [
"BSD-3-Clause",
"MIT",
"Apache-2.0",
"BSD-2-Clause",
"LicenseRef-scancode-unknown-license-reference",
"curl",
"ISC",
"BSL-1.0",
"JSON"
] | permissive | reezer/maplibre-gl-native | ca8e7a87331e39a23e2f3cade3578cfb7be50aa8 | d716b5b408900776cbffdc5cffa00c5486e7d1d2 | refs/heads/master | 2023-04-17T03:24:26.571128 | 2021-04-07T01:46:21 | 2021-04-07T01:46:21 | 357,980,368 | 0 | 1 | BSD-2-Clause | 2021-04-30T12:59:38 | 2021-04-14T17:00:10 | null | UTF-8 | C++ | false | false | 1,435 | hpp | #pragma once
#include <mbgl/map/map_snapshotter.hpp>
#include <jni/jni.hpp>
#include "../geometry/lat_lng.hpp"
#include "../graphics/pointf.hpp"
#include <vector>
#include <string>
namespace mbgl {
namespace android {
class MapSnapshot {
public:
using PointForFn = mbgl::MapSnapshotter::PointForFn;
using ... | [
"noreply@github.com"
] | noreply@github.com |
eb0416936ce7747c5dd80cd21cdea848c6154e04 | 4324378b92a258c471d99d7d10804861961a952b | /Source/MagicBattleSoccer/Classes/Traps/MagicBattleSoccerTrap.h | 3e30862efb8293f9c99331746f3fdcf88f22f2b9 | [] | no_license | Gamieon/UBattleSoccerPrototype | 8fadb3721fb89abd6be3488e10ef0dc8f079e363 | 77039cd3d47d026f69517261fbc00826446f4f78 | refs/heads/master | 2020-12-24T13:29:36.702182 | 2015-03-10T21:18:04 | 2015-03-10T21:18:04 | 23,994,481 | 27 | 12 | null | 2019-05-10T18:21:12 | 2014-09-13T13:06:14 | C++ | UTF-8 | C++ | false | false | 578 | h | #pragma once
#include "GameFramework/Actor.h"
#include "MagicBattleSoccerTrap.generated.h"
/**
* Actor is the base class for an Object that can be placed or spawned in a level.
* Actors may contain a collection of ActorComponents, which can be used to control how actors move, how they are rendered, etc.
* T... | [
"c.haag@gamieon.com"
] | c.haag@gamieon.com |
e267b66d75cf1e62d0333f9d510d7a2c34d6db7f | ee5bed0cace70439a34e3d96e4f8e97334db44c9 | /data-structure/1-基本概念/printN.cpp | d49980cd619be700ca8df91f4fad124ff9be1277 | [] | no_license | ahabhgk/my-DSA | 8ed35d3c82ee4ca203d0f266e998f20d828294e2 | 5709598aa0858205a5184e70c955b767ebefba38 | refs/heads/master | 2020-08-03T08:10:33.538664 | 2019-12-25T17:18:04 | 2019-12-25T17:18:04 | 211,679,320 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 343 | cpp | #include <iostream>
using namespace std;
void loopPrinter(int n) {
for (;n > 0; n--) cout << n << endl;
return;
}
void recursivePrinter(int n) {
if (n == 0) return;
cout << n << endl;
recursivePrinter(n - 1);
}
void(*const fn)(int) = recursivePrinter;
// const void(*fn)(int) 表示 fn 返回值是常量
int main() {
fn(10000... | [
"hi@ahabhgk.top"
] | hi@ahabhgk.top |
b3dac9189c710ac77ad7fc8e1aca1fe89ad8fd40 | 1d928c3f90d4a0a9a3919a804597aa0a4aab19a3 | /c++/Halide/2016/4/bit_counting.cpp | a4f6cb2eddf17115f1be036ccaef7d1eed024637 | [] | no_license | rosoareslv/SED99 | d8b2ff5811e7f0ffc59be066a5a0349a92cbb845 | a062c118f12b93172e31e8ca115ce3f871b64461 | refs/heads/main | 2023-02-22T21:59:02.703005 | 2021-01-28T19:40:51 | 2021-01-28T19:40:51 | 306,497,459 | 1 | 1 | null | 2020-11-24T20:56:18 | 2020-10-23T01:18:07 | null | UTF-8 | C++ | false | false | 2,907 | cpp |
#include "Halide.h"
#include <stdio.h>
#include <stdint.h>
#include <string>
using namespace Halide;
uint32_t local_popcount(uint32_t v) {
uint32_t count = 0;
while (v) {
if (v & 1) ++count;
v >>= 1;
}
return count;
}
uint32_t local_count_trailing_zeros(uint32_t v) {
for (uint32_... | [
"rodrigosoaresilva@gmail.com"
] | rodrigosoaresilva@gmail.com |
aa151bbb77c55945e3e7345dd1675b60f1a0a822 | ccec956c2ad7c1eced7415a827d4cb88260ef5c9 | /NotePad/scintilla/lexers/LexMMIXAL.cxx | d3e735b8047985f39870f2f95adfcc0b84f782d8 | [] | no_license | Dylan-H/NotePadUWP | b7a7e33edbec0525abdae053a4e83e61455d5b34 | 0af598f9b6d0982374307ffa648190770d3464e9 | refs/heads/master | 2020-05-30T07:34:18.527504 | 2019-05-31T14:09:44 | 2019-05-31T14:09:44 | 189,601,013 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,651 | cxx | // Scintilla source code edit control
// Encoding: UTF-8
/** @file LexMMIXAL.cxx
** Lexer for MMIX Assembler Language.
** Written by Christoph Hösler <christoph.hoesler@student.uni-tuebingen.de>
** For information about MMIX visit http://www-cs-faculty.stanford.edu/~knuth/mmix.html
**/
// Copyright 1998-2003... | [
"huangdongdong2008@vip.qq.com"
] | huangdongdong2008@vip.qq.com |
7aadfcc34860f07a0592a3fd2a322b44f19c2d85 | 775d7b96a5d279e0774340b84917369dcc4b1512 | /managecard.h | 790e077caa151b3ac2b575caff50d790dd310506 | [] | no_license | Tiffanylqc/Library-Database-System | be3c2921ad37ce62a365951ee79f267be80f3292 | 8d80e7140fcb3ef00544189830913ee4fe1b6fbd | refs/heads/master | 2021-01-20T08:29:33.813189 | 2017-05-03T13:35:49 | 2017-05-03T13:35:49 | 90,151,855 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 370 | h | #ifndef MANAGECARD_H
#define MANAGECARD_H
#include <QDialog>
namespace Ui {
class ManageCard;
}
class ManageCard : public QDialog
{
Q_OBJECT
public:
explicit ManageCard(QWidget *parent = 0);
~ManageCard();
private slots:
void on_pushButton_clicked();
void on_pushButton_2_clicked();
private:
... | [
"noreply@github.com"
] | noreply@github.com |
f85797e6dbd336087afb8f1c6cd526685bd1e599 | d17a8870ff8ac77b82d0d37e20c85b23aa29ca74 | /lite/core/optimizer/mir/__xpu__quantization_parameters_propagation_pass.cc | 5098391f965b5d7abef074a5f260a0a509569066 | [
"Apache-2.0"
] | permissive | PaddlePaddle/Paddle-Lite | 4ab49144073451d38da6f085a8c56822caecd5b2 | e241420f813bd91f5164f0d9ee0bc44166c0a172 | refs/heads/develop | 2023-09-02T05:28:14.017104 | 2023-09-01T10:32:39 | 2023-09-01T10:32:39 | 104,208,128 | 2,545 | 1,041 | Apache-2.0 | 2023-09-12T06:46:10 | 2017-09-20T11:41:42 | C++ | UTF-8 | C++ | false | false | 18,614 | cc | // Copyright (c) 2023 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... | [
"noreply@github.com"
] | noreply@github.com |
ad928a4245e965e8490d9b284bcbe1a0e389ef7f | fcc4255330e54117e785fe4f9ad7f03f13e9b59f | /practice/cpp/divide_and_conquer/largest_rectangle_in_histogram.cpp | 71b28422e4de0885ca9030ff5ea07f25006b9b7b | [] | no_license | truongpt/warm_up | f5cc018e997e7edefe2802c6e346366e32c41b35 | 47c5694537fbe32ed389e82c862e283b90a9066d | refs/heads/master | 2023-07-18T11:10:22.978036 | 2021-09-02T20:32:04 | 2021-09-02T20:32:04 | 242,413,021 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,133 | cpp | /*
- Problem: https://leetcode.com/problems/largest-rectangle-in-histogram/
- Solution:
- [2,1,5,6,2,3].
^
- Find minimum value element of array -> min value.
- result = max ( min value * size of array, recursive left side, recursive right side)
*/
#include <iostream>
#include <vector>
#include... | [
"truong.phamtrong@vti.com.vn"
] | truong.phamtrong@vti.com.vn |
feffef2f8bfaa0612d9a6d0ff609e4a1bf6b9efa | 1b81a18199c9ed8af1deeddcac9e60503b39319c | /ladder2c/ap.cpp | 79ed1271b40e4c20ffc84842f436d667c01336dc | [] | no_license | ayushsawlani/codeforces | 50948375f86738ffd5e8b6a6b0fa77ed51691f8a | 4eebdf5143156ead2a287531abdab3aee0663f2d | refs/heads/master | 2022-12-10T21:15:36.881289 | 2020-09-13T13:05:47 | 2020-09-13T13:05:47 | 285,869,577 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,496 | cpp | #include <bits/stdc++.h>
using namespace std;
#define ll long long
int main()
{
ll n;
cin>>n;
ll a[n];
for(ll i=0;i<n;i++)
{
cin>>a[i];
}
if(n==1)
{
cout<<-1<<endl;
return 0;
}
sort(a,a+n);
ll d[n-1];
map <ll,ll> m;
for(ll i=0;i<n-1;i++)
... | [
"ayush.sawlani@iiitb.org"
] | ayush.sawlani@iiitb.org |
521fb4a842db0971a1bf05569327bd1ea2bfb3dd | 6bd9d7679011042f46104d97080786423ae58879 | /1000/a/a.cc | 774cd205983ed7109c30e50e90a6c25f2f4fce20 | [
"CC-BY-4.0"
] | permissive | lucifer1004/codeforces | 20b77bdd707a1e04bc5b1230f5feb4452d5f4c78 | d1fe331d98d6d379723939db287a499dff24c519 | refs/heads/master | 2023-04-28T16:00:37.673566 | 2023-04-17T03:40:27 | 2023-04-17T03:40:27 | 212,258,015 | 3 | 1 | null | 2020-10-27T06:54:02 | 2019-10-02T04:53:36 | C++ | UTF-8 | C++ | false | false | 552 | cc | #include <iostream>
#include <unordered_map>
using namespace std;
typedef long long ll;
class Solution {
public:
void solve() {
int n;
cin >> n;
unordered_map<string, int> cnt;
string size;
for (int i = 0; i < n; ++i) {
cin >> size;
cnt[size]++;
}
for (int i = 0; i < n; ++i... | [
"wuzihua@pku.edu.cn"
] | wuzihua@pku.edu.cn |
c869e94a6c3376f0309f565fd3424c377d0f8be1 | 46f53e9a564192eed2f40dc927af6448f8608d13 | /components/nacl/broker/nacl_broker_listener.cc | 6dec3e6563621ea2864dbbe6a25ae5b4c2b7bd68 | [
"BSD-3-Clause"
] | permissive | sgraham/nope | deb2d106a090d71ae882ac1e32e7c371f42eaca9 | f974e0c234388a330aab71a3e5bbf33c4dcfc33c | refs/heads/master | 2022-12-21T01:44:15.776329 | 2015-03-23T17:25:47 | 2015-03-23T17:25:47 | 32,344,868 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 5,232 | cc | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/nacl/broker/nacl_broker_listener.h"
#include "base/base_switches.h"
#include "base/bind.h"
#include "base/command_line.h"
#include "... | [
"scottmg@chromium.org"
] | scottmg@chromium.org |
630931858bd1d2bdbb93f3268c27594d4bbda5bc | 5ca7c30e1ab250c981eda169d4712f632c7b6061 | /flecsi-tutorial/05-sparse-data/sparse-data.cc | 50998b1b48bfe28d3168dafd1a756d0fc40ad8ea | [
"BSD-2-Clause"
] | permissive | tylerjereddy/flecsi | 4cf92bcc86903eeac20f26b6ebd24e7cadbd32d8 | 4e0f9d89ccec984c1ae96e490687ccf99ba11415 | refs/heads/master | 2021-05-05T05:03:23.389572 | 2018-01-23T04:38:52 | 2018-01-23T04:38:52 | 118,654,984 | 0 | 0 | null | 2018-01-23T18:58:22 | 2018-01-23T18:58:21 | null | UTF-8 | C++ | false | false | 2,131 | cc | /*
@@@@@@@@ @@ @@@@@@ @@@@@@@@ @@
/@@///// /@@ @@////@@ @@////// /@@
/@@ /@@ @@@@@ @@ // /@@ /@@
/@@@@@@@ /@@ @@///@@/@@ /@@@@@@@@@/@@
/@@//// /@@/@@@@@@@/@@ ////////@@/@@
/@@ /@@/@@//// //@@ @@ /@@/@@
/@@ @@@//@@@@@@ //@@... | [
"bergen@lanl.gov"
] | bergen@lanl.gov |
51c76b3c58d48a568bf34a725e07738995a52a61 | 65b94c7a4f68171738b5c66c4d53fd8af4cdeb8e | /MFCApplication4/MFCApplication4/MFCApplication4View.cpp | 1846c92687b034df260171d9bd1b8e83cdb5c793 | [] | no_license | shaovoon/asan_mfc_sdi_mdi_crash | a8a5cf162cc98f751a03f76bde9e5fcccef4a2b2 | 10d275e21d931e661afb069a94241af9396730b7 | refs/heads/master | 2022-12-03T06:39:44.852589 | 2020-08-17T12:44:59 | 2020-08-17T12:44:59 | 288,171,122 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,799 | cpp |
// MFCApplication4View.cpp : implementation of the CMFCApplication4View class
//
#include "pch.h"
#include "framework.h"
// SHARED_HANDLERS can be defined in an ATL project implementing preview, thumbnail
// and search filter handlers and allows sharing of document code with that project.
#ifndef SHARED_HANDLERS
#inc... | [
"shaovoon@yahoo.com"
] | shaovoon@yahoo.com |
7138a09ab257674f0cb3d0f150e95c344bf1ef3f | 985369eae7de2dfafdf2528332c670c30fd10eac | /src/VisionTargetPair.cpp | 3673ca7ef3f39c85bb255e91cdcbf2d25a1eaf58 | [] | no_license | valentinBeynard/Raspberry_Visio_V1 | 743788e25f2ec19e6d100ebbbb107dc93aa812d2 | 7413cdb3c13220837be121074d7b652373167ea7 | refs/heads/master | 2020-04-22T01:20:06.175640 | 2019-02-10T18:30:47 | 2019-02-10T18:30:47 | 170,011,280 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,914 | cpp | #include "VisionTargetPair.h"
#include "Tools.h"
#include "Values.h"
const float VisionTargetPair::assemble(VisionTarget * pshapeA, VisionTarget * pshapeB)
{
Point2f topv, basev;
float f, basenorm,topnorm;
// setup
m_pvisionTargetA = pshapeA;
m_pvisionTargetB = pshapeB;
m_quality = 0.0f;
float nb = 0.0f; //... | [
"nathan.mutin@gmail.com"
] | nathan.mutin@gmail.com |
9cb196d417fdae1e15b96d9410435f5c05135792 | 02bfcea5e6f9af90f812922fd3b9fb388b281f4c | /src/Class/stage/SsaveMap.cpp | 1bb996712d4995504ea7e8e4ad598243bd32342f | [] | no_license | tim099/AgeOfCube | 900f9ee765d2d5935554144b34e58e3281ead8aa | abd33a3ae8fa9edd60e2a9294342e4f7623117c7 | refs/heads/master | 2021-03-12T19:57:14.656563 | 2014-12-19T08:25:18 | 2014-12-19T08:25:18 | 28,218,835 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 818 | cpp | #include "SsaveMap.h"
SsaveMap::SsaveMap() {
input_str=new std::string("Map01");//delete by list
list->push_str(input_str,0,0);//->call_string();
list->push_str(std::string("Enter Map Name"),0,0.006);
SLB->creat_short_button("Save",Signal(S_SAVE_MAP),-0.01,-0.006);
SLB->creat_short_button("Back",Signal(S_BACK),0.... | [
"tim11251994@gmail.com"
] | tim11251994@gmail.com |
c9b0a451746a1bc98937285c1733531d7d2f43d3 | 14081cec5294ff0dc0b6258f381de2a7a823a830 | /kami_puro/Sources/SCENE/GAME/UI/COverLay.cpp | e63406549cd3895d6ea7f6dca77bd54e38810678 | [] | no_license | NojiriMisoten/OMTT | ec21a5269cef72710e79d59586adfad5a27eb868 | 86f0752d63375cfe4115393b2515f3f59f1a513b | refs/heads/master | 2021-01-01T06:54:31.800869 | 2016-01-18T16:38:12 | 2016-01-18T16:38:12 | 42,498,516 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 4,721 | cpp | //=============================================================================
//
// COverLayクラス [COverLay.cpp]
// Author : 塚本俊彦
//
//=============================================================================
//*****************************************************************************
// インクルード
//***************... | [
"at11h245@gmail.com"
] | at11h245@gmail.com |
8e8132dab65bc9d9e4bd7f12aa6f3a4a87738668 | 3e24f87bb9ffc5c733b98858ae380c267869e7ce | /mobile/generated-src/jni/NativeClientRegistrationData.hpp | 93761bd905d0bce4fdb9b3cb9018f46dc0c05e3c | [] | no_license | proximax-storage/sirius-stream-client-mobile-sdk | b051892d5e71f28f5d12248654b0ef77596c1a8d | 7544449c5d09e003034a80dc76282743e12a787c | refs/heads/master | 2022-04-08T23:37:02.937024 | 2020-03-03T14:57:05 | 2020-03-03T14:57:05 | 195,406,885 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,300 | hpp | // AUTOGENERATED FILE - DO NOT MODIFY!
// This file generated by Djinni from ClientApp.djinni
#pragma once
#include "ClientRegistrationData.hpp"
#include "djinni_support.hpp"
namespace djinni_generated {
class NativeClientRegistrationData final {
public:
using CppType = ::clientsdk::ClientRegistrationData;
... | [
"lspector@peerstream.com"
] | lspector@peerstream.com |
74549d4eeec1921de4285c8ecabd715cdc08d768 | eb36c8f053f1d9ea9cf8cd7e257446036fadfe8b | /chrome/browser/predictors/resource_prefetch_predictor_unittest.cc | 724bd8a6687572ff482e16e30127d97bce4f52c4 | [
"BSD-3-Clause"
] | permissive | Thompson-NO3/chromium | f1b5402628d9a99231dabc4fe875d9d7d6c46fe6 | 359103b8cbdf5ec81cb9827cc29c84405fb0fa17 | refs/heads/master | 2022-12-12T21:27:19.601825 | 2019-07-28T00:46:33 | 2019-07-28T00:46:33 | 199,234,236 | 0 | 0 | BSD-3-Clause | 2019-07-28T02:40:22 | 2019-07-28T02:40:22 | null | UTF-8 | C++ | false | false | 32,540 | cc | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/predictors/resource_prefetch_predictor.h"
#include <algorithm>
#include <iostream>
#include <memory>
#include <utility>
#includ... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
2d8ef16ff2c3cd824dcc2bae0a69d8e6f5b80406 | eeb1455f6557a10b01cbd988be0b5c4e58e42625 | /ddraw/ddraw.h | d7046a79e6aecb88b2c18334613b021322621b8c | [
"Zlib"
] | permissive | albykunx3/dxwrapper | 961c9c277f4b0d219a1e1d4bb7295fff69172e3f | fff67ed5c0e066decf64da94613a5a106f6349d8 | refs/heads/master | 2020-03-09T04:16:02.755178 | 2018-04-04T08:22:22 | 2018-04-04T08:22:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,177 | h | #pragma once
#define INITGUID
#include <ddraw.h>
#include <ddrawex.h>
#include <d3d.h>
class m_IDirectDraw;
class m_IDirectDraw2;
class m_IDirectDraw3;
class m_IDirectDraw4;
class m_IDirectDraw7;
class m_IDirectDrawSurface;
class m_IDirectDrawSurface2;
class m_IDirectDrawSurface3;
class m_IDirectDrawSurface4;
class ... | [
"elisha@novicemail.com"
] | elisha@novicemail.com |
25c2b6f4efbee02fb3357004178edcc149a6e481 | d2aac673c7a50c25681bf9da76e9622ada6ecab9 | /Engine/src/graphics/layers/layer.h | 1c17d9758bde109fcc5431041a48e79d9741b2ff | [] | no_license | Basicula/Engine | 72d44a7b6c47fa702793a595f280a0abf30e5486 | 78b9c5949f69baf51fdb24154c14467de5050823 | refs/heads/master | 2021-04-26T22:28:31.116805 | 2018-03-16T20:12:23 | 2018-03-16T20:12:23 | 124,097,288 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 482 | h | #pragma once
#include "../renderer2d.h"
#include "../renderable2d.h"
namespace Engine
{
namespace Graphics
{
class Layer
{
protected:
Renderer2D * m_Renderer;
std::vector<Renderable2D*> m_Renderables;
Shader* m_Shader;
Math::mat4 m_ProjectionMatrix;
protected:
Layer(Renderer2D* renderer, S... | [
"Basicula@users.noreply.github.com"
] | Basicula@users.noreply.github.com |
4a49d74f0befecea3d10df6cdbd28e5f0f5bd9b8 | f68082abf520ff5f83827a65ea1ed72990e40cb0 | /100_sameTree/main.cpp | 0e738cb759ee7fda96139b23180444ca7a928534 | [] | no_license | whitefusion/AlgorithmPractice_C | b659d739ea6096f1d521ea08b4a8e60d6581645b | a7cded04b6d80abeb19cd5e681c5595832587d31 | refs/heads/master | 2021-01-11T21:42:57.323790 | 2017-03-03T14:51:56 | 2017-03-03T14:51:56 | 78,838,425 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 563 | cpp | #include <iostream>
struct TreeNode {
int val;
TreeNode *left;
TreeNode *right;
TreeNode(int x) : val(x), left(NULL), right(NULL) {}
};
class Solution {
public:
bool isSameTree(TreeNode* p, TreeNode* q) {
if(p == NULL && q == NULL) return true;
if((p == NULL && q != NULL) || (p... | [
"xinbai1992@gmail.com"
] | xinbai1992@gmail.com |
701457f559fe78226c1af51685e7a6cc46879e71 | 942b7b337019aa52862bce84a782eab7111010b1 | /xray/Layers/xrRender/DetailManager_soft.cpp | 7370a6989675f1dc293adbee1db9933c49c70049 | [] | no_license | galek/xray15 | 338ad7ac5b297e9e497e223e0fc4d050a4a78da8 | 015c654f721e0fbed1ba771d3c398c8fa46448d9 | refs/heads/master | 2021-11-23T12:01:32.800810 | 2020-01-10T15:52:45 | 2020-01-10T15:52:45 | 168,657,320 | 0 | 0 | null | 2019-02-01T07:11:02 | 2019-02-01T07:11:01 | null | UTF-8 | C++ | false | false | 4,951 | cpp | #include "stdafx.h"
#include "detailmanager.h"
const u32 vs_size = 3000;
void CDetailManager::soft_Load ()
{
R_ASSERT(RCache.Vertex.Buffer());
R_ASSERT(RCache.Index.Buffer());
// Vertex Stream
soft_Geom.create (D3DFVF_XYZ | D3DFVF_DIFFUSE | D3DFVF_TEX1, RCache.Vertex.Buffer(), RCache.Index.Buffer());
}
... | [
"abramcumner@yandex.ru"
] | abramcumner@yandex.ru |
54d635841bbf10b6971b6458c32c3b30090239d4 | ab772d6c5ee1aa571d5b579356e00eb9090d8a08 | /qtlearnings/paramconfig/Util/ItemBase.cpp | fc15d5062f718e1f35672a76f298e49f1d8628ea | [] | no_license | ldhshao/mylearnings | 916ecaf67487c12272ab9ba1f22a8c10bcf888d7 | d20fc1640a9da379fc946573ce11df1b924a017c | refs/heads/master | 2022-03-12T17:59:08.908442 | 2022-01-05T10:02:05 | 2022-01-05T10:02:05 | 234,214,640 | 0 | 0 | null | 2020-09-25T07:59:07 | 2020-01-16T02:11:03 | JavaScript | UTF-8 | C++ | false | false | 3,324 | cpp | #include "ItemBase.h"
#include <qtextstream.h>
#include <QtDebug>
HNDZ_IMPLEMENT_DYNCREATE(XmlItem, BaseObject)
bool XmlItem::initFromDomElement(QDomElement element)
{
QString strId, strName;
strId = element.attribute("id");
strName = element.attribute("name");
if (!strId.isEmpty())
m_id = strI... | [
"liu198456@126.com"
] | liu198456@126.com |
fec9231edce99afc06d051bae44fe1784929bc64 | b0a7ea0cd1daf9f20237e63803bbe9b365256e19 | /app/src/main/jni/Irrlicht/modes/follow_the_leader.cpp | 116a2b72379fdbbdb020cac9d1c248df05d07034 | [] | no_license | marky0720/STK_android | bac4ba54e89ccb357503abe92f4c59e06b10c427 | 3205b46788da71c387af2d2b71a927d0ba45952a | refs/heads/master | 2021-04-30T07:56:24.419223 | 2018-03-12T10:45:57 | 2018-03-12T10:45:57 | 121,360,998 | 0 | 0 | null | 2018-02-13T09:05:50 | 2018-02-13T09:05:49 | null | UTF-8 | C++ | false | false | 6,771 | cpp | // SuperTuxKart - a fun racing game with go-kart
// Copyright (C) 2004 SuperTuxKart-Team
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 3
// of the License, or (at yo... | [
"marky0720@gmail.com"
] | marky0720@gmail.com |
2814357b14af5734bf567dc67432f4a1bf2ed98a | 238ff696ee7e5490326f9662a092a92a0c736c70 | /_studio/shared/mfx_trace/src/mfx_reflect.cpp | 9d23986d32870741fade326f867c0ab7470ebc2f | [
"MIT",
"LicenseRef-scancode-unknown-license-reference",
"Intel"
] | permissive | dongbaoy/MediaSDK | f677949fd1762f95c7940037f9f57a2b2c66bfbf | 563f94e99939f0c27745fc51cceca90343eb5452 | refs/heads/master | 2021-04-06T06:24:05.869031 | 2018-03-19T01:20:27 | 2018-03-19T01:20:27 | 124,819,229 | 0 | 0 | MIT | 2018-03-12T01:51:09 | 2018-03-12T01:51:09 | null | UTF-8 | C++ | false | false | 21,124 | cpp | // Copyright (c) 2017 Intel Corporation
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, pub... | [
"oleg.nabiullin@intel.com"
] | oleg.nabiullin@intel.com |
31d4acbec7b5948df097c1034cdcc99bf1dc815a | 9829d2cd112b340000f1a46bb71ccfbf3d8861d2 | /mycaptain project2.cpp | db4b27a13a8c25e03490714c7405bc381f2d24e0 | [] | no_license | shubham0412/mycaptain-Shubham-Thakur | 4dfb36f569a713dab86e95e2cc58cdbab5f225f6 | a30120d183e546443f3bb32eb0e8120473c708c9 | refs/heads/master | 2022-11-17T01:07:09.739226 | 2020-07-05T08:27:09 | 2020-07-05T08:27:09 | 277,260,295 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 219 | cpp | #include <iostream>
using namespace std;
int main()
{
double a, b, product;
cout << "Enter two numbers: ";
cin >> a >> b;
product = a*b;
cout << "Product = " << product;
return 0;
}
| [
"noreply@github.com"
] | noreply@github.com |
b8470cad6f90daca8db0527c4f95bbe4b3c4220e | 1aa3331a3488c03b2891ad75a991e7a975dd8ced | /NeuralNetworkSimulator/neuralnetworksimulator.cpp | f316ac63d2ccc78b7ca644eaaddd4251d6f2b8a6 | [] | no_license | mponza/NeuralNetworkSimulator | f3f6f21b18b21a042b950858e7852efd96776ae3 | c72b09365ab32d8c1f707fa137832d25d25bc4af | refs/heads/master | 2021-01-10T06:11:36.186244 | 2015-10-27T17:41:03 | 2015-10-27T17:41:03 | 45,058,610 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,862 | cpp | #include "neuralnetworksimulator.h"
NeuralNetworkSimulator::NeuralNetworkSimulator() {
trainingSet = fileManager.getTrainingSet();
testSet = fileManager.getTestSet();
}
NeuralNetworkSimulator::NeuralNetworkSimulator(const int& monkIndex) {
NeuralNetworkSimulator::monkIndex = monkIndex;
fileManager = F... | [
"mponza@gmail.com"
] | mponza@gmail.com |
34ec378d1a38838ebce89ba29b23e24c66c23725 | e780ac4efed690d0671c9e25df3e9732a32a14f5 | /RaiderEngine/libs/PhysX-4.1/physx/source/pvd/src/PxPvdObjectModelInternalTypes.h | 4a0d8a984c5553a4afb7ee9d996137746dd94905 | [
"MIT"
] | permissive | rystills/RaiderEngine | fbe943143b48f4de540843440bd4fcd2a858606a | 3fe2dcdad6041e839e1bad3632ef4b5e592a47fb | refs/heads/master | 2022-06-16T20:35:52.785407 | 2022-06-11T00:51:40 | 2022-06-11T00:51:40 | 184,037,276 | 6 | 0 | MIT | 2022-05-07T06:00:35 | 2019-04-29T09:05:20 | C++ | UTF-8 | C++ | false | false | 6,569 | h | //
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in bin... | [
"rystills@gmail.com"
] | rystills@gmail.com |
bf1b594d1cd231369496f516841fde432b52e55c | 5d83739af703fb400857cecc69aadaf02e07f8d1 | /Archive/184e668bc17ce1bffd9774efbd809f07/main.cpp | f8899a2705b92a21f94049ae9b13751f7b438034 | [] | no_license | WhiZTiM/coliru | 3a6c4c0bdac566d1aa1c21818118ba70479b0f40 | 2c72c048846c082f943e6c7f9fa8d94aee76979f | refs/heads/master | 2021-01-01T05:10:33.812560 | 2015-08-24T19:09:22 | 2015-08-24T19:09:22 | 56,789,706 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 642 | cpp | #include <iostream>
#define TRACE std::cout << __PRETTY_FUNCTION__ << std::endl;
#define NAMESPACE(Name) namespace Name { struct Identify {}; } namespace Name
NAMESPACE(Foo)
{
void process(Identify = {})
{
TRACE
}
}
NAMESPACE(Bar)
{
void process(Identify = {})
{
TRACE
}
}
... | [
"francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df"
] | francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df |
f8cacf3588904e2b67657caeba4493b7c7484bfb | 53bea2549b85861f96efd5a74c211523b938ef54 | /log-watch/LogReader.cpp | b5137365479ca8e0109b20f9a1529347413663d9 | [
"Apache-2.0"
] | permissive | projectceladon/log_capture | f1004006e4310806a248cd86ce3c24e3a48d1fe2 | 4947af2dfbbabd3be2dc57d0a68e14259ade3023 | refs/heads/master | 2023-09-01T23:19:23.874863 | 2023-06-02T10:21:22 | 2023-06-02T10:21:22 | 199,820,325 | 3 | 9 | Apache-2.0 | 2023-08-31T09:27:25 | 2019-07-31T09:06:25 | C | UTF-8 | C++ | false | false | 1,399 | cpp | /*
* Copyright (C) Intel 2015
*
* 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 t... | [
"baofeng.tian@intel.com"
] | baofeng.tian@intel.com |
76b06aad67f2651e7af7edcbf6bf1104558e58a5 | d6953acaef09a40c993af5810ce47ef818ad606b | /Application/src/main/jniLibs/Superpowered/AndroidIO/SuperpoweredAndroidAudioIO.h | 84d0f06c87d67ed8d039cf24c4a2bf3df8826162 | [] | no_license | sfink17/PhasedArrayApp | 4ad50706da7d070e828b87d7768a769e6401e953 | b9c10bab3b303144253415fa9b8474d70dbc24e7 | refs/heads/master | 2021-01-19T18:36:14.633595 | 2017-04-16T15:53:35 | 2017-04-16T15:53:35 | 88,367,535 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,086 | h | #ifndef Header_SuperpoweredAndroidAudioIO
#define Header_SuperpoweredAndroidAudioIO
struct SuperpoweredAndroidAudioIOInternals;
/**
@brief This is the prototype of an audio processing callback function.
If the application requires both audio input and audio output, this callback is called once (there is no separat... | [
"safvt93@gmail.com"
] | safvt93@gmail.com |
a28a7d3b4ca33a8fdca24c6b97ea6b898ba57bbd | 2dd3fd9a14adf671c7d4cc523af299c48005a076 | /src/SqlDB.h | ee69a268bbbba8e27ce1d134095637de749ff6cb | [] | no_license | 1slammer/StepHelper | d61d25349943e2195e57d76f5cf92ccc3a87d9fc | 52b51f6129b5d542dab628ca3bcc361bc35fce37 | refs/heads/master | 2020-03-19T18:54:50.627593 | 2018-06-11T16:06:17 | 2018-06-11T16:06:17 | 136,830,958 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 448 | h | #include <stdio.h>
#include <sqlite3.h>
#include <string>
#include <iostream>
#include <vector>
using namespace std;
using Record = std::vector<std::string>;
using Records = std::vector<Record>;
class SqlDB
{
public:
void OpenDB();
void CloseDB();
void CreateFourthStepTableIfNotExists();
Records Retrieve... | [
"nolen.jeffrey@gmail.com"
] | nolen.jeffrey@gmail.com |
e42add9ae8fb0448df023699c6cda36c41036ad8 | 29c1b74b8feb933a544147632785ec88e9bbecec | /2018-11-13/Arranging-Coins.cc | e9fbf052b62fa51cb969afb68c38d63e8145a9d8 | [] | no_license | ckcd/leetcode | b901b07374682891bfbfc27acd2dfacecfbfd590 | 4697ed77dd6fd7a97086d98d15ce95d213d6748f | refs/heads/master | 2020-03-31T21:25:49.900235 | 2019-03-20T10:19:17 | 2019-03-20T10:19:17 | 152,580,241 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,020 | cc | /*
You have a total of n coins that you want to form in a staircase shape, where every k-th row must have exactly k coins.
Given n, find the total number of full staircase rows that can be formed.
n is a non-negative integer and fits within the range of a 32-bit signed integer.
Example 1:
n = 5
The coins can form ... | [
"curtis@mail.ustc.edu.cn"
] | curtis@mail.ustc.edu.cn |
ec4185f9a016fc22f435e5266bf8cdb0b5b35d55 | ad1fbd8b33039f2dc9056dd070bd049300b9fbb0 | /src/t1_package/src/simple_node_2.cpp | 3fa37b903ec1666b7c3d1139563a93287a8bf5be | [] | no_license | ShaziaSulemane/trsa | 0f037f78dfefbbb917f9114d42f47ce4a2e6fe40 | 90ce090ddeafc0dbb761756d75aa4cfd77ce025b | refs/heads/master | 2022-03-04T12:45:22.414097 | 2019-10-02T11:20:35 | 2019-10-02T11:20:35 | 212,317,816 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 243 | cpp | #include <ros/ros.h>
int main( int argc, char** argv )
{
ros::init (argc, argv, "trsa_node_2");
ros::NodeHandle node;
ros::Rate rate(10);
while ( ros::ok() )
{
ROS_INFO( "Yet Another Node" );
rate.sleep();
}
return 0;
}
| [
"shazia.sulemane@gmail.com"
] | shazia.sulemane@gmail.com |
0e6cda41019144a3ed8b4473c97169f749912de8 | ac5442020a5247231ede042926530e500b16b501 | /compilers/hybrid-backend/src/runtime/structure.cc | 45ea1e207d296c7c1befbfea02542ffe283c146c | [] | no_license | MuhammadNurYanhaona/ITandPCubeS | e8a42d8d50f56eb76954bdf2cb786377cb5a8ee5 | 8928c56587db8293f0ec02c7cb030cfb540ce2b4 | refs/heads/master | 2021-01-24T06:22:37.089569 | 2017-04-22T15:57:04 | 2017-04-22T15:57:04 | 15,794,818 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,974 | cc | #include "structure.h"
#include "../utils/utility.h"
#include <iostream>
#include <fstream>
#include <stdlib.h>
#include <algorithm>
//------------------------------------------- Dimension -------------------------------------------------/
int Dimension::getLength() {
return abs(range.max - range.min) + 1;
}
void D... | [
"mny9md@virginia.edu"
] | mny9md@virginia.edu |
69550e80c1ebb2a57fbfe9026892bda5b6433b65 | defb9464cdb07f08d05af5a9c33fc872e669eaa6 | /usb_test/usb_test/usb_test.cpp | 38ec290c49a9255094c5e5b7ae8ce10edf078c36 | [] | no_license | mojianc/USBHIDTest | 4b3b669e50c0e9743b9b13e7208ce404dfc0fbac | 51bc95171315359c3a433e4f0158d26400d0ec67 | refs/heads/master | 2020-06-01T16:09:24.052692 | 2019-06-08T04:35:20 | 2019-06-08T04:35:20 | 190,845,266 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,746 | cpp | // hook_test.cpp : 定义控制台应用程序的入口点。
//
#include "stdafx.h"
#include <Dbt.h>
#include <iostream>
#include "usb_hid.h"
using namespace std;
const _TCHAR CLASS_NAME[] = _T("usb_test msg window");
HWND m_hwnd;
HHOOK hook;
usb_hid usb;
/////////////////////////////////////////////////////////////////////
//usb 拔插相关代码
bool... | [
"498268626@qq.com"
] | 498268626@qq.com |
254b772c006cb73310b049fb9853dee8ff692458 | b5d24389b69025fe0dd08cbe1b1b394f39c2cb81 | /src/services/ObjLoader.cpp | 9521daf4af7b3ad431424fb7eb1fb6ed0daf750f | [] | no_license | seanchas116/Lattice | 8d34ded9bb69d251f33f9e87d51bfb025db9f08e | 4595cd6db7644955bc23ec176cea21dd1029eaa2 | refs/heads/master | 2020-04-10T12:09:56.093183 | 2019-12-14T16:26:54 | 2019-12-14T16:26:54 | 161,013,502 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,239 | cpp | #include "ObjLoader.hpp"
#include "../document/Document.hpp"
#include "../document/ImageManager.hpp"
#include "../document/MeshObject.hpp"
#include "../support/Debug.hpp"
#include "../support/Hash.hpp"
#include <meshlib/Mesh.hpp>
#include <tiny_obj_loader.h>
using namespace glm;
namespace Lattice {
namespace Services... | [
"iofg2100@gmail.com"
] | iofg2100@gmail.com |
4248b2728a87d289506d72f187e8efc44a7542eb | 3195ea3c507d958eb598c4054f2f382eb6b49ec3 | /Object Oriented/jdo3643_HW5/jdo3643_main.cpp | 259f239182e6ceeeaadfb68ec7be76f1a401eef4 | [] | no_license | jdolds09/Jerry-Olds-Projects | 3c75d5d4240cd3cccbbfdcaab238ff9735551211 | eec161042861ef80021edba181c931dbe08ae555 | refs/heads/master | 2023-01-03T11:25:18.900613 | 2021-01-19T01:46:08 | 2021-01-19T01:46:08 | 243,045,245 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 233 | cpp | #include "jdo3643_Controller.h"
int main()
{
// Objects
Transaction_List list{};
View view{list};
Controller controller{ list, view };
// Load save file
list.load();
// Call cli
controller.cli();
// End of program
return 0;
}
| [
"jerry.olds@mavs.uta.edu"
] | jerry.olds@mavs.uta.edu |
d602864775b71e432e51e5f016d04526b514ad7d | 3531dd9f52b11ae26d0c5f624a815538bf4c1964 | /examples/ITVDN_CPP/CPP_Starter/002_Storedlnformation/DefaultTypes/DefaultTypes.cpp | dc6cacc3d4c9e1e28ff0e99e87cb7a148ae1a8c8 | [] | no_license | syurskyi/CPP_Topics | b9a481fa828fb763fe4e21388cd04b4e90c2cd96 | c9851ab9e254e2fc01ab1bb819ca1d642f623fae | refs/heads/master | 2022-12-11T16:12:49.219989 | 2020-09-01T22:36:08 | 2020-09-01T22:36:08 | 277,678,709 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 225 | cpp |
// DefaultTypes.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <iostream>
using namespace std;
int main()
{
int a = 5;
char b = 'B';
double c;
cout << b;
return 0;
}
| [
"sergejyurskyj@yahoo.com"
] | sergejyurskyj@yahoo.com |
f3488674a0fbd06f76b275624f9309c544389ac4 | 0181482e75a03cdcab4f8ea925993a83be18e3d7 | /luxrays/src/luxrays/accelerators/embreeaccel.cpp | c9e1031a7db525404471c3d51db6ae3c53ebcdc5 | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | yangzhengxing/luxrender | f70db784370454193803df27dc5b4e54c0f78c60 | fc78235e99e4dfd7df9e8ca07c035dd94ee65e53 | refs/heads/master | 2021-01-20T19:18:38.180639 | 2016-06-05T06:35:44 | 2016-06-05T06:35:44 | 60,435,194 | 3 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 8,583 | cpp | /***************************************************************************
* Copyright 1998-2015 by authors (see AUTHORS.txt) *
* *
* This file is part of LuxRender. *
* ... | [
"493134808@qq.com"
] | 493134808@qq.com |
86115db959cced1d24d470baf2a23178c1492ecb | 7247dbe86fba860f1716abb189a32c7cd46d9f33 | /BOJ/2000/2738.cpp | 93897349a3b5ed4284cc045d8f125b7e7aab3923 | [] | no_license | SE93WO/Algorithm | a5bdc76378e959161085428b3442d1b2df73655f | a7b256de35fe15dbe59a43af344c930792b478c3 | refs/heads/master | 2020-03-19T17:42:33.695927 | 2019-12-18T09:39:43 | 2019-12-18T09:39:43 | 136,773,550 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 434 | cpp | #include <iostream>
using namespace std;
int main() {
int N, M;
int matrix[100][100];
cin >> N >> M;
for (int i = 0; i < N; i++)
for (int j = 0; j < M; j++)
cin >> matrix[i][j];
for (int i = 0; i < N; i++)
for (int j = 0; j < M; j++) {
int temp;
cin >> temp;
matrix[i][j] += temp;
}
for (in... | [
"se93wo@gmail.com"
] | se93wo@gmail.com |
b847e6d2ac47e1afff7b9b989982ea0589ebef25 | 6eadf2833aa4290dda7fb93509b9c6c8822f718c | /Robot2014/Commands/AutonomousTest.h | ffb2d59d957ec244ebd13181b2e4a087c9718dd7 | [] | no_license | AGHSEagleRobotics/frc1388-2014 | d1d78b16361ae603efd249a7d3fcc18d0a5295ce | 95a721a94d655a6210cdfbb21fdc71582c0c5a1c | refs/heads/master | 2021-03-12T22:54:51.514002 | 2014-03-25T04:16:08 | 2014-03-25T04:16:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 725 | h | // RobotBuilder Version: 0.0.2
//
// This file was generated by RobotBuilder. It contains sections of
// code that are automatically generated and assigned by robotbuilder.
// These sections will be updated in the future when you export to
// C++ from RobotBuilder. Do not put any code or make any change in
// the... | [
"JONMCCOY12@gmail.com"
] | JONMCCOY12@gmail.com |
93c70ecb4de042d9699ced72b96fe40ca4aa08e8 | 7bae6e823c2460c6107c9ae8e1b8145f7fa3cdc8 | /alg/gdalpansharpen.cpp | a531fca401d45b29e6979fccdaa4209d096c0dc7 | [
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"LicenseRef-scancode-warranty-disclaimer",
"MIT",
"SunPro",
"LicenseRef-scancode-info-zip-2005-02",
"BSD-3-Clause"
] | permissive | gajgeospatial/gdal-3.1.0 | ed0cfeedd93f4fcd087dc890ba83879bb0b40820 | ac735c543bbdb0bfa6c817920a852e38faf84645 | refs/heads/master | 2022-11-15T19:51:12.169674 | 2020-07-11T21:06:32 | 2020-07-11T21:06:32 | 261,614,185 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 69,425 | cpp | /******************************************************************************
*
* Project: GDAL Pansharpening module
* Purpose: Implementation of pansharpening.
* Author: Even Rouault <even.rouault at spatialys.com>
*
******************************************************************************
* Copyrigh... | [
"glen.johnson@gaj-geospatial.com"
] | glen.johnson@gaj-geospatial.com |
3decc24d3e2e368974d77a30129d72b05d4bb091 | cccfb7be281ca89f8682c144eac0d5d5559b2deb | /ui/gfx/client_native_pixmap_factory.h | f4508a9802fb172ab068623518f415fa07e63e46 | [
"BSD-3-Clause"
] | permissive | SREERAGI18/chromium | 172b23d07568a4e3873983bf49b37adc92453dd0 | fd8a8914ca0183f0add65ae55f04e287543c7d4a | refs/heads/master | 2023-08-27T17:45:48.928019 | 2021-11-11T22:24:28 | 2021-11-11T22:24:28 | 428,659,250 | 1 | 0 | BSD-3-Clause | 2021-11-16T13:08:14 | 2021-11-16T13:08:14 | null | UTF-8 | C++ | false | false | 1,223 | 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 UI_GFX_CLIENT_NATIVE_PIXMAP_FACTORY_H_
#define UI_GFX_CLIENT_NATIVE_PIXMAP_FACTORY_H_
#include <memory>
#include <vector>
#include "base/files/s... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
d8429c5676cfbe5cdf3c45637d991f6942df3360 | 3ef16236cc4566b03328552843b28adde7389612 | /chrome/browser/ash/login/quick_unlock/fingerprint_utils.cc | daa3a32265cd80a8abbd67a7af6ebaae6ab50238 | [
"BSD-3-Clause"
] | permissive | moteesh-in2tive/chromium | c5962834c8218ba607846ce59d0ba008be00fe2b | e1e495b29e1178a451f65980a6c4ae017c34dc94 | refs/heads/main | 2023-09-05T00:46:48.898998 | 2021-11-23T19:52:34 | 2021-11-23T19:52:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 919 | 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 "chrome/browser/ash/login/quick_unlock/fingerprint_utils.h"
#include "ash/public/cpp/login_types.h"
#include "chrome/browser/ash/login/quick_unl... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
3c55050c0f15883499648230bcdbb652a4bb7ef6 | 2cb681e118e3f1e4b2b141372ae1c6914599b835 | /codeforces/546_C1.cpp | 5a559b011fd1a4c4e2f572fdf3bf8047f4644a1f | [] | no_license | jatinarora2702/Competitive-Coding | 1ad978a91122c920c839483e46812b5fb70a246e | a77f5d4f1737ca4e408ccf706128ba90ed664286 | refs/heads/master | 2021-01-11T20:11:34.791960 | 2020-12-31T00:21:06 | 2020-12-31T00:21:06 | 79,060,813 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 980 | cpp | #include <iostream>
#include <stdio.h>
#include <deque>
#include <list>
using namespace std;
int fact(int n){
int cnt = 1;
for(int i = 2 ; i <= n ; i++)
cnt *= i;
return cnt;
}
int main(){
ios::sync_with_stdio(false);
int n, k[2], x, x1, x2, cnt;
deque < int > l[2];
scanf("%d", &n);
for(int i = 0 ; i < 2 ; i+... | [
"jatinarora2702@gmail.com"
] | jatinarora2702@gmail.com |
10881d392f26d394e1e3b2eacab698ffc0c8480d | 43619cfb79d5e9160e15cd455f1e2bdc44ebba2c | /railwayManagementSystem .cpp | 6eb8a416ea67f83d732dec9b3854fcda79c0ee81 | [] | no_license | arushi-kalra/Railway-Management-System | 5055330b81d6c823a99b96596040ac9ef3a02c10 | dc348b7c295c993638ff13bc161b029bb394df06 | refs/heads/main | 2023-07-10T10:12:15.269720 | 2021-08-22T15:19:50 | 2021-08-22T15:19:50 | 398,831,424 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,470 | cpp | #include <iostream>
#include <queue>
#include <map>
#include <string.h>
#include <conio.h>
using namespace std;
void gotoxy(int x,int y)
{
for(int j=0;j<y;j++)
{
cout<<"\n";
}
for(int i=0;i<x;i++)
{
cout<<" ";
}
}
struct details
{
string name,phno,em... | [
"noreply@github.com"
] | noreply@github.com |
96909a7f25cf61e46cdaa8096dd3600a642c5afd | 64e4fabf9b43b6b02b14b9df7e1751732b30ad38 | /src/chromium/gen/gen_combined/third_party/blink/renderer/bindings/modules/v8/v8_xr.h | e95effa0e211b1ed9eb77531e4ae5db845c61dd0 | [
"BSD-3-Clause"
] | permissive | ivan-kits/skia-opengl-emscripten | 8a5ee0eab0214c84df3cd7eef37c8ba54acb045e | 79573e1ee794061bdcfd88cacdb75243eff5f6f0 | refs/heads/master | 2023-02-03T16:39:20.556706 | 2020-12-25T14:00:49 | 2020-12-25T14:00:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,422 | h | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This file has been auto-generated from the Jinja2 template
// third_party/blink/renderer/bindings/templates/interface.h.tmpl
// by the script code_gene... | [
"trofimov_d_a@magnit.ru"
] | trofimov_d_a@magnit.ru |
112dbce61b58baed8472060f39fe0542b941f1fd | 243dd70b2592a7f2e75bc06598f61d400249627d | /kernel/src/glue/v4-mips64/timer.h | a8304c1669d5160948d1c27f49a47fff8b7664cb | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | vmlemon/Orion | 4d1445f750c8450f9c5ac1979eb846dbaed178f5 | 61f894826a802c24076c22c1c9439bc7382a276a | refs/heads/master | 2020-07-06T08:20:32.942117 | 2020-01-25T19:08:09 | 2020-01-25T19:08:09 | 202,951,911 | 6 | 0 | null | 2019-10-24T00:37:40 | 2019-08-18T02:40:09 | C | UTF-8 | C++ | false | false | 2,062 | h | /*********************************************************************
*
* Copyright (C) 2002-2003, University of New South Wales
*
* File path: glue/v4-mips64/timer.h
* Description: MIPS64 timer handler
*
* Redistribution and use in source and binary forms... | [
"root@fedora28.novalocal"
] | root@fedora28.novalocal |
ebc808f70a3a5acf989784c847485e100e676e24 | c129b0332535a99a960c42779478a6c6fd29059a | /C++数据结构笔记/代码存放/10/exception.h | abe2c4a497fdd68750e2363e0c1ac3990da3eeb6 | [] | no_license | USST-member/mynote | 168e44c9e29e984e83ef8de84916e37b040d3b17 | 446e74bba224a485e61bd45fc357ee49064da079 | refs/heads/master | 2021-07-13T12:49:07.622286 | 2021-02-28T07:31:20 | 2021-02-28T07:31:20 | 231,055,142 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,777 | h | #ifndef EXCEPTIOM_H
#define EXCEPTIOM_H
namespace dong {
//抛出异常宏函数
#define THROW_EXCEPTION(e,m) (throw e(m,__FILE,__LINE__))//抛出异常
//父类 抽象层
class Exception
{
protected:
char *m_message;
char *m_location;
void init(const char *message,const char *file,int line);//相当于二级构造
public:
Exception(const cha... | [
"13127538493@qq.com"
] | 13127538493@qq.com |
37a8acbc5f17ab8a8b1f0099ea178e4d8b3fc5a7 | ee8f70e022c396d2bae771a4f833f2648d45c9b2 | /include/Aurora/Dispatch/DoubleDispatcher.hpp | fa5d04eb72c76e389b7e974df3c29b8cf924e160 | [
"Zlib"
] | permissive | Bromeon/Aurora | 428267b0b59a1ba8ce206e92dfc36bc8b9777ded | 906e90bc272a0b13b3c9435b28f374d52d2f455c | refs/heads/master | 2022-05-01T09:15:47.959298 | 2022-04-16T10:08:18 | 2022-04-16T10:08:18 | 3,751,402 | 33 | 4 | null | 2014-04-26T09:28:11 | 2012-03-17T23:00:15 | C++ | UTF-8 | C++ | false | false | 13,048 | hpp | /////////////////////////////////////////////////////////////////////////////////
//
// Aurora C++ Library
// Copyright (c) 2012-2022 Jan Haller
//
// 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 thi... | [
"bromeon@gmail.com"
] | bromeon@gmail.com |
859ea754c0b4fd8999d745047994a08a3d80cdd9 | e682a062c4183bc3fd1aa70518a9033424ecab86 | /02_动态规划/02_BagProblem.cpp | 9cee40b1e13412da682baafc4f058eb6eef5b62d | [] | no_license | happier233/ACM-Code | a5f6b88a45a957e03042abb1d11ef207fed59774 | dda4432c2c15461d74077b599db54b7dff3c7e0d | refs/heads/master | 2020-04-27T19:55:30.560331 | 2020-02-16T16:16:56 | 2020-02-16T16:16:56 | 174,639,328 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 963 | cpp | #define N 1000
// val=价值 wei=重量 num=数量
int val[N], wei[N], num[N], f[N];
// n=种类个数 m=背包最大值
// 01背包
void dp1(int n, int m) {
for (int i = 0; i < n; i++) {
for (int j = m; j >= wei[i]; j--)
f[j] = max(f[j], f[j - wei[i]] + val[i]);
}
}
// 完全背包
void dp2(int n, int m) {
//初始化看要求
for (i... | [
"happier233@qq.com"
] | happier233@qq.com |
b95bdcb124b9c0397034b6abc5da26f031a334b1 | f69ad70bf1a8857301980f986e1b4c31c94d731e | /TP3/Flame.cpp | ea834af02701a25c1d9e3c12490aa2d1312a6c1e | [] | no_license | deboxta/IMAGWZIT | 3fd5d3df3622849dd1106d96659125f4b2ca818e | a24764a00f77bcb31910b4d2136f729c4fae08e7 | refs/heads/master | 2023-02-01T12:56:42.447719 | 2020-12-16T07:37:19 | 2020-12-16T07:37:19 | 264,275,370 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 225 | cpp | #include "Flame.h"
#include "WeaponType.h"
namespace TP3Prog
{
Flame::Flame() : Projectile(20, 15,false, 1)
{
}
Flame::~Flame()
{
}
void Flame::loadTexture()
{
setTexture(projectileTextures[FLAMETHROWER]);
}
}
| [
"yannick.c.pro.a@gmail.com"
] | yannick.c.pro.a@gmail.com |
285bc404178bdbfcd685fa46947a801b03cbacd1 | a609c8ae28ff013f54a1a765b9c2f4eb216480eb | /Source/FPSGame/Public/FPSObjectiveActor.h | 1caebca16159909ab3c9916f548183a0436c06f4 | [] | no_license | nerliss/StealthGame | e630b6231bd35a8882f1c21e6f32f6cc1689a14c | f6d33001fce11bcb1edea70f4ed07e88f19b825f | refs/heads/main | 2023-03-29T14:43:29.247047 | 2021-04-14T08:06:56 | 2021-04-14T08:06:56 | 351,058,884 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 841 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Actor.h"
#include "FPSObjectiveActor.generated.h"
class USphereComponent;
UCLASS()
class FPSGAME_API AFPSObjectiveActor : public AActor
{
GENERATED_BODY()
public:
// Sets... | [
"nerliss@users.noreply.github.com"
] | nerliss@users.noreply.github.com |
662e840cefe03d3c0813a2392e67a463dc47cc0c | 03f037d0f6371856ede958f0c9d02771d5402baf | /graphics/VTK-7.0.0/Filters/Core/vtkMergeFilter.cxx | a3f689a38bf8e95373cb138faad18fe7a72df2d7 | [
"BSD-3-Clause"
] | permissive | hlzz/dotfiles | b22dc2dc5a9086353ed6dfeee884f7f0a9ddb1eb | 0591f71230c919c827ba569099eb3b75897e163e | refs/heads/master | 2021-01-10T10:06:31.018179 | 2016-09-27T08:13:18 | 2016-09-27T08:13:18 | 55,040,954 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,176 | cxx | /*=========================================================================
Program: Visualization Toolkit
Module: vtkMergeFilter.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This s... | [
"shentianweipku@gmail.com"
] | shentianweipku@gmail.com |
e99ef73273d777062be07994d1ad9addf8b3865d | 10246051565cc5b500515dd88d9565eb69cc9ec8 | /raytrace/raytrace/sdf_compile.h | 5cb2644a06b866eb0585bc8de07734c1b579079c | [] | no_license | anthonyvd/glsl-pathtracer | ffe85d5d69e98016e3da14f7f8eca68a3e1640aa | 1876128e53b9e2e1b49c7b77c8f92340ed888e7a | refs/heads/main | 2023-04-02T08:33:27.483020 | 2021-04-14T04:23:38 | 2021-04-14T04:23:38 | 357,769,505 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 310 | h | #ifndef _SDF_COMPILE_H_
#define _SDF_COMPILE_H_
#include <string>
// Takes a scene defined in our own weird S-expression DSL
// and generate GLSL SDF evaluation code that computes the
// shortest distance to the SDF as well as material properties.
std::string compile_scene(const std::string& scene);
#endif | [
"anthony.v.dubois@gmail.com"
] | anthony.v.dubois@gmail.com |
aa7a7d35bf6dcd643c6ef0e70345cb1d6417eae5 | 820ca0fce88f15ffc86c7f898f85f59c926aeb3e | /faceTrack/face-tracking/face-tracking/src/layer/convolution.h | e66a8fbf9f59c4949ded29b08706c5f7149c194a | [
"MIT"
] | permissive | ForrestPi/FaceSolution | b53fb4ae10b3c815756761e031b0fa38f41bf3ff | cf19b2916a8bf285e457903e8d202055b092fc73 | refs/heads/master | 2022-04-04T08:49:20.689884 | 2020-02-22T08:28:30 | 2020-02-22T08:28:30 | 218,427,840 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,601 | h | // Tencent is pleased to support the open source community by making ncnn available.
//
// Copyright (C) 2017 THL A29 Limited, a Tencent company. All rights reserved.
//
// Licensed under the BSD 3-Clause License (the "License"); you may not use this file except
// in compliance with the License. You may obtain a copy ... | [
"forrest_zhu@foxmail.com"
] | forrest_zhu@foxmail.com |
a7718b31e85885406988a6f8583dc8beab853b21 | 3f935da243e0839f15392d914d45f9c7037e1ddf | /DriverStation/udptransmitter.h | 157043e2f294ebf4affd0b8574649874ea19a4ff | [] | no_license | dgitz/DriverStation | d7fe1ab0c3f9ad9f6e8fa6acd9d309b4b65f6771 | 0110d75b465e75bf3c4514fb76006bf2aaecc1b0 | refs/heads/master | 2021-01-19T07:55:14.316051 | 2020-04-05T20:05:58 | 2020-04-05T20:05:58 | 83,970,385 | 0 | 1 | null | 2020-04-05T20:05:59 | 2017-03-05T13:04:31 | C++ | UTF-8 | C++ | false | false | 4,106 | h | /****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the examples of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** Commercial License Usage
** Licensees holding valid commercial Qt... | [
"davidgitz@gmail.com"
] | davidgitz@gmail.com |
6413770d11cbd1a0d894b89332a9d55f14434736 | 0a40a0d63c8fce17f4a686e69073a4b18657b160 | /src/qt/cerebellum/settings/settingsnetworkwidget.h | a1d46ccc16ff6d69bd0cc2f54e730d9cb973c323 | [
"MIT"
] | permissive | MotoAcidic/Cerebellum | 23f1b8bd4f2170c1ed930eafb3f2dfff07df1c24 | 6aec42007c5b59069048b27db5a8ea1a31ae4085 | refs/heads/main | 2023-05-13T06:31:23.481786 | 2021-06-09T15:28:28 | 2021-06-09T15:28:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 701 | h | // Copyright (c) 2019 The CEREBELLUM developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef SETTINGSNETWORKWIDGET_H
#define SETTINGSNETWORKWIDGET_H
#include <QWidget>
#include <QDataWidgetMapper>
#include "qt/cerebe... | [
"travisfinch01@gmail.com"
] | travisfinch01@gmail.com |
675c0f5dc43221b06f18d9abe9076148ce3efc4b | 8c9086596b876140dea6b825808d574f8803dc23 | /TimeTracker/include/FileStreamProvider.h | 9014b70686984d2f15685ace740264d2df519978 | [] | no_license | stephenverderame/TimeTracker | b78e47e70e8d30053b811799895c714ed57fd643 | f99800b28087d1fa044a5431da14323253e68414 | refs/heads/master | 2023-02-15T11:47:54.375163 | 2021-01-06T21:52:04 | 2021-01-06T21:52:04 | 326,541,262 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 553 | h | #pragma once
#include "StreamProvider.h"
class FileStreamProvider : public StreamProvider {
struct impl;
std::unique_ptr<impl> pimpl;
public:
std::shared_ptr<StreamWrapper> getStream(const char* name) override;
bool doesStreamExist(const char* name) const override;
void clearStreamData(const char* name) override;
... | [
"stephenverderame@gmail.com"
] | stephenverderame@gmail.com |
8cbdb3b00929de613b6eb3a767051ce449ce55c1 | fab9d865463fbd6070cc7e7bd568472cfde7b415 | /211.cpp | e5b204b7d82d2dc63335d5fa5f56dd5c9788ae33 | [] | no_license | rubana13/player | 735dd48e81a18fd3beef6a45999104105cc5cbbc | eaf69fc4d1ec10f8145e08919419d3a9ad4db89e | refs/heads/master | 2020-03-08T02:11:38.770052 | 2018-05-25T10:09:58 | 2018-05-25T10:09:58 | 127,852,148 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 254 | cpp |
#include <iostream>
#include <string>
using namespace std;
int main() {
int b,h;
float Area;
cout<<"Enter the breadth and height of triangle:\n";
cin>>b>>h;
if(b,h<=1000000)
{
Area=(b*h)/2;
cout<<Area;
}
if(!cin)
{
cout<<"Invalid input";
}
| [
"noreply@github.com"
] | noreply@github.com |
55a260397f491e7ab281099b86a80394d69a2a23 | f3c51b8178225ec58cb8953be678f116d4c9bb9b | /02/f2.cpp | ba6d34cce4d2b8313f68240e6b26b082d9df153c | [] | no_license | Sakura1124/ZJU-DScode | ab960bce2882f7f6ae0717887049fcef6d715a81 | d5fb992e44f4415531450fc991c1b138516e35cf | refs/heads/master | 2022-12-05T04:12:31.127285 | 2020-08-12T04:05:32 | 2020-08-12T04:05:32 | 258,498,671 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,195 | cpp |
#include<stdio.h>
List Merge( List L1, List L2 );
typedef struct Node *PtrToNode;
struct Node {
ElementType Data; /* 存储结点数据 */
PtrToNode Next; /* 指向下一个结点的指针 */
};
typedef PtrToNode List; /* 定义单链表类型 */
#include <stdio.h>
#include <stdlib.h>
typedef int ElementType;
typedef struct Node *PtrToNode;
struct N... | [
"noreply@github.com"
] | noreply@github.com |
8c3ad1ba40147d04b821c6f9332667eca35ed716 | fb16cb8d503bb674613f655e4ab29ab2a05936a2 | /httpserver.cpp | e8f80bfaeae9d1ce8b687d9290eba345f61cb83a | [] | no_license | tabor-lukasz/sh_data_provider | beb178972b650b630af01b6af131c4c884e95807 | dc37c8f66c44ba6aac7d6ed30d9d01554db36675 | refs/heads/master | 2022-12-01T22:45:50.672614 | 2020-08-16T17:25:39 | 2020-08-16T17:25:39 | 286,847,425 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,307 | cpp | #include "httpserver.h"
#include <QtNetwork/QTcpSocket>
#include <QJsonObject>
#include <QJsonDocument>
HttpServer::HttpServer(QObject *parent) : QObject(parent)
{
connect(&m_server,&QTcpServer::newConnection,this,&HttpServer::onNewConection);
}
void HttpServer::run()
{
if (!m_server.listen(QHostAddress::Any,... | [
"43292778+tabor-lukasz@users.noreply.github.com"
] | 43292778+tabor-lukasz@users.noreply.github.com |
539c3895b8bf27d2d605be2484d5ece6c4a8d296 | 286a912ce57a8af1799decc0daef2ebc5547a3a0 | /v1.0/module/simple3dpiv/frame_3dpoint.cpp | 4a1979a8cd43ce4f199236a8b7e66eeea61554cd | [] | no_license | feijincong/3D-Synthetic-Aperture-Particle-Image-Velocimetry | a39062aec54b4dedaf87fe2f54e95fb55f5c29b0 | 51f701dbdb0732e01699949c7f65a6e2b56cb61c | refs/heads/master | 2021-01-15T23:51:14.804651 | 2015-03-13T02:07:41 | 2015-03-13T02:07:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 142 | cpp | #include "frame_3dpoint.h"
Frame3DPoint::Frame3DPoint(int x, int y, int z)
{
this->xPos = x;
this->yPos = y;
this->zPos = z;
}
| [
"fanxiang090909@126.com"
] | fanxiang090909@126.com |
41c3e217989d28f7cf183b34788c301dea062751 | 2bce17904e161a4bdaa2d65cefd25802bf81c85b | /codeforces/482/B/B.cc | 21c50403cb1f876388f1b72a3e1e5e20aa6da6c6 | [] | no_license | lichenk/AlgorithmContest | 9c3e26ccbe66d56f27e574f5469e9cfa4c6a74a9 | 74f64554cb05dc173b5d44b8b67394a0b6bb3163 | refs/heads/master | 2020-03-24T12:52:13.437733 | 2018-08-26T01:41:13 | 2018-08-26T01:41:13 | 142,727,319 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,886 | cc | #include <bits/stdc++.h>
#include <assert.h>
using namespace std;
typedef long long ll;
typedef long double ld;
#define PB push_back
#define MP make_pair
#define MOD 1000000007LL
#define endl "\n"
#define fst first
#define snd second
const ll UNDEF = -1;
const ll INF=1e18;
template<typename T> inline bool chkmax(T &aa,... | [
"Li Chen Koh"
] | Li Chen Koh |
c20f4b34f66044fa09668ab5e2e2d653b6a3fad4 | 47abd462bf24f3b19000d88b7f9d63622a1a3fe6 | /JB/Week1/2504_ValueOfBracket/main.cpp | c43aeee3ca4b9bae95e1922dc572da7c1841f268 | [
"Apache-2.0"
] | permissive | alps-jbnu/ALPS_2020_Summer_Study | 1f5b9e59ca2e8dcd10fdeced043f19e3a3b5aeeb | 3656d5c6ab44f7f43c1f8c691e75352495c76adc | refs/heads/master | 2022-12-16T04:28:25.099163 | 2020-08-27T07:20:31 | 2020-08-27T07:20:31 | 277,059,912 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,199 | cpp | #include <bits/stdc++.h>
using namespace std;
int main() {
string str;
cin >> str;
stack<pair<char, int> > st;
for(int idx = 0; str[idx]; idx++) {
if(str[idx] == '(') st.push(make_pair('(', -1));
else if(str[idx] == '[') st.push(make_pair('[', -1));
else if(str[idx] ==... | [
"danieltiger60@gmail.com"
] | danieltiger60@gmail.com |
09eb64f0f3889e6ce548098c710cdae4aa665c26 | af833d30aa294472ac0f6f445fb2175c7717e244 | /src/graphics/base/v4.h | 75f3bd9d0463b97e390d2fa0f9021693ace734e9 | [
"Apache-2.0"
] | permissive | nomadsinteractive/ark | 338451f9891edf4c369719596cad2368a11d12a0 | b8cd2672aac6f4576e4a3196c5ba0cdcea8c10e8 | refs/heads/master | 2023-06-07T19:43:25.805463 | 2023-05-31T06:10:32 | 2023-05-31T06:10:32 | 108,817,094 | 7 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,327 | h | #pragma once
#include "core/base/api.h"
#include "graphics/base/v3.h"
namespace ark {
class ARK_API V4 : public V3 {
public:
explicit V4(float v = 0);
V4(float x, float y, float z, float w);
V4(const V2& xy, float z, float w);
V4(const V3& xyz, float w);
V4(const std::initializer_list<float>& va... | [
"nomadsinteractive@gmail.com"
] | nomadsinteractive@gmail.com |
d377f47fcc00adccced16392c5a658efe0bc5c5c | 175f2317d2a3104ea504164865b36620c232a8d8 | /supportingcode.h | 65388bb5f4734612a6872d22f1b903cb8038110f | [
"MIT"
] | permissive | ascetic85/LevelEditor-NG | 2911715c9aa919313c35774e617ee0f9ead1268b | 64d3ae040e063615a8945b5cb3e7eca14a67b707 | refs/heads/master | 2016-09-05T13:29:47.378062 | 2012-12-28T05:19:42 | 2012-12-28T05:19:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 323 | h | #ifndef SUPPORTINGCODE_H
#define SUPPORTINGCODE_H
#include <QWidget>
namespace Ui {
class SupportingCode;
}
class SupportingCode : public QWidget
{
Q_OBJECT
public:
explicit SupportingCode(QWidget *parent = 0);
~SupportingCode();
private:
Ui::SupportingCode *ui;
};
#endif // SUPPORTINGCODE... | [
"yurenjimi@gmail.com"
] | yurenjimi@gmail.com |
df43ffc06e7923ddf06cbe53203f6cc778061f1a | 282b879c6fae19d015b5ab38e8b8d49ecdbd2a98 | /test_logger.cpp | ef9fdfbc35871bcffe1911b945207b3197f4f002 | [] | no_license | dvetutnev/qapp | 0b75083cd0dd6bce3bc2a6fa9f98d18dd2e790a3 | 10fa22c9b2dad7ada15e933f8e1712c138ba8b84 | refs/heads/master | 2023-06-01T01:13:35.742188 | 2021-06-11T01:07:52 | 2021-06-11T01:07:52 | 375,800,465 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 443 | cpp | #include "logger.h"
#include <gtest/gtest.h>
#include <filesystem>
#include <fstream>
const std::filesystem::path path = "test.log";
TEST(Logger, file) {
std::filesystem::remove_all(path);
core_set_error_handler(logging_error_handler);
core_handle_error(43, "test_logging");
std::string result;
... | [
"d.vetutnev@gmail.com"
] | d.vetutnev@gmail.com |
6c209ec79e77439a900f1976abc73f1d9d9b9aa0 | eb8b2dffe055de423bc320e6ee949a0d0d0c401d | /June Lunchtime 2021 Contest/Riche rich.cpp | c9927710f7537e8dcfe3058db570636ecfc54862 | [
"MIT"
] | permissive | MadanParth786/Codeshef-Problems | 7dafe59c1e326f3ad4491f1c2752bc5f821fec6f | 64ec3b9849992f3350dfe67f2dbc6332a665b471 | refs/heads/main | 2023-08-27T03:00:42.725312 | 2021-10-28T16:35:12 | 2021-10-28T16:35:12 | 376,236,369 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 190 | cpp | #include<iostream>
using namespace std;
int main(void)
{
int n,a,b,c;
cin>>n;
while(n--){
cin>>a>>b>>c;
if(b>a){
int d=b-a;
int r=d/c;
cout<<r<<"\n";
}
}
}
| [
"noreply@github.com"
] | noreply@github.com |
e04e05db4b8f5e9b8297a9bdaaf0aeb0628a1eec | 7af437afb04dd692491a3e22ea53fbeea654bd92 | /Code/Exe2-2_Options06.cpp | b8005be147663115e470ba5149ef5cb47ded343e | [] | no_license | shivam-modi/cpp_coursework | a9755980a05465809569dda9dea2282176212201 | e1b8c4f04e2a4a76210b586dbcc478ef0b520e75 | refs/heads/master | 2023-04-30T21:13:32.828912 | 2019-03-28T20:07:47 | 2019-03-28T20:07:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,894 | cpp | #include "Exe2-2_Options06.h"
#include "BinModel02.h"
#include <iostream>
#include <cmath>
using namespace std;
double EurOption::PriceByCRR(BinModel Model)
{
double q=Model.RiskNeutProb();
double Price[N+1];
for (int i=0; i<=N; i++)
{
Price[i]=Payoff(Model.S(N,i));
}
for (int n=N-1; n>=0; n--)... | [
"mbe31@STUDENT.EECS.QMUL.AC.UK"
] | mbe31@STUDENT.EECS.QMUL.AC.UK |
35afff1d4f632e85290cd15c855b0b8d43538100 | 210c4e09819715f0784cedb1863d4529dcc58528 | /qt_monitor/mainwindow.cpp | 681d485c007c1e57adae519e8651d3b336093aaf | [
"MIT"
] | permissive | jiaxiangshun/qt | ef66a64fd927cf9a922e215fcf37ee29bb3d33fa | 64b93496658edbd45c528d8cd8e1cbe889a02813 | refs/heads/master | 2022-02-11T16:32:03.179880 | 2019-07-29T15:51:32 | 2019-07-29T15:51:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,174 | cpp | #include "mainwindow.h"
#include "ui_mainwindow.h"
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
ui->setupUi(this);
client =new QTcpSocket();
//tcp messsage socket
connect(ui->pushButton_3,SIGNAL(clicked()),this,SLOT(runMessage()));
// write m... | [
"changcongyang@gmail.com"
] | changcongyang@gmail.com |
bf2ea21cb20be3a0d2ab4daf506a48b50641927b | c477cebec2c9daaab1489dc241df5925193809d2 | /crypter/crypter/crypter.cpp | 02f45caa53a5ab7a8d1e4ad10ad8e427d75b4a3f | [
"Unlicense"
] | permissive | SuperNov4d/Xor-Crypter- | 317dfb7e642511bb32131795f2d8be952b3e016e | 8d2566ab81704de3f35da8bb8b15db9e11dcf7a4 | refs/heads/main | 2023-07-10T18:49:28.587511 | 2021-08-13T15:28:01 | 2021-08-13T15:28:01 | 395,650,179 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 724 | cpp | #include <iostream>
#include <stdio.h>
#include <Windows.h>
using namespace std;
string xorCrypt(string keyword)
{
char key[3] = { 'C','Q','D' };
string output = keyword;
for (int i = 0; i < keyword.size(); i++)
output[i] = keyword[i] ^ key[i % sizeof(key) / sizeof(char)];
return output;
... | [
"noreply@github.com"
] | noreply@github.com |
a3c04c11d2bb27daed88f3fbaa302cd46c6b3282 | ba9322f7db02d797f6984298d892f74768193dcf | /live/include/alibabacloud/live/model/ApplyBoardTokenRequest.h | a52615be8e689b6eda0710625a590729d62ade5b | [
"Apache-2.0"
] | permissive | sdk-team/aliyun-openapi-cpp-sdk | e27f91996b3bad9226c86f74475b5a1a91806861 | a27fc0000a2b061cd10df09cbe4fff9db4a7c707 | refs/heads/master | 2022-08-21T18:25:53.080066 | 2022-07-25T10:01:05 | 2022-07-25T10:01:05 | 183,356,893 | 3 | 0 | null | 2019-04-25T04:34:29 | 2019-04-25T04:34:28 | null | UTF-8 | C++ | false | false | 4,264 | h | /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | [
"yixiong.jxy@alibaba-inc.com"
] | yixiong.jxy@alibaba-inc.com |
41790923f9a8d1e2caa0be25f5fd01a4cba4e8e4 | 9f9eb15cda314a467bbcb31b821a7aabee7a7e3d | /POx-TSL230_v3/POx-TSL230_v3.ino | 09fa138198b8987fcfb2eee2ed3ddebd84a3c330 | [] | no_license | 89spartacus/pulseoximeter | 6ad71a715e0424cf30dbe19c8a9345d9b0794168 | 527f976d386d9a26bd63988b0321a918cf34905a | refs/heads/master | 2021-01-19T03:48:19.662238 | 2018-02-15T21:42:03 | 2018-02-15T21:42:03 | 64,842,970 | 0 | 0 | null | 2016-11-14T16:02:19 | 2016-08-03T12:04:15 | null | UTF-8 | C++ | false | false | 7,178 | ino | //Pulse Oximeter based on TSL230
//Copyright by Andreas Faulhaber
#include <TimerOne.h> //interrupts
//Define Sensor (LED + PD)
int redLED = 8; int irLED = 9;
int TSL_Pin = 2; //TSL "digital" output
int TSL_S0 = 3; int TSL_S1 = 4;
int TSL_S2 = 5; int TSL_S3 = 6;
int TSL_divider=2;
int TSL_sensitiv=100;
//Operands for... | [
"noreply@github.com"
] | noreply@github.com |
b361547758d14c7ac55d06529ebca3958a3ba9e9 | ed91c77afaeb0e075da38153aa89c6ee8382d3fc | /mediasoup-client/deps/webrtc/src/media/base/video_broadcaster.h | 2f4e5782241d509118d4fadbcb2bb3f939be28fd | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-google-patent-license-webrtc",
"LicenseRef-scancode-google-patent-license-webm",
"MIT"
] | permissive | whatisor/mediasoup-client-android | 37bf1aeaadc8db642cff449a26545bf15da27539 | dc3d812974991d9b94efbc303aa2deb358928546 | refs/heads/master | 2023-04-26T12:24:18.355241 | 2023-01-02T16:55:19 | 2023-01-02T16:55:19 | 243,833,549 | 0 | 0 | MIT | 2020-02-28T18:56:36 | 2020-02-28T18:56:36 | null | UTF-8 | C++ | false | false | 2,754 | h | /*
* Copyright (c) 2016 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | [
"wuhaiyang1213@gmail.com"
] | wuhaiyang1213@gmail.com |
8cf99af8ddf567ae2a12e15a40dc3cae7cb25608 | 7064724292a855652a7b7b59a7b9db360f5ecbcf | /src/world/environment/fx/RealFx.h | 85df9d2def9d11dde53d0cf7c6c739ed98f1f112 | [] | no_license | yunari5821/multiagent-systems-tmp | fcda8a0e15566809e9ca1244ca81c4830323b549 | faea4594b01daf2b30fd7598ff1d0f0a190a4c33 | refs/heads/master | 2020-04-17T16:51:06.555684 | 2019-02-03T15:56:59 | 2019-02-03T15:56:59 | 166,758,614 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,186 | h | /*
* RealFx.h
*
* Created on: 2019/01/28
* Author: naritomi
*/
#ifndef SRC_WORLD_ENVIRONMENT_REALFX_H_
#define SRC_WORLD_ENVIRONMENT_REALFX_H_
#include <fstream>
#include <iostream>
#include <vector>
#include <string>
#include <errorlog.h>
#include <tracelog.h>
#include <utility.h>
using namespace std;
c... | [
"yusuke@192.168.11.2"
] | yusuke@192.168.11.2 |
f5088f70f71daa653a135877cb92b27d8d9ddb9d | 9b40f4863166327b0d51a83459ed8e271b4e8e57 | /Basic_Algorithm/sort.cpp | 5dcae4c5dee0375c03515e02afb1d04e2aac4b80 | [] | no_license | 3378950/Algorithm-Template | 20d576440eaca54d7497984112a1cc9174037ecb | 115254c9c1a325afdcaea76db031c646cbcc6783 | refs/heads/master | 2022-11-25T04:37:28.968518 | 2020-08-05T06:43:37 | 2020-08-05T06:43:37 | 261,932,020 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,267 | cpp | #include <iostream>
#include <algorithm>
using namespace std;
const int N = 1010;
int a[N], tmp[N];
void quick_sort(int a[], int l, int r) {
if(l >= r)
return;
int t = a[(l + r) >> 1], i = l - 1, j = r + 1;
while(i < j) {
do
i++;
while (a[i] < t);
do
... | [
"374008063@qq.com"
] | 374008063@qq.com |
ab5b8f47213edc0b1b3775ae81f01adade74ecba | 98b1e51f55fe389379b0db00365402359309186a | /homework_3/case_1/13/U | 1c0ff09eded08e4eb393677b77871e79459ea16d | [] | no_license | taddyb/597-009 | f14c0e75a03ae2fd741905c4c0bc92440d10adda | 5f67e7d3910e3ec115fb3f3dc89a21dcc9a1b927 | refs/heads/main | 2023-01-23T08:14:47.028429 | 2020-12-03T13:24:27 | 2020-12-03T13:24:27 | 311,713,551 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,914 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 8
\\/ M anipulation |
\*-------... | [
"tbindas@pop-os.localdomain"
] | tbindas@pop-os.localdomain | |
ac2f6a526e52d0131af99667e0951e670baea791 | c08a26d662bd1df1b2beaa36a36d0e9fecc1ebac | /classicui_plat/tsrc/bc/apps/S60_SDK3.2/bctestservicehandler/inc/bctestservicehandlerapp.h | d199e1c88ce86282bc5582e48f544d407c83d413 | [] | no_license | SymbianSource/oss.FCL.sf.mw.classicui | 9c2e2c31023256126bb2e502e49225d5c58017fe | dcea899751dfa099dcca7a5508cf32eab64afa7a | refs/heads/master | 2021-01-11T02:38:59.198728 | 2010-10-08T14:24:02 | 2010-10-08T14:24:02 | 70,943,916 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,439 | h | /*
* Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-... | [
"kirill.dremov@nokia.com"
] | kirill.dremov@nokia.com |
b7fcdbb9faf58738e96f177fd42c4cfe2c77a4fd | e14fc9f61f69c9b48a4d5abcea44aeed81738fbc | /open_spiel/games/liars_dice.cc | d8060444f1e9cda6375828bb4d07cfb0e1479d3f | [
"Apache-2.0",
"LicenseRef-scancode-generic-cla"
] | permissive | srijanreddy98/open_spiel | 396b0376138d1f674e3b567a128608201190ecff | 1a7a972d39579e86cc30d415a4d0eda618173d53 | refs/heads/master | 2020-07-27T13:44:14.003383 | 2019-09-17T17:07:53 | 2019-09-17T17:07:53 | 209,111,424 | 0 | 0 | null | 2019-09-17T17:03:00 | 2019-09-17T17:03:00 | null | UTF-8 | C++ | false | false | 12,857 | cc | // Copyright 2019 DeepMind Technologies Ltd. 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 require... | [
"lanctot@google.com"
] | lanctot@google.com |
19bc411c1258becfd2d5895bf7a2e9c0ed7e3078 | 0c5b852d142f83cb5906ace49db82d9a9edc68e2 | /TCPComm/server.cpp | 2b3584ffccf2c8e8efe83b5105d2ed8842ce7984 | [] | no_license | yyli/snippettools | b3b307a26b3df14370f436d5cf423ed7e99503c4 | 871f2a10d57602f1d59401f8ea74dfb9fd8c855a | refs/heads/master | 2021-01-13T01:30:10.598022 | 2014-11-22T20:56:48 | 2014-11-22T20:57:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 334 | cpp | #include <iostream>
#include <cstring>
#include <unistd.h>
#include "TCPComm.h"
void print(TCPComm &comm, int sock, void *args) {
while (1) {
if (comm.write(sock, "hello\n", 6) < 0)
return;
}
}
int main(int, char**) {
TCPComm tester(12345, 2, &print, NULL);
while (1) {
sleep... | [
"yyli@umich.edu"
] | yyli@umich.edu |
0543197a39abf0ee5879b7b397d11b48dcae4ee5 | 53dc93e3c21a19a920254ad5cb4bdad3c345865c | /autonomousVehicleBasicCODE/autonomousVehicleCode/UltrasonicTest/Arduino/Arduino.ino | c50832378eeacaaa1be6e31197e6e971485a145d | [] | no_license | DrawingProcess/2019F_AutonomousVehicleSKKU | 64f45f34516096f4d50033c25f10195cb1a7badb | 85023141f638c7f197504acf20573e4413ed082a | refs/heads/master | 2023-06-19T08:44:26.546153 | 2021-07-22T01:21:20 | 2021-07-22T01:21:20 | 213,651,181 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,118 | ino | // Pin map
#define FC_TRIG 13 // 전방 초음파 센서 TRIG 핀
#define FC_ECHO 10 // 전방 초음파 센서 ECHO 핀
#define FL_TRIG A4 // 전방좌측 초음파 센서 TRIG 핀
#define FL_ECHO A3 // 전방좌측 초음파 센서 ECHO 핀
#define FR_TRIG 3 // 전방우측 초음파 센서 TRIG 핀
#define FR_ECHO 4 // 전방우측 초음파 센서 ECHO 핀
#define L_TRIG A2 // 좌측 초음파 센서 TRIG 핀
#define L_ECHO A1 ... | [
"csj000714@gmail.com"
] | csj000714@gmail.com |
249c8a0ba3c1874ca1f0223ed33765df6c0a4f0d | bf437a984f4176f99ff1a8c6a7f60a64259b2415 | /src/inet/transportlayer/sctp/SCTPSendStream.h | 0196b26d0425150f27cd40052378521d85337d57 | [] | no_license | kvetak/ANSA | b8bcd25c9c04a09d5764177e7929f6d2de304e57 | fa0f011b248eacf25f97987172d99b39663e44ce | refs/heads/ansainet-3.3.0 | 2021-04-09T16:36:26.173317 | 2017-02-16T12:43:17 | 2017-02-16T12:43:17 | 3,823,817 | 10 | 16 | null | 2017-02-16T12:43:17 | 2012-03-25T11:25:51 | C++ | UTF-8 | C++ | false | false | 1,833 | h | //
// Copyright (C) 2008 Irene Ruengeler
// Copyright (C) 2010-2012 Thomas Dreibholz
//
// 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)... | [
"ivesely@fit.vutbr.cz"
] | ivesely@fit.vutbr.cz |
2ae9e8479508cca14cc00df452be75cf5bcc11d5 | 0787dc98bf2d7275d3f9dc6dd829d0705f741612 | /Classes/Reference/SchedulerRef.h | 369bc597b1d9d7ce5de53810fd24f60e20eb60c5 | [] | no_license | xingchen1106/ChaseLight | c76575fedfe4ab10fd03bf2ab73e1adaed93430a | f8e2e9868edfede1263b041cd1de808a6a78d9a1 | refs/heads/master | 2021-06-18T06:52:24.970330 | 2017-07-11T14:54:51 | 2017-07-11T14:54:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 521 | h | //
// SchedulerRef.h
// RollingBall
//
// Created by Reyn-Mac on 2017/6/26.
//
//
#ifndef SchedulerRef_h
#define SchedulerRef_h
namespace SchedulerCode {
static const std::string OnceUpdatePhysicsWorld = "update_physics_world";
static const std::string OnceEnableLauchClick = "enable_journey_start_click";... | [
"jl88744653@gmail.com"
] | jl88744653@gmail.com |
00442dc6f4bd191dae31fb4ed1e15178f3c67cb1 | 7c87ef2e59f55b28a9f66b6c875d40fc44029e9b | /src/Game/Tween/ProportionalScaleTween.h | ed0275d8ecd3843087a6b07d2b8ad1d1da269c59 | [] | no_license | rosdyana/Miner-Speed | ea28873beac6b7d5e56da8b0cd402319702b0972 | 56d7e0843b82e9ee66111ae34097548696c4a03d | refs/heads/master | 2020-03-18T09:51:14.739619 | 2018-05-30T09:00:00 | 2018-05-30T09:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 986 | h | #pragma once
#include "ITween.h"
#include <king/Engine.h>
#include <glm/glm.hpp>
namespace MinerSpeed
{
class ProportionalScaleTween : public MinerSpeed::ITween
{
public:
ProportionalScaleTween(King::Engine &engine, const King::Engine::Texture &texture, const glm::vec2 &pos, const float startSc... | [
"rosdyana.kusuma@gmail.com"
] | rosdyana.kusuma@gmail.com |
6b6251883202ba1f7c9f23375172194e9280631d | b04969e0f4a145b90789b1a839cc1336bac6eef4 | /source/Irrlicht/CGUICheckBox.h | e81221c0a7671f80ede114d9782a06ec7eb1827b | [
"LicenseRef-scancode-other-permissive",
"Zlib",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | hyyh619/irrlicht-1.8.3 | cf70bb9cf308c116fc55dbebb139316cc728a53b | edc20ff80653da40f195d1f538a50b3fe8cacacd | refs/heads/master | 2023-02-16T16:11:03.211729 | 2023-01-31T08:26:01 | 2023-01-31T08:26:01 | 47,589,569 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,430 | h | // Copyright (C) 2002-2012 Nikolaus Gebhardt
// This file is part of the "Irrlicht Engine".
// For conditions of distribution and use, see copyright notice in irrlicht.h
#ifndef __C_GUI_CHECKBOX_H_INCLUDED__
#define __C_GUI_CHECKBOX_H_INCLUDED__
#include "IrrCompileConfig.h"
#ifdef _IRR_COMPILE_WITH_GUI_
#include "I... | [
"hyyh619@hotmail.com"
] | hyyh619@hotmail.com |
65be6f4b53b47d6aae8cab37216528486cd28264 | 9a1761fe2c1788665b04a5f985a97aa40387bcd4 | /src/Test/MRenderTest_MFC/MainFrm.cpp | 2e6d7839417beb36317ec21eaf6a50f404fde66a | [
"Apache-2.0"
] | permissive | mousubin/M3D | 548102d1120744915461bf803fab144afde1306f | 4133691db1b41ba4f4550bbfa2bdd4f4d05aa6f8 | refs/heads/master | 2021-01-19T10:57:55.082402 | 2014-10-12T15:20:17 | 2014-10-12T15:20:17 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 6,353 | cpp |
// MainFrm.cpp : CMainFrame 类的实现
//
#include "stdafx.h"
#include "MRenderTest_MFC.h"
#include "MainFrm.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// CMainFrame
IMPLEMENT_DYNAMIC(CMainFrame, CFrameWndEx)
const int iMaxUserToolbars = 10;
const UINT uiFirstUserToolBarId = AFX_IDW_CONTROLBAR_FIRST + 40;
const UI... | [
"mousubin@hotmail.com"
] | mousubin@hotmail.com |
d65b12c9874c56915c0024f5bfca0a932656fba8 | fb0c0d94b48415a3050e9dabcb3d79fc8a653780 | /Flight controller/Arduino Mega/STAGE_1_setup/STAGE_1_setup.ino | 81828ce04080728c0ddec6ef2fceb3dd2a26a0df | [] | no_license | Accidental-Engineer/Arduino_flight_controller | c0a5c5a4445b61982199c9c6a5994e7ccf2dd2ba | 0ded7c406cfac576208152af2412f047189f0c98 | refs/heads/master | 2020-04-27T13:43:06.436598 | 2019-03-10T09:19:02 | 2019-03-10T09:19:02 | 174,380,774 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 38,693 | ino | ///////////////////////////////////////////////////////////////////////////////////////
//----------THIS SOFTWARE IS MODIFIED BY ADITYA MITTAL AND TARUN KUMAR-------------
//-----------------------------------------------------------------------------------
//THE PROGRAM WAS FOR ARDUINO UNO (CREATED BY YMFC - http://w... | [
"tarun12.tarunkr@gmail.com"
] | tarun12.tarunkr@gmail.com |
9b8fbf33a7e0b250e8108f315e49e444f30a7983 | 04d4eac5203b5e9ced91918a7b9aa1819b00d2af | /Zoo_Managment_System - part 3/Giraffe.cpp | c845aeb8df63fa8d90496b71301ca4b29d84f202 | [] | no_license | ZoharBergman/C-third-part | a5044cf52330a851257f012f2a4afeb0ac535e46 | 16f65cb6313de43f7da232f73b44c22fe18e9a68 | refs/heads/master | 2021-07-12T09:28:29.822512 | 2017-10-14T19:06:01 | 2017-10-14T19:06:01 | 106,165,776 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 278 | cpp | #include "Giraffe.h"
Giraffe::Giraffe(const string& name, float weight, int birthYear, float lengthOfNeck) :
Animal(weight, birthYear, name), lengthOfNeck(lengthOfNeck){}
void Giraffe::toOs(ostream& os) const
{
os << ", Length of neck: " << this->getLengthOfNeck();
} | [
"zohar.bergman@gmail.com"
] | zohar.bergman@gmail.com |
dbca746849c11a94652d6be16756de01682141fb | cdcae8b800d79a82bac3d0370038a02a0653f8ad | /SysProgram_using_CPP/1_FILE_Manage/Assignment_3/Assign3_11/accept.cpp | 0c10f3a1d075e1bd571a1575bf76525e6b64a064 | [] | no_license | Yuvraj-Takey/Linux-System-Programming | 8739733f83216b0c217230c0ea394f9d9b04bd4d | fc28e2652204499bc2a6f0ba0a25bdc388662393 | refs/heads/master | 2021-10-11T15:35:40.253950 | 2019-01-27T20:04:04 | 2019-01-27T20:04:04 | 103,016,697 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,682 | cpp | #include "header.h"
class Accept
{
private:
int iFD_In;
char my_File[MAXNAME];
public:
struct stat fileStat;
Accept(const char*);
~Accept();
void GetMaxFile();
};
Accept::Accept(const char* file_Name)
{
strcpy(my_File,file_Name);
iFD_In = 0;
// create new file for output
if((iFD_In = open(my_File, O_RDON... | [
"yuvraj.takey@gmail.com"
] | yuvraj.takey@gmail.com |
7886d715691ec260dc5e1e3e33069717c329d273 | 8b1d01173776d1e70dcde89de90bc366f1c8d03f | /hellman_example/sort_on_disk.hpp | 0a9543ef43888502b71f5e1f7dd58147ca971c8a | [
"Apache-2.0"
] | permissive | timkuijsten/chiapos | ccb7aefb3606dda8419215fcf22850cb95ed9962 | 2f889124e005d384ea29e05f9939264656dc3adc | refs/heads/main | 2023-04-06T07:28:36.741151 | 2021-03-18T17:00:13 | 2021-03-18T18:58:07 | 349,409,767 | 0 | 0 | Apache-2.0 | 2021-03-19T12:06:34 | 2021-03-19T12:06:33 | null | UTF-8 | C++ | false | false | 34,623 | hpp | // Copyright 2018 Chia Network 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 wr... | [
"fchirica96@gmail.com"
] | fchirica96@gmail.com |
34181fb3980b541450984d184b096d5b0cbaa766 | 6478a03d65fe7e8c418c28e561cfa4f830fac972 | /DirectX11EngineMK/StringHelper.h | 12f2d203e0ce4bc275b055549d35b89c3b14d73b | [] | no_license | minkipro/DirectX11EngineMK | 353e4fa8e6abaf41f4dcc849e24f27657b73fc88 | 892e928e418ea8c3e4b858c6c70678540269d7d3 | refs/heads/master | 2023-01-14T09:32:45.663205 | 2020-11-16T22:58:08 | 2020-11-16T22:58:08 | 303,265,602 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 308 | h | #pragma once
#include <string>
using namespace std;
class StringHelper
{
public:
static wstring StringToWide(string str);
static string WideToString(wstring wstr);
static std::string GetDirectoryFromPath(const std::string& filepath);
static std::string GetFileExtension(const std::string& filename);
}; | [
"ghkdalsrl222@gmail.com"
] | ghkdalsrl222@gmail.com |
96ea7b120f225217cc32cfb00db16ac564bd3641 | 4ecb7575a8110037ea00774040250b2e9d8abe56 | /Old_Version/map_0.1.1(Sky box, sphere)/Base_3D/HeightMap.cpp | 1ac21d5137f13e7bd40d5967df56100ad1a09b19 | [] | no_license | naknaknak/3D_Game_Portfolio | 1e46c5dca1637749f26986193b0b620b1fdb3390 | 12f4f8a9346e9199be55b0e1ad3549c44752a514 | refs/heads/master | 2020-05-21T17:47:38.252543 | 2017-02-20T00:16:14 | 2017-02-20T00:16:14 | 63,951,817 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 6,667 | cpp | #include "stdafx.h"
#include "HeightMap.h"
HeightMap::HeightMap()
{
}
HeightMap::~HeightMap()
{
}
void HeightMap::Initialize(char* mapFileName, char* textureFileName, int bitNum/*= 8*/)
{
D3DXMatrixIdentity(&world);
texture = TextureManager::GetTexture(textureFileName);
ZeroMemory(&material, sizeof(D3DMATERIAL9... | [
"youngc00@naver.com"
] | youngc00@naver.com |
f67bb035b50dfc3c044c3a35887dd2a447f917c0 | b762aedb82990dbc8883136e82f8f24d5e6b2bd1 | /Day 12.cpp | 2fc6bf176160092440f35665c785e7f1b9c4c578 | [] | no_license | Ayush-KS/August-LeetCoding-Challenge | 06701a8233d8ece31ba3a35fcc180f2d675d9e64 | 5ff6c6bc37c8a34edc26ff3da232070675b221ad | refs/heads/master | 2022-12-08T15:04:02.363038 | 2020-09-05T11:57:56 | 2020-09-05T11:57:56 | 284,634,717 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 494 | cpp | // Pascal's Triangle II
class Solution {
public:
vector<int> getRow(int rowIndex) {
vector<int> output;
output.push_back(1);
for(int i = 1; i <= rowIndex; i++) {
int temp = output[0];
for(int j = 1; j < output.size(); j++) {
int newTemp = output[j];
... | [
"45496026+Ayush-KS@users.noreply.github.com"
] | 45496026+Ayush-KS@users.noreply.github.com |
cc63cfe58a8b663f62bba97e3d543ae1ac6866f1 | be4737ec5e569506a3beea5cdfedafdd778e32e1 | /moduloadd.cpp | 965789da18229e424a46809cc7cd00aa4a27e4dd | [] | no_license | Samykakkar/DSA-practice | 8fd49c690f9c6af56437cb09475e7796538df77b | d10938f34e9467688f178b6570ccc740d3cc4dff | refs/heads/master | 2023-07-24T22:10:26.953125 | 2021-09-06T09:26:00 | 2021-09-06T09:26:00 | 392,998,137 | 0 | 1 | null | 2021-08-13T10:46:25 | 2021-08-05T10:21:28 | C++ | UTF-8 | C++ | false | false | 268 | cpp | #include <iostream>
using namespace std;
int moduloAdd(long long a, long long b, long long M)
{
return ((a %M )+(b % M)) % M;
}
int main()
{
long int a= 1000, b=2000;
int M=1000000007;
cout<<"Modulo addition "<<moduloAdd(a,b,M);
return 0;
} | [
"sam8377984375@gmail.com"
] | sam8377984375@gmail.com |
b5e1269bb8eb9df646d4da03813b89b5986f4848 | 346efbc9dbbb1d656fd579400530c0269dfce56d | /kattis/keytocrypto.cpp | 6fe62ffdcc238f6a2afd8aeb50fb4445542360cd | [] | no_license | lmun/competitiveProgramingSolutions | 1c362e6433fc985e371afe88f08277268c46afde | 06d62240e2b3c58dd9ee72e41a78f7246d966652 | refs/heads/master | 2023-08-24T04:52:04.218922 | 2021-10-29T15:06:28 | 2021-10-29T15:06:28 | 167,073,540 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 930 | cpp | #include <bits/stdc++.h>
#include <cstdio>
#include <cstring>
#include <cmath>
#include <cstring>
#include <complex>
#define endl "\n"
#define ll long long int
#define vi vector<int>
#define vll vector<ll>
#define vvi vector < vi >
#define pii pair<int,int>
#define pll pair<long long, long long>
#define mod 1000000007
... | [
"lester.munoz@gmail.com"
] | lester.munoz@gmail.com |
a6f9709b52a85019ab0c091d8057673a16322ab5 | 533039f833fc90eacad10ecba6fb93635b781564 | /Source/OnlineGame/Environment/Lantern.h | c76cfc8cb7d7f5181f3b42ee490286da5a312fbc | [] | no_license | Lordmatics/OnlineGame | 5c6b4f501cefcba8fab6e0042df5daf2bb2a1130 | 0cb7511c32d1fcf5a43a06c3ebe0f627627e10e5 | refs/heads/master | 2021-01-11T07:32:25.100665 | 2017-04-27T21:54:26 | 2017-04-27T21:54:26 | 80,136,316 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,035 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "GameFramework/Actor.h"
#include "Lantern.generated.h"
UCLASS()
class ONLINEGAME_API ALantern : public AActor
{
GENERATED_BODY()
private:
UPROPERTY(VisibleDefaultsOnly, Category = "C++ Component")
USceneComponent... | [
"niallmaple@yahoo.co.uk"
] | niallmaple@yahoo.co.uk |
f652a4758a6547ba36d4655e8302b0939b463a28 | 42f82f560416cb9099e24da232154c4b3c038d38 | /src/main.cpp | 1e97195b70cbb5b19d5e9ac2fe8529265850abf6 | [] | no_license | rdidukh/text-analizer | c020c95c9c77617c64350fb7145ece59485446bc | d39a46bde4e96de9e3b719e6c28a2a26cb39a9a4 | refs/heads/master | 2021-05-26T18:31:18.605180 | 2012-09-18T12:46:33 | 2012-09-18T12:46:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,661 | cpp | #include <iostream>
#include <fstream>
#include <cstdlib>
#include <cstdio>
#include <map>
#include <Utf8Char.h>
#include <Utf8Charset.h>
#include <Utf8RussianAlphabetCharset.h>
using namespace std;
struct DoubleCharStruct
{
unicode_t first;
unicode_t second;
int count;
};
struct OneCharStruct
{
public:
unic... | [
"r.didukh@samsung.com"
] | r.didukh@samsung.com |
3b3d29dce9e17db0fb17d0e5e3805a5c8d5cadc0 | e1ee7f74625d5a6e0cd7606a1d4f353693941c50 | /mem.cpp | 4d3bd1ff82fe9dfec5bca1ba842b177160451b29 | [] | no_license | noopz/PwnAdventureHack | 5cb9f5b773df3309408284e7ec6e7bc9e2d08ec7 | 5d3c4f0e0b1fcdae5174d32f05d1d3d7d2e58957 | refs/heads/master | 2022-11-10T23:48:05.441276 | 2020-07-03T00:52:35 | 2020-07-03T00:52:35 | 276,773,636 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,410 | cpp | #include "mem.h"
// Not used for PA3
void mem::Patch(BYTE* dst, BYTE* src, unsigned int size)
{
DWORD oldprotect;
VirtualProtect(dst, size, PAGE_EXECUTE_READWRITE, &oldprotect);
memcpy(dst, src, size);
VirtualProtect(dst, size, oldprotect, &oldprotect);
}
void mem::Nop(BYTE* dst, unsigned int size)
{
DWORD old... | [
"zackien@gmail.com"
] | zackien@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.