blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3bb0068d911ac0e8a8d98128252f3a51e14bfb9e | 1aa9e37e693d797bd72d29e29863fdc4c6667d01 | /src/content/shell/test_runner/test_plugin.cc | 905a92c91c1c1e242c70f9b3a50de66a551a41c9 | [
"Apache-2.0"
] | permissive | jgj212/osv-free | d22a6b27c7bee399873d8d53db711a5ab0d831a5 | b81fee48bc8898fdc641a2e3c227957ed7e6445e | refs/heads/master | 2020-03-25T08:43:08.483119 | 2018-02-28T14:19:13 | 2018-02-28T14:19:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,413 | 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 "content/shell/test_runner/test_plugin.h"
#include <stddef.h>
#include <stdint.h>
#include <utility>
#include "base/bind.h"
#include "base/log... | [
"ygl@tamu.edu"
] | ygl@tamu.edu |
df1c237442a1327142827dadde8dd55df290182f | e8abe87ff059e6f03cf38e734a79ce141735e35f | /leetcode/871. Minimum Number of Refueling Stops/MNoRS.cpp | ddc3a378edc226b87312c466d86044ba0bbd030d | [] | no_license | iuyoy/basicCSKnowledge | 6ae2536586ecef874db493f39e0135465dab77bc | 4ca2cf5db21e5749ea4a35a428b450cf1dfe9f00 | refs/heads/master | 2021-07-06T15:23:19.014892 | 2020-07-11T13:16:09 | 2020-07-11T13:16:09 | 129,311,451 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,077 | cpp | /*
A car travels from a starting position to a destination which is target miles
east of the starting position.
Along the way, there are gas stations. Each station[i] represents a gas station
that is station[i][0] miles east of the starting position, and has station[i][1]
liters of gas.
The car starts with an infini... | [
"iuyyoy@gmail.com"
] | iuyyoy@gmail.com |
30386e160dce930ffc88e5d2effa92aae0d4d1ab | c16ef13fdf3764ffa6f90f97e6301c5a1ed3659a | /src/compiler/lib/YaskKernel.cpp | 52d1ca2a549bc202fc514d5645b1c364035f5592 | [
"MIT"
] | permissive | zohourih/yask | 1bbc3328bdf4b619f0abd9d0d6554f1ddfcf5b2a | a06a7afde47fc86450c126f2d74d06a1a9d625da | refs/heads/master | 2021-05-09T18:01:32.542462 | 2018-01-30T13:43:50 | 2018-01-30T13:43:50 | 119,152,561 | 0 | 0 | null | 2018-01-27T09:58:17 | 2018-01-27T09:58:17 | null | UTF-8 | C++ | false | false | 29,989 | cpp | /*****************************************************************************
YASK: Yet Another Stencil Kernel
Copyright (c) 2014-2018, 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 S... | [
"chuck.yount@intel.com"
] | chuck.yount@intel.com |
a711f217f3694e8b8e4078f020fbd86714791cf6 | 41cf1be8e489ca8648244712356073bc588057de | /src/Engine/input/KeyBoard.h | cd26c987401f00aca242b24c57b16565def9fef4 | [
"BSD-3-Clause"
] | permissive | madlas/tprPix | f73cafb0758459644517ca575aed4abf6bdd07db | f8aea6f7d63dae77b8d83ba771701e3561278dc4 | refs/heads/master | 2021-06-03T00:38:49.712177 | 2020-04-07T05:54:16 | 2020-04-07T05:54:16 | 254,328,505 | 3 | 0 | BSD-3-Clause | 2020-04-09T09:32:00 | 2020-04-09T09:32:00 | null | UTF-8 | C++ | false | false | 12,421 | h | /*
* ========================= KeyBoard.h ==========================
* -- tpr --
* CREATE -- 2019.02.13
* MODIFY --
* ----------------------------------------------------------
*/
#ifndef TPR_KEYBOARD_H
#define... | [
"turesnake@163.com"
] | turesnake@163.com |
21c4e844c5a776f2ce655c8ac62a245997020936 | 92ada3eabb986350da3f4919a1d75c71a170854d | /autoupdate/common/3rd/boost/mpl/aux_/na.hpp | 63c77b94d4861675342c8be46303d884ccebf86b | [] | no_license | jjzhang166/autoupdate | 126e52be7d610fe121b615c0998af69dcbe70104 | 7a54996619f03b0febd762c007d5de0c85045a31 | refs/heads/master | 2021-05-05T20:09:44.330623 | 2015-08-27T08:57:52 | 2015-08-27T08:57:52 | 103,895,533 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,717 | hpp |
#ifndef BOOST_MPL_AUX_NA_HPP_INCLUDED
#define BOOST_MPL_AUX_NA_HPP_INCLUDED
// Copyright Aleksey Gurtovoy 2001-2004
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// See http://www.boost.org/libs/mpl f... | [
"269221745@qq.com"
] | 269221745@qq.com |
08dbf8ad2ee610d5f87706aa0ab813164ef87768 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/httpd/gumtree/httpd_repos_function_2631_httpd-2.2.6.cpp | 98f49c8578b3eb27126d3f7ca1383ed9e1bc5940 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 611 | cpp | static int dbd_sqlite_query(apr_dbd_t * sql, int *nrows, const char *query)
{
char **result;
int ret;
int tuples = 0;
int fields = 0;
if (sql->trans && sql->trans->errnum) {
return sql->trans->errnum;
}
FREE_ERROR_MSG(sql);
ret =
sqlite_get_table(sql->conn, query, &res... | [
"993273596@qq.com"
] | 993273596@qq.com |
625e33aba879ddf876efdb74d74f4cd20f704806 | 52c8e3517f95efdea238aa0078bea711d828e8d1 | /tf_utils.cpp | 832cce95d8a88ebf5e84050ff8a886e46d959aac | [
"MIT"
] | permissive | changGitHubJ/mnist_keras-inference_in_windows | 55b6aa539caec4d15709246c92137fba6a55a1bc | d0301b6f8fa7c96ceaa7a650258e6e0934f6d9ac | refs/heads/master | 2023-01-24T08:38:20.711951 | 2020-12-02T07:59:15 | 2020-12-02T07:59:15 | 256,703,195 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,703 | cpp | // Licensed under the MIT License <http://opensource.org/licenses/MIT>.
// Copyright (c) 2018 Daniil Goncharov <neargye@gmail.com>.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Softwa... | [
"atsugi_development@tbts.co.jp"
] | atsugi_development@tbts.co.jp |
3c3e1bca32488b275cf035ce559db396daf8c9df | 44353328cd40698d76aeeea93b32a5f6b16bc768 | /Arduino_Projeler/5.Mesafe_Sensoru/Mesafe_Olcer/Mesafe_Olcer.ino | 06d225edd0f40a8c036532746fd5c80d49cc1434 | [] | no_license | kivancozgur/MSKU_2.SINIF_2.DONEM_EXAMPLE | a702ad055d3e914f11ecb0898a519380a7176a28 | db40a0c9dd7dc0baa3d31034bce1b036aee7086b | refs/heads/master | 2020-06-23T22:44:39.813848 | 2019-07-25T07:09:27 | 2019-07-25T07:09:27 | 198,774,634 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 900 | ino | int ledPin=3;
int trig=4;
int echo=5;
double sure;
double toplamYol;
double aradakiMesafe;
void setup() {
pinMode(ledPin, OUTPUT);
pinMode(trig, OUTPUT);
pinMode(echo, INPUT);
Serial.begin(9600);
}
void loop() {
digitalWrite(trig, HIGH);
digitalWrite(trig, LOW);
sure = pulseIn(echo, HIGH);
toplamYo... | [
"34067601+kivancozgur@users.noreply.github.com"
] | 34067601+kivancozgur@users.noreply.github.com |
9218a02378fff481dbd83ab92bc013e58e42adc0 | 68c93600af0c0a01ea9ad96078bad8091182a831 | /inc/scanner.h | 72f142844afde197cae402f11dd747c3e198ea4b | [] | no_license | XenosXavier/EzProlog | 01ced076f71f723740e05743b036fb062324b878 | a01bab464bbbdca205202854b006536bbfeb0bb8 | refs/heads/master | 2021-05-11T00:49:17.248835 | 2018-02-28T13:11:08 | 2018-02-28T13:11:08 | 118,312,397 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,509 | h | #ifndef SCANNER_H
#define SCANNER_H
#include "prologUtils.h"
#include <string>
#include <utility>
#include <gtest/gtest_prod.h>
using std::pair;
using std::string;
/**
* The ez-prolog scanner.
* Extract a simple object token each time
* in nextToken. Provide client to peek the
* current, next characte... | [
"Xenos@WD1TGWin10.localdomain"
] | Xenos@WD1TGWin10.localdomain |
e36494edd0c58fff9c0b8275a8c56ecb3cb5c4ac | 57555961cfce23a79c24607abb43d78f5fae295d | /tests/use_after_realloc.cpp | 0536f6e9848c47bb16992f899e37b979f89026e0 | [
"MIT"
] | permissive | mstniy/safepm | ead568cb478cda3c4a95f779680398a84c1e5ab2 | 7d2bdea8a7572ba56cbea3068b2f8f828fd05cd2 | refs/heads/master | 2023-04-11T06:23:55.184652 | 2022-02-09T22:28:34 | 2022-02-09T22:28:34 | 359,398,472 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,191 | cpp | #include <libpmemobj.h>
#include <iostream>
#include <assert.h>
#include <unistd.h>
#include "common.h"
POBJ_LAYOUT_BEGIN(spmo_test);
POBJ_LAYOUT_TOID(spmo_test, struct dummy);
POBJ_LAYOUT_END(spmo_test);
struct dummy {
uint64_t x[2];
};
int main()
{
unlink("spmo_test.pool");
PMEMobjpool* pool = pmemobj_create("s... | [
"kartalkaanbozdogan@gmail.com"
] | kartalkaanbozdogan@gmail.com |
34b5f1975207e3714b279204f7d669308b586a09 | f49ed7d7f69af6c85fb9839b701b082593549807 | /src/engine/DrawBase.cxx | 697eeb779a99a65b7eacb4f61464f6a36ae069f4 | [
"BSD-3-Clause"
] | permissive | rita0222/FK | 8b5f560e2c1c6eae41ce02074b4ef33570304bcd | bc5786a5da0dd732e2f411c1a953b331323ee432 | refs/heads/master | 2022-08-01T05:56:20.779450 | 2020-05-20T09:13:27 | 2020-05-20T09:13:27 | 264,065,279 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,793 | cxx | #define FK_DEF_SIZETYPE
#include <FK/DrawBase.H>
#include <FK/Matrix.h>
#include <FK/Model.h>
#include <FK/Light.h>
#include <FK/ShaderBinder.h>
using namespace std;
using namespace FK;
const string fk_DrawBase::projectionMatrixName = "fk_ProjectionMatrix";
const string fk_DrawBase::viewMatrixName = "fk_ViewMatrix";... | [
"earth@gamescience.jp"
] | earth@gamescience.jp |
c8902110a420c77e10f46c77247edad197a5b3f3 | 27b78a089fa389244eefcdd08d8d7e273a3bb3e8 | /bial/cpplex/inc/divisionbyzeroexception.hpp | fe337224d79327387ea55e6eac407c668e8bb851 | [] | no_license | GIBIS-UNIFESP/BIAL | 651f3a7f44238df977be245b07a1391d2518f974 | eddd3d756b744b5caf8429acec7abe208b3a3bd1 | refs/heads/master | 2021-01-12T13:32:10.299904 | 2018-02-09T11:55:34 | 2018-02-09T11:55:34 | 69,836,560 | 11 | 6 | null | 2017-12-01T16:01:12 | 2016-10-03T02:55:05 | C++ | UTF-8 | C++ | false | false | 1,358 | hpp | /*
Copyright (c) 2010-2013 Tommaso Urli
Tommaso Urli tommaso.urli@uniud.it University of Udine
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 limitati... | [
"lucaslellis777@gmail.com"
] | lucaslellis777@gmail.com |
4efa874a34ac30355dc7b449e42e22227603b7a1 | 0ea2d27b46e9b0f06d1d48f6a5fb4737f966860c | /Xenios-Source/src/governance-classes.cpp | 15ee75d6a5dd781cab17f6446daefd00ce390b98 | [
"MIT"
] | permissive | xeniosproject/xenioscoin | ec73c60a37f0d2abc01fc8d7e42c2b84f5e5dadf | 48927805c482c90ca98627b42a0ec5c7d6686497 | refs/heads/master | 2022-02-15T03:30:10.811866 | 2022-01-26T21:56:59 | 2022-01-26T21:56:59 | 283,697,168 | 3 | 7 | MIT | 2021-03-07T07:23:29 | 2020-07-30T07:13:06 | C++ | UTF-8 | C++ | false | false | 25,450 | cpp | // Copyright (c) 2014-2018 The Dash Core developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "governance-classes.h"
#include "core_io.h"
#include "init.h"
#include "utilstrencodings.h"
#include "validation.h"... | [
"56384051+xeniosproject@users.noreply.github.com"
] | 56384051+xeniosproject@users.noreply.github.com |
182d88639c84e2b96f925a49b1e4dfe32a4b9b6f | e159d52d34293fc8fa76cbc0767886b1c38a8b52 | /Bsortrank/源.cpp | 5d8f80debe351d63f9ca017057f2079eec948c16 | [] | no_license | yuzele/Bsortrank | 650c458e43a9af7069dbb6b0c3f81f7995b948b8 | b2750c09fd5b53d731398c8255ac46eeccf3cb84 | refs/heads/master | 2020-04-17T03:05:24.151581 | 2019-02-14T07:19:38 | 2019-02-14T07:19:38 | 166,165,989 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,203 | cpp | #include <stdio.h>
#include <winsock2.h>
#include <windows.h>
#include<iostream>
#pragma comment(lib,"ws2_32.lib")
using namespace std;
BOOL GetIpByDomainName(char *szHost, char* szIp)
{
WSADATA wsaData;
HOSTENT *pHostEnt;
int nAdapter = 0;
struct sockaddr_in sAddr;
if (... | [
"noreply@github.com"
] | yuzele.noreply@github.com |
1949f0af5795519e6fb24d0e82036b3f4729ad42 | d9ad1b126b3aae7cc902e619fd035e70aafae309 | /src/Core/Engine/GamePad.h | 045f72b9b8e3c47260aa45400c11e9b2a15d30bf | [] | no_license | Canadadry/TileGameV2 | 646139b6e394c713dfe90c783930b42c2be7ef77 | e28fb4873f9c3e98b34df128d3c4c81453da649b | refs/heads/master | 2021-01-16T19:35:19.416734 | 2014-02-22T13:21:30 | 2014-02-22T13:21:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 296 | h | #ifndef GAMEPAD_H_
#define GAMEPAD_H_
#include <Engine/Component.h>
class Entity;
namespace sf{ class Event; };
class GamePad : public Component
{
public:
explicit GamePad(Entity& entity);
virtual ~GamePad();
virtual void handleEvent(const sf::Event& Event);
};
#endif /* GAMEPAD_H_ */
| [
"moureyjerome-spam@yahoo.fr"
] | moureyjerome-spam@yahoo.fr |
a0ffaff96c3406a0a4541db4c61c8e5eae183aae | 1577e1cf4e89584a125cffb855ca50a9654c6d55 | /WebKit/Source/ThirdParty/ANGLE/src/tests/gl_tests/FragDepthTest.cpp | 0a6d6933381cd276eb956559c453ada5e03f184a | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | apple-open-source/macos | a4188b5c2ef113d90281d03cd1b14e5ee52ebffb | 2d2b15f13487673de33297e49f00ef94af743a9a | refs/heads/master | 2023-08-01T11:03:26.870408 | 2023-03-27T00:00:00 | 2023-03-27T00:00:00 | 180,595,052 | 124 | 24 | null | 2022-12-27T14:54:09 | 2019-04-10T14:06:23 | null | UTF-8 | C++ | false | false | 5,854 | cpp | //
// Copyright 2022 The ANGLE 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.
//
// FragDepthTest:
// Tests the correctness of gl_FragDepth usage.
//
#include "test_utils/ANGLETest.h"
#include "test_utils/gl_raii.h"
using... | [
"opensource@apple.com"
] | opensource@apple.com |
a6580409d4e5bcb03c6a9790f32048bcdd28df37 | 2c1b1d120c4a9d3467c566df50bb83d89c52455e | /GameEntity-AntiLSP/CollisionManager.h | 24a4ae3fa622d2586b471b27d3c1c8c37050c062 | [] | no_license | kenpower/SolidPrinciples | 1d9aaf95b5bf598372eebcb1a4ad0842ea990b15 | 40c81e9a06a859ea8366549a818acd77b2d20f77 | refs/heads/master | 2020-09-06T12:44:59.036398 | 2019-11-28T10:51:29 | 2019-11-28T10:51:29 | 220,427,647 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 235 | h | #pragma once
#include <memory>
#include "Player.h"
#include "Entity.h"
class CollisionManager
{
public:
bool collides(Player& player, std::unique_ptr<AbstractEntity>& entity) {
//... collision detection stuff
return true;
}
};
| [
"github@kenpower.com"
] | github@kenpower.com |
bd23a767137aa155977aa2c3251e4e9a3e1e1fe1 | 4d71dfbb73cfcfc4e03410504e6c93768c0bda09 | /TestGlfw/PerformanceTimer.h | f9db2b7eb635592d9909126d5e7beeecc168a0cb | [] | no_license | PlumpMath/TestGlfw | 81ead2a9c2f8f9213257f1bdc5a1aeb73ae2d7e9 | 93fd15b456e133468ef99dc48d66f5207c249225 | refs/heads/master | 2021-01-25T07:01:36.326778 | 2017-01-24T03:23:13 | 2017-01-24T03:23:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 290 | h | #pragma once
#include <chrono>
#include <string>
class PerformanceTimer
{
public:
PerformanceTimer(const std::string& message);
~PerformanceTimer();
void Expire();
private :
const std::string _message;
std::chrono::time_point<std::chrono::system_clock> _start;
bool _didExpire;
};
| [
"rjcurtis22@gmail.com"
] | rjcurtis22@gmail.com |
772a2882f7f520c22c87d3482760b9d031ae6b2f | 76859f325589b72fbb1c4bf8678505cf64a62334 | /src/lib/web_render/web_page.cpp | 76ca34b2f15dd9d79217a0013a4fd423fa0db247 | [] | no_license | yf885188/BigWorld-Engine-1.9.1 | 267d3d24c29e414308143d3b2440cd4255ec4557 | e9d5a56739eb20c0c6973653a1342000e9f699be | refs/heads/master | 2023-08-29T17:12:16.985405 | 2021-11-18T06:41:31 | 2021-11-18T06:41:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,970 | cpp | /******************************************************************************
BigWorld Technology
Copyright BigWorld Pty, Ltd.
All Rights Reserved. Commercial in confidence.
WARNING: This computer program is protected by copyright law and international
treaties. Unauthorized use, reproduction or distribution of this... | [
"terran.erre@mail.ru"
] | terran.erre@mail.ru |
c4ccbb96041183629fb41aea1e4afc4b2e309834 | 5ec06dab1409d790496ce082dacb321392b32fe9 | /clients/cpp-qt5/generated/client/OAIOrgApacheJackrabbitOakSecurityAuthenticationTokenTokenConfiguraInfo.cpp | 32126ffaa2beb52ffb31d2be771c002207176ad1 | [
"Apache-2.0"
] | permissive | shinesolutions/swagger-aem-osgi | e9d2385f44bee70e5bbdc0d577e99a9f2525266f | c2f6e076971d2592c1cbd3f70695c679e807396b | refs/heads/master | 2022-10-29T13:07:40.422092 | 2021-04-09T07:46:03 | 2021-04-09T07:46:03 | 190,217,155 | 3 | 3 | Apache-2.0 | 2022-10-05T03:26:20 | 2019-06-04T14:23:28 | null | UTF-8 | C++ | false | false | 7,446 | cpp | /**
* Adobe Experience Manager OSGI config (AEM) API
* Swagger AEM OSGI is an OpenAPI specification for Adobe Experience Manager (AEM) OSGI Configurations API
*
* OpenAPI spec version: 1.0.0-pre.0
* Contact: opensource@shinesolutions.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openap... | [
"cliffano@gmail.com"
] | cliffano@gmail.com |
4fde447ee0e82cfa3bfa738d989328b42611753a | 150ed4923984fdffcee7538c179a1fd32efa43c0 | /pr/pr/ObjEnemy.h | 045cb835f28c3f6a87a1d29617dad27319d03405 | [] | no_license | kishitake114/Game | 089881dd535ab5192fb4de2813b6863d8de196d3 | 97fac6e26a61827340906486178c40d5989c97f1 | refs/heads/master | 2023-03-02T06:31:49.913168 | 2021-02-11T05:21:29 | 2021-02-11T05:21:29 | 301,625,774 | 1 | 1 | null | null | null | null | SHIFT_JIS | C++ | false | false | 484 | h | #pragma once
//使用するヘッダー
#include "GameL/SceneObjManager.h"
//使用するネームスペース
using namespace GameL;
//オブジェク:プレイヤー
class CObjEnemy :public CObj
{
public:
CObjEnemy() {};
~CObjEnemy() {};
void Init();
void Action();
void Draw();
int HP;
bool atk;
private:
float p_x;
float p_y;
float atr_x;
float atr_y;
float... | [
"h1202019006@hiratagakuen.onmicrosoft.com"
] | h1202019006@hiratagakuen.onmicrosoft.com |
b0fb7c7a174db33a3de19ea59b74a2f167c435ee | 9d2238e5b8fe5d610b8699b1d44118806056b2df | /src/rpc/mining.cpp | 189c19e278b6b724f4d77801585dcfbf30f31bd0 | [
"MIT"
] | permissive | umarucoin/umrcoin | 0d47c8f5797f33d1ad97dde24b319345d9965f03 | fcd581ab4efd3a64c9c49e13cc581398b7d4856a | refs/heads/master | 2021-01-20T01:27:33.437342 | 2017-09-23T12:03:12 | 2017-09-23T12:03:12 | 101,288,554 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 42,977 | cpp | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2016 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "base58.h"
#include "amount.h"
#include "chain.h"
#include "chainparams.h"
#i... | [
"macks77@hotmail.com"
] | macks77@hotmail.com |
40d79f65de75975a24c98c82c0d58d9c0e7d2a2c | f6ab96101246c8764dc16073cbea72a188a0dc1a | /OnlineJudge/ZEROJUDGE/a761. 罐頭的記憶體[v2].cpp | 4da671d829068f5858c1ca7f5a749e7e78344fbe | [] | no_license | nealwu/UVa | c87ddc8a0bf07a9bd9cadbf88b7389790bc321cb | 10ddd83a00271b0c9c259506aa17d03075850f60 | refs/heads/master | 2020-09-07T18:52:19.352699 | 2019-05-01T09:41:55 | 2019-05-01T09:41:55 | 220,883,015 | 3 | 2 | null | 2019-11-11T02:14:54 | 2019-11-11T02:14:54 | null | UTF-8 | C++ | false | false | 2,417 | cpp | #include <bits/stdc++.h>
using namespace std;
const int INF = 0x3f3f3f3f, MAXQ = 524288;
class Unrolled {
public:
int PILE, mask, shift;
vector< vector<int> > nodes;
vector<int> dirty;
void alloc(int size) {
nodes.clear(), dirty.clear();
for (PILE = 1, shift = 0; PILE * PILE < size; PILE <<= 1, shift++);
mask... | [
"morris821028@gmail.com"
] | morris821028@gmail.com |
4d2c490aaac203c17994749cdf8c6505a2deca05 | ae6d2f78d8ef5aa54b243798d655fe6f20b7afd9 | /SRS_crawling_Xx5_Mega_Saw2_40_/SRS_crawling_Xx5_Mega_Saw2_40_.ino | 596e386e96e9633efc6d7b5f30a2da557e6397fd | [
"Unlicense"
] | permissive | AlbertLordsun/SoftRobot | d7b9e61ba76fc0ca86f5885be9fb722739c642e7 | 84af0fc0c4fe2e40079c6f137a29265e66682362 | refs/heads/main | 2023-07-03T00:32:55.481256 | 2021-08-06T02:25:41 | 2021-08-06T02:25:41 | 393,224,190 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,207 | ino | // Crawling with five segments via saw2 wave;
// Stride duration is 1s, each segment contracts 0.2s without signal overlapping;
// PWM control: 1)timer1: 11-OCR1A-249; 12-OCR1B;
// 2)timer3: 5-OCR3A-249; 2-OCR3B; 3-OCR3C;
// 3)timer4: 6-OCR4A-249; 7-OCR4B; 8-OCR4C;
// PWM signal seq... | [
"noreply@github.com"
] | AlbertLordsun.noreply@github.com |
03b62c9960e4d57a6fdcd7039dc836070b4c6eaf | 010279e2ba272d09e9d2c4e903722e5faba2cf7a | /contrib/libs/zeromq/sources/src/msg.hpp | 9a8baca09d673a7096aa4faf1e25569f0b677ad2 | [
"Apache-2.0",
"GPL-3.0-only",
"LGPL-3.0-only",
"LicenseRef-scancode-zeromq-exception-lgpl-3.0"
] | permissive | catboost/catboost | 854c1a1f439a96f1ae6b48e16644be20aa04dba2 | f5042e35b945aded77b23470ead62d7eacefde92 | refs/heads/master | 2023-09-01T12:14:14.174108 | 2023-09-01T10:01:01 | 2023-09-01T10:22:12 | 97,556,265 | 8,012 | 1,425 | Apache-2.0 | 2023-09-11T03:32:32 | 2017-07-18T05:29:04 | Python | UTF-8 | C++ | false | false | 6,675 | hpp | /*
Copyright (c) 2007-2015 Contributors as noted in the AUTHORS file
This file is part of libzmq, the ZeroMQ core engine in C++.
libzmq is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License (LGPL) as published
by the Free Software Found... | [
"akhropov@yandex-team.com"
] | akhropov@yandex-team.com |
5d9f3bc643fc6630aefb2e22217fae2f56f0b446 | 7d0c63e3eaeb887f950cf7601ceeebe9ccf55491 | /tensorflow_io/core/kernels/audio_wav_kernels.cc | 4b8d43ac389f49a2895a9252f77046112b8ee235 | [
"Apache-2.0"
] | permissive | pooyam/io | 4e300d2fd69d1f7c954bf7aed247da2a6857375c | 0da182541927898268a8aa441679b3c14a7832fd | refs/heads/master | 2021-02-19T03:39:28.671159 | 2020-03-05T19:40:38 | 2020-03-05T19:40:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,834 | cc | /* Copyright 2019 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | [
"noreply@github.com"
] | pooyam.noreply@github.com |
d60eaff2e35d2a63904e75837d13abebc7851a55 | 80de8bf945978a53f64c88760124b193ca181e46 | /poj/DP/1018/p1018.correction.cpp | 90c3e91fbf31d33a41bc5a9560c823622098db78 | [] | no_license | mtawaken/gits | 83496069c1eeebb0083e3330b6bf0a1bd8016b95 | 1084f0b3b0942a8a9ee045d5727f51d116169ff5 | refs/heads/master | 2020-05-20T14:01:40.066173 | 2014-05-19T07:05:11 | 2014-05-19T07:05:11 | 7,186,841 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,830 | cpp | /*
* =====================================================================================
*
* Filename: p1018.correction.cpp
*
* Description: forcely search,for every available brandwidth,there's a lowest sum price which make RATE maxium,compare theses RATEs to find maxium RATE to be the result.
*
* ... | [
"mtawaken@gmail.com"
] | mtawaken@gmail.com |
0222b5336e4dae34709829fb0bfa8a0a285ab70f | 41a76318e5b9eef2c69bbf922724f8b191d7d124 | /kokkos-kernels/src/impl/generated_specializations_cpp/iamax/KokkosBlas1_iamax_eti_spec_inst_Kokkos_cmplx_dbl__LayoutRight_Cuda_CudaS.cpp | e32f1677aafbed90ce273f390fc71d46b839ac1f | [
"BSD-2-Clause",
"BSD-3-Clause"
] | permissive | zishengye/compadre | d0ff10deca224284e7e153371a738e053e66012a | 75b738a6a613c89e3c3232cbf7b2589a6b28d0a3 | refs/heads/master | 2021-06-25T06:16:38.327543 | 2021-04-02T02:08:48 | 2021-04-02T02:08:48 | 223,650,267 | 0 | 0 | NOASSERTION | 2019-11-23T20:41:03 | 2019-11-23T20:41:02 | null | UTF-8 | C++ | false | false | 2,508 | cpp | /*
//@HEADER
// ************************************************************************
//
// KokkosKernels 0.9: Linear Algebra and Graph Kernels
// Copyright 2017 Sandia Corporation
//
// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
// the U.S. Government retain... | [
"pkuberry@gmail.com"
] | pkuberry@gmail.com |
0452b045c59ac62fd1c929dcbc8f8095ae67a17c | cbdeac43c8c14a7d197ca60fb7ca3c3f153c47b1 | /loader/other_stuff.cpp | 63e860cffa3eb7091d13022b33b15f8b2898c35f | [] | no_license | Psionix/nwnhook | 117a82633948ff2fc540676af6a7584ac2810b94 | ba6486acdd3b941cbfac4708d3c702ee1e93d866 | refs/heads/master | 2022-03-27T13:21:56.699917 | 2019-12-26T12:42:55 | 2019-12-26T12:42:55 | 229,575,228 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,307 | cpp | #include "other_stuff.h"
HANDLE GetProcessByFilename(LPCSTR lpFilename, LPCSTR dllname)
{
DWORD dwProcIds[1024], pRetn;
TCHAR exeName[255];
HANDLE hProcess;
EnumProcesses(dwProcIds,sizeof(dwProcIds), &pRetn);
DWORD cProcesses = pRetn/sizeof(DWORD);
for(unsigned int i = 0; i < cProcesses; i++)
{
hProcess = ... | [
"code.watt@gmail.com"
] | code.watt@gmail.com |
ea3cf5dfe0de52d6ecd38458762242c578623585 | d54932d12aac8c3ae0ebbe8fe8bdee8a0e721f0f | /algorithm/12/depth_first_search.cpp | 24c48f171e08ce335bad9991587f5fa351307752 | [] | no_license | takakuwa-s/algorithm-c- | 93ad3fe9f4602a497864c8403974352148ac964c | c86d59c7d3d6a25e151cf3953e661777e1a7bafe | refs/heads/master | 2022-03-27T16:51:39.530914 | 2020-01-08T23:56:43 | 2020-01-08T23:56:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,690 | cpp | #include <stdio.h>
#include <stack>
using namespace std;
#define N 100
struct Node {
int u, k, v[N];
};
// 再起
void dfs(int output[][2], const Node node[], const int u);
// スタック
void dfs2(int output[][2], const Node node[]);
int main() {
int n;
scanf("%d", &n);
Node node[n];
for (int i=0; i<n; i+... | [
"you@example.com"
] | you@example.com |
825bbe5df47ef67d1a356581b2b950c3ffd76318 | ea9fdab491ca277959f7dc59004d1a30c4ee6be4 | /cufflinks/patches/patch-src_bundles.cpp | d216a571600887a572b8e03bbe055d5411fc9c5c | [] | no_license | NetBSD/pkgsrc-wip | 99f40fb6f56e2a5a11840a810e9cf8b6097e7f21 | c94e923855e9515400435b2437a1659fdb26d2fb | refs/heads/master | 2023-08-30T14:27:26.946664 | 2023-08-30T12:09:15 | 2023-08-30T12:09:15 | 42,824,785 | 81 | 59 | null | 2021-01-28T20:10:38 | 2015-09-20T18:44:07 | Makefile | UTF-8 | C++ | false | false | 575 | cpp | $NetBSD$
# Constant too big for int on some systems
--- src/bundles.cpp.orig 2013-04-04 14:41:19.000000000 +0000
+++ src/bundles.cpp
@@ -677,7 +677,7 @@ double BundleFactory::next_valid_alignme
if (!_hit_fac->get_hit_from_buf(hit_buf, tmp, false))
continue;
- if (tmp.ref_id() == 126381... | [
"rillig@NetBSD.org"
] | rillig@NetBSD.org |
d43bf31b675b3540542a9ac653c44de2d75a6848 | 6323171f8df6ee89756bd30f4e45ae4666e5b28a | /79.cpp | 5082537a8c0e692f8ebf44d6faaa8f7257c91858 | [] | no_license | shenganzhang/LeetCode | 6220bceb91aa3842ce44b84308e8aa21e5281530 | c49877187af99d0aa4cfd8334723eb02a943d90a | refs/heads/master | 2023-07-13T15:18:31.261236 | 2021-08-22T22:49:27 | 2021-08-22T22:49:27 | 366,672,862 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,326 | cpp | #include <iostream>
#include <utility>
#include <vector>
#include <unordered_map>
#include <map>
#include <cmath>
#include <algorithm>
#include <stack>
#include <utility>
#include <set>
#include <limits>
using namespace std;
void backtrack(vector<int> &pos, int index, vector<vector<char>>& board, vector<vector<bool>>... | [
"zshengan@umich.edu"
] | zshengan@umich.edu |
99eddaf9066e943b333b383492e4fe7c2027ec7c | f8c114ba8f694b38dd783cde102095c8cce53eba | /AAHvoidance/AAHvoidance/Classes/GameObject.h | a89be6a459093232176d62218a42f04f02610c9e | [] | no_license | Johnnym65/Age-Of-Germs | fe71af8b98ec516d6b5c0c7177930b0822f51cf7 | 13a412515b9510af5a2ae42e412dab83df1dbcf1 | refs/heads/master | 2016-09-05T21:30:33.058531 | 2014-11-25T23:19:18 | 2014-11-25T23:19:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,386 | h | //
// GameObject.h
// MakeALevel
//
// Created by darren mckeever on 11/10/2012.
//
//
#ifndef __MakeALevel__GameObject__
#define __MakeALevel__GameObject__
#include <iostream>
#include "cocos2d.h"
//#include "../Utilities/ImageScaler/ImageScaler.h"
using namespace cocos2d;
//USING_NS_CC;
typedef enum tagSta... | [
"jonny_murphy65@hotmail.com"
] | jonny_murphy65@hotmail.com |
a5edfedb249445fa6b5ef05d4463cf567d724025 | 790c74e6fb10857cd396e07f1eb39c4733596e91 | /test/boost_test/oglplus/enums/framebuffer_target.cpp | 37c51da436c2a23828fcf937bec1972b136e05c2 | [
"BSL-1.0"
] | permissive | Blinky0815/oglplu2 | 838a4d9484359b8c381ab49827caad4bef7e0a39 | 8cc3f1d3305179e4ade8b3973f4862df7543ad2a | refs/heads/master | 2020-03-22T21:59:10.271736 | 2017-11-17T14:01:25 | 2017-11-17T14:01:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,994 | cpp | // File test/boost_test/oglplus/enums/framebuffer_target.cpp
//
// Automatically generated file, DO NOT modify manually.
// Edit the enumeration source files in 'source/enums/oglplus'
// or the 'source/enums/make_enum.py' script instead.
//
// Copyright Matus Chochlik.
// Distributed under the Boost Software Lice... | [
"chochlik@gmail.com"
] | chochlik@gmail.com |
febf8bf48006f5c0544ab816f877283c327228ed | 9557e87a1a5ba6caaa89d7dfece1c3d7f5d60440 | /main.cpp | afac46c73651cc84e830439e064b80d1dcaaf1db | [] | no_license | 259657/Projekt3koncowy | c2dd268d029a8b9d5431b656a7e59b6852134f8d | 5e3a9b77967d7ffeb657cce05738f47676b872e7 | refs/heads/master | 2023-06-02T08:18:15.089252 | 2021-06-22T17:47:46 | 2021-06-22T17:47:46 | 379,355,114 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 230 | cpp | #include "SFML/Graphics.hpp"
#include "SFML/Window.hpp"
#include "Engine.h"
#include "Player.h"
#include "Background.h"
#include <cstdlib>
int main()
{
srand(time(NULL));
Engine game;
game.run();
return 0;
}
| [
"259657@student.pwr.edu.pl"
] | 259657@student.pwr.edu.pl |
4aadad1819f9f12f25fcdf7ca1f37a36557f2e27 | 9d2ba5922492803a1de445bd76a209b68af2b7cc | /fba-miyoo-playable/src/burn/misc/post90s/d_wwfwfest.cpp | 3a23c57c14548805b6be4812ad4bd33f57c2d915 | [] | no_license | fzg780/miyoo-emu | bb95378fa8c6186f00c3269163d80401a79bf4ef | ca01f6ac47e047bc85343d89657c20d580722d4b | refs/heads/master | 2023-03-21T08:47:35.224289 | 2021-03-06T14:07:07 | 2021-03-06T14:07:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 38,358 | cpp | #include "tiles_generic.h"
#include "burn_ym2151.h"
#include "msm6295.h"
static unsigned char DrvInputPort0[8] = {0, 0, 0, 0, 0, 0, 0, 0};
static unsigned char DrvInputPort1[8] = {0, 0, 0, 0, 0, 0, 0, 0};
static unsigned char DrvInputPort2[8] = {0, 0, 0, 0, 0, 0, 0, 0};
static unsigned char DrvInputPort3[8] = {0, 0, 0... | [
"812699887@qq.com"
] | 812699887@qq.com |
9c8c8529e633449e11ff93be70aee37c3cb3f7f2 | ae219d28725c9dd58c200ae76ba3bf3f2a90d557 | /EclipseStudio/Sources/GameCode/UserSettings.cpp | 79a7f9e75ccd23c6b723f0de37ddfb463181306a | [] | no_license | pepekinha/src | de1f0c64cf1238e019f4daf7f87d95849304d88e | 5223858f05f6791f1dec30df1dbb91ae3e4f5952 | refs/heads/master | 2021-01-22T01:05:54.659896 | 2014-04-06T01:43:37 | 2014-04-06T01:43:37 | 27,421,524 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 7,246 | cpp | #include "r3dPCH.h"
#include "r3d.h"
#include "UserSettings.h"
UserSettings gUserSettings;
#define USERSETTINGS_FILE "userSettings.xml"
UserSettings::UserSettings()
{
}
UserSettings::~UserSettings()
{
}
bool UserSettings::createFullPath( char* dest, bool old )
{
bool res = old ? CreateWorkPath(dest) : CreateCo... | [
"highnetlan@gmail.com"
] | highnetlan@gmail.com |
1a7c3e887057cd0f3784a53a22661e690c26ca88 | bd4f2a36ef9f0d864cf747f75c6c36e50f91a67f | /Chapter_05_String/sourcecode/例4-3 文本编辑.cpp | acdd9c44c7651b15b5867de9f1c2425d6ce398e2 | [] | no_license | BoyuGuan/DATASTRUCTURE | 6df74fc0a98162f6939a40429753c97175a51eea | 0d0dced35514efda2a8b6c52f63fe699907e6db6 | refs/heads/master | 2021-04-19T23:35:24.741156 | 2020-04-20T02:37:18 | 2020-04-20T02:37:18 | 249,641,323 | 0 | 1 | null | 2020-03-24T07:32:19 | 2020-03-24T07:32:19 | null | GB18030 | C++ | false | false | 3,734 | cpp | # define MAX_LINE 1000 // 允许的最大行数
# define Number 80 // 可由用户定义的块大小
# include "stdlib.h" // 该文件包含malloc()、realloc()和free()等函数
# include "iomanip.h" // 该文件包含标准输入输出流cout和cin及控制符setw()
typedef struct Chunk {
char str[Number]; // 一个结点存放80个字符
struct Chunk *next;
}... | [
"32472889@qq.com"
] | 32472889@qq.com |
cde58d8757b76bca89af3d172d1bee75d9c43d0c | 9741d6c33395916fae4392fe8a11df280ce4b21a | /libhail/src/hail/query/backend/stype.cpp | ae8950d302cc361c9e1cb26e902d8222b1392b3d | [
"MIT"
] | permissive | MariusDanner/hail | 986cc1028b49cce4868784099cb1fa362988fc66 | 5ca0305f8243b5888931b1afaa1fbfb617dee097 | refs/heads/main | 2023-08-30T20:08:06.097881 | 2021-11-11T18:35:03 | 2021-11-11T18:35:03 | 344,064,561 | 0 | 0 | MIT | 2021-03-30T15:25:22 | 2021-03-03T09:05:11 | Scala | UTF-8 | C++ | false | false | 11,053 | cpp | #include <hail/query/backend/compile.hpp>
#include <hail/query/backend/stype.hpp>
#include <hail/query/backend/svalue.hpp>
#include <llvm/IR/Constants.h>
namespace hail {
SType::~SType() {}
void
SType::get_constituent_types(std::vector<PrimitiveType> &constituent_types) const {
switch (tag) {
case SType::Tag::BO... | [
"noreply@github.com"
] | MariusDanner.noreply@github.com |
2affe6a86cc4d54f7b4d4f8f8044778bdfc7d8f6 | 4ce5293947f136a0ded521c6d2794038b31ae793 | /src/ofxTLIGlitch.h | 400fdc967049dfb8b5ba34827e8695fde608a6cf | [
"MIT"
] | permissive | after12am/ofxTLGlitch | 127b1c3af9fdfc646b851d28602f8af05e1c6c07 | b32b12ff8ddf42ae1bbfbbaa0b2b97ba88bad509 | refs/heads/master | 2020-04-06T22:26:36.045103 | 2018-12-01T18:58:47 | 2018-12-01T18:58:47 | 4,062,205 | 7 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 574 | h | //
// ofxTLIGlitch.h
//
// Created by Okami Satoshi on 12/05/05.
// Copyright (c) 2012 Okami Satoshi. All rights reserved.
//
#ifndef _ofxTLIGlitch_h
#define _ofxTLIGlitch_h
#include "ofMain.h"
class ofxTLIGlitch {
public:
virtual void load(string name) = 0;
virtual void update() = 0;
virtual void draw(fl... | [
"me.after.12am@gmail.com"
] | me.after.12am@gmail.com |
6f177867a95020a916657a4f2670141a948a89b8 | 4537e56a2249748338f629d8fc5ab0ea7f09e43c | /Classes/GameAboutScene.cpp | e5897b7d5c283224e4030ba9c1381bb936f9cb24 | [] | no_license | xuzekun/MeowStarBattle | 394dcafd89b00629485ae8334f1ca2e38bbc11a0 | 87f40c8a753c2627716df565e45721814379c1d8 | refs/heads/master | 2016-09-02T05:30:27.584746 | 2014-04-24T07:33:23 | 2014-04-24T07:33:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,530 | cpp | #include "GameAboutScene.h"
CCScene* GameAbout::scene()
{
CCScene* scene = CCScene::create();
GameAbout* layer = GameAbout::create();
scene->addChild(layer);
return scene;
}
bool GameAbout::init()
{
if (!CCLayer::init())
{
return false;
}
CCSize size = CCDirector::sharedDirector()->getWinSize();
CCSprite... | [
"cs.xuzekun@gmail.com"
] | cs.xuzekun@gmail.com |
1930a613fd8a43a30bf9e5171eba586ce846ecfc | 23c524e47a96829d3b8e0aa6792fd40a20f3dd41 | /.history/ft_queue_test_20210607134020.cpp | e14d47c04cbc7498fd5bb321b255c984af037263 | [] | no_license | nqqw/ft_containers | 4c16d32fb209aea2ce39e7ec25d7f6648aed92e8 | f043cf52059c7accd0cef7bffcaef0f6cb2c126b | refs/heads/master | 2023-06-25T16:08:19.762870 | 2021-07-23T17:28:09 | 2021-07-23T17:28:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,346 | cpp | #include "Queue.hpp"
#include "Vector.hpp"
#include "List.hpp"
#include <deque>
#include <list>
#include <vector>
#include <iostream>
#include <iterator>
#include <stack>
#include <unistd.h>
#include <queue>
#define red "\x1b[31m"
#define green "\x1b[32m"
#define yellow "\x1b[33m"
#define blue "\x1b[34m"
#define cend ... | [
"asleonova.1@gmail.com"
] | asleonova.1@gmail.com |
52f23a7a4e235b3f60ad42e52ff8b0929e53dbed | 83b75fdf8f2b02a0ef81cdf82a102d8801aa2a42 | /10布尔类型.cpp | 716846b4a5399b554f38661eed0aa06be181b3e1 | [] | no_license | tb8489413/C-basis | 701f0df187356ef982f12d7000fc4860cc5b29aa | ff1b7ab8e2287c13847b2ad00739ad23fb245899 | refs/heads/master | 2020-09-01T13:18:06.317666 | 2019-11-04T00:52:50 | 2019-11-04T00:52:50 | 218,966,457 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 251 | cpp | #include<iostream>
using namespace std;
int main10() {
bool flag = true;
cout << flag << endl; // 1
flag = false;
cout << flag << endl; // 0
cout << "size of bool " << sizeof(flag) << endl; //1
system("pause");
return 0;
} | [
"noreply@github.com"
] | tb8489413.noreply@github.com |
5a4c2a187c42c09ef90c2b4a77a6dede9f84cf5a | aa8d29e7284a40d82f12f0301e6be103ede8dc47 | /UVa/10591.cpp | db3a298d616dc8b4ae9fb6f01f62860601a15620 | [
"MIT"
] | permissive | JobayerAhmmed/ProblemSolving | 1b31b7e38c40937ed3f244c5e0f5fba86288d238 | 38c7b4fb8ec08303c8f83ddb604a820b9b3d4256 | refs/heads/master | 2021-05-16T08:17:46.786969 | 2020-11-25T16:12:50 | 2020-11-25T16:12:50 | 104,047,546 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 880 | cpp | #include<iostream>
using namespace std;
int main(void)
{
int testCase;
int number;
int n;
int newNumber;
int flag;
int remainder;
cin >> testCase;
for(int i = 1; i<= testCase; i++) {
cin >> number;
n = number;
while(1) {
newNumber = 0;
... | [
"jobayer.ahmmed@gmail.com"
] | jobayer.ahmmed@gmail.com |
33b2596192701fcbbf6013313472b16876bf493c | 57f24846a3fa3670c8519af87e658eca120f6d23 | /B2_CoarseMesh/7/phi | 33ac4516fc2b98621ac16276c72cbb6762050ef0 | [] | no_license | bshambaugh/openfoam-experiments | 82adb4b7d7eb0ec454d6f98eba274b279a6597d8 | a1dd4012cb9791836da2f9298247ceba8701211c | refs/heads/master | 2021-07-14T05:53:07.275777 | 2019-02-15T19:37:28 | 2019-02-15T19:37:28 | 153,547,385 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,119,757 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 4.1 |
... | [
"brent.shambaugh@gmail.com"
] | brent.shambaugh@gmail.com | |
e394910a081b51d5bad8a1469f47d63388088051 | cbfec160038561ce42a072cdef6c804bbeeca5d6 | /hash.cpp | b6e51a517b8c0713b347d883bb316895702a190e | [] | no_license | KristinaKulabuhova/IronStack | b95dd8f6221c33f044d2c8f35ecbcc5c9d488172 | a107d86e947b79a3dcb85db3e551b95872d6c5e3 | refs/heads/master | 2023-02-23T15:47:28.204609 | 2021-01-27T13:30:53 | 2021-01-27T13:30:53 | 332,055,366 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,213 | cpp | #include <stdio.h>
#include "hash.h"
int64_t array_hashing(const StackElement* array, int64_t size) {
int64_t hash = 0;
for (int64_t i = 0; i < size; ++i) {
hash += i * array[i] + 7;
}
return hash % 103;
}
StackElement* fill_array(StackElement* array, int64_t size) {
for (int64_t i = 0; i... | [
"60937316+KristinaKulabuhova@users.noreply.github.com"
] | 60937316+KristinaKulabuhova@users.noreply.github.com |
7fd2779c6d882247e904118f61b334f8c19de69a | 0a70273f914845a1f57b962b37d5886fc9d4dd65 | /solutions/122.best-time-to-buy-and-sell-stock-ii/best-time-to-buy-and-sell-stock-ii.cpp | 435ebed5086b556b04b5f7ffe0d9c23af3af72ee | [] | no_license | DjangoWu/LeetCode | 1c09a61571019b9ffa3ed30079bc75bbf74c6046 | dfe5ec833e5f1a2b78087b8fa6e96f344709c606 | refs/heads/master | 2020-03-11T09:48:44.512617 | 2018-04-17T15:15:25 | 2018-04-17T15:15:25 | 124,164,725 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 334 | cpp | class Solution {
public:
int maxProfit(vector<int> &prices) {
int len = (int)prices.size();
if(len <= 1)
return 0;
int sum = 0;
for(int i = 1; i < len; i++)
if(prices[i] - prices[i - 1] > 0)
sum += prices[i] - prices[i - 1];
return... | [
"843584324@qq.com"
] | 843584324@qq.com |
895a5a8df203972bf33e7a026437ff99e2ed182b | d5f6e9cdaac81f4898ae4b71cd21f1915e9f5a71 | /swapDoubleArray.cpp | a1b285ae6df5584f6726b1c2a4817fa0f1a867be | [] | no_license | anhtranminh110699/Hoc_Cplusplus_nguyenvanhieu | 812e78356bdbc89a7e17f6c9ac6d5c785b8e8b9c | 33e6281e6e97bbe25bc205233553eae4ed29ef87 | refs/heads/main | 2023-08-22T14:44:58.258423 | 2021-10-17T03:06:21 | 2021-10-17T03:06:21 | 413,483,529 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,303 | cpp | //Bai toan hoan vi 2 hang cua ma tran
#include <iostream>
using namespace std;
#define MAX_ROW 100
#define MAX_COL 100
void input(int[][MAX_COL],int,int);
void output(int[][MAX_COL],int,int);
void swap(int[][MAX_COL],int,int,int);
int main()
{
int a[MAX_ROW][MAX_COL];
int n, m;
int x, y;
do
{
... | [
"anhtranminh110699@gmail.com"
] | anhtranminh110699@gmail.com |
c5e6f54957e2821d8ffc042c10e4f8c126aef89c | a4209877d69936e8b42fa0ca059b44a6492be1bf | /src/TUM/tumformat2PointCloud.cpp | 7724882d6615990403ea6ec3c072448cf8707b3a | [] | no_license | yft1996/toolForDataset | a8fb62daca22d878f16e9228309d3e17b981d58d | 51fb5f19aefbe389fa20d8a82131391f12bd8eb9 | refs/heads/master | 2020-12-03T14:10:40.221711 | 2020-01-17T08:08:30 | 2020-01-17T08:08:30 | 231,349,091 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,431 | cpp | #include <iostream>
#include <fstream>
using namespace std;
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <Eigen/Geometry>
#include <boost/format.hpp> // for formating strings
#include <pcl/point_types.h>
#include <pcl/io/pcd_io.h>
#include <pcl/visualization/pcl_visualizer.h>
int m... | [
"yangfengtuo@163.com"
] | yangfengtuo@163.com |
65b5bd03b2f88d5cde9c58c16f17ccd3932609fa | 2c4649c50e914b3fcad25c57480781e24115a1da | /ImageSamplers/itkImageGridSampler.h | 3351a0eeb373a2e4e8a11b1487392a23df503b31 | [] | no_license | midas-journal/midas-journal-743 | a9763a9df1d47343afacf7da995ade91171ceb4d | 283d76b3f887d5711bca81911b22a69a268857e5 | refs/heads/master | 2020-03-26T18:40:35.851601 | 2011-08-22T13:47:27 | 2011-08-22T13:47:27 | 2,248,736 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,739 | h | /*======================================================================
This file is part of the elastix software.
Copyright (c) University Medical Center Utrecht. All rights reserved.
See src/CopyrightElastix.txt or http://elastix.isi.uu.nl/legal.php for
details.
This software is distributed W... | [
"root@insight-journal.org"
] | root@insight-journal.org |
54544bf2815097ea14b621167c8a2051d1ae69c3 | 212f9b0fb5ba4090265e1c2b7399249b2e0e5bb2 | /scoperesolution/main.cpp | b9a28174178843358314ef42bc52ea591a401d27 | [] | no_license | Gya7329/c-plus-complete-program | 81175ca8002fa4a4f06c4dc6e83525c6757f6490 | aafa4f572f92ce005d95d0b3cc74dde5ace57e88 | refs/heads/master | 2023-02-16T18:37:01.900932 | 2021-01-16T14:32:27 | 2021-01-16T14:32:27 | 330,181,066 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,042 | cpp | /* Class Rectangle
Write all functions for rectangle
class Rectangle */
#include<iostream>
using namespace std;
class Rectangle
{
private:
int length;
int breadth;
public:
Rectangle();
Rectangle(int l,int b);
Rectangle(Rectangle &r);
int getLength(){return length;}
int getBreadth(){return breadth;}
void setLen... | [
"hasmuddin@knockri.com"
] | hasmuddin@knockri.com |
08ca706e73a5279451c3d6a3439f282b4154c4bf | 24f26275ffcd9324998d7570ea9fda82578eeb9e | /services/preferences/pref_store_manager_impl.h | b5ced9565d3c758318d7dcb61f5d356d4e174449 | [
"BSD-3-Clause"
] | permissive | Vizionnation/chromenohistory | 70a51193c8538d7b995000a1b2a654e70603040f | 146feeb85985a6835f4b8826ad67be9195455402 | refs/heads/master | 2022-12-15T07:02:54.461083 | 2019-10-25T15:07:06 | 2019-10-25T15:07:06 | 217,557,501 | 2 | 1 | BSD-3-Clause | 2022-11-19T06:53:07 | 2019-10-25T14:58:54 | null | UTF-8 | C++ | false | false | 3,901 | h | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SERVICES_PREFERENCES_PREF_STORE_MANAGER_IMPL_H_
#define SERVICES_PREFERENCES_PREF_STORE_MANAGER_IMPL_H_
#include <memory>
#include <set>
#include... | [
"rjkroege@chromium.org"
] | rjkroege@chromium.org |
d6ca4860ddfffe30f815f51a148d4e1dac5dde71 | fe3cc6465e2ed72565c03f7952b337e6b5875425 | /OpenFOAM_Examples/Quasi_DNS_Dowtherm_Mixed_Conv/Stable_RANSCase1/processor1/97.6/phi | b7afdfbe0f848a056526ac7e4a6df2a54ca8c619 | [] | no_license | EXthan/turbulenceModelling | 185772aac79c2a3e6b3620b5b5e285304c1b2de0 | fdb66b497c15db1a570edb05a0cd83ed93df68c8 | refs/heads/master | 2022-12-04T20:47:50.965306 | 2020-08-24T02:34:23 | 2020-08-24T02:34:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 32,582 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1906 |
... | [
"tong011@e.ntu.edu.sg"
] | tong011@e.ntu.edu.sg | |
29e39e724700eb17191fe2a921e78855a25dd0c2 | 49b55d810e91dcee83a9938f53f750fc51404dc5 | /Source/Projects/BrickBreaker/Levels/Level1.cpp | 70de82fcf4c7156ee44ddd3438ccae5f292f86a1 | [] | no_license | VladCatalin19/ComputerGraphics-BrickBreaker | e5dc44b9d7fa6f22c7df895e09b2aa94386207c9 | ae5ba2ad63c242fcaed25f087ad68cb4010575c2 | refs/heads/master | 2021-07-06T13:02:50.223167 | 2020-08-27T13:36:22 | 2020-08-27T13:36:22 | 171,114,402 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,439 | cpp | #include "Level1.h"
Level1::Level1() : Level() {
}
Level1::Level1(glm::ivec2 resolution) : Level(resolution) {
}
Level1::~Level1() {
}
void Level1::InitLevelDependentConstants() {
// Ball
ballSpeed = 300.0f;
// Bricks
brickWidth = 50.0f;
brickHeight = 25.5f;
widthBet... | [
"vcatalin97@gmail.com"
] | vcatalin97@gmail.com |
f8503ba019b24480b6663c27a36602b918b9b51e | 948f4e13af6b3014582909cc6d762606f2a43365 | /testcases/juliet_test_suite/testcases/CWE762_Mismatched_Memory_Management_Routines/s04/CWE762_Mismatched_Memory_Management_Routines__delete_struct_calloc_74a.cpp | 3cf8bb74edb74fb3e0a290d73c9780f0608f0293 | [] | no_license | junxzm1990/ASAN-- | 0056a341b8537142e10373c8417f27d7825ad89b | ca96e46422407a55bed4aa551a6ad28ec1eeef4e | refs/heads/master | 2022-08-02T15:38:56.286555 | 2022-06-16T22:19:54 | 2022-06-16T22:19:54 | 408,238,453 | 74 | 13 | null | 2022-06-16T22:19:55 | 2021-09-19T21:14:59 | null | UTF-8 | C++ | false | false | 3,276 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE762_Mismatched_Memory_Management_Routines__delete_struct_calloc_74a.cpp
Label Definition File: CWE762_Mismatched_Memory_Management_Routines__delete.label.xml
Template File: sources-sinks-74a.tmpl.cpp
*/
/*
* @description
* CWE: 762 Mismatched Memory Management R... | [
"yzhang0701@gmail.com"
] | yzhang0701@gmail.com |
de7ff5c1f6e9fc4342bfafc7e2bf02ecd46fdd63 | 305652c7bbdda46a7f4767a06c7e3573d8ab4b84 | /codeforces/131/C.cpp | 5323c902058378f3d0050616b3b640e417bdc935 | [] | no_license | ImperishableMe/codeforces-submissions | cde2ac379aa0580937d935f1ece7d3681e45471a | 9cd18f567c477f7392f2994c22168b4c6801d02c | refs/heads/master | 2023-06-15T03:46:05.243797 | 2021-06-18T13:34:00 | 2021-07-11T07:20:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,872 | cpp | //HK HK HK HK HK 108 times
#include <bits/stdc++.h>
#define PII pair < int , int >
#define PI 2.0*acos(0.0)
#define ll long long int
#define DEBUG(x) cout << '>' << #x << ':' << x << endl;
#define all(x) x.begin(),x.end()
#define sz(x) ((int)x.size())
#define FOR(i, a, n) for(int i = int (a); i < int (n); i... | [
"bishwajit0020@gmail.com"
] | bishwajit0020@gmail.com |
8c7348d963fa4a954f970bff3e40859ed0d30679 | 4afc9826c4f153d465405410851a67ba20c41bc7 | /History Parser/HistoryParser_DLL/PSParadiseGetSmallBlind.h | e33ccf93a8a7c95f5ca9044c9f0a1625f27410d9 | [] | no_license | aliakbarRashidi/2003RTOnlinePokerStats | 3755656b73b830ed8f7d3fb36a28fd2764f1c7a4 | 1132eff688ae4b00269583b6efa84272dbe3d8b4 | refs/heads/master | 2020-05-09T21:08:42.386148 | 2016-09-29T11:49:49 | 2016-09-29T11:49:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 726 | h | // PSParadiseGetSmallBlind.h: interface for the CPSParadiseGetSmallBlind class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_PSParadiseGETSMALLBLIND_H__F274370C_84C4_4B2C_89BF_E473A9514558__INCLUDED_)
#define AFX_PSParadiseGETSMALLBLIND_H__F274370C_84C4_4B2C_89BF_E473A9514... | [
"piers.shepperson@btinternet.com"
] | piers.shepperson@btinternet.com |
db3d963ff5ea5c23e5699e9191df824a32954c7d | 7ec327e08a35fa7ba13e64db417475eed8b258fb | /controllers/ros_custom/include/webots_ros/field_get_vec2fResponse.h | 1adf495839db68da9ec7d71896f0aa4ec525524c | [] | no_license | Federico-Ciuffardi/webots_benchmark | accb69213098b534011c6ddfcd466a8ca1d466b5 | 0c2c2e464cfdc1b0a021e79b7f338884f68903b6 | refs/heads/master | 2023-04-20T01:30:39.314603 | 2021-05-13T19:25:21 | 2021-05-13T19:25:21 | 360,763,711 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,944 | h | /*
* Copyright 1996-2020 Cyberbotics Ltd.
*
* 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 ... | [
"federico.ciuffardi@outlook.com"
] | federico.ciuffardi@outlook.com |
6f435f70be26b7b9f38e987e792855ae05fbce2d | 1190e772186dbdc16efd19f5f6e129486b046622 | /src/ratel.h | 9d281737b42a149abb30f9234ada1d9b333d4c9c | [] | no_license | pablomvb/rateljs | ae58023bc3c40f48a1fd6e00c500ec040ee7c1c4 | 0fd8f482b1f18c6833b75a38549b6dc746a4c969 | refs/heads/master | 2021-03-11T01:31:24.286389 | 2020-05-12T12:07:03 | 2020-05-12T12:07:03 | 246,482,478 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,408 | h | #ifndef JSBROWSER_H
#define JSBROWSER_H
#include <QObject>
#include <QMap>
#include <QJSValue>
class QWidget;
class QJSEngine;
class RatelOptions;
class Ratel : public QObject
{
Q_OBJECT
// Crazy and strange analogy
// Ratel -> Tejon de la miel
// Agresivo, igual que chrome con la memoria
// QWe... | [
"pablomvb@lenovo"
] | pablomvb@lenovo |
62566b7b7b79ac9efb28adc53d21edb831dd3c3e | 38b9daafe39f937b39eefc30501939fd47f7e668 | /tutorials/2WayCouplingOceanWave3D/basicTutorialwtProbesResultsWtPhiCoupled_180625/23.8/alphaPhi | 775f7184308ec2b580240ee3ef5daba9bb24f3cc | [] | no_license | rubynuaa/2-way-coupling | 3a292840d9f56255f38c5e31c6b30fcb52d9e1cf | a820b57dd2cac1170b937f8411bc861392d8fbaa | refs/heads/master | 2020-04-08T18:49:53.047796 | 2018-08-29T14:22:18 | 2018-08-29T14:22:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 529,022 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 3.0.1 |
... | [
"abenaz15@etudiant.mines-nantes.fr"
] | abenaz15@etudiant.mines-nantes.fr | |
bc4bd3f000ca6154b991d05856b68596b08f8e10 | 4f0fc889b8f53a446d13bfc291858d3b882ffb66 | /libraries/chain/protocol/vote.cpp | c449b472359e173df2061dee07ab58d59e0e5ddc | [
"MIT"
] | permissive | hwlsniper/enudex-core | 8492c90a895c3c4459fac2e465e230efe2d306b9 | 6a01603557e1ab83446a492b4eec4cc3c446f1e0 | refs/heads/master | 2021-04-05T23:54:58.221979 | 2018-03-11T02:07:57 | 2018-03-11T02:07:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,751 | cpp | /*
* Copyright (c) 2015 Cryptonomex, Inc., and contributors.
*
* The MIT License
*
* 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... | [
"admin@enumivo.org"
] | admin@enumivo.org |
65847ca1248677d1b8da818e7d71696413b42ed7 | bde622bd6c8d50528930fc62deeb397575e7c0eb | /SDL/Experiments/03/main.cpp | 731e6b82e1d25296c327639099bfc4dd4e477fe3 | [] | no_license | dnivanthaka/demo-programs | 6b6700b262bd0509aa319e4a79848b73587be9da | b763c71023cc7553344043851921879c79480b84 | refs/heads/master | 2021-01-10T13:00:58.191468 | 2016-03-20T07:56:57 | 2016-03-20T07:56:57 | 54,304,721 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,320 | cpp | /*
* =====================================================================================
*
* Filename: main.cpp
*
* Description: Main launcher
*
* Version: 1.0
* Created: 09/16/2014 10:08:46 PM
* Revision: none
* Compiler: gcc
*
* Author: D.N. Amerasinghe ... | [
"dinusha@DinushaPC.Home"
] | dinusha@DinushaPC.Home |
04363c4c6c67f04a759fb11f03dd0712ef0d8c4a | 5bc47dcf9ab0843b9d06bc25012bcb2f78874216 | /1166B.cpp | 4fe71bdfa0193d501e5d2aa3b0b852a19f5e53bd | [] | no_license | MijaTola/Codeforce | 428f466248a4e9d42ac457aa971f681320dc5018 | 9e85803464ed192c6c643bd0f920f345503ac967 | refs/heads/master | 2021-01-10T16:27:12.479907 | 2020-10-14T15:00:14 | 2020-10-14T15:00:14 | 45,284,776 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 644 | cpp | #include <bits/stdc++.h>
using namespace std;
char v[] = {'a', 'e', 'i', 'o', 'u'};
int main() {
int k;
cin >> k;
int a = -1, b = -1;
for (int i = 5; i <= k; ++i)
for (int j = 5; j <= k; ++j)
if(i * j == k) {
a = i;
b = j;
break;... | [
"mija.tola.ap@gmail.com"
] | mija.tola.ap@gmail.com |
3ee2b8719b7757140cee0264c33a4301af4f2a91 | 44d9c01b9e6cbcc8f65c349c59b079f142bb9358 | /CoDVinNs2/aodv.h | c22a7a198a87fa50fcec7b3b8747f565524c87ba | [] | no_license | janequeen/CODV | a05fc66bce917a292cb911e1470d10277627bbd1 | 3f976fc1741f0b76113983080dbed04a6fa88845 | refs/heads/master | 2020-05-16T22:53:36.426655 | 2014-08-05T11:40:06 | 2014-08-05T11:40:06 | 22,104,097 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,708 | h | /*
Copyright (c) 1997, 1998 Carnegie Mellon 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,
this list of condition... | [
"qiwn@dsp.ac.cn"
] | qiwn@dsp.ac.cn |
94716185b59f3a4585a6d14f4b076425e7d46c8e | 13500b849db6d62ac7ee94e32ddd76681af79d6b | /1066/ccf1066.cpp | c6531b92fdac3ca58ac233a1283d267005a47217 | [] | no_license | syjsu/noip-with-vue.js | 055a90d13dedd2c00b2d449a39fa4f3128270480 | 6076cd41b5343dd3ff18b4c4afec207021f8c78b | refs/heads/master | 2020-03-17T20:15:42.362689 | 2018-05-24T05:10:27 | 2018-05-24T05:10:27 | 133,900,801 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 388 | cpp | #include <cstdio>
#include <cmath>
#include <cstring>
int main()
{
int n, i, j;
int flag[10000+5];
memset(flag, 1, sizeof(flag));
scanf("%d", &n);
for (i=2; i<sqrt(n); i++)
for (j=2; i*j<=n; j++)
flag[i*j] = 0;
if (n>=5)
{
for (i=2; i<=n-2; i++)
if (flag[i] && flag[i+2]) printf... | [
"syjsu@qq.com"
] | syjsu@qq.com |
9ff2ce4ea0ff6ce80fa832a03eef36f8465c9e3d | 6f4e08f26d41e017db969ea2bc067d3d055f751f | /ReHitman/Glacier/include/Glacier/ZCollisionWintel.h | 6c4bcf2c5e14ea81b3de0d7591ec44a6f82721f4 | [] | no_license | ipoopedmypantsuups/ReHitman | ef1c550a70d0a1d098e2a8c1cfd8cfb6b51a4ece | b4dfd36270a17eef510a88de90d65915b4fc5042 | refs/heads/main | 2023-08-07T16:01:45.509287 | 2021-09-12T09:01:39 | 2021-09-12T09:01:39 | 357,532,073 | 0 | 0 | null | 2021-04-13T11:43:48 | 2021-04-13T11:43:48 | null | UTF-8 | C++ | false | false | 49,242 | h | #pragma once
namespace Glacier
{
class ZCollisionWintel
{
public:
// vftable
// data
int field_4;
int field_8;
int field_c;
int field_10;
int field_14;
int field_18;
int field_1c;
int field_20;
int field_24;
in... | [
"alexandrleutin@gmail.com"
] | alexandrleutin@gmail.com |
d7c3c1f1669da59bb4ac8d832b9e5cf386aed4cf | fb98ea3594e14a74431d551106822193f2afe15d | /gonghitter.ino | b6752865722d69dc150f78261ecedcb990fa4445 | [] | no_license | vikram7/GongHitter | c51ed4987125fd7705e253f20f237c28ca5c6ff4 | 61a915727efaccb043a1b2ed51f677a72456f7bd | refs/heads/master | 2021-01-17T05:24:34.181385 | 2014-09-27T21:21:30 | 2014-09-27T21:21:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 594 | ino | // GongHitter
// by Vikram and Richard
#include <Servo.h>
int STEP = 5;
int DELAY = 500;
unsigned long TIME_BETWEEN_HITS = 3600000; // one hour
//1000 * 60 * 60 * 24;
Servo myservo; // create servo object to control a servo
// a maximum of eight servo objects can be created
void moveMallet() {
// move home
m... | [
"lord.ezar@gmail.com"
] | lord.ezar@gmail.com |
4e0fc9a03c1bdcb10f4f213b3892daa92f641e97 | 03f037d0f6371856ede958f0c9d02771d5402baf | /graphics/VTK-7.0.0/Rendering/Core/vtkPropPicker.h | c5012dea6b4eaae0d8750bf92c53fdf174551de5 | [
"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 | 2,927 | h | /*=========================================================================
Program: Visualization Toolkit
Module: vtkPropPicker.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This soft... | [
"shentianweipku@gmail.com"
] | shentianweipku@gmail.com |
39ad7773cf298fffc508330f888c7faea7c61520 | c8b39acfd4a857dc15ed3375e0d93e75fa3f1f64 | /Engine/Source/ThirdParty/llvm/3.6.2/include/clang/AST/RecordLayout.h | 7b7799884a3dc66c5b10fac8df28bac687f1f93b | [
"MIT",
"LicenseRef-scancode-proprietary-license"
] | permissive | windystrife/UnrealEngine_NVIDIAGameWorks | c3c7863083653caf1bc67d3ef104fb4b9f302e2a | b50e6338a7c5b26374d66306ebc7807541ff815e | refs/heads/4.18-GameWorks | 2023-03-11T02:50:08.471040 | 2022-01-13T20:50:29 | 2022-01-13T20:50:29 | 124,100,479 | 262 | 179 | MIT | 2022-12-16T05:36:38 | 2018-03-06T15:44:09 | C++ | UTF-8 | C++ | false | false | 11,332 | h | //===--- RecordLayout.h - Layout information for a struct/union -*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"tungnt.rec@gmail.com"
] | tungnt.rec@gmail.com |
c4f2d331a6012ba97df72cc043d7655c31c06d88 | 981424b086d8a00fc84ce5a579a48763ef1b988f | /src/core/bspline_multi.cpp | 172a777996c7c40d52db006d6c2be133d1cae6f8 | [
"BSD-2-Clause"
] | permissive | ShiveshM/photospline | 49bd61a158dabed8bd9149ba81f59871453c206f | 78fb44bc447d30979534684358cb9256152e8c5b | refs/heads/master | 2021-01-25T13:46:48.166526 | 2018-03-01T23:29:42 | 2018-03-01T23:29:42 | 123,608,431 | 0 | 0 | BSD-2-Clause | 2018-03-02T17:19:02 | 2018-03-02T17:19:00 | null | UTF-8 | C++ | false | false | 2,564 | cpp | /*
* bspline_multi.c: Provides efficient routines using vector intrinsics to
* simultaneously compute the value and gradient of an N-dimensional
* B-spline surface.
*/
#include <cmath>
#include <cstdlib>
#include <cstring>
#include <cassert>
#include "photospline/bspline.h"
#include "photospline/detail/simd... | [
"cnweaver@gmail.com"
] | cnweaver@gmail.com |
6674d6b5047ce1a2e4d387c912adb5daa8841a8f | 5a216ce02d3618fe6d527856b61b09bd135bf193 | /Voxel-Trace/Source/Voxtrace.h | af67a5adc39d6173c2177d6e81a1dd1c46d97984 | [
"MIT"
] | permissive | JuanDiegoMontoya/Voxel-Trace | e99aeaa224b6e7dee021bb6d91a1080c151a2dae | ea4c80c8a33698269b84b6332ab78694b8d262be | refs/heads/master | 2023-06-22T03:30:31.284549 | 2023-06-14T11:21:50 | 2023-06-14T11:21:50 | 247,860,347 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 526 | h | #pragma once
namespace Voxels
{
void Init();
void InitGLStuff();
void InitBlocks();
void Render();
void CameraRaySnapshot();
int& ShadowRays();
struct Block
{
Block() = default;
Block(glm::vec3 d, float a, float in)
: diffuse(d), alpha(a), n(in) {}
glm::vec3 diffuse = { 1, 1, 1 };... | [
"jake.ryan@digipen.edu"
] | jake.ryan@digipen.edu |
deae7234743251e43187c458d73e36e70de4a0dc | 916966b5df0dfde4a95895e584b79ef11b77db05 | /lib/MPU6050/ESP32_MPU6050.cpp | 14d71c627bab76d70c1dcb554b1c2acfddbbba81 | [] | no_license | Lucho-LJA/OMNI_ROB_ESP32 | e64f8797719d9795193902592b8436995db5561a | 0031dc18762e7572514da29a4f038c9792accafd | refs/heads/master | 2023-05-26T12:34:53.771325 | 2021-06-16T16:53:08 | 2021-06-16T16:53:08 | 296,983,257 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 136,290 | cpp | // I2Cdev library collection - MPU6050 I2C device class
// Based on InvenSense MPU-6050 register map document rev. 2.0, 5/19/2011 (RM-MPU-6000A-00)
// 8/24/2011 by Jeff Rowberg <jeff@rowberg.net>
// Updates should (hopefully) always be available at https://github.com/jrowberg/i2cdevlib
//
// Changelog:
// 2019-07-08 -... | [
"OmniRob V1.2 En Funcionamiento"
] | OmniRob V1.2 En Funcionamiento |
566a4411e639c2cb25415166ebcb66fd3bcc7c7b | 0b6f4da33edbf84da2fdc8c8f9ab6ae5721d9037 | /chap03/DoubleList/DoubleList.templates.h | 3deb90618674ec18a9fb694a80122619cf11a805 | [] | no_license | wly2018/cpp | 142b34c9a3bcf30761487c12c13897cff12fb1b5 | 56555046d73225b82fffaf7aaae37a57c806ad65 | refs/heads/master | 2020-04-26T08:52:40.754790 | 2019-12-15T14:18:05 | 2019-12-15T14:18:05 | 173,437,263 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 48 | h | #include "DoubleList.h"
namespace CRAZYFISH{
}
| [
"noreply@github.com"
] | wly2018.noreply@github.com |
e2f8407e25f61dc5f5e62a6dfc7c2aafa1743a1a | 836a1641cd140a114687c8fb3517c18d001e6894 | /src/server/game/Entities/Creature/GossipDef.cpp | 0233eb746462a621854ba8998429bd84b677a440 | [] | no_license | Abyssking/AtomicCore-3.3.5a | 01dac623e253c32a9c07e252c30a1fb33e5d125a | 12e48b4dd68c672356d00e993605f8a84298a13a | refs/heads/master | 2021-01-15T23:21:04.432359 | 2013-05-16T01:03:45 | 2013-05-16T01:03:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27,607 | cpp | /*
* Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/>
*
* 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 ver... | [
"ano.fk@gmx.de"
] | ano.fk@gmx.de |
41e5ef3965ad7b865f4ff4866f395a4e810827e1 | e03114b76a969635bf5a389b93516cbead6e310f | /include/aarect.h | 428b4524c35b3432c9804345a03d14338dbe27c4 | [] | no_license | zhiyang-jzy/learnrtx | 60179d9e4c0a8cf86295272a8173e028a7eac4b9 | d8315f8cbac05a57568b82d31bee14bf81296d60 | refs/heads/master | 2023-03-09T17:07:24.326631 | 2020-11-12T03:12:12 | 2020-11-12T03:12:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 527 | h | //
// Created by Yang on 2020/11/12.
//
#ifndef RAYTRACE_AARECT_H
#define RAYTRACE_AARECT_H
#include "rtweekend.h"
#include "hittable.h"
class xy_rect : public hittable {
public:
shared_ptr<material> mp;
double x0, x1, y0, y1, k;
public:
xy_rect() {}
xy_rect(double _x0, double _x1, double _y0, doub... | [
"jzy991126@outlook.com"
] | jzy991126@outlook.com |
1da0e80a7de8b085c17a88ee2b3f673b6d63560e | 98d58d4327b6b5737754f14f2b28327e068325c1 | /pair.h | ed56054e1630c1ab0d0bc3992cf11497f04b5742 | [] | no_license | GeorgeLS/os_dproj_2 | 0071bf9715d92039c12cf0ce4b8cb7abcb04eb18 | 523a3b10e62e90ea7e0bc9fa61e6123cad885663 | refs/heads/master | 2020-09-21T08:43:06.030454 | 2019-11-28T23:41:44 | 2019-11-28T23:41:44 | 224,744,934 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,333 | h | #ifndef EXERCISE_II__PAIR_H_
#define EXERCISE_II__PAIR_H_
#include <utility>
#include <bits/unique_ptr.h>
#include "metaprogramming.h"
template<typename T, typename U>
struct Pair {
T first;
U second;
inline bool operator==(Pair<T, U> &rhs) {
return first == rhs.first && second == rhs.second;
}
inline ... | [
"sdi1600094@di.uoa.gr"
] | sdi1600094@di.uoa.gr |
3f4d1d68fcf82d3242ff503a7f8c6969b1f43e77 | 73fada0864303e0872d9bac93d8c63de0914b085 | /testes_merge.cpp | 9a9f4466e4a039b8f80d7b54512c2604272a5a3d | [] | no_license | 1ELE705-UEL-2018/Lab8_Testes | e6bc81f4ce8c00dbc9e310d473a95e542e09a294 | e8623cf02937aab3763a6d038820625865f22176 | refs/heads/master | 2020-04-07T17:30:17.788028 | 2018-11-21T15:51:07 | 2018-11-21T15:51:07 | 158,572,050 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,114 | cpp | #include "gtest/gtest.h"
#include "aux_test_functions.h"
extern "C"
{
#include "lab8.h"
}
TEST(merge, A_B_Vazios)
{
merge(NULL, NULL, 0, NULL, 0);
}
TEST(merge, A_UmElemento_B_Vazio)
{
int A[1] = { 0 };
int C_depois[1] = { 0 };
int C[sizeof(C_depois)/sizeof(int)];
merge(C, A, sizeof(A)/sizeof(int), NULL, 0);
... | [
"decio@decpp.net"
] | decio@decpp.net |
f5fd7a6b7c0c7621ae9bb5627850dc9ab41d5021 | 19f93e66f97eb6f3387a38505119f8a7c87e2361 | /Trabalho/Processo.cpp | b85f0ad6f81b12a7e368c039b9727de655962faf | [] | no_license | juliamellolopes/Problema11 | 22d04a10fc044dc9af50d1f7b072a1a14e792bde | 8af08e509e69159c8776c4c55fef9a1ecd920f9d | refs/heads/main | 2023-06-18T02:55:36.793813 | 2021-07-11T16:03:18 | 2021-07-11T16:03:18 | 377,811,574 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 400 | cpp | #include "Processo.hpp"
Processo::Processo(){
setId(0);
setPage(0);
setValor(-1);
}
void Processo::setId(int id){
this->id = id;
}
void Processo::setPage(int page){
this->page = page;
}
void Processo::setValor(int valor){
this->valor = valor;
}
int Processo::getId(){
return this->id;
}
int Processo::ge... | [
"juliamellolopesgoncalves@gmail.com"
] | juliamellolopesgoncalves@gmail.com |
442ef675ac859f27200f7d9bc551cef5ba0a81ac | 002f5ac6121681829bfc623307c77f56171b9504 | /state.h | 08cd8025010bb27e34706c2f30fa3cfaadf430eb | [] | no_license | zavalroman/osubaka | df85716733fa8aa624139a915dfc7b4f5f0f3002 | 8100ef03200aeb51c924e131c7226589f6ac7ca9 | refs/heads/master | 2020-06-17T13:13:05.664715 | 2017-01-03T17:05:05 | 2017-01-03T17:05:05 | 75,001,453 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,305 | h | /*
* state.h
*
*/
#ifndef STATE_H
#define STATE_H
#include "beatmap.h"
class State : public Beatmap {
public:
State() : Beatmap() {
firstRenderObj = 0;
lastRenderObj = 0;
//postLastObj = 0;
bufFirst = -1;
bufLast = 0;
tpStep = 0;
}
~State() {
}
void setTime( lon... | [
"zavalroman@gmail.com"
] | zavalroman@gmail.com |
51e1d0fb76d0faefb821bfbbff5276a91252230c | 4f379408fc94e7bea37c8ed47b991ed1d627b9e2 | /kml.hpp | 2fe1cb3c6d02928445c0a9f82dae454126452108 | [] | no_license | joongsim/Image-Mapper | 69fe1de385001089e0f46ecac98eabe0f22b38ca | eec09a1b02457fa9e2ea2a1a3578839709ea2f1a | refs/heads/master | 2020-12-02T19:28:18.932171 | 2017-09-21T16:41:25 | 2017-09-21T16:41:25 | 96,346,592 | 0 | 0 | null | 2017-09-21T01:02:20 | 2017-07-05T17:54:30 | C++ | UTF-8 | C++ | false | false | 264 | hpp | //
// kml.hpp
// proj
//
// Created by Andrey Losev on 7/25/17.
// Copyright © 2017 Andrey Losev. All rights reserved.
//
#ifndef kml_h
#define kml_h
#include <string>
#include "linklt.hpp"
void writekml(const std::string&, listnode*);
#endif /* kml_h */
| [
"andreylosev@gmail.com"
] | andreylosev@gmail.com |
5d5bf98c04174b02976e0438e7258c5a47f568fd | 35ea42225d973e7d79a28b3a3147611d61dbeffd | /Assignment2/Assignment2/main.cpp | 61c5d2960af11337abc69ca8d4261a0fb06ff430 | [] | no_license | Nathan-Dunne/Console-Based-Shooter | 83b87c8bb8c0c89e24db4f7846c14a0c559b8005 | 18222e0ecb5c7a3d3ed41d973f57ca5e574327f4 | refs/heads/master | 2020-05-29T10:13:09.939156 | 2019-05-28T19:23:19 | 2019-05-28T19:23:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,619 | cpp | #define _CRT_SECURE_NO_WARNINGS
#include "Game.h"
#include "SDL.h"
#include "SoundManager.h"
#include <Windows.h>
using namespace std;
const int FPS = 10;
const int DELAY_TIME = 1000.0f / FPS;
int main(int argc, char **argv)
{
srand(time(NULL)); // Seed random.
SDL_Init(SDL_INIT_EVERYTHING); // Initialise all of ... | [
"1nathandunne1@gmail.com"
] | 1nathandunne1@gmail.com |
d1266a023aee645ad1e575a8cbca037de513f345 | 4ec56d3dfec333815d4cccb194d94b0911c66f65 | /HttpLib/SocketClient.h | 28f2588a02535a01ae2cde3545a7c39dda49b529 | [] | no_license | imcooder/SimpleHttpServer | 86991661af22a05be4175f7fab2484a6d26aac63 | 8d7a6d983cdf8e49bd775b3dbce0ae46c2a19604 | refs/heads/master | 2022-04-22T09:49:32.516802 | 2020-04-25T08:34:51 | 2020-04-25T08:34:51 | 258,722,850 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,092 | h | #include <iostream>
#include <istream>
#include <ostream>
#include <string>
#include <boost/asio.hpp>
#include <boost/bind.hpp>
#include <boost/enable_shared_from_this.hpp>
using boost::asio::ip::tcp;
class SocketClient : public boost::enable_shared_from_this<SocketClient>
{
public:
SocketClient(boost::asio::io_servi... | [
"imcooder@gmail.com"
] | imcooder@gmail.com |
66585d73c1e417fbf507fe33581f8f6ebf68b1ce | edb14253ca39b3f9441de6a80777af1696b48dec | /kickstart/2020/E/C/brute_force.cc | df9cbf4b53b830d09a29661441e13d2e41e84923 | [] | no_license | curow/Problem-Solving | 32a31043f8a880aa022c4c6d1d2a89381f1f6554 | d9e1a6b38e42600977bfff26541f008ced526897 | refs/heads/master | 2021-05-22T23:43:29.231916 | 2021-03-06T07:16:47 | 2021-03-06T07:16:47 | 253,142,808 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,029 | cc | #include <bits/stdc++.h>
#define int __int64_t
using namespace std;
const int N = 1e5 + 10, INF = 1e18;
vector<int> e(N), r(N), v(N);
vector<int> subset;
vector<pair<int, int>> solution;
int n;
void search(int k) {
if (k == n) {
if (subset.empty()) return;
int m = subset.size();
for (int i ... | [
"TiwazBiu@gmail.com"
] | TiwazBiu@gmail.com |
02c2be5e53f07a8f55eedb918d78e5097055ef49 | ba37f5ccb316cbacfe24aa68d3e680947370ffbd | /src/fileInput/readerHelper.cpp | 3eaff5fc0dd7daf423ba84b5e1e0d8daa8904323 | [
"BSD-3-Clause"
] | permissive | nightlark/GridDyn | e6fe9ab0251b10d86f269b8951ab1e1dd8b56508 | bfcef303c85c5b66bc26e5d16e4df0a07977e594 | refs/heads/helics_updates | 2021-01-24T06:12:32.115450 | 2019-07-19T18:12:34 | 2019-07-19T18:12:34 | 202,812,824 | 0 | 0 | NOASSERTION | 2019-08-17T00:22:00 | 2019-08-16T23:43:07 | C++ | UTF-8 | C++ | false | false | 1,100 | cpp | /*
* LLNS Copyright Start
* Copyright (c) 2014-2018, Lawrence Livermore National Security
* This work was performed under the auspices of the U.S. Department
* of Energy by Lawrence Livermore National Laboratory in part under
* Contract W-7405-Eng-48 and in part under Contract DE-AC52-07NA27344.
* Produced at the... | [
"top1@llnl.gov"
] | top1@llnl.gov |
49c7e145557779933374047d5bad6898791d85e3 | aa3c9133e336aabfc9d94f6d3cba45f166a2b702 | /src/emulation/Operations/NOP.cpp | fc9ba8e1cea466045af410f2244d32f1d5c7d501 | [
"Unlicense"
] | permissive | ZachClayburn/Zemu2 | 525aca9e09b9c0d5cd1d5e84f383191932c0bfa6 | 1548366e8ff92fb698344c93f3f7664d22a2a95e | refs/heads/master | 2023-01-20T10:29:44.274791 | 2020-11-28T23:31:07 | 2020-11-28T23:31:07 | 260,224,181 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 123 | cpp | #include "NOP.h"
NOP::NOP() : Operation(LENGTH) {}
interimValue_t NOP::operator()(interimValue_t value) { return value; }
| [
"zachclayburn@gmail.com"
] | zachclayburn@gmail.com |
275f0766b9d2a1801b3320b6ddac68f4db3dfdd2 | 4cfffadf68a2b9b7bddba042c7afee49a2bb0ebd | /src/qt/optionsmodel.cpp | ab388856f22a328221e404553814f51b9fe1ed09 | [
"MIT"
] | permissive | plusevcoin/plusevcoin | 9885bf1a6a77c07ce0b69a96e7351ace15fb5b9d | 857d92913b34d36359af3f601e3ff56b2532cc02 | refs/heads/master | 2020-05-19T19:52:03.686282 | 2014-04-15T18:58:29 | 2014-04-17T22:40:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,521 | cpp | #include "optionsmodel.h"
#include "bitcoinunits.h"
#include <QSettings>
#include "init.h"
#include "walletdb.h"
#include "guiutil.h"
OptionsModel::OptionsModel(QObject *parent) :
QAbstractListModel(parent)
{
Init();
}
bool static ApplyProxySettings()
{
QSettings settings;
CService addrProxy(settings... | [
"plusevcoindev@gmail.com"
] | plusevcoindev@gmail.com |
40ee09493fb78dbd81e2c9ae500b11afc5e4034f | 30773b649ebd89ffadd16d30fd62740b77ca7865 | /SDK/wld_shp_rocks_cluster_02_parameters.h | ffa6dcd007a513f858aca35c586df82ae96ca37b | [] | no_license | The-Jani/Sot-SDK | 7f2772fb5df421e02b8fec237248af407cb2540b | 2a158a461c697cca8db67aa28ffe3e43677dcf11 | refs/heads/main | 2023-07-09T07:17:56.972569 | 2021-08-18T23:45:06 | 2021-08-18T23:45:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 563 | h | #pragma once
// Name: SoT, Version: 2.1.1
#include "../SDK.h"
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Parameters
//---------------------------------------... | [
"ploszjanos9844@gmail.com"
] | ploszjanos9844@gmail.com |
d52df934276a489a84fe300d0480e517a990b9fc | d2650b73a3d64ec4c0614b08a4b0ba7370b7327a | /cpp/coding-test/beads.cpp | f63e27c9a8056f5ad2b082d2beb387793b8ee0d9 | [] | no_license | jodnddus/nojam | 1fdf90805be8ea8bdfad5030f5ac39bc5b08d89f | a2e646ab06bc81f89bd451faea1da6231547de05 | refs/heads/master | 2020-05-18T07:57:21.808166 | 2019-08-15T10:05:53 | 2019-08-15T10:05:53 | 184,280,261 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 641 | cpp | #include <stdio.h>
#include <vector>
using namespace std;
vector<int> beads;
vector<int> flag;
int a(int index, int step, int start)
{
if (index == beads[index]) return 0;
else if (beads[index] == start) return step;
else return a(beads[index], ++step, start);
}
int solution(vector<int> &A)
{
beads = A;
int N ... | [
"lockhost23@gmail.com"
] | lockhost23@gmail.com |
244264d49ae7f6111df5ef27d86ac46b91de234c | 4bea57e631734f8cb1c230f521fd523a63c1ff23 | /projects/openfoam/rarefied-flows/impingment/sims/test/nozzle1/4.4/grad(rho) | bb613f4e3b5fb3ab6c6afb1eda93d8fcd0877028 | [] | no_license | andytorrestb/cfal | 76217f77dd43474f6b0a7eb430887e8775b78d7f | 730fb66a3070ccb3e0c52c03417e3b09140f3605 | refs/heads/master | 2023-07-04T01:22:01.990628 | 2021-08-01T15:36:17 | 2021-08-01T15:36:17 | 294,183,829 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 46,192 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1912 |
... | [
"andytorrestb@gmail.com"
] | andytorrestb@gmail.com | |
8823b050e35f6de3a67a1bcf1cfa250dc386c8fb | a269d13042a659e0e54f5692833254f129a6c41f | /Shop/Shop/Gamer.h | fc702481f855ca7a02fabc0b78aab128527a96cf | [] | no_license | ren232010/Test | e2ac56cf69f3b8d64a14952edab8508a13718f27 | 72848c684f9025ff90d62606afe6d7259dd47fae | refs/heads/master | 2020-03-30T23:19:35.493785 | 2018-10-18T10:05:05 | 2018-10-18T10:05:05 | 151,697,451 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 467 | h | #pragma once
#include <iostream>
class Gamer
{
public:
Gamer();
~Gamer();
void InstallGamer();
bool AddItem(class Item*);
/*bool AddItemTool(class Item*);//装备物品*/
Item* ChangeItem(class Item*);//换装备
void UpdatedAttribute(class Item*);//更新属性
public:
std::string Name;
int ATK;
int Def;
int Hp;
int Mp;
int ... | [
"648315326@qq.com"
] | 648315326@qq.com |
14f47d8b3ef53016eced8791467a92eee5949c3b | 56dc83b864de250b0b0fde6892d934dae0900fb2 | /OneSolution/RollerBlind/Adafruit_NeoPixel.h | 4f88b95039388fc7af7e2d0f2aa3b4e1ff157843 | [] | no_license | timdows/AMD | 192b2aa4b4e481229d563487a4c41717d5f8c954 | 11577e2a7b0d93bd6745d99af430483e97ad3a50 | refs/heads/master | 2020-04-07T04:49:26.500401 | 2018-12-21T15:54:18 | 2018-12-21T15:54:18 | 41,149,960 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,924 | h | /*--------------------------------------------------------------------
This file is part of the Adafruit NeoPixel library.
NeoPixel 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 3 of
the L... | [
"tim@inexpro.nl"
] | tim@inexpro.nl |
067515b4ff86c377ee313e8fc644fae9a21bfca5 | a7338d8b9074ed062b62fcbd980a306be7f89ac7 | /ToDoC++FactoryMethod/src/Application.h | 809d8570347737f6756f76b3ca7e81f99164b297 | [] | no_license | takepu/dpp | 5152b1225d83fe34b58dc695e0ca861bc73dc316 | df24332235e4b60c598690723156805227c76e83 | refs/heads/master | 2016-09-02T04:04:45.626415 | 2012-12-24T05:09:14 | 2012-12-24T05:09:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,543 | h | /*
* application.h
*
* Created on: 2012/12/02
* Author: takepu
*/
#ifndef APPLICATION_H_
#define APPLICATION_H_
#include "StringList.h"
namespace std{
//---------------------------------------------------------------------------
// アプリケーション実行本体
// @note 下記順番でコールすること
// Initial()
// ... | [
"takepuxp@gmail.com"
] | takepuxp@gmail.com |
9c1ecd51ffa28380761eeb7c5c1de86cd7113b63 | 2561d4be89aaa8612eae00c0464e48f3e62e3ad8 | /workspace/ABC154/D.cpp | 013f92988dc63b6d9edf86a424e8a2de64e4dd28 | [] | no_license | oirom/atcoder | c9e6791236a75b0efc83868f3356dd4d6768a726 | acba483a55451a8bd9808dbe4188ee12fdd1e374 | refs/heads/master | 2022-03-05T07:30:58.897174 | 2022-02-20T11:42:13 | 2022-02-20T11:42:13 | 249,957,741 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 799 | cpp | #include <bits/stdc++.h>
#define REP(i,n) for (int i=0; i<(n); ++i)
#define REPR(i,n,m) for (int i=(n); i>=(m); --i)
using namespace std;
using LL = long long;
using LD = long double;
using PLL = pair<long long, long long>;
using PLD = pair<long double, long double>;
using VLL = vector<long long>;
using VLD = vector<lo... | [
"yamauchi.morio853@mail.kyutech.jp"
] | yamauchi.morio853@mail.kyutech.jp |
f9721a37ebe4b1c98b5a2d838d63ca5a42dad4ba | bf7f6fc3bde32862d3f4dffa1dae57f299a66d2a | /game_school/server/pwconnsrv/pw_connsrv_listener.h | ea271f5e3c43d8e510c1a2860845798d03b3cb73 | [] | no_license | luoxz-ai/H5Game | 0c795c4f075d7073f29c1e8c012d592500a0fcd0 | f292af19874dc0d7396fc8084c8ef1ab391201a3 | refs/heads/master | 2023-06-20T03:58:24.199939 | 2019-07-02T07:22:33 | 2019-07-02T07:22:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,048 | h |
#ifndef _pw_connsrv_listener_
#define _pw_connsrv_listener_
#include "pw_def.h"
#include "pwdist_port_generic.h"
#include "gdb/pw_gdb_socket_listener.h"
#include "gdb/pw_gdb_socket_reactor_win32.h"
#include "gdb/pw_gdb_socket_reactor_linux.h"
#include "pw_web_socket_listener.h"
namespace pwconnsrv
{
class SImplLis... | [
"821153923@qq.com"
] | 821153923@qq.com |
858ca1d3f03cb9abb940e8eb8a962e39efa2e974 | 29b276cbb2c038c4a701839219b35635103c48a8 | /include/UWUEngine/GamePlay/PlayerController.h | 29b14bb440b370a882060692cf8d2e7666745965 | [] | no_license | digipen-team-uwu/uwu-engine | af0f9c40809d18750db916b4f1b08a16a606ff44 | 1610fdd23d52e16839d5d432223c39fd709b4eee | refs/heads/master | 2020-12-05T18:03:48.416178 | 2020-02-07T02:08:19 | 2020-02-07T02:08:19 | 232,198,651 | 3 | 0 | null | 2020-02-12T01:21:05 | 2020-01-06T22:44:02 | C++ | UTF-8 | C++ | false | false | 3,005 | h | /******************************************************************************/
/*!
\par Project Umbra
\file PlayerController.h
\author Yi Qian
\date 2019/12/05
\brief Player Behavior,I hate file header comments
Copyright 2019 DigiPen, All rights reserved.
*/
/*****************************... | [
"tony.qian@digipen.edu"
] | tony.qian@digipen.edu |
d4dc1ff47376ae9a98e72b4b8c4381f08ea6ae0f | 077b52d6bf4438d2e0172531ba6acb27b1aaf8dd | /A composition in classes/8/time.cpp | 525800b9f3258beca82f75aca0ef0c624bda0422 | [] | no_license | bmvskii/OOP | a41ccf5a9862f6f112e8a82a25462bac4c605a64 | 810ad97eb418024cfac7beb66a8fff76cae73b90 | refs/heads/master | 2020-03-25T02:03:42.824530 | 2019-08-01T13:31:00 | 2019-08-01T13:31:00 | 143,271,973 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,333 | cpp | // (C) 2013-2016, Sergei Zaychenko, KNURE, Kharkiv, Ukraine
/*****************************************************************************/
#define _CRT_SECURE_NO_WARNINGS
#include "time.hpp"
#include "messages.hpp"
#include <ctime>
#include <cassert>
#include <cstdio>
#include <stdexcept>
/*************************... | [
"evg.rogovoy@gmail.com"
] | evg.rogovoy@gmail.com |
14836b9543722c6578c09fb598a72a79c0cc9e96 | 9559a97171cf993e7bf665c6f3532b5ecc71e666 | /图论/欧拉回路/pku2513并查集+字典树+欧拉回路.cpp | af9eb572b9bec401d49200641bb0ea4056534ad5 | [] | no_license | cslilong/Algorithm | 8090be3bcc9d7dd28dd6048f34093c30a721cdbc | 5131388c4dd054420860024ef7a1745204dba4d4 | refs/heads/master | 2016-09-15T21:24:22.656535 | 2013-10-07T09:18:32 | 2013-10-07T09:18:32 | 12,647,284 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,253 | cpp | /*
http://poj.org/problem?id=2513
*/
#include<iostream>
using namespace std;
const int maxn=500100;
struct node
{
int key;
node *nxt[26];
}*root;
int nodenum;
int f[maxn],a[maxn];
void new_node(node* &x)
{
x = new node;
memset(x,0,sizeof(node));
x->key = -1;
}
int getnum(char *x)
{
node *ptr=root;
for(int i... | [
"cslilong@gmail.com"
] | cslilong@gmail.com |
21ade5437d3cdf73104fde9fcc07b82c257595a3 | cc7ea7d3af5afdfab52c4ade486f2b733147415b | /folly/executors/task_queue/PriorityLifoSemMPMCQueue.h | cf17cf04d7e50a0b96ad91054b700c9cfd7c1386 | [
"MIT",
"Apache-2.0"
] | permissive | couchbasedeps/folly | f2d70e1b2c629761e40e15248ea17335e651fc40 | 99a218de8a87c48f8164afb614401717c58cce8a | refs/heads/master | 2022-09-09T08:32:46.196956 | 2021-02-26T21:43:46 | 2021-02-26T21:45:23 | 152,815,030 | 1 | 3 | Apache-2.0 | 2022-08-22T12:19:33 | 2018-10-12T22:48:10 | C++ | UTF-8 | C++ | false | false | 3,558 | h | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* 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 applic... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
891c1ec5b8554fa59b043ad6ad2271e300cca0eb | 6bdc21906afc40a9b9e2359dd7833df6e5eb1b2a | /pegasus_x64/emulator.cpp | 9be28ff2ce99663f7d151fc9cce8553d3567aa11 | [] | no_license | idkwim/pegasus | 69c283f6e2b53409160f2a6076f37728987304ff | 8269104660a6ae4f26bbc2b430bdb89cd6670364 | refs/heads/master | 2021-01-01T17:53:20.588941 | 2017-07-22T05:01:55 | 2017-07-22T05:01:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,135 | cpp | #define _CRT_SECURE_NO_WARNINGS
#include <unicorn/unicorn.h>
#include <distorm/include/distorm.h>
#include <distorm/include/mnemonics.h>
#include <list>
#include <memory>
#include <winternl.h>
#include <Psapi.h>
#include "interface.h"
#pragma comment(lib, "unicorn_static_x64.lib")
Wow64EmulationDebugger::Wow64Emu... | [
"0a777h@gmail.com"
] | 0a777h@gmail.com |
81607040f08a087ba3b8091f1b2ccd1937f5d36a | 9987a33adf46172cf5352b57e2e1319955dd75ab | /SongInfoEditor/VarietyButton.cpp | 9a7ce4ab3ebffec0c8b38df3a0f82421eb717ef4 | [] | no_license | lilinayuy/SongInfo | ce4cb73c7d4b394abf1f063939d758cbef79743c | d02929c16f5144a542093b88be02118e9d54f20b | refs/heads/master | 2016-09-10T18:24:53.640838 | 2015-03-24T01:53:41 | 2015-03-24T01:53:41 | 32,769,729 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 18,743 | cpp | // VarietyButton.cpp : implementation file
//
#include "stdafx.h"
#include "VarietyButton.h"
//#include "DCPlus.h"
// CVarietyButton
IMPLEMENT_DYNAMIC(CVarietyButton, CBitmapButton)
CVarietyButton::CVarietyButton()
{
m_bTracking = FALSE;
m_bSelected = FALSE;
m_cColorTransparent = 0;
m_bDoubleClick = FALSE;
m_b... | [
"heeroyuy1982@163.com"
] | heeroyuy1982@163.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.