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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c2f2461ca5f0a04058415f2bad5cd221842cb37a | d29a0980be128aa067d9bd9ebc8ce826256cb4f2 | /Collections/DequeQueue.h | 40702ad3d944c433dbef75469b54b3dbf7c12f6d | [] | no_license | sumitkumar1882/Problem-Solving-in-Data-Structures-and-Algorithms-using-Cpp | 471dc2a5d9e15e3e466b9328090e084b022059d1 | 8c3ffc61fd41428fb99b184f27d9ee37025df8c4 | refs/heads/master | 2020-05-17T15:56:43.440943 | 2018-04-02T09:42:56 | 2018-04-02T09:42:56 | 183,805,718 | 1 | 0 | null | 2019-04-27T18:01:54 | 2019-04-27T18:01:53 | null | UTF-8 | C++ | false | false | 440 | h | #pragma once
#include <string>
#include <vector>
#include <deque>
template<typename T>
class DequeQueue
{
private:
deque<T> que;
public:
virtual void enqueue(T obj)
{
que.add(obj);
}
virtual T dequeue()
{
return que.remove();
}
virtual T peek()
{
return que.peekFirst();
... | [
"hjain1011@gmail.com"
] | hjain1011@gmail.com |
1d024029f41c6de95ed4451e1dd03636eeb200c2 | b5a9d42f7ea5e26cd82b3be2b26c324d5da79ba1 | /tensorflow/lite/experimental/micro/examples/micro_speech/simple_features/yes_simple_features_data.cc | 5f1f723fc053b36200ddd36e088b8612f0d02b4e | [
"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 | 11,317 | cc | /* Copyright 2018 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 ... | [
"v-grniki@microsoft.com"
] | v-grniki@microsoft.com |
738750907fa648aeaeba7fa5d45564f9e7f8522f | 3ea34c23f90326359c3c64281680a7ee237ff0f2 | /Data/508/E | 458405b497e2b8daa460bff66deaf1c1d26fab0c | [] | no_license | lcnbr/EM | c6b90c02ba08422809e94882917c87ae81b501a2 | aec19cb6e07e6659786e92db0ccbe4f3d0b6c317 | refs/heads/master | 2023-04-28T20:25:40.955518 | 2020-02-16T23:14:07 | 2020-02-16T23:14:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 80,910 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | foam-extend: Open Source CFD |
| \\ / O peration | Version: 4.0 |
... | [
"huberlulu@gmail.com"
] | huberlulu@gmail.com | |
b096dc8e98facdcd33e4e996283da76b5b22703c | 87d1f9d88a204b2cf7748491aa4b10c909984966 | /include/openeaagles/basic/Cie.h | 1b7a3b69dab320e1d675c43d3d428530285ab578 | [] | no_license | yaroslav-tarasov/OpenEaagles | 2c9e683cdf9d191c07daf53e444a7aabb487dfcb | 8551df88bebab03a6cdaed8649cfed91d7f4ad19 | refs/heads/master | 2021-01-17T06:33:29.753917 | 2015-04-06T18:23:15 | 2015-04-06T18:23:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,589 | h | //------------------------------------------------------------------------------
// Classes: Cie, MonitorMetrics
//------------------------------------------------------------------------------
#ifndef __Eaagles_Basic_Cie_H__
#define __Eaagles_Basic_Cie_H__
#include "openeaagles/basic/Color.h"
#include "openeaa... | [
"doug@openeaagles.org"
] | doug@openeaagles.org |
2b0cb88613fe1bea2334877fa1bc721a54070d99 | 3c4f3817112d87df5c391ff74cc4f4414b1478f0 | /Panel.h | 76f570ebb75ee388a72ac17a0c344781ef629efd | [] | no_license | iistrate/AstroPlay | 6ecf0be0402fb303abd80858cd83ecd9823c2928 | 79d41092a479889c13d3a920ace6b8fa48840e0a | refs/heads/master | 2021-01-23T07:08:56.003407 | 2015-04-17T17:35:20 | 2015-04-17T17:35:20 | 16,562,864 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 876 | h | #ifndef PANEL_H
#define PANEL_H
#include <vector>
#include "Image.h"
#include "Button.h"
#include "Game.h"
using std::vector;
class Panel {
private:
//size
int m_vectorY;
int m_vectorX;
//position
int m_panelx;
int m_panely;
//flags
bool m_visible;
std::vector <Image *> m_Images;
std::vector <Button*> m... | [
"istrate_ioan_george@yahoo.com"
] | istrate_ioan_george@yahoo.com |
239457884bbbacb1fe9d350ef598df9cf8952561 | c5b583438a0219a74c271237f24a3bad18bc2519 | /problems/bzoj1720.cpp | 97a1a864a9af5b3e6f4d6b23292c3d95a7acae69 | [] | no_license | gaodechen/OI_History | 7b857cda868b5881735431a41de6fb42ea68b19f | 5abf087de374cd9866ec7b6902f3a2bae870bdd9 | refs/heads/master | 2022-04-22T19:27:15.534325 | 2020-04-23T16:36:33 | 2020-04-23T16:36:33 | 258,250,958 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,228 | cpp | #include <cstdio>
#include <cstring>
#include <iostream>
#include <algorithm>
#include <set>
#include <map>
#include <queue>
#include <vector>
#define set(p, k) memset(p, k, sizeof(p))
#define cpy(p, q) memcpy(p, q, sizeof(q))
#define rep(i, n) for(int i = 1; i <= ... | [
"gaodechen@live.cn"
] | gaodechen@live.cn |
1443532b3ec6fa2bf2ae1eb9c9acb53652cbd49b | 6fc57553a02b485ad20c6e9a65679cd71fa0a35d | /src/connectivity/wlan/lib/mlme/cpp/client/client_factory.cc | 29c8cd3d05f78110aa878e91a67c756dbd2dc4b1 | [
"BSD-3-Clause"
] | permissive | OpenTrustGroup/fuchsia | 2c782ac264054de1a121005b4417d782591fb4d8 | 647e593ea661b8bf98dcad2096e20e8950b24a97 | refs/heads/master | 2023-01-23T08:12:32.214842 | 2019-08-03T20:27:06 | 2019-08-03T20:27:06 | 178,452,475 | 1 | 1 | BSD-3-Clause | 2023-01-05T00:43:10 | 2019-03-29T17:53:42 | C++ | UTF-8 | C++ | false | false | 1,092 | cc | // Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <wlan/mlme/client/client_factory.h>
#include <wlan/mlme/mlme.h>
#include <wlan/mlme/timer.h>
#include <wlan/mlme/timer_manager.h>
namespace wlan ... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
30cbb7a4124ea4b4f496bc1446812a636231355f | 1267036ef6886dfa519291ef7217a87a6ad3a814 | /src/Model/Display.cpp | f6169f6d126af482edbbc672c7661f5bf5c462a6 | [
"MIT"
] | permissive | degva/tint3 | 6d485886cb0954c8eaecd7ad5a8479f4ccfc1f3c | ca01ebd0cf0497e83750ff8f8a39ada508b30571 | refs/heads/master | 2020-12-24T10:31:30.018200 | 2016-11-22T15:25:33 | 2016-11-22T15:25:33 | 73,147,694 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 995 | cpp | #include "Model/Display.h"
using namespace Model;
/**
* CDisplay constructor
*/
CDisplay::CDisplay( std::string name )
{
this->_display = XOpenDisplay( name.c_str() );
this->_default_screen = XDefaultScreen(this->_display);
// There should be a way to get the actual screen_number
this->_display_width = XDispl... | [
"degva.29@gmail.com"
] | degva.29@gmail.com |
bde6e2eae64309325e45cc06a3e1b7d075bb2b18 | 54c73dd6fd1445ab149f318711ff3666484f957f | /src/providers/SNIA_SpareConfigurationService/meth/main.cpp | 02a0efb1f1eaccddb1414bf93ebee8d04ff39213 | [
"MIT"
] | permissive | LegalizeAdulthood/cimple | 73063f0d5d646aa03b252038968de7a9c0ddbc3a | 5ec70784f2ee3e455a2258f82b07c0dacccb4093 | refs/heads/master | 2016-09-06T11:20:36.389814 | 2014-11-23T16:51:46 | 2014-11-24T18:12:40 | 25,265,255 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,798 | cpp | /*
**==============================================================================
**
** Copyright (c) 2003, 2004, 2005, 2006, Michael Brasher, Karl Schopmeyer
**
** Permission is hereby granted, free of charge, to any person obtaining a
** copy of this software and associated documentation files (the "Software"),
** ... | [
"legalize@xmission.com"
] | legalize@xmission.com |
f55b1df62378c4305a7e81e19c4dfead8202bc0c | 31589435071cbff4c5e95b357d8f3fa258f43269 | /PPTVForWin8/base_1.2.2/src/tools/framework_test/system/VariableNumber.cpp | e0b1012d0eb9c86cc88e05445ed4287de1132a97 | [] | no_license | huangyt/MyProjects | 8d94656f41f6fac9ae30f089230f7c4bfb5448ac | cd17f4b0092d19bc752d949737c6ed3a3ef00a86 | refs/heads/master | 2021-01-17T20:19:35.691882 | 2013-05-03T07:19:31 | 2013-05-03T07:19:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,804 | cpp | // VariableNumber.cpp
#include "tools/framework_test/Common.h"
#include <framework/system/VariableNumber.h>
using namespace framework::configure;
using namespace framework::system;
template <typename _Ty>
struct Define;
template <>
struct Define<boost::uint16_t>
{
static const boost::uint16_t min = 0;
stati... | [
"penneryu@outlook.com"
] | penneryu@outlook.com |
7d17f6d17932264ba28d9ac9d9d3a92117c8cd13 | 11dd8dafa301e7d261193410dc098dc2ea568d85 | /DS-ALGO/String/bfscatherdcatchspoj.cpp | 4251e7e3f843d3cbcd955b67e50ea2694dbdf122 | [] | no_license | shivanXI/DS-ALGO | 29b4de7069fa8e46b1e9112d9ac5e4db0e2ed072 | adfaa538d769c7bdb2f4b903707c6e7c4ae62f98 | refs/heads/master | 2021-07-04T16:23:06.109212 | 2017-09-27T12:50:45 | 2017-09-27T12:50:45 | 72,816,941 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 838 | cpp | #include <cstdio>
using namespace std;
#define MAX 1000
char grid[MAX][MAX+1];
int R, C, trap[MAX][MAX], count, last;
void floodfill(int i, int j)
{
if(i>=0 && j>=0 && i<R && j<C)
{
if(trap[i][j])
{
count = trap[i][j];
return;
}
trap[i][j] = count;
if(grid[i][j]=='W') floodfill(i, j-1);
else if(g... | [
"shivanstar7@gmail.com"
] | shivanstar7@gmail.com |
8d18f4684b662db54be29bf2ace42a63596371a2 | 18f607b5cad4d48de016182804468a7662af359b | /Arduino_Mega/UltraSonic/SabertoothPWM.cpp | 8ed50f98ed0c9d2da81e7023160a9d3a1ce747da | [] | no_license | redwingman1989/mr-bucket | 458a7004f76c3a4887721343cffa65505ee4169a | 7f46a702620d107da4f3329c118295f649988c7f | refs/heads/master | 2021-01-19T06:12:37.836868 | 2015-04-18T16:10:39 | 2015-04-18T16:10:39 | 34,933,495 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,181 | cpp | /*
SabertoothPWM motor controller driver
Implements the packetized PWM method of control
*/
#include <Arduino.h>
#include "SabertoothPWM.h"
#include "Servo.h"
const int startupDelay = 500;
//Local function
inline int pwmLimit(int command);
//Constructor
SabertoothPWM::SabertoothPWM()
{
this->motorOne = Servo();
... | [
"redwingman1989@gmail.com@732b1dac-6b5b-0bce-1585-7acf4e2957f0"
] | redwingman1989@gmail.com@732b1dac-6b5b-0bce-1585-7acf4e2957f0 |
1cebcf329452209078ec053775a84c64e8ec1405 | e6841a65c30e2ff468cf1e779559cbc03567cdb1 | /Praktikum GGI 2/Lösungen/Strassenverkehr (Freak-Lösung)/Aufgabenblock_3/Kreuzung.h | 05ad24263b656b585c1fb013811fcc7736b4bdcb | [] | no_license | karimbouaziz95/Praktikum2_Versuch | 51ceff8b20e28f1cb5fe13d0397bf75a59a56e84 | 092993f74a9faabbf3918ad5b1393c8b7c06f90f | refs/heads/main | 2023-08-23T04:53:36.152724 | 2021-10-17T16:20:01 | 2021-10-17T16:20:01 | 418,179,393 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 1,316 | h | #pragma once
#include "aktivesvo.h"
#include "Weg.h"
#include <list>
using namespace std;
class Weg;
class Fahrzeug;
class Kreuzung :
public AktivesVO
{
public:
// Konstruktoren:
Kreuzung(void);
Kreuzung(const string sName, const double dTankstelle = 0.0);
// Destruktor:
virtual ~Kreuzung(void);
// Abfertigu... | [
"kimou007@live.fr"
] | kimou007@live.fr |
7ee2490dd864830db3dc23af22d52f0dec8835e4 | efc725d374a161d4336bf81995ca0beab0c46201 | /08.15-designatedInitializersAndFunctionParameters1/main.cpp | 37e1b0f1acd0c01176fc27c1d4311800e4aaf0ce | [
"MIT"
] | permissive | curtkim/programming-with-cpp20 | 1f82593f9f54c6c11b32a8e78ef1f1c93a969c19 | 7f2e4441e3ea550a9177499b0805481efc23685d | refs/heads/main | 2023-05-07T16:06:16.974836 | 2021-05-28T05:13:26 | 2021-05-28T05:13:26 | 371,586,693 | 0 | 0 | MIT | 2021-05-28T05:11:15 | 2021-05-28T05:11:15 | null | UTF-8 | C++ | false | false | 357 | cpp | // Copyright (c) Andreas Fertig.
// SPDX-License-Identifier: MIT
struct FileAccessParameters {
bool open;
bool close;
bool readonly;
};
void FileAccess(const FileAccessParameters& params);
void FileAccess(const FileAccessParameters& params) {}
void Use()
{
FileAccess({.open = true, .close = false, .readonly... | [
"andy@cppinsights.io"
] | andy@cppinsights.io |
9207d3fa74b8b2222dedf9f4e6000ce8132ac061 | 69bdb428b9706440e870028bc59a6b1138c668d8 | /TLE-Book/Graph/shortest_path.cpp | 1f9cd7b4b00ca48e8f5d02539d824f3193e1b8cb | [] | no_license | knakajima3027/Algorithm | f35358f3e7cafc877b7b2e51c16da8b5c3f5fd12 | 0476664a6c5289d06cde2be8316e350e4abdf1cc | refs/heads/master | 2020-03-26T18:09:54.634941 | 2019-03-10T10:38:06 | 2019-03-10T10:38:06 | 145,199,328 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 855 | cpp | #include<iostream>
using namespace std;
static const int MAX = 100;
static const int INFTY = (1 << 21);
static const int WHIFE = 0;
static const int GRAY = 1;
static const int BlACK = 2;
int n;
int G[MAX][MAX];
void djkstra() {
int minv;
int d[MAX:, color[MAX];
for (int i = 0; i < n; i++) {
d[i] = INFTY;
... | [
"kamihate1012@gmail.com"
] | kamihate1012@gmail.com |
287a3f3ccca6f7f4cd5c1d9fcaf18e7585156003 | 8f2cfb4fc2bd40a7f1ca8703738533b8b8162ff1 | /Source/InnoClient/Widgets/Slate/SInnoCardPlaceholder.cpp | 3183367ba95a84b0c6e00c64e4b1ef0eb6152ec7 | [] | no_license | Zheneq/InnoClient | 82c826bc5d5fd64e263f933e86167cb097616958 | 3bdbc18717a6de28e7651bb06d45bb80557acc55 | refs/heads/master | 2021-01-24T00:32:42.649954 | 2018-11-19T16:15:37 | 2018-11-19T16:15:37 | 122,769,267 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 889 | cpp | // Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#include "SInnoCardPlaceholder.h"
#include "SlateBasics.h"
// BEGIN_SLATE_FUNCTION_BUILD_OPTIMIZATION // disables compiler optimization (optimizing complex widgets is a chore for the compiler)
void SInnoCardPlaceholder::Construct(const FArguments& InArgs)
{... | [
"zqpedan@gmail.com"
] | zqpedan@gmail.com |
9ba78545fbf938e69bb74c72196890af3d8775cb | 7d617a0f842b8863a331fa733e73911a5c55ee1f | /src/tp1/lib/parseo.cpp | 364792f29349c53536bb1f9d90d54c5dd8926d8c | [] | no_license | joelcamera/metnum-tp1 | 58c667f53b7da509f02dc09555935209a55d47e8 | 28d1deabdeccd85a7b3541eb37cac30d5430fc82 | refs/heads/master | 2021-08-07T09:26:02.386183 | 2017-11-07T23:43:35 | 2017-11-07T23:43:35 | 109,903,482 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,735 | cpp | #include "tipos.h"
#include "parseo.h"
void levantarDatos(int cantPartidos, vector<Partido>& partidos, map<int, Equipo>& equipos){
int idxeq = 0;
for(int i = 0; i < cantPartidos; i++){
Partido p;
cin >> p.fecha;
cin >> p.equipo1;
cin >> p.goles1;
cin >> p.equipo2;
... | [
"joel.e.camera@gmail.com"
] | joel.e.camera@gmail.com |
476f6941162c08deac94c0b6912a44fd8a38e90b | f0b7bcc41298354b471a72a7eeafe349aa8655bf | /codebase/apps/ingest/src/QPESumBinary2Mdv/QPESumBinary2Mdv.cc | 7ebcb45db908ae1e170b2a987b97e5520c6324ce | [
"BSD-3-Clause"
] | permissive | NCAR/lrose-core | 23abeb4e4f1b287725dc659fb566a293aba70069 | be0d059240ca442883ae2993b6aa112011755688 | refs/heads/master | 2023-09-01T04:01:36.030960 | 2023-08-25T00:41:16 | 2023-08-25T00:41:16 | 51,408,988 | 90 | 53 | NOASSERTION | 2023-08-18T21:59:40 | 2016-02-09T23:36:25 | C++ | UTF-8 | C++ | false | false | 21,558 | cc | // *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
// ** Copyright UCAR (c) 1990 - 2016
// ** University Corporation for Atmospheric Research (UCAR)
// ** National Center for Atmospheric Research (NCAR)
// ** Bo... | [
"dixon@ucar.edu"
] | dixon@ucar.edu |
801661780c5b37486383c6f4fa88d78680524017 | df1a11006fe2a398e28f4ba08bb57d53fb882c32 | /AssetHandler/AssetHandler/AssetHandler.cpp | 9b41bf863e9d174950f2c42bf940ab88540797c0 | [] | no_license | JackKeogh/AssetHandler | 499f3d8efbd78fdaf69bbb2f443bcc8084e44e5e | de9f4f1b6868b6d6a821768b9ca6b86bcde98861 | refs/heads/master | 2020-04-05T02:05:20.448329 | 2019-01-22T19:04:59 | 2019-01-22T19:04:59 | 156,463,153 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,734 | cpp | #include "AssetHandler.h"
AssetHandler * AssetHandler::m_instance = 0;
void AssetHandler::addTexture(string tag, string filepath, SDL_Renderer * renderer)
{
if (!IMG_Load(filepath.c_str()))
{
cout << IMG_GetError << " Failed to load texture." << endl;
}
else
{
m_textures[tag] = IMG_LoadTexture(renderer, file... | [
"keeeogh@gmail.com"
] | keeeogh@gmail.com |
06ab98aa773115ec3d31bbc6e8911c47ff1b7422 | 6a70b63a2daac5b3cc8fa65b7429c6bd28b16479 | /Assignments/Codes/MatVec/ComplexRoot/complexroot.cpp | 3fc821d83a09a4620814eb3bdf7e428af4777d24 | [] | no_license | mpoullet/NumCSE | 790120fc36643f8f201c9bcfbe7ca7a8e9f66e69 | b03bb0e750c0040329a2df289284a2d680b8e432 | refs/heads/master | 2020-03-30T04:12:25.445889 | 2018-06-15T18:21:34 | 2018-06-15T18:22:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,559 | cpp | #include <iostream>
#include <complex>
#include <cmath>
//! \brief Compute complex root
//! \param[in] w complex number with non negative imaginary parts
//! \return the square root of w with non negative real and imaginary parts
/* SAM_LISTING_BEGIN_1 */
std::complex<double> myroot( std::complex<double> w ) {
#if SOL... | [
"filippo.leonardi@sam.math.ethz.ch"
] | filippo.leonardi@sam.math.ethz.ch |
f8e829c2b212ec60d968c77bf4564751f587d637 | cb2fcab839dec49351c3e6f1ddfe80675895b826 | /euler064.cpp | f2d27b3e705be2bb3de4baf1c95a98ae995acb07 | [
"MIT"
] | permissive | suihan74/ProjectEuler | a61ddeb6713b107247cdb97e07a53587292d3093 | 0ccd2470206a606700ab5c2a7162b2a3d3de2f8d | refs/heads/master | 2020-06-10T00:31:18.943998 | 2020-02-12T15:36:51 | 2020-02-12T15:36:51 | 76,121,352 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,257 | cpp | /**
* Problem 64 「奇数周期の平方根」
* 平方根は連分数の形で表したときに周期的であり, 以下の形で書ける:
*
* √N = a0 + 1 / (a1 + 1 / (a2 + 1 / (a3 + ...)))
*
* 例えば, √23を考えよう.
*
* √23 = 4 + √23 - 4 = 4 + 1 / (1 / (√23 - 4)) = 4 + 1 / (1 + (√23 - 3) / 7)
*
* となる.
*
* この操作を続けていくと,
*
* √23 = 4 + 1 / (1 + 1 / (3 + 1 / (1 + 1 / (8 + ...))))
*
* を得る.... | [
"suihan742@gmail.com"
] | suihan742@gmail.com |
ea1cef1febd7e36bb7926747cdb3f201c9059f25 | f879434ededbe74c92b19cdc0cc0294c3be27f0f | /extern/glslang/glslang/MachineIndependent/preprocessor/PpTokens.cpp | 52343b7c1964fcb6e41f1bd755ba5c220468a919 | [] | no_license | byhj/byhj-Render | 7bd0cea526286624f609fff15b07b79f9f09aadf | 5ca2746eabc952c8cff8e552d429cda880460db0 | refs/heads/master | 2021-01-21T04:42:10.246612 | 2016-07-02T06:23:00 | 2016-07-02T06:23:00 | 49,644,368 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 8,765 | cpp | //
//Copyright (C) 2002-2005 3Dlabs Inc. Ltd.
//Copyright (C) 2013 LunarG, Inc.
//All rights reserved.
//
//Redistribution and use in source and binary forms, with or without
//modification, are permitted provided that the following conditions
//are met:
//
// Redistributions of source code must retain the above co... | [
"476652422@qq.com"
] | 476652422@qq.com |
8b3cbf424ed69bdad895f6fdfc8a9be1fb4e8dc2 | 7d8c806c571b3cffba198a1d2e02a4d8dd384bf8 | /MFC/day09/codes/day09/Sdi/SdiDoc.h | 777686cc1a7122b12b2f914d81745e4768129107 | [] | no_license | qqworker/Cplusplus | a364b75fe950894d3c2373e18bade37b5bf9fe7a | 4742be55b215aca741eb7226b9ff6b42ccd3c4df | refs/heads/master | 2023-04-09T14:19:41.844095 | 2020-12-14T03:39:13 | 2020-12-14T03:39:13 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 827 | h |
// SdiDoc.h : CSdiDoc 类的接口
//
#pragma once
class CSdiDoc : public CDocument
{
protected: // 仅从序列化创建
CSdiDoc();
DECLARE_DYNCREATE(CSdiDoc)
// 特性
public:
// 操作
public:
// 重写
public:
virtual BOOL OnNewDocument();
virtual void Serialize(CArchive& ar);
#ifdef SHARED_HANDLERS
virtual void InitializeSearchContent... | [
"874319327@qq.com"
] | 874319327@qq.com |
b31c71c922a4c0084ddf2cdd91700ec85e67dedf | 5cf90b2be2f265e7f02144192dba4a26cef15756 | /skia/src/gpu/gl/GrGLAssembleInterface.cpp | 5823bf3b19b2fcccb671670cf9a796f37c48a592 | [
"BSD-3-Clause",
"MIT"
] | permissive | jiangkang/renderer-dog | b73f1d1d0d5d61ea9a5da81983eeb536d6d791da | 8081732e2b4dbdb97c8d1f5e23f9e52c6362ff85 | refs/heads/master | 2021-07-07T21:49:57.293616 | 2020-09-13T16:31:34 | 2020-09-13T16:31:34 | 174,357,799 | 0 | 0 | MIT | 2020-09-13T11:08:16 | 2019-03-07T14:18:53 | C++ | UTF-8 | C++ | false | false | 1,182 | cpp | /*
* Copyright 2014 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "gl/GrGLAssembleInterface.h"
#include "gl/GrGLAssembleHelpers.h"
#include "gl/GrGLUtil.h"
#define GET_PROC_LOCAL(F) GrGL##F##Fn* F = (GrGL##F##Fn*)get(ctx, "gl" #F)... | [
"jiangkang0504@163.com"
] | jiangkang0504@163.com |
d105853eb6e772524f81132c7578fd5de92da94d | cefd6c17774b5c94240d57adccef57d9bba4a2e9 | /WebKit/Source/WebKit2/UIProcess/cairo/BackingStoreCairo.cpp | 6aa00b64753256339d202d270964f45721643d97 | [
"BSL-1.0"
] | permissive | adzhou/oragle | 9c054c25b24ff0a65cb9639bafd02aac2bcdce8b | 5442d418b87d0da161429ffa5cb83777e9b38e4d | refs/heads/master | 2022-11-01T05:04:59.368831 | 2014-03-12T15:50:08 | 2014-03-12T15:50:08 | 17,238,063 | 0 | 1 | BSL-1.0 | 2022-10-18T04:23:53 | 2014-02-27T05:39:44 | C++ | UTF-8 | C++ | false | false | 3,847 | cpp | /*
* Copyright (C) 2011 Apple Inc. All rights reserved.
* Copyright (C) 2011 Igalia S.L.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* ... | [
"adzhou@hp.com"
] | adzhou@hp.com |
02b2ae27369c0a7d0e766529189dfcdd9bfa41fe | e840f15e3191b01f33e36e863d98e42f52094c9f | /src/app/srs_app_config.hpp | 2baa02db3724038ba981940a8c1a6255ab1082e8 | [] | no_license | Charlyhash/SRSReadSource | 1f774bd79f17b7385bc43a3fce4bb0397e024e2d | 2732bbe416b66718e76b8037383c5569809281e1 | refs/heads/master | 2020-04-05T10:37:56.141121 | 2018-11-29T09:44:20 | 2018-11-29T09:44:20 | 156,805,143 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 39,338 | hpp | /*
The MIT License (MIT)
Copyright (c) 2013-2015 SRS(ossrs)
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, merg... | [
"yankescut@qq.com"
] | yankescut@qq.com |
67a0a92ca085f811abeb087ff5dc2c36fc55eee0 | 17e6221c1868a438d1b6c418768af71887dba5e7 | /src/Source/Render2dPart_allcam.cpp | ac270a5d8189b843776075c17ab92016e1e08d1d | [
"MIT"
] | permissive | lasinger/3d-fluid-flow | 1c5569ae1d4e3eb6749c1fcd9f98f61be2d7656c | f8c22ad33db45cfcd3716f72d3f115a94e766285 | refs/heads/master | 2022-12-19T10:21:07.808915 | 2020-09-07T09:31:59 | 2020-09-07T09:31:59 | 293,482,486 | 8 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 4,764 | cpp | /*
Copyright (c) 2020 ETH Zurich
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, subl... | [
"katrin.lasinger@geod.baug.ethz.ch"
] | katrin.lasinger@geod.baug.ethz.ch |
e06a238a552f97cafd77b8f8b7037a92e1109710 | 0e4ca669672bc3e82811f234d189f24b5787672a | /src/zgiftracker.h | 8684124728feb3b16d364bcd8736678d6aa37484 | [
"MIT"
] | permissive | TGIF-CoinVest/GIFGlobal | d774f175bacaf8456d576b7825a72d14dcbe9598 | 12dc6a83542db46e1e5c7e3e8af1c478150dbb0f | refs/heads/master | 2020-05-03T23:47:08.841572 | 2019-04-01T13:44:33 | 2019-04-01T13:44:33 | 178,555,298 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,152 | h | // Copyright (c) 2018 The PIVX developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef TGIFGLOBAL_ZGIFTRACKER_H
#define TGIFGLOBAL_ZGIFTRACKER_H
#include "primitives/zerocoin.h"
#include <list>
class CDeterministicM... | [
"root@expvps.tgifglobal1.net"
] | root@expvps.tgifglobal1.net |
4b163f904f046e6e06b4035fcc4375a6dab557b3 | 43523509ac3324883943b52c7d3e0e92cc46ef70 | /renderer/modules/presentation/presentation_availability.cc | 6f174172d0a21dd8cc45e058a6768704ef317c12 | [] | no_license | JDenghui/blink | d935ab9a906c9f95c890549b254b4dec80d93765 | 6732fc88d110451aebda75b8822ba5d9b4f9de04 | refs/heads/master | 2020-03-23T15:55:33.238563 | 2018-07-21T05:26:31 | 2018-07-21T05:26:31 | 141,783,126 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,391 | cc | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "third_party/blink/renderer/modules/presentation/presentation_availability.h"
#include "third_party/blink/public/mojom/page/page_visibility_stat... | [
"Denghui_Jia@Dell.com"
] | Denghui_Jia@Dell.com |
8064738d125cea13040c55283d5c3fa7141e26dc | ac3281345cb13c00e0150b4cfde5a6fffa3d0e0b | /src/Magnum/GL/GL.h | a714e33fd1525c7a42e177e34193466a32a1e763 | [
"MIT"
] | permissive | mosra/magnum | dc2fc08d634dceaf454c0b8190d2ebd530bb8fa9 | c9a2752545aa2aa8b7db4879834d3998c6cac655 | refs/heads/master | 2023-09-03T21:02:39.001932 | 2023-09-03T13:49:25 | 2023-09-03T16:07:04 | 1,182,756 | 4,747 | 535 | NOASSERTION | 2023-07-23T07:36:34 | 2010-12-19T22:19:59 | C++ | UTF-8 | C++ | false | false | 5,436 | h | #ifndef Magnum_GL_h
#define Magnum_GL_h
/*
This file is part of Magnum.
Copyright © 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019,
2020, 2021, 2022, 2023 Vladimír Vondruš <mosra@centrum.cz>
Permission is hereby granted, free of charge, to any person obtaining a
copy of thi... | [
"mosra@centrum.cz"
] | mosra@centrum.cz |
fe68d53a5c4b3c07a98d691d6c26491ddc7a8198 | 96e7347db30d3ae35f2df119a18472cf5b251fa2 | /Classes/Native/AssemblyU2DCSharpU2Dfirstpass_U3CPrivateImplementa1486305137.h | 6f134f0721120c84220e5e61b1566d1144ee0542 | [] | no_license | Henry0285/abcwriting | 04b111887489d9255fd2697a4ea8d9971dc17d89 | ed2e4da72fbbad85d9e0e9d912e73ddd33bc91ec | refs/heads/master | 2021-01-20T14:16:48.025648 | 2017-05-08T06:00:06 | 2017-05-08T06:00:06 | 90,583,162 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,359 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "mscorlib_System_Object707969140.h"
#include "AssemblyU2DCSharpU2Dfirstpass_U3CPrivateImplementa3753532211.h"
#ifdef __clang__
#pragma clang diagnostic push
#... | [
"phamnguyentruc@yahoo.com"
] | phamnguyentruc@yahoo.com |
3b45a85997c9829129978249f0c8f19937d501b6 | 76ef5f1a36a0d401295db2b7d766eb44c6088f82 | /middleware/multicore/erpc/erpcgen/src/types/DataType.h | cced18adff367fd28638b2c41a9e03cf915028c2 | [
"BSD-3-Clause"
] | permissive | mhcchang/SDK_2.6.0_FRDM-K64F | e93273790a4fcbfdd195d0dd66801fbb526e8493 | 35d9979b7e2010a2e89149c2fc5d453f7982b9b0 | refs/heads/master | 2023-03-17T00:40:54.436065 | 2019-10-12T08:15:49 | 2019-10-12T08:15:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,398 | h | /*
* Copyright (c) 2014, Freescale Semiconductor, Inc.
* Copyright 2016 NXP
* All rights reserved.
*
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef _EMBEDDED_RPC__DATATYPE_H_
#define _EMBEDDED_RPC__DATATYPE_H_
#include "Symbol.h"
#include <string>
/////////////////////////////////////////... | [
"gylpm@163.com"
] | gylpm@163.com |
bd957ee98118019946d886494217350d1aea78e8 | f8699c3b4476df654e79d728a3eccae2ed345fec | /1 Semesters/1/Programming fundamentals/1Non Graphical/9Tests/mohtalif fn.cpp | 681e153bc0f3df983528df07563f89aa5d3ad71b | [] | no_license | pseudo-usama/my-undergrad-coding | 91e6953b4ef4382badf620fa944a11aa8d3810b5 | 1d54c09da5540581b00029c49a9ccb84c24a4cf7 | refs/heads/master | 2023-08-30T08:45:32.571317 | 2021-10-08T06:20:41 | 2021-10-08T06:20:41 | 374,524,915 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 153 | cpp | // mohtalif fn.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
int _tmain(int argc, _TCHAR* argv[])
{
return 0;
}
| [
"Pseudo.Developers@gmail.ccom"
] | Pseudo.Developers@gmail.ccom |
07b142d2138538d22b3c473c2e0e6538542a0050 | e23b615c5799ea08d5489622d2d658435736e7ac | /Source/DroneControllerModule/Private/DroneControllerModule.cpp | b32c6ab3c81929ac4bee8262a1f9cb773a1e5610 | [] | no_license | KrisKlip/DSUE_GG | 52a14e72a5a5e644cdff56138e0f01446cac1cd3 | 1bd1a879d23f4fd700efc323f5917941592a8fa4 | refs/heads/master | 2021-06-11T13:30:23.835780 | 2021-03-16T06:04:09 | 2021-03-16T06:04:09 | 147,393,830 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 648 | cpp | #include "DroneControllerModule.h"
#include "DroneController.h"
DEFINE_LOG_CATEGORY(DroneControllerModule);
#define LOCTEXT_NAMESPACE "FDroneControllerModule"
void FDroneControllerModule::StartupModule()
{
IInputDeviceModule::StartupModule();
FDroneController::PreInit();
}
TSharedPtr< class IInputDevice > FDron... | [
"dadubinin@gmail.com"
] | dadubinin@gmail.com |
c494c866c0dd3f8e678439cc0493a7e704c9ed36 | e6062564a0f0b2bca8d2aca24dc9d5c9071adcac | /Array/chocolate-distribution-problem.cpp | 580e9cd3105c8ac090ad744f36656b29429009ee | [] | no_license | iShubhamRana/DSA-Prep | 22e29b85a8ee7dc278c0d89c62dcb33f29b99699 | 611d1a3fb824cce2fab051194bd5f7d0eee83f05 | refs/heads/main | 2023-06-25T06:59:45.599109 | 2021-07-27T18:30:18 | 2021-07-27T18:30:18 | 418,046,414 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 633 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
int minDiff(vector<int> A, int n, int m)
{
int minDiff = INT_MAX;
sort(A.begin(), A.end());
for (int i = 0; i + m - 1 < n; i++)
minDiff = min(minDiff, A[i + m - 1] - A[i]);
return minDiff;
}
int main()
{
int T;... | [
"sakshamkapoor1729@gmail.com"
] | sakshamkapoor1729@gmail.com |
561ffed6885d864f76c7809a4bafb1002e091d3a | e76ea38dbe5774fccaf14e1a0090d9275cdaee08 | /src/chrome/service/service_utility_process_host.cc | d3b0aa6e0231365d719b005bd9d96bf909390011 | [
"BSD-3-Clause"
] | permissive | eurogiciel-oss/Tizen_Crosswalk | efc424807a5434df1d5c9e8ed51364974643707d | a68aed6e29bd157c95564e7af2e3a26191813e51 | refs/heads/master | 2021-01-18T19:19:04.527505 | 2014-02-06T13:43:21 | 2014-02-06T13:43:21 | 16,070,101 | 1 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 12,454 | cc | // Copyright (c) 2012 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/service/service_utility_process_host.h"
#include "base/bind.h"
#include "base/command_line.h"
#include "base/file_util.h"
#include "... | [
"ronan@fridu.net"
] | ronan@fridu.net |
ce06b9a4598dcfdc57dfb97336386a558c6d9ba4 | 80a9e4b4f8f64a261d7afe08f26be14e75be4779 | /Assn4/Project File/Assn1/GameManager.cpp | ed5ee22cdfa7af98b21437e5944ff18674d99c63 | [] | no_license | P17seongbin/Graphics_Assn | 46cdfa40c091b38c774e69e5775beb2d9d1a663f | 5e137c58bd177cfbd7be5233722b4e9980c95ac7 | refs/heads/master | 2020-04-26T05:05:40.857053 | 2019-05-12T14:47:11 | 2019-05-12T14:47:11 | 173,322,690 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 6,104 | cpp | #include "GameManager.h"
#include "Ball.h"
#include "AIPlayer.h"
#include "Player.h"
#include<GL/glut.h>
#define LIGHTHEIGHT 3
void GameManager::Terminate_Game()
{
//Restart
Score1 = 0;
Score2 = 0;
winner = 0;
}
void GameManager::Ball_Replace(IObject* Ball)
{
float speed = 1;
Ball->setPos(glm::vec3(0, 0, 0));
... | [
"sungbin0515@postech.ac.kr"
] | sungbin0515@postech.ac.kr |
6994e4eecf58375f130970fb3252d735970ba6ec | 52b28b80e514bccd0e9506a2a9b83adbb83320ad | /WPFLib/include/AVUIDoubleAnimation.h | 06d5b380cc8283ecc5ce83d82af3d136671dd0d9 | [] | no_license | RobinKa/wpfg | 8bb3e9e433bc7d3deae888189cf7961d8fc27023 | 0986c0cb277d55d7ddb50401f167abf9740e90d9 | refs/heads/master | 2023-01-03T02:54:09.452491 | 2020-10-26T18:50:11 | 2020-10-26T18:50:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 871 | h | #include <AVUITAnimation.h>
namespace AVUI {
class DoubleAnimation : public TValueAnimation<float>
{
public:
DoubleAnimation();
DoubleAnimation(float fromValue, float toValue, const Duration& duration, FillBehavior::Enum fillBehavior);
DECLARE_ELEMENT(DoubleAnimation, AnimationTimeline);
IMPLEMENT_V... | [
"kevin.waldock@gmail.com"
] | kevin.waldock@gmail.com |
ba0002f9ace030fdd7045cfb1d77e819454268a8 | db366a158ca2d355c49a403876257d7faec74a1c | /workspace.cpp | 48abb84d5b490fc0719314b27cf43c65759dd524 | [
"MIT"
] | permissive | Dugy/workspace | 902d324d13f7151d201097684258fd633d772675 | 54c16dee49a32ddde028566d5593cb5fe7767dff | refs/heads/master | 2020-06-21T02:36:42.938205 | 2019-07-17T09:39:01 | 2019-07-17T09:39:01 | 197,324,662 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,329 | cpp | #include "workspace.h"
#include <QMenuBar>
#include <QMenu>
#include <QAction>
#include <QSplitter>
#include <QVBoxLayout>
#include <QPushButton>
#include <iostream>
WorkspaceContent::WorkspaceContent(Workspace* parentWorkspace) : QWidget(parentWorkspace), parentWorkspace_(parentWorkspace) {
}
void WorkspaceContent:... | [
"jan.dugacek@gmail.com"
] | jan.dugacek@gmail.com |
217ba55d6c7581f63a9c5e4150b27ed6eec1d9f1 | 74634984fab1e560344f33af1cf558e55863c4a8 | /simple_server/Utility/utility.h | ab0de56043276e94150daaf0904b0d2dfd2b4650 | [] | no_license | philomuzzi/dogfood | f50a27cab488475bdb0e67e16e1f4d7abe823e98 | bbd0126b8dd1126fd1ae4b4488186c2e247122bd | refs/heads/master | 2020-12-24T23:54:24.091476 | 2016-01-14T11:59:51 | 2016-01-14T11:59:51 | 42,975,844 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,366 | h | #pragma once
#include <random>
#include <chrono>
#include "define.h"
#ifndef ConstructMsgMacro
#define ConstructMsgMacro(msgid, msg) \
char msg##__[Max_UserDataSize + 2] = {0}; \
assert(msg.SerializePartialToArray(msg##__, sizeof(msg##__))); \
int msg##_size__ = (msgid << 16) | msg.ByteSize();
#endif
#ifndef Seri... | [
"gxlee1986@gmail.com"
] | gxlee1986@gmail.com |
8fb266ceb6bcc77c7f14280d64c81b3a7c5ae300 | 81eb799f47f209071a9637b3fe060add6c1a2867 | /client/src/Classes/Common/Storage/XMLStorage.h | 3243a5d7d48925a9ccd3ff01f8d779e069c36854 | [] | no_license | reneklacan/bomber | 2099298c8cd8cb0b693a0f8d3f81f8ae1ed33ce9 | 37f94f908e6897aaed9895ec2e39eb14e57ec175 | refs/heads/master | 2020-04-14T02:35:28.571437 | 2014-02-25T02:39:47 | 2014-02-25T02:39:47 | 10,246,933 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 942 | h | #ifndef __BOMBER_COMMON_XML_STORAGE
#define __BOMBER_COMMON_XML_STORAGE
#include "cocos2d.h"
namespace Bomber
{
namespace Common
{
class XMLStorage
{
public:
static XMLStorage *getInstance();
void set(std::string key, std::string value);
... | [
"rene.klacan@gmail.com"
] | rene.klacan@gmail.com |
b16e782d3083536bcf790aac11b9a6b8d72c4c63 | 73ffd06d1b6fb0bf8e1082b07c1312b6e81b8f68 | /codebase/rbf/rbftest14.cc | db1aeafefdc288ec69cfb594af682fba4e44df30 | [] | no_license | fengxuefensse/CS222FORGF | ccd534cd3bd592341ea9aa5ebea3ed835d0ffd57 | d8b57443a86cfe98b0025b5704a1e541b4bf38ec | refs/heads/master | 2016-09-10T10:12:17.011283 | 2014-12-17T07:36:45 | 2014-12-17T07:36:45 | 28,123,200 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 14,676 | cc | #include <iostream>
#include <fstream>
#include <string>
#include <cassert>
#include <sys/stat.h>
#include <stdlib.h>
#include <string.h>
#include <stdexcept>
#include <stdio.h>
#include "pfm.h"
#include "rbfm.h"
using namespace std;
const int success = 0;
unsigned total = 0;
// Check if a file exists
bool FileEx... | [
"fengxuefensse@sina.com"
] | fengxuefensse@sina.com |
b51d10f6eeabdd7824e329db469ca2750049a79a | a32d93a144ca34ebaba8ccffa60efb1bb38c9252 | /c++/magic-wrapper/MagicWrapper.h | 550520e7054c1a7cd3e050a3a3e55cd881e48498 | [] | no_license | filipenf/snippets | e798eeb1225893c866008b08c72de0d12b52ab0a | d4d8844690588775659a61d1d561dec0291bdf3d | refs/heads/master | 2020-06-08T17:04:37.264365 | 2014-10-17T13:55:58 | 2014-10-17T13:55:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 320 | h | #ifndef __MAGIC_WRAPPER_CPP
#define __MAGIC_WRAPPER_CPP
#include <magic.h>
#include <string>
#include <stdexcept>
class Magic {
public:
Magic();
~Magic();
std::string getFileType(const std::string&);
private:
magic_t cookie;
};
typedef std::runtime_error MagicError;
#endif /// __MAGIC_WRAPPER_CPP
| [
"filipenf@gmail.com"
] | filipenf@gmail.com |
b78c14ad03b4dff0b8dd099cee15867529784a2e | 0c0cb7569447b45da05deffe3fb429f966070881 | /Source/PVR/SDK_3.4/Examples/Advanced/ParticleSystem/OGLES3/Content/FloorFragShader.cpp | c49309e5bf04fd952251ccced903dd55e76162d5 | [] | no_license | njligames/GameEngine | 6bff1ce1e48f47ccb79f03d49501683c97e4bbf6 | c0193fd5877afec246915f406c4c66d19e028f3c | refs/heads/master | 2021-01-22T14:39:09.697529 | 2017-01-23T05:18:09 | 2017-01-23T05:18:09 | 68,660,880 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,019 | cpp | // This file was created by Filewrap 1.2
// Little endian mode
// DO NOT EDIT
#include "../PVRTMemoryFileSystem.h"
// using 32 bit to guarantee alignment.
#ifndef A32BIT
#define A32BIT static const unsigned int
#endif
// ******** Start: FloorFragShader.fsh ********
// File data
static const char _Flo... | [
"jamesfolk1@gmail.com"
] | jamesfolk1@gmail.com |
69157b0132370dcfb78720d1e4f6c2253f69ce6c | 3da0b0276bc8c3d7d1bcdbabfb0e763a38d3a24c | /zju.finished/2401.cpp | 72e64917a6edf75431c3165485a3f75d9166273c | [] | no_license | usherfu/zoj | 4af6de9798bcb0ffa9dbb7f773b903f630e06617 | 8bb41d209b54292d6f596c5be55babd781610a52 | refs/heads/master | 2021-05-28T11:21:55.965737 | 2009-12-15T07:58:33 | 2009-12-15T07:58:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 930 | cpp | #include<iostream>
#include<map>
using namespace std;
map<int,int> table;
char firststr[204];
char secondstr[204];
char compound[408];
int fun(int i, int j , int k){
if(compound[k] ==0)
return 1;
int key = (i<<16) + (j<<8) + k;
if(table.find(key) != table.end())
return table[key];
... | [
"zhouweikuan@gmail.com"
] | zhouweikuan@gmail.com |
bfd42abdbf3d6b55b0071d4f7c78acb0bf874350 | 7f2721809447fd5233ffb94afd0512f7afb02419 | /code/main/Game.h | 2990abd05596da73f0b54229bcbc0ef9bfb6035c | [] | no_license | youlanhai/game-tyj | 389af4af4990074bda826e8bdc5716563d1d748e | 2ca98d25673a2ce632f72ae36c3b395692e9e952 | refs/heads/master | 2022-04-03T16:01:51.958190 | 2019-07-22T16:33:31 | 2019-07-22T16:33:31 | 105,855,104 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,469 | h | //Game.h
#pragma once
#include <Windows.h>
#include "../engine/LZ3DEngine/App.h"
class C2DFace;
class ProgressBar;
class cPyScript;
class CCursorCamera;
class cFpsRender;
class CSceneFog;
//游戏类
class CGame :public CApp
{
public:
CGame();
~CGame();
/*注册窗口类消息。请实现该消息来修改窗口风格。*/
void onRegisterClass(WNDCLASSE... | [
"you_lan_hai@foxmail.com"
] | you_lan_hai@foxmail.com |
6412466f0533b59bd71a1236f8597ec21a0764e3 | f15d6c870d51ffa4a7e6151c42ceb5de0eedf46a | /ThirdParty/paraEllip3d_DEM_PD/src/Simulations/PeridynamicsRigidInclusion.cpp | 211697d93a285ad565ed440e6c0a9ea7e24141c6 | [] | no_license | pinebai/ParSim | 1a5ee3687bd1582f31be9dbd88b3914769549095 | f787523ae6c47c87ff1a74e199c7068ca45dc780 | refs/heads/master | 2021-01-24T07:45:12.923015 | 2017-04-22T04:34:44 | 2017-04-22T04:34:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,816 | cpp | #include <Simulations/PeridynamicsRigidInclusion.h>
#include <Core/Util/Utility.h>
using namespace dem;
using util::combine;
void
PeridynamicsRigidInclusion::execute(Assembly* assembly)
{
std::ofstream progressInf;
std::ofstream periProgInf;
REAL distX, distY, distZ;
if (assembly->getMPIRank() == 0) {
dis... | [
"b.banerjee.nz@gmail.com"
] | b.banerjee.nz@gmail.com |
1e3c056f41ed98a5a1f8a8211ecf456696d44cad | a28ccadc85e1d356743f5f23b7a9945c7e3ee20f | /src/main/c++/native/triangle_detect/ilin_pavel/IPTDContours.cpp | d47f06b86cb7a53352d37ac788f50c1ea6fe8140 | [
"MIT"
] | permissive | hesitationer/OpenCVClient | 2e8b2db538c92a05f3a62e5b78d04a1d23a44885 | a7119b1b108b8f15090751218851b8852241d274 | refs/heads/master | 2021-06-11T22:29:49.622612 | 2017-03-09T19:37:57 | 2017-03-09T19:37:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,029 | cpp | //
// Created by dialight on 17.12.16.
//
#include <triangle_detect/ilin_pavel/IPTDContours.hpp>
#include <utils/MacroEnumString.hpp>
#include <utils/CvUtils.hpp>
#include <opencv/OpenCVWrap.hpp>
#include <utils/DrawUtils.hpp>
#define IPTri2Macro(m) \
m(SMOOTH, "Сглаживание") \
m(GRAY, "Серые тона") \
m(C... | [
"light_01@rambler.ru"
] | light_01@rambler.ru |
dd99420c1836e39a01947a1e1f85ddaee2b99e88 | a753f68508fa3834bcee8dc51a7fc55cb885f16b | /k-th_number.cpp | 70d708ea8b60ac0423962c4c8fe3dd2bff64e327 | [] | no_license | fuppy0716/ant | 63e3c1be93075cb9d14477366aa6d940db11396f | 4172b8c101cde5b9e615102a41ac6b9edef5faf1 | refs/heads/master | 2021-08-22T19:31:27.101486 | 2017-12-01T02:53:28 | 2017-12-01T02:53:28 | 105,748,653 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,646 | cpp | #ifndef _GLIBCXX_NO_ASSERT
#include <cassert>
#endif
#include <cctype>
#include <cerrno>
#include <cfloat>
#include <ciso646>
#include <climits>
#include <clocale>
#include <cmath>
#include <csetjmp>
#include <csignal>
#include <cstdarg>
#include <cstddef>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#includ... | [
"n.fuppy@gmail.com"
] | n.fuppy@gmail.com |
98be56eb7077bda8d7670b167db5cb74f62e0b26 | c34666d95032836345607da0d29b59e81cb64009 | /include/imgproc/imgproc.hpp | b3b2f046a07928434ee1497ad7c65f9fa166304a | [] | no_license | webstorage119/Image_Quality_Assessment | c3450c2f750d837bb3bfe4f0601de54802d918c9 | 78522bc08a03a31ed577db382e82b30229df372e | refs/heads/master | 2023-05-12T12:59:59.197955 | 2020-06-08T16:00:06 | 2020-06-08T16:00:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,398 | hpp | /*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, instal... | [
"1203096438@qq.com"
] | 1203096438@qq.com |
d89dfb366d71ba9bf88da357d8b3eaf05c9bfd17 | f6ab96101246c8764dc16073cbea72a188a0dc1a | /OnlineJudge/ZEROJUDGE/a286. 難道這就是命中注定.cpp | a24643ba97b9da15aa4a3a72546dc77569e8ee6f | [] | no_license | nealwu/UVa | c87ddc8a0bf07a9bd9cadbf88b7389790bc321cb | 10ddd83a00271b0c9c259506aa17d03075850f60 | refs/heads/master | 2020-09-07T18:52:19.352699 | 2019-05-01T09:41:55 | 2019-05-01T09:41:55 | 220,883,015 | 3 | 2 | null | 2019-11-11T02:14:54 | 2019-11-11T02:14:54 | null | UTF-8 | C++ | false | false | 550 | cpp | #include<stdio.h>
#include<stdlib.h>
int Calu(int n) {
int sum = 0;
while(n) {
sum += n%10;
n /= 10;
}
return sum;
}
int main() {
int Y, M, D, n, i, MM, SS;
while(scanf("%d %d %d", &Y, &M, &D) == 3) {
MM = Calu(Y)+Calu(M)+Calu(D);
while(MM >= 10)
MM = Calu(MM);
scanf("%d", &n);
int Idx, min = 10;
... | [
"morris821028@gmail.com"
] | morris821028@gmail.com |
ed92505a1ca386b6f3000f0bffb2d0dfe8018cd2 | 5d4497f7470cdf9d562b5dda0afa3f2e49bdd311 | /Iparcial/actividades/practica 2/MyLinkedList.h | 674acb2f624edd3477cd648d904b0eaf36b8f3cc | [] | no_license | MariandreaMV/ProgramacionII | a4928cea46c2f04905663a5160a5d474936500b3 | 55fe27e7111f9ad7e64110e587530d6c6ec30bb8 | refs/heads/master | 2021-03-19T16:19:30.227439 | 2018-02-19T02:43:23 | 2018-02-19T02:43:23 | 119,536,670 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,353 | h |
#ifndef MYLINKEDLIST_H
#define MYLINKEDLIST_H
#include <iostream>
#include <stdlib.h>
#include "node.h"
#include <cstring>
using namespace std;
template <class t>
class MyLinkedList{
private:
node<t>* head;
int size;
public:
MyLinkedList();
void addHead(t element);
void agregar(t element);
node<t>* last... | [
"mariandrea.mv15@gmail.com"
] | mariandrea.mv15@gmail.com |
aab1b4fab977b71a6c5863833e1aacdd1be62817 | 64fae903313830487625d431b064bbcf1cfd0a4b | /plugins/src/modules/containers.cpp | 3b12b8b456003e444455d26dcc1f4a3502b08fb1 | [
"MIT"
] | permissive | spacemud/PawnPlus | a9c1334a6773c6f5c9fbeb37784631655e286298 | d9e888e890a3d0e52ad968158802bbb8602e8161 | refs/heads/master | 2020-08-07T11:12:15.281185 | 2019-09-24T10:55:11 | 2019-09-24T10:55:11 | 213,427,038 | 1 | 1 | null | 2019-10-07T16:01:28 | 2019-10-07T16:01:28 | null | UTF-8 | C++ | false | false | 13,418 | cpp | #include "containers.h"
aux::shared_id_set_pool<list_t> list_pool;
aux::shared_id_set_pool<map_t> map_pool;
aux::shared_id_set_pool<linked_list_t> linked_list_pool;
aux::shared_id_set_pool<pool_t> pool_pool;
object_pool<dyn_iterator> iter_pool;
object_pool<handle_t> handle_pool;
void list_t::push_back(dyn_object &&va... | [
"illidans4@gmail.com"
] | illidans4@gmail.com |
ff2c2a69c14813cc8370feecbf2d5409a1d7f051 | a8eadddefe363632532e805f4da7c316782bcb72 | /Chapter17/Exercise11/code.h | 5e7e1560ed592f44d306d717ea8fb1a1464960f4 | [] | no_license | konstest/cpp_learning | f282b233284ce091d430499b3e33c61990dd85a0 | f8f4f5473c7a0afba7ae2aa1b4d55b9a16cb2931 | refs/heads/master | 2021-12-01T03:52:20.318693 | 2021-11-17T07:10:44 | 2021-11-17T07:10:44 | 64,108,849 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 777 | h | /*
* Заглолвочный файл
*/
#include "std_lib_facilities.h"
#include <list>
class Link {
public:
string value;
Link(const string& v, Link* p = nullptr, Link* s = nullptr)
: value{v}, prev{p}, succ{s} { }
Link* insert(Link* n); // insert n before this object
Link* add(Link* n); ... | [
"knikolaev@ptsecurity.com"
] | knikolaev@ptsecurity.com |
972437584c57be9d1261909285efebfb74727bd7 | 81940315f6b945c2fab270272630d01785ec0fb1 | /white/022_week2_busstops/main.cpp | e6ee05e702cff8a82b5c562a65d3ffbdb67cccfa | [] | no_license | adogadaev/CourseraYandexCpp | d3361fb6a8707ac2ea406f0cd6a259cde1176732 | b5ca2b8288410fbb23f36ee813cd12eb87b11eeb | refs/heads/master | 2023-06-22T21:47:57.437530 | 2021-07-20T12:14:29 | 2021-07-20T12:14:29 | 218,399,060 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,811 | cpp | /*
* main.cpp
*
* Created on: Oct 15, 2018
* Author: Anton Dogadaev
*/
#include <map>
#include <string>
#include <iostream>
#include <vector>
using namespace std;
int main() {
int req_num;
map<string, vector<string>> map_stops;
map<string, vector<string>> map_buses;
string command;
cin >> req_num;
f... | [
"ado@localhost.localdomain"
] | ado@localhost.localdomain |
b8f3e5dd3adda6f65102f6d0ae93f4b726556adb | 102ee840bd2affe6120b9f82e08dc58262be54de | /Uppgifter/antivirus/submissions/accepted/loke.cpp | 07e2f8abcd6357d70a0795f97519958a3e5cccbb | [] | no_license | ChalmersCodingClub/chalmerschallenge21 | 29863dd8cc403492b1a44861c3b016ec17cfbb6a | c8ffe2e1f85ebc73010095dd28f75ef73712bb09 | refs/heads/master | 2023-02-19T07:46:15.557069 | 2021-01-22T18:43:46 | 2021-01-22T18:43:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,661 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<ll, ll> pii;
typedef vector<ll> vi;
#define rep(i, a, b) for(int i = a; i < (b); ++i)
#define trav(a, x) for(auto& a : x)
#define all(x) begin(x), end(x)
#define rall(x) rbegin(x), rend(x)
#define sz(x) (int)(x).size()
int main() {
ci... | [
"lokegustafsson@pm.me"
] | lokegustafsson@pm.me |
70f5850520ced1b90cf6971bed0a57fa14d71585 | b751666b9319ae6da25320d56670ff13e969031c | /include/fuzzcover/fuzzcover.hpp | 8a75ed971d5ebd50ef483669c8920e458ee20bca | [
"MIT"
] | permissive | koushik-ms/fuzzcover | 31777d3df0336df6b547e0b0ac70361af49e3d09 | fdb7c611c44b5ca154ad445172e908148fddefb9 | refs/heads/master | 2023-08-08T02:15:27.757387 | 2020-09-19T16:08:40 | 2020-09-19T16:08:40 | 296,423,698 | 1 | 0 | MIT | 2020-09-19T16:08:41 | 2020-09-17T19:31:07 | null | UTF-8 | C++ | false | false | 3,521 | hpp | #pragma once
#include <cassert>
#include <cstddef>
#include <cstdint>
#include <fstream>
#include <iostream>
#include <type_traits>
#include <vector>
#include <nlohmann/json.hpp>
#include "FuzzedDataProvider.h"
namespace fuzzcover {
/*!
* @brief interface for fuzzcover
* @tparam TestInput type of the test input
*... | [
"mail@nlohmann.me"
] | mail@nlohmann.me |
93aa28e6236e09a15d9a83b6585e253ad6f1ce1e | d76b5a2629d6b38124b4906efda5163706bbae5e | /imgui/implot_demo.cpp | ad041738cde6b85dcb276dbde1635706973e1b0a | [
"MIT",
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | MrCyjaneK/giu | 1461ab7ea9b1864bd83a8d96804a0bf0fe0aa341 | 9023ae7ba18bd7a7e898eaa038907785607fea3e | refs/heads/master | 2023-08-01T06:15:58.876320 | 2021-04-16T20:06:50 | 2021-04-16T20:06:50 | 358,569,613 | 0 | 0 | MIT | 2021-09-14T09:30:51 | 2021-04-16T10:58:53 | C++ | UTF-8 | C++ | false | false | 95,073 | cpp | // MIT License
// Copyright (c) 2021 Evan Pezent
// 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, mer... | [
"allengnr@gmail.com"
] | allengnr@gmail.com |
1f6af4a0e40da0b20ca45e28d2986a6b37d1a300 | c8b40865d0dae4d9a356a90239e35457079c0fbc | /Iron Man(CF704E)/judge.cpp | 7526f729d5fe365801b0242dfc0be99253758e72 | [] | no_license | boshi-an/2020-Home-Work | 218a8754503d8c12af371fe040baa3797f2c9660 | 97ebf3c289e6409390b05830a57ba4c8083ad5f9 | refs/heads/master | 2022-09-16T06:27:11.698579 | 2020-02-25T14:34:25 | 2020-02-25T14:34:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 957 | cpp | #include <bits/stdc++.h>
using namespace std;
template <typename T> void cmin(T &x, const T &y)
{
if(y < x) x = y;
}
template <typename T> void cmax(T &x, const T &y)
{
if(y > x) x = y;
}
template <typename T> void read(T &x)
{
x = 0; char c = getchar(); bool f = 0;
while(!isdigit(c) && c!='-') c = getchar();
... | [
"41010290+totorato@users.noreply.github.com"
] | 41010290+totorato@users.noreply.github.com |
768630d896477f8f63edb729b22b6204afee2d7b | 82b9cafe4518ea76addc4d179c74891b8abcc560 | /SDL/Tutorial_SDL_Game_Framework_Series/originSource/SDL Tutorial 1/CApp_OnCleanup.cpp | 00f5040cbf06b93b60690b340cab2eba7678dbd8 | [] | no_license | shileiz/notes | 71762d197f7a1a875664e8f29e0ab198a5ff6ff4 | 8c68a80d13902bea2e584819a63e5344a833b44c | refs/heads/master | 2020-04-04T06:15:37.626895 | 2018-01-23T13:34:44 | 2018-01-23T13:34:44 | 49,873,409 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 341 | cpp | //==============================================================================
#include "CApp.h"
//==============================================================================
void CApp::OnCleanup() {
SDL_FreeSurface(Surf_Display);
SDL_Quit();
}
//==========================================================... | [
"zslisnotzsl@gmail.com"
] | zslisnotzsl@gmail.com |
2a1f903868caea10e96c018e5f551cf2d49d4a7d | d12052441f6853333f128d609a8fc81657398fc6 | /2012TeResAI/2012teresAI/kuzumi.cpp | d7a1f4ec611d30814f2b4e693e3c41cecd427351 | [] | no_license | nomeaning777/2012TeResAI | b100fcc3f74dd95b16f94c49ab7e2655859c5274 | ee219565edb4b18125b5cae0c033da9516f420a8 | refs/heads/master | 2021-01-15T16:36:55.073021 | 2012-11-24T08:06:45 | 2012-11-24T08:06:45 | null | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 4,986 | cpp | /**********************************************************
AIのサンプル
**********************************************************/
#include "Data.h"
/**********************************************************
初期化時に呼ばれる関数
**********************************************************/
void kuzumiInit(AI_T &myAi)
... | [
"matsushin122251@tbz.t-com.co.jp"
] | matsushin122251@tbz.t-com.co.jp |
99e70735f4f18ae11279551a8dde167d254a2d0f | 9137eae300363a0fbe4e3470d86e435aaa90fe87 | /ordenacao/merge.cpp | dccc51ea1043dd1a6350be62d58b8fcf328d00ea | [] | no_license | jailsonpj/AED2 | a3b21a9d49a6f50b7c14bee0e4e57beba70884a4 | c798f9dc22288fb0e36a5be290c697de311ceca2 | refs/heads/master | 2021-01-19T18:15:46.511191 | 2018-05-25T20:35:53 | 2018-05-25T20:35:53 | 101,119,817 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,830 | cpp | #include <iostream>
#include <vector>
#include <ctime>
#include <cstdlib>
#define SENTINELA -1
#include <climits>
#include <cmath>
using namespace std;
template <typename T>
void povoaRandom(vector<T> &v) {
const int MAX_TAM = 30;
const int novoTamanho = (int) (rand()%MAX_TAM) + 1;
const int MAX_VALOR = ... | [
"jailsoncolares@gmail.com"
] | jailsoncolares@gmail.com |
13d37bbd7c698afbbf8af156fa879d3253843e9f | a1d02f65abfd25f9d260ab2b41bee082df669907 | /src/mnemonics/portuguese.h | 309ff6243c6d59fc36ed96cd0a4f4da179a42639 | [
"BSD-3-Clause",
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | kosowwwa/TroutBucks | 2bbf42d2631b1faff94fcac7eadf86e021490606 | 1e0d2f5446f434a078a40994ea526f1badc9be06 | refs/heads/main | 2023-04-14T13:27:30.514457 | 2021-04-25T14:56:05 | 2021-04-25T14:56:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 34,402 | h | // Word list originally created by dabura667 and released under The MIT License (MIT)
//
// The MIT License (MIT)
//
// 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, in... | [
"76274154+71Zombie@users.noreply.github.com"
] | 76274154+71Zombie@users.noreply.github.com |
e185979a80110896be8709a5801668b0fb90b8f2 | 99aface0f184525416eacb8fa59afac1417b6c38 | /LevelSet/src/blockqmatrix.cpp | 7708bf1b457da3f0378a1f5d4c5beebb4b33a4de | [] | no_license | cjbryant135/stokesLS | bef4c979c33721475498e176f177a2c4175e3cf5 | ec6fbd2b1dd3210a2bb89dd58f0c3255d298dbb9 | refs/heads/master | 2022-12-15T12:47:13.883451 | 2020-09-21T13:55:50 | 2020-09-21T13:55:50 | 294,719,479 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,537 | cpp | #include <iostream>
#include "blockqmatrix.h"
namespace blockmatrix {
BlockQMatrix::BlockQMatrix(const size_t rc) : Dim(rc), Alldim(0),
mat(NULL), InvDiagEl(NULL)
{
mat = new spMat*[Dim];
for (int r=0; r<Dim; ++r) {
mat[r] =... | [
"bryant@u.northwestern.edu"
] | bryant@u.northwestern.edu |
356b9fe8bc34eb2d0d62cf57cb69cf77bf71eb97 | 86908a017b44cd07963eedd4325c99d410f02395 | /GUICraft/cpp/amyZoomLing.cpp | 715a0959e68852b5088d65e8a1472239b04ace38 | [] | no_license | laoniu2020/MedicalTile | a8ebf9604f2f76cef7740d07e6d20419127950dd | 6d0f172ae863c9d1a3176d2933ff0a5440888f50 | refs/heads/master | 2021-05-29T06:03:36.556875 | 2015-10-04T15:10:05 | 2015-10-04T15:10:05 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 7,902 | cpp | #include"amyZoomLing.h"
#include<QPainter>
#include"amyCube.h"
amyZoomLing::amyZoomLing(amyCanvas* can):amyImageLing(can)
{
m_IsBeginToPan=0;
this->SetInput(0);
m_View=amyUtil::UNKNOWN;
//m_ViewPort=can->rect();
}
void amyZoomLing::InitInput()
{
amyCube* cube=this->GetInput();
if(cube==0)
return;
this->m_DesR... | [
"1132743253@qq.com"
] | 1132743253@qq.com |
eab77433cb70f24d9f045f3fc8c976bcadf95f6c | 0860fcd4645a42f83d5370d95a5117c8902877cc | /oop/lab/lab2.1_opt8.cpp | 50a15f074ab2f41aceec41f7f4ec7f887d138fef | [] | no_license | trytynichenko/nau | bf787a39870daac941b1c3ac88da16e7420a8373 | 5f8077bde4c522a7a9dadc479cc388993e779d3f | refs/heads/master | 2022-04-25T21:08:04.757643 | 2020-04-24T19:06:55 | 2020-04-24T19:06:55 | 255,180,858 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,080 | cpp | #include <string>
#include <iostream>
using namespace std;
class BaseString {
public:
string str;
BaseString(string s) {
str = s;
};
int getLength() {
return str.size();
};
};
class SymbolSting: public BaseString {
public:
SymbolSting(st... | [
"leonid.trytynichenko@masterofcode.com"
] | leonid.trytynichenko@masterofcode.com |
bf1721c19f70d309a69137f1ab96807ac160985b | 27ccf4415efbbe538a2667a6b857c100656782ed | /03_Programmers/level3-5/level3-5/level3-5/lv3_GPS.cpp | 31c6f4cc1b100b2a484543743b4261dec85a3b60 | [] | no_license | WONILLISM/Algorithm | 315cc71646ee036ad3324b2a12ca51a7ea3c4ff3 | 82b323c0dc1187090a85659ed09a6ef975ce3419 | refs/heads/master | 2020-06-15T02:54:39.995963 | 2020-04-28T12:07:58 | 2020-04-28T12:07:58 | 194,092,117 | 1 | 0 | null | null | null | null | UHC | C++ | false | false | 1,398 | cpp | #include<iostream>
#include <vector>
#include<algorithm>
using namespace std;
int N, M, K, ans;
vector<vector<int>> g;
int dp[101][201];
void Init(vector<vector<int>> edge_list) {
for (int i = 0; i < K; i++)
for (int j = 1; j <= N; j++)
dp[i][j] = M + 1;
for (int i = 0; i < edge_list.size(); ++i) {
int u = edg... | [
"wonillism@gmail.com"
] | wonillism@gmail.com |
2f2fc66c5d9a8cc066105dfb4ba463799e946bd8 | 8242d218808b8cc5734a27ec50dbf1a7a7a4987a | /Intermediate/Build/Win64/Netshoot/Inc/AugmentedReality/ARBlueprintLibrary.generated.h | 34a855f85878aca3f70a28615712826557ed0d55 | [] | no_license | whyhhr/homework2 | a2e75b494a962eab4fb0a740f83dc8dc27f8f6ee | 9808107fcc983c998d8601920aba26f96762918c | refs/heads/main | 2023-08-29T08:14:39.581638 | 2021-10-22T16:47:11 | 2021-10-22T16:47:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,632 | h | // Copyright Epic Games, Inc. All Rights Reserved.
/*===========================================================================
Generated code exported from UnrealHeaderTool.
DO NOT modify this manually! Edit the corresponding .h files instead!
========================================================================... | [
"49893309+whyhhr@users.noreply.github.com"
] | 49893309+whyhhr@users.noreply.github.com |
668e7b7fa572dc834aab559911cf5ec238304a47 | 9a3b9d80afd88e1fa9a24303877d6e130ce22702 | /src/Providers/UNIXProviders/X509Certificate/UNIX_X509Certificate.cpp | 369e877e216e2c02ddf97e760a30c047bd342901 | [
"MIT"
] | permissive | brunolauze/openpegasus-providers | 3244b76d075bc66a77e4ed135893437a66dd769f | f24c56acab2c4c210a8d165bb499cd1b3a12f222 | refs/heads/master | 2020-04-17T04:27:14.970917 | 2015-01-04T22:08:09 | 2015-01-04T22:08:09 | 19,707,296 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,267 | cpp | //%LICENSE////////////////////////////////////////////////////////////////
//
// Licensed to The Open Group (TOG) under one or more contributor license
// agreements. Refer to the OpenPegasusNOTICE.txt file distributed with
// this work for additional information regarding copyright ownership.
// Each contributor lice... | [
"brunolauze@msn.com"
] | brunolauze@msn.com |
f1b4e32a32b883ae4f13cc3310e365101c795d8c | cefd6c17774b5c94240d57adccef57d9bba4a2e9 | /WebKit/Source/WebCore/platform/network/cf/ResourceHandleCFURLConnectionDelegateWithOperationQueue.cpp | 9804e8e0ef46254453c866ef36a5b14aca29cc08 | [
"BSL-1.0",
"BSD-2-Clause",
"LGPL-2.0-only",
"LGPL-2.1-only"
] | permissive | adzhou/oragle | 9c054c25b24ff0a65cb9639bafd02aac2bcdce8b | 5442d418b87d0da161429ffa5cb83777e9b38e4d | refs/heads/master | 2022-11-01T05:04:59.368831 | 2014-03-12T15:50:08 | 2014-03-12T15:50:08 | 17,238,063 | 0 | 1 | BSL-1.0 | 2022-10-18T04:23:53 | 2014-02-27T05:39:44 | C++ | UTF-8 | C++ | false | false | 12,864 | cpp | /*
* Copyright (C) 2013 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions ... | [
"adzhou@hp.com"
] | adzhou@hp.com |
449f81e4a89807cf9270f90b9db299c36a0dd63a | 051c01825ff71f40b177796cb4a5a5f597ce41dc | /SEFoundation/SEShaders/SEVertexProgramCatalog.h | 9a0b9913c3668fcc94b30e31f90d0d8e68828c40 | [] | no_license | jazzboysc/SwingEngine1 | 896d1df24d7012308ad67bf4e86bf46383492c87 | 48f229ce2f1750756010a9db5e340e819b28b7ef | refs/heads/master | 2020-06-02T16:09:24.663829 | 2015-07-31T05:19:29 | 2015-07-31T05:19:29 | 39,988,059 | 0 | 1 | null | null | null | null | GB18030 | C++ | false | false | 2,663 | h | // Swing Engine Version 1 Source Code
// Most of techniques in the engine are mainly based on David Eberly's
// Wild Magic 4 open-source code.The author of Swing Engine learned a lot
// from Eberly's experience of architecture and algorithm.
// Several sub-systems are totally new,and others are re-implimented or
// re... | [
"S515380c"
] | S515380c |
0adfeda69a028ce95e758c71f6edf90ab020d452 | 89fc5b243d34612ba90e1d1649387907e29d90ac | /ccpc.cpp | 4e476864d400ff1f8267d975d21d621034d9b5ff | [] | no_license | Misaka233/exciting | 8a074bf0924476c067a1965c6ea9a6dc1ad77d75 | 069455bb92560ceee47add71e1743f0d36c8cd10 | refs/heads/master | 2020-04-12T09:01:27.313535 | 2017-02-03T08:28:37 | 2017-02-03T08:28:37 | 55,968,227 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 255 | cpp | #include<iostream>
#include<cstdio>
using namespace std;
int main()
{
int a,t,cas=0;
cin>>t;
while(t--)
{
cas++;
int n;
cin>>n;
int sum=0;
for(int i=1;i<=n;i++)
{
cin>>a;
sum+=a;
}
printf("Case #%d: %d\n",cas,sum/2);
}
}
| [
"1224936828@qq.com"
] | 1224936828@qq.com |
3d289b664e419056310182ad0cfddb78adc2955e | e0e180b19baca67067c7cddf25009532f5b775f4 | /lib/cryptoclient.cpp | e271f3111a4e7a4280c8ad8a864cbfc03992ee62 | [] | no_license | QPC-github/libsecurity_cdsa_client | 88f72efb3b5b0ed11709b56addc556059021e4f5 | c137b5c5a4c5d815445a0af7c44143490de92a79 | refs/heads/main | 2023-08-18T02:36:36.507902 | 2011-03-17T20:04:14 | 2021-10-06T05:23:12 | 589,053,702 | 1 | 0 | null | 2023-01-14T22:38:54 | 2023-01-14T22:38:54 | null | UTF-8 | C++ | false | false | 3,526 | cpp | /*
* Copyright (c) 2000-2001 Apple Computer, Inc. All Rights Reserved.
*
* The contents of this file constitute Original Code as defined in and are
* subject to the Apple Public Source License Version 1.2 (the 'License').
* You may not use this file except in compliance with the License. Please obtain
* a copy o... | [
"91980991+AppleOSSDistributions@users.noreply.github.com"
] | 91980991+AppleOSSDistributions@users.noreply.github.com |
5f6db9c87c61a3c5c4c9ba10fed8ec7a6eee586d | 916ef1b31f0b683de4f043626d9df59f37edbbc4 | /atcoder/06_AtCoder-Regular-Contest/arc041/A/main.cpp | 458a100bff582865d278402dae2b0e47ca7bc3aa | [] | no_license | solareenlo/cpp | 56cc33673d30dd4a4031e4b81cec16b08b3490e0 | f78f8a098849938153e6e3a282737e067dbe2c58 | refs/heads/master | 2021-03-31T04:31:39.420394 | 2020-11-29T22:22:25 | 2020-11-29T22:22:25 | 248,076,420 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 313 | cpp | #include <bits/stdc++.h>
#define REP(i, n) for (int i = 0; i < (n); i++)
using namespace std;
int main() {
cin.tie(0)->sync_with_stdio(false);
int x, y, k;
cin >> x >> y >> k;
int ans = 0;
if (k <= y) ans += x + k;
else ans += y + (x + y) - k;
cout << ans << '\n';
return 0;
}
| [
"solareenlo@gmail.com"
] | solareenlo@gmail.com |
1fc13a5ae52be506c8a408930eb9979f872dd485 | 90047daeb462598a924d76ddf4288e832e86417c | /third_party/WebKit/Source/web/tests/WebFrameTest.cpp | 7d90d5eebb902e2152207158bfe350be40685167 | [
"LGPL-2.0-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-1.0-or-later",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft",
"BSD-3-Clause",
"MIT",
"Apache-2.0"
] | permissive | massbrowser/android | 99b8c21fa4552a13c06bbedd0f9c88dd4a4ad080 | a9c4371682c9443d6e1d66005d4db61a24a9617c | refs/heads/master | 2022-11-04T21:15:50.656802 | 2017-06-08T12:31:39 | 2017-06-08T12:31:39 | 93,747,579 | 2 | 2 | BSD-3-Clause | 2022-10-31T10:34:25 | 2017-06-08T12:36:07 | null | UTF-8 | C++ | false | false | 492,738 | cpp | /*
* Copyright (C) 2010 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditio... | [
"xElvis89x@gmail.com"
] | xElvis89x@gmail.com |
476a005a41eab23c1d46d509e5e9c71dbeef9934 | 998f723856324dd114132417d191d61505c60bc5 | /160105-c03.02.01-variables/testing_variables.cpp | 31169e6a2c6edf233c91aa4f6bcfebd746720538 | [
"MIT"
] | permissive | R4mzy/ppp2-cpp-stroustrup | d15b8e2cb2d04b5e3628d68cd5241a7932339fd4 | a7eb816e136f146c282ec8682f8b48440064481f | refs/heads/master | 2021-01-10T16:11:04.908811 | 2016-04-04T20:05:52 | 2016-04-04T20:05:52 | 44,459,518 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 704 | cpp | #include "../res-files/std_lib_facilities.h"
int main() {
int integer = 42; // declaring an integer with literal (usage?) value
double doublet = 4.2; // declaring a double...
char character = 'z'; // and a char...
string stringer = "theory"; // yep, string there... can I just use str to declare this?
bool bloo = ... | [
"github@r4mzy.co.za"
] | github@r4mzy.co.za |
d92ce5ddb8c40a34753f33e89687e84d7cd151aa | 0370b81e9ec3f1b1d4bf0da224a613ff576e8dd4 | /Old_Contests/train3/E.cpp | 8665ba432df6367859259a4bad7b76cb8cd0f59b | [] | no_license | Rolight/ACM_ICPC | c511bc58ac5038ca521bb500a40fcbdf5468832d | 6208a20ea66a42b4a06249d97494c77f55121847 | refs/heads/master | 2021-01-10T22:08:48.336023 | 2015-07-17T21:46:48 | 2015-07-17T21:46:48 | 27,808,805 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 776 | cpp | #include <cstdio>
#include <cstring>
#include <algorithm>
#include <set>
using namespace std;
const int maxn = 105;
int buf[maxn][maxn];
int main() {
int n,m,r,c;
while(scanf("%d%d%d%d",&n,&m,&r,&c),n|m|r|c) {
for(int i = 1;i <= n;i++) {
for(int j = 1;j <= m;j++) {
scanf("%1d",&buf[i][j]);
}
}
int... | [
"flsnnx@gmail.com"
] | flsnnx@gmail.com |
ce9b4a8c7a704815ab5f81c60360b040e610a8d7 | 86a7e7ad07d6870ba768d83c8b992c9e6ed62579 | /DeviceAdapters/PVCAM/PpParam.h | 5fb584363535de9aaa387a69d024167a46a5dfae | [
"BSD-3-Clause"
] | permissive | marktsuchida/micro-manager | a1a2025427d6e5d66037ec27bc4de8fb5883b488 | 6c27e2bf7f39da045273cd1e44e985f3241a75b3 | refs/heads/master | 2021-07-09T02:20:25.579211 | 2018-03-27T01:44:04 | 2018-03-27T01:44:04 | 29,877,288 | 2 | 0 | null | 2018-04-11T18:49:26 | 2015-01-26T19:22:07 | C++ | UTF-8 | C++ | false | false | 1,002 | h | #ifndef _PPPARAM_H_
#define _PPPARAM_H_
#include <string>
/**
* Class used by post processing, a list of these elements is built up one for each post processing function
* so the call back function in CPropertyActionEx can get to information about that particular feature in
* the call back function
*/
clas... | [
"lwalder@d0ab736e-dc22-4aeb-8dc9-08def0aa14fd"
] | lwalder@d0ab736e-dc22-4aeb-8dc9-08def0aa14fd |
034fae80fd20a47c4199e83ec431ebace72512f1 | 471d5a058cc8d80f1404e767699bc33df79f7f68 | /src/Source/VideoSource.h | 1d5d86f0efca508bece0d83a37c0302f7ee49e3b | [
"MIT"
] | permissive | Liincoln/VirtualMapper | 8ed39de91ef3f07722ba7532c7df6d6f252d8408 | 44bdc20160e825fee2a5bafd85e54f4d281fe59b | refs/heads/master | 2021-01-02T22:40:53.253460 | 2017-05-17T10:10:09 | 2017-05-17T10:11:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,582 | h | #pragma once
#include "ofMain.h"
#include "ImOf.h"
#include "BaseSource.h"
class VideoSource : public BaseSource {
public:
VideoSource() {}
void setup() {
ofAddListener(ofEvents().keyPressed, this, &VideoSource::keyPressed);
}
void loadSettings(ofxXmlSettings &settings) {
settings.pushTag("video");
... | [
"mail@baku89.com"
] | mail@baku89.com |
31b1c4bca20669c6615485710254d9685aff90bb | 29f742e819a5df4995e513be82ddfb5d739f425d | /ComCTQMC/include/options/Interaction.h | 1b061c66934a7a7c760a88caebf353b30d0bd27a | [] | no_license | yuechm/comsuite | 29aecee6b156901de8bf1823dfc2f58f217cc8c1 | 7f6fb2b84e54ed31f96b1b758790c1bb12e67998 | refs/heads/master | 2022-04-15T12:10:16.057382 | 2020-04-10T15:54:12 | 2020-04-10T15:54:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,642 | h | #ifndef OPT_INTERACTION_H
#define OPT_INTERACTION_H
#include <cmath>
#include <stdexcept>
#include <iostream>
#include <vector>
#include <bitset>
#include <cassert>
#include <iomanip>
#include <set>
#include <numeric>
#include <algorithm>
#include <fstream>
#include <string>
#include "ClebschGordan.h"
#include "../J... | [
"sangkookchoi@gmail.com"
] | sangkookchoi@gmail.com |
6571f4207b5abf73dee7cdad9561829b3150f508 | e217eaf05d0dab8dd339032b6c58636841aa8815 | /Ifc4/src/OpenInfraPlatform/Ifc4/entity/include/IfcRoleEnum.h | 21aabbcdd746e126bb21c77e50bfb45996f02d3c | [] | no_license | bigdoods/OpenInfraPlatform | f7785ebe4cb46e24d7f636e1b4110679d78a4303 | 0266e86a9f25f2ea9ec837d8d340d31a58a83c8e | refs/heads/master | 2021-01-21T03:41:20.124443 | 2016-01-26T23:20:21 | 2016-01-26T23:20:21 | 57,377,206 | 0 | 1 | null | 2016-04-29T10:38:19 | 2016-04-29T10:38:19 | null | UTF-8 | C++ | false | false | 1,962 | h | /*! \verbatim
* \copyright Copyright (c) 2015 Julian Amann. All rights reserved.
* \author Julian Amann <julian.amann@tum.de> (https://www.cms.bgu.tum.de/en/team/amann)
* \brief This file is part of the OpenInfraPlatform.
* \endverbatim
*/
#pragma once
#include <vector>
#include <map>
#include <sstream>
#includ... | [
"julian.amann@tum.de"
] | julian.amann@tum.de |
c3be2ab9a6dc2d99ea8be3c32059411b7da2a933 | f8b56b711317fcaeb0fb606fb716f6e1fe5e75df | /Internal/SDK/ServerMigration_functions.cpp | 246caa9b161a7b772bcf95035e7df99a728b064a | [] | no_license | zanzo420/SoT-SDK-CG | a5bba7c49a98fee71f35ce69a92b6966742106b4 | 2284b0680dcb86207d197e0fab6a76e9db573a48 | refs/heads/main | 2023-06-18T09:20:47.505777 | 2021-07-13T12:35:51 | 2021-07-13T12:35:51 | 385,600,112 | 0 | 0 | null | 2021-07-13T12:42:45 | 2021-07-13T12:42:44 | null | UTF-8 | C++ | false | false | 38,595 | cpp | // Name: Sea of Thieves, Version: 2.2.0.2
#include "../pch.h"
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Functions
//-----------------------------------------... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
e6d126254d196f21a348b042cf925dc65adcd06e | 7f0113be41204d26507671f133753c5caa2ab6e7 | /src/app/usercontrol/buttonpower.h | 9469ff2aa306dc34cdc2499e287fa14860807e28 | [] | no_license | qq77457051/template2 | 019cb1c99f71b44e7b0cd7502fcdf6307c735df5 | 7067f98efd5f7bb2eaa6eab88ef9a63e95e7824f | refs/heads/master | 2023-03-15T15:13:53.054982 | 2020-12-03T07:46:15 | 2020-12-03T07:46:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 331 | h | #ifndef BUTTONPOWER_H
#define BUTTONPOWER_H
#include <QWidget>
class ButtonPower: public QWidget
{
Q_OBJECT
public:
explicit ButtonPower(QWidget *parent = 0);
protected:
void paintEvent(QPaintEvent *event);
private:
QString imgFile;
public slots:
void setValue(quint8 value);
};
#endif //BUTTO... | [
"354436834@qq.com"
] | 354436834@qq.com |
dac30e2a896a6d3d68fab8ebaa0ae202cf909354 | a790ab227c1edb93b3fe6830739ea80a119b7509 | /giaithua_mu.cpp | 2721ff90677b441bcf026984331c5d50afe1dc5d | [] | no_license | caodanh180296/C-_Study | 28c3ec00d54ae6fe2475f937ea5258f256c8e8fd | ecd8b96d501fd050415bf2fa1893260a7e830c4e | refs/heads/main | 2023-06-10T16:14:32.958850 | 2021-07-07T06:17:30 | 2021-07-07T06:17:30 | 347,077,527 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 589 | cpp | // tinh S=x^1/1!+x^2/2!....
#include <iostream>
#include <math.h>
using namespace std;
int main(int argc, char**argv){
double x;
int n;
double s=0;
cout<<"Nhap x:";
cin>>x;
cout<<"Nhap n:";
cin>>n;
for (int i=1; i<=n;i++){
double tu=pow(x,i);
int mau=1; //Hoặc đưa mẫu k... | [
"caodanh1802@yahoo.com.vn"
] | caodanh1802@yahoo.com.vn |
8645d83772a9f740dbcda9ccbc83060a3bca1681 | 29c594c218367d64cd4baedcbb5ad179946bc92e | /Math/FFT.cpp | b5876c831da0f130bbbdc85b53ac5b073033c466 | [] | no_license | dl8sd11/UTAhahaha | a3eeaf57639c5117c7f1939dea9b2c1a5fb5fb0a | a48ae8ffa6ab4694d77266f0cfcb05d008a58064 | refs/heads/master | 2022-12-26T20:15:31.318737 | 2020-10-07T03:04:47 | 2020-10-07T03:04:47 | 298,183,761 | 1 | 1 | null | 2020-09-29T07:55:40 | 2020-09-24T06:04:54 | C++ | UTF-8 | C++ | false | false | 1,105 | cpp | const double PI = acos(-1.0);
#define cd complex<double>
void FFT(vector<cd> &a, bool rev=0){
int n = SZ(a);
for (int i = 1, j = 0; i<n; i++){
int bit = n>>1;
while (j>=bit) j-=bit, bit>>=1; j+=bit;
if (i<j) swap(a[i], a[j]);
}
for (int B = 2; B<=n; B*=2){
d... | [
"tmd910607@gmail.com"
] | tmd910607@gmail.com |
4ff7ebc97722ab0d2d5a6a16a1921f5d2e5f4ea0 | fad4f6d9064e95f02fff0cd5a7f7d880f1cec204 | /P2/mpz_test.cpp | 799afb36b27d77efb0c04134d8978e7af8fa925f | [] | no_license | aarcane/CS165P2 | 13311eb6fa4e6a7c044f8157a15f69cad53d3d71 | 900d35ad0a7d2c21fba38266796c9ae5682af343 | refs/heads/master | 2021-01-20T05:31:19.804819 | 2014-05-09T01:24:20 | 2014-05-09T01:24:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,981 | cpp | #include "integer.h"
#include "mpz_test.h"
#include <gmpxx.h>
#include <iostream>
#include <string>
#include <utility>
#include <cstdlib>
#include <bitset>
namespace mpz_test
{
mpz_class copy(const integer& i)
{ std::string s = (std::string)i;
mpz_class ret = (mpz_class)s;
return ret;
}
integer copy(const mpz_class&... | [
"aarcane@aarcane.org"
] | aarcane@aarcane.org |
5eceb7bd17ceee6ca9a6ef579b94f1490a77875b | 2f33f8d13b4da223911a351c8e2c5efc2d7bedd0 | /Other/Out of order/HDU 1020 Encoding.cpp | 0e31931234c7b2495b15b178a58a7841f018e8ef | [] | no_license | Harrypotterrrr/Algorithm-ACM | ecbfd44a8da3ce82ef4b1b94a3759004246b3cd8 | f1eedf5229c2a8dca9b4948f05a16adacbd9ad6b | refs/heads/master | 2021-12-13T19:35:38.662941 | 2021-12-12T04:59:24 | 2021-12-12T04:59:24 | 141,694,685 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 493 | cpp | #include <iostream>
#include <stdio.h>
using namespace std;
int main(){
// freopen("r.txt","r",stdin);
// freopen("w.txt","w",stdout);
int T;
scanf("%d",&T);
while(T--){
char c;
int count=1;
scanf(" %c",&c);
while(true){
char s;
s = c;
scanf("%c",&c);
if(s == c)
count++;
else{
if(count... | [
"jiahaolin19971119@126.com"
] | jiahaolin19971119@126.com |
f64a35f5f4d8e4a55ec4abf34d88ef8ea213bed4 | d002ed401cba924074e021d22347b84334a02b0f | /export/windows/obj/src/lime/graphics/_OpenGLES2RenderContext/OpenGLES2RenderContext_Impl_.cpp | cad93357a09263be08fc2f5c0e6cd3fca5b700b5 | [] | no_license | IADenner/LD47 | 63f6beda87424ba7e0e129848ee190c1eb1da54d | 340856f1d77983da0e7f331b467609c45587f5d1 | refs/heads/master | 2022-12-29T13:01:46.789276 | 2020-10-05T22:04:42 | 2020-10-05T22:04:42 | 301,550,551 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 4,632 | cpp | // Generated by Haxe 4.1.2
#include <hxcpp.h>
#ifndef INCLUDED_lime__internal_backend_native_NativeOpenGLRenderContext
#include <lime/_internal/backend/native/NativeOpenGLRenderContext.h>
#endif
#ifndef INCLUDED_lime_graphics_RenderContext
#include <lime/graphics/RenderContext.h>
#endif
#ifndef INCLUDED_lime_graphics_... | [
"theiadstudios@gmail.com"
] | theiadstudios@gmail.com |
d2c89c562aab96967d112fc92e95a5f065c61d09 | 47de9c88b957dc66c46769f40103d5147b00b7c9 | /codeforces/1375/C.cpp | 61c7dff617f6febfe1bfdfabecee66e93d256599 | [] | no_license | autul2017831021/Codeforces_Atcoder_Solved_Problems | 1027a606b3cb5be80e57fcfbcfa0327ebd47bd95 | b95e432718c9393f8a781fa56c2ed65f082274f5 | refs/heads/master | 2023-07-02T02:23:58.307782 | 2021-03-01T13:00:00 | 2021-07-31T15:40:28 | 329,067,317 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,715 | cpp | /* YOU VIRGIN ASSHOLE
WHY ARE YOU HERE? */
#include<bits/stdc++.h>
using namespace std;
typedef long long int ll;
typedef vector<pair<ll,ll> > vp;
typedef vector<ll> vc;
typedef map<ll,ll> ml;
typedef ostringstream OS ;
typedef stringstream SS ;
typedef double dl;
#define pb push_back
#define bg begin()
#de... | [
"alexiautul@gmail.com"
] | alexiautul@gmail.com |
491feaddc5d1fe50119f8e411d20bd7a24a20a23 | 6596b95c1e05e8f4981a7b080cb00d9d82fb5b78 | /item.h | db95c9e6017ce579c1ba2d5a58e7e58d9f513d81 | [] | no_license | Zerua/TFS-1.0 | 7b120a35ddaca370f8234cce6a3692b5fdc83760 | 1a86c6e744651f189506dba5a7f9d3319e01317e | refs/heads/master | 2016-09-06T16:50:01.915389 | 2014-05-31T22:47:13 | 2014-05-31T22:47:13 | 20,366,111 | 0 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 13,485 | h | //////////////////////////////////////////////////////////////////////
// OpenTibia - an opensource roleplaying game
//////////////////////////////////////////////////////////////////////
// Item represents an existing item.
//////////////////////////////////////////////////////////////////////
// This program is free ... | [
"Ahmed.Balttak@hotmail.com"
] | Ahmed.Balttak@hotmail.com |
7411fdc474dd1af08bbee57d74e2d279797236fb | b22588340d7925b614a735bbbde1b351ad657ffc | /athena/Trigger/TrigHypothesis/TrigLongLivedParticlesHypo/src/MuonClusterHypo.cxx | 7b3a51b9ccf86f9b8d70e5c7efc52f69d99213d6 | [] | 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 | 6,838 | cxx | /*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
//
// MuonClusterHypo
// (see header for history/etc..)
//
#include "GaudiKernel/MsgStream.h"
#include "GaudiKernel/StatusCode.h"
#include "TrigLongLivedParticlesHypo/MuonClusterHypo.h"
#include "xAODTrigger/TrigComposite.h"
#include "x... | [
"rushioda@lxplus754.cern.ch"
] | rushioda@lxplus754.cern.ch |
ca9972e1e57485bfccd5f474a0555f6b2970b522 | 741a9d8f84d76af7d688661a432fd9ed4bebc269 | /XI/recursivitate/info.mcip.ro/106.cpp | 54a217e8b01bd94df2b79e5cd12dd5c882ec114e | [
"MIT"
] | permissive | rlodina99/Learn_cpp | 8ab1ed62791dbcdf5d6c513e629bd2ef44a60e0e | 0c5bd9e6c52ca21e2eb95eb91597272ddc842c08 | refs/heads/master | 2021-01-18T22:41:42.444407 | 2017-02-04T19:31:12 | 2017-02-04T19:31:12 | 27,827,602 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 146 | cpp | #106. [2009-11-17 - 13:10:41]
Sa se scrie o functie recursiva care calculeaza si returneaza suma cifrelor unui numar natural primit ca parametru.
| [
"radu.lodina@indecosoft.ro"
] | radu.lodina@indecosoft.ro |
70113e5880b73f97fa531d794dccc1d14f9dbd5d | 38ef40588af4e4e635ea2b34c70bb40fbdf049cf | /Settings/Controls/Checkbox.h | 68babd1b4c669ba8421eeb2c4969a85ea60b0589 | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-2-Clause"
] | permissive | GauthamYerroju/3RVX | 80cd4fabd6a48481c4d42a1983181bc67bfc89bd | 54300385f681e3bf24d8f7b5be03673f2c1e2e7a | refs/heads/master | 2021-01-14T12:27:32.709583 | 2015-11-12T06:47:50 | 2015-11-12T06:47:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 358 | h | // Copyright (c) 2015, Matthew Malensek.
// Distributed under the BSD 2-Clause License (see LICENSE.txt for details)
#pragma once
#include "Button.h"
class Checkbox : public Button {
public:
Checkbox(int id, DialogBase &parent, bool translate = true) :
Button(id, parent, translate) {
}
bool Checked... | [
"matt@malensek.net"
] | matt@malensek.net |
99d29e131bb2ef05d435ed20b2d2cfbdca5e2e48 | 8a71e93f6dcda2428999143370d5fe4219327d3f | /solutions/z7T3P2oX.cpp | aaacae16ae533c0ba5b42c65d91104763898fe7f | [
"MIT"
] | permissive | randauto/cpp-solutions | 21dce36fd4e10dbea3945d37be0cb2510210d446 | 627397fb887654e9f5ee64cfb73d708f6f6706f7 | refs/heads/main | 2023-09-02T11:15:20.336637 | 2021-11-18T01:03:00 | 2021-11-18T01:03:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 819 | cpp | /*
Sưu tầm bởi @nguyenvanhieuvn
Thực hành nhiều bài tập hơn tại https://luyencode.net/
*/
#include<stdio.h>
#include<conio.h>
// Khai báo kiểu dữ liệu cấu trúc phân số
struct PhanSo
{
int TuSo, MauSo;
};
typedef struct PhanSo PHANSO;
void NhapPhanSo(PHANSO &);
void XuatPhanSo(PHANSO);
void NhapPhanSo(PHANS... | [
"hieunv.dev@gmail.com"
] | hieunv.dev@gmail.com |
adcf0c41a692e438bc35cc224b916456f8e42d94 | c96044805d7e30806696ecb482582c25d290f114 | /src/dota/entity/CDOTA_Ability_TrollWarlord_BerserkersRage.h | 5b089b099ad1779d4880a1f4ac63c737e0888cca | [] | no_license | exjam/dota2-replay-cpp | f49fbbac2b2d29da22d236a1e8469f2477a8d494 | a0c445d4b591e354395eb662281445bb5bbb01c9 | refs/heads/master | 2021-03-12T21:22:25.915447 | 2015-02-12T23:39:22 | 2015-02-12T23:39:22 | 28,197,953 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 268 | h | #pragma once
#include <cstdint>
#include "clientclass.h"
#include "CDOTABaseAbility.h"
namespace dota
{
struct CDOTA_Ability_TrollWarlord_BerserkersRage : public CDOTABaseAbility
{
};
DeclareClientClass(CDOTA_Ability_TrollWarlord_BerserkersRage);
}
| [
"james.benton2@gmail.com"
] | james.benton2@gmail.com |
f37de7f538e822dcb19bb78c1397f4ec82b9e1e9 | e16cad6da2f7c1ed2946787652eaf36a53524d42 | /1001-IntoTo/Intro1001_Ex9_FerrazzoMichael/Into1001_Ex9_FerrazzoMichael/Into1001_Ex9_FerrazzoMichael.cpp | 70073467f7c2312402b73cea96ffa4815a993d6f | [] | no_license | Miekole/Fall-2020 | 4aec687c8d25b27678dfcdf91f017b6db4d8a0fe | f20bc712e3ef27208b6f8fe3f5cdabaa3f6b7ca3 | refs/heads/master | 2023-01-31T16:54:37.295686 | 2020-12-17T18:40:44 | 2020-12-17T18:40:44 | 317,984,519 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,174 | cpp | #include <iostream>
#include <time.h>
int main()
{
int number;
int num[100];
srand(time(NULL));
for (int i = 0; i < 100; i++)
{
num[i] = rand();
}
int carry = 0;
int flag = 0;
while (flag == 0)
{
flag = 1;
for (int counter = 0; counter < 100 - 1; counter++)
{
... | [
"Miekole.ferrazzo@gmail.com"
] | Miekole.ferrazzo@gmail.com |
c7e85ea7bbe94b7e49a0caa346fd7047e7883ad5 | 2c2d5c26145f96b2d2ae9c60eac5bbb7226c5fe0 | /COM编程精彩实例/COMExample/C22/Server/Server.h | e80762d7574a12fae4e61e013ef012b5a8a87425 | [] | no_license | simple555a/COMATLBook | 12b72f9d46912c060a1f8bc74c08f8df3ad18fca | 5e80ad241558ded78bda1360a0f7719161f4f41e | refs/heads/master | 2023-02-20T19:28:44.151464 | 2021-01-23T05:35:19 | 2021-01-23T05:35:19 | 332,111,899 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,204 | h | /* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 5.01.0164 */
/* at Mon Feb 21 11:49:53 2000
*/
/* Compiler settings for C:\_jeswanke\mfc3\Examples\C22\Server\Server.idl:
Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
error checks: all... | [
"simple555a@qq.com"
] | simple555a@qq.com |
f6f324fe5bb88463a2b9e887dea9dd745acb58cf | c8e6f194669663e0e2748dbc56a7172b9ea008f7 | /.localhistory/GUI/1472207054$MainForm.h | 4f5a7f21b8a3a30061ef8b2ce8797d2696e7b5e6 | [] | no_license | itreppert/GUI | 1922e781d804d17cb8008197fdbfa11576077618 | 9ca4ea0531eb45a4462a4d8278aec67f8c2705ef | refs/heads/master | 2020-04-17T20:29:10.965471 | 2016-09-06T13:18:01 | 2016-09-06T13:18:01 | 67,501,677 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 150,565 | h | #pragma once
#include "Test.h"
#include "TeilenDurch0Exception.h"
#include "BlinkinButton.h"
#include "DrawingPanel.h"
#include "RegexTextBox.h"
#include "DirectoryTreeView.h"
#include "FilesListView.h"
#include "Kunde.h"
namespace GUI
{
using namespace System;
using namespace System::ComponentModel;
... | [
"Alfa-Dozent@SB-U03-001"
] | Alfa-Dozent@SB-U03-001 |
33eea4839606a534d970640f12c8545c58d0be08 | e8e24458e02d498f066942cf186bbc50ccf93a7f | /node_openvdb_noise.cc | 109c7480c4be11b02eff0a9b5ea52c2479e054bd | [] | no_license | diekev/kamikaze_plugin | ece87ccef6d66478123cb2aa8ee3a90aadbd8fa3 | da78ac75e3d0c8b95f7360f4c7f7a60f28ffd0cb | refs/heads/master | 2021-01-15T15:36:56.776872 | 2018-01-25T05:40:21 | 2018-01-25T05:40:27 | 54,341,428 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,125 | cc | /*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is d... | [
"kevin.dietrich@mailoo.org"
] | kevin.dietrich@mailoo.org |
2314d2e217fcec48f009b6e0bbb2ee2cde46bb16 | aeff2a5a844ac4b11f5425a58ca15740beacb1d8 | /src/ElVis/Extensions/JacobiExtension/CastAndFilterIterator.hpp | 5a146c0b840c66d52a6dffa40e282a6f9155e0d8 | [] | no_license | z-jack/ElVisX | 2ab0cb1dfb2b362b17e9708c17ca8dd1064e50c1 | ce314d5a939b8cf4233d40ba42479faaa893f569 | refs/heads/master | 2020-04-11T21:08:05.080308 | 2018-12-17T08:26:20 | 2018-12-17T08:26:20 | 162,096,000 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,814 | hpp | ////////////////////////////////////////////////////////////////////////////////
//
// The MIT License
//
// Copyright (c) 2006 Division of Applied Mathematics, Brown University (USA),
// Department of Aeronautics, Imperial College London (UK), and Scientific
// Computing and Imaging Institute, University of Utah (... | [
"emailjiong@126.com"
] | emailjiong@126.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.