blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
550dd9c79b7e5238869bbf71acd6b09e2ab8bcaf | 2b8b15793fa88c44163950a9543bcec36f168623 | /src/B3DetectorConstruction.cc | 84e03fa16038b86fc3f51c8cc660720ad24c8b37 | [] | no_license | gsmith23/Magnetic_Fields | b06a61d4531b086e0eea4b9f1d4078ddb61d20fa | 8c1f4b4710bde5322505ad63d35da4f406bd0ada | refs/heads/master | 2020-06-28T19:38:12.886711 | 2018-07-23T19:37:19 | 2018-07-23T19:37:19 | 74,477,288 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,256 | cc | //
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration... | [
"gsmith23@ph.ed.ac.uk"
] | gsmith23@ph.ed.ac.uk |
a6b49abc137bb61aa01cad690adde2c71f59bba5 | 2d495c7c0d1fc5cc2f93d8589d171582f664c5ec | /Lab1/Reverse/code.cpp | a13f85ab6b1f9154448eccac80acde2d0dab3999 | [] | no_license | RyanSaini/UCM-CSE165-Labs | 14247487856e61df82107f592e26056f286d8710 | 5e9f88ab0a669fa15b893b72401d60a6d837d676 | refs/heads/master | 2023-05-10T08:43:24.865729 | 2021-06-14T22:31:31 | 2021-06-14T22:31:31 | 376,971,783 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 314 | cpp | #include <iostream>
#include <math.h>
using namespace std;
int main(int argc, const char * argv[]) {
double a, b, c;
cin >> a;
cin >> b;
cin >> c;
cout << (-b + (sqrt((b * b) - (4 * a * c)))) / (2 * a) <<endl;
cout << (-b - (sqrt((b*b) - (4 * a * c)))) / (2 * a ) <<endl;
}
| [
"61637919+RyanSaini@users.noreply.github.com"
] | 61637919+RyanSaini@users.noreply.github.com |
f21ca3cc249d9e2f49829b236a08e14f41d06465 | 50fa39e33468fab2d9bbc807241c6e2297403f12 | /include/thor/meta/list/algorithm/replace.h | e63b714e909f8a727e90bb7e9cc4228483fe8aba | [] | no_license | wzppengpeng/thor | 41f63ed6eacdf59d712a8bdf40caeace8e4602fc | 169f2e2b2d81ab3af67f4f0e8f0f0bf4199baed9 | refs/heads/master | 2020-04-16T22:39:47.222022 | 2019-01-16T08:29:37 | 2019-01-16T08:29:37 | 165,978,049 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,626 | h | #ifndef THOR_META_LIST_ALGORITHM_REPLACE_H_
#define THOR_META_LIST_ALGORITHM_REPLACE_H_
#include "thor/meta/list/type_list.h"
/**
* replace the type A to be type B in TypeList
*/
TM_NS_BEGIN
// replace the first A to B
// ////////////////////////
template<typename TL, typename A, typename B> struct ListReplaceFirs... | [
"wzpycg@qq.com"
] | wzpycg@qq.com |
6629c3bcc9a26bb9015972c026206dfd5dddb133 | a33aac97878b2cb15677be26e308cbc46e2862d2 | /program_data/PKU_raw/14/956.c | 289c14991c15891b34a4238ad380aa2330f8d034 | [] | no_license | GabeOchieng/ggnn.tensorflow | f5d7d0bca52258336fc12c9de6ae38223f28f786 | 7c62c0e8427bea6c8bec2cebf157b6f1ea70a213 | refs/heads/master | 2022-05-30T11:17:42.278048 | 2020-05-02T11:33:31 | 2020-05-02T11:33:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,006 | c | struct Student
{
long id;
int chn;
int mth;
int total;
struct Student *next;
};
struct Student * insert(struct Student *head,struct Student *stu)
{
int j=0;
struct Student *p0,*p1,*p2;
p1=head;
p0=stu;
if(head==NULL)
{head=p0;p0->next=NULL;}
else
{
while((p0->total<=p1->total)&&(p1->next!=NULL)&&j<4... | [
"bdqnghi@gmail.com"
] | bdqnghi@gmail.com |
6a44f7d97e9ed05d97055278cd39fa5a55814524 | 6e7140b7d68df7b41490216b303c73491e5e8021 | /PhysiCell_Performance_Test/core/PhysiCell_phenotype.cpp | 5edfb111488c9a4fb31f8e2c399f3578ce9035b2 | [] | no_license | furkankurtoglu/PhysiCell-SBML-trials | ff328460a732504155a193a27bdf4f5b0ff91c53 | 02cdfb8b9ebc210029083e7d2c26eb1582728ec8 | refs/heads/master | 2022-03-21T19:42:21.332782 | 2022-03-05T16:37:29 | 2022-03-05T16:37:29 | 243,384,961 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 30,314 | cpp | /*
###############################################################################
# If you use PhysiCell in your project, please cite PhysiCell and the version #
# number, such as below: #
# ... | [
"fkurtog@iu.edu"
] | fkurtog@iu.edu |
90b39b98cc85846dc155533752e3cff4254e5d8d | 9e44370e60902484235bf474b64d5b2bdaf5c621 | /RPNCalculator/RPNCalculator/SubtractionOperation.h | 5572d940f490540ad823e56b1a4fe8600c4456fb | [] | no_license | guardhao104/COMP_3512_Lab5 | da3b18db998788ed03bbaab8d3c8cbae6d47bac4 | 730e5ef671b7b1444ed3458400b94cbf6864c515 | refs/heads/master | 2021-09-11T18:22:02.438198 | 2018-04-11T01:01:15 | 2018-04-11T01:01:15 | 121,799,555 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 315 | h | #pragma once
#include "AbstractOperation.h"
class SubtractionOperation : public AbstractOperation
{
public:
static const char OPERATION_CODE = '-';
SubtractionOperation() : AbstractOperation(OPERATION_CODE) {};
int perform(int a, int b) override { return a - b; };
virtual inline ~SubtractionOperation() {};
}; | [
"guardhao@outlook.com"
] | guardhao@outlook.com |
027aca067d7f26bed79300a14b49b2dbbdcd7ace | ca64b4571ee17d5796833d60aa5f0d4368921d93 | /src/point.h | 16a7fc1fe899e473777a7a46ae48fabab53f9b23 | [
"BSD-3-Clause"
] | permissive | greatyang/kmeans | a92881a8e14017f0c3f67b698b2cac8c0c92c69d | 3af446c0cb973ae2f39a6e6a421ac396b3c243ac | refs/heads/master | 2022-11-25T23:04:17.220027 | 2016-06-21T07:19:34 | 2016-06-21T07:19:34 | 281,397,073 | 0 | 0 | BSD-3-Clause | 2020-07-21T12:52:00 | 2020-07-21T12:52:00 | null | UTF-8 | C++ | false | false | 1,060 | h | // Basic storage class for an n-dimensional point with a cluster assignment.
//
// Author: Felix Duvallet
#ifndef __KMEANS_POINT_H__
#define __KMEANS_POINT_H__
#include <vector>
#include <iostream>
class Point {
public:
Point() { }
// Initialize the number of dimensions, optionally set all values to zero.
Po... | [
"felix.duvallet@epfl.ch"
] | felix.duvallet@epfl.ch |
645a8b082dd40c4a063fea7187c52d38644f9095 | c475cd8531a94ffae69cc92371d41531dbbddb6c | /Libraries/breakpad/src/google_breakpad/processor/process_state.h | 728656f2bd7cffa0313a4fdd2242932209f5de4c | [
"Apache-2.0",
"LicenseRef-scancode-free-unknown",
"BSD-3-Clause",
"LicenseRef-scancode-unicode-mappings"
] | permissive | WolfireGames/overgrowth | 72d3dd29cbd7254337265c29f8de3e5c32400114 | 594a2a4f9da0855304ee8cd5335d042f8e954ce1 | refs/heads/main | 2023-08-15T19:36:56.156578 | 2023-05-17T08:17:53 | 2023-05-17T08:20:36 | 467,448,492 | 2,264 | 245 | Apache-2.0 | 2023-05-09T07:29:58 | 2022-03-08T09:38:54 | C++ | UTF-8 | C++ | false | false | 8,042 | h | // Copyright (c) 2006, 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 conditi... | [
"max@autious.net"
] | max@autious.net |
f0f2bc83cb16db4cddfa2c3134b32e0e7ad03ef3 | 82b6551a79786cbe0727b8b8473bc69d11260cec | /Exception.cpp | 6f83ec4a0b6d57f12e6f0d4a26883ade1a228f99 | [] | no_license | lfxy/netframe | 831dddcf7e0b02b663a66e989214317b13249a66 | e11b3b0bf1fc9641884d97b03e0704259f251a79 | refs/heads/master | 2020-04-16T15:41:46.017639 | 2016-04-22T10:25:08 | 2016-04-22T10:25:08 | 32,329,060 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,004 | cpp | // Use of this source code is governed by a BSD-style license
// that can be found in the License file.
//
// Author: Shuo Chen (chenshuo at chenshuo dot com)
#include <Exception.h>
//#include <cxxabi.h>
#include <execinfo.h>
#include <stdlib.h>
Exception::Exception(const char* msg)
: message_(msg)
{
fillStackT... | [
"zhiqiang.cao@emc.com"
] | zhiqiang.cao@emc.com |
629638e8911603d13c54cf077141ef08f6014e0e | 6d1c143787686870c2bd792b75836c5a707dad3f | /Server/SceneServer/SSBattleMgr/SSBTreeCon_NoEnemyHero.h | a61e6001c06e4cd2a7b14c29630bd41a5f0eadc8 | [] | no_license | jakeowner/lastbattle | 66dad639dd0ac43fd46bac7a0005cc157d350cc9 | 22d310f5bca796461678ccf044389ed5f60e03e0 | refs/heads/master | 2021-05-06T18:25:48.932112 | 2017-11-24T08:21:59 | 2017-11-24T08:21:59 | 111,915,246 | 45 | 34 | null | 2017-11-24T12:19:15 | 2017-11-24T12:19:15 | null | UTF-8 | C++ | false | false | 602 | h | /*
* file name :SSBTreeCon_NoEnemyHero.h
* file mark :
* summary :
*
* version :1.0
* author :LiuLu
* complete date :November 11 2014
* summary :
*
*/
#pragma once
#include "stdafx.h"
#include "SSBTreeCondition.h"
namespace SceneServer{
class CSSHero;
class CSSBTreeCon_NoEnemyHero : p... | [
"613961636@qq.com"
] | 613961636@qq.com |
4c4ed686f582dbcc08758fc34bcabe993a648705 | 38698091bf4e8bd30685f0accd281b92507e6d5f | /advancedLighting/HDR-toneMapping/HDR2/toneMapping.cpp | 461db24ba5e34e3733d7cc6bee7a8c6448bd627c | [
"MIT"
] | permissive | Ron3/noteForOpenGL | 0e49a6c09d15e119c8058a7ca1ad84ff6782928e | c59e8b55d7cb17085a455fad6b6f300cfe500f0f | refs/heads/master | 2021-01-20T12:28:39.360336 | 2017-02-19T08:23:30 | 2017-02-19T08:23:30 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 14,213 | cpp | // 引入GLEW库 定义静态链接
#define GLEW_STATIC
#include <GLEW/glew.h>
// 引入GLFW库
#include <GLFW/glfw3.h>
// 引入SOIL库
#include <SOIL/SOIL.h>
// 引入GLM库
#include <GLM/glm.hpp>
#include <GLM/gtc/matrix_transform.hpp>
#include <GLM/gtc/type_ptr.hpp>
#include <iostream>
#include <vector>
#include <sstream>
// 包含着色器加载库
#include "shad... | [
"393524628@qq.com"
] | 393524628@qq.com |
f72fa3ea20f8edb2c3b492277e4daaf7ed332921 | 140d78334109e02590f04769ec154180b2eaf78d | /aws-cpp-sdk-application-autoscaling/source/model/ScalableTarget.cpp | ec0ebf9f2d53ef31651414331f5d0c27486b285e | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | coderTong/aws-sdk-cpp | da140feb7e5495366a8d2a6a02cf8b28ba820ff6 | 5cd0c0a03b667c5a0bd17394924abe73d4b3754a | refs/heads/master | 2021-07-08T07:04:40.181622 | 2017-08-22T21:50:00 | 2017-08-22T21:50:00 | 101,145,374 | 0 | 1 | Apache-2.0 | 2021-05-04T21:06:36 | 2017-08-23T06:24:37 | C++ | UTF-8 | C++ | false | false | 3,990 | cpp | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | [
"henso@amazon.com"
] | henso@amazon.com |
6a5d1a2ec37880fcf4e37edc0ade4d109421b3d4 | 2b71f9562f48985c0ac78c0addd90518b2b38d9d | /Exàmens/2019/recuperació/P34239-Suma_màxima.cc | b486538d0dc90e21acb81b4dc60ef1ccad9d3ab6 | [] | no_license | delefme/jutge-informatica | ed05fdd1aa8d95847022dc6cb847749b5817e907 | 4fc45bee293708074b35a62b2a43af44c66092c0 | refs/heads/master | 2023-08-13T17:47:02.779225 | 2020-08-08T22:16:24 | 2020-08-08T22:16:24 | 286,070,634 | 10 | 4 | null | 2021-09-23T19:55:18 | 2020-08-08T15:36:29 | C++ | UTF-8 | C++ | false | false | 446 | cc | #include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
int abs(int x) {
if (x < 0) return -x;
return x;
}
int main() {
int n, d;
while (cin >> n >> d) {
vector<int> v(n);
for (int i = 0; i < n; i++) cin >> v[i];
sort(v.begin(), v.end());
int suma = v[n-1];
int ultim = n-1;
f... | [
"andreuhuguet@gmail.com"
] | andreuhuguet@gmail.com |
5f6f0560ea4b7263418363327c0644b019507e9c | c32ee8ade268240a8064e9b8efdbebfbaa46ddfa | /Libraries/m2sdk/mafia/gui/menu/C_ObjectCreator_TPL_335D96A2.h | 23ffb6347296613242052566ace01a7d03475423 | [] | no_license | hopk1nz/maf2mp | 6f65bd4f8114fdeb42f9407a4d158ad97f8d1789 | 814cab57dc713d9ff791dfb2a2abeb6af0e2f5a8 | refs/heads/master | 2021-03-12T23:56:24.336057 | 2015-08-22T13:53:10 | 2015-08-22T13:53:10 | 41,209,355 | 19 | 21 | null | 2015-08-31T05:28:13 | 2015-08-22T13:56:04 | C++ | UTF-8 | C++ | false | false | 547 | h | // auto-generated file (rttidump-exporter by h0pk1nz)
#pragma once
#include <mafia/gui/menu/C_Functor_TPL_8727B5BD.h>
namespace mafia
{
namespace gui
{
namespace menu
{
/** mafia::gui::menu::C_ObjectCreator<mafia::gui::menu::actions::C_SelectSaveDifficulty> (VTable=0x01E71E68) */
class C_ObjectCreator_TPL_335D96A... | [
"hopk1nz@gmail.com"
] | hopk1nz@gmail.com |
53b59dd34064c10aebff80bc37d9a894be0a8abe | 23716a63aeffdddb0af68e8ed9acb22081e5f453 | /data/maps/AlteringCave_SubCave8/scripts.inc | 7a97b290afc94cfe0faa351a3270ad05f41b7464 | [] | no_license | Dabomstew/pokeemerald-ex-speedchoice | 7ed4ab716591140049ca567550a7c04d219e6e15 | dfe57e873e9a517efe43f45e5e7384fd08f3b12e | refs/heads/master | 2023-04-14T18:06:38.850868 | 2021-05-01T22:59:04 | 2021-05-01T22:59:04 | 363,359,727 | 1 | 0 | null | 2021-05-01T08:25:23 | 2021-05-01T08:25:23 | null | UTF-8 | C++ | false | false | 44 | inc | AlteringCave_SubCave8_MapScripts::
.byte 0
| [
"projectrevotpp@hotmail.com"
] | projectrevotpp@hotmail.com |
f8367340490469b3fec83e0e2bc814a39e9a16ec | 91a882547e393d4c4946a6c2c99186b5f72122dd | /Source/XPSP1/NT/multimedia/directx/dmusic/dmscript/englog.cpp | 86fe8cdb493fb7529d453448b600154f3ab6e3fe | [] | no_license | IAmAnubhavSaini/cryptoAlgorithm-nt5src | 94f9b46f101b983954ac6e453d0cf8d02aa76fc7 | d9e1cdeec650b9d6d3ce63f9f0abe50dabfaf9e2 | refs/heads/master | 2023-09-02T10:14:14.795579 | 2021-11-20T13:47:06 | 2021-11-20T13:47:06 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 8,267 | cpp | // Copyright (c) 1999 Microsoft Corporation. All rights reserved.
//
// Helper functions for logging script parsing. Useful for debugging, but never turned on in released builds.
//
#error This file should never be used in released builds. // §§
#include "stdinc.h"
#include "englog.h"
void LogToken(Lexer &l)
{
cha... | [
"support@cryptoalgo.cf"
] | support@cryptoalgo.cf |
d962ab189552266680b8211b9c5802150935b1c8 | 3837a03fceb06dbe8d4546366750cf5c5478819d | /include/dlstreamer/opencl/tensor_ref_counted.h | 0b6f7fd0b58116c73cf542b14c3d52f64323067d | [
"MIT"
] | permissive | dlstreamer/dlstreamer | b1453b1a79437cf74eaf0438e38f809dd82afae2 | 20f2bb6a0be2cfdb351ab2297a4ac7c4db090ed8 | refs/heads/master | 2023-08-18T14:54:36.496564 | 2023-03-03T20:31:16 | 2023-03-03T20:51:34 | 175,417,729 | 135 | 53 | MIT | 2023-02-07T14:59:51 | 2019-03-13T12:35:56 | C++ | UTF-8 | C++ | false | false | 1,241 | h | /*******************************************************************************
* Copyright (C) 2022 Intel Corporation
*
* SPDX-License-Identifier: MIT
******************************************************************************/
#pragma once
#include "dlstreamer/opencl/tensor.h"
namespace dlstreamer {
class... | [
"mikhail.y.nikolsky@intel.com"
] | mikhail.y.nikolsky@intel.com |
abdfd0ae7308fda854a52fd4f0e1b72f0ff860ee | 5346087552643fae073c6114014649a972abf79f | /Project3/Project3/SinhVien.h | 51f6da79353922fa005f6d7ab3473b140d724210 | [] | no_license | nhomlienquan/Quan-Ly-Thu-Vien | 39f2f3fcffda66a4ed5cb3f04485a6fcd39f93c4 | 396b58cca5194d59097fd4f52a1062aeaa5731eb | refs/heads/master | 2020-05-31T05:03:48.993145 | 2019-06-04T03:01:51 | 2019-06-04T03:01:51 | 190,110,245 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 679 | h | #pragma once
#include "BanDoc.h"
class SinhVien :public BanDoc
{
private:
int nKhoaHoc;
int nLoaiBD;
Date xDate;
public:
SinhVien()
{
nKhoaHoc = 0;
}
SinhVien(string sMaBD, string sHoTen, string sKhoa, int nKhoaHoc)
:BanDoc(sMaBD, sHoTen, sKhoa)
{
this->nLoaiBD = 2;
this->nKhoaHoc = nKh... | [
"noreply@github.com"
] | nhomlienquan.noreply@github.com |
d6d9f5e382316214e129a83a9b24a4f2fa072173 | 3a7434fcdce3d90a2518ec62f37f027e7a207585 | /27. regex/main.cpp | 5e74da911e5c01c3613001ed6b1b2b91ced86fea | [] | no_license | shoter/ADV_Seminarium | 6d792dc40ecd2df85acecc842aaa31d0e0cd5539 | 7237aadf99a41dfaf6e6ac524ec501b794e516e6 | refs/heads/master | 2021-01-10T03:17:22.989661 | 2016-04-06T00:13:33 | 2016-04-06T00:13:33 | 55,480,293 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,660 | cpp | #include <iostream>
#include <dirent.h>
#include <vector>
#include <regex>
#include <string>
#include <algorithm>
std::vector<std::string> getDirectories(const char * location)
{
DIR *dir;
std::vector<std::string> vec;
struct dirent *ent;
if ((dir = opendir (location)) != NULL) {
/* print all the f... | [
"lubiebardzozelki@gmail.com"
] | lubiebardzozelki@gmail.com |
179bbd34aac622ea9303d908eee753fe0a849536 | 85e5e67b0ddb32701b6aad5c3d2a428c768bb41c | /Engine/Camera.h | b3782ce30e520ae09f62cb6f1bc7d86c3c8b1416 | [] | no_license | lim-james/Allure | a6ebca6b2ca1c70bc2108f8ae710c2a88117657d | 6d837a49254d181babf546d829fc871e468d66db | refs/heads/master | 2021-07-18T04:31:08.130059 | 2020-08-21T03:30:54 | 2020-08-21T03:30:54 | 205,639,206 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,587 | h | #ifndef CAMERA_H
#define CAMERA_H
#include "Component.h"
#include "Framebuffer.h"
#include <Events/Event.h>
#include <Math/Vectors.h>
#include <Math/Mat4.hpp>
#include <Bit/BitField.h>
#define PERSPECTIVE 0
#define ORTHOGRAPHIC 1
struct Camera : Component {
using base_type = Camera;
bool isHidden;
bool sho... | [
"jameslimbj@gmail.com"
] | jameslimbj@gmail.com |
62306e5127e11ceac18f78b3351d53bcfeef0577 | 75933a7ef9c77ffb3a06a1cecde79205c2b327ab | /renderdoc/driver/d3d11/d3d11_serialise.cpp | ab6776610bc23a11b983b74c5ebace821e2aa4ca | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | gvvynplaine/renderdoc | 983aac678006942e938aa9599cc4d58b48e04e21 | efafd0b766ea88b8563c7911dd111cbd0c6ffd65 | refs/heads/v1.x | 2023-01-01T19:32:13.183376 | 2020-07-07T14:40:55 | 2020-07-07T17:15:09 | 278,307,900 | 0 | 0 | MIT | 2020-10-30T12:17:30 | 2020-07-09T08:30:17 | null | UTF-8 | C++ | false | false | 28,174 | cpp | /******************************************************************************
* The MIT License (MIT)
*
* Copyright (c) 2019-2020 Baldur Karlsson
*
* 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... | [
"baldurk@baldurk.org"
] | baldurk@baldurk.org |
8c8e85d96a99520c24de828a2df78b3979bb6d8a | a4138202e6d036691bc12e8e868b911bcd6fe641 | /Greedy/kbookings.cpp | 9b55f890d2bf65159a627b64af789dcbd71953c3 | [] | no_license | Irhu007/Programming | c76dc88f3acbdff0f11cc5ae0a615daa853eb2f9 | 5b7053c3f7b6196438b881458a8be806b74ecbe4 | refs/heads/master | 2020-03-22T13:32:38.883895 | 2018-07-18T10:57:13 | 2018-07-18T10:57:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 805 | cpp | #include <bits/stdc++.h>
using namespace std;
bool areBookingsPossible(int arrival[], int departure[], int n, int k)
{
int last_date= departure[0];
int j=0;
int room=1;
for(int i = 1;i<n;i++)
{
if(arrival[i]>last_date)
{
last_date = departure[i];
j=i;
... | [
"amann12997@gmail.com"
] | amann12997@gmail.com |
8a0a31c3e8443e1369bfb69b79f3fc3566c0056d | 93343c49771b6e6f2952d03df7e62e6a4ea063bb | /HDOJ/4825_autoAC.cpp | 1698f3392137a96d013f587ca6be6c69711f4f35 | [] | no_license | Kiritow/OJ-Problems-Source | 5aab2c57ab5df01a520073462f5de48ad7cb5b22 | 1be36799dda7d0e60bd00448f3906b69e7c79b26 | refs/heads/master | 2022-10-21T08:55:45.581935 | 2022-09-24T06:13:47 | 2022-09-24T06:13:47 | 55,874,477 | 36 | 9 | null | 2018-07-07T00:03:15 | 2016-04-10T01:06:42 | C++ | UTF-8 | C++ | false | false | 2,439 | cpp | #include<iostream>
#include<cstdio>
#include<cmath>
#include<cstring>
#define LL __int64
using namespace std;
struct Node {
int num;
Node *next[2];
Node() {
num = 0;
for(int i=0; i<2; i++) {
next[i] = NULL;
}
}
};
char ans[123];
int n,m;
void tstrrev... | [
"noreply@github.com"
] | Kiritow.noreply@github.com |
398191191b8bbf426f2d5e4ce6f3d7603948f450 | 972b3db50e228c2959dd3edf3c9bae025638d82b | /huffmanelementscount.h | 0fcfb2e4984c1f23f142b4ad2a2c801dcb16602e | [
"MIT"
] | permissive | amirduran/jpeg-encoder-decoder | 294977f02e5f3091f177a074f53039e1c907cc49 | 61b6dee27e64587651063a19b5653729bde0047f | refs/heads/master | 2021-01-22T19:14:09.342614 | 2020-06-16T10:01:10 | 2020-06-16T10:01:10 | 27,594,465 | 16 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 272 | h | #ifndef HUFFMANELEMENTSCOUNT_H
#define HUFFMANELEMENTSCOUNT_H
using namespace std;
#include <vector>
class HuffmanElementsCount
{
public:
int codeLength;
vector<int>elementsCodedWithCodeLengthBits;
HuffmanElementsCount();
};
#endif // HUFFMANELEMENTSCOUNT_H
| [
"amirduran"
] | amirduran |
e80c86eb6b18ae6dd4bd766b16320fdb39128e18 | 94e5a9e157d3520374d95c43fe6fec97f1fc3c9b | /@DOC by DIPTA/Old/graph/flow.cpp | 29832badc954e1633f8356d2aeb2b39c8eea92a3 | [
"MIT"
] | permissive | dipta007/Competitive-Programming | 0127c550ad523884a84eb3ea333d08de8b4ba528 | 998d47f08984703c5b415b98365ddbc84ad289c4 | refs/heads/master | 2021-01-21T14:06:40.082553 | 2020-07-06T17:40:46 | 2020-07-06T17:40:46 | 54,851,014 | 8 | 4 | null | 2020-05-02T13:14:41 | 2016-03-27T22:30:02 | C++ | UTF-8 | C++ | false | false | 4,104 | cpp | struct node {
int x, y, next, cap, cost;
};
/**
1. Clear graph
2. Add edge
3. Assign source and sink
4. Pass highestNumberOfNode to maxFlow() or minCostMaxFlow()
*/
///Try to make size of edge array as large possible
const int NODE=101,EDGE=50001;
struct FLOW {
int source, sink;
int head[NODE];
void c... | [
"iamdipta@gmail.com"
] | iamdipta@gmail.com |
87351728ad3d226d02eda82adfecd20888bd191d | 877fff5bb313ccd23d1d01bf23b1e1f2b13bb85a | /app/src/main/cpp/dir521/dir3871/dir4221/dir4222/file4304.cpp | cae5c15284bd8f179160f3639fc85ab384a9d6dd | [] | no_license | tgeng/HugeProject | 829c3bdfb7cbaf57727c41263212d4a67e3eb93d | 4488d3b765e8827636ce5e878baacdf388710ef2 | refs/heads/master | 2022-08-21T16:58:54.161627 | 2020-05-28T01:54:03 | 2020-05-28T01:54:03 | 267,468,475 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 111 | cpp | #ifndef file4304
#error "macro file4304 must be defined"
#endif
static const char* file4304String = "file4304"; | [
"tgeng@google.com"
] | tgeng@google.com |
c4fdc1c3221103302c8dc5fefff6e774fe7cd2a7 | 2ae0b8d95d439ccfd55ea7933ad4a2994ad0f6c5 | /src/plugins/template/tests/functional/op_reference/gather_tree.cpp | e79917a18264679e922f10a706852b8670334b8c | [
"Apache-2.0"
] | permissive | openvinotoolkit/openvino | 38ea745a247887a4e14580dbc9fc68005e2149f9 | e4bed7a31c9f00d8afbfcabee3f64f55496ae56a | refs/heads/master | 2023-08-18T03:47:44.572979 | 2023-08-17T21:24:59 | 2023-08-17T21:24:59 | 153,097,643 | 3,953 | 1,492 | Apache-2.0 | 2023-09-14T21:42:24 | 2018-10-15T10:54:40 | C++ | UTF-8 | C++ | false | false | 8,054 | cpp | // Copyright (C) 2018-2023 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include <gtest/gtest.h>
#include "openvino/opsets/opset1.hpp"
#include "base_reference_test.hpp"
using namespace reference_tests;
using namespace ov;
namespace {
struct GatherTreeParams {
reference_tests::Tensor stepIds;
... | [
"noreply@github.com"
] | openvinotoolkit.noreply@github.com |
ddc878f2b673205bcb35a1700fb5fa15b057f9d6 | 19a98c9965cf0ece2b1c419852f7c7b02b6aca52 | /Task5/Task5/Task5.cpp | fdd8fd2acd6eb9a8bc3287f19079614242b4729b | [] | no_license | rekinx/SW | 273a3429e9d7bc709fe5b503c2a981150e596ce2 | 03dc36a248f5b653fdf3ce6565aa2a90ee38aaf5 | refs/heads/main | 2023-08-28T06:37:36.842928 | 2021-10-27T22:56:09 | 2021-10-27T22:56:09 | 411,675,504 | 0 | 0 | null | 2021-09-29T13:00:00 | 2021-09-29T12:59:59 | null | UTF-8 | C++ | false | false | 917 | cpp | #include<string>
#include<iostream>
#include <random>
using namespace std;
int main() {
int num1 = rand() % 10, num2 = rand() % 10, num3 = rand() % 10, num4 = rand() % 10, num; //5 задание
string hid_num, ans = "0000";
hid_num = to_string(num1) + to_string(num2) + to_string(num3) + to_string(num4);
for (int ... | [
"makary787898@gmail.com"
] | makary787898@gmail.com |
acece0a9e6628529a6bcc6080544e77c3ea3e8ca | dd1645a024f8c17b033bb496df6d97c6539f6a54 | /base/inter/Expr.cpp | fc3484767251a00e4f460471d19e82eefd98718d | [] | no_license | shnere/CParserFinal | 741bd4fcedd91bac0f62f6518dca5aaa4286e882 | 899f9202193a8f3aefd9f7e997a932f0bf2022f6 | refs/heads/master | 2020-12-24T13:21:50.928950 | 2013-05-13T14:33:27 | 2013-05-13T14:33:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 953 | cpp | #include <sstream>
#include "Expr.hh"
std::stringstream out;
Expr::Expr(Token * tok, Type * p)
{
this->op = tok;
this->type = p;
}
Expr::~Expr()
{
}
Expr * Expr::gen()
{
return this;
}
Expr * Expr::reduce()
{
return this;
}
void Expr::jumping(int t, int f) {
this->emitjumps( this->toString(), t, f);
}
voi... | [
"alanrodriguezromero@gmail.com"
] | alanrodriguezromero@gmail.com |
d20de5c1fd31bf863c7f5a24ac8637b79032bb51 | ea1328695989667c9ab168facfa1095ffe55639c | /libs/harfbuzz-ng/src/hb-ot-shape-complex-arabic-fallback.hh | a77f24ec849b6b0b9a9a11b79709d3619ea22fb9 | [
"LicenseRef-scancode-other-permissive",
"MIT-Modern-Variant",
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | amarullz/libaroma | c075058d9e434bdd2faf6ed1d3e3e008666f3146 | cdbe5847d967ae85c442eaf2db7beb08a8cf6713 | refs/heads/master | 2022-12-22T16:09:39.500801 | 2022-12-15T02:37:18 | 2022-12-15T02:37:18 | 29,760,977 | 51 | 33 | Apache-2.0 | 2022-07-11T02:47:17 | 2015-01-24T01:17:06 | C | UTF-8 | C++ | false | false | 12,325 | hh | /*
* Copyright © 2012 Google, Inc.
*
* This is part of HarfBuzz, a text shaping library.
*
* Permission is hereby granted, without written agreement and without
* license or royalty fees, to use, copy, modify, and distribute this
* software and its documentation for any purpose, provided that the
* above copy... | [
"amarullz@yahoo.com"
] | amarullz@yahoo.com |
cad84a45c36ed3018d7bdd265d864d385ec5b345 | 6681adf01f381e276ee5a86942e7075ea8891dbb | /Graph/include/Node/RouterNode.h | d61002a9ac567b6212c1a5e70c2453db341fd5c7 | [] | no_license | k-pypin/BandwidthGraph | 7359c9d4b2bec7c913fe330892d3f30bcf521efb | 17810a0f3a6c57e4d5d9b1fd55bd26c2c316e8f9 | refs/heads/master | 2023-02-05T13:42:12.875974 | 2020-12-28T23:34:38 | 2020-12-28T23:34:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 476 | h | //
// Created by Trojan on 07.12.2020.
//
#ifndef BANDWIDTHGRAPH_ROUTERNODE_H
#define BANDWIDTHGRAPH_ROUTERNODE_H
#include "Node/BaseBandwidthNode.h"
class RouterNode : public BaseBandwidthNode
{
public:
RouterNode() = default;
virtual ~RouterNode() {};
explicit RouterNode(const nlohmann:... | [
"kirill_131097@mail.ru"
] | kirill_131097@mail.ru |
fd43d95c13430163e9683b7845642c337475b0fe | 1d7baf8f25e3cdc2c028f0642a38fb3303a1f831 | /src/param/bean/param.hpp | 5488769dab388ccb61472c836f78cdf672d3ac0f | [] | no_license | fightinggg/pocker | e0cbfd19b47d982c2aa2f50116744573e8119b75 | dd40f8b51ebd3e5f380a67168eaa06c4753119b0 | refs/heads/master | 2023-05-15T03:35:47.037576 | 2021-06-05T03:11:10 | 2021-06-05T03:11:10 | 359,097,772 | 10 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 87 | hpp | #pragma once
#include "./param_type.hpp"
class param {
public:
param_type type;
}; | [
"246553278@qq.com"
] | 246553278@qq.com |
fb663bba326ade165d83724de7b480b13da69221 | debe78f4b03165cb6da68c3b076aa2d1257b967d | /display_list/display_list.h | a20f93f56a025ac66e2c107f50f562c8682ea281 | [
"BSD-3-Clause"
] | permissive | anql/engine | dfa95d60d1b2e5ecaed67a8e07ee27e6c023d1f1 | c9ee05b68e6e54ec95add31378f8d21299bf9e7e | refs/heads/main | 2023-03-17T15:20:48.762580 | 2022-12-21T04:36:48 | 2022-12-21T04:36:48 | 533,702,798 | 0 | 0 | BSD-3-Clause | 2022-09-07T09:48:25 | 2022-09-07T09:48:25 | null | UTF-8 | C++ | false | false | 10,999 | h | // Copyright 2013 The Flutter 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 FLUTTER_DISPLAY_LIST_DISPLAY_LIST_H_
#define FLUTTER_DISPLAY_LIST_DISPLAY_LIST_H_
#include <memory>
#include <optional>
#include "flutter/display... | [
"noreply@github.com"
] | anql.noreply@github.com |
12f03b6af4f0f2c1ed2af7f4e6efe7c9f6eaeaa2 | 21f5356e9fd0b3ab9ee7a5c54e30fd94bb660ee4 | /win32/src/win32crypt/PyCTL_CONTEXT.cpp | 805495386aefe5e81b21722db47ca65515463ab0 | [] | no_license | chevah/pywin32 | 90850232a557ecf054bc316e324aaf60188f2cca | d4ff0b440147ab65f1945991e81163fb1cf1ceaf | refs/heads/master | 2020-03-29T09:46:04.465546 | 2014-10-24T09:11:17 | 2014-10-24T09:11:17 | 25,680,336 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,881 | cpp | // @doc
#include "win32crypt.h"
// @object PyCTL_CONTEXT|Object containing a Certificate Trust List
struct PyMethodDef PyCTL_CONTEXT::methods[] = {
// @pymeth CertFreeCTLContext|Closes the context handle
{"CertFreeCTLContext", PyCTL_CONTEXT::PyCertFreeCTLContext, METH_NOARGS},
// @pymeth CertEnumCTLContextPr... | [
"adi.roiban@chevah.com"
] | adi.roiban@chevah.com |
6c7635822a95cb81406f8dacc32328f49a6a9ca5 | 3ae5046511f265e9ba1be9008e4d22a51601b6e8 | /Source/SideScroller1/World/ColorSwitch.h | 5622c927401126a280c37da2e6f206037607bcc8 | [] | no_license | Daveiac/Master | 3429532d1451ff2f034d8164029e9abfd5ba5300 | d9bdf5d8de0ca03f7312814c846b50ef41a05c76 | refs/heads/master | 2021-01-12T13:54:50.529112 | 2016-06-17T18:54:36 | 2016-06-17T18:54:36 | 54,957,290 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 408 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "Switch.h"
#include "ColorSwitch.generated.h"
/**
*
*/
UCLASS()
class SIDESCROLLER1_API AColorSwitch : public ASwitch
{
GENERATED_BODY()
public:
UPROPERTY(EditAnywhere, Category = "ColorBox")
int32 Channel;
vi... | [
"daveiac@hotmail.com"
] | daveiac@hotmail.com |
868e9dfd97439641e1c4adc679cd2abc8f3d589f | 7f2743effa89a8a36f3b30a7df8e3cec061a2202 | /comlineargs.cc | 849517e413f110a75cf51517020a2126871c50a7 | [] | no_license | allisonchanykei/SchoolCplusplus | 2745972ed33ea995651fa357919fadb5b69be758 | 2c88d5334891692d8f3b7f1715706161716664b1 | refs/heads/master | 2021-01-13T10:21:07.566840 | 2016-09-24T20:56:18 | 2016-09-24T20:56:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 155 | cc | #include <iostream>
using namespace std;
int main (int argc, char* argv[]){
for (int x=0;x<argc;x++){
cout<<argv[x]<<" ";
}
cout<<endl;
return 0;
}
| [
"allisonchanykei@gmail.com"
] | allisonchanykei@gmail.com |
fa91af7654a8ad07b6ff07b4ec937bc0207fe6a4 | 2b82c7a6b694ff9a99604fee2037df4ecc966df3 | /src/curvaturetensor.cpp | aaa3f2a6340bf92394ebd49d1298e0904e3dcbd5 | [] | no_license | juliendvl/modeleur-bmesh | b983bb534078c2bcdeddf2b3a3876d0998346b67 | 027f5ceb8c4d931b25e48f2f3bd4ba9d43f74f3c | refs/heads/master | 2021-01-10T09:28:24.569504 | 2015-07-01T16:44:39 | 2015-07-01T16:44:39 | 35,996,303 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,481 | cpp | #include <iostream>
#include <Eigen/Eigenvalues>
#include "curvaturetensor.h"
#include "mathutils.h"
using namespace std;
using namespace Eigen;
using OpenMesh::Vec2f;
///////////////////////////////////////////////////////////////////////////////
CurvatureTensor::CurvatureTensor(BMesh *m) : m(m) {}
/////////////... | [
"julien.daval@ensimag.grenoble-inp.fr"
] | julien.daval@ensimag.grenoble-inp.fr |
b17eb7939de08d31f71aa2e655732ab5a965628f | 30f1ea99942ebeca2d91eb83b338f6bb0f8cda8a | /library/skia/ext/skia_utils_win.h | 5551db7705f2a27090fab240f00dedd1a894eae0 | [] | no_license | thinkincforeveryone/putty-nd6x | 8d085839b72ad07092eb1b194e0a9b397a8c8ffd | e3efbcdf22bd5323004dccccafd81ce11a359a2f | refs/heads/master | 2020-09-26T18:04:11.415969 | 2019-12-06T10:50:35 | 2019-12-06T10:50:35 | 226,306,231 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,167 | h |
#ifndef __skia_skia_utils_win_h__
#define __skia_skia_utils_win_h__
#pragma once
#include "SkColor.h"
struct SkIRect;
struct SkPoint;
struct SkRect;
typedef unsigned long DWORD;
typedef DWORD COLORREF;
typedef struct tagPOINT POINT;
typedef struct tagRECT RECT;
namespace skia
{
// Skia的点转换成Windows的POINT.
POINT Sk... | [
"thinkinc@163.com"
] | thinkinc@163.com |
ec6b8b34581bd0fe6cfbf062a8e1dfbe01934469 | 9c451121eaa5e0131110ad0b969d75d9e6630adb | /NIT/399.cpp | 1ce37a0869136c0c9362687f06bbdec31462b8d7 | [] | no_license | tokitsu-kaze/ACM-Solved-Problems | 69e16c562a1c72f2a0d044edd79c0ab949cc76e3 | 77af0182401904f8d2f8570578e13d004576ba9e | refs/heads/master | 2023-09-01T11:25:12.946806 | 2023-08-25T03:26:50 | 2023-08-25T03:26:50 | 138,472,754 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,743 | cpp | #include <bits/stdc++.h>
using namespace std;
#pragma comment(linker, "/STACK:1024000000,1024000000")
#define mem(a,b) memset((a),(b),sizeof(a))
#define MP make_pair
#define pb push_back
#define fi first
#define se second
#define sz(x) (int)x.size()
#define all(x) x.begin(),x.end()
#define _GLIBCXX_PERMIT_BACKWARD_HASH... | [
"861794979@qq.com"
] | 861794979@qq.com |
1e5018b48d119ce45f302b78919feed1c2207eaf | ba1faf375c740ac60eb0b3ab334575466b6832b1 | /simple_app/library_dynamic/include/lib_dyn.h | a6b71a76037317f7c9561136c7b288531bfa4f24 | [
"MIT"
] | permissive | UNDEFINED-BEHAVIOR/More-Modern-CMake | a0529a6c352e387a48b65d278dcd1319195b1756 | e8d3e7376b889963eb5ed513c642c9e5f01b228b | refs/heads/master | 2021-07-14T17:51:07.233667 | 2020-07-29T14:16:17 | 2020-07-29T14:16:17 | 192,394,830 | 0 | 0 | null | 2019-06-17T18:02:32 | 2019-06-17T18:02:31 | null | UTF-8 | C++ | false | false | 195 | h | #pragma once
#ifndef NOEXPORT // Not declared
#define EXPORT_OR_NOT __declspec(dllexport)
#else
#define EXPORT_OR_NOT
#endif
class EXPORT_OR_NOT LibDynamic
{
public:
static void hi_fn();
};
| [
"bo.bantukulolarn@gmail.com"
] | bo.bantukulolarn@gmail.com |
e5c3355bf90aa0de9323d7d30d09981f143a21c8 | 16bb3fc4c2966939d41a55d37e226cfdc7e4b186 | /src/cTexture.cpp | 0dfd4a18f7a85dfb82ea7b848b154b7dc55a34b9 | [] | no_license | alexgg-developer/3d_vj2014 | f050d47e2705f4998f4c3a72d997898637f63bb6 | eed25756da422a5e4db4c41f38387a2dcd1b6c10 | refs/heads/master | 2021-01-22T00:58:33.284237 | 2014-06-01T23:10:50 | 2014-06-01T23:10:50 | 20,878,843 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,246 | cpp | #include "cTexture.hpp"
#include <iostream>
Texture::Texture(): mTexture(0), mWidth(0), mHeight(0), mTextureSurface(nullptr), mProgramID(0)
{
}
Texture::~Texture()
{}
bool Texture::init()
{
bool success = true;
mProgramID = glCreateProgram();
GLShader defaultVertexShader;
defaultVertexShader.init(GLShader::... | [
"alexgg.developer@gmail.com"
] | alexgg.developer@gmail.com |
de1f95c0528852dfa0e8eca5c9e1627785902e71 | 55cebabd188a4c2053c1cc8134f0f46b158e7c26 | /src/algorithm/AASqlStructs.cpp | aab53dc62e100f96a873bc0a80e5b0d7cb82fd07 | [
"BSD-3-Clause"
] | permissive | Army-Ant/ArmyAntLib_Old | 8755d41e76058e1769403402dcb171a80252ffbe | f00dc2227870c1bfa7806a91db336300195dabf4 | refs/heads/master | 2021-09-22T22:46:24.102310 | 2018-09-18T10:47:37 | 2018-09-18T10:47:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,046 | cpp | /* Copyright (c) 2015 ArmyAnt
* 版权所有 (c) 2015 ArmyAnt
*
* Licensed under the BSD License, Version 2.0 (the License);
* 本软件使用BSD协议保护, 协议版本:2.0
* you may not use this file except in compliance with the License.
* 使用本开源代码文件的内容, 视为同意协议
* You can read the license content in the file "LICENSE" at the root of this pro... | [
"261343578@qq.com"
] | 261343578@qq.com |
5a00ce37eae7703621ead3e3ff25327a70440ac9 | bb0fcccf60fa9e0ffc2c36a2a381e5812b43dc08 | /LEETCODE/INTERVIEW/136.cpp | e6273e4aaf7e8f18bcb5f7d7eda1791c70f7a4cf | [
"CC0-1.0",
"LicenseRef-scancode-public-domain"
] | permissive | PraneshASP/COMPETITVE-PROGRAMMING | eec52f14f1a77892b4dac5a35d1bda731de0faa3 | 2fb68734146ef64f5c6eb6cf3e8191e362301d75 | refs/heads/master | 2022-12-21T15:29:04.443467 | 2020-10-01T05:45:47 | 2020-10-01T05:45:47 | 298,556,530 | 0 | 0 | NOASSERTION | 2020-09-25T11:43:12 | 2020-09-25T11:43:11 | null | UTF-8 | C++ | false | false | 1,259 | cpp | /*
136. Single Number
Given a non-empty array of integers, every element appears twice except for one. Find that single one.
Note:
Your algorithm should have a linear runtime complexity. Could you implement it without using extra memory?
Example 1:
Input: [2,2,1]
Output: 1
Example 2:
Input: [4,1,2,1,2]
Output: 4
... | [
"duhan.sachin2610@gmail.com"
] | duhan.sachin2610@gmail.com |
855af90b76f61a8ae60052e59f3ec86dcc04805c | e79e60cbad3a63c308c0d4dd2f1dcf47d1a7c6e9 | /src/Util/Random.cpp | ffd61ff549c3a839f8aeafa94866f1b64d1b80fc | [] | no_license | sfalexrog/cmc-terrain | d50de1918b7816c2e5a1d7c748dfe538c045de62 | d11057eeff577ad0c2af49dff8033786c3c9a2ac | refs/heads/main | 2023-07-15T22:08:09.531727 | 2021-08-21T18:34:27 | 2021-08-21T18:34:27 | 338,887,096 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 692 | cpp | #include "Random.hpp"
#include <chrono>
#include <limits>
namespace rng
{
Xorshift128p::Xorshift128p()
{
auto currentTime = std::chrono::system_clock::now();
auto epochTime = currentTime.time_since_epoch();
currState.a = epochTime.count();
// FIXME: needs more random initial state
currState.b = c... | [
"sfalexrog@gmail.com"
] | sfalexrog@gmail.com |
7a8035250e9cd87e177e86ed442f69c46ad2d1eb | e687e5b301ac021be140d11f88dc4b6309e78a48 | /Arrays/2. Maximum and Minimum.cpp | a89a13a9c01a386f85ea5c9abb1f6044f953c16c | [] | no_license | impolska742/dsa-450 | 00811d7b3f595085094e81cbef8ffaa272e686d8 | f26a61af920cea0f00dd51dc1f0a5dc8711eb10d | refs/heads/master | 2023-05-26T08:14:17.789961 | 2021-06-14T11:13:18 | 2021-06-14T11:13:18 | 372,952,500 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,889 | cpp | #include "useful.h"
// O(n) => O(N) + O(N)
// Time complexity => O(N)
// Space Complexity => O(1)
pair<int, int> naiveSolution(int arr[], int n) {
int minimumElement, maximumElement;
minimumElement = INT_MAX;
maximumElement = INT_MIN;
// For minimum element
for (int i = 0; i < n; i++) {
if (arr[i] < minimumEl... | [
"vaibhav19bhardwaj@gmail.com"
] | vaibhav19bhardwaj@gmail.com |
bbce506ffb62d5d739e3de18fb4e1adb7f71c059 | 44db1ec8d639d2e78583e2844e5de1b38a1ca26f | /C(++)/GFX/GDI01/GDI01/GDI01.cpp | 5e93e01c0df1cd3e86437e2db29ace56b489e1a7 | [] | no_license | braindef/code | adfb4e8980fd0fdbf23e051a5ffad72be22ae12d | f6fbaf3f1b1c41df391c706278b5bcb4e83d2ac2 | refs/heads/master | 2020-04-01T08:00:59.721124 | 2018-10-14T20:02:56 | 2018-10-14T20:02:56 | 153,013,739 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 2,845 | cpp |
#include <GDI01.h>
#include <windows.h>
#include <string.h> //für strcpy
#define MAXSIZE 500
LRESULT CALLBACK WinProc(HWND, UINT, WPARAM, LPARAM);
double hektor(long);
HINSTANCE hProgram;
HWND hWnd;
HDC hDC;
double x[MAXSIZE*MAXSIZE+1], y[MAXSIZE*MAXSIZE+1];
double z[MAXSIZE*MAXSIZE+1];
double r... | [
"asdf@asdf.com"
] | asdf@asdf.com |
565e2b3d13a87d627a5b2c4f8a96f31c56334d7e | d93159d0784fc489a5066d3ee592e6c9563b228b | /JetMETCorrections/FFTJetObjects/interface/FFTJetRcdMapper.h | 88cce934c331f37fc23640f0529565ec6868fee7 | [] | permissive | simonecid/cmssw | 86396e31d41a003a179690f8c322e82e250e33b2 | 2559fdc9545b2c7e337f5113b231025106dd22ab | refs/heads/CAallInOne_81X | 2021-08-15T23:25:02.901905 | 2016-09-13T08:10:20 | 2016-09-13T08:53:42 | 176,462,898 | 0 | 1 | Apache-2.0 | 2019-03-19T08:30:28 | 2019-03-19T08:30:24 | null | UTF-8 | C++ | false | false | 3,750 | h | #ifndef JetMETCorrections_FFTJetObjects_FFTJetRcdMapper_h
#define JetMETCorrections_FFTJetObjects_FFTJetRcdMapper_h
//
// A factory to combat the proliferation of ES record types
// (multiple record types are necessary due to deficiencies
// in the record dependency tracking mechanism). Templated
// upon the data type... | [
"giulio.eulisse@gmail.com"
] | giulio.eulisse@gmail.com |
f197b2984e997da7ff0be7c18266d824913a92f8 | b6eabe93e2f67577f0c797a033a5d74a8a60cb17 | /Exercice1-1/main.cpp | d1d1c810b5f6f6c9fa085a4874e4413ee671972e | [] | no_license | gottburgm/INF1 | 9a884b25f5bbc992a854409809111b1752d86444 | eeab08da1a623b2102c55570387c5d52bfa3d19e | refs/heads/master | 2021-01-21T20:47:59.743569 | 2018-09-19T15:21:11 | 2018-09-19T15:21:11 | 69,362,560 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 508 | cpp | /*
-----------------------------------------------------------------------------------
Fichier : main.cpp
Auteur(s) : Robin Fournier
Date : 27.09.2016
But : Afficher un bonhomme dans la console
Remarque(s) : -
Compilateur : MinGW-g++ 4.8.1
----------------------------------------------------------------... | [
"fournier.robin@gmail.com"
] | fournier.robin@gmail.com |
9255221f3bc9e73c9b71e36d9fbde7bf42aca5a9 | 208c9c4fc8d8ad06f1ca56a0a68470927534c190 | /Hello.cpp | 5b2f5662b0751da3d700506a1927f671e219a178 | [] | no_license | Tenderest/CPP-Learning | e367adf5c0abb497992c0d4f5c8ce2289db0faf9 | 7fc92c96b00f9ecf8c27f68039a6fea4bb1fbb8d | refs/heads/main | 2022-10-15T19:36:29.384763 | 2022-05-27T08:55:27 | 2022-05-27T08:55:27 | 233,337,137 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 139 | cpp | #include <iostream>
int main(void)
{
// using namespace std;
std::cout << "Hello World!" << std::endl;
return 0;
}
| [
"2087886585@qq.com"
] | 2087886585@qq.com |
7fba1477c13b05331f2f38f8288c871834f013a3 | ed9e559e7292285afce8070576eff1ac852af399 | /src/Widget.hpp | a6c7d97a998125f939bd3c73c9b8a06841af09b6 | [
"Unlicense"
] | permissive | tybl/goon | ea035853d098614d98d9c4b56a04b24f7bcb68fb | 9c7ae6e309457327465252f200964d95c8dfde17 | refs/heads/dev | 2023-09-01T10:57:53.373716 | 2023-08-18T19:36:22 | 2023-08-18T19:37:46 | 672,677,647 | 0 | 0 | Unlicense | 2023-08-18T19:37:48 | 2023-07-30T22:17:06 | C++ | UTF-8 | C++ | false | false | 506 | hpp | // License: The Unlicense (https://unlicense.org)
#include <SDL2/SDL.h>
struct widget {
widget(SDL_Renderer* p_renderer);
void render(SDL_Renderer* p_renderer);
void handle_keyboard_event(SDL_Keycode p_key);
void handle_window_event(SDL_WindowEvent p_key);
private:
void move_forward(void);
private:
dou... | [
"t.brandon.lyons@gmail.com"
] | t.brandon.lyons@gmail.com |
d00642527075c5696b0823290468ae9fdd993368 | 39d02ab2d4b1dbaaa94030dc2f0d1020ed308cb2 | /snowman.cpp | c4af3c111dcf02d09f14fa9ef75a7f994bd01011 | [
"MIT"
] | permissive | shayperetz6/cpp-snowman-b | f3a8480be98f84b984c9648af566c2662a64844d | fe3a4b69d2e98bf74c49e1e10523c2c8737f30dc | refs/heads/main | 2023-03-24T01:00:40.077943 | 2021-03-20T23:55:47 | 2021-03-20T23:55:47 | 347,577,036 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,994 | cpp | #include <string>
#include <array>
#include <iostream>
#include <stdexcept>
#include "snowman.hpp"
const int ROW =8;
const int COL= 4;
const int SIZE =8;
using namespace std;
const int HEAD=0;
const int NOSE=1;
const int LEFTEYE=2;
const int RIGHTEYE=3;
const int LEFTARM=4;
const int RIGHTARM=5;
const in... | [
"noreply@github.com"
] | shayperetz6.noreply@github.com |
3274f4755c1641ffb401e688a3d276a755b8ad6e | 71f2a62b3bb20eac1f3e0736a6de5f39d8fa8d5b | /src/codegen/cc_hash_table_proxy.cpp | ee3bb2a9a1b297524df7762b23761e8848b5e8cb | [
"Apache-2.0"
] | permissive | hanli32/peloton | aef49911fef78df2af621c5237f2835c63ae5a97 | 6afba19f530311a498a3e5e9160c98d1b8b93695 | refs/heads/master | 2021-01-11T18:04:42.584128 | 2017-05-06T02:41:02 | 2017-05-06T02:41:02 | 87,267,565 | 1 | 1 | null | 2017-04-27T03:08:18 | 2017-04-05T04:57:26 | C++ | UTF-8 | C++ | false | false | 5,585 | cpp | //===----------------------------------------------------------------------===//
//
// Peloton
//
// cc_hash_table_proxy.cpp
//
// Identification: src/codegen/cc_hash_table_proxy.cpp
//
// Copyright (c) 2015-17, Carnegie Mellon University Database Group
//
//===----------------------------------... | [
"pavlo@cs.brown.edu"
] | pavlo@cs.brown.edu |
2b89fc51532092f80c3a6853550370877bdacccc | f8573941754a429f481c18b46ad5337d1bb55609 | /PhysX.Net 3.3.1/PhysX.Net-3.3/PhysX.Net-3/Source/ArticulationLink.cpp | 64f449251d27e025305d583b990a9c746fe13a17 | [] | no_license | frbyles/ExcavatorSimulator | 409fa4ad56ba3d786dedfffb5d981db86d89f4f5 | c4be4ea60cd1c62c0d0207af31dfed4a47ef6124 | refs/heads/master | 2021-01-19T11:38:04.166440 | 2015-11-12T17:45:52 | 2015-11-12T17:45:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,457 | cpp | #include "StdAfx.h"
#include "ArticulationLink.h"
#include "Articulation.h"
#include "Scene.h"
#include "Physics.h"
//#include <PxArticulation.h>
ArticulationLink::ArticulationLink(PxArticulationLink* articulationLink, PhysX::Articulation^ owner)
: RigidBody(articulationLink, owner->Scene->Physics)
{
}
Articulatio... | [
"seifes1@gmail.com"
] | seifes1@gmail.com |
053548065b2fb986ca150fc64269fb0819229dc1 | 62a75cc643e0d9214c0f2020bcb2ae282a57e9c6 | /sdk/core/azure-core/test/ut/datetime_test.cpp | c577efee95605cc20af0fdf4d644ddd4ab34b83a | [
"MIT",
"LicenseRef-scancode-generic-cla",
"curl",
"LGPL-2.1-or-later",
"BSD-3-Clause",
"ISC"
] | permissive | ysriram-adobe/azure-sdk-for-cpp | 93a2e1b1225c2bb58206fe68c6878edfa8ab7920 | cfd115ed59ab264b51f434266559a7816a258deb | refs/heads/master | 2023-08-11T02:59:16.517625 | 2021-10-01T21:06:49 | 2021-10-01T21:06:49 | 281,162,863 | 0 | 0 | MIT | 2020-07-20T16:00:53 | 2020-07-20T16:00:52 | null | UTF-8 | C++ | false | false | 34,148 | cpp | // Copyright (c) Microsoft Corporation. All rights reserved.
// SPDX-License-Identifier: MIT
#include <gtest/gtest.h>
#include <azure/core/datetime.hpp>
#include <chrono>
#include <limits>
using namespace Azure;
// cspell:words AGMT, CEST
TEST(DateTime, ParseDateAndTimeBasic)
{
auto dt1 = DateTime::Parse("20130... | [
"noreply@github.com"
] | ysriram-adobe.noreply@github.com |
af9f437e2fd28e26933b59f51a2dd3432b8309a4 | ef7f3ee0f60aa7d0673b7b2371762d053e13a1e3 | /sidak/competitive.cpp | 77d823a12bc2d718926c5271069c566d417772d5 | [] | no_license | sidakwalia/c-code | d571a105e5a3df1a71b8a7eb576dd3856ca50763 | 76509573814c608fa75cce7bee779f49cd17e1c4 | refs/heads/master | 2021-05-22T15:55:02.722813 | 2020-04-04T18:22:58 | 2020-04-04T18:22:58 | 252,991,419 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 519 | cpp | #include<iostream>
using namespace std;
void printArr(int arr[], int n)
{
for (int i = 0; i < n; i++)
cout << arr[i] << " ";
}
void sum(int arr[],int n){
if(n<3)
return ;
int first=arr[0];
int second=arr[1];
for(int i=0;i<n-2;i++){
arr[i]=arr[i+1]+arr[i+2];
arr[n - 2] = arr[n - ... | [
"sidakw@gmail.com"
] | sidakw@gmail.com |
64208fa6abd9843898830983519145ffe2ab39b4 | eaf2c3ee81884c54137844315dc37b26bde11404 | /sfmf2/source/taskbar.cpp | 935e4b9568c4652c5b6c02c788b715f39e8d9318 | [] | no_license | sfpgmr/sfmf2 | fa2f4a9cf0f219f7f2e9570e51906128dcc98874 | 73091ed5ca0f9e8e7435e1779bce08dc3412ef48 | refs/heads/master | 2016-08-04T09:08:41.963714 | 2014-03-22T21:54:48 | 2014-03-22T21:54:48 | 14,905,785 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,948 | cpp | #include "StdAfx.h"
#if _DEBUG
#define _CRTDBG_MAP_ALLOC
#include <crtdbg.h>
#define new new(_NORMAL_BLOCK, __FILE__, __LINE__)
#endif
#include "sf_windows.h"
#include "taskbar.h"
namespace sf {
const int taskbar::none = TBPF_NOPROGRESS;
const int taskbar::indeterminate = TBPF_INDETERMINATE;
const int taskbar::no... | [
"sfpgmr@gihub.com"
] | sfpgmr@gihub.com |
2a8b577a4a9ef62bb0dc61820d0f831ed760b176 | b10c93bc8fb4973e2a5aa0f258326d8e18f92ef8 | /src/ParticleSystem.cpp | 562a4fad989396b71931abfbf6a7c24ffd0ccf17 | [] | no_license | erumeldir/musicVisualizer | 3138b6e68f183531c79096e9928f044f4b756eac | 61a9a4098722932ba295701fd407ba54127d53a2 | refs/heads/master | 2021-01-22T13:46:48.496495 | 2013-12-14T00:54:27 | 2013-12-14T00:54:27 | 14,517,434 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,912 | cpp | #include "ParticleSystem.h"
#include "SOIL.h"
ParticleSystem::ParticleSystem(Vector3 pos, int nParticles, double lifetime, char* spriteName, Shader* partShader)
{
// create space for all for the particles
particles = new Particle[nParticles];
numParticles = nParticles;
position = pos;
globalLifetime = lifet... | [
"ding@ucsd.edu"
] | ding@ucsd.edu |
de2b205e1edbd394b15fee753ab3ae280d0ba9ec | b62a2498f227f9dee8c999bef091b08f2338ce78 | /src/ControlWithLabel.cpp | eaf775241184e60e0f59a06c27412e3c0533b56c | [
"MIT"
] | permissive | morphogencc/Cinder-UI | 864c6d8a6260cb5becdedb4fe7e7802fce94b7b4 | c69aa02fdf0ad5d60bfb270c35f10bfc590f6850 | refs/heads/master | 2020-03-24T19:11:56.954176 | 2020-03-07T20:06:55 | 2020-03-07T20:06:55 | 142,911,467 | 0 | 0 | null | 2018-07-30T18:11:18 | 2018-07-30T18:11:18 | null | UTF-8 | C++ | false | false | 422 | cpp | #include "ControlWithLabel.h"
using namespace reza::ui;
using namespace ci;
using namespace std;
ControlWithLabel::ControlWithLabel()
: Control()
{
}
ControlWithLabel::~ControlWithLabel()
{
}
void ControlWithLabel::changeState()
{
Control::changeState();
if( mLabelRef ) mLabelRef->setState( mState );
}
void Con... | [
"syed.reza.ali@gmail.com"
] | syed.reza.ali@gmail.com |
8789090baa14bfba57009c25e7197f77f05c0adf | 25e1610996ec35ebc32bbadaf01c1706c754110e | /glorious/Debug.h | 28fd11ef05148bc54139dfb5d2746a08a0165c17 | [] | no_license | ianpas/glorious | 7f94f726945465a947cf583cf78c1a55c5e08f19 | 8ed3b7c1d552d97c7d2250f201a2d59606679171 | refs/heads/master | 2021-01-24T20:26:08.036898 | 2018-02-28T12:15:53 | 2018-02-28T12:15:53 | 123,251,353 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 170 | h | #pragma once
namespace Glorious
{
class Debug
{
public:
static void Log(std::string const& message);
static void PopMessageBox(std::string const& message);
};
}
| [
"ianpas@126.com"
] | ianpas@126.com |
e4147390da9ad7c7f54e64c42c1e9e6812bba82f | 84cf2dc2cddb2e5963d8d5427183a364614f0e14 | /dec4/part2.cpp | 50662ae091ad411f427c16e1205e24e67d545b28 | [] | no_license | cmavrogiannis/adventofcode2017 | 1baba8500c13703f645ac8ca1a9606570b893edc | 0364352753a639dba3998ccff01384c58f41b139 | refs/heads/master | 2021-08-24T12:40:55.893253 | 2017-12-09T23:23:21 | 2017-12-09T23:23:21 | 113,380,944 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 740 | cpp | #include <iostream>
#include <fstream>
#include <sstream>
#include <vector>
#include <algorithm>
using namespace std;
bool is_valid(istream &input)
{
vector<string> word;
string w;
string line;
getline(input,line);
istringstream is(line);
while(is >> w)
{
word.push_back(w);
}
int N = word.size();
for (in... | [
"ccmavrogiannis@gmail.com"
] | ccmavrogiannis@gmail.com |
b800afd3b17005459a70168690c1883d90ff5ebc | 0c51500f87101f13c471f0c310e9451a87adc714 | /flammap/win32/burnupw.cpp | ab23a6c27cefaeaaf306669edeed152270a7decc | [
"LicenseRef-scancode-public-domain",
"Unlicense"
] | permissive | firelab/wfips | a5e589fde41579e87008a7900a87692ec985e529 | 6b3bd4934d281ebb31164bd242a57079a82053b0 | refs/heads/master | 2020-05-01T06:03:41.792664 | 2017-01-27T19:31:55 | 2017-01-27T19:31:55 | 14,540,320 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 65,942 | cpp | //------------------------------------------------------------------------------
// Burnup, Albini and Reinhardt
//
//
//------------------------------------------------------------------------------
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include <w... | [
"kyle@pobox.com"
] | kyle@pobox.com |
c7ff5731b2195f26cfba0441cdef4ca83d639f67 | bcf6d899cdb948b17cadff23cb229bc6992949d7 | /TP1/1°Lista/.Primeira Lista - Projetos UI end + UML/_PRONTO!!!/ProjetoPaciente/ProjetoPaciente/mainwindow.cpp | 86ba2992e9f1d3cb6e12fd472ade6a362d2975cd | [] | no_license | YugoVtr/QT | 06d8b10f6de6dc98e7be82799b6f3c16f0d9b2ce | 702985b63d5473529e407069e0945aca0c17acc1 | refs/heads/master | 2021-01-21T20:34:07.379678 | 2017-06-08T02:52:43 | 2017-06-08T02:52:43 | 92,247,583 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 978 | cpp | #include "mainwindow.h"
#include "ui_mainwindow.h"
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
ui->setupUi(this);
}
MainWindow::~MainWindow()
{
delete ui;
}
void MainWindow::on_pushButtonCalcular_clicked()
{
try {//Monitoramento das exeções
//c... | [
"vtrhg69@hotmail.com"
] | vtrhg69@hotmail.com |
416d883b4203b13e145824ec280064926ee1773f | 005ead270fdff9ad85513d0b2e345dea11e2fbb4 | /Q040_Combination Sum II.cpp | f1cd96ec21b99ec245f23040524fce212d21e8c4 | [] | no_license | wangqinghe95/Code-Leetcode | 222d5d50e5f81b25549d61810618a50849fc3269 | 3cdcdf2047e0c41485817e04c8e23853e9332c63 | refs/heads/master | 2023-04-29T20:44:22.764343 | 2021-05-16T05:40:27 | 2021-05-16T05:40:27 | 274,806,554 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,094 | cpp | /*
在一个数组中找到和为target的组合
用一个hash映射来表示出现数字的值和次数关系
再用回溯直接求出所有可能
采用两个措施来剪枝
1、判断当前选中的值是否大于target(或者剩余的值是否大于0)
2、选择的数的个数是否超出总体个数
*/
class Solution {
vector<pair<int,int>> freq;
vector<vector<int>> ans;
vector<int> sequence;
public:
void dfs(int pos, int rest){
if(rest == 0){
ans.push_back... | [
"675072584@qq.com"
] | 675072584@qq.com |
78712305cb7823b556e6f3b8156418cbcb6b2c97 | a9a18e8bbe336b9c5e89d280c91a050c58f9ee01 | /node/c++_addon/hello.cc | 1af055ccac0c7801da436c2f9a6c56db51d2af26 | [] | no_license | dalent/gitcode | 1757ae95326f1080ceeaa58d25ee55ca1f275c8c | 53267bfae1f6268323639a3a28ee9aec381f87e0 | refs/heads/master | 2021-01-17T10:45:50.640395 | 2017-03-02T02:21:16 | 2017-03-02T02:21:16 | 13,564,066 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 342 | cc | #include <node.h>
#include <v8.h>
using namespace v8;
Handle<Value> Method(const Arguments& args) {
HandleScope scope;
return scope.Close(String::New("world"));
}
void init(Handle<Object> exports) {
exports->Set(String::NewSymbol("hello"),
FunctionTemplate::New(Method)->GetFunction());
}
NOD... | [
"anqiu1987@sina.com"
] | anqiu1987@sina.com |
2a9737e712be3e710a6d1dc1fec45bd9993f3359 | 8f72438d5f4ca7219df3ae7799c3282faab5e33e | /Uva/Uva - 1124 Celebrity jeopardy.cpp | b50076e1d1fa55f5974b24ca9c77e0e0d879c983 | [] | no_license | mdzobayer/Problem-Solving | 01eda863ef2f1e80aedcdc59bbaa48bcaeef9430 | a5b129b6817d9ec7648150f01325d9dcad282aed | refs/heads/master | 2022-08-15T22:04:18.161409 | 2022-08-08T11:46:00 | 2022-08-08T11:46:00 | 165,687,520 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 990 | cpp | #include <bits/stdc++.h>
using namespace std;
/// Read & Write to File Short-Cut
#define fRead(x) freopen(x, "r", stdin)
#define fWrite(x) freopen(x, "w", stdout)
/// Data type Short-Cut
#define LLI long long int
#define ULL unsigned long long int
#define ff first
#define ss second
#define mk make_pair
#define phb pus... | [
"mdzobayer@rocketmail.com"
] | mdzobayer@rocketmail.com |
582603f034c5e65c5645c63a5833769a0ea394e4 | 4b86dafab3b94532e4308988352a53659fa7b854 | /hls/resnet50_3/solution1/syn/systemc/dataflow_in_loop.cpp | d9dcd7f91b9978bc5b83929565cc739f89609260 | [] | no_license | sterngerlach/ResNet-50_INT8 | 22842ee435f8d7574f05b1c40aa82cb714df8edf | e813beb03158b7df5eee46e9382011a140f6ead2 | refs/heads/main | 2023-08-25T01:41:56.795030 | 2021-11-04T04:49:11 | 2021-11-04T04:49:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 36,438 | cpp | // ==============================================================
// RTL generated by Vivado(TM) HLS - High-Level Synthesis from C, C++ and SystemC
// Version: 2019.1.3
// Copyright (C) 1986-2019 Xilinx, Inc. All Rights Reserved.
//
// ===========================================================
#include "dataflow_in_... | [
"yasu@am.ics.keio.ac.jp"
] | yasu@am.ics.keio.ac.jp |
9d6b8257ab794de7fe5b208f7ed2cde5eace3181 | 0348744c233b0e94f623b8ee7b662aea4faaf0ea | /Magical_Tree.cpp | eec0f73924aee0fe77b685a149a6a0196d3be8a1 | [] | no_license | Shashank-Varnekar/Basic-Programming-Hackerearth | bbf495884cac38d111deeefae92f32b3bed9d791 | 42a179f08be38878057107bb46698bddf51b7434 | refs/heads/master | 2023-04-28T20:28:59.760056 | 2021-05-17T15:31:16 | 2021-05-17T15:31:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 641 | cpp | #include<iostream>
using namespace std;
int main()
{
int L;
cin >> L;
int n = L;
int arr[n];
int k=0;
while(L--){
string str;
cin >> str;
int sum = (str[0] - '0');
int len = str.length();
for(int i=1; i<len-1; i+=2){;
if(str[i] == '+'){
... | [
"noreply@github.com"
] | Shashank-Varnekar.noreply@github.com |
2a46f108bc5e5cbe69f8eb18b33dc7f32c505825 | 35142ada4f02ef34ad47307d3b9770b7c97674b5 | /include/engine/eval.hpp | c8280d0e8756a07de0f5fb480009cc16729d44cb | [] | no_license | BK1603/Wolf-Gang-Engine | 83e58ed1b79b6538dd3493fd7e7fb1ea1f8378e5 | 182c87dbefd3bfd1014f09dd151f4729b7045838 | refs/heads/master | 2020-03-08T16:28:17.659552 | 2018-03-29T03:40:20 | 2018-03-29T03:40:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,505 | hpp | #include <string>
#include <map>
#include <functional>
#include "utility.hpp"
class evaluator
{
std::string expression;
std::map<std::string, double> variables;
std::map<std::string, std::function<double(double)>> functions;
bool is_whitespace(char c)
{
return (
c == ' ' ||
c == '\t' ||
c == '\n' ||... | [
"capnsword@gmail.com"
] | capnsword@gmail.com |
56f95a32d82e982bab0f45d3abd4ee867826d463 | b27cbaad60e5489353d3c78c8e5784d6f7bfa1d6 | /unityplugin/UnityEmulator/src/DiligentGraphicsAdapterD3D12.cpp | 18e2ae0197f0700c995ce3a29e1c96ce91ebe8eb | [
"Apache-2.0"
] | permissive | southdy/DiligentEngine | 55ad45b3b1754e5efe26e76b372f13d84214392c | b8d12b47de3213beb873630ca4a9c0110d875334 | refs/heads/master | 2020-05-07T18:25:22.789723 | 2019-04-07T20:24:13 | 2019-04-07T20:24:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,488 | cpp |
#include <array>
#define NOMINMAX
#include <D3D12.h>
#include <dxgi1_4.h>
#include <atlbase.h>
#include "UnityGraphicsD3D12Impl.h"
#include "DiligentGraphicsAdapterD3D12.h"
#include "UnityGraphicsD3D12Emulator.h"
#include "SwapChainD3D12.h"
#include "TextureD3D12.h"
#include "RenderDeviceD3D12.h"
#include "DeviceCont... | [
"egor.yusov@gmail.com"
] | egor.yusov@gmail.com |
2b3147ba06127460b739925f045c63efb7a4eece | 8c5124aca14e5dff9038afd13d59731143e7da91 | /June Challenge/Day 22.cpp | 75a3ae7f8e1c4b0c37d63fae65eb4d4008c4a5d4 | [] | no_license | raghavagrawal52/Data-Structures-and-Algorithms | 48a1536eaa5d23f11770d37c8902f5a4015b2aed | b91bd620f444ab2d6956dbff73b4784c5522b9ed | refs/heads/master | 2022-11-18T09:56:07.957461 | 2020-07-19T07:18:10 | 2020-07-19T07:18:10 | 265,901,366 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 330 | cpp | static int x = [](){ios::sync_with_stdio(false),cin.tie(NULL); return 0;}();
class Solution {
public:
int singleNumber(vector<int>& nums) {
int first = 0, second = 0;
for(int i: nums) {
first = (first^i) & ~second;
second = (second^i) & ~first;
}
return first;... | [
"noreply@github.com"
] | raghavagrawal52.noreply@github.com |
ae2dbea8aa24e30cc2fece02b143d3c125bbc517 | 7487c08a56546157df3f3681b03a7ec5d3bb9c44 | /pgn/mainwindow.cpp | b1281b3e786af00435f740faff8b4b0b07a24392 | [] | no_license | ifanatic/chessgameviewer2 | 431dbdf41474e7d1a2876ba85b431f8827602091 | 90966a7f36f9358666a4a5300f59989389e19d9e | refs/heads/master | 2021-01-22T20:25:49.698309 | 2012-09-13T02:54:30 | 2012-09-13T02:54:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,331 | cpp | #include "mainwindow.h"
#include "ui_mainwindow.h"
#include <QSqlQuery>
#include <iostream>
#include <sstream>
#include <QSqlRecord>
#include <QMessageBox>
#include <QModelIndexList>
#include <iostream>
#include "ply.h"
#include "fenform.h"
#include <QFileDialog>
#include <QProgressDialog>
#inc... | [
"nikolay@3divi.com"
] | nikolay@3divi.com |
f9d623267c033a6e82fca7fb5445b45ae28d8443 | 2ac1753652a65cb0beb4d1f83ae860060741d4f0 | /MartaVegaBayo_MasterThesis/PubmedParser/AbstractParser.h | 4ba7b705e2e3aedba3512367c9b206407c38caa5 | [] | no_license | marta123456/ReferenceRecommendationForScientificArticles | b732acaf6b018876a60fda9c3e7f5a7edb30c3c5 | 762fa608427efb983f73daa23f0d61187dc8ae8f | refs/heads/master | 2021-01-10T07:18:59.057105 | 2016-01-24T09:41:56 | 2016-01-24T09:41:56 | 50,256,680 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 688 | h | //Declaration of the class AbstractParser
#if !defined (_ABSTRACTPARSER_H_)
#define _ABSTRACTPARSER_H_
#include "../DataModel/CArticleParsed.h"
#include "../Pugixml/pugixml.hpp"
#include "ParserBase.h"
/**
AbstractParser class.
This class has methods and attributes to parse from the DOM of an XML article with the JA... | [
"martavegabayo@gmail.com"
] | martavegabayo@gmail.com |
0b8d6c1d1e21e4b9cfd3040652dfc69dcbbc8d7c | b22588340d7925b614a735bbbde1b351ad657ffc | /athena/MuonSpectrometer/MuonCnv/MuonEventTPCnv/src/MuonRIO_OnTrack/CscClusterOnTrackCnv_p2.cxx | 25b4e6853bfe1154f1aedded9c52d5188f41e0c3 | [] | 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 | 3,097 | cxx | /*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
//-----------------------------------------------------------------------------
//
// file: CscClusterOnTrackCnv_p2.cxx
//
//-----------------------------------------------------------------------------
#include "MuonRIO_OnTrack/CscClus... | [
"rushioda@lxplus754.cern.ch"
] | rushioda@lxplus754.cern.ch |
9b016bed6b32fc0d377b62f31ea865f1bc4b5cea | 0202c7495ff3513cac263ed9efda87269cb5f49a | /hazelcast/src/hazelcast/client/connection/HeartbeatManager.cpp | cad80c6f7a581a1935b2c398a520aa4dcd1bf7a4 | [
"Apache-2.0"
] | permissive | dpwegener/hazelcast-cpp-client | 66ebf2aadd5c8ba63ceabca75485b1d554e4ede0 | 3b50b88f434fbc49e39c8b00601756233990c2a8 | refs/heads/master | 2020-03-19T04:38:18.089140 | 2018-06-01T11:36:42 | 2018-06-01T11:36:42 | 135,848,799 | 0 | 0 | Apache-2.0 | 2018-06-02T20:08:35 | 2018-06-02T20:08:35 | null | UTF-8 | C++ | false | false | 8,145 | cpp | /*
* Copyright (c) 2008-2018, Hazelcast, Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... | [
"noreply@github.com"
] | dpwegener.noreply@github.com |
26f9bc83b6f87b7132a67994d1d42aad8c5076fc | fae551eb54ab3a907ba13cf38aba1db288708d92 | /chrome/browser/ash/web_applications/help_app/help_app_discover_tab_notification_unittest.cc | 0930803f8dd02d010f944dc5b02a052fb3724bc0 | [
"BSD-3-Clause"
] | permissive | xtblock/chromium | d4506722fc6e4c9bc04b54921a4382165d875f9a | 5fe0705b86e692c65684cdb067d9b452cc5f063f | refs/heads/main | 2023-04-26T18:34:42.207215 | 2021-05-27T04:45:24 | 2021-05-27T04:45:24 | 371,258,442 | 2 | 1 | BSD-3-Clause | 2021-05-27T05:36:28 | 2021-05-27T05:36:28 | null | UTF-8 | C++ | false | false | 5,122 | cc | // Copyright 2021 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/ash/web_applications/help_app/help_app_discover_tab_notification.h"
#include "base/test/metrics/user_action_tester.h"
#include "... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
06a39cab64afdba9214f36e027eeae3605e911f3 | 3a484e659d6e621e518ef12b898bcd8d1ba88bc3 | /BitBuffer.cpp | ee0b39cef48eaeb4499ab56d0bb3f44379efa74b | [] | no_license | jyeon2yu/Forensic_Watermarking_Program1 | ff64297257a0a0788593061e78063658b88695f4 | fe64aa088254202ea65770881cd088612756a8b5 | refs/heads/master | 2021-12-13T16:59:21.945357 | 2021-11-12T09:08:35 | 2021-11-12T09:08:35 | 188,376,224 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 418 | cpp | #include "stdafx.h"
#include <stdexcept>
#include "BitBuffer.hpp"
namespace qrcodegen {
BitBuffer::BitBuffer()
: std::vector<bool>() {}
void BitBuffer::appendBits(std::uint32_t val, int len)
{
if (len < 0 || len > 31 || val >> len != 0)
throw std::domain_error("Value out of range");
for (int i = len... | [
"jyeon2yu@gmail.com"
] | jyeon2yu@gmail.com |
4ef4be8ea52b65e8b9428002122ad3ce2d70a913 | a94d0b0346493372ef475781c417b62b04cf4ed7 | /compose.cpp | 7937ecd68b040988b32d98571e7bd86bcaefd71a | [] | no_license | VibhuGautam/Cpp | ad8878b0a13d4275bc4bdb85de5cd92695fbab08 | 5a9ed7a3a1ed420ec505dcde04ab50597d01e26d | refs/heads/master | 2023-04-22T22:34:23.790941 | 2021-04-25T05:39:59 | 2021-04-25T05:39:59 | 361,340,435 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,041 | cpp | /*------------------------------------
Author : Vibhu Gautam
Date = 24/04/2021
Time = 10:57:50
------------------------------------*/
#pragma GCC optimize("Ofast")
#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,avx2,fma")
#pragma GCC optimize("unroll-loops")
#include <bits/stdc++.h>
using namespace s... | [
"vibhuparmar13@gmail.com"
] | vibhuparmar13@gmail.com |
98f4db4b4ff3a42ab99685aa60a1415c17a7c910 | 983cf97b4b0142eadfcdbd3e39590ba31f926fec | /filesystem.cpp | 529dc5eb28a6bd45f60b32f07b6c0788917992f9 | [] | no_license | gschueler/mcmap | f82d0b7881251d702ff2b88e66c0b44bf2a60f35 | caab0d21894111547ccac1bdb790254e92e07736 | refs/heads/master | 2020-12-30T17:19:33.455996 | 2010-10-20T10:52:07 | 2010-10-20T10:52:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,328 | cpp | #include "filesystem.h"
#ifdef MSVCP
#include <direct.h>
// See http://en.wikipedia.org/wiki/Stdint.h#External_links
#include <stdint.h>
#else
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/param.h>
#include <unistd.h>
#endif
#include <cstdarg>
#include <cstdlib>
#include <cstring>
#define CCEND ((char*)... | [
"spam@aol.com"
] | spam@aol.com |
1b430879275db5bdcff91a3608df64446a65a5d8 | a3f825ea90fa6038dd50f05409fc51f960eb3856 | /OTA.ino | e69e0ec8e19262638dc8553b445dc4cd84d5891c | [] | no_license | PanegyricLyric/NODEMCU-OTA-BLYNK-LED | d6f46ba7f0a16b9eef2428f704a275b745e80d3e | 5a827361e21189b94a489f6e3e058c2acfffc764 | refs/heads/master | 2020-03-23T14:52:49.330593 | 2018-11-17T21:38:34 | 2018-11-17T21:38:34 | 141,705,237 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,042 | ino | //---------------------------FOR-WIFI-UPDATE----------------------SETUP
void OTA_Conf(){
Serial.println("Booting");
WiFi.mode(WIFI_STA);
WiFi.begin(ssid, password);
while (WiFi.waitForConnectResult() != WL_CONNECTED)
{
Serial.println("Connection Failed! Rebooting...");
... | [
"39015426+PanegyricLyric@users.noreply.github.com"
] | 39015426+PanegyricLyric@users.noreply.github.com |
6be1fd378687beaaf1659f5c2409a122a7faa4a5 | a756eed9030c5afa645436412d777a1774357c70 | /dsa/Graphs/Strongly _connected _components_with backedge.cpp | b5dd8293df1c5cf83c2a7da47bb8b109dfb6c04b | [] | no_license | jainsourav43/DSA | fc92faa7f8e95151c8f0af4c69228d4db7e1e5ce | deb46f70a1968b44bb28389d01b35cb571a8c293 | refs/heads/master | 2021-05-25T09:13:42.418930 | 2020-06-30T07:36:56 | 2020-06-30T07:36:56 | 126,943,860 | 0 | 1 | null | 2020-06-30T07:36:57 | 2018-03-27T07:07:51 | C++ | UTF-8 | C++ | false | false | 3,302 | cpp | #include<iostream>
using namespace std;
struct queue
{
int size;
int element[50];
int front;
int rear;
};
struct stack
{
int top;
int size;
int ele[5];
};
void enque(queue &q,int x)
{
if((q.rear+1)%q.size==q.front)
{
cout<<"Queue is overloaded\n";
}
else
{
if(q.front==-1)
q.fro... | [
"jainsourav43@gmail.com"
] | jainsourav43@gmail.com |
52df1ddb3edebe4d512553ae12b1a496491a1460 | 2b79bbce9496b2c5bddcf6fa93698b77f778d9eb | /2020.10.27 確認テストその2/3.cpp | 71d6b0427b01827b5114f0e164b9d707d7c099b9 | [] | no_license | YumiNose/2020.10.27-2 | 39979d189d2b14f9655270b969688763caf7c1fb | 0cec03e95f31f402680ccf5ca29d87b9eadd60e8 | refs/heads/master | 2023-01-04T16:55:33.541527 | 2020-10-27T03:12:08 | 2020-10-27T03:12:08 | 307,571,352 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 288 | cpp | /*
#include <iostream>
#include <cstdlib>
#include <ctime>
using namespace std;
void InitRand()
{
srand((unsigned int)time(NULL));
}
int Random()
{
return rand() % 10 + 1;
}
int main()
{
InitRand();
for (int i = 0; i < 10; ++i)
{
cout << Random() << ' ';
}
cout << endl;
}
*/ | [
"yumi.nose28@gmail.com"
] | yumi.nose28@gmail.com |
7516128ba3af07caf113e7dda5a012acae8e07c0 | a80baeb35fe6af3955d7f919670e525159c53682 | /src/game/Tactical/UI_Cursors.cc | dac5e9d29eb88793472b353ffec5cf4bc0c94501 | [] | no_license | hb029/JA-2-Stracciatella | 6a1fcbfa27c20483f1e589569620c3cf863ddebd | 6032a92164807419e2d8f49032bda8f1f67f8799 | refs/heads/master | 2022-12-10T10:01:14.869697 | 2022-12-04T03:36:47 | 2022-12-04T03:36:47 | 4,460,383 | 2 | 0 | null | 2022-06-17T01:32:30 | 2012-05-27T06:58:10 | C++ | UTF-8 | C++ | false | false | 35,014 | cc | #include "Handle_Items.h"
#include "Items.h"
#include "Soldier_Find.h"
#include "Structure.h"
#include "TileDef.h"
#include "Timer_Control.h"
#include "Weapons.h"
#include "Soldier_Control.h"
#include "Overhead.h"
#include "Handle_UI.h"
#include "Animation_Control.h"
#include "Points.h"
#include "Sound_Control.h"
#incl... | [
"public1983@web.de"
] | public1983@web.de |
fd58eace55f87353188443c6ff79aac5aec78e00 | fa7f7337e829d358eea8e38b1cea41c2f7f2e60a | /Source/PacMan/Pac_GameMode.h | 2a27d86cfca4181e3fcc75de4525de96a8e135b4 | [] | no_license | kor-al/episodic-control-pacman | 1254d7217c08c0889c95d13a5aa09dcb39e5d6df | 5dc41307411fc0255c534aeb9082b58822e3a37a | refs/heads/master | 2021-01-01T16:35:53.968105 | 2017-07-20T17:54:54 | 2017-07-20T17:54:54 | 97,863,376 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 551 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "GameFramework/GameMode.h"
#include "Pac_GameMode.generated.h"
/**
*
*/
UCLASS()
class PACMAN_API APac_GameMode : public AGameMode
{
GENERATED_BODY()
public:
UPROPERTY(EditAnywhere, BlueprintReadWrite, Catego... | [
"korinalice@gmail.com"
] | korinalice@gmail.com |
2ef6c8d02d962ceb725f9cabf6f3d5bbe715a7a9 | 3adef134af0da3b55f11fa3f8dc80cfc4e8c8fc3 | /LRU_cache.cpp | ced7d73eeda2e9ea1d08cfbb017d0dbd8d223c67 | [] | no_license | starmap0312/leetcode | fb402525050ea0cee5e663165d306d9c4cbaafdf | 9d99ad4de20f36bc511c0c141b75b2515d04cc38 | refs/heads/master | 2021-01-04T14:22:04.566212 | 2020-11-10T03:05:08 | 2020-11-10T03:05:08 | 39,904,796 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,563 | cpp | /* - use doubly-linked list to keep the recently used elements
* ex. head tail
* key 4 --> 2 --> 1
* value 1 <-- 3 <-- 1
* - most recently used element is put at the head, whereas least recently used element is
* put at the tail
* when get or set an ... | [
"starmap0312@gmail.com"
] | starmap0312@gmail.com |
325e5585443ebe29b2015ac35751a0ec8779503c | b707ed5c3e00ff8132aee5b8f4601a4a560a3f9f | /C/Progs Antigos/Programas/GRAFICO.CPP | 8f8c7f4398e7e97d16f0ad21fe0243563f75dc8c | [] | no_license | WiLLStenico/TestesEOutrasBrincadeiras | 84b657ebb553ed05b5784f0cc04c645be9d339a1 | 03c4f5a7380fdc15fa1e579d7d830ee2553e0825 | refs/heads/master | 2020-04-06T06:54:02.851075 | 2012-07-20T03:08:15 | 2012-07-20T03:08:15 | null | 0 | 0 | null | null | null | null | ISO-8859-5 | C++ | false | false | 1,494 | cpp | #include <stdio.h>
#include <conio.h>
#include <math.h>
#include <GRAPHICS.H>
#include <stdlib.h>
#include <dos.h>
#include <time.h>
void opengraph()
{
int driver, mode;
detectgraph(&driver,&mode);
initgraph(&driver, &mode, "c:\\borlandc\\bgi");
}
void hora()
{
time_t now;
struct tm ts;//strutura escre... | [
"willstenico@gmail.com"
] | willstenico@gmail.com |
087b9899ade3c13a5df1dacb930d230b1cc530be | 410e45283cf691f932b07c5fdf18d8d8ac9b57c3 | /net/http/http_network_transaction_unittest.cc | d2d72e5636d5cd9409ebec35582bbffca721e32d | [
"BSD-3-Clause"
] | permissive | yanhuashengdian/chrome_browser | f52a7f533a6b8417e19b85f765f43ea63307a1fb | 972d284a9ffa4b794f659f5acc4116087704394c | refs/heads/master | 2022-12-21T03:43:07.108853 | 2019-04-29T14:20:05 | 2019-04-29T14:20:05 | 184,068,841 | 0 | 2 | BSD-3-Clause | 2022-12-17T17:35:55 | 2019-04-29T12:40:27 | null | UTF-8 | C++ | false | false | 757,316 | 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 "net/http/http_network_transaction.h"
#include <math.h> // ceil
#include <stdarg.h>
#include <stdint.h>
#include <limits>
#include <set>
#incl... | [
"279687673@qq.com"
] | 279687673@qq.com |
ff63c3bf1b21a16a9960d38399c31d9204e04840 | a1fbf16243026331187b6df903ed4f69e5e8c110 | /cs/engine/xrGame/steering_behaviour_base.h | b8621a3db1449253aa9f2397e6f0bece924db9ee | [
"LicenseRef-scancode-warranty-disclaimer",
"BSD-2-Clause"
] | permissive | OpenXRay/xray-15 | ca0031cf1893616e0c9795c670d5d9f57ca9beff | 1390dfb08ed20997d7e8c95147ea8e8cb71f5e86 | refs/heads/xd_dev | 2023-07-17T23:42:14.693841 | 2021-09-01T23:25:34 | 2021-09-01T23:25:34 | 23,224,089 | 64 | 23 | NOASSERTION | 2019-04-03T17:50:18 | 2014-08-22T12:09:41 | C++ | UTF-8 | C++ | false | false | 911 | h | ////////////////////////////////////////////////////////////////////////////
// Module : steering_behaviour_base.h
// Created : 07.11.2007
// Modified : 07.11.2007
// Author : Dmitriy Iassenev
// Description : steering behaviour base class
//////////////////////////////////////////////////////////////////////////... | [
"paul-kv@yandex.ru"
] | paul-kv@yandex.ru |
1c0ccdbe1619c4940003cb4cebc85cabcf716928 | 398d62c4f6807e548d2b97cf0440bcafee635cea | /a_good_set.cpp | 694511362d274fe822d47162515e7d1a7f7d1b23 | [] | no_license | gujral1997/code_chef | 4c3b3f0d1a4b7afefaf6920ff5215e9d9def8a0d | 2f5c0d689a7a59a43921d11f37c892401a6ebe9e | refs/heads/master | 2021-09-02T08:31:38.784271 | 2018-01-01T01:32:29 | 2018-01-01T01:32:29 | 112,578,503 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 351 | cpp | #include<bits/stdc++.h>
using namespace std;
typedef long long int lint;
int main(int argc, char const *argv[])
{
int t;
cin>>t;
while(t--)
{
int a,i=4,counter=2;
cin>>a;
if(a>=2)
{
cout<<1<<" "<<2<<" ";
}
else
{
cout<<1<<" ";
}
while(counter<a)
{
cout<<i<<" ";
i+=3;
counter++;
... | [
"mastershady007@gmail.com"
] | mastershady007@gmail.com |
b764c426771a73ad17a9836eff979fb62461c13b | 6b0a4f401b8bf69ddd757809240ee828e2277e69 | /DummyClientFramework/DummyClientFramework/Custom.hh | 61d14520254eab043d78f1bea39c93214439d639 | [
"MIT"
] | permissive | GameForPeople/dummy-client-framework | 84da1572c6db2646fa8e01ff60df526e039fbe03 | 46f75da426a68a88fa3e97f5c2f84bb5f1ad000a | refs/heads/master | 2020-06-09T04:45:53.740560 | 2019-11-27T10:38:49 | 2019-11-27T10:38:49 | 193,372,933 | 2 | 1 | null | null | null | null | UHC | C++ | false | false | 8,361 | hh | #pragma once
#pragma region [더미 클라이언트 정의]
#define DUMMY_CLIENT_TEST_MODE 0 // 0 이면 디폴트 테스트 모드, 1이면 핫스팟 테스트 모드
#define DUMMY_CLIENT_SIGN_MODE 0 // 0 이면 최초 로그인 패킷, 1이면 계정 생성 요청 패킷
#if DUMMY_CLIENT_TEST_MODE == 0
#define DEFAULT_TEST_MODE
#else
#define HOTSPOT_TEST_MODE // 핫 스팟 테스트 모드.
#endif
#if DUMMY_CLIENT_SI... | [
"koreagamemaker@gmail.com"
] | koreagamemaker@gmail.com |
f6e10b4a7c4fcef5cc711f7a5996a0db8730328a | 3a8dc7f40a3ff0dcca37f01bb8c62dacac72eab4 | /AddOn-BeIDE/DontWorryAddOn.cpp | ace3f1d0608751f115ff530f57d4cb2d73c7aa55 | [
"MIT"
] | permissive | nexus6-haiku/dontworry | 39802b904d31baddd29905d978b3a917c232f416 | 9a398fe75d748dcd87563634846c1e3d870399a9 | refs/heads/master | 2023-03-19T13:12:10.812396 | 2014-08-07T14:04:19 | 2014-08-07T14:04:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 750 | cpp | // Test add-on.
#include "AddOnConstantes.h"
#include "AddOnTextView.h"
#include "MTextAddOn.h"
#include <Window.h>
#include <View.h>
#include <TextView.h>
#if __POWERPC__
#pragma export on
#endif
extern "C" {
__declspec(dllexport) status_t perform_edit(MTextAddOn *addon);
}
#if __POWERPC__
#pragma export reset
#en... | [
"revol@free.fr"
] | revol@free.fr |
176480111b7faa2420f156751b2079fad3c11b65 | c05ee947f4a79952aa7e6de9aa83678bd39863d7 | /loop_functions/basic_loop_functions.h | 1f164e03b4136348d4b328e563d2395443c7125b | [] | no_license | ChrisFrendo/FYP-Simulation | a16faa7955086092714f7e4822a2ec2e9c62b4c8 | 4dd044059deb519055084264287a7e7b5c062ee1 | refs/heads/main | 2023-06-03T08:52:24.201660 | 2021-06-26T11:04:27 | 2021-06-26T11:04:27 | 378,622,512 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,439 | h | #ifndef BASIC_LOOP_FUNCTIONS_H
#define BASIC_LOOP_FUNCTIONS_H
#include <argos3/core/simulator/loop_functions.h>
#include <argos3/core/simulator/entity/floor_entity.h>
#include <argos3/core/utility/math/range.h>
#include <argos3/core/utility/math/rng.h>
using namespace argos;
class CBasicLoopFunctions : public CLoopF... | [
"chris.frendo.18@um.edu.mt"
] | chris.frendo.18@um.edu.mt |
f9d6009cd79c831768aa8b6e55342175998332ca | cd322b63899b2f6a80798cc34b9e9e4f0fc3c41e | /Accelerometer/src/mma8451_pi.h | 47c2bc10ae69ec981c0ffcfb3a58dd44a7ffea4c | [] | no_license | HUDView/HUDView | 3f9827b00fcc5b9d62147815cdfc0b6b5847f8ea | ddb9601d715e707e9082aa6ebe3b7d41b38f9c6c | refs/heads/develop | 2020-04-15T14:11:29.228987 | 2019-04-15T16:22:44 | 2019-04-15T16:22:44 | 164,745,310 | 1 | 1 | null | 2019-04-09T20:15:44 | 2019-01-08T22:40:08 | C | UTF-8 | C++ | false | false | 1,720 | h | #ifndef MMA8451_PI_INCLUDED
#define MMA8451_PI_INCLUDED
#ifdef __cplusplus
extern "C" {
#endif
///Structure that represent a mma8451 sensor. Get it from the initialise function and give it the other ones
typedef struct mma8451_
{
///File descriptor that point to an i2c device in /dev
int file;
///Address... | [
"bdprisby@gmail.com"
] | bdprisby@gmail.com |
111f35639f594f729d6fd6380107f7e0ca419837 | 80885baabcdaa5e8d8abae31eebee72d072c2566 | /TimerCounter.cpp | cd4d427f5dca43ca5c1e2c4aa9b84ca5259c62d6 | [] | no_license | xiaoguosk/safeGeoRecommend | 28c97cd8a155601ed49955af3fae3cf2090848b3 | d294050cbf783b13803a87ce6240a3b615c2db47 | refs/heads/master | 2023-01-08T00:38:53.584801 | 2020-11-03T06:02:34 | 2020-11-03T06:02:34 | 309,245,038 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 487 | cpp | #include "TimerCounter.h"
#include <iostream>
using namespace std;
TimerCounter::TimerCounter(void)
{
QueryPerformanceFrequency(&freq);//获取主机CPU时钟频率
}
TimerCounter::~TimerCounter(void)
{
}
void TimerCounter::Start()
{
QueryPerformanceCounter(&startCount);//开始计时
}
void TimerCounter::Stop()
{
QueryPerformanceCoun... | [
"xiaoguosk@foxmail.com"
] | xiaoguosk@foxmail.com |
28383a534c6cce2918c433b45905d0c5326781c6 | d0dcd8492a5afd746bad488ee90c2c282998728f | /src/Communication/NetworkTransceiverNodeProcess.h | da6724b4370a1958aaffa3f4351f46f695279e1f | [] | no_license | dgitz/icarus_rover_v2 | 4c99bcf31b83701cfb130348acb3113721aa4c9e | 1d25266f4bf9872bb5b98912d9c938e0d280756c | refs/heads/master | 2021-03-09T05:55:47.352511 | 2020-04-05T20:07:07 | 2020-04-05T20:07:07 | 47,700,940 | 1 | 0 | null | 2020-04-05T20:07:08 | 2015-12-09T15:44:10 | C++ | UTF-8 | C++ | false | false | 5,945 | h | #include "../../include/Base/BaseNodeProcess.cpp"
//C System Files
//C++ System Files
//ROS Base Functionality
//ROS Messages
#include <eros/systemsnapshot_state.h>
//Project
#include <tinyxml.h>
/*! \class NetworkTransceiverNodeProcess NetworkTransceiverNodeProcess.h "NetworkTransceiverNodeProcess.h"
* \brief This i... | [
"davidgitz@gmail.com"
] | davidgitz@gmail.com |
ac6668eb72b4d69174772d0dab5d006bc3226679 | 820c61849a45ed69f3e4636e2d3f0486304b5d46 | /Google Codejam/Codejam Problem A. Counting Sheep/main.cpp | 3e7db022000e283cb2857ccdd5157298c8f98fa1 | [] | no_license | Tanmoytkd/programming-projects | 1d842c994b6e2c546ab37a5378a823f9c9443c39 | 42c6f741d6da1e4cf787b1b4971a72ab2c2919e1 | refs/heads/master | 2021-08-07T18:00:43.530215 | 2021-06-04T11:18:27 | 2021-06-04T11:18:27 | 42,516,841 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 969 | cpp | #include <iostream>
#include<bits/stdc++.h>
using namespace std;
int main()
{
#ifdef TKD
freopen("A-large.in", "r", stdin);
freopen("output.txt", "w", stdout);
#endif
int testcase;
cin >> testcase;
for(int i=1; i<=testcase; i++) {
bool check[10];
for(int j=0; j<10; j++) c... | [
"tanmoykrishnadas@gmail.com"
] | tanmoykrishnadas@gmail.com |
260ed226a151dc8260c8e2427f656886d8a745dc | 4abd8793f2f2cb52fe02837c67e39dfef74b5715 | /vedant3620/day3/550a.cpp | 6813e61d7971e28451379369256066e8f2b15d5b | [] | no_license | Devang-25/100DaysOfCode | bdab847655490b4421454b4693cfcd6ddc3d4ff5 | 4e3d632be1ecd3b235c03ac593a4ea8ec9562e56 | refs/heads/master | 2021-05-25T12:50:19.956945 | 2020-04-06T17:49:02 | 2020-04-06T17:49:02 | 253,761,487 | 1 | 1 | null | 2020-12-18T18:33:29 | 2020-04-07T10:31:32 | null | UTF-8 | C++ | false | false | 807 | cpp | #include<bits/stdc++.h>
using namespace std;
typedef long long ll;
int main(){
string s;
cin>>s;
ll t=0;
for(ll i=0;i<s.length()-1;i++){
if(s[i]=='A' && s[i+1]=='B'){
for(i=i+2;i<s.length()-1;i++){
if(s[i]=='B' && s[i+1]=='A'){
t=1;
... | [
"23037053+rishabhKalakoti@users.noreply.github.com"
] | 23037053+rishabhKalakoti@users.noreply.github.com |
8c57d57b476ddc87f31380d8c42688a15a7d7b58 | 73b80a1074ad8b9999e4dd78c86a6baad32bfce5 | /Core/3rdParty/2DPieGraph.cpp | 8e362c35cea5e8a06c9321b1449da08235b153f2 | [] | no_license | abstractspoon/ToDoList_Dev | 25f463dea727b71ae30ca8de749570baa451aa13 | 29d038a7ff54150af21094f317e4f7c7d2dd118d | refs/heads/master | 2023-08-31T21:18:16.238149 | 2023-08-29T01:24:16 | 2023-08-29T01:24:16 | 66,343,401 | 87 | 26 | null | 2023-09-09T08:16:35 | 2016-08-23T07:19:50 | C++ | UTF-8 | C++ | false | false | 22,002 | cpp | // 2DPieGraph.cpp: implementation of the C2DPieGraph class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "2DPieGraph.h"
#include "mathparams.h"
#include <math.h>
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//... | [
"daniel.godson@gmail.com"
] | daniel.godson@gmail.com |
2faa825f7a32691fa9c7082aa4574d13d8aa6175 | 3051bd4bc0b7f3dace598880caf3364690688bc9 | /plugins/MacVST/Ditherbox/source/DitherboxProc.cpp | 4115687873088b35974a8888861ed9978ed0a7f2 | [
"MIT"
] | permissive | Atavic/airwindows | aa6802409eb9c7254e405874a267af700cb6ba0d | ac8d974fb5bfa349af37412aa5e1fe2aeea1a8f6 | refs/heads/master | 2020-03-28T08:38:49.668758 | 2018-09-09T01:07:53 | 2018-09-09T01:07:53 | 147,978,977 | 1 | 0 | MIT | 2018-09-09T00:02:49 | 2018-09-09T00:02:49 | null | UTF-8 | C++ | false | false | 81,998 | cpp | /* ========================================
* Ditherbox - Ditherbox.h
* Copyright (c) 2016 airwindows, All rights reserved
* ======================================== */
#ifndef __Ditherbox_H
#include "Ditherbox.h"
#endif
void Ditherbox::processReplacing(float **inputs, float **outputs, VstInt32 sampleFrames)
{
... | [
"jinx6568@sover.net"
] | jinx6568@sover.net |
e447a7a8b5131fe9389ddc4dca3e2eea7ece3d46 | 10ecd7454a082e341eb60817341efa91d0c7fd0b | /SDK/BP_NPC_ReapersBones_Skeleton_InCage_parameters.h | 008c2833099805b8bee93c2aceb01628c6f52014 | [] | no_license | Blackstate/Sot-SDK | 1dba56354524572894f09ed27d653ae5f367d95b | cd73724ce9b46e3eb5b075c468427aa5040daf45 | refs/heads/main | 2023-04-10T07:26:10.255489 | 2021-04-23T01:39:08 | 2021-04-23T01:39:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 598 | h | #pragma once
// Name: SoT, Version: 2.1.0.1
#include "../SDK.h"
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Parameters
//-------------------------------------... | [
"ploszjanos9844@gmail.com"
] | ploszjanos9844@gmail.com |
c67320bf77a4ed2680212c3b3e5be31f252bb5e4 | 7210b236415bea45ae6390fd828e523090b779d6 | /src/main.cpp | d3e46b18822da75d525058b0c2fcecb52c15c0e3 | [] | no_license | zhaoyu775885/FCEMS | 4cb0f2b8d2e80ed71352b5d7f2093f1fdb859e5a | d460672d2012cc29610531ba4618d45741ea10ec | refs/heads/master | 2019-01-21T16:13:32.533915 | 2017-03-16T01:48:14 | 2017-03-16T01:48:14 | 85,115,778 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,194 | cpp | #include <iostream>
#include "Mesh/Mesh.h"
#include "BasisFunction.h"
#include "BasicBEM.h"
#include "PostProcess.h"
#include "h2lib/cluster.h"
#include "h2lib/block.h"
#include "h2lib/hmatrix.h"
#include "h2lib/harith.h"
#include "h2lib/cluster.h"
#include "h2lib/hmatrix.h"
#include "FastBEM.h"
#include <chrono>
ty... | [
"zhaoyu@Tank"
] | zhaoyu@Tank |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.