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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
873d9d8e189bfbc284a5346b82d99ebd6de6f34a | c8e133278da4d716b77ee9cfec9a817132b0531d | /005-4344-百分制成绩/OJ.cpp | 134ffe98b577accea885ce6a81473d687f9c3680 | [] | no_license | jiguang123/Huawei-OJ | c861ce5d349a665aa477f444f73b7f7697a7b2ac | af7e8acc6484e4f93f9eaf038823350adcae3bb7 | refs/heads/master | 2021-05-30T19:12:59.675270 | 2016-02-03T06:06:41 | 2016-02-03T06:06:41 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 640 | cpp | #include <stdlib.h>
#include "oj.h"
/*
功能:
给出一百分制成绩,要求输出成绩等级‘A’、‘B’、‘C’、‘D’、‘E’。
90分以上为A 80-89分为B 70-79分为C 60-69分为D 60分以下为E
输入:
整数score
输出:
无
返回:
分级结果
分数不在100范围时返回-1
*/
int ScoreLevel(int score) {
if(score < 0 || score > 100) {
return -1;
} else if(score >= 90) {
return 'A';
} el... | [
"shining-glory@qq.com"
] | shining-glory@qq.com |
03fca866675efbdf5a76b381f425f106551f709c | ec89e41ca41970c0704a80544f5f579f3fc42cb3 | /internal/platform/implementation/apple/condition_variable_test.cc | 846ad438b15fbd98c0b20fd8c7f3670cf9c40207 | [
"Apache-2.0"
] | permissive | google/nearby | 0feeea41a96dd73d9d1b8c06e101622411e770c5 | 55194622a7b7e9066f80f90675b06eb639612161 | refs/heads/main | 2023-08-17T01:36:13.900851 | 2023-08-17T01:11:43 | 2023-08-17T01:13:11 | 258,325,401 | 425 | 94 | Apache-2.0 | 2023-09-14T16:40:13 | 2020-04-23T20:41:37 | C++ | UTF-8 | C++ | false | false | 2,058 | cc | // Copyright 2020 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | [
"copybara-worker@google.com"
] | copybara-worker@google.com |
5fb0edf8efda72c9c35b04ff7fd4ae1937d7d1ee | dc55482c031929bf27917458ac0de2f0db6f0597 | /096_bst_set/bstset.h | e39b3deb094aa9a1f6538565e9e9cdcfe868d20a | [] | no_license | nn75/ECE551 | 1da9712d4bf7379ecc3dd5e8c773cf6ccb8e65e4 | c6fac55777a3094f5a6dc9487b770a98777c2b5c | refs/heads/master | 2020-07-14T01:39:51.255961 | 2019-08-29T16:27:30 | 2019-08-29T16:27:30 | 205,203,713 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,745 | h | #include <cstdio>
#include <cstdlib>
#include <iostream>
#include "set.h"
template<typename T>
class BstSet : public Set<T>
{
private:
class Node
{
public:
T key;
Node * left;
Node * right;
Node(const T & k) : key(k), left(NULL), right(NULL) {}
};
Node * root;
public:
BstSet() : root(N... | [
"nn75@duke.edu"
] | nn75@duke.edu |
d317a1a416ed3397ba16e79192e097d7e8f76ded | e65a4dbfbfb0e54e59787ba7741efee12f7687f3 | /audio/zita-njbridge/files/patch-zita-j2n.cc | bdeb6c98fb5de12fda471f46b1e80e3698ad1a31 | [
"BSD-2-Clause"
] | permissive | freebsd/freebsd-ports | 86f2e89d43913412c4f6b2be3e255bc0945eac12 | 605a2983f245ac63f5420e023e7dce56898ad801 | refs/heads/main | 2023-08-30T21:46:28.720924 | 2023-08-30T19:33:44 | 2023-08-30T19:33:44 | 1,803,961 | 916 | 918 | NOASSERTION | 2023-09-08T04:06:26 | 2011-05-26T11:15:35 | null | UTF-8 | C++ | false | false | 240 | cc | --- zita-j2n.cc.orig 2021-07-02 16:35:56 UTC
+++ zita-j2n.cc
@@ -25,6 +25,7 @@
#include <getopt.h>
#include <math.h>
#include <sys/mman.h>
+#include <unistd.h> // for usleep
#include "jacktx.h"
#include "nettx.h"
#include "lfqueue.h"
| [
"yuri@FreeBSD.org"
] | yuri@FreeBSD.org |
833ceea953fb2e1a8f56824853348dc9ebaba6a0 | b22588340d7925b614a735bbbde1b351ad657ffc | /athena/Simulation/G4Utilities/G4UserActions/src/LengthIntegratorTool.cxx | 61befb4572797d07fc276c376d2550af297153ab | [] | no_license | rushioda/PIXELVALID_athena | 90befe12042c1249cbb3655dde1428bb9b9a42ce | 22df23187ef85e9c3120122c8375ea0e7d8ea440 | refs/heads/master | 2020-12-14T22:01:15.365949 | 2020-01-19T03:59:35 | 2020-01-19T03:59:35 | 234,836,993 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,520 | cxx | /*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
#include "G4UserActions/LengthIntegratorTool.h"
namespace G4UA
{
//---------------------------------------------------------------------------
// Constructor
//-----------------------------------------------------------------------... | [
"rushioda@lxplus754.cern.ch"
] | rushioda@lxplus754.cern.ch |
0b71cf81be79b1be31296ac7166bd4fc3066e092 | 7b2b8662fa79f9bc425c39faa57dd41f23eb6d77 | /Arion/include/Arion/BoundingVolumes.hpp | 8ed1beb6634f6d2b9c2155cd0d401e9325949ea3 | [
"MIT"
] | permissive | Godlike/Arion | f8cc0f3dbbc837093c45560804626a3a18420f9a | 533e59a6bdc7b0b8c6037b328ec2acf5fe647e2c | refs/heads/master | 2021-07-12T09:02:22.171884 | 2018-12-16T04:40:38 | 2018-12-16T19:32:11 | 103,935,016 | 1 | 1 | MIT | 2018-12-16T19:32:12 | 2017-09-18T12:17:29 | C++ | UTF-8 | C++ | false | false | 6,776 | hpp | /*
* Copyright (C) 2017-2018 by Godlike
* This code is licensed under the MIT license (MIT)
* (http://opensource.org/licenses/MIT)
*/
#ifndef ARION_BOUNDING_VOLUMES_HPP
#define ARION_BOUNDING_VOLUMES_HPP
#include <Arion/Shape.hpp>
#include <Arion/Intersection.hpp>
#include <vector>
#include <set>
namespace arion
{
n... | [
"ilia.glushchenko@gmail.com"
] | ilia.glushchenko@gmail.com |
5404032e2d5b138a9f71d75be16fb65ae7ea13fc | b3be27b4bf494270c5c953cf711088a10f79de81 | /src/catalog/plx/ui/window.h | 2afd205e70c28267894cabe7af3ddec218c24696 | [] | no_license | cpizano/Plex | 2973b606933eb14198e337eeb45e725201799e7a | b5ab6224ddb1a1ca0aa59b6f585ec601c913cb15 | refs/heads/master | 2016-09-05T18:42:34.431460 | 2016-01-03T21:56:09 | 2016-01-03T21:56:09 | 6,571,011 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,557 | h | //#~def plx::Window
///////////////////////////////////////////////////////////////////////////////
// plx::Window
//
namespace plx {
template <typename Derived>
class Window {
HWND window_;
plx::DPI dpi_;
Window(const Window&) = delete;
Window& operator=(const Window&) = delete;
public:
HWND window() { re... | [
"cpu@chromium.org"
] | cpu@chromium.org |
4ef4313dacb6ab96f1b065290cc73d340e06ce10 | 9e3ff9b563d463683b194514f1ddc0ff82129393 | /Main/wxWidgets/include/wx/generic/textdlgg.h | 2059c7942049daf85e6f3fc2f3906b4f4e0b06df | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | sidihamady/Comet | b3d5179ea884b060fc875684a2efdf6a3ad97204 | b1711a000aad1d632998e62181fbd7454d345e19 | refs/heads/main | 2023-05-29T03:14:01.934022 | 2022-04-17T21:56:39 | 2022-04-17T21:56:39 | 482,617,765 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,312 | h | /////////////////////////////////////////////////////////////////////////////
// Name: textdlgg.h
// Purpose: wxTextEntryDialog class
// Author: Julian Smart
// Modified by:
// Created: 01/02/97
// RCS-ID: $Id: textdlgg.h 49563 2007-10-31 20:46:21Z VZ $
// Copyright: (c) Julian Smart
// Licen... | [
"sidi@lmop-su-e-shp.univ-lorraine.fr"
] | sidi@lmop-su-e-shp.univ-lorraine.fr |
9fbb899a09ce3cf2b777be8e08cf25649ff0c34c | 3e54595cb3634edb4c60eafdbe7cba0b867281d6 | /noiOpenJudge/2.5/1388.cpp | 0663eab7910de5afa18d7f7bf676bd90d7d42a97 | [] | no_license | Rainboylvx/pcs | 1666cc554903827b98d82689fdccc2d76bda8552 | 5dd54decfc75960194d415c09119d95bef7c27a9 | refs/heads/master | 2023-08-18T10:02:21.270507 | 2023-08-13T01:36:52 | 2023-08-13T01:36:52 | 219,274,550 | 0 | 0 | null | 2023-07-21T09:19:37 | 2019-11-03T09:56:59 | C++ | UTF-8 | C++ | false | false | 938 | cpp | #include <bits/stdc++.h>
using namespace std;
char _map[105][105];
bool vis[105][105];
int n,m;
int fx[][2] = { 0,1, 0,-1, 1,0, -1,0, 1,1, -1,1, 1,-1, -1,-1 };
void init(){
memset(vis,0,sizeof(vis));
scanf("%d%d",&n,&m);
int i,j;
for (i=1;i<=n;i++){
scanf("%s",_map[i]+1);
}
}
int cnt=... | [
"rainboylvx@qq.com"
] | rainboylvx@qq.com |
06148c90c38b1b8da663f61eb27819be7841c258 | 037d518773420f21d74079ee492827212ba6e434 | /blazetest/src/mathtest/dmatsmatschur/HHaHCa.cpp | 4be62c6354671907defb74873269f5212752282c | [
"BSD-3-Clause"
] | permissive | chkob/forked-blaze | 8d228f3e8d1f305a9cf43ceaba9d5fcd603ecca8 | b0ce91c821608e498b3c861e956951afc55c31eb | refs/heads/master | 2021-09-05T11:52:03.715469 | 2018-01-27T02:31:51 | 2018-01-27T02:31:51 | 112,014,398 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,130 | cpp | //=================================================================================================
/*!
// \file src/mathtest/dmatsmatschur/HHaHCa.cpp
// \brief Source file for the HHaHCa dense matrix/sparse matrix Schur product math test
//
// Copyright (C) 2012-2018 Klaus Iglberger - All Rights Reserved
//
// Thi... | [
"klaus.iglberger@gmail.com"
] | klaus.iglberger@gmail.com |
c7bf1948a41f0d5635c719e0fb71a50d9da2a0c6 | c49ee8b93a8c4ced10a9eb6c524b0c68911f826b | /src/imu_grabber.cpp | 79a732b111c9f26fbbc5295f71bfa51c364a6865 | [] | no_license | bpoebiapl/6dslam-v2 | 4098a019eb23155a0dbccb778b0b56549671cdcb | ee8b3886299adea84b07067fe3da6fef9d17c977 | refs/heads/master | 2021-01-10T14:17:58.141192 | 2014-06-17T11:58:10 | 2014-06-17T11:58:10 | 55,106,888 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,529 | cpp | #include <time.h>
#include <sys/types.h>
#include <sys/time.h>
#include <stdio.h>
#include <stdlib.h>
#include <iostream>
#include <string.h>
#include <phidget21.h>
#include "cv.h"
#include "highgui.h"
#include <opencv.hpp>
#include <pcl/point_cloud.h>
#include <pcl/point_types.h>
#include <pcl/io/openni_grabber.h>
#... | [
"johan.ekekrantz@gmail.com"
] | johan.ekekrantz@gmail.com |
2c5b79a0f86d2669ed20ba2577e86bc87cae0864 | 0921b33b217db1bfc329e24b8ba3120be2a864d8 | /Projet/menu.cpp | a0b66f96d10eea12a879e0677a83455893b1d097 | [] | no_license | FadiSheh/Projet_C- | e106ca069726fe1f594861b449d8b2d932f7ffdd | c2d8825fd8e0e3e31ad2140db929bd6046ca01a3 | refs/heads/main | 2023-02-23T11:56:15.543838 | 2021-01-23T13:40:22 | 2021-01-23T13:40:22 | 327,363,075 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,874 | cpp | #include "menu.h"
#include "ui_menu.h"
#include <QApplication>
#include <QMessageBox>
Menu::Menu(QWidget *parent) :
QDialog(parent),
ui(new Ui::Menu)
{
ui->setupUi(this);
//Initialisation interface graphique
//On fixe la couleur des frames
QPalette pal = palette();
pal.setColor(QPalette::... | [
"shehadehfadi@orange.fr"
] | shehadehfadi@orange.fr |
3100a81cd75c827f84ab6567efc350f230c8dab3 | f2a8c5f6f141cace560e846c0fc288a2e44e83ca | /CV/Input.cpp | 2ec08096768911a73f14ef53ea8971a7d7cff5ab | [] | no_license | DxsGeorge/CV-Cube | bc812115e249822cb4dca481d08c04d3fdeb644a | 2f1b7a64aaeaaa012b5560292164e4eb5992a598 | refs/heads/master | 2021-04-30T16:42:52.012158 | 2017-03-20T18:36:58 | 2017-03-20T18:36:58 | 80,108,594 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 222 | cpp | #include "Input.h"
#include "Hough_Transform.h"
#include <iostream>
Mat ReadImage(string name)
{
Mat src=imread(name); //image path
if (src.empty())
{
cout << "Cannot load image!" << endl;
}
return src;
}
| [
"georgepetrg@gmail.com"
] | georgepetrg@gmail.com |
a57d83e41d567138ed2240a0fde3897ac39e4bdf | 4da64aceb54c08e9619eeb89197e852fb1f2c453 | /sources/main.cpp | 9f405e7c74d5570765e879ceea146b496cf80ba1 | [
"MIT"
] | permissive | emcev/check | d70ee73c911366d46a5237dcf59c00aa3eabae3c | c5216df7989a1f86202eb7df3d527fbbf6dcc1f5 | refs/heads/master | 2020-04-20T15:11:32.739839 | 2019-02-03T07:43:46 | 2019-02-03T07:43:46 | 168,921,642 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 801 | cpp | // Copyright emcev emcev084@gmail.com
#include <iostream>
#include <string>
#include <utility>
#include "Function.hpp"
int main() {
srand(time(0));
std::cout << "investigation:" << std::endl;
unsigned number = 1;
std::string TravelVariant[] = { "direct", "reverse", "random" };
for (unsigned variant = 0; va... | [
"emcev084@gmail.com"
] | emcev084@gmail.com |
9d2fc27984522a3231ccc3fbb0d48268788de27f | 9214eff4f640e2993d14d5a3854057bfc042bd04 | /src/server/core/clientworker.h | 9fdf3f912d331dd5668600cceddea10d93ae07fa | [
"BSD-3-Clause",
"MIT"
] | permissive | cszawisza/eedb | aeb4af12ed218aea0ab48e8389d1563edf24c50a | f63511d2eb4947af38aaa0406cf858b13eb3d81d | refs/heads/master | 2021-01-10T13:16:42.310313 | 2016-01-24T14:22:09 | 2016-01-24T14:22:09 | 36,801,067 | 2 | 0 | null | 2015-11-23T16:51:28 | 2015-06-03T12:06:17 | C++ | UTF-8 | C++ | false | false | 1,643 | h | #pragma once
#include <QObject>
#include <QThread>
#include <QSharedPointer>
#include <QHash>
#include "iprocessor.h"
#include "clientcache.h"
#include "Interfaces/DefinedActions.hpp"
/**
* @brief The ClientWorker class
* Class hes responsibility to process recieved binary messages
*/
class ClientWorker : public ... | [
"cszawisza@gmail.com"
] | cszawisza@gmail.com |
6a1dedb140023d1cf13b6fc538705593a63c5b6f | 7f25ac596812ed201f289248de52d8d616d81b93 | /ZZULi0.0/hdu5701.cpp | 001a6737b984a207b08bb183f5ada575d1691a24 | [] | no_license | AplusB/ACEveryDay | dc6ff890f9926d328b95ff536abf6510cef57eb7 | e958245213dcdba8c7134259a831bde8b3d511bb | refs/heads/master | 2021-01-23T22:15:34.946922 | 2018-04-07T01:45:20 | 2018-04-07T01:45:20 | 58,846,919 | 25 | 49 | null | 2016-07-14T10:38:25 | 2016-05-15T06:08:55 | C++ | UTF-8 | C++ | false | false | 1,686 | cpp | #include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <algorithm>
#include <queue>
#define LL __int64
using namespace std;
const int N = 2*1e4+10;
const int MOD = 1e9+7;
int nums[N],tmp[N];
int sumcnt[N],lf[N],rt[N];
int main(void)
{
int n,loc,cur,cnt = 0;
while(scanf("%d",&n) != ... | [
"741515435@qq.com"
] | 741515435@qq.com |
9452fc573781c3a36e401575bd8ba831063fef5a | a9d9086773f10e5b921aaffe7739c347368cc9f0 | /of_v0.10.1/apps/of_examples/3.projection/src/ofApp.h | 4b8001a10b82d9142053ee4fcb6bedb51cca8453 | [] | no_license | UltraCombos/Project_Ultra101 | 8ad8e0c3ca43bb5043bd649dabb772c2b5d1a1a8 | ef37b5d94977eb0ec9312982f5e2aa3f2aee28d2 | refs/heads/master | 2021-09-08T13:22:33.850139 | 2021-09-08T08:58:12 | 2021-09-08T08:58:12 | 95,423,918 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 705 | h | #pragma once
#include "ofMain.h"
class ofApp : public ofBaseApp{
public:
void setup();
void update();
void draw();
void keyPressed(int key);
void keyReleased(int key);
void mouseMoved(int x, int y);
void mouseDragged(int x, int y, int button);
void mousePressed(int x, int y, int button);
void mo... | [
"54way@ultracombos.com"
] | 54way@ultracombos.com |
00de76e2a537bea402c0c27e489a40a247a0c018 | 4f307eb085ad9f340aaaa2b6a4aa443b4d3977fe | /smith04.james/assignment2/main.cpp | c446c32fb33d38d461c5c03bf62c96427dd80218 | [] | no_license | Connellj99/GameArch | 034f4a0f52441d6dde37956a9662dce452a685c7 | 5c95e9bdfce504c02c73a0c3cb566a010299a9b8 | refs/heads/master | 2020-12-28T10:29:19.935573 | 2020-02-04T19:41:09 | 2020-02-04T19:41:09 | 238,286,390 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,759 | cpp | #include <iostream>
#include <cassert>
#include <string>
#include <PerformanceTracker.h>
#include <MemoryTracker.h>
#include <stdlib.h>
#include <GraphicsLib.h>
#include "Header.h"
using namespace std;
const string ASSET_PATH = "..\\..\\shared\\assets";
const int FONT_SIZE = 24;
const string TEXT = "Curse you P... | [
"john.connelly@mymail.champlain.edu"
] | john.connelly@mymail.champlain.edu |
e9a12754944f459e822160f389a0294f3168cdb2 | ad7e901feaa95124e40a4a716fa6f68c6b6dc801 | /src/StandbyRule.cpp | e894b954bdce9c6985b55d5905a84b26a7174712 | [
"BSD-3-Clause"
] | permissive | CreatorDev/w5-domesticHeating | 77ea005f5f23995c81517d70d71c7bd8b0b990b5 | e09e32f52a69df4f37d6bea2af5708299e75c900 | refs/heads/master | 2021-01-20T03:46:27.267559 | 2017-05-08T11:02:31 | 2017-05-08T11:02:31 | 89,582,594 | 0 | 2 | null | 2017-05-08T11:02:32 | 2017-04-27T09:51:00 | C++ | UTF-8 | C++ | false | false | 1,630 | cpp | //
// StandbyRule.cpp
// ci40-project5
//
// Created by Bartłomiej on 10/01/17.
// Copyright © 2017 Imagination Systems. All rights reserved.
//
#include "StandbyRule.hpp"
#include "Logic.hpp"
#include "SQLiteStorage.hpp"
static const time_t STANDBY_TRIGGER_DELAY = 2 * 60 * 60; //in seconds
StandbyRule::Standby... | [
"krzysztof.kocon@imgtec.com"
] | krzysztof.kocon@imgtec.com |
bc8e7328d25c18223488391f7dadd17bd919fc09 | 53630700642f429f2e9f8336115ca19333e50413 | /czy umiesz potegowac.cpp | 61d4c0a708190dbad70eca989416c3f7b9998a2d | [] | no_license | ptaq/SpojCPPOld | 89589e6b045b8b6e598cbd16d56fc54bbb27c8f9 | 831393e14d993aee156d302185abfdcd04dc20f5 | refs/heads/master | 2020-06-17T15:00:26.869496 | 2016-11-28T16:51:39 | 2016-11-28T16:51:39 | 74,993,531 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 197 | cpp | #include <stdio.h>
int main()
{
unsigned T,a,b;
for(scanf("%u",&T);T--;printf("%c\n",(10*(b&3)+(a%10))["0161656161012345678901496569410187456329'"])) scanf("%u%u",&a,&b);
return 0;
}
| [
"g.sladowski@wp.pl"
] | g.sladowski@wp.pl |
8e94f53fb86bab1ae67d51a078b967af2285b18e | d732c881b57ef5e3c8f8d105b2f2e09b86bcc3fe | /include/gurax/VTypeCustom.h | 015fb35c382957da8fbc7ef15d37d3541b49f02c | [] | no_license | gura-lang/gurax | 9180861394848fd0be1f8e60322b65a92c4c604d | d9fedbc6e10f38af62c53c1bb8a4734118d14ce4 | refs/heads/master | 2023-09-01T09:15:36.548730 | 2023-09-01T08:49:33 | 2023-09-01T08:49:33 | 160,017,455 | 10 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,986 | h | //==============================================================================
// VTypeCustom.h
//==============================================================================
#ifndef GURAX_VTYPECUSTOM_H
#define GURAX_VTYPECUSTOM_H
#include "Value.h"
namespace Gurax {
//-------------------------------------------... | [
"ypsitau@nifty.com"
] | ypsitau@nifty.com |
9329970020fea32dbb4594229274f0cec6f6556f | c04af30b48d8373f09e8069c21811d7c220e0655 | /Project1sads/Project1sads/test.cpp | 102b723b96b6cef921f675c4797ab84550167dff | [] | no_license | mayichaodexiaojinku/DemoofTestByVS2013 | 2b3673d272b4daa31a672a423d421a1e3555a269 | 06fff1c02a8bea5dce1985e87ca20cc27c45b11d | refs/heads/master | 2022-01-09T06:59:55.180183 | 2019-06-18T10:10:25 | 2019-06-18T10:10:25 | 171,776,322 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,381 | cpp | #define _CRT_SECURE_NO_WARNINGS
#include<iostream>
#include<string>
#include<algorithm>
using namespace std;
/*
int main()
{
string str;
getline(cin, str);
reverse(str.begin(), str.end());
auto begin = str.begin();
while (begin != str.end()){
auto end = begin;
if (end != str.end() && *end != ' ')
end++;
r... | [
"www.823122161@qq.com"
] | www.823122161@qq.com |
10d399ed53507093e5c706674f9d22eca7dde569 | f6439b5ed1614fd8db05fa963b47765eae225eb5 | /chrome/browser/ui/app_list/recommended_apps.cc | f25543f061d04c8974966145593f0d4c8ed89ba7 | [
"BSD-3-Clause"
] | permissive | aranajhonny/chromium | b8a3c975211e1ea2f15b83647b4d8eb45252f1be | caf5bcb822f79b8997720e589334266551a50a13 | refs/heads/master | 2021-05-11T00:20:34.020261 | 2018-01-21T03:31:45 | 2018-01-21T03:31:45 | 118,301,142 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,003 | 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 "chrome/browser/ui/app_list/recommended_apps.h"
#include <algorithm>
#include <vector>
#include "base/bind.h"
#include "chrome/browser/extensio... | [
"jhonnyjosearana@gmail.com"
] | jhonnyjosearana@gmail.com |
259731db712deac7ab265f1e8891b340de369d6d | 898aa6f083c05f06e79b8e10b79f27028bbd34b0 | /src/Car.hpp | 8b91a7902fbfaf7ff0e7b63daa43662439a2f557 | [] | no_license | okunator/Hills-Racing | d36086e180bcb727fac071ed83fbb5d1c0f9a06b | 6e0a46892669ec3f4cfb85cb88a2addd18c79aed | refs/heads/master | 2021-01-24T16:19:21.163537 | 2018-02-27T21:00:56 | 2018-02-27T21:00:56 | 123,182,466 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 890 | hpp | #pragma once
#include <SFML/Graphics.hpp>
#include <Box2D/Box2D.h>
#include "DEFINITIONS.hpp"
#include "Game.hpp"
namespace Hills
{
class Car
{
public:
Car( GameDataRef data, b2World& world );
sf::Sprite& getChassisSprite();
sf::Sprite& getWheelSprite1();
sf::Sprite& ... | [
"oskari.lehtonen@aalto.fi"
] | oskari.lehtonen@aalto.fi |
59a82e91ff0753b4b755a7cc78c984931347f5d6 | 8be0c158a6a8c1a7bbe765aaaeae11e211123421 | /QuyHoachDong.cpp | e1e98c736467537e21d4d2cac3d402ac719cbc93 | [] | no_license | loc4atnt/onktlt21 | 50fb206ff127336f11176ca7a750558051bf756a | 7959652c56c461f2300aeb35a2780dccd21ddd8b | refs/heads/main | 2023-07-28T00:30:18.714879 | 2021-09-11T10:00:49 | 2021-09-11T10:00:49 | 396,078,442 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,489 | cpp | #include "QuyHoachDong.h"
int sumOfRow(int n, int** T, int m) {
int sum = 0;
for (int i = 0; i < m; i++) sum += T[n - 1][i];
return sum;
}
void topDown(int n, int** T, int *a, int m) {
int sum = sumOfRow(n, T, m);
if (sum >= 0) return;
// truong hop co ban
for (int i = 0; i < m; i++) {
if (a[i] == n) {
f... | [
"dorakid153@gmail.com"
] | dorakid153@gmail.com |
3262e3f77cd3f444f122f72a81786caaf57d3783 | 21e12db1a741d09d4f71ef9a0387badbb02bd99e | /codes/Coins_in_a_Line.cpp | 917ae8ebf0fc6a0d927c0568ae7ddc828d2f1764 | [] | no_license | yutianwu/lintcode | 48f0bcd1c27d3fbda41eaad99a6f5616db973fdc | 4a250cd3bee68f2f44fa8ee969edd60b34374aef | refs/heads/master | 2021-01-10T00:58:55.789531 | 2015-12-03T09:11:25 | 2015-12-03T09:11:25 | 36,228,386 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 372 | cpp | class Solution {
public:
/**
* @param n: an integer
* @return: a boolean which equals to true if the first player will win
*/
bool firstWillWin(int n) {
if (n == 0) return false;
vector<int> dp(n, true);
for (int i = 2; i < n; i++) {
dp[i] = !dp[i - 1] || !dp[... | [
"wzxingbupt@gmail.com"
] | wzxingbupt@gmail.com |
77a6aa762480d812d303ced6061f144dbcad4bc6 | db9fed0381c87260d8b56497b3d0a00c16eb8dda | /week4/solutions/problem1.cpp | 6070f4f1c8cbb9d21910b1fac8883b211ce89455 | [] | no_license | kanitkameh/SDP-pract | ec81693a6a2885bacdd8eba52abef618a1dea249 | ffdcfb1c2cacc94f1e7fbd4d9099539680cd3a21 | refs/heads/master | 2021-07-23T03:43:01.951203 | 2020-09-01T16:01:06 | 2020-09-01T16:01:06 | 212,807,627 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 397 | cpp | #include <iostream>
#include <queue>
using namespace std;
int smallestElement(queue<int> q){
int max=q.front();
while(!q.empty()){
int current = q.front();
q.pop();
if(current>max){
max = current;
}
}
return max;
}
int main(){
int n;
cin >> n;
queue<int> q;
for(int i=0;i<n;i++){
int current;
cin... | [
"kanitkameh@gmail.com"
] | kanitkameh@gmail.com |
d401fc9858b80329e4a12ea794d78b8ae781ad6b | 0d74ee5e64ea6900f86d96a083f4d9e9b1816453 | /lib/base/util.cpp | 71f56ad6163a575233cfb89726bd603f0e208182 | [] | no_license | WeirdConstructor/lalrt | 822184ca0ea1249cb6a7083488d2ada2f0c78c96 | acc07b7e4c770d70999d8d0e31e0de84143718c2 | refs/heads/master | 2021-01-21T16:35:52.955143 | 2017-07-05T19:05:53 | 2017-07-05T19:05:53 | 91,899,740 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,914 | cpp | /******************************************************************************
* Copyright (C) 2017 Weird Constructor
*
* 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 restricti... | [
"weirdconstructor@gmail.com"
] | weirdconstructor@gmail.com |
75e4f76f4eb8aeb8325a8cfa5b02870b24e4500d | 2dd4eec32e7eb8aa915d95271e085ce98ffb92d7 | /Source/SharedImageWrapper.cpp | f68a4d06aebfe3fef8ae7bb8cc08a3fda1ef5aa1 | [
"MIT",
"Zlib"
] | permissive | RonYanDaik/Unreal-Unity-VirtualCapture | 0c371315f185359a8cb2682cf7ab37d6b3eb284c | 4f9c9590a667bbbe3f5af0822a717c66865be745 | refs/heads/master | 2023-06-16T14:41:47.465739 | 2021-07-12T15:06:28 | 2021-07-12T15:06:28 | 376,342,107 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,843 | cpp | #include "SharedImageWrapper.h"
#include "shared.inl"
using namespace std;
namespace mray
{
SharedImageWrapper::SharedImageWrapper() {
totalTime = 0;
m_sender = new SharedImageMemory(1);
_start = std::chrono::system_clock::now();
}
SharedImageWrapper::~SharedImageWrapper()
{
delete m_sender;
}
bool SharedImag... | [
"andronakiy@gmail.com"
] | andronakiy@gmail.com |
cd493c3bd88c441538d8923a67e24485d0b13e70 | d4347174c9fb7b63ae34cf290112cd9b07ecc5c5 | /libphys/sources/PhysixCollider.h | 89e6221609b7856a77497adb0b8104b964823c3b | [] | no_license | AzJezebel/GameEngineJVK | ed29b6e942199c1c25c08c41fbbb672a9e9d7573 | 246ae8d30803cac5b5245e55d3d55ed4cb0b6fc7 | refs/heads/master | 2023-05-06T06:06:13.880842 | 2021-05-28T22:17:23 | 2021-05-28T22:17:23 | 333,589,028 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,320 | h | #pragma once
#include "PTransform.h"
#include "Actors/RigidType.h"
#include "libphys_Export.h"
#include <functional>
#include <sstream>
#include "Defines.h"
#include "PxPhysicsAPI.h"
#include "PhysicsMaterial/Material.h"
struct ForceMode;
class TriangleMesh;
struct TriangleMeshDescriptor;
namespace physx {
class P... | [
"jezebel.assad@outlook.com"
] | jezebel.assad@outlook.com |
f95dfa3f1fa34923f890215a057fbf53e0505b20 | d24773c4f1dc664d06836485a1faf0e9d62cc00a | /KSynthGUI/controls/CheckBoxGroup.cpp | 55b450097230ab4a8577f64381bf636a4d048803 | [
"Apache-2.0"
] | permissive | eriser/KSynth | 2f7151f30c25ff084f85db653bd30e4567fe2996 | d58147204793dd629a27f77766c0ceee4ed61887 | refs/heads/master | 2020-07-17T05:03:34.006323 | 2014-11-22T14:14:44 | 2014-11-22T14:14:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 758 | cpp | #include "CheckBoxGroup.h"
CheckBoxGroup::CheckBoxGroup() {
;
}
void CheckBoxGroup::add(CheckBox* child) {
childs.push_back(child);
connect(child, SIGNAL(onChange()), this, SLOT(onChange()));
if (childs.size() == 1) {childs[0]->setChecked(true);}
}
void CheckBoxGroup::onChange() {
QObject* obj = QObject::sende... | [
"frank.ebner@web.de"
] | frank.ebner@web.de |
581d369e96ec0ec661c263a07669b8805ee06972 | 66862c422fda8b0de8c4a6f9d24eced028805283 | /slambook2/3rdparty/opencv-3.3.0/modules/features2d/misc/python/pyopencv_features2d.hpp | b865e361b6285b7637158d7e98c6c5427dab386c | [
"MIT",
"BSD-3-Clause"
] | permissive | zhh2005757/slambook2_in_Docker | 57ed4af958b730e6f767cd202717e28144107cdb | f0e71327d196cdad3b3c10d96eacdf95240d528b | refs/heads/main | 2023-09-01T03:26:37.542232 | 2021-10-27T11:45:47 | 2021-10-27T11:45:47 | 416,666,234 | 17 | 6 | MIT | 2021-10-13T09:51:00 | 2021-10-13T09:12:15 | null | UTF-8 | C++ | false | false | 98 | hpp | #ifdef HAVE_OPENCV_FEATURES2D
typedef SimpleBlobDetector::Params SimpleBlobDetector_Params;
#endif | [
"594353397@qq.com"
] | 594353397@qq.com |
694f0597dee010e5fc25c6a47538795cc743848d | dce7bf3f396504d6edc9a698313d14b572c24b01 | /DP/THE SUBSET SUM TO TARGET.cpp | d01057a1df7237b3c33606552c3d24f8db97d45b | [] | no_license | rubal2508/CodingBlocks_Hackerblocks_Algo | 11bb78d9a14bb024981cfb6242e24a0c3275580a | fd4abda2f53a4f5563352a8691413bbea87080b2 | refs/heads/master | 2020-06-24T21:00:13.386936 | 2020-01-30T16:42:49 | 2020-01-30T16:42:49 | 199,088,569 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,170 | cpp | #include <bits/stdc++.h>
using namespace std;
#define ll long long
int knapsackDP(int arr[], int n, int s){
int dp[1000][50];
for(int i=0; i<1000; i++){
for(int j=0; j<50; j++){
dp[i][j] = -1;
}
}
for(int i=0; i<n; i++) {
// if(arr[i]==0 || dp[0][i-1]==1) dp[0][... | [
"amangarg25aug@gmail.com"
] | amangarg25aug@gmail.com |
7c700ec984fa3e897b43972250e00382147c16cd | 9a5eb63c3d7cd20f6e4d07454ad93c400ed37cc8 | /src/truncnormal_sample.h | 70b938a3f895063127a253f6df25bf53215588e5 | [] | no_license | mashedpoteto/bmms | cd493349b090853ea51e87d349deaac81bd6cfe5 | 94ddd58b8d97134348f91837cbacc9e45c477c7a | refs/heads/master | 2020-07-04T17:51:37.861404 | 2018-11-05T16:48:18 | 2018-11-05T16:48:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,306 | h | //[[Rcpp::plugins(cpp11)]]
//[[Rcpp::depends(RcppArmadillo)]]
#ifndef truncnormal
#define truncnormal
#include <RcppArmadillo.h>
using namespace std;
arma::vec pnorm01_vec(const arma::vec& x, int lower, int logged);
arma::vec qnorm01_vec(const arma::vec& x, int lower, int logged);
arma::uvec usetdiff(const arma:... | [
"peruzzi@gmail.com"
] | peruzzi@gmail.com |
da06f69a30b6eaa5f5e848610636582e696d368e | 0517284f941161b5f7d7663d3bc1ab735a5efb9b | /ch04/ex4_29.cc | c38533ef78ba297b87fd08e1d10d31bcedadf147 | [] | no_license | LuckyGrx/CppPrimer | 874d56efa56aa23278afebb278752ff473835479 | 6818a2e80d6d343a86fe59bca104652948063abb | refs/heads/master | 2021-09-21T17:04:13.800399 | 2018-08-29T12:49:40 | 2018-08-29T12:49:40 | 94,493,037 | 10 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 556 | cc | ///
/// @file ex4_29.cc
/// @author zack(18357154046@163.com)
/// @date 2017-06-16 22:48:55
///
#include <iostream>
using std::cout;
using std::endl;
int main(){//在64位系统下
int x[10];
int* p=x;
cout<<sizeof(x)/sizeof(*x)<<endl;//10
cout<<sizeof(p)/sizeof(*p)<<endl;//2
return 0;
}
//说明:
//sizeof(x)是求数组... | [
"18357154046@163.com"
] | 18357154046@163.com |
ff97d4aeb34341d2b07e28b7fa0f31fe89193ab9 | 6e0cdf4d488e9974f8ee88b24c5538da55bcfa8f | /leetcode/editor/cn/225_implement-stack-using-queues.cpp | 13bd7d945cbe28eb141f04f359c6eb8d5fdd53c5 | [] | no_license | JinyuChata/leetcode_cpp | 70b59410e31714d74eb3fabf08604d95ebd6fcfb | 2ee7778582b759887f598671585e172d0e3fa5e7 | refs/heads/master | 2023-08-18T02:30:28.050723 | 2021-10-14T07:33:37 | 2021-10-14T07:33:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,699 | cpp | //请你仅使用两个队列实现一个后入先出(LIFO)的栈,并支持普通队列的全部四种操作(push、top、pop 和 empty)。
//
// 实现 MyStack 类:
//
//
// void push(int x) 将元素 x 压入栈顶。
// int pop() 移除并返回栈顶元素。
// int top() 返回栈顶元素。
// boolean empty() 如果栈是空的,返回 true ;否则,返回 false 。
//
//
//
//
// 注意:
//
//
// 你只能使用队列的基本操作 —— 也就是 push to back、peek/pop from front、size 和 is ... | [
"jinyuzhu@smail.nju.edu.cn"
] | jinyuzhu@smail.nju.edu.cn |
36ef700a4ae10bac9d8d80bad9eb18d9947fd0a9 | 7f4ffa7b49096aedf6bf397e7729f1eb80c9b7c2 | /win/Button.cpp | b5f2abba2083a1627b187721bea93f4a152695a6 | [] | no_license | tuccio/mye | 99e8c6016eb4929669a845fc38743763e691af21 | dc38ef7ee6192a301645e7bb6f8587557dfdf61d | refs/heads/master | 2021-01-10T02:24:42.410134 | 2015-12-13T21:04:59 | 2015-12-13T21:04:59 | 48,071,471 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,551 | cpp | #include "Button.h"
#include "Window.h"
#include "utils.h"
#include <CommCtrl.h>
#include <Windowsx.h>
using namespace mye::math;
using namespace mye::win;
Button::Button(void) :
Control(CT_BUTTON)
{
}
Button::~Button(void)
{
}
void Button::Create(Window &parent,
const mye::core::String &text,
const Ca... | [
"d.tuccilli@gmail.com"
] | d.tuccilli@gmail.com |
2acabdc670b0d704cb880103553878a679803ea6 | cbf62f1cd45ead1c0817a81e1f6f3d2f33775a73 | /dvm_sys/cdvmh/src/file_ctx.h | 1ec55caf3a7e508a2cf9d2acb0dcf766dd70a37b | [
"LicenseRef-scancode-other-permissive"
] | permissive | GumballTheNet/DVM_sys | 8b858a64a5282512e5b43e0fec0cd26454fcca51 | 40f07f86fa7f5d1468e9b43b8f6e9189241af851 | refs/heads/master | 2023-04-19T22:06:55.840036 | 2021-05-05T19:23:23 | 2021-05-05T19:23:23 | 357,683,874 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,827 | h | #pragma once
#include <vector>
#include <string>
#include <map>
#include <algorithm>
#include "project_ctx.h"
#include "settings.h"
#include "pragmas.h"
namespace cdvmh {
struct HostReq {
std::string handlerName;
bool doOpenMP;
void set(const std::string &name, bool omp) { handlerName = name; doOpenMP =... | [
"s02170070@gse.cs.msu.ru"
] | s02170070@gse.cs.msu.ru |
e0549a909a65f94e3f0886eeb9a400a06e358897 | 02b25c69334f74f21ab67283bbfccf4b7a7a727c | /AMT830_2/Handler/MyBasicData.cpp | cb8c7775a51c471f41dea66ef545e287061c1eff | [] | no_license | ybs0111/AMT830_Handler | 31c06d1b60fcb6d52e71cafd950df61d1599dca0 | c61983e4ca3115ee2dee2080acb2e94fe5aa6da9 | refs/heads/master | 2020-12-30T14:12:50.885159 | 2017-06-11T07:44:24 | 2017-06-11T07:44:24 | 91,289,816 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 80,281 | cpp | // MyBasicData.cpp: implementation of the CMyBasicData class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "handler.h"
#include "MyBasicData.h"
#include "Ctlbd_Variable.h"
#include "PublicFunction.h"
#include "FastechPublic_IO.h"
#ifdef _DEBUG
#undef THIS_FILE... | [
"getouthere5@gmail.com"
] | getouthere5@gmail.com |
18f0d704d191711cc09a317ad1c939c9febe4d27 | b22c189f38b8da715e70b76be3d9c0f3bb921f63 | /DATA STRUCTURES AND ALGORITHMS/Tress/sum_of_nodes.cpp | 8a932c1c4452f1004d90bf83433a335446458bcd | [] | no_license | Bikubisw/Coding | 108f1048bc54bbd526f2f3abea21bd17bb8e7975 | 274c50caab15f10663a83ad352fc5ddb04b9e236 | refs/heads/master | 2023-04-20T11:09:32.555814 | 2021-05-22T20:29:45 | 2021-05-22T20:29:45 | 280,332,695 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,295 | cpp | #include <iostream>
using namespace std;
#include <vector>
template <typename T>
class TreeNode {
public:
T data;
vector<TreeNode<T>*> children;
TreeNode(T data) {
this->data = data;
}
~TreeNode() {
for (int i = 0; i < children.size(); i++) {
delete children[i]... | [
"bikrambiswas043@gmail.com"
] | bikrambiswas043@gmail.com |
cb929c61dc48cbf33d8967eb41b26cddc784379b | c3fd8474622099effa06ea96489b534db58ca70b | /Results/Synonym.h | a9257715c3447324bcbb0f31150844c6ee9e43ec | [] | no_license | hominhtri1/Search-Engine | 4ca71cc3f4fb1e885c58d7077bed82432fe6c003 | e5dc57c9a36cf0f013b89ed70caaac0dd6ab1424 | refs/heads/master | 2022-06-26T04:16:56.705479 | 2020-04-17T09:10:09 | 2020-04-17T09:10:09 | 256,452,798 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 866 | h | #ifndef _SYNONYM_H_
#define _SYNONYM_H_
#include "Header.h"
#include "BTree.h"
class SynonymsArray {
public:
//synonynm count
int wordCount;
//Array of those files
vector<fixedStr> synonymsArray;
};
void writeStrSyn(BNodeStr* cur, fstream& BTree);
void splitStrSyn(BNodeStr* cur, int ind, BNodeStr* indCur, int... | [
"hominhtri0599@gmail.com"
] | hominhtri0599@gmail.com |
39c3025afbd8cc90737ad9fcea123fd25ebbc589 | 09cb957a1a5257008b2829c35c5b73e4d0e6356c | /cwiczenia klasa vec&mat/Matrix.cpp | 0f6f30bf8976387cc88324ca30979a0bf873f33d | [] | no_license | pierwiastekzminusjeden/cpp_lab_3sem | e64142ee96468743a8103fd8e8afe56846d32ff9 | 7258bdd384d9409e03cfa5286e73606dc851d248 | refs/heads/master | 2021-03-27T14:21:25.595912 | 2018-07-11T18:41:14 | 2018-07-11T18:41:14 | 109,417,995 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 318 | cpp | #include <iostream>
#include "Matrix.h"
Matrix::Matrix(Vector row1, Vector row2, Vector row3){
_rows = 3;
_cols = 3;
_totalSize = _rows *_cols;
}
Matrix &Matrix::set(int row, int col, double value){
}
Vector &Matrix::extractRow(int row) const{
}
Vector &Matrix::extractColumn(int column) const{
}
| [
"krystian.molenda@gmail.com"
] | krystian.molenda@gmail.com |
2afed1614b0bbc69f79ee6255a75724150f52536 | 2d14aa082e33f3c9d2344ea6811a5b18ec906607 | /cpp/src/builders/domain/value.hh | 4528e2973a8a4bdcde2af162220027d60777041c | [
"MIT"
] | permissive | walter-bd/scikit-decide | 4c0b54b7b2abdf396121cd256d1f931f0539d1bf | d4c5ae70cbe8b4c943eafa8439348291ed07dec1 | refs/heads/master | 2023-07-30T14:14:28.886267 | 2021-08-30T14:16:30 | 2021-09-03T06:46:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 709 | hh | /* Copyright (c) AIRBUS and its affiliates.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#ifndef SKDECIDE_VALUE_HH
#define SKDECIDE_VALUE_HH
#include "core.hh"
namespace skdecide {
template <typename Tvalue>
class Reward... | [
"guillaume.alleon@gmail.com"
] | guillaume.alleon@gmail.com |
3f22b4cafc2a4c11ba8f5085b813831685aad871 | 6f11fdff3b3a15eb059713057660e9e55898a993 | /valid_square.cpp | 0a09ff96374a0c8db7d9a270286847e180e8ce77 | [] | no_license | srishti-negi/LeanIn | cc558e187e4de479ee0329406cd27754fcf11488 | 9a0a76bce33edd89900122ae5f6991799e9aa822 | refs/heads/main | 2023-01-24T13:45:51.935787 | 2020-11-30T18:26:55 | 2020-11-30T18:26:55 | 306,854,003 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,125 | cpp | #include <iostream>
#include <vector>
#include <deque>
#include <unordered_map>
#include <unordered_set>
using namespace std;
//https://leetcode.com/problems/valid-square/
class Solution {
public:
int sq_length (vector <int> p1, vector <int> p2) {
return pow((p1[0] - p2[0]), 2) + pow((p1[1] - p2[1]),... | [
"srishtinegi249@gmail.com"
] | srishtinegi249@gmail.com |
11be595d96f6fd448d9dd836accc759f106782fd | b95eae38aaab80073f3a1b6fe25c7e11419c5508 | /practice/smartPointers.cpp | 97103cc6c54afb61ba9a40db90c8e006b51703de | [] | no_license | Hannleeee/myWebServer | dbcfe41a90f24c23d74784d822c9374b4a75493a | 2cc3a267280fc6577a6a9ccc2cade4141c06dcde | refs/heads/master | 2023-08-21T02:58:01.694090 | 2021-10-28T02:48:22 | 2021-10-28T02:48:22 | 393,264,164 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,811 | cpp | #include <iostream>
#include <mutex>
template<typename T>
class mySharedPtr {
public:
mySharedPtr(T* p = nullptr) : ptr(p), refCount(new size_t(1)), mtx(new std::mutex) {}
~mySharedPtr() {
release();
}
mySharedPtr(const mySharedPtr &other) : ptr(other.ptr), refCount(other.refCount), mtx(other... | [
"lh18801299790@gmail.com"
] | lh18801299790@gmail.com |
5f69da0763347ae6c4e6b4aa5b925ce7a3184fa4 | 20b9d59595115599fc9a07364c9eea71211425d8 | /Networking-VS/Server VS/Handmade/Background.cpp | 36b08f2d8207880338de58fdd66f426828f1806b | [] | no_license | Silvertooth98/Fight-Foo | 340ca7490aef33e2254b822fbe667f8ef7d93f77 | a6d3321d964c3d042e6ecd090a217c8c4b0b2189 | refs/heads/master | 2020-04-07T17:34:48.147512 | 2018-11-21T16:22:59 | 2018-11-21T16:22:59 | 158,575,172 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,683 | cpp | #include "AudioManager.h"
#include "Background.h"
#include "TextureManager.h"
//------------------------------------------------------------------------------------------------------
//constructor that loads and links resources, and assigns all default values
//---------------------------------------------------------... | [
"silvertooth1998@gmail.com"
] | silvertooth1998@gmail.com |
e3687d22b748bd9fd9dd3ad024266dcfeb41ee5b | 1dbf007249acad6038d2aaa1751cbde7e7842c53 | /gaussdbforopengauss/src/v3/model/ListRestorableInstancesResponse.cpp | 9c03688d1720cf7d60d939fef1e63eccffb7eace | [] | permissive | huaweicloud/huaweicloud-sdk-cpp-v3 | 24fc8d93c922598376bdb7d009e12378dff5dd20 | 71674f4afbb0cd5950f880ec516cfabcde71afe4 | refs/heads/master | 2023-08-04T19:37:47.187698 | 2023-08-03T08:25:43 | 2023-08-03T08:25:43 | 324,328,641 | 11 | 10 | Apache-2.0 | 2021-06-24T07:25:26 | 2020-12-25T09:11:43 | C++ | UTF-8 | C++ | false | false | 2,593 | cpp |
#include "huaweicloud/gaussdbforopengauss/v3/model/ListRestorableInstancesResponse.h"
namespace HuaweiCloud {
namespace Sdk {
namespace Gaussdbforopengauss {
namespace V3 {
namespace Model {
ListRestorableInstancesResponse::ListRestorableInstancesResponse()
{
instancesIsSet_ = false;
totalCount_ = 0;
... | [
"hwcloudsdk@huawei.com"
] | hwcloudsdk@huawei.com |
a46b16414075da7cae91ede301204af5003fd4b8 | 30f3091a91077f1670f409d88c9a16f1e6d51ec3 | /API_WORMS/MainMenu.cpp | bafc0271c76c734576bf19d99a4c58614711fdc8 | [] | no_license | doo9713/API-WORMS-PROJECT | 6d3fce94a6f99d547d8da96dfbcd2da05950ecd0 | edf2f8011d97c2e0fb923c46f92ff5e5d8a4cb05 | refs/heads/master | 2021-07-13T20:41:17.918874 | 2017-10-12T14:16:30 | 2017-10-12T14:16:30 | 104,208,347 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,942 | cpp | #include "MainMenu.h"
#include "Obj.h"
#include "ObjList.h"
#include "TimeManager.h"
#include "KeyManager.h"
#include "BitmapManager.h"
#include "TitleUI.h"
#include "StartButton.h"
#include "ExitButton.h"
CMainMenu::CMainMenu()
{
}
CMainMenu::~CMainMenu()
{
OBJ.Destroy();
TIME.Destroy();
KEY.Destroy();
BITMAP.De... | [
"doo9713@gmail.com"
] | doo9713@gmail.com |
abd11e50c6d53252356190749209fdd70c017948 | 5512cddf8dee09affedbbdc2d9ca97b8cd1ebb8f | /Text Adventure Game/Text_Adventure_Game/Text_Adventure_Game/Source.cpp | f7eb6f8374e23b532e1494fa189c3571852765b4 | [] | no_license | jeremybarzas/CPP-Assignments | e706c1447be676f3ccda0780a04b73f352a69948 | fddb13f5ec96952bdbf587c84f61df7643be38e5 | refs/heads/master | 2021-05-30T17:55:53.305077 | 2015-12-16T19:09:38 | 2015-12-16T19:09:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,769 | cpp | #include "Header.h"
newCharacter::newCharacter()
{
bool roleTest;
bool itemTest;
cout << "Welcome adventurer! Please type your name?" << endl;
cin >> charName;
cout << "" << endl;
system("pause");
system("cls");
do
{
cout << "Please enter your role exactly as the option appears." << endl;
cout << "" ... | [
"jbarzas@yahoo.com"
] | jbarzas@yahoo.com |
06e49f54b3525f5aaca8560fb77f51b6118a4a5f | 107aec2e166d16d9c824c2a9156f8ac3b2eb4ffa | /kikiGfx/GFXTextureRepository.cpp | 9f21810458cbca21797b663235e74557e80b42b6 | [] | no_license | realn/Pong | 2181ac0a1b451e3b066691c15327380db6c825ea | 4f89874a5f5873dbe653196919f222fd2672d57c | refs/heads/master | 2021-01-02T08:50:21.943670 | 2018-08-31T04:54:32 | 2018-08-31T04:54:32 | 99,077,216 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 801 | cpp | #include "stdafx.h"
#include "GFXTextureRepository.h"
#include <CBIO/Path.h>
#include <CBSDL/Surface.h>
#include <CBGL/Texture.h>
namespace gfx {
CTextureRepository::CTextureRepository(cb::string const & assetsDir)
: core::CAssetRepository<cb::gl::CTexture>(assetsDir, L"png"s)
{}
CTextureRepository::~CText... | [
"realnoname@coderulers.info"
] | realnoname@coderulers.info |
69f001240b52ee85926ab8102165c6229520bdd1 | be0282afa8dd436619c71d6118c9db455eaf1a29 | /Intermediate/Build/Win64/Design3D/Inc/Sequencer/ISequencer.generated.h | 81f5feeda785a10a2ea7dec0cf12467160fee6af | [] | no_license | Quant2017/Design3D | 0f915580b222af40ab911021cceef5c26375d7f9 | 94a22386be4aa37aa0f546354cc62958820a4bf6 | refs/heads/master | 2022-04-23T10:44:12.398772 | 2020-04-22T01:02:39 | 2020-04-22T01:02:39 | 262,966,755 | 1 | 0 | null | 2020-05-11T07:12:37 | 2020-05-11T07:12:36 | null | UTF-8 | C++ | false | false | 1,519 | h | // Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
/*===========================================================================
Generated code exported from UnrealHeaderTool.
DO NOT modify this manually! Edit the corresponding .h files instead!
==============================================================... | [
"Snake_Jenny@126.com"
] | Snake_Jenny@126.com |
5f148f12d304707865b9ccc6ca25d702b3d7a7c1 | 247eb805469638c6d5cbfdfc242c51749b1157a9 | /src/test/test_be_memory_indexedbuffer.cpp | 375b925b8d5e2d4fb159d47dc676b337c964a550 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | gfiumara/libbiomeval | 07317df339a453cca1f2b8fdd859e5c67c9028d7 | 6c88126fa56492c216a922beed9ee17735c4b647 | refs/heads/master | 2023-01-24T14:27:44.105396 | 2023-01-20T15:39:25 | 2023-01-20T15:39:25 | 225,938,020 | 0 | 0 | NOASSERTION | 2019-12-04T19:07:01 | 2019-12-04T19:07:00 | null | UTF-8 | C++ | false | false | 3,258 | cpp | /*
* This software was developed at the National Institute of Standards and
* Technology (NIST) by employees of the Federal Government in the course
* of their official duties. Pursuant to title 17 Section 105 of the
* United States Code, this software is not subject to copyright protection
* and is in the public ... | [
"gregory.fiumara@nist.gov"
] | gregory.fiumara@nist.gov |
44248f43c794d779c49351768bc9d40e96e137ae | 43fd0131e13309030baa3d186158ab616bce94b6 | /engine/timer.hh | ab164d161ae8c14c15a1094ffe4f35e71bfa2df1 | [] | no_license | samdoiron/jeshim | 54f382282d9922706ed223f0fc6ead1a15888033 | be5685068efaff755231ce32e610aab00222f6ab | refs/heads/master | 2021-01-11T02:07:57.653518 | 2016-10-13T11:51:11 | 2016-10-13T11:51:11 | 70,801,499 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 393 | hh | #ifndef JESH_TIMER_H_
#define JESH_TIMER_H_
#include <functional>
namespace jesh {
class Timer {
public:
Timer(double);
void start();
void onDone(std::function<void()>);
void advance(double);
private:
double timeRunning;
double timeToRun;
bool isRunnin... | [
"samdoiron@fastmail.fm"
] | samdoiron@fastmail.fm |
7aba6e33fe982cba9dd59f7c724f344f7a4ea5e0 | c0a98386fe55a6c3eb9cad8f22e1b22e55caa31d | /TauAnalysisTools/plugins/TGraphWriter.cc | e10cee0619454949b28575aefee66a014638b019 | [] | no_license | cms-tau-pog/TauAnalysisTools | 90749dd413b8b6ff927edfa0c16ce6bd75060c7f | 092ea5007c50da11228b90c0d2dc25e18c416531 | refs/heads/master | 2021-01-17T10:23:02.914621 | 2019-07-10T06:02:55 | 2019-07-10T06:02:55 | 16,484,357 | 3 | 5 | null | 2017-08-22T08:18:35 | 2014-02-03T16:05:41 | Python | UTF-8 | C++ | false | false | 2,313 | cc | #include "TauAnalysisTools/TauAnalysisTools/plugins/TGraphWriter.h"
#include "FWCore/Utilities/interface/Exception.h"
#include "FWCore/ServiceRegistry/interface/Service.h"
#include "CondCore/DBOutputService/interface/PoolDBOutputService.h"
#include "CondFormats/PhysicsToolsObjects/interface/PhysicsTGraphPayload.h"
... | [
"Aruna.Nayak@cern.ch"
] | Aruna.Nayak@cern.ch |
50deb21a7e62abf8f89bac8f236b2ef33d6e3207 | cd5efda40daa7b3fc62da7ac6d1d0fe24f54870f | /Projects/01_Pumpkins/main (1).cpp | 0d97ccf9603252eb509d871fdbda29159ce5a72b | [] | no_license | indorif0227/UARK-Spring-2021-Projects | 636d1abb5e6d6b8879e573bf94619e8f330029c9 | 4827570025bdfab075ccd46a5121a7f9e4330359 | refs/heads/main | 2023-08-29T19:38:40.134250 | 2021-09-29T19:57:50 | 2021-09-29T19:57:50 | 411,811,220 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,932 | cpp | /******************************************************************************
Name: Furqaan Indori
Instructor: Lora Streeter
Assignment: Homework 1 - Pumpkin farm
Description: A program that will determine the number of pumpkins and the worth
of the harvest given the area of farmland
****************************... | [
"indorif0227@gmail.com"
] | indorif0227@gmail.com |
56473ea1c1e584c7f2b1fd9b97caffd1fe9845ba | 07327b5e8b2831b12352bf7c6426bfda60129da7 | /Include/10.0.14393.0/um/pla.h | ae74c538b19a147d8f5f2300719fdead3e73a3d2 | [] | no_license | tpn/winsdk-10 | ca279df0fce03f92036e90fb04196d6282a264b7 | 9b69fd26ac0c7d0b83d378dba01080e93349c2ed | refs/heads/master | 2021-01-10T01:56:18.586459 | 2018-02-19T21:26:31 | 2018-02-19T21:29:50 | 44,352,845 | 218 | 432 | null | null | null | null | UTF-8 | C++ | false | false | 276,533 | h |
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 8.01.0618 */
/* @@MIDL_FILE_HEADING( ) */
/* verify that the <rpcndr.h> version is high enough to compile this file*/
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR... | [
"trent@trent.me"
] | trent@trent.me |
779d217ae617c31d5c3e78688d0e96395c5415a5 | 716c5937830c8ce5f39b1225d946ed53ee9abe46 | /Source/Messaging/MsgSound.h | d86110f34495ccae7967d748188634748e002d10 | [
"MIT"
] | permissive | ensq/PACMANIA | 3b130741aedc62b608c5f495a3e7ef903efa68d1 | f3ab4e512d781c3511c8bc2621db871d30e164c7 | refs/heads/master | 2022-09-11T19:08:25.500275 | 2014-03-24T17:45:37 | 2014-03-24T17:45:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 427 | h | #ifndef MSGSOUND_H
#define MSGSOUND_H
#include "../SoundEffect.h"
class MsgSound : public Msg
{
private:
SoundEffect effect;
bool loop;
protected:
public:
MsgSound(SoundEffect effect) : Msg(SOUND)
{
this->effect = effect;
}
MsgSound(MsgSound* msgSound) : Msg(SOUND)
{
effect = msgSound->getSoundEffect();
... | [
"davidgrelsson@gmail.com"
] | davidgrelsson@gmail.com |
7341ef41d5b22b28aac22425d1af2226c7d087de | cfb6898c22dafe01fe3ccce6e7ef70a10a0d0cbc | /gammac/src/token.cpp | 88adae5092fef93ad81d53a0296e779c63a065f0 | [] | no_license | cdeguet/gamma | e74a9bf8d901afa0a637f45c8a0aabde27b3e0a9 | dec5606d1589acc9fcc324027b4139e52c90f541 | refs/heads/master | 2021-08-28T11:35:39.362909 | 2017-09-08T15:04:05 | 2017-09-08T15:04:05 | 99,370,555 | 1 | 0 | null | 2021-08-20T12:13:35 | 2017-08-04T18:38:46 | C++ | UTF-8 | C++ | false | false | 851 | cpp | /*
* Copyright (C) 2017 Cyril Deguet <cyril.deguet@gmail.com>
*
* 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 ... | [
"cdeguet@amadeus.com"
] | cdeguet@amadeus.com |
2bc522a23ce9e23e169d2eccd78a64ef6b7ed787 | e8389dfaf892a410909f9fa975a30e8c83689b38 | /engines/ep/src/collections/vbucket_manifest_handles.h | d8a7c4ac76cfbafa2a9c84ef68bc188b81dc9700 | [
"Apache-2.0"
] | permissive | daverigby/kv_engine | 9c03f13d6388e1f564a37eff125fda733d0caff8 | 82f8b20bcd3851bf31c196bd0f228b8c45eb0632 | refs/heads/master | 2022-12-10T12:36:36.917117 | 2020-08-05T10:18:24 | 2020-09-09T10:55:49 | 91,691,505 | 0 | 2 | BSD-3-Clause | 2019-10-11T14:02:25 | 2017-05-18T12:37:22 | C++ | UTF-8 | C++ | false | false | 21,363 | h | /* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
* Copyright 2020 Couchbase, Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* h... | [
"daver@couchbase.com"
] | daver@couchbase.com |
7bcd9c925c0ca2d2443eb5aa490f7fe75fbb9f82 | 35f8526b274760e72d35d426600b6bf435b91e50 | /src/component/propertydef.cpp | 107b62731674dbde4cc51e0be7bf32c2614d9882 | [] | no_license | madeso/pwn-engine | f9ca6a4551edbad719ff2c6999e5fc9e97b6a211 | c4767e5d798d5768e1bbf8a9ac73b6fb186ae497 | refs/heads/master | 2021-01-20T04:31:06.326355 | 2020-06-14T13:31:36 | 2020-06-14T13:31:36 | 33,419,254 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 82 | cpp | #include <pwn/component/propertydef.h>
namespace pwn
{
namespace component
{
}
}
| [
"sir.gustav.the.coder@gmail.com"
] | sir.gustav.the.coder@gmail.com |
0a8a163b3046075bb5724c40baf0809c21e264d9 | 695d54ab3e8b432f9687c1475206731d9a4c0211 | /RPC/RPC2017-6/H.cpp | 186b823659e74dd0e0fa07df6887daec7e233046 | [] | no_license | JuanPabloRN30/Competitive_Programming | 74c388f3a38235858818cff68ab1ff36d2262518 | 65394a531cc300a503356b1e09a4e9987310cf82 | refs/heads/master | 2020-07-09T04:38:25.785834 | 2017-09-29T19:26:10 | 2017-09-29T19:26:10 | 66,211,726 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,269 | cpp | #include <iostream>
#include <vector>
using namespace std;
#define INF 1e9
unsigned long long inv;
void merge(int arr[], int low, int mid, int high)
{
int n1 = mid - low + 1;
int n2 = high - mid;
vector < int > left( n1+1, 0 );
vector < int > right( n2+1, 0 );
for( int i = 0 ; i < n1 ; i++ )
{
left[... | [
"juanpablorn30@gmail.com"
] | juanpablorn30@gmail.com |
2ed31d4cb83e799a10b3574fb347da6ee71042d0 | 6f2b6e9d77fc4dd5e1dae8ba6e5a66eb7c7ae849 | /sstd_boost/sstd/boost/geometry/algorithms/detail/overlay/assign_parents.hpp | 67af1892a4e222ba87e16a6075b2cfda641f241b | [
"BSL-1.0"
] | permissive | KqSMea8/sstd_library | 9e4e622e1b01bed5de7322c2682539400d13dd58 | 0fcb815f50d538517e70a788914da7fbbe786ce1 | refs/heads/master | 2020-05-03T21:07:01.650034 | 2019-04-01T00:10:47 | 2019-04-01T00:10:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,116 | hpp | // Boost.Geometry (aka GGL, Generic Geometry Library)
// Copyright (c) 2007-2012 Barend Gehrels, Amsterdam, the Netherlands.
// Copyright (c) 2017 Adam Wulkiewicz, Lodz, Poland.
// This file was modified by Oracle on 2017.
// Modifications copyright (c) 2017 Oracle and/or its affiliates.
// Contributed and/or modifi... | [
"zhaixueqiang@hotmail.com"
] | zhaixueqiang@hotmail.com |
c7e55d59d6690ca601b4594610dc22f1e99ab61d | 778df5c394d2ecdf2aad84ce3730d8ac5f6a5d6f | /Exercise/6.Arrays/LinearSearch/stdafx.cpp | b50e1ec3a1619ad463d12703b1e2a04152af833a | [] | no_license | prasadtelkikar/C-How-To-Program-by-Deitel | f918cb6e167afffb540fcc870d2abb7758040a02 | 8a4d5939381b2b1677e26b1cea10e00b5a63ab79 | refs/heads/master | 2020-04-06T04:26:38.831772 | 2017-06-20T17:10:47 | 2017-06-20T17:10:47 | 82,921,177 | 3 | 1 | null | 2017-05-03T12:36:48 | 2017-02-23T11:34:38 | C++ | UTF-8 | C++ | false | false | 291 | cpp | // stdafx.cpp : source file that includes just the standard includes
// LinearSearch.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
// TODO: reference any additional headers you need in STDAFX.H
// and not in this file
| [
"telkikar.prasad@gmail.com"
] | telkikar.prasad@gmail.com |
c865f652a85691c528d257633af41df5c1dd6286 | 8669adfe56247b9634e8cfa43a1123b30e9cbdd2 | /CardType/powerpc/codemcwi/modules/prj_bts/layer3/tVoice/SRC/localSa9.cpp | bb7bae71c60ef027216d3eaa592070a309b12b78 | [] | no_license | wl1244648145/xinwei | 308f1c4f64da89ba978f5bf7eb52b6ba121e01c6 | 6a2e4c85ac59eda78de5a5192de14995dee9e1fb | refs/heads/master | 2022-12-03T15:24:12.398873 | 2020-08-23T04:16:04 | 2020-08-23T04:16:04 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 18,641 | cpp | /*******************************************************************************
* Copyright (c) 2010 by Beijing AP Co.Ltd.All Rights Reserved
* File Name : localSagSrvCfgFile.cpp
* Create Date : 24-Jan-2010
* programmer :fb
* description :
* functions :
* Modify History :
**********************... | [
"hrbeu_xq@163.com"
] | hrbeu_xq@163.com |
93e69e53af0dac6f0e9c3f762fb9dd8ec0de3c29 | 1bf8b46afad5402fe6fa74293b464e1ca5ee5fd7 | /Demo/Shenmue3SDK/SDK/BP_ShadowDistanceTrigger_parameters.h | dbeabf5374c76eeda8ffdedf6d09af7797fa4004 | [] | no_license | LemonHaze420/ShenmueIIISDK | a4857eebefc7e66dba9f667efa43301c5efcdb62 | 47a433b5e94f171bbf5256e3ff4471dcec2c7d7e | refs/heads/master | 2021-06-30T17:33:06.034662 | 2021-01-19T20:33:33 | 2021-01-19T20:33:33 | 214,824,713 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,346 | h | #pragma once
#include "../SDK.h"
// Name: S3Demo, Version: 0.90.0
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
// Parameters
//---------------------------------------------------------------------------
// Function BP_... | [
"35783139+LemonHaze420@users.noreply.github.com"
] | 35783139+LemonHaze420@users.noreply.github.com |
8943af52e82cc58d8bce0915bd5aef038083d4c4 | 844d52192673a3dff0cf923f2d51e888e5db3677 | /CustomizePage1.cpp | 70500481059177435ca21b03c94a71235079c0c9 | [] | no_license | usgs-coupled/phreeqci | fcf318e0306b2b82f460339922768578cedd93ce | 77c03fe463d1ff3b592a07438d59ba38aa9dea27 | refs/heads/master | 2023-08-31T08:15:27.412480 | 2023-08-25T15:36:21 | 2023-08-25T15:36:21 | 308,477,384 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,956 | cpp | // CustomizePage1.cpp : implementation file
//
// $Id$
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "resource.h"
#include "CustomizePage1.h"
#include "phreeqci2.h"
#include <Htmlhelp.h>
#include "SaveCurrentDirectory.h"
#ifdef _DEBUG
#undef THIS_FILE
static char... | [
"charlton@usgs.gov"
] | charlton@usgs.gov |
4bd4e6f85a164c80c23d68316c12eee563f1c337 | bd7fa326f931c0440770da5c2a8d9ae4f4bd89ff | /CB/arduino/libraries/Souliss/interfaces/XMLServer_HTTP_uIP.cpp | 9865bdafd0bf4b4e16990b7ece1c894bbceef70d | [] | no_license | mcbittech/SoulissDEV | 0a1a441d8e6a82ee52f912764c6a170aa535606b | bdf1dd855340d766e10b0175d1b921a0cd017df3 | refs/heads/master | 2021-01-19T17:42:54.562151 | 2015-05-01T13:57:04 | 2015-05-01T13:57:04 | 34,900,953 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,741 | cpp | /**************************************************************************
Souliss
Copyright (C) 2012 Veseo
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the... | [
"master.flavio.piccolo@gmail.cpm"
] | master.flavio.piccolo@gmail.cpm |
d7f49c81d534cab45eb982a050f4fe5900d5c28f | f96a15f374d4bc4550d2c060f56d8f61d0f694fb | /python/ctypes_example/example.h | 49040ed91549f41c2ca169a3f3fcd1013cf05f6c | [
"Apache-2.0"
] | permissive | knowledgebao/language | 5abdd36b1fc6de4442ae99ad60fca148372e9df9 | eee667c90267bd846f065cc32024bca33dfdfc0c | refs/heads/main | 2023-02-07T16:33:04.548385 | 2021-01-03T14:34:17 | 2021-01-03T14:34:17 | 326,325,283 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,127 | h | #pragma once
#if defined(_WIN32)
# define CDECL __cdecl
# define WINAPI __stdcall
# define FASTCALL __fastcall
# if defined(example_EXPORTS)
# define MEG_API __declspec(dllexport)
# else
# define MEG_API __declspec(dllimport)
# endif // defined(example_EXPORTS)
#else
# define CDECL __attr... | [
"keke@mail.com"
] | keke@mail.com |
c458d1b7cf30545d24672a1c2421ee30e4963696 | 682a576b5bfde9cf914436ea1b3d6ec7e879630a | /components/material/nodes/button/MaterialButtonIcon.cc | e308d7356f5b64474645ba7a75031b899d22182e | [
"MIT",
"BSD-3-Clause"
] | permissive | SBKarr/stappler | 6dc914eb4ce45dc8b1071a5822a0f0ba63623ae5 | 4392852d6a92dd26569d9dc1a31e65c3e47c2e6a | refs/heads/master | 2023-04-09T08:38:28.505085 | 2023-03-25T15:37:47 | 2023-03-25T15:37:47 | 42,354,380 | 10 | 3 | null | 2017-04-14T10:53:27 | 2015-09-12T11:16:09 | C++ | UTF-8 | C++ | false | false | 3,137 | cc | // This is an open source non-commercial project. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
/**
Copyright (c) 2016 Roman Katuntsev <sbkarr@stappler.org>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and... | [
"sbkarr@stappler.org"
] | sbkarr@stappler.org |
aeeb26b6cc45b484e5bdd3ac8a0963f76766910f | d48653e4015f6762e233436c03ca2956869b0885 | /Source/AgogCore/Private/AgogCore/AString.cpp | 60bf68d9d11312c7a1db844b9d25f5e9554a783d | [] | no_license | marynate/SkookumScript-UnrealEngine-1 | 2d98b08073e464e247a22ca6cf814f9709c638ac | 5dc385b7a1f3fa93b075f8d6ed3ffeb6deceb2ad | refs/heads/master | 2021-01-14T08:51:15.354834 | 2016-01-09T00:47:10 | 2016-01-09T00:47:10 | 49,553,362 | 0 | 0 | null | 2016-01-13T06:08:23 | 2016-01-13T06:08:23 | null | UTF-8 | C++ | false | false | 180,532 | cpp | //=======================================================================================
// Agog Labs C++ library.
// Copyright (c) 2000 Agog Labs Inc.,
// All rights reserved.
//
// Dynamic AString class definition module
// Author(s): Conan Reis
// Create Date: 2000-01-06
// Notes: The AString class s... | [
"markus@agoglabs.com"
] | markus@agoglabs.com |
6850cc89c0625937d3a6965b2319aca490bb04dc | 428989cb9837b6fedeb95e4fcc0a89f705542b24 | /erle/ros2_ws/build/example_interfaces/rosidl_typesupport_opensplice_cpp/example_interfaces/msg/dds_opensplice/LargeFixed_Dcps_impl.cpp | 1e61828bfcbdba9e661603a7a21afa867011bd8f | [] | no_license | swift-nav/ros_rover | 70406572cfcf413ce13cf6e6b47a43d5298d64fc | 308f10114b35c70b933ee2a47be342e6c2f2887a | refs/heads/master | 2020-04-14T22:51:38.911378 | 2016-07-08T21:44:22 | 2016-07-08T21:44:22 | 60,873,336 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 28,619 | cpp | #include "LargeFixed_Dcps_impl.h"
#include "gapi.h"
#include "gapi_loanRegistry.h"
#include "LargeFixed_SplDcps.h"
#include "ccpp_DataReader_impl.h"
#include "ccpp_DataReaderView_impl.h"
extern c_bool
__example_interfaces_msg_dds__LargeFixed___copyIn(
c_base base,
struct example_interfaces::msg::dds_::LargeFi... | [
"igdoty@swiftnav.com"
] | igdoty@swiftnav.com |
d8d79bd28b1aefb4975f05080bca3708e3779b49 | cee828460946c5eec221ec1813e7d21b29c6e32c | /Ky-031/Ky-031.ino | 9f12b552332dbcaa8d9a6497b182a384aa013b9c | [] | no_license | keremerolce/arduino-37-sensor | 7e026e71581b3c85b10efd9b76544926ab1f4af9 | af858afd9e5cac8a995fe2574685665ca5de2b5c | refs/heads/master | 2020-03-30T17:46:13.789395 | 2018-10-03T19:49:52 | 2018-10-03T19:49:52 | 151,469,099 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 557 | ino | int Led = 13 ; // define LED Interface
int Shock = 3; // define the percussion Sensor Interface
int val ; // define numeric variables val
void setup ()
{
pinMode (Led, OUTPUT) ; // define LED as output interface
pinMode (Shock, INPUT) ; // define knock sensor output interface
}
void loop ()
{
val = digitalRead ... | [
"keremerol.ce@outlook.com"
] | keremerol.ce@outlook.com |
c83c6440cc280bd7ff238cf9f39ba0055e992bc4 | 23f64812a8be5606a78edf2cd630f1229ba25550 | /SimulatedAnnealingExtraP/GeneralParameterEstimator.h | 131eda856b3c69bc4c308526505e95c86802042c | [
"MIT"
] | permissive | tudasc/SimAnMo | dfa9aad1ffb95cb3b89bdd9799b431ee836a890c | e60bdd17513adb983abfc5754ff77c84b36fa906 | refs/heads/master | 2023-08-11T01:09:45.369779 | 2021-09-30T05:35:42 | 2021-09-30T05:35:42 | 290,442,787 | 2 | 0 | null | 2020-08-27T06:40:37 | 2020-08-26T08:40:26 | C++ | UTF-8 | C++ | false | false | 526 | h | #ifndef GENERALPARAMETERESTIMATOR_H
#define GENERALPARAMETERESTIMATOR_H
#include "MeasurementDB.h"
#include "ParameterEstimatorInterface.h"
class GeneralParameterEstimator : public ParameterEstimatorInterface {
public:
GeneralParameterEstimator();
GeneralParameterEstimator(MeasurementDB* inputDB);
~GeneralParamet... | [
"michael.burger@sc.tu-darmstadt.de"
] | michael.burger@sc.tu-darmstadt.de |
553d843042c751af45e99c3d8d08537a7553a640 | 4cfe06e384e903cff94796abdeb40c66e48b56b6 | /XMLParser/XMLString.h | fa8dcdf7944a5dbd48c6edfbc17314b0957a55e6 | [] | no_license | fardragon/XMLParser | 06e2e18c80e71b13a4adbd94f29c7f17a5036d61 | 0e279db9cbd77e1ddd1b85e380a2af4858e660af | refs/heads/master | 2021-01-20T11:51:00.872670 | 2017-09-05T07:01:36 | 2017-09-05T07:01:36 | 101,691,527 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 628 | h | #ifndef XMLString_h__
#define XMLString_h__
#include <string>
#include <algorithm>
#include <regex>
enum class XMLelementType;
class XMLString
{
public:
XMLString(const std::string &data);
std::string extractNext();
std::string peekNext() const;
bool isEmpty() const;
static bool isProlog(const std::string &elem... | [
"michaldrozd@protonmail.ch"
] | michaldrozd@protonmail.ch |
c823fc9ec96c2e95bf5bb5ab92413a2d04a3d366 | a602b22acea1c34ae0fcf68a1ffb9e1339852e93 | /src/Chemistry/MoleculeRecipes.cpp | d7c16486d5a495fdf1ed3d4a07c4607b619a4c6e | [] | no_license | alexlitty/tree-simulator | 2505878dea8a0cb84b7556285a83c3022c141e6f | ca2f4e7ac65b81bfae59e5abdcf7460555311dd4 | refs/heads/master | 2021-01-19T02:20:53.985363 | 2018-12-24T11:35:38 | 2018-12-24T11:35:38 | 34,832,492 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,158 | cpp | #include <tree/Chemistry/MoleculeRecipes.hpp>
// Retrieves all the elements composing a molecule collection.
tree::ElementCollection tree::getElements(tree::MoleculeCollection& molecules)
{
ElementCollection elements;
for (auto pair : molecules) {
for (unsigned int i = 0; i < pair.second; i++) {
... | [
"github@alexlitty.com"
] | github@alexlitty.com |
96c92d7d9ae0f1d16424b6609a37a61e5b5b03bb | 0179b3259384adafcd8a259a08205eae6c422492 | /logdevice/common/configuration/nodes/utils.cpp | fc2452305825f3f896b1f1f40211d23384b86e44 | [
"BSD-3-Clause"
] | permissive | Kejba93/LogDevice | 673318d434758c3e816fade1a4c71b1e587a6e59 | 355ff8f576591c23653b2e32af6261cfd2cf429b | refs/heads/master | 2020-04-15T08:57:52.782328 | 2019-01-08T01:44:15 | 2019-01-08T01:47:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 809 | cpp | /**
* Copyright (c) 2017-present, Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "utils.h"
namespace facebook { namespace logdevice { namespace configuration ... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
3b345d24294bcb23a21f58f8949a509aba368fd3 | e7d907a5e1a0f4a92a373da4a1847683f8a9c7b4 | /src/bsb_engine/bsb_particel.cpp | 69fdfee6feefb31c27b528e5c2f6e1dce6ad1851 | [] | no_license | imclab/voxelart | 0620c53a7facbf7894c21b9c17c354f32c35da75 | 166d55f5dea199b0b7a6cb866a2763bc785000eb | refs/heads/master | 2020-04-01T14:20:42.645006 | 2012-04-22T17:37:16 | 2012-04-22T17:37:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,217 | cpp | #include "../../inc/bsb_engine/bsb_particel.h"
Bsb_Particel::Bsb_Particel(Bsb_Vector* p_vPosition,Bsb_Vector* p_vVelocity,float p_fBirthday,float p_fLifetime){
m_vPosition = p_vPosition;
m_vVelocity = p_vVelocity;
m_fBirthday = p_fBirthday;
m_fLifetime = p_fLifetime;
}
void Bsb_Particel::update(float p_s... | [
"l_schmid@cojobo.net"
] | l_schmid@cojobo.net |
7838fa15a58b01de7a285a6c92153c79773cdfcb | 84fc6209079c364aca7d8fb88833b991ddb8b914 | /datainput/worldtest.cpp | c8bea17482b1a3c54a8e7a16fa32ed6b6db2ba1b | [] | no_license | ABRG-Models/VisualAttention | 6429d4bb20eb76b90111ab1eec1f42109fb8d7ad | 52fb2ec49dce471c2d8cbaf4934d5f3ef855e0c7 | refs/heads/master | 2023-06-08T08:31:52.851892 | 2023-06-05T15:15:31 | 2023-06-05T15:15:31 | 133,489,500 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,395 | cpp | /*
* A tester for WorldFrame, EyeFrame etc.
*/
#include "luminance.h"
#include "worldframe.h"
#include "eyeframe.h"
#include <vector>
#include <iostream>
#include <fstream>
#include "common.h"
#include "debug.h"
#include <json/json.h>
using namespace wdm;
using namespace std;
std::ofstream DBGSTREAM;
void readL... | [
"seb.james@sheffield.ac.uk"
] | seb.james@sheffield.ac.uk |
664c32f36a11f135a5ad1171c932d2fee73ce1dd | 32f97b6d14352d6c740033307784be24088b626e | /src/tests/myImportandFunction/alignTranscript.cpp | 32b44a55179e27923b76913fd523bc89a8f947be | [
"MIT"
] | permissive | illarionovaanastasia/GEAN | bcc48ebf740fb8c5f0623dcfc84415ddf0b36fea | b81bbf45dd869ffde2833fd1eb78463d09de45cb | refs/heads/master | 2022-12-03T13:54:23.898262 | 2020-08-17T09:17:30 | 2020-08-17T09:17:30 | 288,134,843 | 0 | 0 | MIT | 2020-08-17T09:14:17 | 2020-08-17T09:14:17 | null | UTF-8 | C++ | false | false | 14,969 | cpp | //
// Created by song on 8/26/18.
//
#include "../../../googletest/googletest/include/gtest/gtest.h"
#include "../../impl/impl.h"
#include <string>
#include "../../myImportandFunction/myImportantFunction.h"
#include <iostream>
#include <ctime>
#include <ratio>
#include <chrono>
TEST(alignTranscript, c1){
std::s... | [
"bs674@cornell.edu"
] | bs674@cornell.edu |
0f2cc11e2ee0634ae1ee8f0c114709e5301ddc1e | c776476e9d06b3779d744641e758ac3a2c15cddc | /examples/litmus/c/run-scripts/tmp_1/MP+dmb.sy+pos-[fr-rf]-pos-ctrl-addr.c.cbmc_out.cpp | 6390927c09ce5efa90e71f08b455997f4c26fe1a | [] | no_license | ashutosh0gupta/llvm_bmc | aaac7961c723ba6f7ffd77a39559e0e52432eade | 0287c4fb180244e6b3c599a9902507f05c8a7234 | refs/heads/master | 2023-08-02T17:14:06.178723 | 2023-07-31T10:46:53 | 2023-07-31T10:46:53 | 143,100,825 | 3 | 4 | null | 2023-05-25T05:50:55 | 2018-08-01T03:47:00 | C++ | UTF-8 | C++ | false | false | 61,608 | cpp | // 0:vars:3
// 5:atom_1_X3_2:1
// 3:atom_1_X0_1:1
// 4:atom_1_X2_1:1
// 6:atom_1_X4_2:1
// 7:atom_1_X8_0:1
// 8:thr0:1
// 9:thr1:1
// 10:thr2:1
#define ADDRSIZE 11
#define NPROC 4
#define NCONTEXT 1
#define ASSUME(stmt) __CPROVER_assume(stmt)
#define ASSERT(stmt) __CPROVER_assert(stmt, "error")
#define max(a,b) (a>b?... | [
"tuan-phong.ngo@it.uu.se"
] | tuan-phong.ngo@it.uu.se |
874dbdee1cbb64c4b4f299c059272112cda5153c | 3ff1fe3888e34cd3576d91319bf0f08ca955940f | /cls/src/v20201016/model/Ckafka.cpp | 81393d08ba8de3835ed933cf40ed6ad11a641f10 | [
"Apache-2.0"
] | permissive | TencentCloud/tencentcloud-sdk-cpp | 9f5df8220eaaf72f7eaee07b2ede94f89313651f | 42a76b812b81d1b52ec6a217fafc8faa135e06ca | refs/heads/master | 2023-08-30T03:22:45.269556 | 2023-08-30T00:45:39 | 2023-08-30T00:45:39 | 188,991,963 | 55 | 37 | Apache-2.0 | 2023-08-17T03:13:20 | 2019-05-28T08:56:08 | C++ | UTF-8 | C++ | false | false | 6,709 | cpp | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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
... | [
"tencentcloudapi@tencent.com"
] | tencentcloudapi@tencent.com |
f5fc3dc494b97db1a05fe3d4ad99be09f6873498 | 19eb97436a3be9642517ea9c4095fe337fd58a00 | /private/inet/urlmon/download/isctrl.cxx | 5f3f5dfa764e86b60af69684df09343fb2de5417 | [] | no_license | oturan-boga/Windows2000 | 7d258fd0f42a225c2be72f2b762d799bd488de58 | 8b449d6659840b6ba19465100d21ca07a0e07236 | refs/heads/main | 2023-04-09T23:13:21.992398 | 2021-04-22T11:46:21 | 2021-04-22T11:46:21 | 360,495,781 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 68,845 | cxx | #include <cdlpch.h>
#pragma hdrstop
#include "verp.h"
#include <mstask.h>
#include <pkgguid.h>
extern LCID g_lcidBrowser; // default to english
extern char g_szBrowserPrimaryLang[];
// global that encapsulates delay-loaded version.dll
CVersion g_versiondll;
extern BOOL g_bRunOnWin95;
HRESULT NeedFor... | [
"mehmetyilmaz3371@gmail.com"
] | mehmetyilmaz3371@gmail.com |
7df6fa8e90cff9e7487784550141dc906e1571ff | 695bd42dc11828d04fae194c51b5cb289b7c099b | /main.cpp | 6881a6afb02d6d38c909fa57e769d0c700f6ca57 | [] | no_license | phplego/PixelLamp | 2599fc281505b6ecd876fd6b2c1031bd984a26ef | 2d4d5e8ecd3f7eddf981709b7de138cee4da0d80 | refs/heads/master | 2022-12-02T16:55:49.115874 | 2020-07-24T23:55:35 | 2020-07-24T23:55:35 | 277,692,640 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,594 | cpp | #include <ArduinoOTA.h>
#include <ArduinoJson.h>
#include <FastLED.h>
#include <ESP8266WiFi.h>
#include <Adafruit_MQTT.h>
#include <Adafruit_MQTT_Client.h>
#include <EEPROM.h>
#include "WebService.h"
#include "Queue.h"
#include "utils.h"
ADC_MODE(ADC_VCC); // for make ESP.getVCC() work
#define APP_VERSION "0... | [
"phplego@gmail.com"
] | phplego@gmail.com |
7d6b45e37c467e12913c9851b378dd3bad8702b5 | 21d3d43d0b627233596d0102ad22ffcbca9e17f2 | /알고리즘공부/알고리즘특강/백준 -16987 계란으로 바위치기.cpp | fdb1c4f3a73db5de956a2821e051268af6419af5 | [] | no_license | kyhoon001/TIL | 581963c949d5da321a26a00df67a727cdc68d84f | 2515e89eb1b335118d813017f4127c23836d4e7c | refs/heads/master | 2020-09-28T17:25:04.475133 | 2020-09-10T00:37:21 | 2020-09-10T00:37:21 | 226,824,007 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 978 | cpp | #define _CRT_SECURE_NO_WARNINGS
#include<iostream>
#include<algorithm>
#include<string.h>
#include<vector>
using namespace std;
int n;
int arr[10][2];
int check[10]; // 0은 내구도 // 1은 무게
int answer = -1;
void solve(int a) {
if (a == n) {
int cnt = 0;
for (int i = 0; i < n; i++) {
if (arr[i][0] <= 0) cnt++;
}
... | [
"kyhoon001@naver.com"
] | kyhoon001@naver.com |
6270af5bcb21fe1706c227f982bfebd3570dec70 | 4f4d3ec9bca4e2acb085a0c77e5cd3ed1b43b98d | /DFS/1743.cpp | 353a516efb2d5e0c8bc160a339bdc5d11d963f69 | [] | no_license | Jeonghwan-Yoo/BOJ | 5293c181e17ea3bcd7f15e3a9e1df08d3a885447 | 5f2018106a188ce36b15b9ae09cf68da4566ec99 | refs/heads/master | 2021-03-05T02:36:45.338480 | 2021-01-20T12:43:40 | 2021-01-20T12:43:40 | 246,088,916 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,354 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
int constexpr dy[4] = { -1, 0, 1, 0 };
int constexpr dx[4] = { 0, 1, 0, -1 };
int N, M, K;
int Dfs(int y, int x, vector<vector<int>> &board, vector<vector<int>> &visited)
{
int ret = 1;
for (int dir = 0; dir < 4; ++dir)
{
... | [
"dwgbjdhks2@gmail.com"
] | dwgbjdhks2@gmail.com |
7a478afa5f3570d2744317ef7e0a544a58e06dd5 | 8bd2314d1e4d1d474a9378b9f57125df4f89291e | /1001.cpp | 5f5a31a1776189640719c828828360c842260d72 | [] | no_license | 18237257328/my_c_code | 84e46b5a44e62c5d06a005d23e0174f601695ef8 | b082e52c272341135a50b3092cfe86f204dc612c | refs/heads/master | 2020-06-26T20:44:17.288224 | 2019-09-22T09:05:52 | 2019-09-22T09:05:52 | 199,752,761 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,182 | cpp | /*
Pta题目1001 害死人不偿命的(3n+1)猜想 (15 分)
卡拉兹(Callatz)猜想:
对任何一个正整数 n,如果它是偶数,那么把它砍掉一半;如果它是奇数,那么把 (3n+1) 砍掉一半。这样一直反复砍下去,最后一定在某一步得到 n=1。卡拉兹在 1950 年的世界数学家大会上公布了这个猜想,传说当时耶鲁大学师生齐动员,拼命想证明这个貌似很傻很天真的命题,结果闹得学生们无心学业,一心只证 (3n+1),以至于有人说这是一个阴谋,卡拉兹是在蓄意延缓美国数学界教学与科研的进展……
我们今天的题目不是证明卡拉兹猜想,而是对给定的任一不超过 1000 的正整数 n,简单地数一下,需要多少步(砍几下)才能得到 n=1?
... | [
"2972866128@qq.com"
] | 2972866128@qq.com |
a1cda40cdb5e9ab853ef67fdc940532bf1c0707e | f3c8d78b4f8af9a5a0d047fbae32a5c2fca0edab | /Qt/mega_git_tests/sensors/Test_MPU-6050/src/test_glwidget/src/test_glwidget.hpp | a440ff3cdc0ea3f0d9849769f18205355074f0dd | [] | no_license | RinatB2017/mega_GIT | 7ddaa3ff258afee1a89503e42b6719fb57a3cc32 | f322e460a1a5029385843646ead7d6874479861e | refs/heads/master | 2023-09-02T03:44:33.869767 | 2023-08-21T08:20:14 | 2023-08-21T08:20:14 | 97,226,298 | 5 | 2 | null | 2022-12-09T10:31:43 | 2017-07-14T11:17:39 | C++ | UTF-8 | C++ | false | false | 3,510 | hpp | /****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the examples of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** Commercial License Usage
** Licensees holding valid commercial Qt... | [
"tux4096@gmail.com"
] | tux4096@gmail.com |
7ad7534442e263c2e69d5e44d711b92fbc3e25d9 | e16dac5f76a7c57616c474aa1e252e9a37aee47a | /facebookEgo.cpp | 46269d2df7b829f8894af86fa9ce27154c71d9ac | [] | no_license | srinivasbalaji-1/openmpProject | c18d0a39600e7849b588662eb00a23ed58fb120d | 3ec6911088e6c60ae32814fa2a002f56e8f49c47 | refs/heads/master | 2021-01-15T21:44:27.960948 | 2014-04-11T19:37:34 | 2014-04-11T19:37:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,411 | cpp | #include<climits>
#include<fstream>
#include<cmath>
#include<algorithm>
#include<iostream>
#include<omp.h>
#define d 0.85
#define epsilon 0.0000001
using namespace std;
int main() {
ifstream input("facebook_combined.txt");
ofstream out("task_1.txt");
int a, b, i, j;
int count1 =0;
int tid, nthread... | [
"198srinivas@gmail.com"
] | 198srinivas@gmail.com |
0f47db337cc779e3cd318f762488874fafab8653 | 2d4bdc08f00d7077f3b0cc37bfc99c0a2ef231ca | /GH Injector Library/LdrLoadDll WOW64.cpp | e1d7876efe769c91703885acb3e29c54c67072ba | [] | no_license | pokevas/GH-Injector-Library | 49abd1743780553b8149582bf9109cd4eb9c35c7 | bfd2cda727e9e031cbbb89d6f5fa1a6d6c1a7bea | refs/heads/master | 2022-05-17T18:56:23.145061 | 2020-04-06T21:12:27 | 2020-04-06T21:12:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,939 | cpp | #include "pch.h"
#ifdef _WIN64
#include "LdrLoadDll.h"
#pragma comment (lib, "Psapi.lib")
BYTE LdrLoadDll_Shell_WOW64[] =
{
0x55, 0x8B, 0xEC, 0x56, 0x8B, 0x75, 0x08, 0x85, 0xF6, 0x75, 0x0A, 0xB8, 0x01, 0x00, 0x20, 0x00, 0x5E, 0x5D, 0xC2, 0x04, 0x00, 0x8B, 0x4E, 0x04, 0x85, 0xC9, 0x75, 0x0A, 0xB8, 0x02, 0x00, 0x20... | [
"konradherrmann@t-online.de"
] | konradherrmann@t-online.de |
fa90131aa6caa6de19d4a4900713551383a9ba10 | 49151ac1b9d9e99b360cc9eecc6a89572a1f26fe | /Marbles/Marbles.cpp | 66fbeabb8cd14fc28d4114b266224faae3f487f0 | [
"MIT"
] | permissive | toadgee/marbles | 018393ad5f6812680c95a3a6f93983834b5082d1 | d24c3f3425459fdb2429cfc1bff83613e8dfde45 | refs/heads/master | 2023-04-21T15:06:38.197722 | 2023-03-26T00:45:13 | 2023-03-26T00:45:13 | 147,553,978 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,637 | cpp | #include "precomp.h"
#include "Descriptions.h"
#include "Game.h"
#include "ComputerPlayer.h"
#include "ConsoleUtilities.h"
#include "ConsolePlayer.h"
#include "RandomPlayerColor.h"
void AddPlayersToGame(TGMGame* game, Strategy team1, Strategy team2, bool outputHowTheComputerWouldDo);
void DoGame(TGMGame* game, Strateg... | [
"toadgee@gmail.com"
] | toadgee@gmail.com |
051fee16ec3bcb68d036ef5beddb3fc056c351c4 | 1f63dde39fcc5f8be29f2acb947c41f1b6f1683e | /Boss2D/addon/_old/webrtc-qt5.11.2_for_boss/modules/rtp_rtcp/source/rtp_format_video_generic.cc | c9423b853f9599e32e9f8f8809ef44c3023e6926 | [
"LicenseRef-scancode-google-patent-license-webrtc",
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause",
"GPL-1.0-or-later",
"LicenseRef-scancode-takuya-ooura",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-unknown",
"MS-LPL",
"MIT",
"LicenseRef-scancode-google-patent-licen... | permissive | koobonil/Boss2D | 09ca948823e0df5a5a53b64a10033c4f3665483a | e5eb355b57228a701495f2660f137bd05628c202 | refs/heads/master | 2022-10-20T09:02:51.341143 | 2019-07-18T02:13:44 | 2019-07-18T02:13:44 | 105,999,368 | 7 | 2 | MIT | 2022-10-04T23:31:12 | 2017-10-06T11:57:07 | C++ | UTF-8 | C++ | false | false | 5,372 | cc | /*
* Copyright (c) 2014 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... | [
"slacealic@nate.com"
] | slacealic@nate.com |
a2dd0a29f54b6f914e0321e18caab1b7407a4d30 | 8769f635568f14dacf14e37faf6253f6318804c5 | /ABC/abc194/c.cpp | 7ca09bceab12fc473f19d832a813662278e7ebf8 | [] | no_license | hjmkt/AtCoder | 8f823de8cd12a8fa34c872788a3b8a89601c6b60 | f9dfa2968b53255a356803235d77e169c04ed0e6 | refs/heads/master | 2023-06-01T10:04:54.893062 | 2023-05-24T08:35:12 | 2023-05-24T08:35:12 | 181,178,130 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 791 | cpp | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using vll = vector<ll>;
using vvll = vector<vll>;
using vvvll = vector<vvll>;
#define REP(i, n, m) for(ll i=n; i<(ll)m; ++i)
#define IREP(i, n, m) for(ll i=n-1; i>=m; --i)
#define rep(i, n) REP(i, 0, n)
#define irep(i, n) IREP(i, n, 0)
#define all(v)... | [
"hjmkt3126@gmail.com"
] | hjmkt3126@gmail.com |
dcbc121c432af8f55053d5bb801d2d440f6227c9 | f6be60be84271d747ed35a371f993cb9b74190eb | /OpenGLTemple/src/minesweeper/Minesweeper.h | c92328aa1d341811135b37cf7d61ea5ea017c05e | [] | no_license | jaccen/DeallyEngine | e2e8ccf58c9d1dea34608d79b660f7571643f1c0 | 27ec95d90ec450bfd0b56c50c391c4c12ff8f3ca | refs/heads/master | 2023-04-14T16:23:42.761382 | 2023-04-07T07:37:51 | 2023-04-07T07:37:51 | 92,156,474 | 0 | 2 | null | 2022-12-13T04:20:15 | 2017-05-23T09:46:54 | C++ | UTF-8 | C++ | false | false | 1,604 | h | #ifndef MINESWEEPER_H_
#define MINESWEEPER_H_
#include "MineMap.h"
#include "MineMapRenderer.h"
#include "DigitRenderer.h"
#include "MinesweeperDefs.h"
#include "PreferencesManager.h"
#include "Timer.hpp"
namespace minesweeper
{
class Minesweeper
{
private:
MineMap m_mineMap;
int16_t m_mineMapMouseX;
in... | [
"jaccen2007@163.com"
] | jaccen2007@163.com |
e6bef3b562615b3e4b05c4a23175f937498b253a | 641fa8341d8c436ad24945bcbf8e7d7d1dd7dbb2 | /ash/common/system/tray/default_system_tray_delegate.h | 81a98211091ba25cffbaa2327d373bcbf22cd592 | [
"BSD-3-Clause"
] | permissive | massnetwork/mass-browser | 7de0dfc541cbac00ffa7308541394bac1e945b76 | 67526da9358734698c067b7775be491423884339 | refs/heads/master | 2022-12-07T09:01:31.027715 | 2017-01-19T14:29:18 | 2017-01-19T14:29:18 | 73,799,690 | 4 | 4 | BSD-3-Clause | 2022-11-26T11:53:23 | 2016-11-15T09:49:29 | null | UTF-8 | C++ | false | false | 1,340 | h | // 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.
#ifndef ASH_COMMON_SYSTEM_TRAY_DEFAULT_SYSTEM_TRAY_DELEGATE_H_
#define ASH_COMMON_SYSTEM_TRAY_DEFAULT_SYSTEM_TRAY_DELEGATE_H_
#include "ash/ash_export.h"... | [
"xElvis89x@gmail.com"
] | xElvis89x@gmail.com |
34494cc60ef686b0c1fc9bf2c3be097fb82e2af9 | 15c99b1509b58c63104510918b4802ec4b988730 | /CUADRADOcpp/main.cpp | 82912080844a701d9e141389445f9ea1f3579115 | [] | no_license | YolotzinDS/TRAZOSdeFigurasPorElALGORITMOdda_Ybresenhans_YOLOTZIN_DOMINGUEZ_SANTOS_3061.CPP | 261266652f52417e05cbc1bceef4ebfca85a960a | 296982eca16e77f6ff55fe528ed6ba008a1f8bde | refs/heads/master | 2023-05-09T16:55:57.706288 | 2021-05-29T19:45:37 | 2021-05-29T19:45:37 | null | 0 | 0 | null | null | null | null | ISO-8859-10 | C++ | false | false | 8,355 | cpp | #include <graphics.h>
#include <conio.h>
#include <windows.h>
#include <C:\Program Files (x86)\Dev-Cpp\include\GL\glut.h>
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <iostream>
#include <iomanip>
//#include "CuadradoDDA.cpp"
using namespace std;
//definimos la svariables parra usar elm algoritmo... | [
"yois.2018ds@gmail.com"
] | yois.2018ds@gmail.com |
5787d4be3a06ae3d36596213c20a1751e95a05ed | bd8f4b06c13779dd9fcadd0160514cc6948498bd | /Project16/GameObjectManager.h | e71474ae8414967e0f29fde55db9de44b57ff773 | [] | no_license | GP-R/Project16 | 35c0101d1fa74804b2dcb36dc7304c874ad7bb95 | 8dffd61679865454d21b412984577a7d83464502 | refs/heads/master | 2023-05-04T12:33:20.011960 | 2021-05-14T04:10:19 | 2021-05-14T04:10:19 | 363,035,796 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 675 | h | #pragma once
#include"GameObject.h"
class GameObjectManager {
int capacity;
GameObject** gos;
public:
GameObjectManager(int capacity)
:capacity(capacity), gos((GameObject**)malloc(sizeof(GameObject*)*capacity))
{
for (int i = 0; i < capacity; i++)
{
gos[i] = (GameObject*)nullptr;
}
}
~GameObjectMana... | [
"48301097+GP-R@users.noreply.github.com"
] | 48301097+GP-R@users.noreply.github.com |
ecbd09dc13d20695405db1b4e8395c47e82359a2 | 01b38268272a0af657a14a20b173b388f7da43bf | /Template/STL/PairSample.cpp | 328a9b00809eed6dda8eaa06a70cf9ab44c61dc5 | [] | no_license | hydai/UnlimitedDebugWorld | 02410d267153c68c952476fd930b28eb1986e899 | 222e8445e3639b4fdc4107ccdf77a14078a0af9f | refs/heads/master | 2020-04-10T01:38:36.647424 | 2013-05-20T06:03:14 | 2013-05-20T06:03:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 604 | cpp | #include <cstdio>
#include <utility> // pair, make_pair
#include <algorithm> // swap
int main(int argc, char *argv[])
{
std::pair <int, int> pt1(10, 6);
std::pair <int, int> pt2;
pt2 = std::make_pair(-8, -4);
std::printf("Initial\n");
std::printf("pt1(x, y) = (%d, %d)\n", pt1.first, pt1.second);
... | [
"z54981220@gmail.com"
] | z54981220@gmail.com |
d860cfe7625289fb616578b1c547c3d31bb0a7b7 | 5e02f9ca4b257c6bb034e89152d09ad8b9ae850a | /src/control_node.cpp | d016d3f2c4f2a4ea06abfe53be56cfd99f9d0b79 | [] | no_license | Dragonbt/fpv_onboard_computer | 36756dc07ec1181124fcab79f0ec48e6b7e964de | 8c25117aa0da565f88bc96a6038eac2c04deffec | refs/heads/master | 2020-09-08T12:05:29.595975 | 2019-11-11T17:15:38 | 2019-11-11T17:15:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,547 | cpp | #include "control_node.hpp"
void controlLoop( FileNode control_config, FileNode altitude_pid, FileNode vision_pid, FileNode flow_pid )
{
int enable;
string url;
control_config["ENABLE"] >> enable;
control_config["URL"] >> url;
if( enable == 0 )
{
cout << "[WARNING]: control node disabl... | [
"821869740@qq.com"
] | 821869740@qq.com |
0e4079fba1eb62ef07cf13ac62dda4760473d7ab | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5769900270288896_1/C++/Dyian/main.cpp | dcc632429f4c3527db3cf31f619adcdbc7e21b03 | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 12,256 | cpp |
#include <string.h>
#include <stdio.h>
#include <string.h>
#include <algorithm>
using namespace std;
int h[] = {26, 142 };
int main() {
freopen("B-large (1).in", "r", stdin);
freopen("B-large (1).out", "w", stdout);
int R,C,N;
int T,c = 0;
scanf("%d", &T);
while (T--) {
... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
bf11d143a68d4afb47c88d352fdf6e94c3da4f16 | 86ecc12c6ac9eb88f13cda2a82e9a8c37cccd2b8 | /processor/controller.cpp | 6661e33c24fbbc63544bc1e9ee6a053e49cf7957 | [] | no_license | moiri-usi/USI-systemC | b88b40aceff7f866d65b35f3623e0e7db4868378 | 4bdd07bb9d96a0d4a31edcec3e6bfe9ab86729f7 | refs/heads/master | 2021-01-10T19:19:36.549357 | 2013-11-29T17:08:11 | 2013-11-29T17:08:11 | 14,721,006 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 997 | cpp | #include <controller.h>
void Controller::control()
{
if (!reset_n.read())
{
sel_const.write(0);
sel_in_1.write(0);
sel_in_2.write(0);
sel_op.write(0);
we_n.write("1111");
s_sel_op_mem.write(0);
s_we_mem1_n.write("1111");
s_we_mem2_n.write("1111");
}
else
{
sel_in_1.write(static_cast< sc_b... | [
"moirelein@gmail.com"
] | moirelein@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.