blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 2 247 | content_id stringlengths 40 40 | detected_licenses listlengths 0 57 | license_type stringclasses 2
values | repo_name stringlengths 4 111 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringlengths 4 58 | visit_date timestamp[ns]date 2015-07-25 18:16:41 2023-09-06 10:45:08 | revision_date timestamp[ns]date 1970-01-14 14:03:36 2023-09-06 06:22:19 | committer_date timestamp[ns]date 1970-01-14 14:03:36 2023-09-06 06:22:19 | github_id int64 3.89k 689M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 25
values | gha_event_created_at timestamp[ns]date 2012-06-07 00:51:45 2023-09-14 21:58:52 ⌀ | gha_created_at timestamp[ns]date 2008-03-27 23:40:48 2023-08-24 19:49:39 ⌀ | gha_language stringclasses 159
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 7 10.5M | extension stringclasses 111
values | filename stringlengths 1 195 | text stringlengths 7 10.5M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c630574f57080c2a052a902e79acb61787d90dcf | 9e78c44549c47c60302aebfd662dd481620dfb1e | /shoppingtask.cpp | d75ac2c7d4101957739fc4e256c095905eb51475 | [] | no_license | yujiejiang/todolistapp | f68b777c0231fcdf4225cb0c235498a15cd15db4 | b9d30ce9a73668bdee2766637f8ed524a39b4a7a | refs/heads/master | 2020-03-14T01:05:23.963618 | 2018-04-28T04:13:20 | 2018-04-28T04:13:20 | 131,370,492 | 0 | 0 | null | 2018-04-28T04:39:46 | 2018-04-28T03:51:03 | C++ | UTF-8 | C++ | false | false | 974 | cpp | shoppingtask.cpp | //
// shoppingtask.cpp
// todolist
//
// Created by YuJie Jiang on 4/13/18.
// Copyright © 2018 YuJie Jiang. All rights reserved.
//
//using vector for shooping task is because there might be many items in the shopping task, vector should holds better.
#ifndef shoppingtask_cpp
#define shoppingtask_cpp
#include "... |
0fddf3100e84be4f607da2f2189b6edde01e8ed9 | 776f5892f1395bb8d30731a60466e4c756a44c8c | /contests/abc219/abc219_g/main.cc | a3a0267bf3a7e6309d4a252d91063a14ca1b78d7 | [] | no_license | kkishi/atcoder | fae494af4b47a9f39f05e7536e93d5c4dd21555b | f21d22095699dbf064c0d084a5ce5a09a252dc6b | refs/heads/master | 2023-08-31T18:37:13.293499 | 2023-08-27T21:33:43 | 2023-08-27T21:33:43 | 264,760,383 | 0 | 0 | null | 2023-03-10T05:24:07 | 2020-05-17T21:30:14 | C++ | UTF-8 | C++ | false | false | 763 | cc | main.cc | #include <bits/stdc++.h>
#include "atcoder.h"
#include "graph.h"
void Main() {
ints(n, m, q);
Graph g(n);
g.Read(m);
V<bool> hi(n);
rep(i, n) hi[i] = sz(g[i]) * sz(g[i]) > n;
VV<int> G(n);
rep(i, n) each(e, g[i]) if (hi[e]) G[i].pb(e);
V<tuple<int, int>> eager(n), lazy(n);
rep(i, n) {
eager[i] =... |
05c0843addeec700712043d2fd7b6c1d60f4cac6 | a3d6556180e74af7b555f8d47d3fea55b94bcbda | /third_party/blink/renderer/core/frame/remote_frame.h | 9585ac3d50210b8c3e4ffb0280b489dd72e7044f | [
"GPL-1.0-or-later",
"MIT",
"LGPL-2.0-or-later",
"Apache-2.0",
"LGPL-2.0-only",
"BSD-2-Clause",
"LGPL-2.1-only",
"LicenseRef-scancode-warranty-disclaimer",
"GPL-2.0-only",
"LicenseRef-scancode-other-copyleft",
"BSD-3-Clause"
] | permissive | chromium/chromium | aaa9eda10115b50b0616d2f1aed5ef35d1d779d6 | a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c | refs/heads/main | 2023-08-24T00:35:12.585945 | 2023-08-23T22:01:11 | 2023-08-23T22:01:11 | 120,360,765 | 17,408 | 7,102 | BSD-3-Clause | 2023-09-10T23:44:27 | 2018-02-05T20:55:32 | null | UTF-8 | C++ | false | false | 13,983 | h | remote_frame.h | // Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef THIRD_PARTY_BLINK_RENDERER_CORE_FRAME_REMOTE_FRAME_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_FRAME_REMOTE_FRAME_H_
#include "base/task/single_thread_task_runner.h"
#i... |
4cb73f8ba5252056558d2440083372a1db3834a4 | a3d6556180e74af7b555f8d47d3fea55b94bcbda | /chrome/browser/chromeos/extensions/login_screen/login_state/session_state_changed_event_dispatcher.h | 38fa57b7d18982f02c56205ba047485cfb4ea713 | [
"BSD-3-Clause"
] | permissive | chromium/chromium | aaa9eda10115b50b0616d2f1aed5ef35d1d779d6 | a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c | refs/heads/main | 2023-08-24T00:35:12.585945 | 2023-08-23T22:01:11 | 2023-08-23T22:01:11 | 120,360,765 | 17,408 | 7,102 | BSD-3-Clause | 2023-09-10T23:44:27 | 2018-02-05T20:55:32 | null | UTF-8 | C++ | false | false | 2,874 | h | session_state_changed_event_dispatcher.h | // Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_LOGIN_SCREEN_LOGIN_STATE_SESSION_STATE_CHANGED_EVENT_DISPATCHER_H_
#define CHROME_BROWSER_CHROMEOS_EXTENSIONS_LOGIN_SCREEN_LOGIN_STAT... |
022fa74a2b34f766e7b72d8a3d88a8269afb8114 | 0c50afa0160eefe851d199e6d35ee86a474fe43e | /1095.cpp | 7cb88f99cc45d1f4f49e187d15427e3ad68657c8 | [] | no_license | Disposrestfully/BZOJ | 11199e322232c2ab54735fc6d7e5031e266bfc9e | 07f17f7f78cff02a95d201ea5d3768d5cc48bbc5 | refs/heads/master | 2020-04-13T04:13:34.813219 | 2019-06-16T02:26:59 | 2019-06-16T02:26:59 | 162,955,126 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,577 | cpp | 1095.cpp | #include<cstdio>
#include<algorithm>
#include<cstring>
#include<vector>
#include<map>
#include<queue>
#include<cmath>
#define y1 Y1
#define read() Re.Read()
#define lowbit(i) i&(-i)
using namespace std;
const int N=5e5+5;
const int inf=1e9;
struct Readint{
char buffer[1<<15],*S,*T;
inline char Get_Char(){
if(... |
1edf1020a4909746cd8798e51c6bb542e8b58a89 | 6af8c27c35b601bb853e2502a438bf4e9b4e5175 | /myZinx/stdout_channel.h | 78f5af721aaf197d1d890508de96654f2296135b | [] | no_license | Czeslaw20/MyGameServer | c65ff523b801dfb113f48ffa66dd64bc157f8aa4 | d80c7b8abaecbd591d33dc84d3872a3660159d3e | refs/heads/master | 2022-12-17T23:49:40.055845 | 2020-09-26T15:50:53 | 2020-09-26T15:50:53 | 294,658,722 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 426 | h | stdout_channel.h | #pragma once
#include "Ichannel.h"
class stdout_channel : public Ichannel
{
public:
stdout_channel();
virtual ~stdout_channel();
//继承
virtual std::string ReadFd() override;
virtual void WriteFd(std::string _output) override;
virtual int GetFd() override;
virtual bool init() override;
... |
c84dda22525e258505a68a3afde0c49003588a00 | 69f640edd32d9b9e34b68a4dedcc0c9f97389825 | /Code/main.cpp | ed21e37163caef54a64d7601e0a9fcc31d00da95 | [] | no_license | VortexAstra/MMCRP | 6e0920858833af6993511a1a55eb74454aceb4be | f3bc4a457478582331f3abf593ad8ba1fda70ef1 | refs/heads/main | 2023-03-19T02:06:48.709968 | 2021-03-17T15:16:08 | 2021-03-17T15:16:08 | 348,752,329 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,398 | cpp | main.cpp | #include <iostream>
#include "mmsystem.hpp"
int test = 1;
double xl = 0, xr = 2, yl = 0, yr = 2;
double k1(double x, double y)
{
switch (test) {
case 1:
return 1;
case 2:
return x + y;
case 3:
return x * x + y * y;
case 4:
return x * x + y * y;
default:
return 1;
... |
3680f361b289251f46bcba65aae5efd6e1aef9c3 | 29c07f21a2ea2aa1a912207a6ac5fbf8396df2ec | /cnn/error_layer_test.cc | 81777feefe55897a5d60b7143d98a9b1d68f1e39 | [] | no_license | gaborfeher/imgrec | 900871a6ebfae878a5fe7acd0ffe59c83297b61f | 7917a4bea0effb392a29e7adb1ff2d97db2c7e54 | refs/heads/master | 2021-08-22T14:30:46.007207 | 2017-11-30T11:27:50 | 2017-11-30T11:27:50 | 104,206,572 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,628 | cc | error_layer_test.cc | #include <functional>
#include <iostream>
#include <vector>
#include "cnn/l2_error_layer.h"
#include "cnn/layer_stack.h"
#include "cnn/layer_test_base.h"
#include "cnn/softmax_error_layer.h"
#include "linalg/matrix.h"
#include "linalg/matrix_test_util.h"
#include "gtest/gtest.h"
TEST(ErrorLayerTest, L2GradientAt0) {... |
468b3a83e771aa4f0115cd6ffa8ab63f89fd6b2d | a9e224a95e42a9a5eddddfada7843e518d75408f | /1020/main.cpp | 92240511026110f6929a0c3bf0611ed10b62ae23 | [] | no_license | WoodJohn/Algorithm-Practice | 6b39619ce34faf34be48d8e928a729f8739c6e9a | 4e7f6e3b090d3492ed53d479d0672830912eca5f | refs/heads/master | 2020-04-27T21:39:30.288108 | 2012-11-11T12:03:22 | 2012-11-11T12:03:22 | 4,083,583 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,403 | cpp | main.cpp | #include <iostream>
#include <string.h>
using namespace std;
int t;
int w[41];
int c[11];
int n;
int s;
bool dfs(int a)
{
if (a == n)
{
return true;
}
int p;
for (int i = 0; i < s; ++i)
{
if (w[i] < s)
{
p = i;
break;
}
}
for (int... |
3593954c821ad457fa3d923664d89db74ac3f6c3 | 1ec64d7db5e2743fce201c87b3eb1e4feb5728be | /backup_till_6_5_21/3_5_21/FiFanZero2_22_4_21/ImpTimer.cpp | fb2797cf7cad7cca576c45aba92049a11f34decd | [] | no_license | Silverbullet069/TheMageRunner | 8ff2764594fcd0746c551e4638a4aa0d67b36df9 | 65e279dc8306ffed867f7d3cb4f64bffd4db115a | refs/heads/master | 2023-04-21T01:18:12.994871 | 2021-05-12T11:23:55 | 2021-05-12T11:23:55 | 361,590,266 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,095 | cpp | ImpTimer.cpp | #include "ImpTimer.h"
#include "CommonFunction.h"
ImpTimer::ImpTimer()
{
start_tick_ = 0;
paused_tick_ = 0;
is_paused_ = false;
is_started_ = false;
}
ImpTimer::~ImpTimer()
{
}
void ImpTimer::start()
{
//Set trang thai chay = true
is_started_ = true;
//Set trang thai tam dung = false
... |
6cd3f36184569613c97ee2eaee4c08ac4b5450f9 | b99e3109c4f1830e7755f2e8029a713eef9d3978 | /src/configuration/KlondikeConfiguration.hpp | fb60c54d9afbe4bb22599c89ea32ed7925cc904d | [] | no_license | vrcordoba/Klondike | 01d632c0681cbd675ce965be1fd0035074ee2dc6 | 108d2b4232c0106b824adba3f70aab635b403d2a | refs/heads/master | 2021-01-11T02:14:45.289106 | 2016-05-07T14:29:14 | 2016-05-07T14:29:14 | 71,004,256 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,275 | hpp | KlondikeConfiguration.hpp | #ifndef CONFIGURATION_KLONDIKECONFIGURATION_HPP_
#define CONFIGURATION_KLONDIKECONFIGURATION_HPP_
#include <list>
#include <string>
#include "DeckType.hpp"
#include "ViewType.hpp"
#include "PermanentMedium.hpp"
namespace Configuration
{
class KlondikeConfiguration final
{
public:
~KlondikeConfiguration();
sta... |
87ff8893a783e428fa5634e4e7eedf44a3a8041d | b3e7da4b6c4e29bd7ab1544ea935e3e433f7d1c5 | /DynamicPlugin/Plugins_Ui/interface/ITaihoServiceCore.h | 5b38c6d5fad19505ff6d4d6bcb267f742be9591f | [] | no_license | yu-yang-halo/basePlugin | 7e4c11713d87aa65bd5ad55c6ed3ea7fcca42592 | b2569317eae7a6981e08dceb784ad3b464567c3e | refs/heads/master | 2020-07-07T12:38:37.369377 | 2019-10-16T08:15:27 | 2019-10-16T08:15:27 | 203,350,238 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 806 | h | ITaihoServiceCore.h | #ifndef ITAIHOSERVICECORE_H
#define ITAIHOSERVICECORE_H
#include <QObject>
#include "TaihoPluginInterface.h"
/**
* @brief The ITaohoServiceCore class
* 平台系统接口 插件化接口
*/
class ITaohoServiceCore :public QObject, public TaihoPluginInterface
{
Q_OBJECT
Q_INTERFACES(TaihoPluginInterface)
public:
virtual ~ITao... |
ccb4d9bc8c69d5acc381c5a9c0b5825fe1d019a2 | 2c8e6a2df865d1750512879a0bac0347faf3c79f | /A. Road To Zero.cpp | f6bfc54d526bd2105fba6e1f7c2f948a19ee942e | [] | no_license | Daydreamer008/Codeforces | ba1683b0943763a7664588fb6b25e5a45b8f425b | 43f77bd1f1c8e78fc57f7024e33cad30f4fbb3af | refs/heads/main | 2023-08-22T14:00:57.083432 | 2021-09-26T21:58:57 | 2021-09-26T21:58:57 | 322,061,524 | 0 | 1 | null | 2021-01-29T10:49:49 | 2020-12-16T17:58:09 | C++ | UTF-8 | C++ | false | false | 1,019 | cpp | A. Road To Zero.cpp | #include <bits/stdc++.h>
using namespace std;
#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
#define inf 1000000000000000001;
#define m... |
0d9fdff1fae09c3baf3bfdf2c782148a686967cf | e926bede54cbddf08870036ae478124e0a6cec77 | /include/jet/plane2.h | 0c5572bb3a3a68cd359bfb41b2b7f3d0b5eec288 | [
"MIT"
] | permissive | doyubkim/fluid-engine-dev | 2d1228c78690191fba8ff2c107af1dd06212ca44 | 94c300ff5ad8a2f588e5e27e8e9746a424b29863 | refs/heads/main | 2023-08-14T08:04:43.513360 | 2022-07-09T06:24:41 | 2022-07-09T06:24:41 | 58,299,041 | 1,725 | 275 | MIT | 2022-07-09T06:24:41 | 2016-05-08T06:05:38 | C++ | UTF-8 | C++ | false | false | 2,368 | h | plane2.h | // Copyright (c) 2018 Doyub Kim
//
// I am making my contributions/submissions to this project solely in my
// personal capacity and am not conveying any rights to any intellectual
// property of any third parties.
#ifndef INCLUDE_JET_PLANE2_H_
#define INCLUDE_JET_PLANE2_H_
#include <jet/surface2.h>
namespace jet {
... |
8acad3bcce2aae8bd04fcfa053d98ff0da11e239 | 565b0a88c0d6f8a71d42f919613a1d166889c8bb | /Code/Dynamic Programming/Codeforces 607A Chain Reaction (DP).cpp | dbb977b6853b4649cb6e33925e1d2a0a240409bc | [] | no_license | DaDaMrX/ACM | 71d7347640e745ea30518762588f6a698722295b | 603cff542027db7875bfc57d92c9cdaba1f82c80 | refs/heads/master | 2020-04-12T06:23:25.442550 | 2017-07-30T11:01:48 | 2017-07-30T11:01:48 | 62,130,184 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 600 | cpp | Codeforces 607A Chain Reaction (DP).cpp | #include <cstdio>
#include <cstring>
const int N = 1e6 + 1;
bool pos[N];
int pow[N], dp[N];
int n, ans;
int main()
{
scanf("%d", &n);
memset(pos, false, sizeof(pos));
memset(pow, 0, sizeof(pow));
memset(dp, 0, sizeof(dp));
for (int i = 1; i <= n; i++)
{
int a, b;
scanf("%d%d", &a, &b);
pos[a] = true;
pow... |
34eec9cf00628d3e2ad0b2063ce9aed7a64724d1 | 678328ff5e7d80e31af75bcf9a29c061117a5208 | /Scarab-Engine/Source/Lib/Math/Geometry/BoundingShapes/3D/BVAABox.inl | 4ad352f69086ae87b74469c37336409e27fc8149 | [] | no_license | SyGame-Engine-Team/SyGame-Engine | 48ead0234e92ddae5096e0b00edfbbd0bb484291 | 1e2e9f174ca6a19394d50b03eb54a3d2bc2066b7 | refs/heads/master | 2021-01-10T15:05:24.457349 | 2015-09-29T21:55:15 | 2015-09-29T21:55:15 | 43,390,724 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 15,626 | inl | BVAABox.inl | /////////////////////////////////////////////////////////////////////////////////
// File : Lib/Math/Geometry/BoundingShapes/3D/BVAABox.inl
/////////////////////////////////////////////////////////////////////////////////
// Version : 1.0a
// Began Code : 29/05/2010
// Status : Alpha
// Portability : Any
//////////////... |
778c7b96a3e8047474b55f2372853491edf44513 | 88ae8695987ada722184307301e221e1ba3cc2fa | /buildtools/third_party/libc++/trunk/test/std/containers/associative/set/contains_transparent.pass.cpp | e4caa0b7128b467f053262af401180fd0fe7aaca | [
"NCSA",
"LLVM-exception",
"MIT",
"Apache-2.0",
"BSD-3-Clause"
] | permissive | iridium-browser/iridium-browser | 71d9c5ff76e014e6900b825f67389ab0ccd01329 | 5ee297f53dc7f8e70183031cff62f37b0f19d25f | refs/heads/master | 2023-08-03T16:44:16.844552 | 2023-07-20T15:17:00 | 2023-07-23T16:09:30 | 220,016,632 | 341 | 40 | BSD-3-Clause | 2021-08-13T13:54:45 | 2019-11-06T14:32:31 | null | UTF-8 | C++ | false | false | 1,238 | cpp | contains_transparent.pass.cpp | //===----------------------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... |
30d2901b3b2ed8c14cea3e89991e4cc5ceb53b57 | c68b7a64bbde73984df1518deb9373e4f075525b | /025 - AVL Tree Deletion.cpp | 12d5b0044336cc1a33d88901b413affd99362764 | [] | no_license | sauravstark/Preparations | c959ff1739dba4ebbdef8b5f6d75950e76bfc2a7 | 0268cadffb78aef3152d3f6ae927ada2b97ad99e | refs/heads/master | 2022-07-08T10:04:04.526120 | 2020-05-08T23:43:39 | 2020-05-08T23:43:39 | 256,969,307 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,163 | cpp | 025 - AVL Tree Deletion.cpp | #include <stack>
#include <algorithm>
struct Node
{
int data;
Node *left;
Node *right;
int height;
};
int height(Node* node) {
if(node == nullptr)
return 0;
return node->height;
}
Node* rotateL(Node *root);
Node* rotateR(Node *root);
Node* deleteNode(Node* root, int data) {
... |
d18abb0848a6260c9333fc3ba53f60e9ecc7821a | 7ccad228a6002be014a3f3517f512b24a6a26370 | /satelite.cpp | 3142b8ca10971e706c852ab6edba10b929eaa500 | [] | no_license | luissiqueira/qxd-0153 | c076260bbc1fd88e2357c64491b445fffc24db51 | c214c19650480a22e9c0d2a1f8a10fbd171ea11d | refs/heads/master | 2021-01-10T07:43:57.986379 | 2016-01-25T18:02:43 | 2016-01-25T18:02:43 | 49,870,893 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,616 | cpp | satelite.cpp | // http://olimpiada.ic.unicamp.br/passadas/OBI1999/pdf/provas/ProvaOBI1999.pdf
// Imagens de Satélite
// Luis Siqueira - 338975
// Desafios de programação
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
char matriz[82][52];
void show(char matriz[][52], int m, int n) {
int l;
for (l = 0; l <= m + 1; l++)... |
d85fb8fd6817fc8f3653f4ad9e2b5162830a7902 | 0930e77acdd7d614485c5725c467848c0b623824 | /dietg/diet-sched-example/server.hh | 8a407d48f0790ecb8f423b0406e4ba41b47e9f74 | [] | no_license | chocoyaki/diet-green-g5k | 77cf6f66fd7cefe8bffa9217ac345e08eab21f3b | 3235d2869f256056cfb76f6d9c14bb681ce887ee | refs/heads/master | 2020-07-01T01:24:46.387523 | 2013-11-13T14:35:31 | 2013-11-13T14:35:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 822 | hh | server.hh | // Filename: server.hh
// Description:
// Author: Daniel Balouek
#include <iostream>
#include "common.hh"
#include "server_metrics.hh"
#include "server_utils.hh"
#include "DIET_server.h"
#include "scheduler/est_internal.hh"
#include <fstream>
#include <cmath>
#include <stdio.h>
#include <iostream>
#include <fstream>
... |
f8d0ca7df3ba975d3dfebbb66f3cfcab16738b47 | 949ed189824eafe130bffb739f708a1692171a12 | /imxipu.cpp | 565e397bfd865da74ea82b07850829cc48b6c060 | [] | no_license | vscroll/surroundpark2 | 6c9c2a9ae79c4c329195ef448995a74a76f37f53 | 6f7e34e2ae1f5ccd52cfc116144970c2644a2a7f | refs/heads/master | 2021-01-19T14:24:13.099157 | 2017-04-14T04:34:40 | 2017-04-14T04:34:40 | 88,157,473 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,034 | cpp | imxipu.cpp | #include "imxipu.h"
#include <linux/ipu.h>
#include <sys/ioctl.h>
#include <fcntl.h>
#include <sys/mman.h>
#include <QDebug>
IMXIPU::IMXIPU()
{
}
int IMXIPU::allocIpuBuf(int fd, struct buffer* ipu_buf, unsigned int frame_size)
{
//unsigned int page_size = getpagesize();
unsigned int buf_size = frame_size;
... |
031776834807d5e72b44f0dbf34208cb4fbf6a92 | bf8be94a04ada0fbf79a1dc3508c468febd2710c | /src/lullaby/script/script_engine.h | 8db6bc511eaf7fb0d0baf932f2a4a45842343e27 | [
"Apache-2.0"
] | permissive | xinfushe/lullaby | de4809c03e150e2a15cc0ab77794bfd9440e36f6 | b38c3ad6218f858b94ec17101ea82663536f604c | refs/heads/master | 2020-07-12T04:41:02.302129 | 2017-06-12T21:33:59 | 2017-06-12T21:33:59 | 94,276,048 | 1 | 0 | null | 2017-06-14T01:45:00 | 2017-06-14T01:45:00 | null | UTF-8 | C++ | false | false | 4,644 | h | script_engine.h | /*
Copyright 2017 Google Inc. 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 agreed to in ... |
2819a69d1c2b35e883f59d7345758ff9bd5707b4 | 7d6e81d77da55dce2e895d7d787f9a529039995b | /18FEB/func3.cpp | b6758b839939e939a39cb093fec7d716b675b196 | [] | no_license | andyanidas/TeachingMgl | 65dc88088ecc2ad6529b96c674fcdd09f42801f5 | 1305923c9e43789db09b1ec520139db21811cc3a | refs/heads/main | 2023-04-24T19:08:04.587445 | 2021-05-20T16:14:59 | 2021-05-20T16:14:59 | 331,643,983 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 957 | cpp | func3.cpp | #include<iostream>
using namespace std;
//function prototype
bool anhdagch(int);
bool arms(int);
//main function
int main(){
int num;
cout<<"Enter an integer: ";
cin>>num;
/*
if(anhdagch(num)){
cout<<"ogogdson too anhdagch bainaa!!";
}else{
cout<<"ogogdson too anhdagch bish bainaa!!";
}
... |
827304653c12984049df3093eebb5ce8fe490e2c | 155d7dc8ec0f820885ff0c1c94dacde12bbb1d20 | /solved/C++/11984_A Change in Thermal Unit.cpp | 163aec73649158b44cf2ad2fe173ed730e43aa6c | [
"Apache-2.0"
] | permissive | Ahmad-Fahad/UVA | c658edde930c335fb5a9ba8f4db51813bcf15c2f | 5b5154377a0a6e6f41fa3960382944234e57aedc | refs/heads/master | 2021-01-25T13:57:34.130929 | 2020-05-11T06:01:25 | 2020-05-11T06:01:25 | 123,626,477 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 327 | cpp | 11984_A Change in Thermal Unit.cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int testCase = 0, Case = 0;
scanf("%d",&testCase);
while(testCase--) {
double tempC, changeInF, finalTempC;
scanf("%lf %lf", &tempC, &changeInF);
finalTempC = tempC + (5.0/9)*changeInF;
printf("Case %d: %.2lf\n", ++Case, finalTempC);
}
retur... |
5c3042638e6f8a3764d0836db41ba6022c5540d2 | 1d089afd1134bc8c9214b5016f17a0b0569d44b8 | /Firmware/FFBoard/Src/PersistentStorage.cpp | 165fbc173a7aaf115fd2a16e111c6e531f4b1cd1 | [
"MIT"
] | permissive | billydragon/OpenFFBoard | 46b9599cf7bfffbd779e7af526b612dad96c9049 | e0fdc80971d84b711f4cdc235693f45a4bc5a748 | refs/heads/master | 2023-03-12T16:26:32.692278 | 2021-02-03T21:06:18 | 2021-02-03T21:06:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 520 | cpp | PersistentStorage.cpp | /*
* PersistentStorage.cpp
*
* Created on: 26.02.2020
* Author: Yannick
*/
#include "PersistentStorage.h"
#include "global_callbacks.h"
PersistentStorage::PersistentStorage() {
extern std::vector<PersistentStorage*> flashHandlers;
addCallbackHandler(&flashHandlers, this);
}
PersistentStorage::~Persisten... |
1bb175fa78f643fddb7d3a41a184d72945cc04b2 | 16e7752576a3218334e6ed0a4947e02863c2c52a | /modify_global_variable.cpp | 82d2fc61fbb9d158dbc873ea05fd5fac85b2835e | [] | no_license | zanzaney/CPP-Data-Structures | 5aaac9501b3ca3d592555d3a108732fccb481301 | d2fcd2efa7e42b565fdb7965be36af8ddfae5c6d | refs/heads/master | 2023-01-27T16:06:00.695152 | 2020-12-08T15:22:39 | 2020-12-08T15:22:39 | 298,610,428 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 241 | cpp | modify_global_variable.cpp | #include<iostream>
using namespace std;
int x= 670;
int main(){
int x = 60;
cout<<"in local scope x = "<<x<<" and in global scope "<<::x<<endl;
::x=240;
cout<<"in local scope x = "<<x<<" and in global scope "<<::x<<endl;
}
|
923e089cf18a15c4db092308a1c2b29141f36f0d | af7b1239a92ebb6c709be5ed43e7c677909897c7 | /ga-lib/ga-lib/nullmutation.cpp | 50d0a1c517aed1802f2880b9f820aa43784f15b7 | [
"MIT"
] | permissive | terratenff/ga-lib | d0eedef28af40d35b715e61bda87fad3faec2d8b | 393b323e071bd69978d5652f70637b35bcedbdc4 | refs/heads/main | 2023-06-21T20:33:00.509610 | 2021-07-25T16:40:41 | 2021-07-25T16:40:41 | 374,421,844 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 433 | cpp | nullmutation.cpp | #include "pch.h"
#include "nullmutation.h"
#include <iostream>
#include <string>
NullMutation::NullMutation(ProblemData* data, Evaluator* evaluator, unsigned int useWeight):
MutationOperator(data, evaluator, useWeight)
{
}
void NullMutation::run(Solution* offspring, RNG* rng)
{
}
void NullMutation::print()
{
std::... |
51c4a5c84823c71d8bf756a2c3d775de0247c8fb | 47af7da76df378ca8acd890c13f9fa998ad5a50b | /ParamUsageFinder.cpp | 90b16b1f13ba88dad63b2a6c666f8fd34b51be83 | [] | no_license | aktaylor08/clang-pass | 3ed20a0b3ec5f11d9db505397b53bc7f3c9062df | c8ead1d3a10d9f331917eab2f993152af756992b | refs/heads/master | 2021-01-22T03:13:27.565363 | 2015-05-04T18:31:55 | 2015-05-04T18:31:55 | 31,042,849 | 3 | 0 | null | 2015-04-07T23:38:51 | 2015-02-19T23:39:23 | LLVM | UTF-8 | C++ | false | false | 7,629 | cpp | ParamUsageFinder.cpp | #include "llvm/Transforms/RosThresholds/ParamUsageFinder.h"
#include "llvm/InitializePasses.h"
#include "llvm-c/Initialization.h"
#include <iostream>
#include <fstream>
#define DEBUG_TYPE "param_usage_finder"
namespace llvm{
ParamUsageFinder::ParamUsageFinder() : ModulePass(ID){
initializeRosThresholds(*PassReg... |
09686b2268dba7efc853eeaa0f9707dcb210a135 | a638064947d82966b3a5e4057336acc5efc0edb1 | /forwardlist.h | eb656f40a6a41b441c50f01a11601031a71600ef | [] | no_license | AndreyKharkovsky/TermBook | 207a9e018e14186ed40eaeb649fbf4d2fddda657 | 9057c823b732d884a85a4bd8569213f211a2b735 | refs/heads/master | 2020-07-13T22:40:09.811138 | 2019-11-07T17:57:56 | 2019-11-07T17:57:56 | 205,171,017 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,708 | h | forwardlist.h | #ifndef FORWARDLIST_H
#define FORWARDLIST_H
#include <memory>
template <typename T>
class ForwardList {
// typedefs
public:
using value_type = T;
using reference = T &;
using const_reference = const T &;
using pointer = T *;
// Other
public:
ForwardList(): link_{nullptr}, size_{0} {}
ForwardL... |
4a93ef67defbd48f9befe600826bb7130a758394 | 1f73158506abcd2de2541e7f622a6b1013117c4b | /자료구조_Project01/Product.h | e7d30da350cf3bfb6a882d92bb9f27dce0534c6e | [] | no_license | siosio34/Data_Structure | 95d330beee1677c8514afbb5ecfa9f17e86f52d2 | 3a2c3773701899253ceaf8f372a230b0f07d18aa | refs/heads/master | 2021-01-10T03:22:57.325733 | 2016-02-25T07:00:31 | 2016-02-25T07:00:31 | 48,945,697 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 12,901 | h | Product.h | #pragma once
#include <iostream>
#include <string>
#include <string.h>
#include <iomanip>
#include <Windows.h>
#include <stdio.h>
using namespace std;
/**============================================ Product 클래스 ========================================================================
* @author 조영제
* @date 2014/1... |
05ef12002f8bbc5fa5eae0857d184e3d448b62be | e289b0e1b80a7bd890053324eb6e48a2c576988e | /tests/test_PinLink.cpp | 95a233b82028871ec4da30c7358100c0a954ef77 | [
"MIT"
] | permissive | aimbot31/nanotekspices | 5aab70ba7be23dee251a2e7aefc2161fcde5a24a | 975862af8e9442c8dba145616f178503b3518ef7 | refs/heads/master | 2020-04-19T03:27:55.781221 | 2019-02-24T21:25:58 | 2019-02-24T21:25:58 | 167,935,196 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 681 | cpp | test_PinLink.cpp | /*
** EPITECH PROJECT, 2017
** Test_criterion
** File description:
** Test de PinLink
*/
#include <criterion/criterion.h>
#include <criterion/redirect.h>
#include "PinLink.hpp"
#include "Input.hpp"
using namespace nts;
TestSuite(PinLink,
.init = NULL,
.fini = NULL,
.signal = 0,
.exit_code = 0,
.disabled = 0,
.descr... |
c1ad2766f7a6fb68d75f93d3c033064446b5e4ac | bd0c14d0b39968e677c7eaef658594afc9f46ae9 | /src/policy/browser/ctp/tdapi.cc | dbce238fb0c55fc0004c0e2faa11f3a0a84597bd | [] | no_license | alexfordc/p528 | ca701193d4e8e6d0cf0b330d06e1c1ac23d9e481 | 42536561e8e2920c92305ed88aa0b50e7b81c0d0 | refs/heads/master | 2021-05-29T20:13:04.123698 | 2015-06-28T11:25:47 | 2015-06-28T11:25:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 90 | cc | tdapi.cc | // Copyright by wangtianping. All rights reserved.
#include "chrome/browser/ctp/tdapi.h"
|
4a93cf6cac865ed0993d417e395bd3d8f6e07d9c | 1572de76809bb23247b17e63ba923eeb68bbc19d | /src/seedlink/sproc.cc | d30c231b4ebc95ce8c988aa0d8b17aed86edc5a2 | [] | no_license | paride/seiscomp-2.1-phenix | 9edfcd9ce37dca6acbb8855f5414997f80d32497 | 501da5fcaf71d8db7c297c7a15902e63ef1b951b | refs/heads/master | 2021-07-06T07:24:29.972365 | 2017-10-01T18:18:11 | 2017-10-01T18:18:11 | 104,362,155 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 20,049 | cc | sproc.cc | /*****************************************************************************
* sproc.cc
*
* Stream Processor
*
* (c) 2000 Andres Heinloo, GFZ Potsdam
*
* 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 Soft... |
17a6b109ac3fa0b1e1a588b336fc0455f1096d21 | b2bc218b284193c331e8366e93f14f96f250b4ac | /test-array.cpp | 99f1a134453491e098eb8a99b2b383284215a483 | [] | no_license | Buntry/swdev-array-spec | 4841faab5487a6bf81dd7915fc3b09ff2dbc5f5d | 32533e65e7bb00cd4c8129686831f66f9af2db72 | refs/heads/master | 2020-12-21T21:48:24.858376 | 2020-01-29T03:58:39 | 2020-01-29T03:58:39 | 236,573,932 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,539 | cpp | test-array.cpp | #include <stdlib.h>
#include "object.h" // File with the CwC declaration of Object
#include "string.h" // File with the String class
#include "array.h" // File with the two list classes
#include <iostream>
void FAIL() { exit(1); }
void OK(const char* m) {
std::cout << m << std::endl;
}
void t_true(bool... |
d8869f3d719f605389fa1ed7b9d5d0d416418c8d | 1c0ceecf0a50ef95c3ee1412b64e8ebbb992d418 | /FAKEEDGEBOYS/CMoveData.h | 6528d6416d6e634272fb0d4f8235b56c1f90449c | [
"MIT"
] | permissive | younasiqw/parallax-csgo-leak | 0ec03c2b0a27148219fcce34ffb4eab38020b4e7 | 6cce3fe4b1343e3c17434c14c37a7cdd1c150dc0 | refs/heads/master | 2021-04-30T04:46:50.138962 | 2017-10-25T06:40:54 | 2017-10-25T06:40:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,632 | h | CMoveData.h | class CMoveData {
public:
bool m_bFirstRunOfFunctions : 1;
bool m_bGameCodeMovedPlayer : 1;
int m_nPlayerHandle; // edict index on server, client entity handle on client
int m_nImpulseCommand; // Impulse command issued.
Vector m_vecViewAngles; ... |
df9be3749878b11a38dbb8cd9e013c261ac7db14 | a2d4a2fdbe9a9b94d226c7cc49220b960cfffb80 | /leetcode/87_ScrambleString.cpp | 0c813a9fe74ce672b1936284a4b1a51004a43a18 | [] | no_license | maxtang2013/Algorithms | a056d567d157b2605138ffa06632021bf6370d9b | 95b1064de11b4d1190e2695c6d98e729c434f547 | refs/heads/master | 2020-05-22T00:03:41.180869 | 2016-10-08T12:41:33 | 2016-10-08T12:41:33 | 65,724,232 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,452 | cpp | 87_ScrambleString.cpp | #include <iostream>
#include <vector>
#include <bitset>
#include <queue>
#include <map>
using namespace std;
class Solution {
public:
bool isScramble(string s1, string s2) {
int n = (int) s1.size();
bool*** match = new bool**[n+1];
for (int i = 0; i <= n; ++i) {
match[i] =... |
f72ed99c4ea189258ef11f66208bb255f3fdee90 | 2aed63d9aa027419b797e56b508417789a604a8b | /injector2degHex/case_interPhaseChangeFoam_waxman/processor3/0.55/alpha.water | 8f27098cf4388b9bfe2c993dca53b1e767669a8f | [] | no_license | icl-rocketry/injectorCFDModelling | 70137f1c6574240c7202638c3713102a3e1e9fd8 | 96591cf2cf3cd4cbd64536d8ae47ed8080ed9016 | refs/heads/main | 2023-08-25T03:30:59.244137 | 2021-10-09T21:04:45 | 2021-10-09T21:04:45 | 322,369,673 | 3 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 34,174 | water | alpha.water | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2012 |
... |
11aeca1cee3b1eea5bf3edf0b3ef9ef0bb3cee32 | e013471b5943830c98168aebc3b0439dcef8ad31 | /Source/LD48-26/LD48-26/engine.cpp | d7644c249c70a0e44f6020352711866e3b3c1eb6 | [
"MIT"
] | permissive | PhaZ90771/Cave-Runner | 493ec0f5c681e50ba2e220ab62bd62946e465951 | 19d2f8875ab3c1cb7092c8742e8693d7b1709e10 | refs/heads/master | 2021-03-22T00:11:13.226041 | 2018-11-23T23:22:54 | 2018-11-23T23:22:54 | 118,711,657 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,347 | cpp | engine.cpp | #pragma region define
#define _USE_MATH_DEFINES
#pragma endregion
#include "SDL.h"
#include "SDL_image.h"
#include "SDL_ttf.h"
#include "SDL_opengl.h"
#include "freeglut.h"
#include <stdlib.h>
#include <time.h>
#include <math.h>
#include <string>
#include "utilities.h"
#include "level.h"
#include "engine.h"
#include "p... |
2df0d20298fe4ba9f17dec0eb365f937957354da | a5f9c197762cf4339bc279af80caf07a69c3d963 | /MathLib/Matrix3.cpp | aeb193277ac69507044013eed767ca2187b5a4ab | [] | no_license | alexkitching/MathLibrary | af3d6c84281979d432cbc90fa6a3d1a7626c1489 | b34aa54a99ce6464a42a5f44b5e1d6da5cbfecb9 | refs/heads/master | 2021-09-01T12:00:04.457850 | 2017-12-26T21:42:25 | 2017-12-26T21:42:25 | 108,608,560 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,156 | cpp | Matrix3.cpp | ////////////////////////////////////////////////////////////////////
// File: <Matrix3.cpp>
// Author: <Alex Kitching>
// Date Created: <16/02/17>
// Brief: <Source file for the Matrix 3x3 Class.>
////////////////////////////////////////////////////////////////////
#include "Matrix3.h"
#include "Vector2.h"
... |
3032c7f9b475f6bd04a08b62e0e674c3190b22be | 7e0c7486672b94752d0f311d6ec09c1e378c3fdb | /1-1链表/1-1链表/main.cpp | 57de0952d47ef731035e54e44273c4af33a56bf0 | [
"Apache-2.0"
] | permissive | jianlong108/grammar-of-C-plus-plus | 48bba81e5e363a3c2cc8e4546f66e0c380bf61fe | 8eda24baf6bb7c1df9af63287b6c45debf54bc6e | refs/heads/master | 2020-04-08T13:05:28.553501 | 2019-09-15T05:07:09 | 2019-09-15T05:07:09 | 159,374,989 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,541 | cpp | main.cpp | //
// main.cpp
// 1-1链表
//
// Created by Wangjianlong on 2019/2/17.
// Copyright © 2019 JL.Com. All rights reserved.
//
#include <iostream>
#include "SingleLinkList.hpp"
#include "Stack.hpp"
#include "string.hpp"
#include "Tree.hpp"
using namespace std;
int main(int argc, const char * argv[]) {
LinkList... |
58650d46b7df8a25b2a7e0bce87984a589aeca31 | d1398aa7a872f2873cf3c1b5f064cb567ae844f9 | /libraries/http_backend/tests/serve_directory.cc | 7e40af2ed6d1e632a713c4e1f74fd858022b620e | [
"MIT"
] | permissive | iodcpp/iod | 25880f5b01159780b185eba789567042c7776db0 | c2dbb1d28b5d0e98f287a55422db270812125d1e | refs/heads/master | 2020-02-26T15:05:35.205622 | 2019-12-03T17:33:35 | 2019-12-03T17:33:35 | 83,549,866 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 788 | cc | serve_directory.cc | #include <boost/filesystem.hpp>
#include <li/http_client/http_client.hh>
#include <li/http_backend/http_backend.hh>
#include "test.hh"
using namespace li;
int main() {
namespace fs = boost::filesystem;
fs::path root = fs::unique_path();
fs::create_directories(root / "subdir");
{
std::ofstream o((root /... |
2bb8b57f826c37ae3ba54b6dbab03b3b092e989e | cfcbd8e85b532de969e921bc132098d9d237dccc | /src/HF/Breit.hpp | 630e0a6ff7b6e3daaa86dedd011eb3b73e031680 | [] | no_license | hf6391964/ampsci | eb892af7daea947708548cffe72defc342bc944f | 726d60825553c055eb8d266e2f742bbaecc92ac9 | refs/heads/main | 2023-02-13T16:48:45.240984 | 2020-12-11T07:49:05 | 2020-12-11T07:49:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,884 | hpp | Breit.hpp | #pragma once
#include "Wavefunction/DiracSpinor.hpp"
#include <utility>
#include <vector>
namespace HF {
namespace hidden {
struct Breit_Bk_ba; // forward decl
}
//******************************************************************************
//! Breit (Hartree-Fock Breit) interaction potential
class Breit {
public:... |
490ff3ea7787db114f9fa3c7768a481157bc8605 | 1005f450818900b923e345b73d77628f20d1875e | /thirdparty/msgpack-c/include/msgpack/preprocessor/iteration/detail/bounds/upper1.hpp | f1f8091e287066357da435b02cb734780c275d5d | [
"MIT"
] | permissive | qicosmos/rest_rpc | c7ad37547a9dcb616832b32bc110a237977b8c74 | 93088a7e0f0ddb3786de40ed7b6311852644edbf | refs/heads/master | 2023-08-23T06:56:42.464323 | 2023-07-04T02:57:13 | 2023-07-04T02:57:13 | 162,215,656 | 1,504 | 354 | MIT | 2023-07-05T03:37:24 | 2018-12-18T02:01:52 | C++ | UTF-8 | C++ | false | false | 4,301 | hpp | upper1.hpp | # /* **************************************************************************
# * *
# * (C) Copyright Paul Mensonides 2002.
# * Distributed under the Boost Software License, Version 1.0. (See
# * accompanying file LICENSE_1_0.txt... |
9b5115e60e19acb6009614ad447f4bbb8aa5c914 | 8fb6c4dd7a60ac559ae8155f053a5c289fdd3718 | /6-Polymorphism/2-8-VirtualTablePointer/main.cpp | 118b01938cf214d2da247cb8f436184f09abcfb8 | [
"Apache-2.0"
] | permissive | marklove5102/CPlusPlusCode | e83ed02a78a899253356701d9c151ed6e5696424 | 61403af90c7c73faec1959d9d63238b8bfddaf87 | refs/heads/master | 2022-01-20T17:10:42.985193 | 2018-07-27T18:14:08 | 2018-07-27T18:14:08 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 375 | cpp | main.cpp | #include <iostream>
#include "Circle.h"
#include <stdlib.h>
using namespace std;
int main()
{
Shape shape;
int *p = (int *)&shape;
cout << (unsigned int)(*p) << endl;
// 虚函数表地址
Circle circle(100);
int *q = (int *)&circle;
q++;
cout << (unsigned int)(*q) << endl;
// 打印出的还是虚函数表地址
system("paus... |
690e9eb1363267710c80a5d0643671eea56482c6 | 9b1639af63f7fc82f0e488b452dee0cb7ae22a3b | /atomic/retail/SOURCE/LOADMGR/SRC/LOADMGMT.CPP | ff97907db2dbb80d224cc49fe9a269eaa3224e0a | [] | no_license | ExpLife/Norton_AntiVirus_SourceCode | af7cd446efb2f3a10bba04db8e7438092c7299c0 | b90225233fa7930d2ef7922080ed975b7abfae8c | refs/heads/master | 2017-12-19T09:15:25.150463 | 2016-10-03T02:33:34 | 2016-10-03T02:33:34 | 76,859,815 | 2 | 4 | null | 2016-12-19T12:21:02 | 2016-12-19T12:21:01 | null | UTF-8 | C++ | false | false | 17,104 | cpp | LOADMGMT.CPP | // Copyright 1996 Symantec Corporation
//**********************************************************************
//
// $Header: S:/LOADMGR/VCS/loadmgmt.cpv 1.1 18 Apr 1997 13:54:28 DSACKIN $
//
// Description: Server load management routines
//
//**********************************************************... |
266029a38e3a33306627f5f0366518a095052fad | 3717a5a904fb09cb06c6997e7514b1ce250c02f4 | /YoutubeCPlusPlus/YoutubeCPlusPlus/Form1.h | 9d51ddf8d3108e20507fa5bbcb2dcfdb905c7646 | [] | no_license | alexarwady/RSA | a726e98331d0aacad540eacf2bd4dbb75869f8b8 | 7e39cddd6d66acc6b9227a7daa33ef884d625cab | refs/heads/master | 2020-08-27T11:32:50.498307 | 2019-10-24T17:17:32 | 2019-10-24T17:17:32 | 217,352,058 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27,087 | h | Form1.h | #pragma once
#include<cmath>
#include <string>
#include "bigint-2010.04.30\BigIntegerLibrary.hh" //include the BigInteger Library
#include <fstream>
#include <cstdlib>
using namespace System;
using namespace System::ComponentModel;
using namespace System::Collections;
using namespace System::Windows::Forms... |
19a4e89ddbebaa3913a2715eaf3fb1362d052c08 | 70e4b24188ffff5ecafcd24bf30a48a3110e6a9a | /FurSim/Vertex.cpp | 1921572a14dd2681e0a9378f0257971455b729d8 | [] | no_license | PeterZhouSZ/FurSim | da28096b5ff4545566ae44a8fc0bdd75283d59d5 | c7c81cb64d91712d34842af7e980bf94c60585a2 | refs/heads/master | 2023-03-06T14:17:05.190748 | 2021-02-16T04:52:42 | 2021-02-16T04:52:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 156 | cpp | Vertex.cpp |
#include "Vertex.h"
float Vertex::L0;
Vertex::Vertex(vec3 pos, float m) : Position(pos), tmp_Position(pos)
{
if (m < 0.001)
m = 0.001;
Mass = m;
}
|
dd35e9bc98edcb5c1f67fad431e42fd3844b95f5 | d97a9c2b090f449026ca33cbc444f108b630c882 | /src/xml_process.hpp | cbb84e4dcbfba2504b628199b12144f1687e5b3b | [
"MIT"
] | permissive | Dorosoft/MALT | 956fcdc27bc096a30fb0f6cc1b7268fd0d7acb9f | c2fb4ff29612666df29c7a80034ceb21e432ea12 | refs/heads/master | 2021-01-15T19:17:54.874216 | 2017-08-10T10:37:46 | 2017-08-10T10:37:46 | 99,818,189 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 406 | hpp | xml_process.hpp | #ifndef __XML_PROCESS_HPP
#define __XML_PROCESS_HPP
#include <iostream>
#include <string>
#include <map>
#include "anime.hpp"
#include "date.hpp"
#include "pugixml.hpp"
void load_xml_alist(std::string* s_anime_list, std::map<long int, Anime>& alist);
void load_xml_search(std::string* s_anime_list, std::map<long int, ... |
f942b31fbd6535d49f9c115ae990e95972916bcb | 04f6684a55dc8bdab82b9524fa0982894407ce6d | /fields.h | 52c3b8a0de26e5128dacc8d7241c8c6d28e0ceab | [] | no_license | asulecki/JNP6 | 668df29aa430b6d61d77b1b367b2d0c7431925db | 5f403b4fc104603aa18f23447d1bb88cc5518f97 | refs/heads/master | 2021-01-22T15:42:35.347623 | 2014-01-24T00:05:50 | 2014-01-24T00:05:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,064 | h | fields.h | #ifndef _FIELDS_H
#define _FIELDS_H
#include <string>
#include <memory>
using std::shared_ptr;
class Player;
class Board;
class Field
{
public:
Field(const std::string &&name);
virtual void action(shared_ptr<Player> p) = 0;
virtual void pass(shared_ptr<Player> p) = 0;
const std::string getName();
protected:
co... |
9166697f0623e21ff1499419ff23696f78e55d9a | 5d309f75555c9fa49cd1bb0f953c6ee73d711fe6 | /garnet/bin/ui/view_manager/view_registry.h | c7366147760aff6b67e0b93810d00a32690c688d | [
"BSD-3-Clause"
] | permissive | the-locksmith/fuchsia | d2d0b7d6e011a1468cb299441494be2c9c5cae0a | 2620709744ff49fe289169a8af63f8499239333b | refs/heads/master | 2021-10-21T10:55:16.114376 | 2019-02-28T22:37:39 | 2019-03-04T00:05:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,154 | h | view_registry.h | // Copyright 2015 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef GARNET_BIN_UI_VIEW_MANAGER_VIEW_REGISTRY_H_
#define GARNET_BIN_UI_VIEW_MANAGER_VIEW_REGISTRY_H_
#include <list>
#include <string>
#include <unorde... |
20f27d0dc05e413dda92314753603e0446201500 | 65ea2704c2b50105138384b4beaaf66a5dc1d3fc | /1/Task01/main.cpp | 06c9c2976cc7f0b5c49857a4f3bc0577fdb57502 | [] | no_license | ogulyukin/HWSys211101 | 4c3f9ed2b936e4cb78b1c35bebbc6be39c760b8a | c09131db7ad741b2dbad791f35053257a6275da7 | refs/heads/master | 2023-08-21T05:31:50.009198 | 2021-11-01T11:40:34 | 2021-11-01T11:40:34 | 423,443,014 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,005 | cpp | main.cpp | #include <QCoreApplication>
#include "manager.h"
int main(int argc, char *argv[])
{
QCoreApplication a(argc, argv);
Manager manager;
QTextStream cin(stdin);
qInfo() << "Run mode: wait for command";
qInfo() << "Type START to begin";
qInfo() << "Type QUIT to quit";
qInfo(... |
16819a6bcaa2d759f060748b85991e1412d9b093 | f732dcfbc8746a9f8b09b131e4f60cd8df11fb09 | /OutputParser/main.cpp | 3a920f3417ae7ea4d2ccd3de6dad02c2497d5c35 | [
"MIT"
] | permissive | VadimRomansky/PICpp | 5359995fa42c1b3024a05f1ab81da82a2892de77 | 33eb8581533cb52ab1a72a0308f281899eef8e3f | refs/heads/master | 2023-08-22T05:40:36.598222 | 2023-07-31T16:24:39 | 2023-07-31T16:24:39 | 55,867,418 | 5 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 21,744 | cpp | main.cpp | #include <stdio.h>
#include <math.h>
#include <string>
void
outputEfield(int timePointsCount, FILE *XFile, FILE *YFile, FILE *ZFile, int Nx, int Ny, int Nz,
FILE *EFile, FILE *fluxFile, FILE *gleEFileX, FILE *gleEFileY,
FILE *gleEFileZ, FILE *gleFluxFileX, FILE *gleFluxFileY, FILE *gleFluxFil... |
c25329130c733fe4667bbbb6d82547be8c8260fe | ba8e87b98e591e02c4a94434315271947d57fdcd | /baekjoon_study_wook/구현/16236_dw.cpp | 6aa9eb182ad2ee50e8a60f650a513242709e8f57 | [] | no_license | ji-one/algorithm-study | f0e66af8748a2772796b18574586e45ff66d4db8 | 8931faa7a2893c19c150c61dedf0ea3c88965b69 | refs/heads/main | 2023-08-02T12:26:33.667856 | 2021-08-23T07:42:55 | 2021-08-23T07:42:55 | 326,375,577 | 2 | 1 | null | 2021-08-23T07:42:55 | 2021-01-03T10:00:37 | C++ | UTF-8 | C++ | false | false | 3,119 | cpp | 16236_dw.cpp | // 16236 아기상어
#include <iostream>
#include <queue>
#include <vector>
#include <cstring>
using namespace std;
int n,m;
int level=2;
int map[21][21];
int visit[21][21];
int dx[] = {-1,0,0,1};
int dy[] = {0,-1,1,0};
int a, b;
bool isInside(int x, int y){
return x>=0 && x<n && y>=0 &&y<n;
}
int bfs(int x, int y){
... |
dd7e86b82b003aead65e3de7203f18dad116fa5a | a86078d2510ab5372f7e969e2c44a016024f5a43 | /hp/main.cc | 3913c63534ea5a83fc57fbe70272a26140fdb1c2 | [] | no_license | peterrum/dealii-tet-application | 2159826bcca27f1864b8b1c891ce529a71449bc6 | 66cf298714ef8259ede14121e4d8a3b7a4029b03 | refs/heads/master | 2022-11-15T23:21:47.888101 | 2020-07-15T13:39:46 | 2020-07-15T13:39:46 | 256,489,891 | 0 | 0 | null | 2020-07-05T05:53:11 | 2020-04-17T11:56:27 | C++ | UTF-8 | C++ | false | false | 4,913 | cc | main.cc | /* ---------------------------------------------------------------------
*
* Copyright (C) 1999 - 2016 by the deal.II authors
*
* This file is part of the deal.II library.
*
* The deal.II library is free software; you can use it, redistribute
* it, and/or modify it under the terms of the GNU Lesser General
* Pu... |
5bb9fc5558b087d24a8738822f1176304fd5f8cd | cb3b23ce33c47a37563f7c53359f2cb7cda786c0 | /GameEngine/IConnectClient.h | ed37551a34678d8a73766a96445f1d9d20301549 | [] | no_license | SixShoot/MMO-Framework | 9712e01b77c91e9d2673ef103175c76fc83a0a65 | 0878735517b02e06bb1f194f45c84ab5b9a8e626 | refs/heads/master | 2021-05-27T15:09:35.592838 | 2014-08-13T17:20:55 | 2014-08-13T17:20:55 | null | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 334 | h | IConnectClient.h | /*
Author: Gudakov Ramil Sergeevich a.k.a. Gauss
Гудаков Рамиль Сергеевич
Contacts: [ramil2085@mail.ru, ramil2085@gmail.com]
See for more information License.h.
*/
#ifndef IConnectClientH
#define IConnectClientH
class IConnectClient
{
public:
IConnectClient(){};
virtual ~IConnectClient() = 0;
};
#endif |
9b63f60569cf44b527dadc1035a5e60133724b4b | 421a5ab08dbedfcaf81e6d89df376ad86329154b | /yhy2/EX6-1/EX6-1/Form1.h | 807ffd7e32364d0864ed81000d2b096316788808 | [] | no_license | yhybulider/vc-demo | b38f0d68a8316e69fc76a5217b7ae1b0840e1e2d | 8b699fbd3ca478c0ce54a19932b66422158dc241 | refs/heads/master | 2020-07-07T10:46:07.986750 | 2019-12-10T07:14:40 | 2019-12-10T07:14:40 | 203,325,187 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 8,035 | h | Form1.h | #pragma once
#include "LoginForm.h"
namespace EX61 {
using namespace System;
using namespace System::ComponentModel;
using namespace System::Collections;
using namespace System::Windows::Forms;
using namespace System::Data;
using namespace System::Drawing;
/// <summary>
/// Form1 摘要
/// </summary>
public re... |
0b77001a453cb266e04e7ad18f06910de5f79c22 | 5130d9033f157a1612f287e6935f0ba7fdfd353f | /src/Modules/Strategy/Roles/DefenderRole.cpp | 82f824ac15926a856c2cdcedcfd168c5a6f055ff | [
"MIT"
] | permissive | AlexanderSilvaB/Mari | 5c75470760afd0729420541bb318837193f0bbb5 | 0a660d39ad9d987d449c7fc9b1fb6d1cec631cb6 | refs/heads/master | 2021-07-10T07:43:10.799212 | 2019-01-25T00:54:26 | 2019-01-25T00:54:26 | 145,122,528 | 3 | 9 | MIT | 2020-06-20T16:20:48 | 2018-08-17T13:16:02 | C++ | UTF-8 | C++ | false | false | 4,954 | cpp | DefenderRole.cpp | #include "DefenderRole.h"
#include "Core/Utils/Math.h"
#include "Core/Utils/RelativeCoord.h"
#include "Core/Utils/RobotDefs.h"
#include "Core/Utils/CartesianCoord.h"
DefenderRole::DefenderRole(SpellBook *spellBook) : Role(spellBook)
{
onBall = false;
onPosition = false;
contPerdido = 0;
scanPitch = 0;... |
0d4c497e9b24e3359c6ab705b7555604b309585f | 6780de392f3c741e48345c65d524046dc3da02c0 | /Pip-Boy 3000/Pip-Boy 3000/Pip-Boy 3000View.h | 9e280f9b60d189c93715efd241f6ba7ea42e1f8a | [] | no_license | Thudcrackers/school | d29f04b8a78d2aca935483cabc07922841d769ec | 4644583b92e3d0114ebde0655133ded67009151e | refs/heads/master | 2021-01-10T15:22:47.005938 | 2018-01-23T19:19:38 | 2018-01-23T19:19:38 | 53,738,027 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,053 | h | Pip-Boy 3000View.h |
// Pip-Boy 3000View.h : interface of the CPipBoy3000View class
//
#pragma once
#include "afxwin.h"
#include "image_weapons.h"
class CPipBoy3000Set;
class CPipBoy3000View : public CRecordView
{
protected: // create from serialization only
CPipBoy3000View();
DECLARE_DYNCREATE(CPipBoy3000View)
publi... |
02d25567af5c886659b94e399242b21e51e7cd39 | 47ab511d1e5f2418745f6319b7584221e578a705 | /LamndaEx/address_book.h | 50435578790cabdedc17cbb9859ab17c888bc106 | [] | no_license | sdaingade/cpplabs | f460936a6e2e4d68e13a9745b6edaae9aa75ba83 | fa6e644c1f83cbd73d4d6494a1d07f942915b62f | refs/heads/master | 2021-05-29T23:53:37.281887 | 2015-10-04T16:14:06 | 2015-10-04T16:14:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,414 | h | address_book.h | #ifndef ADDRESS_BOOK_H
#define ADDRESS_BOOK_H
/**************************************************************
*
* File: address_book.h
*
* Description: Declaraiton of the address book
*
* Author: SciSpike
*
* Modification History:
*
***************************************************************/
/* Includ... |
79b43456b46ffe8470d147df5e1497e775a00ea8 | a6e0e2de1c86964f5f9c0f9765d8d9a1b3da548b | /alg/teca_time_axis_convolution.h | 44a1b2798d27a3dbfaa2666cb38fb3c5a615fce2 | [
"BSD-3-Clause-LBNL"
] | permissive | LBL-EESA/TECA | 056b1b7859d87f8c55d2267f90c78c548826b931 | c78d39b05623fb33cc5487e038a6441ce8a44c55 | refs/heads/develop | 2023-08-31T13:44:45.918534 | 2023-07-25T15:13:03 | 2023-07-25T15:13:03 | 48,189,266 | 52 | 21 | NOASSERTION | 2023-09-11T23:51:12 | 2015-12-17T17:46:48 | C++ | UTF-8 | C++ | false | false | 5,773 | h | teca_time_axis_convolution.h | #ifndef teca_time_axis_convolution_h
#define teca_time_axis_convolution_h
#include "teca_config.h"
#include "teca_shared_object.h"
#include "teca_algorithm.h"
#include "teca_metadata.h"
#include <string>
#include <vector>
TECA_SHARED_OBJECT_FORWARD_DECL(teca_time_axis_convolution)
/// An algorithm that applies a co... |
2f655d7908435484b07136a504bad2d0910eb86d | cec628def1aad94ccbefa814d2a0dbd51588e9bd | /cnd.completion/test/unit/data/org/netbeans/modules/cnd/completion/cplusplus/hyperlink/LibrariesContentHyperlinkTestCase/src/bug257028.cpp | 41bd3598e7a6b17af7c3518f343f9e6785127d65 | [] | no_license | emilianbold/netbeans-releases | ad6e6e52a896212cb628d4522a4f8ae685d84d90 | 2fd6dc84c187e3c79a959b3ddb4da1a9703659c7 | refs/heads/master | 2021-01-12T04:58:24.877580 | 2017-10-17T14:38:27 | 2017-10-17T14:38:27 | 78,269,363 | 30 | 15 | null | 2020-10-13T08:36:08 | 2017-01-07T09:07:28 | null | UTF-8 | C++ | false | false | 184 | cpp | bug257028.cpp | #include <bug257028_1.h>
#include <bug257028_2.h>
namespace bug257028 {
using namespace outer257028;
void foo257028() {
BBB257028 b;
b.boo().foo();
}
}
|
f90fd323171e170f241c0bc07cbc47e0b0c8af03 | 3029f2e472efc8435684da2d281a5197a6b08d1d | /Provas/MedianaDC.cpp | 0f40d413b47ab282cce8e211833806b082c54a21 | [] | no_license | NoemiHonorato10/PAA | be8c684ba5eb29bc4dbd7232018222c91beca25c | 452098fcac9dfea5811d2f7aa88b4ccdbb6375e2 | refs/heads/main | 2023-06-16T19:48:28.569447 | 2021-07-13T14:50:38 | 2021-07-13T14:50:38 | 351,642,441 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 803 | cpp | MedianaDC.cpp | //Algoritmo da Mediana Diminuir e Conquista
//Teorema Mestre T(n)= aT(n/b)+f(n)
//Relação de recorrência: T(n) = 2T(n/2)+1 T(1)=0
#include <bits/stdc++.h>
float mediana(std::vector<int> &vetor, int inicio, int fim)
{
if (fim - inicio == 1) // condição para achar o valor se for Par
{
return (float)(vet... |
950ce7ff97cc60379cabe804f76c773d7b3f6c9b | e7b0d46cfd4241481f6a287867a4107b35210da8 | /leetcode/104_Maximum_Depth_Of_Binary_Tree.cpp | 77e4157f17f41e19aae54168f369d2c4b4e5e49b | [] | no_license | wuxun-zhang/algorithms_learning | 751eacb0cbbfff971569de74bf88929faf0e1422 | 7c9a9ea3a0a3b9733bdecb888c5514069e09e1a0 | refs/heads/master | 2021-06-08T18:43:39.564527 | 2021-03-28T11:10:22 | 2021-03-28T11:10:22 | 136,330,554 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 711 | cpp | 104_Maximum_Depth_Of_Binary_Tree.cpp | #include<iostream>
using namespace std;
// Definition for a binary tree node.
struct TreeNode {
int val;
TreeNode *left;
TreeNode *right;
TreeNode(int x) : val(x), left(NULL), right(NULL) {}
};
class Solution {
public:
// recursive
// traverse from leaf node to root node
int maxDep... |
c18b8c7cdc19aa460aa230a6e408c98393ddef00 | 195a571584cc387360b75c172a75eeba687838cb | /src/board/Widget.h | e4e4f4ca578dff11b4be77151276e8041b9f2943 | [] | no_license | coffeecup-winner/taptain | 6c51e13e5c47f0006aa2328e995e09419a4b944f | d8e4f6f12c24b8628fb853a07f452e671b4ac1e0 | refs/heads/main | 2023-03-28T05:00:57.971051 | 2021-03-20T21:54:18 | 2021-03-20T21:54:18 | 346,132,929 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,632 | h | Widget.h | #pragma once
#include <LCDWIKI_KBV.h>
#include <stdint.h>
#include "Message.h"
class Widget {
static constexpr uint16_t MAX_TEXT_LEN = 21;
uint16_t m_x;
uint16_t m_y;
uint8_t m_width;
uint8_t m_height;
char m_name[MAX_TEXT_LEN];
uint8_t m_prevPercentProgress;
uint8_... |
7d2c6f51572ccad2df5612c382938e93b84931fa | ca864a873611d482beb8eb4a1cc439153797622d | /source/CInfoDlg.h | 8b01ebab1a9636b799b97fd3372cf4b2eff4ea69 | [] | no_license | wtrsltnk/PSPManager | 597c3e92476030ed638f1403f1c8f93d5f777d26 | f6ccb9b7b9cc25a04b8896e9b449ff3fe55f3996 | refs/heads/master | 2021-08-18T21:01:03.112116 | 2017-11-23T20:08:38 | 2017-11-23T20:08:38 | 111,845,594 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 306 | h | CInfoDlg.h | #ifndef CINFODLG_H
#define CINFODLG_H
#include <windows.h>
#include "..\Resource\resource.h"
#include <strstream>
class CInfoDlg
{
private:
HWND m_hWnd;
HINSTANCE m_hInstance;
public:
CInfoDlg(HINSTANCE, HWND);
~CInfoDlg();
void Show();
static BOOL DlgProc(HWND, UINT, WPARAM, LPARAM);
};
#endif
|
2c2d3d64c261b55b4c7c6a7169b46d59209100ed | 87181f6f4fad14ca81385e9a1489f5a9410b3cdb | /Colosseum.cpp | 452838ebd36d5cd1a5184aade154ba3b30b07a4a | [] | no_license | Saharco/Colosseum1 | c641f39c3212809b1662b06cf811bd6149a0dbc6 | 942110268131cd98a76efd6c211f81e4f7c9fb7f | refs/heads/master | 2020-05-20T13:15:03.911136 | 2019-05-08T11:33:28 | 2019-05-08T11:33:28 | 185,593,229 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,291 | cpp | Colosseum.cpp | //
// Created by sahar on 03/12/2017.
//
#include <cstdlib>
#include "Colosseum.h"
#include "Exceptions.h"
class updateLevelsTrainers : public Procedure<Trainer*>{
public:
virtual void operator()(Trainer* val) {
val->getSquad()->updateMax();
}
};
/*
* Classic Merge: merges two sorted arrays into a thir... |
8aaa6d0e3ac815ad08db5a8ff5ebb22851ad56e4 | bc1e0e56cd6cc337d4d60a1040d87c8634e4f99e | /src/map/sector-spatial-utils.hpp | ee1321a0b5310282e529eddbb96b8c3fd34d344b | [] | no_license | spacekitcat/isometric-sdl-demo | dfbda7e1806417fa7c85d030ca62939b9eaf4b10 | a1e3aefb0f6dd145e4804319660bdef73a4bfc98 | refs/heads/main | 2023-08-13T22:35:41.421884 | 2021-10-09T16:41:16 | 2021-10-09T16:41:16 | 380,589,963 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 528 | hpp | sector-spatial-utils.hpp | #pragma once
#include <boost/format.hpp>
#include <iostream>
#include <list>
class SectorSpatialUtils {
private:
public:
SectorSpatialUtils();
~SectorSpatialUtils();
std::string fromIntegerPairToKey(std::pair<int, int> integerPair);
std::pair<int, int> fromKeyToIntegerPair(std::string key);
std::list<std:... |
859974a2d6635c64e9269f12b3ad2b548b00371d | 6b427f20bdf695b426257630e57d23a671458b0c | /DynamicMemoryC/DynamicMemoryC/Source.cpp | a07b5d78c7d051c58bbdfa0513de9b59ca1d65af | [] | no_license | Maxai2/DynamicMemoryC | a640836d4c541b7891cecadb65a2ae2953845dec | 49a336df40000fdd78c77d88adc0eec887e67893 | refs/heads/master | 2021-01-23T01:17:43.861972 | 2017-05-30T19:26:39 | 2017-05-30T19:26:39 | 92,863,727 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,583 | cpp | Source.cpp | //#include <iostream>
//#include <windows.h>
//#include <math.h>
//#include <conio.h>
//#include "Functions.h"
//
//using namespace std;
//
//HANDLE w = GetStdHandle(STD_OUTPUT_HANDLE);
//
//
//int main()
//{
/*1. Написать функцию, которая получает указатель на мас-
сив и его размер, и возвращает сумму и произведени... |
9457bc712fdd29f3562cb298eb7bff961c15da64 | c042e48fb15f9f9950dfeb7fbb9c0137d7f8cc16 | /Chef and the Wildcard Matching.cpp | 954be6cba6ff4937aeb5b82927cc89fae30354ef | [] | no_license | Nirvan-hash/CodeChef | 6eb6a0519d05683ec11691116ce654454150ef8d | 69ec7e5fce9c4f28082625e5190f75c9ff1b072d | refs/heads/master | 2023-06-25T19:58:52.440806 | 2021-08-01T05:07:35 | 2021-08-01T05:07:35 | 300,167,011 | 0 | 0 | null | 2020-10-01T06:12:26 | 2020-10-01T06:12:25 | null | UTF-8 | C++ | false | false | 479 | cpp | Chef and the Wildcard Matching.cpp | //CodeChef
//Beginner Practice Problem
//Chef and the Wildcard Matching [TWOSTR]
#include <bits/stdc++.h>
using namespace std;
int main()
{
unsigned long long t=0;
cin>>t;
while(t--)
{
string a="",b="";
cin>>a>>b;
bool tf=true;
for(unsigned long long i=0;i<a.length();i++)
... |
6841c3c38c6791522d3061fd514b4d7347e51419 | 7292df51527fdba64e1fde826290608c846ddd8f | /codeforces/Minimizing the String.cpp | 9839a1cd912378480ef02a15a2619ea8793cec0a | [] | no_license | SatyamJindal/Competitive-Programming | 568efc7da4291f38724bb051d2af2d8f7de62e3a | 066a2085cb674078a09267f761ddccc5ce910020 | refs/heads/master | 2021-06-28T06:47:08.709886 | 2019-06-09T19:20:36 | 2019-06-09T19:20:36 | 107,176,715 | 7 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 267 | cpp | Minimizing the String.cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
ios_base::sync_with_stdio(false);
int n;
string s;
cin>>n>>s;
int pos = n-1;
for(int i=0;i<n-1;i++)
{
if(s[i]>s[i+1])
{
pos=i;
break;
}
}
cout<<s.substr(0,pos) + s.substr(pos+1)<<"\n";
}
|
aadb43f472ee7d72c48134fe8aa1939e05c08a28 | c5843992e233b92e90b53bd8a90a9e68bfc1f6d6 | /code/synthesis/ImagerObjects2/SynthesisImager.cc | 82abb8a03d8d2196a48818fd8a206b20805e9ff9 | [] | no_license | pkgw/casa | 17662807d3f9b5c6b57bf3e36de3b804e202c8d3 | 0f676fa7b080a9815a0b57567fd4e16cfb69782d | refs/heads/master | 2021-09-25T18:06:54.510905 | 2017-08-16T21:53:54 | 2017-08-16T21:53:54 | 100,752,745 | 2 | 1 | null | 2020-02-24T18:50:59 | 2017-08-18T21:51:10 | C++ | UTF-8 | C++ | false | false | 49,673 | cc | SynthesisImager.cc | //# SynthesisImager.cc: Implementation of Imager.h
//# Copyright (C) 1997-2008
//# Associated Universities, Inc. Washington DC, USA.
//#
//# 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; eit... |
840c5fe5e7fdee5953058fe4584fc9d1520819b4 | 5808a088f926ac899dc493f7031cdd66c794a97d | /src/ui/StatusOverlay.cpp | e3cb9929f83fb249acedb22aecc3069ace590164 | [] | no_license | ViteFalcon/ecstest | 5070f5c748dd4efe58ec7c5a737a1336941cd3b3 | 23faafbb46945848d0768d765f7b4d741bba2792 | refs/heads/master | 2020-04-19T02:53:42.379355 | 2019-02-02T21:42:39 | 2019-02-02T21:42:39 | 167,917,956 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,628 | cpp | StatusOverlay.cpp | /*
------------------------------------------------------------------------------------------------------------------------
Copyright 2019 Vite Falcon
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 Softwa... |
e02eb2bf8eebe11c56e446befbebe10231b51fef | 746f18b2ddcabfa296c368119a3682e8a196891f | /BattleTank/Source/BattleTank/Public/TankAimingComponent.h | f95bafe7a157121979fabe156b22dca54c326609 | [] | no_license | JeffersonH44/BattleTank | e9b32f763d84b19efcdff1b24feccf67432774c5 | 530eab8c19478910a4fda83f82bb1c36185457bf | refs/heads/master | 2020-03-25T15:37:36.787251 | 2018-09-04T14:41:18 | 2018-09-04T14:41:18 | 143,893,125 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,897 | h | TankAimingComponent.h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Components/ActorComponent.h"
#include "Runtime/Engine/Classes/Kismet/GameplayStatics.h"
#include "Components/StaticMeshComponent.h"
#include "TankAimingComponent.generated.h"
/// Forward dec... |
10929261123b6cfafe3ae4f9eb654cdab2524dda | 6c53668c25fe0019a682e370e3596ba659f6d5af | /src/MainApp.cpp | f9f762c9cb2837aa98806f0a28da4537cc5b08fb | [
"MIT"
] | permissive | wieslawsoltes/BatchEncoderWx | 3b3a8291a93797d292aced7ca3dae2872b1a52c1 | 9249836506a5babfce6964e642971c2cfc944386 | refs/heads/master | 2021-07-19T05:16:18.189451 | 2021-07-18T16:00:25 | 2021-07-18T16:00:25 | 126,606,266 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,947 | cpp | MainApp.cpp | #include "targetver.h"
#include <wx/wxprec.h>
#ifndef WX_PRECOMP
#include <wx/wx.h>
#endif
#include <wx/fileconf.h>
#include <wx/stdpaths.h>
#include "MainApp.h"
#include "Headers.h"
#include "ui/UIMainFrame.h"
wxIMPLEMENT_APP(MainApp);
bool MainApp::OnInit()
{
this->m_Config.FileSystem = std::make_unique<wor... |
cd9386a6ab04b11f69ae69603b61f6700f6394ad | 719ca866888053c63c4f76207f3792b0a46b5c8a | /Libraries/VortexAnimatSim/VsLinearHillStretchReceptor.cpp | 2bcff2b84a2ce43c68b79bfc463f0e08800488e1 | [] | no_license | silicondosa/AnimatLabPublicSource | 08e71f28c221881bf8527bb95df8cf530c455ca0 | c5b23f8898513582afb7891eb994a7bd40a89f08 | refs/heads/master | 2023-03-20T02:16:00.390767 | 2016-10-04T18:17:59 | 2016-10-04T18:17:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,016 | cpp | VsLinearHillStretchReceptor.cpp | // VsLinearHillStretchReceptor.cpp: implementation of the VsLinearHillStretchReceptor class.
//
//////////////////////////////////////////////////////////////////////
#include "StdAfx.h"
#include "VsMovableItem.h"
#include "VsBody.h"
#include "VsJoint.h"
#include "VsMotorizedJoint.h"
#include "VsRigidBody.h"
... |
ba3db7e5e1212d05127d36d7c38a086187cf1908 | 5ca5e4544c43aa018f3456eb32d88f5f344e2156 | /qpfav/swarmedit.cpp | f984b50b3ba57f7202ccde6a116556807b4fb5e0 | [] | no_license | jc-gonzalez/qpfav | 10124a696419e7aaff6ae2f482a09bb3c4baeb25 | e55992d61724aa3c2455f61c603643fc65ff9577 | refs/heads/master | 2020-04-02T18:04:30.509591 | 2019-02-13T14:23:47 | 2019-02-13T14:23:47 | 154,685,786 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,481 | cpp | swarmedit.cpp | /******************************************************************************
* File: swarmedit.cpp
* Implementation of class SwarmEdit
*
* Domain: QPF.qpfgui.swarmedit
*
* Version: 2.0
*
* Date: 2016-11-03
*
* Author: J C Gonzalez
*
* Copyright (C) 2015-2018 Euclid SOC Team @ ESAC
*__... |
9655233a3b49ef606343697c510725725b59f8cf | cfc3cbda5d6146e8d9b46644fad2a839ca08580d | /Assignment3/SmartStack.h | 44123e6469792e90a96913e8934b40b7f0857c46 | [
"MIT"
] | permissive | joonhyukchoi/myc-pocu | bbdd804167f3883ceb0aa7bb818e104473aec467 | c191850e4042c17e6c238da1a3eab903d0315aa6 | refs/heads/master | 2022-09-09T23:41:56.318878 | 2019-12-01T21:04:12 | 2019-12-01T21:04:12 | 207,085,939 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,886 | h | SmartStack.h | #pragma once
#include <stack>
#include <limits>
#include <cmath>
namespace assignment3
{
template<typename T>
class SmartStack
{
public:
SmartStack();
void Push(T num);
T Pop();
T Peek() const;
T GetMax() const;
T GetMin() const;
double GetAverage() const;
T GetSum() const;
double GetVariance() c... |
e124718aa36c64ff44724fca2b738f714782b49b | 65458ed8ca5423c5b0eabf6b88685259c7f80fda | /hw5/src/util/bst.h | e7778c0e7dc3ae32f73cc5ccbf06f4f77464939a | [] | no_license | dexterkan/2016-Fall-DSnp | ffb9c214a017af6d55643e2efba4c5fdbd27b9b1 | 77d465f2149474962b7f1045873fb6f5870a92fc | refs/heads/master | 2020-07-23T21:39:24.310790 | 2017-06-15T11:16:09 | 2017-06-15T11:16:09 | 94,360,242 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,877 | h | bst.h | /****************************************************************************
FileName [ bst.h ]
PackageName [ util ]
Synopsis [ Define binary search tree package ]
Author [ Chung-Yang (Ric) Huang ]
Copyright [ Copyleft(c) 2005-present LaDs(III), GIEE, NTU, Taiwan ]
*************************... |
df69982fa53bcce3dc31e3cf95d1e37402e37fcd | 05692d2cd7590ce786eba8f0ab5fbc3a8a8b887f | /Source/DevSys/task_.h | 1295db748f5cd6aed9a2a6e073f24117894e7d45 | [] | no_license | fpawel/AnkatMICROSeviceApp | e639d1f0c9ed5cfc4a260fdde2a1e3d3e6978d01 | 24ec2a69630548a1dd03d47ac1d0a27d3997e498 | refs/heads/master | 2021-06-15T22:32:37.323634 | 2017-04-28T12:16:29 | 2017-04-28T12:16:29 | 72,271,890 | 1 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 2,170 | h | task_.h | //------------------------------------------------------------------------------
#ifndef task_H
#define task_H
//------------------------------------------------------------------------------
//std
#include <deque>
//my
#include "MyAbstructTransfer.hpp"
#include "MyExcpt.hpp"
//----------------------------------------... |
e25611d2296754e965755fe9ee218b9b55c2938a | 7cce0635a50e8d2db92b7b1bf4ad49fc218fb0b8 | /Visual C++2005入门经典学习/Visual C++2005入门经典学习例程/Ex3/Ex3_01/Ex3_01.cpp | a1e8e78b636f315c057c636692a7cd6ab87bcee8 | [] | no_license | liquanhai/cxm-hitech-matrix428 | dcebcacea58123aabcd9541704b42b3491444220 | d06042a3de79379a77b0e4e276de42de3c1c6d23 | refs/heads/master | 2021-01-20T12:06:23.622153 | 2013-01-24T01:05:10 | 2013-01-24T01:05:10 | 54,619,320 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 668 | cpp | Ex3_01.cpp | /************************************
* Ex3_01.cpp *
* A nested if demonstration *
************************************/
#include <iostream>
using std::cout;
using std::cin;
using std::endl;
int main()
{
char letter = 0;
cout << endl
<< "Enter a letter: ";
cin >> letter;
if (letter >= 'A')
... |
190c5f2195472aa1b53a197106c150304c503d94 | 36613ef91f5c678c86e04884df6fc61fd7556ebd | /Graph Theory/dijkstra_dense.cpp | 7954225297e2ef414b50b5acfa0832ef09345b1b | [] | no_license | VictorXjoeY/Notebook | 5723000907391bc3064a2285484c3d7fe3a8a093 | 5a9f8c8c9c7b4e6b1f89db63038f1ac4fa4643c3 | refs/heads/master | 2021-06-11T10:06:44.004989 | 2021-02-15T15:53:28 | 2021-02-15T15:53:28 | 100,169,996 | 13 | 4 | null | 2020-02-07T12:21:22 | 2017-08-13T10:43:52 | C++ | UTF-8 | C++ | false | false | 1,175 | cpp | dijkstra_dense.cpp | constexpr int N = 100000;
vector<pair<int, int>> g[N + 1]; // (Input)
bool in_spt[N + 1];
int dist[N + 1];
int n; // (Input)
/* O(V) - Retrieves next vertex to be added to Shortest Path Tree. */
int next_to_spt() {
int v = 0;
for (int u = 1; u <= n; u++) {
if (!in_spt[u] and (!v or dist[u] < dist[v])... |
0ff90590b6d2c554fbca68006df35070eddb4d43 | 2095fdadad5af8391cdfc1b85317473150cf4986 | /dataPreparation.cpp | 44c5e66418a72f40f4cbd556e448a781a1349354 | [] | no_license | afarasat/SerialSpareseMatrixFactorization | ac555dcb4e3f25a5a5ced482ca9650416c149ee0 | dbcdac59be4feb40fcc87eed172e4e1844627274 | refs/heads/master | 2018-01-08T12:13:24.344528 | 2015-11-24T16:30:15 | 2015-11-24T16:30:15 | 44,546,034 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,164 | cpp | dataPreparation.cpp | /*
* dataPreparation.cpp
*
* Created on: Oct 8, 2015
* Author: afarasat
*/
#include <iostream>
#include <math.h>
#include <cstdlib>
#include "dataPreparation.h"
#include <vector>
#include <stdlib.h> /* srand, rand */
#include <ctime>
using namespace std;
dataPreparation::dataPreparation(int a, int... |
843968fd2b6c2e31edaf42d41186b5a079097e30 | 05f7573db159e870fb26c847991c4cb8c407ed4c | /VBF/Source/VBF_CORE4.0/VBF_Interface/VBF_Plot/Common/IVBF_MarkModelVolumeRayCasting.h | 2809ba823322dc87016026f9c6468fe3f4a6c1de | [] | no_license | riyue625/OneGIS.ModelingTool | e126ef43429ce58d22c65832d96dbd113eacbf85 | daf3dc91584df7ecfed6a51130ecdf6671614ac4 | refs/heads/master | 2020-05-28T12:12:43.543730 | 2018-09-06T07:42:00 | 2018-09-06T07:42:00 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,662 | h | IVBF_MarkModelVolumeRayCasting.h | //*******************************************************************
// FileName:IVBF_MarkModelVolumeRayCasting.h
// Function:体数据模型接口(光线投射法)
// Author: 杜莹
// Date: 2018-03-31
//*******************************************************************
#ifndef __IVBF_MARK_MODEL_VOLUME_RAY_CASTING_H__
#define __IVBF_MAR... |
9b6f04ab469b19ff260aea4360e66af7e5f18596 | 524c7b4210db30082c594f3a247299fb467505ba | /WindowsSystem/CountThreadMultiThread/CountThreadMultiThread.cpp | 641f8e160ffd575b38c28d122884bc5ee67e087a | [] | no_license | juhyupLee/SystemProgramming | 1254e42da20e57361b9d7975fe40dd7945cfa46e | f5fa01e411fb5fb298eb5f1daf17fa61edc78d60 | refs/heads/master | 2021-03-05T00:43:24.896314 | 2020-08-25T18:37:41 | 2020-08-25T18:37:41 | 246,080,818 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 879 | cpp | CountThreadMultiThread.cpp | //#include <stdio.h>
//#include <tchar.h>
//#include <process.h>
//#include <Windows.h>
//
//#define MAX_THREADS (1024*10)
//
//unsigned int WINAPI ThreadProc(LPVOID lpParm)
//{
// DWORD threadNum = (DWORD)lpParm;
//
// while (1)
// {
// _tprintf(_T("thread num: %d\n"), threadNum);
// Sleep(1000);
// }
// return 0;
/... |
b956398cae6a2f024e181d494a176cafd3e49681 | a37b2d61d28864abdfba34dc0f3666bdf3723507 | /textGame/ConversationParade/main.cpp | 66da6493e3a3f92e20e4599e959171c342cb94d9 | [] | no_license | cakeandturtles/junkyard-of-junkyard | b1654df8a3e30a5fdd54683163e123cafd5ebe3e | 376613ab23a72ed1292001d8de54f748e161d25f | refs/heads/master | 2020-04-10T16:36:24.201896 | 2015-09-13T20:19:29 | 2015-09-13T20:19:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 304 | cpp | main.cpp | #include <iostream>
#include <string>
using namespace std;
int main()
{
string input;
int whoAmITalkingTo=0;
while (true)
{
switch (whoAmITalkingTo)
{
case 0:
break;
default:
break;
}
}
return 0;
}
|
2168aa5fbab965ca974c12af583b54e1632006d0 | 9d5d63905f63d9e736486407330b440cb5006b02 | /BaiTapTongHop/Bai02/QLPT.h | 0de2d66be86b36c1347cd755c59d3f71f8165a8d | [] | no_license | emonno13/oop-practice | 1b5ac12598b5cb0851e9d5491dfc5b260f621458 | f08e3289ea4e7e01494f24f3982bfa33eb4da5e0 | refs/heads/main | 2023-06-11T14:52:50.871522 | 2021-07-03T17:53:57 | 2021-07-03T17:53:57 | 357,640,031 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 408 | h | QLPT.h | #pragma once
#include "Shieldato.cpp"
class QLPT
{
private:
vector<PhiThuyen *> list;
public:
QLPT();
~QLPT();
void Nhap();
void Xuat() const;
void XuatTongNhienLieuTheoLoai(const int &) const; // by kind
void XuatTongNhienLieu(const int &) const; // by all
friend istream &... |
d7fea8598bcd72b6fe6899b8ab80c39f44a86704 | 1979ea87cbe6c7520abfbaa04fa93202f776210f | /shChapter8/exm2_(1).cpp | 975ae85d8aa992a492c973f4e7edba2e2fa795cf | [] | no_license | qkrwjdan/PracticeCpp | 92284abd9929618a80660d1bab6befcfe1e0f97d | 0f0e63a0368745f6c7ae9e3d6a1b6873facc38c5 | refs/heads/master | 2021-05-25T17:22:48.178495 | 2020-06-29T15:38:00 | 2020-06-29T15:38:00 | 253,841,154 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 432 | cpp | exm2_(1).cpp | //
// Created by macbook air on 2020-05-12.
//
#include <iostream>
#include <iomanip>
using namespace std;
int main() {
int height[10] = { 177, 173, 162, 164, 189, 154, 162, 170, 175, 153 };
int i;
cout << "====================\n";
cout << " INDEX HEIGHT\n";
cout << "====================\n";
... |
9771b9af20bfed7a4c0c96750960f47b83615250 | 84090973310d01d8fb38a391f9aa182a5886e17e | /challenge/2020/july-leetcoding-challenge/island-perimeter.cpp | 4a87a894e34791823fddb3c4d79a2be925afe170 | [] | no_license | VasuGoel/leetcode | 29e4d7fe6654d76ae625037e6266ec9e8d25f304 | 2de293a5acbbe653a9e0757fea99eca37ac84e54 | refs/heads/master | 2023-04-14T11:19:16.995592 | 2021-04-30T16:35:57 | 2021-04-30T16:35:57 | 324,527,300 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 909 | cpp | island-perimeter.cpp | // O(m • n) time, O(1) space, where m = no. of rows, and n = no. of columns
class Solution {
public:
int islandPerimeter(vector<vector<int>>& grid) {
int m = grid.size(), n = grid[0].size(), res = 0;
// lambda to count borders around cell(i, j)
auto borders = [&](int i, int j) -> in... |
cfb38b63a86e3f48effcc5d46c6708db969a26cd | 32da723b5c759c98845249bb51332109014b4f62 | /C++OOP.cpp/FirstMantadoryHomework/CreateFileOfStocks.cpp | ff74c9a2058e9f4d39617a9897c946136453e0e8 | [] | no_license | IliyanKafedzhiev/FacultyOfMathematicAndInformatic | b8a810ca1100cc0f39c1460f60eb014e4c0b5ffc | a2b05a9aa7e677609447c0311ee79552464434ce | refs/heads/master | 2020-07-06T04:19:30.531000 | 2015-03-02T21:54:42 | 2015-03-02T21:54:42 | 18,809,355 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 626 | cpp | CreateFileOfStocks.cpp | #include <iostream>
#include <fstream>
using namespace std;
struct Stocks
{
unsigned InvID;
unsigned ComID;
double Count;
};
int main()
{ Stocks stock[200];
fstream File,txtT;
File.open("stocks.dat",ios::binary|ios::in);
txtT.open("stocks.txt",ios::out);
if(!File)
{
cout<<"Er... |
5028e60476abcfb997cd93656c6d49e30284fc6c | 6b79b9ce4945f935044530d14ad2694cf186e8e3 | /FW2017/Shared/Timer/timer.cpp | 21a4f90a6c8dc756d31755851d06cfd66ea62f7c | [] | no_license | ISU-MAVRIC/MAVRIC_Firmware | 541e8f6fda5d940eb29f4a84100f8b475496199b | 35cf245bdf78dc5d5c7c9d47633c19f47841faa0 | refs/heads/master | 2020-07-04T09:13:47.962430 | 2017-05-17T20:54:03 | 2017-05-17T20:54:03 | 67,298,023 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,455 | cpp | timer.cpp | /*
* timer.cpp
*
* Created on: Sep 3, 2016
* Author: James
*/
#include "timer.hpp"
#include "msp.h"
#include "clocks.h"
#include <string.h>
namespace Peripherials {
Timer& GetTA0()
{
static Timer ta0(TIMER_A0, SMCLK);
return ta0;
}
Timer& GetTA1()
{
static Timer ta1(TIMER_A1, SMCLK);
return ta1;
}
... |
6228fefa7be4ce357ab141a2dc436a4c916ac418 | d90cc5b23233e1a6f48bc2de2d8831370d953a9f | /HACKEDGame/Source/HACKED/InGame/Phase/PhaseBoss.h | 1a8a9c484185e0d7d0511bd11fc88b9f927fecd8 | [] | no_license | LJH960101/JHNet_HACKED | d1389fd9303932eda57b9742d75fc82a5543035a | 13962fc4dc16ad4d852c09bec7a85be6a8b0f9a0 | refs/heads/main | 2023-06-15T00:43:43.398914 | 2021-07-04T08:22:38 | 2021-07-04T08:22:38 | 326,329,710 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,430 | h | PhaseBoss.h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "HACKED.h"
#include "GameFramework/Actor.h"
#include "PhaseBoss.generated.h"
UCLASS()
class HACKED_API APhaseBoss : public AActor
{
GENERATED_BODY()
public:
APhaseBoss();
virtual void BeginPlay() override;
vi... |
627e1e3259c0e9b12f5f72770ff1cc424c1a46e0 | e6c9adcd71fb805e09c91d9e1e07f6e7cf0a321a | /headers/mist-v1.6.0/test/iterator_test.cpp | 46cf19d1a25c5b7acf221ed13d2ee597c91984bf | [
"Apache-2.0",
"BSD-2-Clause"
] | permissive | simizlab/atlas-guided-em-algorithm | a1c0f522c2daa0a7e53d0eb02eb7f7a8d73e19b0 | 54dd2df19f65724b1ac6957c06faca39d5b40215 | refs/heads/master | 2020-05-24T08:25:14.742300 | 2019-05-24T06:37:03 | 2019-05-24T06:37:03 | 187,184,512 | 4 | 0 | null | 2019-05-18T09:10:21 | 2019-05-17T09:07:52 | C++ | UTF-8 | C++ | false | false | 10,174 | cpp | iterator_test.cpp | //
// Copyright (c) 2003-2010, MIST Project, Nagoya University
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain the above copyright notice... |
61acc809b668c8002d3fab6cdc26b996d74efc34 | 9c8715f9d5c4f9ef2fa0262b4d9b15221a6bca26 | /src/networklayer/icmpv6/IPv6NeighbourCache.cc | f166d4402881c45e8cc2123df0783d59a1236f6a | [] | no_license | kyeongsoo/inet-hnrl | 8f424d4b077a855a24a2ba682ea1109b78902f41 | 857ae37cd233914fd7271584afc4be10bcf75a61 | refs/heads/master | 2020-04-05T22:43:00.771178 | 2017-02-27T08:59:31 | 2017-02-27T08:59:31 | 193,740 | 5 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 5,579 | cc | IPv6NeighbourCache.cc | /**
* Copyright (C) 2005 Andras Varga
* Copyright (C) 2005 Wei Yang, Ng
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any... |
4c734dacf667c85c3a88c02bce9ba9e480f9b60f | 7b00c6e83083727e455e40cbfc00b2fc035f6f86 | /shaka/src/media/audio_renderer_common.cc | 01a4e1be5d4afdba701baf208074bab90b4c04f8 | [
"Apache-2.0",
"BSD-3-Clause"
] | permissive | nextsux/shaka-player-embedded | 150ad30ce2dda8c1552027022cd185f2d0c78c40 | dccd0bbe7f326e73ef4841700b9a65ded6353564 | refs/heads/master | 2023-01-08T05:17:09.681606 | 2020-10-23T21:49:30 | 2020-10-23T21:59:03 | 310,596,930 | 0 | 0 | NOASSERTION | 2020-11-06T12:53:50 | 2020-11-06T12:53:50 | null | UTF-8 | C++ | false | false | 10,363 | cc | audio_renderer_common.cc | // Copyright 2020 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... |
9f2ef8e54002d3cfce40cde6d57eb7284455b582 | 492976adfdf031252c85de91a185bfd625738a0c | /src/Game/AI/Action/actionSandwormNavMove.cpp | 22d67da6715a4d6ec3ef53b4fadf90fb25cfe957 | [] | 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 | 1,045 | cpp | actionSandwormNavMove.cpp | #include "Game/AI/Action/actionSandwormNavMove.h"
namespace uking::action {
SandwormNavMove::SandwormNavMove(const InitArg& arg) : NavMeshMoveWithAS(arg) {}
SandwormNavMove::~SandwormNavMove() = default;
bool SandwormNavMove::init_(sead::Heap* heap) {
return NavMeshMoveWithAS::init_(heap);
}
void SandwormNavMo... |
9f6b1a4eaad702e1d9f323b0a8a76ec7967b6dbe | 9f170204f6976fe59d9ee74aa78f62b10663c051 | /third_party/sputnik/sputnik/sddmm/dense_to_shared.h | d59e879ced7bee68beb9be4edb0aadddb28b3e3d | [
"Apache-2.0",
"BSD-2-Clause",
"BSD-3-Clause"
] | permissive | hercules261188/xformers | 04132b4c94bfb59ea9917ccf29800a049f924da9 | 71bab94cb954e6e291ca93d3bce5dffadab4286d | refs/heads/main | 2023-09-06T02:51:47.086611 | 2021-11-24T16:36:22 | 2021-11-24T16:36:22 | 431,593,450 | 1 | 0 | NOASSERTION | 2021-11-24T18:43:24 | 2021-11-24T18:43:23 | null | UTF-8 | C++ | false | false | 3,238 | h | dense_to_shared.h | // Copyright 2020 The Sputnik Authors.
//
// 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 agre... |
e4d41f7bcc7830c5715da19e30d7f69ad8d2b221 | 37c502120aba6e719a2977d8ce78c44846adeb63 | /CG Programs/CUBE.CPP | 4a6e17e59f44a45ea5b93277ff75cd6fa3b5e39a | [] | no_license | Girrajjangid/Computer-Science-Programs | 66cdccb1f17bc74893614eb5e02acba7bde14885 | 8d8c2be72661e42aa12f78fbb6eafdce0f18fe55 | refs/heads/master | 2020-06-09T23:10:04.027394 | 2019-11-03T17:24:23 | 2019-11-03T17:24:23 | 193,525,230 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 752 | cpp | CUBE.CPP | #include<graphics.h>
#include<conio.h>
#include<dos.h>
void main(){
int i,gd=DETECT,gm,x=10;
initgraph(&gd,&gm,"");
setcolor(WHITE);
rectangle(120,120,280,280);
setfillstyle(SOLID_FILL,RED);
floodfill(150,200,WHITE);
line(80,160,120,120);
for(i=0;i<200;i+=160)line(80+i,320,120+i,280);
for(i=0;i<120;i+=40)line(120,160+i... |
7feb254293f8c1e2b56a0dbc8960a93d103d2419 | 7076aa19779731c29ef4729b89afddec2e3fc999 | /src/containers/tree.test.cpp | ed35c9aa228708cafe23a146eac0387c31aa13bc | [] | no_license | MatMyfta/SistemiOperativi | 8ca7266274f8bc48de5578b3c492e0f383d542f3 | befb6d4ed098deea0abc8bd664790d06f5677176 | refs/heads/master | 2022-10-19T21:14:55.458039 | 2020-06-09T21:40:19 | 2020-06-09T21:40:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,273 | cpp | tree.test.cpp | /**
* \file dictionary.test.cpp
*
* \brief Test dictionary
*/
#include "tree.h"
#include "catch2/catch.hpp"
#include <vector>
template <typename T>
int compare(const void *lhs, const void *rhs, void *user_data) {
const T *lhs_val = reinterpret_cast<const T *>(lhs);
const T *rhs_val = reinterpret_cast<const ... |
0a356d2ab34b6f8207b762ca099a323a9171a3c8 | 72ca3c783d4946c361c7adc1ee0e728a46337d5b | /configs/RscDisplayPublishMissionSelectTags.cpp | 3490cb46668715628a7ba114098db7c0cee16794 | [] | no_license | pennyworth12345/ContactConfigCompare | bedad3c99a097509aa2fe676a07f6e3850b62aec | e871366e36c80ad339aaab512b87b69bfe323040 | refs/heads/master | 2020-07-03T17:49:12.394661 | 2019-08-12T19:15:33 | 2019-08-12T19:15:33 | 201,992,619 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,686 | cpp | RscDisplayPublishMissionSelectTags.cpp | class RscDisplayPublishMissionSelectTags
{
idd = 166;
onLoad = "[""onLoad"",_this,""RscDisplayPublishMissionSelectTags"",'GUI'] call (uinamespace getvariable 'BIS_fnc_initDisplay')";
onUnload = "[""onUnload"",_this,""RscDisplayPublishMissionSelectTags"",'GUI'] call (uinamespace getvariable 'BIS_fnc_initDisplay')";... |
5c25800ef1e9bded074c09935eca1bb8776232c1 | 55e7b4fe03859a35b8e9c3fb00ae61c147b0dc9b | /Lecture_BDD/lectureprofile.h | 01781098aeb15657debbe92cfb6462b4b5ea10f5 | [] | no_license | brock37/Mordheim | 30f6322b1dedea3ecbf4a6b280bc57c206f4a6d1 | 87b2325e91953ca93a3ab3acdd80801365f27867 | refs/heads/master | 2020-12-24T13:36:44.095129 | 2016-04-22T21:59:52 | 2016-04-22T21:59:52 | 39,340,041 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 835 | h | lectureprofile.h | #ifndef LECTUREPROFILE_H
#define LECTUREPROFILE_H
#include <QWidget>
#include <QtSql>
#include <QSqlTableModel>
#include <QSqlQueryModel>
#include <QSqlQuery>
#include <QSqlError>
#include <QMessageBox>
namespace Ui {
class LectureProfile;
}
class LectureProfile : public QWidget
{
Q_OBJECT
public:
explicit ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.