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 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
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 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3a3674efd79030af5695698ab7c61d5bcd650aca | dffdaa0fa1f0838cb424edefa4ac25246e401670 | /pgoapi/3rd Party/S2/util/math/vector3-inl.h | b4dccf4a44846907805a9bb609f0a6bf57b60cee | [
"Apache-2.0"
] | permissive | AgentFeeble/pgoapi | 1f77b4067def4285f5bf41f407219d52343efb70 | 43142b5ad46ff9873bf1abf0b1e7429234a5361a | refs/heads/master | 2021-01-17T18:35:33.520373 | 2017-01-02T21:25:29 | 2017-01-02T21:25:29 | 64,586,113 | 19 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 10,982 | h | // Copyright 2003 Google, Inc.
// All Rights Reserved.
//
//
// A simple class to handle vectors in 3D
// The aim of this class is to be able to manipulate vectors in 3D
// as naturally as possible and make calculations readable.
// For that reason, the operators +, -, * are overloaded.
// (Reading a = a + b*2 - c is m... | [
"ray@mushroomcloud.co.za"
] | ray@mushroomcloud.co.za |
524c2266b7327828ef8792a94b8ef53f961a7fca | 965c4a104b9046cc544be157431aec379930b93b | /Synopticon/Source/Synopticon/GazeObjects/GazeActorJSONExporter.cpp | e374cfe920c63516a13ca13407ecd06b15336990 | [] | no_license | jplangst/Synopticon | 43ba0fd4a362f6b4ea5b0e01ea2ec521fa038666 | 2ac96279ddb1890b82f4a1e57e7d58088b078be9 | refs/heads/master | 2020-05-17T07:16:30.662379 | 2020-02-05T13:53:47 | 2020-02-05T13:53:47 | 183,574,880 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,247 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "GazeActorJSONExporter.h"
//#include "Synopticon.h"
UGazeActorJSONExporter::UGazeActorJSONExporter(const FObjectInitializer& ObjectInitializer)
: Super(ObjectInitializer)
{
}
FString UGazeActorJSONExporter::SaveGazeActorTypeAs... | [
"jens.patrick.langstrand@ife.no"
] | jens.patrick.langstrand@ife.no |
9fc8705be05eeadc5b820e153dcb26d55c036ed6 | 452c2b61d68be748e8a540db63484b645065e5c6 | /src/fitsdk/fit_hrv_mesg_listener.hpp | 6752ae32c59a5f724251b24b004c3458712a7321 | [
"MIT"
] | permissive | dal/RunParticles | 48110f85ff5393cef49afdb7d9faee26393511c9 | bf207fa49c2cf8b6be71d414a6b4c46be8a1a5ae | refs/heads/master | 2021-05-24T04:15:57.265749 | 2021-03-07T05:07:32 | 2021-03-07T05:07:32 | 11,651,420 | 44 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 1,272 | hpp | ////////////////////////////////////////////////////////////////////////////////
// The following FIT Protocol software provided may be used with FIT protocol
// devices only and remains the copyrighted property of Dynastream Innovations Inc.
// The software is being provided on an "as-is" basis and as an accommodat... | [
"github@renderfast.com"
] | github@renderfast.com |
7fb40497a68d007cb9c3d866309543ef43816759 | 9feacae54b852982e791699131a5dced342fd134 | /moodoo_c++/ex1_string.cpp | 170f62d8e58440b3f63bdc64389c35589fa4880f | [] | no_license | hoyeongkwak/workspace | bd89f981e73f4aff2eb4a7d8c914925968651af3 | c70d8dcd18a401af04296f71f02335ac3048240f | refs/heads/master | 2023-06-23T01:54:13.608849 | 2021-07-23T13:48:22 | 2021-07-23T13:48:22 | 276,769,601 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 121 | cpp | #include <iostream>
#include <string>
int main() {
std::string s = "abc";
std::cout << s << std::endl;
return 0;
}
| [
"ghy2002@hanmail.net"
] | ghy2002@hanmail.net |
21df772fcf5f0282b12b30bf39961906e66e191e | 12678d125c20ab8b5f82a4bf3bda247201c65d44 | /Projects/数据结构上机_第八周/环形队列/code6.cpp | 25923aa2472ef6566035db32030160b172de1e54 | [] | no_license | KiritoXF/C-plus-plus | 5fc18c8bcf1d7e02ebbccbacd640fecf7dd7ff3f | f75714181d2b51ab4743e6203a7f2bc5ef37b722 | refs/heads/master | 2021-01-23T01:35:19.591944 | 2018-05-02T04:17:52 | 2018-05-02T04:17:52 | 85,921,297 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,768 | cpp | #include <iostream>
using namespace std;
class queue
{
private:
int maxsize;
int front;
int rear;
int *arr;
bool tag;
public:
queue(int size)
{
maxsize = size;
arr = new int[maxsize];
front = rear = -1;
tag = 0;
}
~queue()
{
delete[]arr;
}
void clear()
{
front = rear;
}
void enqueue(int item... | [
"yh_txyg@qq.com"
] | yh_txyg@qq.com |
2ca85aedeb2508a070136ceb38700f96951d9805 | be1358a0f0ba79275dec686ac71c254b9c07895e | /chap9/wc/blockgame.cc | 4c21e7d802bfeff6679595a3e2cdcb5a9fe65451 | [] | no_license | openmindedcode/diveintoalgo | 8bb9fc50da446b72154b17abe0c629b9c2a2968c | 521575c507b03b60b8a6c7660d4427a62868ac27 | refs/heads/master | 2020-12-07T18:27:39.091221 | 2020-03-29T13:05:35 | 2020-03-29T13:05:35 | 232,771,603 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,500 | cc | #include <iostream>
#include <vector>
#include <cstring>
std::vector<int> moves;
char cache[1<<25];
inline int cell(int y, int x) {
return 1 << (y * 5 + x);
}
void preCalc() {
for (int y = 0; y < 4; ++y) {
for (int x = 0; x < 4; ++x) {
std::vector<int> cells;
for (int dy = 0; dy < 2; ++dy) {
... | [
"openmindedcode@gmail.com"
] | openmindedcode@gmail.com |
589e3bd8fc5f777357621942c53328da159de905 | 659d99d090479506b63b374831a049dba5d70fcf | /xray-svn-trunk/xr_3da/xrGame/HUDManager.cpp | 1472003cd350282cb16769fa08144cee37e8213f | [] | no_license | ssijonson/Rengen_Luch | a9312fed06dd08c7de19f36e5fd5e476881beb85 | 9bd0ff54408a890d4bdac1c493d67ce26b964555 | refs/heads/main | 2023-05-03T13:09:58.983176 | 2021-05-19T10:04:47 | 2021-05-19T10:04:47 | null | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 9,600 | cpp | #include "stdafx.h"
#include "HUDManager.h"
#include "hudtarget.h"
#include "actor.h"
#include "../igame_level.h"
#include "clsid_game.h"
#include "UIGameCustom.h"
#include "MainMenu.h"
#include "game_cl_base.h"
#include "grenade.h"
#include "Car.h"
#include "level.h"
#include "../xr_input.h"
u32 ui_hud_type;
extern ... | [
"16670637+KRodinn@users.noreply.github.com"
] | 16670637+KRodinn@users.noreply.github.com |
7ea147cb974d35e2237d474f2c83e2921680b8d6 | e1ea3cc99aec14af97be34246399e9dd789a12dc | /src/torcontrol.h | 8cb90a24fc3aa2934842443f20ed9cb2e43e6d0e | [
"MIT"
] | permissive | wzpurdy/FYRE | c38b4206b3ff5d906a144070f874a7e561f967d2 | e10b1d6003ec26abb517cc7b8c3fd4e3cc85032d | refs/heads/master | 2020-04-29T04:57:12.280930 | 2019-03-12T04:33:12 | 2019-03-12T04:33:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 576 | h | // Copyright (c) 2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
/**
* Functionality for communicating with Tor.
*/
#ifndef FYRE_TORCONTROL_H
#define FYRE_TORCONTROL_H
#include "scheduler.h"
... | [
"48378798+FyreCurrency@users.noreply.github.com"
] | 48378798+FyreCurrency@users.noreply.github.com |
c9052022e51975ec90846d9c2339360ea6e6b16a | 4ccc93c43061a18de9064569020eb50509e75541 | /content/browser/frame_host/navigation_entry_impl.cc | 5e47912398bed6bf721136e8b2ae7b979241052d | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | SaschaMester/delicium | f2bdab35d51434ac6626db6d0e60ee01911797d7 | b7bc83c3b107b30453998daadaeee618e417db5a | refs/heads/master | 2021-01-13T02:06:38.740273 | 2015-07-06T00:22:53 | 2015-07-06T00:22:53 | 38,457,128 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 20,878 | 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/browser/frame_host/navigation_entry_impl.h"
#include <queue>
#include "base/metrics/histogram.h"
#include "base/strings/string_util.h"... | [
"g4jc@github.com"
] | g4jc@github.com |
336e86bac1b31500088e9b4b3a1e53f42eab8316 | 08d17ddeb5713d8e7a4ee01054fcce78ed7f5191 | /tensorflow/core/distributed_runtime/recent_request_ids.cc | 2c953e12c06287e88b1a68bfab48a7234207046a | [
"Apache-2.0"
] | permissive | Godsinred/tensorflow | 9cd67e1088ad8893265651ad4a5c45a6640b6c96 | 45100d5f55d7cba15bffcd91bf521ed37daf7bca | refs/heads/master | 2020-04-25T19:44:53.669366 | 2019-02-28T01:54:55 | 2019-02-28T02:59:15 | 173,030,955 | 2 | 0 | Apache-2.0 | 2019-02-28T03:03:41 | 2019-02-28T03:03:41 | null | UTF-8 | C++ | false | false | 2,880 | cc | /* Copyright 2017 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | [
"gardener@tensorflow.org"
] | gardener@tensorflow.org |
a6f4e422defedd57a61894401742cf87e2d1467b | ed377170a18a10dc25acf1f6272b5dd7ff93ef68 | /main.cpp | a5a5bfb58bd174f64134ed03fcf67a6f686f5b97 | [] | no_license | suntsovsergey/Lab2.2 | 5407279e3382d4ea04807ab74e5dfe7481fcc8f1 | f537b7033bf5bfb64a091f65cda9619d3f44934e | refs/heads/master | 2021-05-06T02:02:43.745652 | 2017-12-17T10:54:07 | 2017-12-17T10:54:07 | 114,488,617 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,666 | cpp | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/*
* File: main.cpp
* Author: macbookpro
*
* Created on 16 декабря 2017 г., 23:34
*/
#include <cstdlib>
#include <iostream>
#... | [
"suntsivsergey@yandex.ru"
] | suntsivsergey@yandex.ru |
af8d788eb9b61dd1d542731e7dfda54bd3a602da | bb10dba077acb492b13e6274cfc2c645790b68c7 | /src/Game/Game/Map/BattleEffect/BattleEffectE065.h | 807df5ecea8bba40db45b1ce54812c19dba700d4 | [] | no_license | pocarich/RPG | 177225228f40459e56a57e151ec2fc4ee4257791 | 24c437d9e6b158d3d6e3a16a6ad462840d1ee60d | refs/heads/main | 2023-08-31T09:59:52.318258 | 2021-10-31T19:11:45 | 2021-10-31T19:11:45 | 423,229,445 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 560 | h | #pragma once
#include"BattleEffect.h"
#include"EnemyStatus.h"
class BattleEffectE065 :public BattleEffect
{
vector<Vector2<int>> attackPositionList;
EnemyStatus enemyStatus;
public:
BattleEffectE065(EnemyStatus enemyStatus,PlayerMap* playerMap, list<BossMapPtr>& bossMapList, list<ObjectMapPtr>& objectMapList, list... | [
"pocarich@gmail.com"
] | pocarich@gmail.com |
3910c8af915cd8d54cc01b0c005d786b56559cf5 | 460cdb9ddc640f060f20d2234cdd17a97198db38 | /VGP337/NEAT/Bird.h | af182dac6ad938877d7e58937bd3d6511e6def58 | [] | no_license | rsaz/Angazi | fdae15379409fc5d66b1b57d245153471f7f4ef4 | b6ad8198f5b7dfbd06f786f750a452f526140579 | refs/heads/master | 2023-01-07T15:35:26.481210 | 2020-11-08T07:24:22 | 2020-11-08T07:24:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 690 | h | #pragma once
#include <Angazi/Inc/Angazi.h>
class PipeManager;
class Bird
{
public:
void Load();
void Update(float deltaTime, const PipeManager& pm);
void Render();
void Flap();
void Spawn(const Angazi::Math::Vector2& pos);
void Kill();
Angazi::Math::Circle GetBound() const { return {... | [
"tim.justin8@gmail.com"
] | tim.justin8@gmail.com |
8d3396e79c715a41fa578f415bf90f0365bcbe65 | f98a90155b9e4777e5b006c5c522beab04eb43ff | /DouShouQiBackup/Game.h | 326172641d1d978d5d45bd57d3fd18565ee0ef1b | [] | no_license | zlight97/DouShouQi | 5ffffeaae8a52ed33f7fb8cf74d72090a7118770 | ed5640bf2dfa559f92c9d018efe438518da67d45 | refs/heads/master | 2020-04-26T08:02:50.900735 | 2019-06-12T02:13:54 | 2019-06-12T02:13:54 | 173,411,366 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 544 | h | #ifndef GAME_H
#define GAME_H
#include <iostream>
#include <vector>
#include "GlutApp.h"
#include "Piece.h"
// #include "Map.h"
#include "Tile.h"
using namespace std;
class Game
{
public:
Game();
~Game();
void start();
void draw();
void click(float x, float y);
void newGame();
private:
vo... | [
"zacharylight15@mittymonarch.com"
] | zacharylight15@mittymonarch.com |
d08c9c0044ccd94f84d3d75ad59167ae84707169 | 127e6a0c6abb58da2aa10485703afd95536e1ed3 | /Codeforces/1360B.cpp | d774008c85cb7ae7521ec38377624aadfb023efa | [] | no_license | NKH123/Competitive-Programming | d5fdf16831677c96b0d7171b61d05b47e33ea840 | b905780d0af2c61af0e87924f3525879c4febed0 | refs/heads/master | 2021-06-28T09:58:37.938421 | 2020-09-12T20:52:15 | 2020-09-12T20:52:15 | 145,118,633 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,933 | cpp | #include<bits/stdc++.h>
using namespace std;
#define F first
#define S second
#define PB push_back
#define MP make_pair
#define REP(i,a,b) for (int i = a; i <b; i++)
typedef long long ll;
#define int ll
typedef vector<int> vi;
typedef vector<long long> vl;
typedef pair<int,int> pi;
#define trace(x) cout<<#x<<"="<<x<<"\... | [
"neeraj.deshpande3@gmail.com"
] | neeraj.deshpande3@gmail.com |
bd9c6a014a7dbf6fed0425a90c973ca11163b7b3 | 901c92bf21a36fbc3d373cfc45b4cddc2bbab989 | /mainwindow.h | a64cc72c2290e8c45ecb7e5144e67e223f37b980 | [] | no_license | cjml1982/GUI | 21641db93dc466ce89bba7553f8a8b0b257925b7 | 0b480d3edfb9cfdf9f1b3176f2472584d3791908 | refs/heads/master | 2020-03-27T04:45:23.608073 | 2018-08-24T08:40:12 | 2018-08-24T08:40:12 | 145,965,855 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,361 | h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <dialog_help.h>
#include <dialog_log.h>
#include <dialog_donate.h>
#include <dialog_cpuminerusage.h>
#include <dialog_cudaminerusage.h>
#include <dialog_extraconfig.h>
#include <QProcess>
#include <QTimer>
#include <QLabel>
namespace Ui {
class... | [
"cjml_1982@126.com"
] | cjml_1982@126.com |
a2e2387cdd637cfeee2445702d89963fae9de1fb | 243329e23c371616c0a20f712f7d8094d64e6fb8 | /source/ChoicesMgr.cpp | a06792bd21f53d3ef922d342f44cf2f962212d23 | [] | no_license | team-timeProjects/kotonarinojikan | 4f2e9f69ed492a6fd3a6a3ffbfc4cbcb18dc9377 | cd66d9ac1b9f0e23b20c9ede11cf8d31bc0bae60 | refs/heads/master | 2021-01-10T21:54:47.667679 | 2015-06-24T17:17:41 | 2015-06-24T17:17:41 | 34,838,026 | 1 | 2 | null | 2015-05-01T08:23:40 | 2015-04-30T06:27:35 | C++ | UTF-8 | C++ | false | false | 99 | cpp | #include "ChoicesMgr.h"
#include "../IEX/iextreme.h"
#include "TimeObject.h"
#include "Utility.h"
| [
"indomitablestill@gmail.com"
] | indomitablestill@gmail.com |
00f3e0beb3760d4f3c81b181087596db77f597c6 | 44714b94b06a5b976c514362f79cf553050f0383 | /Google_assistant_1/Google_assistant_1.ino | ad847ecc5a082c615cef584b40c1fef179642ea7 | [] | no_license | Taha-Iot/Google-assistant-with-iot | c487d30012064f38f19410fcb47dd5f329cb672c | 4e693f162321d533be92160d7ce7ef8e75e38ea4 | refs/heads/master | 2023-04-15T17:53:14.524444 | 2021-04-21T18:12:39 | 2021-04-21T18:12:39 | 360,264,540 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,291 | ino | #include <ESP8266WiFi.h>
#include "Adafruit_MQTT.h"
#include "Adafruit_MQTT_Client.h"
#define Room1 D1
#define Room2 D2
#define Room3 D3
#define Room4 D4
#define WLAN_SSID " " // Your SSID
#define WLAN_PASS " " // Your password
/******... | [
"tahabahaattt@gmail.com"
] | tahabahaattt@gmail.com |
f651e91dbd57f99ce166d201ed8f7ba59278bb6c | a989e06dc3bffc62ac4c96f85fc7dcf87dc52bd0 | /src/area.cpp | 63eef4a29a9d2f0f547c114937f3e299c9667fb5 | [] | no_license | El-Duder1no/geometry | ff33d6bc2da019928231a1986f51fcb55f8bd20d | 772448439bef0553c9113ddcc2cf408f495ed5a4 | refs/heads/master | 2021-01-08T14:43:30.681425 | 2020-05-16T20:09:10 | 2020-05-16T20:09:10 | 242,057,122 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 97 | cpp | #include "geomCalc.h"
float Area(Circle one)
{
float S = PI * one.r * one.r;
return S;
} | [
"udovchenkoae@gmail.com"
] | udovchenkoae@gmail.com |
8d37f5b1d7013e2a78b9b823dee5f6ddd1709e11 | c51febc209233a9160f41913d895415704d2391f | /YorozuyaGSLib/source/std__bad_allocDetail.cpp | 15ad04e847d7d35124bbd4a2f748de637d1ff1c4 | [
"MIT"
] | permissive | roussukke/Yorozuya | 81f81e5e759ecae02c793e65d6c3acc504091bc3 | d9a44592b0714da1aebf492b64fdcb3fa072afe5 | refs/heads/master | 2023-07-08T03:23:00.584855 | 2023-06-29T08:20:25 | 2023-06-29T08:20:25 | 463,330,454 | 0 | 0 | MIT | 2022-02-24T23:15:01 | 2022-02-24T23:15:00 | null | UTF-8 | C++ | false | false | 3,921 | cpp | #include <common/ATFCore.hpp>
#include <std__bad_allocDetail.hpp>
START_ATF_NAMESPACE
namespace std
{
namespace Detail
{
Info::std__bad_allocctor_bad_alloc5_ptr std__bad_allocctor_bad_alloc5_next(nullptr);
Info::std__bad_allocctor_bad_alloc5_clbk std__bad_a... | [
"b1ll.cipher@yandex.ru"
] | b1ll.cipher@yandex.ru |
606ae2a79b130ba7e64cc26832db75e03a6a63f9 | 68552a79fa52c094e0fd4aec1b6ad6ca9a815704 | /要传到github上的文件/线索二叉树C源代码.cpp | 0198309fbe8584ba97f8c1fc39783c598455fc05 | [] | no_license | takethatgirl/note | 3ec56bcc42aa74918fa2ee37e6ffc28b69b71748 | bf39d8a63f11c0244851f9a4fee7c0a138a1f6a4 | refs/heads/master | 2020-04-05T17:06:59.678155 | 2018-11-11T04:25:03 | 2018-11-11T04:25:03 | 157,045,192 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 4,596 | cpp | /*
线索二叉树前言:
二叉树有性质,(1)n0=n2+1,一棵有n个结点的二叉树,(2)n = n0+n1+n2,
由(1)(2)得,2n0+n1= n+1,所以空指针数目是n+1.
用这n+1个指针,存放相应结点在某种遍历的前驱和后继,在以后的遍历中,
可以加快遍历速度,而且还未占用额外的空间。
如果一个结点的左指针是空,则放该结点的遍历前驱,如果一个结点的
右指针为空,则放该结点的遍历后继。但是这样有个副作用,无法知晓,
左右指针域放的是孩子,还是某种遍历的前驱后继。所以设置个标志位,
通过标志位,判断放的是谁。
步骤是,先把二叉树创建好,然后,按照某种遍历方法,操作每一个结点,
操作结点的顺序,刚好是遍历顺序,可以设置一个指... | [
"liliuwei.com@gmail.com"
] | liliuwei.com@gmail.com |
9fa09f1347c9bc9c4e81250e2b7e9861fda0f437 | 4396949292968bfa30a4bb6141355d28a0aeaaa2 | /src/WindowManager.hpp | eb3073e3675f33525f6ff66cd19bde210eb70fed | [] | no_license | einzeric/sdl_tetris_clone | d56827970eb69ae82786557c91d649c9a4a4b0fd | f1b800c35de8d36059706ca57c11e8eedf6e7279 | refs/heads/master | 2023-07-02T07:32:08.857584 | 2021-08-08T17:52:55 | 2021-08-08T17:52:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 703 | hpp | #pragma once
//SDL include
#include <SDL2/SDL.h>
//STD lib include
#include <memory>
#include <string>
//Project specific include
#include "Logger.hpp"
#include "SDL_Exception.hpp"
class WindowManager
{
public:
WindowManager();
~WindowManager();
void Initialize();
std::unique_ptr<SDL_Renderer, decltype... | [
"ngnhatduc.programmer@gmail.com"
] | ngnhatduc.programmer@gmail.com |
8ec86cecfbc922452f339348d273869ce4977dc6 | e37ae86871b47b186eebf575ff179c17b3fe54d7 | /1/lzh0--all.cpp | 6963df2c696efe9bc36482f80742b360baf66487 | [] | no_license | zonghanli/c- | d3d1db79582466905c6a96f04187ec5c77096cd1 | d737419650ec4343f34e459c53726ca64cd78b04 | refs/heads/master | 2022-06-10T22:00:46.125375 | 2020-05-01T02:30:25 | 2020-05-01T02:30:25 | 260,362,531 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 922 | cpp | #include"hit.h"
#include"det.h"
#pragma warning(disable:4996)
int main()
{
int n = 0; //阶数
int i = 0; //阶数
int answer;
cout << "欢迎来到宗翰的矩阵实验室!\n" <<
"1.number\n" <<
"2.add\n" <<
"3.multiply\n" <<
"4.detaminate" << endl;
cout << "please choose your number: ";
cin >> answer;
// choose
if (answer >= 5)
c... | [
"1452092677@qq.com"
] | 1452092677@qq.com |
de1ae7f38c2d89d93b789a5c9584c9fda7ede58a | 112e119bc9baf584550045b249b283b02901e0b1 | /U/Plugins/Share/BaseUnit/Source/BaseUnit/Private/MemClass.cpp | 6e76bacd3e394865b6f41f990904625648f754a1 | [] | no_license | Iliketoshootunity/UE4 | 17a42513004606d1338cb902c881eee3a43ddad1 | dee869b5594002d621ca86131c961db4a2e0d084 | refs/heads/master | 2020-12-13T15:24:17.615337 | 2020-01-17T09:50:07 | 2020-01-17T09:50:07 | 234,457,306 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,154 | cpp | #include "MemClass.h"
#include "BaseUnitDef.h"
#include "BaseUnitLog.h"
#include "MemBase.h"
FMemClass::FMemClass()
{
m_lpMemPtr = NULL;
m_lpMemLen = 0;
}
FMemClass::~FMemClass()
{
Free();
}
//---------------------------------------------------------------------------
// Function: Alloc
// Directions: Allocate me... | [
"34265768+Iliketoshootunity@users.noreply.github.com"
] | 34265768+Iliketoshootunity@users.noreply.github.com |
05d20e9d442057844a2801c64c7008e4f6cf495c | 47b2c58c31c72cef7988801d2db2c05930fd58fc | /gui/distancematrix.h | a9359999b319b845830e921c2d0f71743705a411 | [] | no_license | Forrest-Z/robosoccer-mcl | 66b668536d238d2b7e38d7ede309a171cee355b7 | f57a7b001d91c42d95bc158a6de73a57664daf39 | refs/heads/master | 2020-05-14T15:47:05.981671 | 2019-01-18T10:27:35 | 2019-01-18T10:27:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 529 | h | #ifndef DISTANCEMATRIX_H
#define DISTANCEMATRIX_H
#include <QDialog>
#include "mcl.h"
namespace Ui {
class DistanceMatrix;
}
class QGraphicsPixmapItem;
class DistanceMatrix : public QDialog
{
Q_OBJECT
public:
explicit DistanceMatrix(MCL::FieldMatrix& field_, QWidget *parent = 0);
~DistanceMatrix();
pr... | [
"ali.rahman.fahri@gmail.com"
] | ali.rahman.fahri@gmail.com |
ce2aa7bdac33ef253878f5c27483de908382a766 | d16068c29da1ca9426226c8c046c895702fa90c7 | /bak/BaseApp/新建文件夹/CMyRwAdo.h | a8c75307a1a3a13878f70446a36922590d2d40bb | [] | no_license | hbdlyao/MT-HVDC | fda91db4e06e68035592018eee9f568b1d0b8815 | 9ab4479d8a9f2335ea635d6b37cce85265ec2f0f | refs/heads/master | 2021-01-19T17:55:14.217414 | 2017-04-15T13:23:39 | 2017-04-15T13:23:39 | 88,347,786 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,467 | h | #pragma once
#include <string>
#include "gbHead_Def.h"
#pragma comment(lib,"ws2_32.lib")
#import "c:\program files\common files\system\ado\msado15.dll" no_namespace rename("EOF","adoEOF"), rename("BOF","adoBOF")
using namespace std;
class CRwAdo
{
protected:
//数据库指针
_ConnectionPtr pConnection = nullptr;
//记录指... | [
"open2@YAO-X1C"
] | open2@YAO-X1C |
c0d5b80af975d10cd883224d0247b57622deb3c9 | 293a26e691533905cdef9d40bbc43fafa473e267 | /app/src/main/jni/webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_unittest_helper.cc | d67c538a5b1e7f867a53e615137f1115b4375de0 | [] | no_license | mail2chromium/Android-Audio-Processing-Using-WebRTC | 177f5d9331a2e6803047e26ff0d48134e07fcc9d | a9b08732f6eb182acff830a759ed6e21b33d1c2c | refs/heads/master | 2022-07-17T04:23:35.007417 | 2022-06-28T06:56:22 | 2022-06-28T06:56:22 | 224,626,417 | 127 | 35 | null | null | null | null | UTF-8 | C++ | false | false | 24,492 | cc | /*
* Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | [
"mail2ch.usman@gmail.com"
] | mail2ch.usman@gmail.com |
d0b9b9aae426a2bae20362d18844571879fd7c75 | 6fcbd691dfbb57d801f9c4a105d1fdf2ace1443e | /CV_test_GUI/include/Filler.hpp | 0f09464e4b3edef5ac0a3289437c7fd3c04a29bd | [] | no_license | karimUzden09/Bresenham-fill-implementation | 0bea1a51e380d1ea986827c28b93b0ab4a50c1cc | 5d567fab495c728e9e8bd87deb74611a06f49959 | refs/heads/master | 2022-12-16T13:19:55.430649 | 2020-09-30T16:30:59 | 2020-09-30T16:30:59 | 299,970,169 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,417 | hpp | #pragma once
#include<stdint.h>
#include<queue>
/*
Директива препроцессора DEPRECATED_FILL_METHODS которая по умолчанию отключенна
она пердназначана для вклчения или отключения компиляции других версии функции в которых используеця opencv
и предосовляют более простой интерфейс взаимодействия с методами но т.к. в услов... | [
"mrkarim777@gmail.com"
] | mrkarim777@gmail.com |
5d6f138dcccd72be7ef13171c75cca97d745a351 | cde72953df2205c2322aac3debf058bb31d4f5b9 | /win10.19042/System32/ntshrui.dll.cpp | ccf7a54fef7a5ae2f0e55f384a8a5f1499ce40a1 | [] | no_license | v4nyl/dll-exports | 928355082725fbb6fcff47cd3ad83b7390c60c5a | 4ec04e0c8f713f6e9a61059d5d87abc5c7db16cf | refs/heads/main | 2023-03-30T13:49:47.617341 | 2021-04-10T20:01:34 | 2021-04-10T20:01:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,444 | cpp | #print comment(linker, "/export:CanShareFolder=\"C:\\Windows\\System32\\ntshrui.dll\"")
#print comment(linker, "/export:DllCanUnloadNow=\"C:\\Windows\\System32\\ntshrui.dll\"")
#print comment(linker, "/export:DllGetClassObject=\"C:\\Windows\\System32\\ntshrui.dll\"")
#print comment(linker, "/export:GetLocalPathFromN... | [
"magnus@stubman.eu"
] | magnus@stubman.eu |
f632219ed8bd354eecbc3e8717df72f6d9d36b2b | 0e33c940ee81d4fb23d45ee4de97a9ef65284e4f | /GLOnMac/GLOnMac/Shader.cpp | 9a6eb6fdc022d3cb10edc3b921d252e8a4217f29 | [
"Apache-2.0"
] | permissive | bigflyboy/LearnOpenGl | a35b00c9c548cb08bbcae5039f6c47c7b3ea5dca | 4e87989e7284e7c519775929ef40046fc5e3263c | refs/heads/master | 2021-01-22T21:37:44.403697 | 2017-03-29T13:24:44 | 2017-03-29T13:24:44 | 85,451,687 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,984 | cpp | //
// Shader.cpp
// GLOnMac
//
// Created by 王志远 on 2017/3/20.
// Copyright © 2017年 王志远. All rights reserved.
//
#include "Shader.hpp"
Shader::Shader(const GLchar* vertexPath, const GLchar* fragmentPath){
// 1. 从文件路径中获取顶点/片段着色器
std::string vertexCode;
std::string fragmentCode;
std::ifstream vShade... | [
"wangzhiyuan@wangzhiyuandeMacBook-Pro.local"
] | wangzhiyuan@wangzhiyuandeMacBook-Pro.local |
3fe583870ab1d8a163ec3e8b19a05a8db4801f38 | a50a7baabeb5699ad0781428125806a79b1e2eea | /Hrdware acceleration previous test ips/combined_tiled_final/solution1/syn/systemc/accelerator_function_2.cpp | 8351f63e228bf4a5a13525ca358f2e555dd88eef | [] | no_license | gemelgb/accelerated-incremental-learning-with-support-vector-machines | 5706ffcd0993746a685f1bd2466ee086e0c81247 | f9e82368dcf9b3a79a9e63476192f666a05fc58d | refs/heads/master | 2023-03-15T12:46:21.740383 | 2020-11-10T11:40:05 | 2020-11-10T11:40:05 | 515,340,478 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,703,823 | cpp | #include "accelerator_function.h"
#include "AESL_pkg.h"
using namespace std;
namespace ap_rtl {
void accelerator_function::thread_ap_clk_no_reset_() {
if ( ap_rst_n_inv.read() == ap_const_logic_1) {
ap_CS_fsm = ap_ST_fsm_state1;
} else {
ap_CS_fsm = ap_NS_fsm.read();
}
if ( ap_rst_n_i... | [
"shankar.kumar11092@gmail.com"
] | shankar.kumar11092@gmail.com |
14ee04de97fc0d97a0b3cd328572d1157c7118bc | b382a90fe5178dfb5fded44bee345765d3131b9d | /src/menu.h | 68fe03dc1c3d45ab0521fce67e7ba296d529daf0 | [] | no_license | vis15/fractions | 68f7c9b43078dd650fa65a2bdc38f7e458a6b91d | d42da9549425307feb1b1b568cacac81895a37e0 | refs/heads/master | 2021-03-12T21:45:48.345787 | 2014-04-10T18:59:38 | 2014-04-10T18:59:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 268 | h | /*
* menu.h
*
* Created on: Dec 2, 2013
* Author: dis
*/
#ifndef MENU_H_
#define MENU_H_
#include "vars.h"
namespace Math
{
namespace Gui
{
constr getMainMenu();
constr getDebugToolbar();
} //namespace Gui
} //namespace Math
#endif /* MENU_H_ */
| [
"vis.314.15@gmail.com"
] | vis.314.15@gmail.com |
3bd210104e5d6f7c749217032e116a3f26aa2331 | 2ce5246d19d55211172d79b4091aeafd73e77a27 | /Problems/boj2167.cpp | 210963420b8b676699044d61b4b65ca38df363e7 | [] | no_license | MingNine9999/algorithm | 49e76a1fbcdbeea8388491c793f31ee6866054ae | 76be13e394e3e96cdcec0de9390f1fd573d442c5 | refs/heads/master | 2021-04-23T09:09:05.097401 | 2020-09-11T16:23:29 | 2020-09-11T16:23:29 | 249,915,663 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 739 | cpp | //Problem Number : 2167
//Problem Title : 2차원 배열의 합
//Problem Link : https://www.acmicpc.net/problem/2167
#include <iostream>
#include <algorithm>
using namespace std;
int MAP[333][333];
int main(void) {
ios::sync_with_stdio(false);
cin.tie(0);
int n, m;
int in;
cin >> n >> m;
for (int i =... | [
"mingu.song@nhn.com"
] | mingu.song@nhn.com |
a63f1ecbf84304d7eea38c9574e672bab19bb0f7 | 5a6b57d77128fc5356de31a465931c0a17d7f403 | /src/Cli/GenericCli.h | b5d16d1a3c6ec8dd9458ea0aa07dfa2a6c972f75 | [
"MIT"
] | permissive | majabojarska/TravellingSalesmanProblem | 4a4e8ef6b2974e1b04937d74418bbf6eaff8301a | 3b2efdb08dce186aa169b086ac3b704abb25710a | refs/heads/master | 2020-09-14T16:29:23.915637 | 2019-11-21T14:02:01 | 2019-11-21T14:02:01 | 223,184,949 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,000 | h | #ifndef SRC_GENERICCLI_H
#define SRC_GENERICCLI_H
#include <iostream>
#include <string>
#include <windows.h>
#include <conio.h>
#include <fstream>
#include <cstdlib>
#include <ctime>
#include <memory>
#include <map>
using namespace std;
class GenericCli {
public:
virtual void run() = 0;
protected:
GenericCl... | [
"majabojarska98@gmail.com"
] | majabojarska98@gmail.com |
ade8bb2bbf0b2a57c98a329bac774ed44e1acda4 | 2190b565035dc682eb171e0b576f0026f0c02664 | /Engine/Object/Texture.cpp | d35fcd031a5732a73590b7f741607f9d18646c2f | [] | no_license | smt005/Shoot | d423acd76701c59cded0454a409a3dee7f292433 | c6e11a8605f7ba064d216e832e2d8528a70d4f8d | refs/heads/master | 2020-03-15T07:36:15.619029 | 2018-05-16T15:56:06 | 2018-05-16T15:56:06 | 132,031,935 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,624 | cpp | #include "Texture.h"
#include "../../App/File.h"
#include "glfw3.h"
#include "FreeImage.h"
Texture::~Texture()
{
glDeleteTextures(1, &_id);
}
Texture::Texture(const string &name, bool needLoad)
{
setName(name);
if (needLoad)
load();
}
const unsigned int& Texture::id()
{
if (_id != 0)
return _id;
return loa... | [
"koptyaev.a@mail.ru"
] | koptyaev.a@mail.ru |
7a3cd792800ba7af74c38f70facf7b811f48a5c3 | b179ee1c603139301b86fa44ccbbd315a148c47b | /world/tiles/include/WorshipSiteTypes.hpp | eb9293ae4ae56a89267abbc7793baec603fb759e | [
"MIT",
"Zlib"
] | permissive | prolog/shadow-of-the-wyrm | 06de691e94c2cb979756cee13d424a994257b544 | cd419efe4394803ff3d0553acf890f33ae1e4278 | refs/heads/master | 2023-08-31T06:08:23.046409 | 2023-07-08T14:45:27 | 2023-07-08T14:45:27 | 203,472,742 | 71 | 9 | MIT | 2023-07-08T14:45:29 | 2019-08-21T00:01:37 | C++ | UTF-8 | C++ | false | false | 377 | hpp | #pragma once
enum struct WorshipSiteType
{
WORSHIP_SITE_CATHEDRAL = 0,
WORSHIP_SITE_FORTIFIED_CHURCH = 1,
WORSHIP_SITE_SIMPLE_CHURCH = 2,
WORSHIP_SITE_GRAND_TEMPLE = 3,
WORSHIP_SITE_SNAKING_TEMPLE = 4,
WORSHIP_SITE_SIMPLE_TEMPLE = 5,
WORSHIP_SITE_ISLAND_SACRIFICE_SITE = 6,
WORSHIP_SITE_ROCKY_SACRIFICE_... | [
"jcd748@mail.usask.ca"
] | jcd748@mail.usask.ca |
d4361981f1afa5a9068ad6e6393374814db49a7b | f5ee26bf42a2f4963c43a5354787353486e43e34 | /CIS22B_FinalProject_Team2/CIS22B_FinalProject_Team2/Project/Project/searchfor.cpp | 4943493c619d6a8a8b824e6f424ee2597f5103dc | [] | no_license | dpalekar/Secret-Code- | 189da46e1c2effb22b0764f69edc263cf2e84bdf | f733b3fcfc847b2925b3acfdd60b38ae490e3850 | refs/heads/master | 2021-09-19T22:24:02.996221 | 2018-08-01T06:44:29 | 2018-08-01T06:44:29 | 142,733,980 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,305 | cpp | #define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <iostream>
#include "BookInfo.h"
#include "searchfor.h"
using namespace std;
int searchForISBN(string searchISBN, BookInfo book[], const int ARR_SIZE)
{
bool found = false;
int index = 0;
while (!found && index < ARR_SIZE)
{
if (book[index].getisbn() ... | [
"darshana.palekar@gmail.com"
] | darshana.palekar@gmail.com |
a307868c2f35a5a3b32899610ca60445e1bc3f52 | a2e04e4eac1cf93bb4c1d429e266197152536a87 | /Cpp/SDK/BP_PromptActor_EmissaryEncounteredSkellyFort_OOS_classes.h | 31c7c38ae8f66f5426c03707b991b8032c83729d | [] | no_license | zH4x-SDK/zSoT-SDK | 83a4b9fcdf628637613197cf644b7f4d101bb0cb | 61af221bee23701a5df5f60091f96f2cf929846e | refs/heads/main | 2023-07-16T18:23:41.914014 | 2021-08-27T15:44:23 | 2021-08-27T15:44:23 | 400,555,804 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,155 | h | #pragma once
// Name: SoT, Version: 2.2.1.1
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Classes
//------------------------------------------------------------... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
2ef4feb4f946670e4148b39d42e7196d69526912 | f057b7a68b08725471797425d2ab76adde86beb7 | /source/ansi/brfileansihelpers.h | 0feb10903e24279a343019ffc0d65263552e6859 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"Zlib"
] | permissive | amir-padan/burgerlib | af550ef20076cf0329af610101d1371d031e4652 | fb2fc9ae0db206de2249f72a5a2ca850549baeae | refs/heads/master | 2021-06-01T04:20:06.779383 | 2016-04-17T03:35:39 | 2016-04-17T03:35:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,106 | h | /***************************************
File Manager ANSI helper functions
Copyright (c) 1995-2016 by Rebecca Ann Heineman <becky@burgerbecky.com>
It is released under an MIT Open Source license. Please see LICENSE
for license details. Yes, you can use it in a
commercial title without paying anything, just giv... | [
"becky@burgerbecky.com"
] | becky@burgerbecky.com |
0bdd7fca28f8e0880be604f08cf6b28802d2ed9d | a2bb08e966677598f58dc09a4d6cba13547a4036 | /warmup/a.cpp | 2e92bf198fa57bdd4e8d96fd43a110d773e87ac0 | [] | no_license | liketheflower/awesome_cpp | 6348d9481376fb40f28d49954ad49f1c549877e6 | d109e990bf2a79b3b8413603fdd00a777bdde06a | refs/heads/master | 2020-12-23T19:46:44.344397 | 2020-01-30T16:29:31 | 2020-01-30T16:29:31 | 237,254,611 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 268 | cpp | #include <bits/stdc++.h>
using namespace std;
int main() {
const int n = 5000;
vector<int> a(n);
for (int& x: a) x = rand() % 100123;
int answer = 0;
for(int i=0;i < n; ++i){
for(int j=i+1;j<n;++j) {
answer ^= __gcd(a[i], a[j]);
}
}
cout<<answer<<endl;
}
| [
"jim.morris.shen@gmail.com"
] | jim.morris.shen@gmail.com |
e992c340e929d9197e0f3cf9c987dcad78c00e5d | 72b38f4046f0eca1b365529caf2629f519e904f5 | /widget.cpp | 1e395908dfd81bd1fed01a6497af6db065852ba7 | [] | no_license | Pluto-wei/wuziqi2020 | f1a8c839f8a96f8059b1286857b0cd2af62c7541 | cd60feef7bfa98a8c83396d764f328bb42872ee4 | refs/heads/master | 2022-11-05T11:10:35.805956 | 2020-06-15T06:07:12 | 2020-06-15T06:07:12 | 257,589,944 | 0 | 0 | null | 2020-04-21T12:33:50 | 2020-04-21T12:33:49 | null | UTF-8 | C++ | false | false | 3,473 | cpp | #include "widget.h"
Widget::Widget(QWidget *parent)
: QWidget(parent)
, ui(new Ui::Widget)
{
ui->setupUi(this);
Init();
QPushButton *btn=new QPushButton("先手",this);
btn->move(190,745);
btn->resize(100,50);
QPushButton *btn2=new QPushButton("后手",this);
btn2->move(500,745);
btn2-... | [
"2634002591@qq.com"
] | 2634002591@qq.com |
05be478f56e55cc06d18abf7f8ef68d15dd37a86 | 8d51c4f05dbb0f098d3c62b445e4d0673ecefc19 | /src/dm/Input.cpp | 210fd63dfe5299df2a150fb4c9d8c2d0eda934b1 | [] | no_license | yoanlcq/dm | 2b7a45868f4526ac76a412fc7348437aab713987 | 5ad9d8b160e55b1cd51b8377191b91c762e56015 | refs/heads/master | 2020-06-13T23:14:55.295596 | 2017-10-30T09:42:36 | 2017-10-30T09:42:36 | 75,532,939 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,481 | cpp | #include <dm/dm.hpp>
using namespace glm;
namespace dm {
void RawInput::clearClicked() {
memset(&clicked, 0, sizeof clicked);
mousescroll = 0;
mouseprevpos = mousepos;
}
void RawInput::handleSDL2Event(const SDL_Event &e) {
#define HANDLE_KEY_EVT(is_down) \
switch(e.key.keysym.sym) { \
ca... | [
"yoanlecoq.io@gmail.com"
] | yoanlecoq.io@gmail.com |
b92a382a9c9e8795f2591f2a078bfe377b338df2 | 5ab4af4576b35e711d619dfc3619f60d54cc3056 | /LabosFunda/Laboratorio 4/EJERCICIO2.cpp | b7b680a5f256b896e48c79caafc8ed335e6b1ccb | [] | no_license | eduardozusix66/FundamentosDeProgra | 8b068f54caa52b5b0f2d6d162f52882290c4792f | 2a7aff981d488c779791cf6de709c0989098b48a | refs/heads/master | 2021-04-19T05:12:55.179098 | 2020-07-09T22:16:43 | 2020-07-09T22:16:43 | 249,583,465 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 269 | cpp | #include "iostream"
using namespace std;
int main(){
int numero,res;
cout << "Dame un numero a verificar: " << endl;
cin >> numero;
if (numero%2==0)
{
cout << "si es Par ";
}
else
{
cout << "no es Par";
}
} | [
"eduardozu_@hotmail.com"
] | eduardozu_@hotmail.com |
3853600e5b736891095d2619c990e0f7be769ffc | 5dd121467e337ab801f864f6288e984b707e26f1 | /avex.cpp | 0b0ee9989d03a630f97641c27e4ca8b8a1a4968b | [] | no_license | wtkns/avex | 104648de863924a1c9b78e39112011f2952d57f1 | 37a770b219fcf0bc5195c9a15fb48ae37972ecf9 | refs/heads/main | 2023-06-07T06:37:09.763054 | 2021-05-17T07:57:22 | 2021-05-17T07:57:22 | 356,444,385 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 84 | cpp | #include <iostream>
int main() {
std::cout << "Hello World!";
return 0;
}
| [
"jms@wtkns.com"
] | jms@wtkns.com |
9109da7a1bba147db92a23295a9942a92b409464 | d18c252ba177efe3603cbf53bb50607ce97ecd79 | /IOTFirmware/ESP8266_Project/workspace/thingTest/ReadWeatherStation.ino | 7b12cea70c11c73d5961b22a5913ead41be22592 | [] | no_license | ndbn200491/GreenTura_Project | 561a3e39538b69e6f5339c23d1cdb26018450f5f | 5b7866c894f4aac9017cd1082b77d05315389f55 | refs/heads/master | 2021-01-16T23:03:30.398987 | 2016-10-26T04:41:55 | 2016-10-26T04:41:55 | 71,857,291 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,458 | ino | /*
ReadWeatherStation
Reads the latest weather data every 60 seconds from the public MathWorks
weather station in Natick, MA https://thingspeak.com/channels/12397 on ThingSpeak.
ThingSpeak ( https://www.thingspeak.com ) is a free IoT service for prototyping
systems that collect, analyze, and react to th... | [
"ndbn200491@gmail.com"
] | ndbn200491@gmail.com |
c28e02073cdeea31177805c62334eed639ef4d22 | 7e38fc9705e48e4a7e6a003a8c414e8c3999424b | /FabianHFO/LimitBtn_SPO2low.h | c7b50d0ef1b5b18d19e278f96578df43017dade2 | [] | no_license | vivianng30/rainer-fabian-gui | e5118df24ed6eab51b819499e0680b804e7eb87a | 2ca6f43513487fdf9a10c9354736449b300e21b5 | refs/heads/master | 2020-03-28T11:11:26.391374 | 2018-09-20T13:48:54 | 2018-09-20T13:48:54 | 148,186,875 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,062 | h | //=============================================================================
/**
* \class CLimitBtn_SPO2low
*
* \brief Button for limit of SpO2 low value.
*
* \author Rainer Kuehner
* \date 2017-10-23 Creation of file
*
**/
//========================================================================... | [
"INGBUERO\\rku"
] | INGBUERO\rku |
1af73c7107fb70f3b1fe544ba83bd186c271b09a | 51b0a32cde09cdbba6a442ed7aa0db1d73a005d5 | /ODBC/StdAfx.cpp | e953dcb70b683c5699f87d8bc9bafe17fd7ede9b | [] | no_license | iamashwin99/adk | cc9f3190d6964772d20c0325411c77c415ca516b | 2012ffe8495f5d25e6766ee1052edf80cdeee62e | refs/heads/main | 2023-02-19T20:06:43.192665 | 2021-01-27T11:36:42 | 2021-01-27T11:36:42 | 333,399,256 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 206 | cpp | // stdafx.cpp : source file that includes just the standard includes
// ODBC.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
| [
"iamaashwin99@gmail.com"
] | iamaashwin99@gmail.com |
58b49749feeba51254d6ce32b8f55b2e4b46d970 | d0e4275244e0eba2b0c1fc2c518e04f0212e3bac | /uva/tug_of_war.cpp | ed5de21f7cc40641773c6a1a8c0bb0f6e430a5a0 | [] | no_license | IamYourAlpha/CONTEST-CODES | 0b34ba29ef7cfa725539c069bc8a1e3ba5b8e54f | e8b12e08af53fcff4bdc08cc7a42eecd5598a83d | refs/heads/master | 2021-06-08T13:00:35.511893 | 2021-02-26T07:44:45 | 2021-02-26T07:44:45 | 97,600,150 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,705 | cpp | /*author: MD INTISAR CHOWDHURY
Uhunt : in2
Institute: Ahasanullah University of Science and Technology
*/
//headers
using namespace std;
#include<cstring>
#include<vector>
#include<map>
#include<iostream>
#include<math.h>
#include<queue>
#include<cstdlib>
#include<ctype.h>
#include<string>
#include<cstdio>
#include<a... | [
"intisarcs@gmail.com"
] | intisarcs@gmail.com |
6c1ae24dda6ef81ee8226400e8d77471216b4b3b | f112a36191f5b2c1f12172120e8e4a0d43e57889 | /.ipp/CUPS-Get-Printers.ipp | 9aedb222057ba63bf3ba35cee50adace76cf2dda | [
"MIT"
] | permissive | leoarnold/puppet-cups | baa5f01c7562f55e6b48006bb2396e89c8959713 | e8dc9b60faa0c9eb9dcd586233027bb7a58d88ab | refs/heads/main | 2023-01-03T11:11:39.967981 | 2023-01-02T15:48:36 | 2023-01-02T16:55:46 | 48,058,689 | 11 | 38 | MIT | 2023-01-02T16:55:47 | 2015-12-15T17:32:38 | Ruby | UTF-8 | C++ | false | false | 162 | ipp | {
OPERATION CUPS-Get-Printers
GROUP operation
ATTR charset attributes-charset utf-8
ATTR language attributes-natural-language en
DISPLAY printer-name
}
| [
"github@leoarnold.de"
] | github@leoarnold.de |
b13f49d876c8a8afa7a11552e055e7d9dd1ebb50 | 2999c075c4e39d2f6d84e2281c90e8d925c800ee | /R-Type/ClientFinal/ClientFinal/GameEventManager.cpp | 9719372fd58ab912e58724c3de97f0c8a506677f | [] | no_license | lelabo-m/R-Type | b69c31aae2c3451a508059e5980c8e3b5fb572a3 | 68933e5b979b6ae3ef0d9d2bc1b066212cc58391 | refs/heads/master | 2021-09-28T02:48:51.492494 | 2015-04-25T22:03:01 | 2015-04-25T22:03:01 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 2,055 | cpp | #include "GameEventManager.h"
#include "ClientManager.h"
#include "menuManager.h"
GameEventManager::GameEventManager()
{
this->initKeyCodes();
}
GameEventManager::~GameEventManager()
{
}
void GameEventManager::initKeyCodes()
{
int i = 0;
std::string vals;
char c = 'a';
this->_keys[-1] = "";
for (i = 0, c = 'a... | [
"christopher.millon@outlook.com"
] | christopher.millon@outlook.com |
2c4994ae899f1cbf40dfa136c5899a6c60783b2a | 29cd1bd3a8a30e26e0773d6f659dd33e0f5beec2 | /code/src/Vector.cpp | ca7c2c0380bf839b0f039433151974f5ea1d84ff | [] | no_license | sepehrd2/docking | c36888ab6fc87a545ab9a9b9c30e0a6437b7e03b | c1059f7bbff159035e8abe3eaa5cc2283c2d5eac | refs/heads/master | 2021-06-27T03:39:33.557990 | 2020-09-17T18:43:16 | 2020-09-17T18:43:16 | 154,194,722 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 752 | cpp | #include <iostream>
#include "Vector.h"
using namespace std;
Vector::Vector(){
x = 0.0;
y = 0.0;
z = 0.0;
}
Vector::~Vector(){}
Vector& Vector::operator-(const Vector & v) {
Vector v1;
v1.x = x - v.x;
v1.y = y - v.y;
v1.z = z - v.z;
return v1;
}
Vector& Vector::operator=(const Vector & v) {
x = v.x;
y = v.y;... | [
"sepehr@juneau.ks.uiuc.edu"
] | sepehr@juneau.ks.uiuc.edu |
7a89fe965cf09f4d92c24e4590d25d39237ab299 | ed997b3a8723cc9e77787c1d868f9300b0097473 | /libs/test/test/test_datasets_src/test_mono_zip.cpp | 2c41d57b2d34286b7f13d6c3b939da203da2da1d | [
"LicenseRef-scancode-unknown-license-reference",
"BSL-1.0"
] | permissive | juslee/boost-svn | 7ddb99e2046e5153e7cb5680575588a9aa8c79b2 | 6d5a03c1f5ed3e2b23bd0f3ad98d13ff33d4dcbb | refs/heads/master | 2023-04-13T11:00:16.289416 | 2012-11-16T11:14:39 | 2012-11-16T11:14:39 | 6,734,455 | 0 | 0 | BSL-1.0 | 2023-04-03T23:13:08 | 2012-11-17T11:21:17 | C++ | UTF-8 | C++ | false | false | 5,416 | cpp | // (C) Copyright Gennadiy Rozental 2011.
// 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/test for the library home page.
//
// File : $RCSfile$
//
// Version : ... | [
"rogeeff@b8fc166d-592f-0410-95f2-cb63ce0dd405"
] | rogeeff@b8fc166d-592f-0410-95f2-cb63ce0dd405 |
1ca48b6284c2fe9760c0c4e330f9572822cd8942 | 5485b6c1dbd589fcb8123a5b6fa06ef3e9aa877f | /src/ast/rewriter/expr_safe_replace.h | 77b97629163b19709148f8a284609a7b0d5c7bd9 | [
"MIT"
] | permissive | agurfinkel/z3 | 2c65062917016d998c1f6fdaf8b5d5b9709b8c64 | 152c95f72a4d0e26bd8d5f2cfaf9d34eb616cb61 | refs/heads/master | 2023-09-04T02:23:52.220332 | 2020-08-18T05:39:55 | 2020-08-18T05:39:55 | 32,949,803 | 2 | 1 | NOASSERTION | 2023-08-01T22:59:20 | 2015-03-26T20:20:21 | C++ | UTF-8 | C++ | false | false | 938 | h | /*++
Copyright (c) 2012 Microsoft Corporation
Module Name:
expr_safe_replace.h
Abstract:
Version of expr_replace/expr_substitution that is safe for quantifiers.
Author:
Nikolaj Bjorner (nbjorner) 2012-11-30
Revision History:
--*/
#pragma once
#include "ast/ast.h"
class expr_safe_replace {
... | [
"nbjorner@microsoft.com"
] | nbjorner@microsoft.com |
2d01a66954f8e7da2ad131db55b4f3d28f884834 | c65b4dabfdbfdb7b4c30b583985a78c53e5ac67d | /main.cpp | c0b73b584b69f22cc9293b6fd066b7fcd5d34602 | [] | no_license | DanMargera/Rubik | 91a5d009011016f37df3c80edc9d1521841da4b0 | a65ef973e7b45df84785ebe5c04a1257565c3a37 | refs/heads/master | 2023-04-21T16:01:45.473825 | 2021-05-13T02:47:15 | 2021-05-13T02:47:15 | 256,757,778 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,835 | cpp | #include "Algorithm.h"
#include "Rubik.h"
#include "PrettyPrint.h"
#include <algorithm>
#include <iostream>
#include <stdlib.h>
#include <time.h>
static void help()
{
std::string optColor = "\e[38;5;246m\e[1m";
std::cout << "\e[1m- \e[38;5;208mASCII \e[38;5;196mR\e[38;5;165mu\e[38;5;27mb\e[38;5;118mi\e[38;5;2... | [
"danterenzi@hotmail.com"
] | danterenzi@hotmail.com |
0b42a0288a99a7e71f0935d824ecbf2efc84a1c2 | 7c2aacac64c1cb773737fab1fae9cb792fe93714 | /include/utils.hpp | 5804458042e84a43b4603b494fe2e27282ab3ffb | [] | no_license | cycmay/DataStruct | a828fcf8f15034b01d42277df9489b1d26d46f0f | e0f9fa2389368b58a4f377770a642a85ad1d853c | refs/heads/master | 2021-03-17T12:59:10.312145 | 2020-04-10T05:11:47 | 2020-04-10T05:11:47 | 246,992,792 | 2 | 1 | null | 2020-03-13T05:58:12 | 2020-03-13T05:10:20 | C++ | UTF-8 | C++ | false | false | 1,482 | hpp | /* File Info
* Author: cKrazy
* CreateTime: 4/1/2020, 2:43:51 PM
* LastEditor: cKrazy
* ModifyTime: 4/7/2020, 10:42:41 AM
* Description:
*/
#pragma once
#include <ctime>
#include <cassert>
#include <cstdlib>
#include <iostream>
#include <random>
#include "Vector.h"
#include "BinaryHeap.hpp"
// ... | [
"bicyclelg@gmail.com"
] | bicyclelg@gmail.com |
42af9f4483ef41c35e30b9c523ada21137da5b9f | ed3fdfe84677b9c1c0ae34bb7a20f5da8c53b94a | /challenge4.cpp | 54f1a5f23b4d2fe8ee8dc9732c48c5194188bddf | [] | no_license | zerolinux5/RedditDailyProgrammer | ed71659ef8b3bc641d97ea7d740590c26aaaad0e | 9f03de4fd0b1377b3d8bafe1becdf488d3143f12 | refs/heads/master | 2021-01-13T01:54:36.109253 | 2015-08-16T05:09:00 | 2015-08-16T05:09:00 | 40,574,862 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 474 | cpp | #include <iostream>
#include <time.h>
#include <stdlib.h>
using namespace std;
int main()
{
int count, size;
srand (time(NULL));
cout << "Enter number of passwords to enter followed by size:\n";
cin >> count >> size;
//Iterate through num and size printing out ascii value characters
for (int i = 0; i < ... | [
"maganazero5@gmail.com"
] | maganazero5@gmail.com |
8f87202cabe2835b5e551799b5641411d8da063b | 44376c4d26fdf9338b1c88de8f6d78804ab74b73 | /android/native/include/ti.modules.titanium.geolocation.android.LocationRuleProxy.h | 5d23ded60d49a0cff2bf03640134c07b44275bf0 | [
"Apache-2.0"
] | permissive | xissy/titanium-mobile-sdk | cc37af99ccdb5c97c428b7c491159bb32b0c55d1 | 4da0ac53ad5481a803d55c25bcffaa81fd37807b | refs/heads/master | 2020-04-20T02:04:46.590850 | 2012-10-04T00:56:42 | 2012-10-04T00:56:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 859 | h | /**
* Appcelerator Titanium Mobile
* Copyright (c) 2011 by Appcelerator, Inc. All Rights Reserved.
* Licensed under the terms of the Apache Public License
* Please see the LICENSE included with this distribution for details.
*/
/** This is generated, do not edit by hand. **/
#include <jni.h>
#include "Proxy.h"
... | [
"xissysnd@gmail.com"
] | xissysnd@gmail.com |
de8e653d9f09e7842bda6c30cbe10ddf62a14a96 | a6cb379334f962ae238e0078c024ba8ea255f015 | /Turtle3D/src/SphereTurtle.cpp | d596a1195db3ba1fdd8c8598a9ce77503e8d17bb | [] | no_license | hrdwdmrbl/FractalExperiments | 062392edbb873cdfdfe0e4efb49d0f7bafc79981 | c7470df5ca92f1365218811a082219ba6a4450d2 | refs/heads/master | 2021-01-11T18:45:53.240953 | 2012-01-24T19:25:03 | 2012-01-24T19:25:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 155 | cpp | //
// SphereTurtle.cpp
// Turtle3D
//
// Created by Willy Chyr on 12/29/11.
// Copyright 2011 Willy Chyr. All rights reserved.
//
#include <iostream>
| [
"wcchyr@gmail.com"
] | wcchyr@gmail.com |
2fd7c4edfa2bfad376015d29c703bd98d2eb59a2 | bd0c14d0b39968e677c7eaef658594afc9f46ae9 | /src/policy/crashreport/breakpad_win.cc | 260dc953dc4875d3bae867b98367887d1ffb5c2b | [] | 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 | 10,880 | cc | // Copyright by wangtianping. All rights reserved.
#include "chrome/crashreport/breakpad_win.h"
#include <windows.h>
#include <shellapi.h>
#include <tchar.h>
#include <userenv.h>
#include <winnt.h>
#include <algorithm>
#include <map>
#include <vector>
#include "base/base_switches.h"
#include "base/basictypes.h"
#in... | [
"sunwangme@gmail.com"
] | sunwangme@gmail.com |
6b80e33c8c8c9758a80b41fb4d137fdeb853436d | 63215be5ece4ac8bc4f9b0d04f4911fd6dd695e4 | /CppShortCode/smartptr/my_include/t.h | 85c78a05f7969dae61a517e160d8ba54d62e6b93 | [] | no_license | nqtwilford/Misc | b68451cb15e9068bbc1fc63a9255d9771631aae0 | eb57006e0847302dd0771831809af9bc6d33064c | refs/heads/master | 2016-08-05T10:29:13.907617 | 2014-09-04T11:02:35 | 2014-09-04T11:02:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 407 | h | #include <iostream>
class Base
{
public:
Base(int i) : _i(i){}
~Base()
{
std::cout<<"~Base() i:"<<_i<<std::endl;
}
virtual void func()
{
std::cout<<"Base::func() i:"<<_i<<std::endl;
}
protected:
int _i;
};
class Derived : public Base
{
public:
Derived(int i): Base(i){}
virtua... | [
"nqtwilford@sina.com"
] | nqtwilford@sina.com |
e71ac3546c37d4e17d614a5248396fb3221097b5 | 8754bfe0ddafc051f00214342fc8054a5a4a884d | /smtk/view/ResourcePhraseModel.h | 39049197d81ce86bf6a348e6f169c4184863fc22 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | imikejackson/SMTK | ba09cf788f24465bb0dcf86bd88bf51d3016535a | 5899079d947fc0e0b006537b971958b83ce744ee | refs/heads/master | 2021-05-10T19:34:04.562202 | 2018-01-19T03:05:02 | 2018-01-19T03:05:45 | 118,157,866 | 0 | 0 | null | 2018-01-19T17:43:28 | 2018-01-19T17:43:28 | null | UTF-8 | C++ | false | false | 2,079 | h | //=========================================================================
// Copyright (c) Kitware, Inc.
// All rights reserved.
// See LICENSE.txt for details.
//
// This software is distributed WITHOUT ANY WARRANTY; without even
// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
// PURPOSE... | [
"david.thompson@kitware.com"
] | david.thompson@kitware.com |
6113ffd0808b434b71bdd551d04eeca37686382f | 8b20c6ef83d66c241b5c2ba28a62146531c78a0e | /ch10/ex10_32/Sale_item.h | b109e1ed56eb1267a6d348a455c7e05036db1f03 | [] | no_license | Ilikecoding/cpp_primer | ab849d02fa1e55faff74d1d79c370c01e0e70e5c | 51493c95a6c3c1563501dc179d39d160eb39afc3 | refs/heads/master | 2016-09-05T12:21:27.853909 | 2015-01-08T15:45:57 | 2015-01-08T15:45:57 | 27,260,335 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 981 | h | #include <iostream>
#include <algorithm>
#include <iterator>
#include <vector>
#include <string>
using naemspace std;
class Sale_item
{
public:
Sale_item(const string &s, unsigned uni, double price):
isbn(s), units_sold(uni), revenue(uni * price) { }
string get_isbn() const { return isbn; }
bool same_isbn(... | [
"2426984972@qq.com"
] | 2426984972@qq.com |
e6ddde3a391f5f1f50b20cef7e381699677f8a11 | 37cca16f12e7b1d4d01d6f234da6d568c318abee | /src/org/mpisws/p2p/transport/rendezvous/RendezvousTransportLayerImpl_openSocketViaPilot_3.cpp | adc409535730c65d197ea3d3646e84b445013f40 | [] | no_license | subhash1-0/thirstyCrow | e48155ce68fc886f2ee8e7802567c1149bc54206 | 78b7e4e3d2b9a9530ad7d66b44eacfe73ceea582 | refs/heads/master | 2016-09-06T21:25:54.075724 | 2015-09-21T17:21:15 | 2015-09-21T17:21:15 | 42,881,521 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,818 | cpp | // Generated from /pastry-2.1/src/org/mpisws/p2p/transport/rendezvous/RendezvousTransportLayerImpl.java
#include <org/mpisws/p2p/transport/rendezvous/RendezvousTransportLayerImpl_openSocketViaPilot_3.hpp>
#include <java/io/IOException.hpp>
#include <java/lang/NullPointerException.hpp>
#include <org/mpisws/p2p/transpor... | [
"sgurjar@adobe.com"
] | sgurjar@adobe.com |
5b41d6ab2d63251d9a8ec5c536f112a9640cb18e | 7e62f0928681aaaecae7daf360bdd9166299b000 | /external/DirectXShaderCompiler/tools/clang/lib/StaticAnalyzer/Checkers/VirtualCallChecker.cpp | ecf9e14c0bfb25e0db0b50d8ac5afc1948b88801 | [
"NCSA",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | yuri410/rpg | 949b001bd0aec47e2a046421da0ff2a1db62ce34 | 266282ed8cfc7cd82e8c853f6f01706903c24628 | refs/heads/master | 2020-08-03T09:39:42.253100 | 2020-06-16T15:38:03 | 2020-06-16T15:38:03 | 211,698,323 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,368 | cpp | //=======- VirtualCallChecker.cpp --------------------------------*- C++ -*-==//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===------------------------------------------------... | [
"yuri410@users.noreply.github.com"
] | yuri410@users.noreply.github.com |
0e2ea6f8f8dbe644edad3541f45705c7fbd52b82 | f06ec533c4e1baa757745f4514e65602106cb1bc | /src/duixengine/include/dui/DuiTreeCtrl.h | efbabcd3e742f0c526227b9969814df6ab2263f6 | [
"MIT"
] | permissive | 15831944/duiplant | 77ed58be52c618e6238db5e8ea06a7bd0cdb288e | 678cd430c325300ca3a541912a037b578b26e237 | refs/heads/master | 2021-05-27T10:23:38.860118 | 2014-05-21T16:44:43 | 2014-05-21T16:44:43 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 7,227 | h | //////////////////////////////////////////////////////////////////////////
// Class Name: CDuiTreeCtrl
// Description: CDuiTreeCtrl
// Creator: JinHui
// Version: 2012.12.16 - 1.1 - Create
//////////////////////////////////////////////////////////////////////////
#pragma once
#include <dui/duiwndpan... | [
"kevinzhwl@gmail.com"
] | kevinzhwl@gmail.com |
d1e63c27dd1f1fee482b97224a7353490f4042c6 | a2a2750b650f39c8adaf81322f6b2d6c5101dc96 | /matriz2.cpp | e60c94041ee930396e7aa97a54f9bb315f0dd8df | [] | no_license | edwinpalacios26/ejerciciosdeclase | da16619a1e29026421413b08c61820ec43b6624e | 20f5e72c4ee3754396997a54990a2b4e1aa82dbe | refs/heads/master | 2020-09-07T08:34:57.588651 | 2019-11-10T02:21:08 | 2019-11-10T02:21:08 | 220,724,611 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,018 | cpp | #include <iostream>
using namespace std;
#define N 4
void multiply(int mat1[][N],
int mat2[][N],
int res[][N])
{
int i, j, k;
for (i = 0; i < N; i++)
{
for (j = 0; j < N; j++)
{
res[i][j] = 0;
for (k = 0; k < N; k++)
... | [
"Enrique"
] | Enrique |
25f0b98fe5e016f1d3207b3444019093f13497cb | a6f5d608a22fb2e904c8e438d23694599d4cd8e1 | /apps-src/apps/librose/base_controller.cpp | f0a27e135ada3de9ad90b3fe64c65ce9a1cf0862 | [
"BSD-2-Clause"
] | permissive | absir/Rose | ec18ad5c5a8c9d24cb4af281fbd00a2efa7285fa | 23a9f4307a27a3d4f2aceac30853d0ee69bc0f41 | refs/heads/main | 2023-02-24T20:00:47.442495 | 2021-01-31T08:03:05 | 2021-01-31T08:35:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,057 | cpp | /* $Id: base_controller.cpp 47506 2010-11-07 20:19:57Z silene $ */
/*
Copyright (C) 2006 - 2010 by Joerg Hinrichs <joerg.hinrichs@alice-dsl.de>
wesnoth playlevel Copyright (C) 2003 by David White <dave@whitevine.net>
Part of the Battle for Wesnoth Project http://www.wesnoth.org/
This program is free softwa... | [
"service@leagor.com"
] | service@leagor.com |
c447e59314b25e0c6a430af59d9c7bbccecfc249 | 2ecf23a22ede90d51895eb0154e1f88faa4ae2df | /src/CPlusPlusTemplates/Chapter.20/CountingPointer/StandardArrayPolicy.h | 9a43328b78928ea392be379a84d223aedccc938a | [] | no_license | zhangrongzhao/CPlusPlusTemplates | d7b53a8e1e9f4bd5b5191c26da7f135e28cba54f | 5b4132d10c9eeab112f174397de2bfca26d5714e | refs/heads/master | 2020-06-11T01:56:39.320247 | 2016-12-07T09:14:03 | 2016-12-07T09:14:03 | 75,818,671 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 227 | h | #include "../stdafx.h"
#ifndef STANDARD_ARRAY_POLICY_H
#define STANDAED_ARRAY_POLICY_H
class StandardArrayPolicy{
public:
template<typename T>
viod dispose(T* array){
delete[] array;
}
};
#endif//STANDARD_ARRAY_POLICY_H | [
"rongzhao.zhang@pearson.com"
] | rongzhao.zhang@pearson.com |
a12e9c60209bdbd1dcd6388e2e8f6b1c0e24831e | 8cdfa97f6691eef3c6ec5717c15b050537348557 | /AsteroidsGame.cpp | 94f8a63bc3671d01591f6a634ab850fd6015351b | [] | no_license | will1996/LudumDare2020 | 29b0232b791ad3a841036e6b7bdbddeb4ddafea6 | e7b2d480efe10a3c3b995030a541a4c9d789cc83 | refs/heads/master | 2022-12-20T15:53:56.365911 | 2020-10-06T18:40:48 | 2020-10-06T18:40:48 | 301,531,117 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,702 | cpp | //
// Created by W on 10/4/20.
//
#include "AsteroidsGame.hpp"
#include"glm/gtx/matrix_transform_2d.hpp"
#include"glm/gtx/string_cast.hpp"
#include"glm/gtx/vector_angle.hpp"
#include<cstdlib>
AsteroidsGame::AsteroidsGame(float width, float height): width(width), height(height),AsteroidSpawnTicker(300),idCounter(0){... | [
"31424411+will1996@users.noreply.github.com"
] | 31424411+will1996@users.noreply.github.com |
a3b71d08a6e99843c93083d04cac545467aa88bb | 2bc835b044f306fca1affd1c61b8650b06751756 | /setup/active/inseng/insfact.cpp | ce91efe249b30dc2594d150a0a8d59f97a96c84a | [] | no_license | KernelPanic-OpenSource/Win2K3_NT_inetcore | bbb2354d95a51a75ce2dfd67b18cfb6b21c94939 | 75f614d008bfce1ea71e4a727205f46b0de8e1c3 | refs/heads/master | 2023-04-04T02:55:25.139618 | 2021-04-14T05:25:01 | 2021-04-14T05:25:01 | 357,780,123 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,373 | cpp | #include "inspch.h"
#include "insobj.h"
#include "insfact.h"
//=--------------------------------------------------------------------------=
// Function name here
//=--------------------------------------------------------------------------=
// Function description
//
// Parameters:
//
// Returns:
//
// Notes:
//
... | [
"polarisdp@gmail.com"
] | polarisdp@gmail.com |
f755d95ecdff12a838c9a172a86e5729ee78a7a3 | b1c6f02d569af4767652d38249eb1b26016d84f2 | /src/main.h | 985886646875156c9851c7cc85cbdf99af7eb1a5 | [
"MIT"
] | permissive | shuck/Beaocoin | a638a0c54011a830ab19eda010e698fcb942360e | 89c7448bbeff5878435b3ee81ce8f159a3c0e16e | refs/heads/master | 2021-01-18T20:31:13.790816 | 2014-03-15T08:54:11 | 2014-03-15T08:54:11 | 17,767,120 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 45,039 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Copyright (c) 2011-2012 Litecoin Developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_MAIN_H
#define BITCO... | [
"chengzho@gmail.com"
] | chengzho@gmail.com |
6312ec6a8f30149c647489445decd8dcfb1a281e | d2fa803d61836e9ac411ead501747bb99c56c839 | /plugins/samplesource/fcdproplus/fcdproplusinput.h | ebbd7599dbc4bdf7752ea393892a57bb59c4e470 | [] | no_license | hmne/sdrangel | 9eac60c843cc8da3bf1f7fe4dfca24a45b28d120 | 1d442fd077981087fb7733dde486d8501885d56e | refs/heads/master | 2020-03-29T21:00:38.928842 | 2017-12-02T17:57:55 | 2017-12-02T17:57:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,576 | h | ///////////////////////////////////////////////////////////////////////////////////
// Copyright (C) 2016 Edouard Griffiths, F4EXB //
// //
// This program is free software; you can redistribute it and/or mod... | [
"f4exb06@gmail.com"
] | f4exb06@gmail.com |
a628be761bfc850ccb7a4aba975016209af3ce36 | db8755f58a43891bb108b167abd9d62447223d04 | /Library/Source Files/06 Render Passes and Framebuffers/12 Destroying a render pass.h | 6adef06bf8f64243bf8689c169dbab51ea09e25b | [
"MIT"
] | permissive | KillerGoldFisch/Vulkan-Cookbook | d05e60caca97a2198c7bd623b95cb20109f65aef | e6efd57609d858ed26a71c3b2e657e809f2b8c6a | refs/heads/master | 2023-01-29T02:58:56.553994 | 2023-01-18T09:57:50 | 2023-01-18T09:57:50 | 169,872,221 | 0 | 0 | MIT | 2023-01-18T16:51:19 | 2019-02-09T13:57:41 | C++ | WINDOWS-1252 | C++ | false | false | 1,630 | h | // Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the "Software"),
// to deal in the Software without restriction, including without limitation
// the rights to use, copy, modify, merge, publish, distribute, sublicense,
// and / or se... | [
"sushantn@packtpub.net"
] | sushantn@packtpub.net |
e5097e269ce4e77d9d3c781b8620b082ac716566 | 06d1347c088951549328d0aa6a4cf5a3d32e58fd | /荷马史诗.cpp | 7e27ba5637483bb6b59a7fa6e451d93875242f6f | [] | no_license | jesseliu612/oi-code | 885991a926d3f261f8ad4cfabc51e34a51dc2f6e | 617209f1dd50d3742074c643b0a2d1b774eba0dc | refs/heads/master | 2021-05-07T23:56:52.246851 | 2017-10-20T12:20:26 | 2017-10-20T12:20:26 | 107,673,474 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,056 | cpp | #include <cstdio>
#include <cstdlib>
#include <iostream>
#include <cstring>
#include <algorithm>
#include <queue>
using namespace std;
typedef long long ll;
ll geti(){
ll ret=0;char ch=getchar();char k=0;
while((ch<'0' || ch>'9') && ch!='-')ch=getchar();
if(ch=='-')k=1,ch=getchar();
while(ch>='0' && ch<... | [
"jesseliu612@126.com"
] | jesseliu612@126.com |
5a2b1fb7c93f95036e7622c50b04191feef79aac | 0aa31d232a6949dfbe7fd25365578d2788440d95 | /src/qt/assetcontroldialog.h | 52d0ceecb719548e40c4abc2835fb3b485ed59b7 | [
"MIT"
] | permissive | QuarterCoin/QuarterCoin-Wallet | 55382d234b9605822d64b2a857e1e57bff5022b3 | bf6bf8ec8a2907e1fa29305df389e0ae7156e544 | refs/heads/master | 2020-09-09T05:03:29.646947 | 2019-11-15T02:03:58 | 2019-11-15T02:03:58 | 221,355,759 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,289 | h | // Copyright (c) 2018 The Bitcoin Core developers
// Copyright (c) 2017 The Raven Core developers
// Copyright (c) 2018 The Quartercoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef QTC_QT_ASSETCONTROLD... | [
"splnty@live.com"
] | splnty@live.com |
23bff910195750b3c9d3a2b8a9743a8305d2a918 | 3239b4b42bb7ea7a5661b5286db075a59ac5c40c | /Old Files/cpp files/Colors/surface/main.cpp | 81816edca408f7b31178e1b9976b38a1140cea1d | [] | no_license | dshot92/internship_volume_mesh | c5246b2bf8fc406684bd2c7a500bd809793d6cf6 | d4fd40cacef57478ba31b43694af050c6c8cae10 | refs/heads/master | 2023-03-11T18:41:06.538743 | 2021-02-28T00:58:06 | 2021-02-28T00:58:06 | 258,983,463 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,417 | cpp | /* This is a base application for cinolib (https://github.com/maxicino/cinolib).
* It will show a GL canvas (and associated control panel) to interact
* with a triangle mesh.
*
* In case you don't need a GUI, you can drop the "Drawable" prefix from the mesh data type.
* What you will get is a lighter yet fully ope... | [
"dshot92@gmail.com"
] | dshot92@gmail.com |
4b791251f4ff417078d7204d3bcfd3c805b1e57a | 178ac2eecef425180aa665f9689b7762c407bd3a | /manifold-ipa/code/kernel/quantum_scheduler.h | f6ca92ed066c16f463413a8c8570b516ce0c4fb2 | [] | no_license | RaoKarter/manifold_0_12_ei | e211708d54251bf43405458000fbc158e1d8fa97 | 191112e0d2b2eaf65cbcf9aa2e3bd6804076c9c7 | refs/heads/master | 2021-06-03T02:34:08.653720 | 2018-12-10T02:51:40 | 2018-12-10T02:51:40 | 94,926,163 | 0 | 0 | null | 2018-02-14T00:26:38 | 2017-06-20T19:10:17 | C++ | UTF-8 | C++ | false | false | 2,181 | h | #ifndef MANIFOLD_KERNEL_QUANTUM_SCHEDULER_H
#define MANIFOLD_KERNEL_QUANTUM_SCHEDULER_H
#include "scheduler.h"
#include <list>
namespace manifold {
namespace kernel {
//####################################################################
// Quantum schedulers
//###################################################... | [
"karthik.the.rao@gmail.com"
] | karthik.the.rao@gmail.com |
7aac6d6519c86ccd89bbc3155fdfbee554e5e992 | 8ae31e5db1f7c25b6ce1c708655ab55c15dde14e | /比赛/学校/2019-12-10测试/source/PC02_这位搬题人我都替您丢人/tree.cpp | b9826c20d489e573147a4e2ada9115d7f6775ec0 | [] | no_license | LeverImmy/Codes | 99786afd826ae786b5024a3a73c8f92af09aae5d | ca28e61f55977e5b45d6731bc993c66e09f716a3 | refs/heads/master | 2020-09-03T13:00:29.025752 | 2019-12-16T12:11:23 | 2019-12-16T12:11:23 | 219,466,644 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 441 | cpp | #include <bits/stdc++.h>
#define ll long long
#define maxn 200005
const int mod=998244353;
int f[maxn],n,degr[maxn],ans=1;
int main(){
freopen("tree.in","r",stdin);freopen("tree.out","w",stdout);
scanf("%d",&n);
f[0]=1;for(int i=1;i<=n;++i)f[i]=(ll)f[i-1]*i%mod;
for(int i=1;i<n;++i){
int u,v;
scanf("%d%d",&u,... | [
"506503360@qq.com"
] | 506503360@qq.com |
b901407febe3c0e335496e466dc3aa337a333e69 | 690c50a838362f8a2dab3b3c875d92a40992899f | /windows_keyboard_input/08 version - handling text input asci/main.cpp | e66f651fb98020f999d89337e6861cf5e48d893d | [] | no_license | Olster1/windows_tutorials | b652f7169066bae284585a5896cdeafa805763d9 | c632994cbf669120167fcadc850dbf575420386e | refs/heads/main | 2023-08-23T02:28:20.944670 | 2021-10-31T06:02:10 | 2021-10-31T06:02:10 | 367,305,185 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,994 | cpp | #define WIN32_LEAN_AND_MEAN
#define NOMINMAX
#define UNICODE
#include <windows.h>
#include <stdint.h> //for the type uint8_t for our text input buffer
#include <assert.h>
enum PlatformKeyType {
PLATFORM_KEY_NULL,
PLATFORM_KEY_UP,
PLATFORM_KEY_DOWN,
PLATFORM_KEY_RIGHT,
PLATFORM_KEY_LEFT,
PLATFO... | [
"oliver_marsh@live.com.au"
] | oliver_marsh@live.com.au |
49198efedd9da1631df78d8d38217c72c1c8bca9 | bd1fea86d862456a2ec9f56d57f8948456d55ee6 | /000/108/295/CWE590_Free_Memory_Not_on_Heap__free_int64_t_declare_82.h | 43fae1ee7ac06fdf1fdacf95d12f8c6efb4f9b07 | [] | no_license | CU-0xff/juliet-cpp | d62b8485104d8a9160f29213368324c946f38274 | d8586a217bc94cbcfeeec5d39b12d02e9c6045a2 | refs/heads/master | 2021-03-07T15:44:19.446957 | 2020-03-10T12:45:40 | 2020-03-10T12:45:40 | 246,275,244 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,245 | h | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE590_Free_Memory_Not_on_Heap__free_int64_t_declare_82.h
Label Definition File: CWE590_Free_Memory_Not_on_Heap__free.label.xml
Template File: sources-sink-82.tmpl.h
*/
/*
* @description
* CWE: 590 Free Memory Not on Heap
* BadSource: declare Data buffer is declared on t... | [
"frank@fischer.com.mt"
] | frank@fischer.com.mt |
6a141e3057570ec8c7b451061fa8e96df4ea2e50 | d94e66f721600b1ada8d4fef84b392521d186a5c | /source/papyrus/sprite/animsprite.cpp | 3d223f66362ed72da0e5e98c78f4c194f44a493b | [] | no_license | ash-c/pirategame | 638d4756f1610dfc06ba6a78922d9990493bd274 | d0e0303e6f073174cc8b9baf9adfc74ac3120e0c | refs/heads/master | 2016-09-06T11:03:22.031236 | 2014-05-14T23:18:18 | 2014-05-14T23:18:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,629 | cpp |
// Library Includes
// Local Includes
#include "animsprite.h"
#include "../renderer/renderer.h"
#include "../parser/parser.h"
#include "../../pirategame/character/playable.h"
using namespace Papyrus;
Sprite::CAnimSprite::CAnimSprite()
: m_clips(0)
, m_timer(0.0f)
, m_currFrame(0)
, m_currClip(0)
, m_prevAnim(... | [
"ash@server.fake"
] | ash@server.fake |
ff4078d90be69320be47b2f457de8ba5e39e1b5d | 9223091bf8ccd7d8fed246ac61c41f07920079e7 | /GAM450BuildSystem/src/Graphics/source/SkyeDX/ObjectHandle.cpp | 511ea1a6f69d3bcd7e2eaf47807224ecc0098fa1 | [] | no_license | JiyoonKang/GAM450 | 37ae8a40a08d9c86064550ff2ee04ab164d6b243 | 2532ea01dd8f623d881dbd5eaa657eaa73853c0b | refs/heads/master | 2021-01-12T14:24:29.521646 | 2016-10-04T04:14:44 | 2016-10-04T04:14:44 | 69,933,800 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 1,852 | cpp | /*******************************************************************************
* All content © 2015 DigiPen (USA) Corporation, all rights reserved.
* Reproduction or disclosure of this file or its contents without the prior
* written consent of DigiPen Institute of Technology is prohibited.
*
* File: ObjectHandl... | [
"wldbs18@gmail.com"
] | wldbs18@gmail.com |
cd858507d554cd75014ffd5918e5132480b815a0 | b3094d2edcfc935f05b212b00e6ae98673c3e8d2 | /include/Displayer.hpp | 24e92a24eb4a53a436ac0628f6f7fcd8faa9f2f1 | [] | no_license | tianxiejack/pro_stbenc_crcore2 | 6a5b1482250d955cf515e0cc01e81267dd04441a | 2a582b26441b6f629a3504cdd1e7bc0488609738 | refs/heads/master | 2021-08-16T18:04:52.736510 | 2020-08-18T00:33:24 | 2020-08-18T00:33:24 | 214,626,623 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,639 | hpp |
#ifndef DISPLAYER_HPP_
#define DISPLAYER_HPP_
//#define __EGL__
#define DS_RENDER_MAX (9)
#define DS_CHAN_MAX (4)
#include <opencv2/opencv.hpp>
#include <osa_buf.h>
#ifdef __EGL__
#include <EGL/egl.h>
#include <EGL/eglext.h>
#include <GLES2/gl2.h>
#include <GLES2/gl2ext.h>
#else
#include <... | [
"alex@qr.com"
] | alex@qr.com |
71445dec85cd680d827c5d611176445828f20b54 | ac241047d502f84c54396d2d94d7bd017d295307 | /code/imageanalysis/ImageAnalysis/ImageRotator.tcc | 10518fe71a8a4dbe591d1711b0a0fcf0aea79a70 | [] | no_license | CARTAvis/New-casa | 365609660b0f6a8346f2099465eebc4e6477202c | d86c6e21465f9eb3ef8924142d0ab1933fa99d6b | refs/heads/master | 2021-09-24T04:37:59.382813 | 2018-10-03T03:58:44 | 2018-10-03T03:58:44 | 151,343,238 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,218 | tcc | //# Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002
//# Associated Universities, Inc. Washington DC, USA.
//#
//# This library is free software; you can redistribute it and/or modify it
//# under the terms of the GNU Library General Public License as published by
//# the Free Software Foundation; either version 2... | [
"dmehring@nrao.edu"
] | dmehring@nrao.edu |
f49820f6b867348d22ae8afa10a81b9207d8ff43 | e763b855be527d69fb2e824dfb693d09e59cdacb | /aws-cpp-sdk-mq/include/aws/mq/MQClient.h | 7810748885dfe1a703d5a6cf3d4eebbc18cba87d | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | 34234344543255455465/aws-sdk-cpp | 47de2d7bde504273a43c99188b544e497f743850 | 1d04ff6389a0ca24361523c58671ad0b2cde56f5 | refs/heads/master | 2023-06-10T16:15:54.618966 | 2018-05-07T23:32:08 | 2018-05-07T23:32:08 | 132,632,360 | 1 | 0 | Apache-2.0 | 2023-06-01T23:20:47 | 2018-05-08T15:56:35 | C++ | UTF-8 | C++ | false | false | 40,793 | h | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | [
"henso@amazon.com"
] | henso@amazon.com |
bed72c35bfc2d63a65315c5610677da0af87af5c | accdae89e4c4015e20c0344cd7b9a5ab569f3d89 | /main.cc | ac3c048fb783de38f7bdc4eff913114283d212c1 | [] | no_license | dynamonda/CppUtil | 0571aa6213ab3a8f6dd350a1533738891a9f7750 | 20df203521ac3f02868b105ccfe7c84fd1ef8add | refs/heads/main | 2023-08-21T09:59:18.915909 | 2021-10-17T06:51:47 | 2021-10-17T06:51:47 | 418,046,377 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 534 | cc | // Copyright 2021 dynamonda
#include <iostream>
#include "cpputil.hpp"
int main() {
std::string str = "12345";
std::string target = "87";
std::string to = "a";
std::string str2(str);
std::string::iterator itr = str2.begin();
while (itr != str2.end()) {
auto find_itr = find_end(itr, s... | [
"v7gj9kk@gmail.com"
] | v7gj9kk@gmail.com |
c2a6c00de357ab3644b4dfc2de782e1f97bef64f | 5ce97c9a4db574b61fa2538de82cb7b3347b670f | /cpp/d07/ex00/whatever.cpp | 9a9827244c22aa6d484a300d7d755c78e8c0e3ff | [] | no_license | djoly42/42 | 3ea0afe368b727c72e8ae1f6deb75b5d7c3a00f4 | f676a9cdbcaa8833a70fe10654d92a9252d0343c | refs/heads/master | 2021-07-15T05:19:51.876404 | 2017-10-12T17:58:53 | 2017-10-12T17:58:53 | 106,266,867 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,705 | cpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* whatever.cpp :+: :+: :+: ... | [
"you@example.com"
] | you@example.com |
32e5df43fdda5ee11aeccb6ca1549d54872a998a | 29ff542fc0ed3b45334bdb522bd132e1ac424728 | /tools/z3/src/ast/rewriter/pb2bv_rewriter.cpp | 3862aecaed7e2ff91e511d871abb7c12db2e0efb | [
"MIT"
] | permissive | diverse-project/samplingfm | e7de9df8b71f5e621ce0d112d57173f1c88d001a | ffd0cd7755eddbe3adfe00cee5ffff2703bb39a6 | refs/heads/master | 2020-04-18T02:58:51.937550 | 2019-01-23T13:08:12 | 2019-01-23T13:08:12 | 167,182,803 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 40,095 | cpp | /*++
Copyright (c) 2016 Microsoft Corporation
Module Name:
pb2bv_rewriter.cpp
Abstract:
Conversion from pseudo-booleans to bit-vectors.
Author:
Nikolaj Bjorner (nbjorner) 2016-10-23
Notes:
--*/
#include "ast/rewriter/rewriter.h"
#include "ast/rewriter/rewriter_def.h"
#include "util/statistics.h"
#i... | [
"mathieu.acher@irisa.fr"
] | mathieu.acher@irisa.fr |
f38e3792c8ae2fb3d9b8bfd08b20476cb13e19a8 | 083100943aa21e05d2eb0ad745349331dd35239a | /aws-cpp-sdk-email/source/model/GetSendStatisticsRequest.cpp | 829a5e80095e45e58a7adb688887cad2abf4d38c | [
"JSON",
"MIT",
"Apache-2.0"
] | permissive | bmildner/aws-sdk-cpp | d853faf39ab001b2878de57aa7ba132579d1dcd2 | 983be395fdff4ec944b3bcfcd6ead6b4510b2991 | refs/heads/master | 2021-01-15T16:52:31.496867 | 2015-09-10T06:57:18 | 2015-09-10T06:57:18 | 41,954,994 | 1 | 0 | null | 2015-09-05T08:57:22 | 2015-09-05T08:57:22 | null | UTF-8 | C++ | false | false | 1,020 | cpp | /*
* Copyright 2010-2015 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file... | [
"henso@amazon.com"
] | henso@amazon.com |
fb640abea4688fb77c216230f34ef9c1d967237b | b8147ee557437f075747c9d9fc44b6f5db130f82 | /src/test/core/test_buffer.cc | a7e555884e13440654f0b27460e319a5d842a09d | [] | no_license | gaoxinbo/libnetwork | 8a23de6ae6fb786daf6df6de4903d7dfe3d88239 | 5993e2ba7750706ab39884413fa1f1fa920205c1 | refs/heads/master | 2020-04-02T09:58:29.424176 | 2013-09-03T09:52:14 | 2013-09-03T09:52:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,496 | cc | #include "gtest/gtest.h"
#include "core/buffer.h"
#include <string>
#include <iostream>
using namespace std;
using namespace network;
TEST(Buffer, init){
Buffer b;
EXPECT_EQ(b.remain(),2048);
}
TEST(Buffer, RWint){
Buffer b;
b.writeInt32(100);
EXPECT_EQ(b.readable(),4);
int n = b.readInt32();
EXPECT_E... | [
"gaoxinbo1984@gmail.com"
] | gaoxinbo1984@gmail.com |
bc5f68ecf1a8ade251cf55508685c752599eb611 | edb6eb951dd0ddbda361c634f6e6eed22e29259e | /src/Helper/SettingsDlg.h | 754410d975978688128715c7dc86ac47c2cf02b0 | [
"Apache-2.0"
] | permissive | brucelevis/ImGuiFontStudio | b52a196036d4becefe05972acc58cbd502cf201d | 94f06e46e9735d91e35e6ce33d5de028733b3595 | refs/heads/master | 2023-04-02T08:53:39.357475 | 2021-04-07T21:17:09 | 2021-04-07T21:17:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,918 | h | /*
* Copyright 2020 Stephane Cuillerdier (aka Aiekick)
*
* 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 appl... | [
"aiekick@funparadigm.com"
] | aiekick@funparadigm.com |
6d70c26ffeca37159e0b3ff7771752c665b6a85b | 6d71d104a1bc45ce0d9f2702de62ab026ccd01d8 | /hw08/Angle.cc | 06311d08cccefba16f1390243602c3575a952423 | [] | no_license | isao21/computer-science-c- | d27a308d91ecd425ab7113338e9b6d3ba8970e56 | c0db6d64e9a18fad748cd7b51fd23df38fc87173 | refs/heads/master | 2020-03-27T17:13:58.225257 | 2018-11-03T11:52:34 | 2018-11-03T11:52:34 | 146,837,580 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,351 | cc | #include "Angle.h"
#include <stdio.h>
#include <cmath>
//variable angle is declared in header Angle.h
/**
default constructor
sets degree to zero
**/
Angle::Angle(){
degree = 0;
}
/**
deconstructyor
**/
Angle::~Angle(){
calcSin = false;
calcCos = false;
}
/**
double degree: set a default angle.
**/
Angle::Angle(dou... | [
"chadthedragonkiller@gmail.com"
] | chadthedragonkiller@gmail.com |
6bf21b9a9aae0d9f236b6c5e7e5697e13d46778d | bba6aebbc1a0c0f1a013c048f546028121e22722 | /third_party/usd/include/pxr/imaging/hdx/types.h | 20e0148c93e1c176ea1a351c28102b25a60206e4 | [] | no_license | michal1000w/GPUSmoke | d061c33bbab817803707984334091c14846e6808 | a5d17ae75871112ff82d39073bf96ea0e96e8fe3 | refs/heads/master | 2023-05-21T13:03:41.573055 | 2021-06-10T14:13:52 | 2021-06-10T14:13:52 | 262,777,366 | 125 | 16 | null | 2021-06-10T14:13:53 | 2020-05-10T12:00:26 | C++ | UTF-8 | C++ | false | false | 2,168 | h | //
// Copyright 2016 Pixar
//
// Licensed under the Apache License, Version 2.0 (the "Apache License")
// with the following modification; you may not use this file except in
// compliance with the Apache License and the following modification to it:
// Section 6. Trademarks. is deleted and replaced with:
//
// 6. Trad... | [
"michal_wieczorek@hotmail.com"
] | michal_wieczorek@hotmail.com |
ea61e64c47ed7178af1ac440768f4501c349f122 | 4ac1df85f53ab7d3405b92aedc189d21ddc18b39 | /30DaysOfCode/day16.cpp | a0f39bce7227d654c622404196d29aabc5e4c7ed | [] | no_license | robertg231/HackerRank | 273240e6ad4804c47a606c30c2643cf22555ec1e | e20ddb92898420ab5f89e495a9ee476f208b4395 | refs/heads/master | 2021-01-01T15:34:52.641541 | 2017-11-10T02:25:50 | 2017-11-10T02:25:50 | 97,652,650 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 251 | cpp | #include<iostream>
#include <string>
using namespace std;
int main()
{
string number;
cin >> number;
try
{
cout << stoi(number);
}
catch(invalid_argument& E)
{
cout << "Bad String";
}
return 0;
}
| [
"rgorosave231@gmail.com"
] | rgorosave231@gmail.com |
cc4f5c3655f9956ad7a79d25dcf3141a30883236 | a909df0ba2abf695df4a7d15350312d4c6463c48 | /UVa/410.cpp | c568f88b752f3b95b0716087188cdb143dae19ec | [] | no_license | SayaUrobuchi/uvachan | 1dadd767a96bb02c7e9449c48e463847480e98ec | c213f5f3dcfc72376913a21f9abe72988a8127a1 | refs/heads/master | 2023-07-23T03:59:50.638063 | 2023-07-16T04:31:23 | 2023-07-16T04:31:23 | 94,064,326 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,116 | cpp | #include<stdio.h>
int main()
{
int a,b,c,d,e,f,g,h;
double i,j,m;
char k[10],l[10],n;
g=0;
while(scanf("%d%d",&a,&b)==2)
{
for(c=0,i=0;c<b;c++)
{
scanf("%d",&k[c]);
i+=k[c];
l[c]=0;
}
printf("Set #%d\n",++g);
i/=a;
for(c=0,d=-1,h=b-a,j=0;c<a;c++)
{
printf(" %d:",c);
e=d;
while(l[++... | [
"sa072688@gmail.com"
] | sa072688@gmail.com |
68f4f4cd10df624fc024460159d4ebda6b5ff592 | 7d29954c47203863c457c04794725a5e320b8c9d | /elements/loadbalancers/LoadBalanceAIMD.hh | 8b78beceef7cfa0416be5efa45ed49a069beb9c0 | [
"MIT"
] | permissive | gitter-badger/NBA | 879340c00c5d83e0187b0162ab2bc1f9dc3d6add | f85ce709eb0a54d0340cc74ffe2532ae9ece8541 | refs/heads/master | 2020-12-24T19:45:53.787219 | 2015-08-07T04:36:57 | 2015-08-07T04:36:57 | 40,404,246 | 0 | 0 | null | 2015-08-08T13:48:52 | 2015-08-08T13:48:52 | null | UTF-8 | C++ | false | false | 3,971 | hh | #ifndef __NBA_ELEMENT_LOADBALANCEAIMD_HH__
#define __NBA_ELEMENT_LOADBALANCEAIMD_HH__
#include "../../lib/element.hh"
#include "../../lib/annotation.hh"
#include "../../lib/loadbalancer.hh"
#include "../../lib/queue.hh"
#include <rte_errno.h>
#include <rte_log.h>
#include <vector>
#include <string>
#include <random>... | [
"joongi@an.kaist.ac.kr"
] | joongi@an.kaist.ac.kr |
7d3530b8c27b2554ea9e0a8eef28d35a99eefab5 | b5a9d42f7ea5e26cd82b3be2b26c324d5da79ba1 | /third_party/mlir/lib/Target/LLVMIR/ConvertToLLVMIR.cpp | 6e3cbc4e01dcbe467d2e9a2a64c3ab3f8ca75fda | [
"Apache-2.0"
] | permissive | uve/tensorflow | e48cb29f39ed24ee27e81afd1687960682e1fbef | e08079463bf43e5963acc41da1f57e95603f8080 | refs/heads/master | 2020-11-29T11:30:40.391232 | 2020-01-11T13:43:10 | 2020-01-11T13:43:10 | 230,088,347 | 0 | 0 | Apache-2.0 | 2019-12-25T10:49:15 | 2019-12-25T10:49:14 | null | UTF-8 | C++ | false | false | 1,883 | cpp | //===- ConvertToLLVMIR.cpp - MLIR to LLVM IR conversion -------------------===//
//
// Copyright 2019 The MLIR 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
//
// htt... | [
"v-grniki@microsoft.com"
] | v-grniki@microsoft.com |
eaa069e0b27d08f7b358310f96ee9a9a6077b0b0 | a5d5f8f8bb2568254aaa4bf572d67c7dfc097ca4 | /sample_project/Classes/FirebaseAuthScene.h | c26e1a5dcaa0da7efabf163eaca268ae491c83ac | [
"MIT"
] | permissive | gary9987/oop-bang-game-project | a4a89cc2a256502a9693cca52ebbb6d8452eee6f | 99ce8ef0089d1286321e82ffc74b380bf0d51316 | refs/heads/master | 2022-01-18T16:00:50.386773 | 2019-06-14T14:33:27 | 2019-06-14T14:33:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,837 | h | // Copyright 2017 Google Inc. All rights reserved.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to
// deal in the Software without restriction, including without limitation the
// rights to use, copy, modify, ... | [
"s310068@shsh.tw"
] | s310068@shsh.tw |
f3756f4ca4181c3102ba489ed8780a178ca94dfd | 4f39423d7a322c2eba2e64badee0b82f213211b2 | /spriterengine/variable/variableinstancenameandidmap.h | fe0e35aee8e20c0f9db55f49b33fed1fe4dd2e75 | [
"Zlib"
] | permissive | ClicksEnStock/SpriterPlusPlusCF25 | 0b3102c4986e46d5681409dedd43070e1d4a3cde | d9c59d14a97ce29df94b96d0dc5d8086dfc976df | refs/heads/master | 2021-01-24T01:52:16.015742 | 2019-03-24T15:08:52 | 2019-03-24T15:08:52 | 48,686,564 | 5 | 1 | null | 2017-08-30T18:05:50 | 2015-12-28T10:09:08 | C++ | UTF-8 | C++ | false | false | 797 | h | #ifndef VARIABLEINSTANCENAMEANDIDMAP_H
#define VARIABLEINSTANCENAMEANDIDMAP_H
#include <vector>
#include <map>
namespace SpriterEngine
{
class UniversalObjectInterface;
class Variable;
typedef std::vector<UniversalObjectInterface*> VariableInstanceVector;
typedef std::map<std::string, UniversalObjectInterface*>... | [
"lucid@brashmonkey.com"
] | lucid@brashmonkey.com |
2fe0cde69955bc61d270662ea8e0dd3244bb0d2b | 3f27c57011dcdae9099ac5fc94413f9cb2205571 | /test6.1.cpp | 418e30c3dc6aa103527eca870104b21c147b1680 | [] | no_license | zxy3/cpp_primer_practice | 97c1c7f8a2e8cdf35035a7d86e36cf1d49d6029c | 742687bd635fdc46c7b426e2b110ab132112d0fa | refs/heads/master | 2020-05-20T13:11:00.875015 | 2019-05-25T07:49:47 | 2019-05-25T07:49:47 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,685 | cpp | /**=================================================================================================
* @file test6.1.cpp.
*
* Implements the test 6.1 class
* 练习 6.1: 实参和形参的区別是什么?
* 书本原话:
* 1、实参是形参的初始值。 第一个实参初始化第一个形参, 第二个实参初始化第二个形参,以此类推。 尽管实参与形参存在对应关系,
* 但是并没有规定实参的求值顺序。编译器能以任意可行的顺序对实参求值。实参的类型必须与对应的形参类型匹配, 这一点与之前... | [
"30621467+zxy3@users.noreply.github.com"
] | 30621467+zxy3@users.noreply.github.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.