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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1faa0b2a2bcb857bc1a8f06d8c32097a3f6380a8 | 02b495111594a367405b2bfbf220e38da3a5f7b0 | /devel/include/rosserial_msgs/RequestMessageInfo.h | 31492377914f20802ae7baf84f8afce8f41014ac | [
"BSD-2-Clause"
] | permissive | Ashuditya/Rebellious-Cowards | 3f7c6afd314e4bf2ffb72b99ecf58be23f309e97 | 56ec395147f2fc59a26669a74a04fe02227bc7b7 | refs/heads/master | 2023-01-24T10:57:47.533839 | 2020-10-01T15:58:07 | 2020-10-01T15:58:07 | 218,202,193 | 0 | 3 | BSD-2-Clause | 2020-10-01T17:07:44 | 2019-10-29T04:09:46 | Makefile | UTF-8 | C++ | false | false | 3,085 | h | // Generated by gencpp from file rosserial_msgs/RequestMessageInfo.msg
// DO NOT EDIT!
#ifndef ROSSERIAL_MSGS_MESSAGE_REQUESTMESSAGEINFO_H
#define ROSSERIAL_MSGS_MESSAGE_REQUESTMESSAGEINFO_H
#include <ros/service_traits.h>
#include <rosserial_msgs/RequestMessageInfoRequest.h>
#include <rosserial_msgs/RequestMessag... | [
"srujannwankhede786@gmail.com"
] | srujannwankhede786@gmail.com |
ef4e5aef95234438425d511cbdf230c0c85ae60c | 75b8a9aa4f60988137ae980474418fc7ef9f30b5 | /10(2)/main.cpp | c1f33f9f50cba70f9497a05826e8acd7a73708e8 | [] | no_license | zhiyuan5986/CS1603-1-of-Shanghai-Jiao-Tong-University | b7099a01737f075cfbd2a83a8a4af0a080720575 | 14f923c77327b94731900a52f0365cbd93b0f2a9 | refs/heads/main | 2023-08-28T00:39:57.996517 | 2021-10-23T13:35:53 | 2021-10-23T13:35:53 | 381,226,718 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,179 | cpp | 1
//account.h
#ifndef saving_h
#define saving_h
#include <iostream>
#include <iomanip>
using namespace std;
class SavingAccount {
float rate;
static int total;
double savingNum;
int ID;
public:
SavingAccount(int s) {total++;ID = total;savingNum = s;rate=0.05;}
void display();
... | [
"noreply@github.com"
] | zhiyuan5986.noreply@github.com |
d4c8848dc4800d9c2f9f1fa08b60ac0ab3c693d2 | da2b87ce971b6c85af381cbce810ef41498b54d4 | /src/GSVWrapper/xmlparser.cpp | e90410a08327cd6a964740331b6426e27894a14f | [
"Unlicense"
] | permissive | spedepekka/gsvw | 513a0df517b71a7ee2698dc7db01c5fbdacbabbd | 91f83402beda611280c62b0094f5f98aef11f1e7 | refs/heads/master | 2021-05-28T20:47:12.401994 | 2014-03-18T18:59:15 | 2014-03-18T18:59:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,609 | cpp | /*!
* \file xmlparser.h
* \weakgroup xmlparser
* @{
* Created on: Mar 30, 2011
* Author: Mikko Saavinen
*/
/* Qt includes */
#include <QByteArray>
#include <QFile>
#include <QIODevice>
#include <QString>
#include <QtXmlPatterns>
#include <QUrl>
#include <QXmlSchema>
/* Own headers */
#include "metadata.h"
#inc... | [
"veijop@gmail.com"
] | veijop@gmail.com |
a920eb7ea3f1c0864b2be2222bd3ef5b186989a1 | 1d5d70e770b8ba49729735366c27d147713ec819 | /C&C++/2017-12/301-P3-InterPoly-wDivDiff/Code/Polynomial.h | 0cb8313a147d90553707582c1e5175b7e8a48548 | [] | no_license | raechiang/CS-School | 8fe8445fdfa653b18adb683a0698cce14f3f8e7b | b368d6d65b882007c3ba4146b6e99e6d0931f722 | refs/heads/master | 2020-03-21T22:52:42.798931 | 2020-01-17T21:57:01 | 2020-01-17T21:57:01 | 139,152,579 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,374 | h | /*
A Polynomial class.
*/
#ifndef POLYNOMIAL_H
#define POLYNOMIAL_H
#include <iostream>
#include <string>
class Polynomial
{
private:
double* coeff;
int size;
public:
// constructors/destructors
Polynomial();
Polynomial(double cf[], int length);
Polynomial(const... | [
"chiangrachel39@gmail.com"
] | chiangrachel39@gmail.com |
6c332454029971620bd359e05433ef180ea836e9 | 5a1853bfd49c3dbaf655094a47b7b223b54accfa | /Source/GameMaster.cpp | aa8b15ca90d8309c7f93acfee627010bbaa945bc | [] | no_license | sebbert/DeathLiar | a86791b0b2951f2e1027c62a1f0342229f43bcbd | 6a9adf304dff6b010da7bb92a6ce8c3f54d873bf | refs/heads/master | 2020-05-17T12:05:03.733082 | 2012-04-07T08:05:03 | 2012-04-07T08:05:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,887 | cpp | #include "GameMaster.h"
#include "World.h"
GameMaster::~GameMaster()
{
Destroy();
}
void GameMaster::Init()
{
//Maxium number of enemies on the map at any time.
m_enemies = new Enemy[200];
NewWave();
}
void GameMaster::Destroy()
{
if(m_enemies)
{
delete []m_enemies;
m_enemies ... | [
"emilalexer@hotmail.com"
] | emilalexer@hotmail.com |
71c4d1f13712fead3d7359151b16398f8f9d183a | 1af49694004c6fbc31deada5618dae37255ce978 | /components/url_formatter/spoof_checks/idn_spoof_checker.cc | d73192b1426a43edf5d320c4ada78711e3eba479 | [
"BSD-3-Clause"
] | permissive | sadrulhc/chromium | 59682b173a00269ed036eee5ebfa317ba3a770cc | a4b950c23db47a0fdd63549cccf9ac8acd8e2c41 | refs/heads/master | 2023-02-02T07:59:20.295144 | 2020-12-01T21:32:32 | 2020-12-01T21:32:32 | 317,678,056 | 3 | 0 | BSD-3-Clause | 2020-12-01T21:56:26 | 2020-12-01T21:56:25 | null | UTF-8 | C++ | false | false | 31,672 | cc | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/url_formatter/spoof_checks/idn_spoof_checker.h"
#include "base/check_op.h"
#include "base/logging.h"
#include "base/no_destructor.h"... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
5388fbeffc1dc317484ac6d8bfdefc4d2e9b9928 | e7c2a4498c511740b173a3cfeaf0509e55f45114 | /Underworld2d/Underworld2d/PanoramicSystem.cpp | 80a6cec2046170b3475dd2183bdf5d89c02cc315 | [] | no_license | CrimsonNynja/UnderWorld2d-Engine | 29a3fceb5d501dc8024946623896191421847c52 | 3b39a6eae30b3fcdc8b8878a19f5d8932973c9cd | refs/heads/master | 2020-04-21T17:28:55.684220 | 2019-12-17T11:39:38 | 2019-12-17T11:39:38 | 169,736,641 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 771 | cpp | #include "PanoramicSystem.h"
void PanoramicSystem::update(std::vector<Entity*> entities, float dt)
{
GlobalSettings* settings = GlobalSettings::getInstance();
for (auto x: entities)
{
if (x->bHasComponent<PanoramicComponent>() && x->bHasComponent<VisualComponent>())
{
//mouse, and centerpoint need to be sol... | [
"hudoc96@hotmail.com"
] | hudoc96@hotmail.com |
6ba1e0c3bf8479b38076528d3d542c45baad4406 | cf8224eb4db14d541bb0fcff0a7deeb1aac4c2ca | /src/include/usr/secureboot/trustedboot_reasoncodes.H | 4ee9a16e18cd17205c6647dddc0e1fe42193cbf9 | [
"Apache-2.0"
] | permissive | gsuresh01/hostboot | d1619113d7a61f00610b0343dd28db36d7612fbe | 5b981cbc9d2bfdd348c7aeb3ae4b22da4cc98880 | refs/heads/master | 2021-01-17T19:33:30.554296 | 2015-09-25T21:40:37 | 2015-12-11T19:32:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,067 | h | /* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: src/include/usr/secureboot/trustedboot_reasoncodes.H $ */
/* ... | [
"iawillia@us.ibm.com"
] | iawillia@us.ibm.com |
29a3dcdae48995f20641a682c73c62b668c7cd98 | b7e97047616d9343be5b9bbe03fc0d79ba5a6143 | /src/utility/thread/ReadWriteMutex.hh | 8f26d984ff3ef48991ae3df5e26fde261fb5a067 | [] | no_license | achitturi/ROSETTA-main-source | 2772623a78e33e7883a453f051d53ea6cc53ffa5 | fe11c7e7cb68644f404f4c0629b64da4bb73b8f9 | refs/heads/master | 2021-05-09T15:04:34.006421 | 2018-01-26T17:10:33 | 2018-01-26T17:10:33 | 119,081,547 | 1 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 2,927 | hh | // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
// vi: set ts=2 noet:
//
// (c) Copyright Rosetta Commons Member Institutions.
// (c) This file is part of the Rosetta software suite and is made available under license.
// (c) The Rosetta software is developed by the co... | [
"achitturi17059@gmail.com"
] | achitturi17059@gmail.com |
b9a69fb84551ddc713555e8196b03fb0f81308dc | 5e4dc8d5a259235aadcbf892a7a84d6e3fa2bba1 | /Arduino/Modules/Maze/MazeBoard.cpp | 965d139e57e65015571e872686bad2c9f6eac6ea | [] | no_license | Jonathan-Hamberg/EE475 | 6b7f2644ca2653a83e79d3227e9ea01826005ff4 | e7c03f0a03eb75a464a310a3553d2f6012ad3901 | refs/heads/master | 2021-01-25T10:43:28.405345 | 2018-06-06T20:49:03 | 2018-06-06T20:49:03 | 123,367,416 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,489 | cpp | #include <Arduino.h>
#include "MazeBoard.h"
#define MAP0 {{0xC5, 0x9C, 0x51}, {0xAC, 0x36, 0x59}, {0xA6, 0x9C, 0x5B}, {0xA4, 0x73, 0x4B}, {0xE5, 0x9C, 0x1A}, {0x61, 0x63, 0x43}}
#define MAP1 {{0x4D, 0x1C, 0xD1}, {0xC3, 0xC3, 0x69}, {0xAC, 0x3C, 0x5B}, {0xE3, 0xC3, 0x8A}, {0xA8, 0xAC, 0x3A}, {0x26, 0x36, 0x53}}
#define... | [
"git@danielpredmore.com"
] | git@danielpredmore.com |
ade7d27c71d67f26e190c7e9c3d4b4748867bc1e | 819d95a52c3d6b1c31423b09887e3733b323806d | /utils/linear_algebra.hpp | 503a985dad63530a0209137984825e1dd0fc0188 | [] | no_license | Alkanoor/urban-octo-train | 8dc7dc10d56e8f0cf1a9fa6fd70c7c71e30d79f1 | 0cb5c433cfc9d88b01e2137b9e7f72d7d6afc89e | refs/heads/master | 2020-04-06T04:21:06.282588 | 2016-06-09T23:02:36 | 2016-06-09T23:02:36 | 58,342,186 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 626 | hpp | #ifndef LINEAR_ALGEBRA_HPP
#define LINEAR_ALGEBRA_HPP
#include <glm/ext.hpp>
#include <glm/mat3x3.hpp>
#include <glm/vec3.hpp>
#include <cmath>
class Plan
{
public:
Plan(const glm::vec3& p1, const glm::vec3& p2, const glm::vec3& p3);
char position_from_plan(const glm::vec3& p) const; //0 = on t... | [
"Alkanoor@github.com"
] | Alkanoor@github.com |
822c57ef75633c5d68f92f47a282f83e41c94eef | 90299fc2785bbf56d85fe89465f73ded4103141c | /Source/Dysphoria/LevelLayout.cpp | 30a4dce126e3231346664330a1c66e5940001348 | [] | no_license | tbilodea/Dysphoria | 8d432c3c9801f794c1cce4982c56cb19598d0d5f | d064f9a2cfb1f0d1945ede95f95665f3412cc7a2 | refs/heads/master | 2023-03-21T03:24:44.970372 | 2021-03-15T23:02:19 | 2021-03-15T23:02:19 | 263,230,756 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,213 | cpp | // Copyright T Bilodeau 2020
#include "LevelLayout.h"
#include "LevelData.h"
#include "RoomData.h"
#include <cmath>
#include "Dysphoria.h"
void ULevelLayout::Setup(const int32 RowRooms, const int32 ColRooms)
{
RandomStream.GenerateNewSeed();
int32 RndSeed = RandomStream.GetCurrentSeed();
LevelData = NewObject<UL... | [
"tbilodea@gmail.com"
] | tbilodea@gmail.com |
1e15739f2ca1ab87c5ac0b4e97570f635b269dfd | 6134cebfb6ca9e03a93d42d46b1ba5cae9b7c61d | /v10.2/include/thrust/detail/type_traits/has_trivial_assign.h | b9298175d9014522e71a3f54ad1c177a1225e670 | [] | no_license | tpn/cuda | 1b5c0026141232413b0ca9af17feeb14c94d2a1f | 4286604f0d3b419893b4efd98e608522fb5b1131 | refs/heads/master | 2022-11-29T07:40:04.983227 | 2020-08-05T02:17:42 | 2020-08-05T02:17:42 | 285,154,390 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,511 | h | /*
* Copyright 2008-2013 NVIDIA Corporation
*
* 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 a... | [
"trent@trent.me"
] | trent@trent.me |
777793dfb78bbc1752f459c656d48e4b93e6cb5f | 05d69bad7ce42c92a4af00f8c7d944c08be727ab | /Dictionary/Dictionary.cpp | 84590545732e1eea785b9ecba1dd28179d7f3c59 | [] | no_license | HongyeXu/cs110C | de0158e635f1f03c4a77abdeb0bf1a9e51690793 | 9a653197dc35f07fe7c147ad7eff3a4257bb25c9 | refs/heads/main | 2023-08-20T15:05:09.179199 | 2021-10-06T03:39:33 | 2021-10-06T03:39:33 | 414,053,523 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,307 | cpp | #include "Dictionary.h"
#include "Person.h"
#include <cmath>
#include <iostream>
using namespace std;
Dictionary::Dictionary()
{
numberOfEntries = 0;
}
bool Dictionary::sortedAdd(Person input)
{
bool added = false;
int newPosition = fabs(getPosition(input)); //get the proper position
bool canAdd = (ne... | [
"noreply@github.com"
] | HongyeXu.noreply@github.com |
8d50e3ed564e0b127ad9a8f9b3741505b6397529 | 138f1098276ae509857e6c881976e284a2786194 | /project/source/core/Timer.h | ea9d3c725f6c1914110c45257d5875b57c7de27a | [] | no_license | Tomash667/RogueSavior | 941623b16b07ae5e54c35b185f521b6be088b040 | 6b2ff4aaafda27d692359d4c8ac3c3a9fdb518ad | refs/heads/master | 2021-01-25T04:14:16.890594 | 2017-07-13T14:09:43 | 2017-07-13T14:09:43 | 93,409,910 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 564 | h | #pragma once
//-----------------------------------------------------------------------------
typedef unsigned int uint;
//-----------------------------------------------------------------------------
class Timer
{
public:
explicit Timer(bool start = true);
void Start();
float Tick();
void Reset();
void GetTime... | [
"tomash4my@gmail.com"
] | tomash4my@gmail.com |
a69ead798b8194012fc3d66a1f7547eb85f146ff | 19c9524bd7762c07e62a87e527537a1b642220c4 | /Graphics/Include/CRenderInstance_SimpleMesh_AmbientMap_DiffuseMap_SpecularColor.h | 40f240ee7702df32101b37fa0b4ddb670bff46e5 | [
"MIT"
] | permissive | ArvydasSlekaitis/ReginaGameEngine | a0276506158cb92a7a8ab65ef3e4a6c5f2e66f45 | 4b6af9b5fbf9aad4025b0387260c31019fd8f8c8 | refs/heads/master | 2022-12-11T10:12:47.551885 | 2020-08-30T13:19:27 | 2020-08-30T13:19:27 | 291,472,655 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,513 | h | ///////////////////////////////////////////////////////////
// CRenderInstance_SimpleMesh_AmbientMap_DiffuseMap_SpecularColor.h
// Created on: 28-01-2010
// Last modified: 28-01-2010
// Original author: Arvydas Slekaitis (C)
///////////////////////////////////////////////////////////
#ifndef REGINA_CRENDERI... | [
"arvydasslekaitis@gmail.com"
] | arvydasslekaitis@gmail.com |
ed16fd9c796cfaed8dc7325f433de26a48a8e2ab | 4b0cf4274cea97239b348c34664ebd861bf6b2f2 | /Ds and algo/Advanced/Matrix/print snake pattern.cpp | b26734829fd801911bdf0d56809a8390be6ac936 | [] | no_license | harshareddy794/Placement-preparation | bd869c5d719e976aa36881c7b18c0c1380bc5344 | d3dc73e97a1aa58e8c867064b6ced8b98cd03cf6 | refs/heads/master | 2023-04-18T03:38:51.465248 | 2021-05-12T12:41:00 | 2021-05-12T12:41:00 | 291,489,797 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,105 | cpp | #include <bits/stdc++.h>
using namespace std;
class Solution
{
public:
vector<int> snakePattern(vector<vector<int> > matrix)
{
int r = matrix.size();
vector<int> ans;
for(int i=0;i<r;i++){
int c = matrix[i].size();
if(i%2==0){
for(int j=0;... | [
"harshareddy794@gmail.com"
] | harshareddy794@gmail.com |
b596b425c60f77c61fb4d34ee8165c24aa940d9c | 7428c4de05c4987d672eac5c25759dd262ea4642 | /Source/Renderer/Public/Core/SwizzleVectorElementRemove.h | 4302725043715c6dff0366627c8a56ff0e1d5604 | [
"MIT"
] | permissive | aalekhm/unrimp | e56e366ce255502f2fd18b9c6f4f72446c526299 | 13380b2df90e3be3512c5accdef7c00511d17d30 | refs/heads/master | 2022-08-26T17:18:08.800044 | 2020-05-24T07:53:57 | 2020-05-24T07:53:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,803 | h | /*********************************************************\
* Copyright (c) 2012-2020 The Unrimp Team
*
* 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 wit... | [
"cofenberg@gmail.com"
] | cofenberg@gmail.com |
f694753729c8dc18df92059c66fc3e19c718592e | b9c01a2ae09be278f1b71fdcd7dcf2ed0b8f0add | /src/cunumeric/cephes/i0.cc | a81f26257f1b096e8bcce78148984b957cae933b | [
"BSD-3-Clause",
"Apache-2.0"
] | permissive | nv-legate/cunumeric | aae3e9232edef915e5bcb84f3f216fcc99b648e4 | 8dddd18022055374f51e1728e81a49958908e04a | refs/heads/branch-23.09 | 2023-09-03T21:17:13.274085 | 2023-09-01T01:07:21 | 2023-09-01T01:07:21 | 356,975,888 | 447 | 56 | Apache-2.0 | 2023-09-12T20:41:20 | 2021-04-11T20:46:50 | Python | UTF-8 | C++ | false | false | 3,595 | cc | /* i0.c
*
* Modified Bessel function of order zero
*
*
*
* SYNOPSIS:
*
* double x, y, i0();
*
* y = i0( x );
*
*
*
* DESCRIPTION:
*
* Returns modified Bessel function of order zero of the
* argument.
*
* The function is defined as i0(x) = j0( ix... | [
"noreply@github.com"
] | nv-legate.noreply@github.com |
a4055fd15b792cbb3ad34fc7c27dded2f1dbdafc | c2fc8ae92ca5738860b5048e9756e30d67689c1f | /UICListItem.cpp | 4028adf22e5d008d7678c5b03410d12113905e62 | [] | no_license | zhengjiasheng/ImitationTim | d1536eb33c18f541b4bbaa7346a0d537a82645a8 | 484ce301f41fb9f819658f3fa564aca81da5bc78 | refs/heads/main | 2023-07-28T06:51:28.860907 | 2021-09-21T05:57:06 | 2021-09-21T05:57:06 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,143 | cpp | #include "StdAfx.h"
#include "UICListItem.h"
UICListItem::UICListItem(CPaintManagerUI& paint_manager) :paint_manager_(paint_manager)
{
SetItemShowHtml(true);
}
UICListItem::~UICListItem()
{
}
bool UICListItem::Add(CControlUI* pControl)
{
if (!pControl) {
return false;
}
if (_tcsicmp(pCont... | [
"759990553@qq.com"
] | 759990553@qq.com |
e575628fea393b99454536d0783a9481325faa5b | b1516010d8e79389e74c03e59a11079c609ae08c | /Src/PhotonBeamEngine/Mesh/QuadMesh.hpp | 4584d72c77cdae9db0e6f9e30ac69060aea4982c | [] | no_license | klas-buhre/PhotonBeam | 4ab483d034f85b80bc0ea3e03f8152374d00977b | 0f9f940603e997add0924359d97032061f8f91f0 | refs/heads/master | 2020-12-28T09:30:58.185324 | 2020-02-19T16:50:39 | 2020-02-19T16:50:39 | 238,267,886 | 4 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,242 | hpp | #ifndef QuadMesh_hpp
#define QuadMesh_hpp
#include "IMesh.hpp"
namespace Pht {
class QuadMesh: public IMesh {
public:
struct Vertex {
Vec3 mPosition;
Vec4 mColor;
Vec2 mTextureCoord {0.0f, 0.0f};
};
struct Vertices {
Vertex mV0;
... | [
"klas.buhre81@gmail.com"
] | klas.buhre81@gmail.com |
33a80994a5fff4b290b3fc1a058020b432dbc9f6 | 4ba6c5e1c5b189583c704b704ee12d52512e6547 | /Project2/got/Audio/XAudio2.cpp | bb92d996f470b19b250acb1bae58a736f23dd95e | [] | no_license | g-megane/GotLib1 | 2afa9108813eb1418c92b0ca53b0f0f5a4a23a4f | f65356e46e50994389914829a8392cce12f1ab2d | refs/heads/master | 2021-01-11T00:12:10.632689 | 2017-12-24T06:29:53 | 2017-12-24T06:29:53 | 70,579,107 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,798 | cpp | #include "XAudio2.h"
#include <fstream>
template<class T>
void safeRelease(T *&ptr)
{
if (!ptr) return;
ptr->Release();
ptr = nullptr;
}
namespace got {
// コンストラクタ
XAudio2::XAudio2()
{
auto hr = CoInitializeEx(nullptr, COINIT_MULTITHREADED);
if (FAILED(hr)) {
Outpu... | [
"pandoraxssscan.929@gmail.com"
] | pandoraxssscan.929@gmail.com |
6cf2c86c0cd09c9b21ec3e7dee8c603bf0ab6b19 | a16b0c6431cf763830a86b77abced4ccc9325804 | /tensorflow/compiler/mlir/tools/kernel_gen/transforms/embed_tf_framework_pass.cc | 712a005f09c0070b24e7518dffd246e8487918a0 | [
"Apache-2.0"
] | permissive | foss-for-synopsys-dwc-arc-processors/tensorflow | 9812f077051973dafc66868e5ffaff05b42aa9f4 | 30d46c800e467e05e58415cf789c61d4582d2c0c | refs/heads/master | 2021-08-06T20:32:46.890206 | 2021-02-17T19:00:09 | 2021-02-17T19:00:09 | 206,022,279 | 2 | 1 | Apache-2.0 | 2020-06-09T12:18:11 | 2019-09-03T08:01:41 | C++ | UTF-8 | C++ | false | false | 4,433 | cc | /* Copyright 2020 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | [
"gardener@tensorflow.org"
] | gardener@tensorflow.org |
1672dce1af26b6b84dabef87aee025ba86e5c9c2 | 11c74b57455ce2454849fbe9a73a2e0d2a3542d2 | /oj/codeforces/contests/1370/F2.cpp | 0cbcdc806aed50acbcca8e198c9b68830bd8d62f | [] | no_license | heyuhhh/ACM | 4fe0239b7f55a62db5bc47aaf086e187134fb7e6 | e1ea34686b41a6c5b3f395dd9c76472220e9db5d | refs/heads/master | 2021-06-25T03:59:51.580876 | 2021-04-27T07:22:51 | 2021-04-27T07:22:51 | 223,877,467 | 9 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,976 | cpp | /*
* Author: heyuhhh
* Created Time: 2020/6/21 11:36:18
*/
#include <iostream>
#include <algorithm>
#include <cstring>
#include <cstdio>
#include <vector>
#include <cmath>
#include <set>
#include <map>
#include <queue>
#include <iomanip>
#include <assert.h>
#include <functional>
#include <numeric>
#define MP make_... | [
"2468861298@qq.com"
] | 2468861298@qq.com |
5f33424b30de77af22e813f3c524757ede9c3d41 | 190f7daf91837b4a542257da61e983e99c2ef5d1 | /codeforces/z-sort.cpp | c7a59a7d4e49e5cb8d68bb35fe713b01eb18ea04 | [] | no_license | AbdullahZahra/problemsolving | 859cfd9284f2c0bb6570da9ce909c24d8f06b10d | ce8bc5730be24dcc9d12bca7bc303a3bbe0af8b7 | refs/heads/master | 2022-12-22T11:26:02.298409 | 2020-09-24T08:34:18 | 2020-09-24T08:34:18 | 280,136,388 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,132 | cpp | // https://codeforces.com/problemset/problem/652/B
#include <iostream>
#include <map>
#include <algorithm>
#include <iomanip>
#include <stdio.h>
using namespace std;
#define endl '\n'
void fast() {
ios_base::sync_with_stdio(false);
cin.tie(0); cout.tie(0);
}
int main()
{
fast();
map<int... | [
"noreply@github.com"
] | AbdullahZahra.noreply@github.com |
d7a87e4074d502485c673cda78863f70988871e2 | 87aa6aa5cf4324d4c22ec0f6d841819ef39f442f | /OpenGL2/MementoEngine/Core/Headers/Mouse.h | 2a155fe7322da948e2ea0299c8aa739106cb8be1 | [] | no_license | itsdikey/CG2018OpenGL | d22f44a2453c25673dcbde0eee963c8eb0a35230 | 1f79e9d29dc3ce4df49fce049007ee267804559a | refs/heads/master | 2020-05-09T20:49:43.126920 | 2019-04-24T15:43:02 | 2019-04-24T15:43:02 | 181,421,689 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 205 | h | #pragma once
class Mouse
{
private:
int deltaX, deltaY, posX, posY;
public:
Mouse();
int getPosX();
int getPosY();
int getDeltaX();
int getDeltaY();
void setPos(int x, int y);
void resetDelta();
}; | [
"mstvir@gmail.com"
] | mstvir@gmail.com |
9bc1284129aec2abdfe0b12887e791915ad8eb50 | 973ff99f109a482150cb90d7792a81f6cec44cde | /Librarys/Bohge/Bohge/Quaternion.hpp | 2fcd07a639cac8b5f8b70b1785922322206c4c6e | [
"MIT"
] | permissive | wangscript/Bohge_Engine | db90047141826ee5400400f658cd6f07e9bb87e4 | 32f828d26a1abb6e8f5c3f43904884a65fec576a | refs/heads/master | 2020-12-24T09:44:55.555872 | 2014-04-25T16:49:24 | 2014-04-25T16:49:24 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 9,762 | hpp | //////////////////////////////////////////////////////////////////////////////////////
//
// The Bohge Engine License (BEL)
//
// Copyright (c) 2011-2014 Peng Zhao
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Softwar... | [
"bohge@163.com"
] | bohge@163.com |
521da072eb96f4d66f150bda6475b32285b4b99e | 02ff05d9dc9622d66bb5dc0ff71a919878ca5281 | /Ch6proj4.cpp | 7c6ecafb8f2cddde218dcf055107c8c26c0ad825 | [] | no_license | BoilerMakerStephen/Problem-Solving-With-Cplusplus-1995 | 04baaee8abdcbf623db75e2cb6f21376e7eec324 | 3dceeb414b48c27ce6cf0a4321e3f47a5dc92fe6 | refs/heads/master | 2021-12-15T00:12:40.450432 | 2021-12-03T02:54:09 | 2021-12-03T02:54:09 | 139,033,944 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,875 | cpp | //Problem Solving With C++ - Walter Savitch
//Chapter 6
//Programming Project #4
//Counter program
#include <iostream>
#include <fstream>
#include <stdlib.h>
#include <conio.h>
using namespace std;
//Class for a counter type
class CounterType
{
public:
CounterType();
//Constructor
CounterType(in... | [
"noreply@github.com"
] | BoilerMakerStephen.noreply@github.com |
33ea668531adf113e880a32386909171ca728820 | ce1e8b29ffd9d97ffc5c693fe3bd4ee358b5e1d5 | /src/VoxieClient/JsonDBus.hpp | 2dbde776c4ca6da769c4d0fc5e714a160f6d64e5 | [
"MIT"
] | permissive | voxie-viewer/voxie | d76fe7d3990b14dea34e654378d82ddeb48f6445 | 2b4f23116ab1c2fd44b134c4265a59987049dcdb | refs/heads/master | 2023-04-14T13:30:18.668070 | 2023-04-04T10:58:24 | 2023-04-04T10:58:24 | 60,341,017 | 6 | 1 | MIT | 2022-11-29T06:52:16 | 2016-06-03T10:50:54 | C++ | UTF-8 | C++ | false | false | 1,797 | hpp | /*
* Copyright (c) 2014-2022 The Voxie Authors
*
* 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... | [
"steffen.kiess@cis.iti.uni-stuttgart.de"
] | steffen.kiess@cis.iti.uni-stuttgart.de |
c1203c8f00610963045010764c7ae32dcd420304 | 3957a455f49ebef7f770bd797a5b94bf706b4f42 | /example_3d_curves/src/BarLinesGenerator.cpp | 1bd2d5d3897ae0e22f3d5eac6c621c33a0f2a8f2 | [] | no_license | Kajiyu/ofxCnnHelpers | 7774d64cef5c5eab18cb16c3389a6cb67bddfca6 | d3711f0695fe9e2f4649b6a951f44f59500d9606 | refs/heads/master | 2020-05-23T10:12:41.145539 | 2017-02-07T09:29:44 | 2017-02-07T09:29:44 | 80,402,655 | 1 | 0 | null | 2017-02-07T09:29:44 | 2017-01-30T07:52:33 | C | UTF-8 | C++ | false | false | 1,798 | cpp | //
// BarLinesGenerator.cpp
// example_3d_curves
//
// Created by KajiharaYuma on 2017/01/30.
//
//
#include "BarLinesGenerator.hpp"
void BarLinesGenerator::setup() {
for (int i = 0; i < 4; i++) {
lines[i].setStrokeColor(ofColor(255, 120));
lines[i].setStrokeWidth(0.1f);
lines[i].setFil... | [
"kajimars.uts1@gmail.com"
] | kajimars.uts1@gmail.com |
cde5f1f146d242d8249d73fa6e6e4381154f2af9 | d2d6aae454fd2042c39127e65fce4362aba67d97 | /build/iOS/Release/include/Fuse.Controls.VideoImpl.LoadingClosure.h | 8ef9b840cc16b1e2f9fe31fc40bc85d070e52ec8 | [] | no_license | Medbeji/Eventy | de88386ff9826b411b243d7719b22ff5493f18f5 | 521261bca5b00ba879e14a2992e6980b225c50d4 | refs/heads/master | 2021-01-23T00:34:16.273411 | 2017-09-24T21:16:34 | 2017-09-24T21:16:34 | 92,812,809 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,993 | h | // This file was generated based on '../../AppData/Local/Fusetools/Packages/Fuse.Controls.Video/0.46.1/$.uno'.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Uno.IDisposable.h>
#include <Uno.Object.h>
namespace g{namespace Fuse{namespace Controls{namespace VideoImpl{struct Loa... | [
"medbeji@MacBook-Pro-de-MedBeji.local"
] | medbeji@MacBook-Pro-de-MedBeji.local |
6a4e8c88a8331597bb359c86fb3141ecee359fd7 | efb98110e37657dba870089db5457aabaa30ef12 | /mini_auv_gazebo_plugins/ThrusterPluginTEST.cc | 6c5c9f96a9a005de9ea30958f1202036f548f343 | [] | no_license | piercehowell/mini_auv_sim | f34b64751c4fc63c57eae95c9bb10ebaca432b8c | 49982e3c8374dac4bd145d6e22a9408ac2123ba7 | refs/heads/main | 2023-04-07T22:10:41.020309 | 2021-04-19T22:04:46 | 2021-04-19T22:04:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,559 | cc | #include <gazebo/gazebo.hh>
#include <gazebo/transport/transport.hh>
#include <gazebo/msgs/msgs.hh>
#include <gazebo/gazebo_client.hh>
#include <gazebo/common/common.hh>
#include "mini_auv_gazebo_msgs/ThrustCmd.pb.h"
#include "mini_auv_gazebo_msgs/Double.pb.h"
int main(int _argc, char **_argv){
//Connect this node... | [
"piercedhowell@gmail.com"
] | piercedhowell@gmail.com |
cd9e53fc3c8fb1bfdf98e41328929e9402bbbe5b | ed3a1aa5317284dc73eaadd8ad2ff465b4c470d6 | /task3.cpp | 2e7ffca7c072a7176a6f155eabab15ad2190ca3f | [] | no_license | Vano2000/-1 | 78f41e534d037ea5cca938f74877d09498482f33 | eeba0494e05d0ca342ad1a12b51ef2f993258d77 | refs/heads/main | 2023-03-06T16:24:55.644770 | 2021-02-19T22:29:45 | 2021-02-19T22:29:45 | 340,502,222 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 591 | cpp | #include <iostream>
#include <math.h>
using namespace std;
double Function(double x);
void main()
{
int x = 14;
double f;
f = Function(x);
cout << "x = " << x << ", function = " << f << endl;
cin >> x;
if (x <= 0)
{
cout << "x = " << x << ", Error x<0\n";
}
el... | [
"noreply@github.com"
] | Vano2000.noreply@github.com |
9fa46cdabd87df08225412efecf7cc771a235f63 | 2f329704f0b497c5751194697a9833011ea023ff | /AnnualLeave/AnnualLeaveAdapterEmail/public/EmailAdapter.hpp | fda5d2e63f07c970ad69eb9e0d9d67b10f070f2f | [
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | jcmurray/Cascades-Community-Samples | 7f5f9f04d46a5a94932947d507d93dc2273584af | 4749d8105d1136b960784ae451cd78fca5377b4a | refs/heads/master | 2020-04-03T16:46:29.260600 | 2016-01-25T20:03:01 | 2016-01-25T20:03:01 | 4,585,897 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 11,730 | hpp | /*
* Copyright (c) 2014 BlackBerry Limited.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... | [
"jomurray@blackberry.com"
] | jomurray@blackberry.com |
78554c600055d319f5526e343b48324855a76874 | 387cf5f72ed6679a4d9e04bddd16998a190c4caf | /problems/baekjoon/BOJ-1991.cpp | a0fa86d2ed09f59beb461bfdaeda5fd59fecb747 | [] | no_license | CodyBuilder-dev/Algorithm-Coding-Test | db4ee1e7565fbcef3140192225167eff42ad5c02 | cca5c4ba8bc31679ab00aceccfd8d9d39c232f72 | refs/heads/master | 2021-07-24T00:34:41.888289 | 2021-07-21T14:29:00 | 2021-07-21T14:29:00 | 219,123,221 | 1 | 0 | null | null | null | null | UHC | C++ | false | false | 2,490 | cpp | //제목 : 트리 순회
//목적 : 트리를 구현하고, 각 순회방법에 따라 순회하기
//조건 : 노드 개수는 최대 26
/*아이디어
1. 우선 이진트리를 구현할 줄 알아야 함
2. 트리를 구현한 후, 순회하는 부분을 짤 줄 알아야 함
*/
/*구현
1.배열로 구현해보자 (X) : 부모가 n이면 자식은 2n+1,2n+2
(문제점 : 노드 개수가 n개면 배열 index가 2^n)
2. 구조체+연결리스트로 구현해보자 (O) :
3. 노드의 이름이 영어대문자이므로 아스키코드 이용? 근데 이건 아스키를 외워야 되는데
*/
/*느낀점 :
1.노드 구조체(혹은 내부에 자기... | [
"52912568+CodyBuilder-dev@users.noreply.github.com"
] | 52912568+CodyBuilder-dev@users.noreply.github.com |
40686da0813116ea095e78041bd7bf74b3fa0902 | 8dc84558f0058d90dfc4955e905dab1b22d12c08 | /base/memory/ref_counted_unittest.cc | df1c30f843de99321abdd4e76a846a69accb039d | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | meniossin/src | 42a95cc6c4a9c71d43d62bc4311224ca1fd61e03 | 44f73f7e76119e5ab415d4593ac66485e65d700a | refs/heads/master | 2022-12-16T20:17:03.747113 | 2020-09-03T10:43:12 | 2020-09-03T10:43:12 | 263,710,168 | 1 | 0 | BSD-3-Clause | 2020-05-13T18:20:09 | 2020-05-13T18:20:08 | null | UTF-8 | C++ | false | false | 21,275 | 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 "base/memory/ref_counted.h"
#include <type_traits>
#include <utility>
#include "base/test/gtest_util.h"
#include "testing/gtest/include/gte... | [
"arnaud@geometry.ee"
] | arnaud@geometry.ee |
2075ca80ea77c491736871f584a22202af6fef16 | 44356fa069a84f094f0c72f128a273cde6315833 | /core/Exporter/FSExporter.cpp | b25076e49d0814eb988644f8731eb4c148d472ae | [
"MIT"
] | permissive | cat-anna/starVFS | 2253278a1bf1dfcae3302685c445081e29a27c79 | 14e26f27535539b8298f0492aef4a9531c07fbf5 | refs/heads/master | 2023-07-06T07:51:21.350402 | 2018-10-22T07:21:43 | 2018-10-22T07:22:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,410 | cpp | #include <fstream>
#include "../StarVFSInternal.h"
#include "FSExporter.h"
#include <boost/filesystem.hpp>
namespace StarVFS {
namespace Exporters {
FSExporter::FSExporter(StarVFS *svfs) : iExporter(svfs) {
}
FSExporter::~FSExporter() {
}
//---------------------------------------------------------------------------... | [
"pgrabas@gmail.com"
] | pgrabas@gmail.com |
a1e6fc75d57c2047b388e1f830a5fa4d657d81ea | 032959da3b67f95071122725a68c803f6b6f0c93 | /src/diffusion/diffusion_cuda.h | daa9c8981be5ddc0e3fe45cdf3b439d622fefdd6 | [] | no_license | naoyam/benchmarks | c3c42128eac603eae56a31d1ddebe1116f817574 | c9cab28b8b64e173c0b579352fe748570a9abfba | refs/heads/master | 2020-03-31T12:02:28.751027 | 2017-07-26T17:00:02 | 2017-07-26T17:00:02 | 25,889,320 | 4 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,246 | h | #ifndef DIFFUSION_DIFFUSION_CUDA_H_
#define DIFFUSION_DIFFUSION_CUDA_H_
#include "diffusion/diffusion.h"
#include "diffusion/baseline.h"
#include <cuda_runtime.h>
#ifndef BLOCK_X
#define BLOCK_X (64)
#endif
#ifndef BLOCK_Y
#define BLOCK_Y (4)
#endif
#ifndef GRID_Z
#define GRID_Z (4)
#endif
#define F1_DECL const REAL... | [
"maruyama3@llnl.gov"
] | maruyama3@llnl.gov |
5accbed360fe274837a9489950bc04f7d0ebb9c1 | 9396c6b58e37c7963ebe6a1c4e053dff1651275e | /example-locationID/src/testApp.cpp | d29193d9a2e74514581bb52804af3ac67845303f | [] | no_license | paulobarcelos/ofxMacamPs3Eye | 68762390c2645e9f446651488b0450be1a142221 | b178789fff6994cf50434680db62146cc0e4ecd5 | refs/heads/master | 2021-03-12T20:24:49.273602 | 2015-11-14T10:34:30 | 2015-11-14T10:34:30 | 5,482,662 | 29 | 6 | null | 2015-11-14T10:34:30 | 2012-08-20T15:01:40 | Objective-C++ | UTF-8 | C++ | false | false | 3,382 | cpp | #include "testApp.h"
/**
PS3Eye location ID's on relation to USB ports (for tested computers):
----------------------------------------------------------
MacMini Mid 2011
A - 4195549184
B - 4195483648
C - 4245815296
D - 4245880832
[A B C D] Thunderbolt HDMI FW Ethernet Power
/--------------... | [
"paulo@azucrina.org"
] | paulo@azucrina.org |
780b58c7466f66bb62727cd490d1d5b9474de4b4 | 907913e3f9238b68b62cda6d87acc7dff1f2834f | /TestMJ_GameLogic/TestMJ_GameLogic/GameLogic.h | 024c900bbb8da3416abec435882583feead48754 | [] | no_license | mengtest/Logic | ed8141dd33b3fdb5519eec67d4bfd5d2b28528a4 | 68578cb761eea5eb59c5d3e5e425084410f61401 | refs/heads/master | 2022-01-23T05:58:31.751632 | 2019-07-22T13:43:20 | 2019-07-22T13:43:20 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,423 | h | #ifndef GAME_LOGIC_HEAD_FILE
#define GAME_LOGIC_HEAD_FILE
#include "GameMessage.h"
#include "HuPaiLogic.h"
// 游戏逻辑类
class CGameLogic
{
// 函数定义
public:
// 构造函数
CGameLogic();
// 析构函数
virtual ~CGameLogic();
//控制函数
public:
// 混乱扑克
void RandCardData(BYTE byCardData[], BYTE byMaxCount);
// 删除扑克
bool RemoveCard(B... | [
"526932347@qq.com"
] | 526932347@qq.com |
f00c311b244134f5012dc7a1967c6e50dfd27bff | 8f0ff8ef8760415e170acbb898321bbc2022cb82 | /gpu/command_buffer/service/client_service_map.h | 19d4e55db265ed6c1b6f971b510f9387602d979f | [
"BSD-3-Clause"
] | permissive | mihailescu2m/chromium-src | 3b0f01a7a3491b26d3c79aac5adcf0e2f867036d | c7cb1fd9d11d3f996312346d16eac782fdc00b78 | refs/heads/master | 2023-01-12T10:44:58.479674 | 2018-07-22T17:03:38 | 2018-07-22T17:06:10 | 141,898,784 | 0 | 0 | null | 2018-07-22T13:37:20 | 2018-07-22T13:37:20 | null | UTF-8 | C++ | false | false | 4,724 | h | // Copyright (c) 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef GPU_COMMAND_BUFFER_SERVICE_CLIENT_SERVICE_MAP_H_
#define GPU_COMMAND_BUFFER_SERVICE_CLIENT_SERVICE_MAP_H_
#include <limits>
#include <unorder... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
9ffc2e462cb21fc35673113fd1dbad80e658ebee | f2f33c88da831f90a7740de3abeaeac6d2eb5d77 | /leetcodeOJ/659. Split Array into Consecutive Subsequences.cpp | 8c1e53dbc81b43d12cb34a7b9c33a743c396d79e | [] | no_license | fangjinxia/leetcodeOJ | 537e4b9514c5b356d7ea5e6045fbc19cc85c46d7 | 3ad465f189ec6e649101c6ee9e42ef9988f9509b | refs/heads/master | 2021-01-22T17:52:34.960033 | 2017-10-08T01:11:18 | 2017-10-08T01:11:18 | 85,039,265 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,652 | cpp | class Solution {
public:
bool isPossible(vector<int>& nums) {
int n = nums.size(), k = 0;
//if nums are not continuous, check each section
//for example, 1,2,3, 6,7,8;
for (int i = 1; i < n; i++) {
if (nums[i]-nums[i-1] > 1) {
if (!check(nums, k, i... | [
"1173865548@qq.com"
] | 1173865548@qq.com |
9161179a7f00952e333e1513aa83faecd5234a82 | cffeb2c154df166ce52ef4274e50c68e942a3b36 | /mailnews/mime/emitters/src/nsMimeBaseEmitter.h | 615d3176ba81869a6d10624a8f4fbe7ee3c4d2ac | [] | no_license | psunkari/spicebird | 048bb7486ff641f9ca15579b8897545a20f17c4e | 9fc3fd1b24d39612af913ff57b0bec5e2157c8d8 | refs/heads/master | 2021-01-22T02:28:39.258573 | 2013-04-05T20:12:36 | 2013-04-05T20:12:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,106 | h | /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the Licen... | [
"prasad@medhas.org"
] | prasad@medhas.org |
ff3963ac3d7c5066c44757efae8451269e42358b | 9a3b9d80afd88e1fa9a24303877d6e130ce22702 | /src/Providers/UNIXProviders/CIM_SqlObject.h | 59499a22e6d0b26f9274c53c70626b87789012ec | [
"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,808 | h | //%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 |
9a1e8b856de3939f9a48bb545472533e03145306 | 835c4524675ff190a2dfd2ad2e79459f7ee14e0d | /Hafta1/chars.cpp | a712984ead10607130ca6b0527e3e44057357fd5 | [] | no_license | forg1ven1/Compec-Cpp-2021 | 5813f3413542036c51b654ceffe9e0467e0f005f | dd7845b4274df646d107f33fc3bad77612b87e76 | refs/heads/master | 2023-08-27T04:26:16.196395 | 2021-11-11T17:54:42 | 2021-11-11T17:54:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 299 | cpp | #include <iostream>
using namespace std;
int main()
{
char c1 = 'A' + 1;
string c3 = "Ü";
cout << (int) c1 << endl;
//cout << c3 << endl;
char c2 = 72;
cout << c2 << endl;
char c4 = '1';
cout << (int) c4 << endl;
string s = "Compec";
char c5 = '9';
cout << c5 - '0';
return 0;
}
| [
"phystecharda@gmail.com"
] | phystecharda@gmail.com |
54698c14654c50e22bef6e97bf3ebd62411da3e9 | aef4e222b6bb7d56593f331405756e093d8eae26 | /Assignment_5/KthLargestElement.cpp | 2e3dad9375fdd5b65526bdeffc6d66451101bedd | [] | no_license | Subhash703/CP_CipherSchools | b6ebe82a73c3200f20fa74a12f4c637dc6cb2121 | 3719057bf22a2ac6a0bdf955fcd8f6f6592a19d0 | refs/heads/master | 2023-03-07T13:45:32.487191 | 2021-02-23T09:25:36 | 2021-02-23T09:25:36 | 338,604,760 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 922 | cpp | #include <iostream>
using namespace std;
void siftDown(int a[], int k, int n)
{
while (2 * k <= n)
{
int j = 2 * k;
if (j < n && a[j + 1] > a[j])
{
j++;
}
if (a[k] > a[j])
{
break;
}
swap(a[k], a[j]);
k = j;
}
}... | [
"subhashchandra30720@gmail.com"
] | subhashchandra30720@gmail.com |
20d74322bd500408edf535b3d8ba85dbf7a86353 | f37182c3ecb73665d180fb2783a198a916c1924c | /interview/17_24_getMaxMatrix.cpp | b53fe0f4ef87e3e7e5594a3a776becf6c332a277 | [] | no_license | 1091390146/algorithm | 2f410dbc1ad80dba9e486f80ba0999945fc01335 | 1bbbed25ae38fdf7eb24265c9666e9a70f293759 | refs/heads/master | 2022-12-14T01:52:59.111076 | 2020-09-20T03:32:13 | 2020-09-20T03:32:13 | 294,565,691 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,597 | cpp | #include <vector>
#include <algorithm>
#include <string>
using namespace std;
/*
面试题 17.24. 最大子矩阵
给定一个正整数和负整数组成的 N × M 矩阵,编写代码找出元素总和最大的子矩阵。
返回一个数组 [r1, c1, r2, c2],其中 r1, c1 分别代表子矩阵左上角的行号和列号,r2, c2 分别代表右下角的行号和列号。若有多个满足条件的子矩阵,返回任意一个均可。
注意:本题相对书上原题稍作改动
示例:
输入:
[
[-1,0],
[0,-1]
]
输出: [0,1,0,1]
解释: 输入中标粗的元素即为输出... | [
"1091390146@qq.com"
] | 1091390146@qq.com |
d24ed5bf8aa7a32ba14eaa58f070e612e05d1b76 | 18c4582923705ede6f2f276259871a29b69d8399 | /src/main.cc | 4225c3b878e5485d36b6d37a3c5284227e0d4150 | [] | no_license | pstanisz/cpp11sandbox | ab5799e49bd9e2facf3b35b0c501c44c8f32cb7b | 8d8f1bf3ded6c6040a848bf0f3bdf6ee36356e09 | refs/heads/master | 2022-10-09T02:29:25.608788 | 2022-09-28T06:34:43 | 2022-09-28T06:34:43 | 48,162,103 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,823 | cc | #include <iostream>
#include <string>
#include <list>
#include <vector>
#include <thread>
#include <algorithm>
#include <functional>
using namespace std;
#include "cpp11config.hh"
#include "Builder/builder.hh"
#include "Builder/dwarf.hh"
#include "Builder/elf.hh"
#include "Builder/human.hh"
#include "Builder/witcher.... | [
"p.stanisz@gmail.com"
] | p.stanisz@gmail.com |
7cc20d2a279aec639ddfeed50d14cef6d12bcdd2 | 05d5ccee626b6c2b606f3a284d9c13121c1160ff | /data_compression/L2/tests/src/xil_snappy_streaming.cpp | 23ee626794139e42ea88bb04cef03ddefa32213c | [
"Apache-2.0",
"Zlib",
"BSD-2-Clause"
] | permissive | classmate7/Vitis_Libraries | a6407508bd6aa1a92bb82db2c590e0e0c00dbcff | 40b98f7a20d4f9d181642104f74d797a94315024 | refs/heads/master | 2021-01-02T15:45:36.347010 | 2019-11-12T18:05:06 | 2019-11-12T18:05:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,859 | cpp | /*
* (c) Copyright 2019 Xilinx, 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 by ap... | [
"tianyul@xilinx.com"
] | tianyul@xilinx.com |
b6091163e5cbd7aeae8a4b3efceef558794daa14 | d50b5cc908f06facaed95c4558c296227270f62c | /UVA/Minimum Spanning Tree/544_Heavy_Cargo.cpp | ad904a9f3285184e2b2f916a6e0710e2d04375d3 | [] | no_license | marcelomata/competitive-programming-1 | e24ac3bc129cb4aae2544c03252fc9dd55351c55 | c0631e1f0eb52c6f13b0d047ea976ce61bf0991f | refs/heads/master | 2023-03-17T17:41:28.636855 | 2021-02-28T16:44:50 | 2021-02-28T16:44:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 921 | cpp | #include<bits/stdc++.h>
#define MAX 205
using namespace std;
int n, r;
int G[MAX][MAX];
void floyd(){
for (int k = 1; k <= n; k++) {
for(int i = 1; i <= n; i++ ){
for (int j = 1; j <= n; j++){
G[i][j] = G[j][i] = max (G[i][j], min(G[i][k], G[k][j]));
}
}
}
}
int main(){
in... | [
"kleiber.ttito@sap.com"
] | kleiber.ttito@sap.com |
def0d4a6ed87f23096db8963e2b25156e6dd8066 | 019f5eff50f9a5d65fff95c6dae507e0d69f8315 | /libraries/dear-imgui/basic/file_manager.h | 74d22d3e4f3c812950d96693f033bed75b585884 | [
"MIT"
] | permissive | conan-io/examples | 8a7ec33d0d18ae60cf0b3d8425a2f7afed18aea8 | 3244d6a6275312302bec123559a74126be1f168a | refs/heads/master | 2023-06-22T03:23:45.025623 | 2023-06-16T11:28:43 | 2023-06-16T11:29:22 | 172,118,598 | 129 | 85 | MIT | 2023-06-16T11:15:58 | 2019-02-22T18:53:22 | Python | UTF-8 | C++ | false | false | 211 | h | #pragma once
#include <fstream>
#include <string>
#include <sstream>
#include <iostream>
class FileManager
{
public:
FileManager();
~FileManager();
static std::string read(const std::string& filename);
};
| [
"noreply@github.com"
] | conan-io.noreply@github.com |
9a183d9d19fccc9591b69b17b514cdf6a681868e | b45cf1191a855f7b1b1ed7e47a14675dc9cf46a3 | /Source/OCCore/Image/IImageLoader.h | 87d6c52625412fc0695cd6abc5c9db27e7ff90c7 | [] | no_license | raulpercy/opencine | 396875d179d8625ec29c4bdc943a735d56eeaaf9 | ed4edf84133c660e48923986cde27fd97bf4f5f6 | refs/heads/master | 2021-01-17T22:45:58.515763 | 2017-03-01T22:12:53 | 2017-03-01T22:12:53 | 84,202,626 | 1 | 0 | null | 2017-03-07T13:32:47 | 2017-03-07T13:32:47 | null | UTF-8 | C++ | false | false | 104 | h | #ifndef IIMAGELOADER_H
#define IIMAGELOADER_H
class IImageLoader
{
};
#endif //IIMAGELOADER_H
| [
"b.andrej@cumir.de"
] | b.andrej@cumir.de |
15d3bbe631e7abb89ee96e155e1e0c75a815f310 | 8841f8f15e7563d09ef2dee67c590e7c5b2b37b5 | /game.cpp | 8948c77a69ac5657a623d237175d106b9c179892 | [] | no_license | jainaagam96/snake-game-with-cpp | ce74419b21dd5dd7cbafe49a136ab2e6c64cbcf8 | af5d2a58ca809e42345d55e95751565a7f4ca68c | refs/heads/master | 2020-05-07T09:55:11.960156 | 2019-04-09T16:09:35 | 2019-04-09T16:09:35 | 180,397,075 | 1 | 1 | null | 2019-10-01T20:02:02 | 2019-04-09T15:28:06 | C++ | UTF-8 | C++ | false | false | 5,305 | cpp | #include<iostream>
#include<cstdlib>
#include<ctime>
#include<conio.h>
#include<windows.h>
void pos(int);
bool check();
int pr=2,pc=2,r1,c1,c,length=1;
int po[100],poo[100];
char a[28][40]={' '};
using namespace std;
int prev;
int score;
bool draw(int r,int c,int n)
{
int i;
cout<<"score is: "<<... | [
"noreply@github.com"
] | jainaagam96.noreply@github.com |
cba7bc9f930969472f2c4e47ece8233cc664e1f6 | 2696a4f1f21c8ef7c225855dd5c8a683a86886dd | /Library/Fen/TabCours.h | 413b72f18949333a3cbecf48b6ad0e987938d13a | [] | no_license | MPercieduSert/NoteCpp | d9c6dfa3b116c19a7198c8d81d0295b33ab97473 | 330d80d465dbc3cd9f4a8eda0e8b0a2cfc15f236 | refs/heads/master | 2020-12-24T16:34:12.858504 | 2017-10-07T08:03:47 | 2017-10-07T08:03:47 | 42,960,354 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 510 | h | /*Auteur: PERCIE DU SERT Maxime
*Date: 06/06/2017
*/
#ifndef TABCOURS_H
#define TABCOURS_H
#include "TabAbstractModule.h"
/*! \ingroup groupeFen
* \brief Classe de l'onglet des cours.
*/
class TabCours : public TabAbstractModule
{
Q_OBJECT
public:
//! Constructeur.
explicit TabCours(int index, TabModu... | [
"maximeperciedusert@hotmail.fr"
] | maximeperciedusert@hotmail.fr |
59726abb13b82ca20b8357e4f3fa853b2d2a888c | 78b2e724c9dbcc9c96821ccd725c94d735b034cc | /src/platform.cpp | 0c8711b79ee52323e9dfede3f75a21b07f016a61 | [
"MIT"
] | permissive | pzagalsky/milkdrop2020 | 671f06b4257557f7af6c8c761c061527ae6f47ea | 9354242ccf17909be7e9ab2f140d8508030bc3b1 | refs/heads/main | 2023-05-31T10:40:00.850540 | 2021-07-04T02:32:51 | 2021-07-04T02:32:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 25,398 | cpp |
#include "platform.h"
#ifdef WIN32
// This is the only file that should be including windows.h
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <sys/stat.h>
#if !defined(S_ISREG) && defined(S_IFMT) && defined(S_IFREG)
#define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
#endif
#if !defined(S_ISDIR) &... | [
"icer@icer.me"
] | icer@icer.me |
242e0b2edbef7f23a82f79ff74715e21dfda8cea | d069af8cd661e509666cc669f3de2eeb9564acb4 | /CppSamples/Source/Tags/MergeTag.h | 919bb0d1962090f43b6598a4598de387eb3d58ee | [] | no_license | matiasfigue/VxSDK-Samples | 7e057540e37866abde97fb7b16f9af568fe049f9 | d1162dd9142204c83d719ffd0048871b8bd75f44 | refs/heads/master | 2022-10-06T23:31:20.325527 | 2020-06-04T20:09:58 | 2020-06-04T20:09:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,819 | h | #pragma once
#include "Plugin.h"
#include "VxSdk.h"
namespace CppSamples {
namespace Tags {
/// <summary>
/// This plugin sample merge two tags in the current system.
/// </summary>
class MergeTag : public CppSamples::Common::Plugin {
public:
MergeTag(const std... | [
"Zach.Moore@schneider-electric.com"
] | Zach.Moore@schneider-electric.com |
b1960a46b96a1300316cb8435d4425bb8556cdc1 | 1ae555d3088dc123836060371fc520bf0ff13e52 | /atcoder/agc011/b.cpp | 8628da5183bba37f172a0fac45cdcf374e8245dc | [] | no_license | knagakura/procon | a87b9a1717674aeb5ee3da0301d465e95c758fde | c6ac49dbaaa908ff13cb0d9af439efe5439ec691 | refs/heads/master | 2022-01-31T19:46:33.535685 | 2022-01-23T11:59:02 | 2022-01-23T11:59:02 | 161,764,993 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,912 | cpp | #include <bits/stdc++.h>
using namespace std;
#define rep(i,N) for(int i=0;i<int(N);++i)
#define rep1(i,N) for(int i=1;i<int(N);++i)
#define all(a) (a).begin(),(a).end()
#define print(v) { cerr<<#v<<": [ "; for(auto _ : v) cerr<<_<<", "; cerr<<"]"<<endl; }
#define printpair(v) { cerr<<#v<<": [ "; for(auto _ : v) cerr<<... | [
"knagakura@bs.s.u-tokyo.ac.jp"
] | knagakura@bs.s.u-tokyo.ac.jp |
b6a6791562d0050d285f781d4c160af35109419c | 19907e496cfaf4d59030ff06a90dc7b14db939fc | /POC/oracle_dapp/node_modules/wrtc/third_party/webrtc/include/chromium/src/ash/display/projecting_observer_chromeos.h | 2b61e405e2aa54d8dd0e2e1ae8d7d797e31c3ead | [
"BSD-2-Clause"
] | permissive | ATMatrix/demo | c10734441f21e24b89054842871a31fec19158e4 | e71a3421c75ccdeac14eafba38f31cf92d0b2354 | refs/heads/master | 2020-12-02T20:53:29.214857 | 2017-08-28T05:49:35 | 2017-08-28T05:49:35 | 96,223,899 | 8 | 4 | null | 2017-08-28T05:49:36 | 2017-07-04T13:59:26 | JavaScript | UTF-8 | C++ | false | false | 1,695 | h | // 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.
#ifndef ASH_DISPLAY_PROJECTING_OBSERVER_CHROMEOS_H_
#define ASH_DISPLAY_PROJECTING_OBSERVER_CHROMEOS_H_
#include "ash/ash_export.h"
#include "ash/shell_o... | [
"steven.jun.liu@qq.com"
] | steven.jun.liu@qq.com |
3d5b6c39ad4fd157175d89c632f2ef4d2727bffc | cf601cf1e4bc407e45e0e97f103db2330d585437 | /src/Stream|Sampling Problem/shuffle.cpp | 473222c3278f92dc1b34fd726ba48e4a3170f96a | [] | no_license | huiqit/Algo | 276d187e9fc226102f4a1ba99fce68fca7853ea4 | ee181ac3371f18770dd3f016d3e8816f66f15ddc | refs/heads/master | 2022-04-10T00:36:31.214058 | 2020-03-31T21:06:14 | 2020-03-31T21:06:14 | 188,317,341 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 681 | cpp | /*
C++ swap is an in-place function
array.size()
rand(): 0 ~ RAND_MAX
rand() % range + initial value
initialize random seed: srand(time(NULL))
*/
class Solution {
public:
vector<int> numbers;
Solution(vector<int> nums) {
numbers = nums; //this -> nums = nums;
}
vector<int> reset() {
... | [
"noreply@github.com"
] | huiqit.noreply@github.com |
0972925f9cf17031daa9c01c5856fa0ad47ce3e1 | 4b32aed2f41e9e831464fe8efc1a623354e1aa97 | /src/cpp/src/value.cpp | c2d6adb8383f07a125e6fae9825e2bc3cd5e0f12 | [
"Apache-2.0"
] | permissive | arescentral/procyon | de62a452dc900b0cf5913a83c8e0cd64664ccebe | d5a41f6a61d72c81b721ddd697cd66074fb72f55 | refs/heads/master | 2023-07-22T12:23:43.605413 | 2023-07-21T03:19:44 | 2023-07-21T03:19:44 | 78,474,931 | 7 | 6 | Apache-2.0 | 2023-07-21T03:19:45 | 2017-01-09T22:26:53 | C | UTF-8 | C++ | false | false | 8,236 | cpp | // Copyright 2017 The Procyon Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agree... | [
"sfiera@twotaled.com"
] | sfiera@twotaled.com |
18d8a9bc6087ec6e9b86aca280cfbf5dc641bc40 | 82dbe412c7b801bf1b2559a71bca7b0ead6c8a1f | /RuleList.h | df7d1996f0d5580fd9ce5145ab89a5b586686bf3 | [] | no_license | davidepatti/M9DSE | 85b5e7b50619abd0d51420baf994b85d823674e0 | 688a83a3d4550ca2f5e9455c88c194ee0662de87 | refs/heads/master | 2023-03-15T05:02:52.508562 | 2023-03-11T20:10:02 | 2023-03-11T20:10:02 | 171,322,415 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 532 | h | #ifndef _RuleList_
#define _RuleList_
#include "common.h"
#include "memory.h"
class CRuleList
{
public:
CRuleList(void) {};
CRuleList(int MaxRules, int InDim, int OutDim);
~CRuleList(void);
int insertRule(Rule newRule);
int searchRule(Rule newRule);
Rule getConsequents(Rule leftPart);
int getRuleNumber();
R... | [
"xedivad@gmail.com"
] | xedivad@gmail.com |
67d58a066bc8189e641eb13463f018e804014d01 | e24de44993ee3e832aaba8ac44278a59d0488eae | /Day 14_15/01 Inheritance/Source01.cpp | 47025f8fb811bd96a88e3afeff924c18624364a8 | [] | no_license | mke01/BasicC- | e752f94eaf02ed9a3471253fef19ccc698e6fc64 | e7de1520ab3dd54ecfc04c6369124e9df146e701 | refs/heads/master | 2020-04-19T02:41:31.446872 | 2020-01-09T12:50:33 | 2020-01-09T12:50:33 | 167,911,659 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 193 | cpp | void f();
void f();
void f();
#if !defined(CLASSX)
#define CLASSX
class X
{};
#endif
#if !defined(CLASSX)
#define CLASSX
class X
{};
#endif
int main()
{
f();
return 0;
}
void f()
{
} | [
"MKE1@dsone.3ds.com"
] | MKE1@dsone.3ds.com |
a358ce025303da706d88f03cd9224328616a7c47 | fa3e8e1486cfe1fe98d77bd5f7458f68efa1da8a | /src/headers/hypercube.h | f97dcf12a612f4a080c98dbc1660f47eea377e58 | [] | no_license | cupermanrose/UTK_source | 4025fa3cd6dcdc3f52c981cee4758d738d1db3a2 | 16466c87b08e2e368ba870cdcbbf31dc36be406b | refs/heads/master | 2023-06-25T06:31:08.759269 | 2021-07-29T08:40:56 | 2021-07-29T08:40:56 | 390,658,182 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,342 | h | /* ----------------------------------------------------------------------------
This header file includes class Hypercube declaration.
It is presented by two diagonal d-dimensioanl points.
---------------------------------------------------------------------------- */
#ifndef HYPERCUBE_DEFINED
#define HYPERCUBE_DEFINE... | [
"cupermanrose@gmail.com"
] | cupermanrose@gmail.com |
14c4677ad85ddf94be7606990ee4bee03842c270 | ff09014c1ac461ff552e3e1b4dbc2d5074bdbc21 | /device/common/nn_workload_data.cpp | 5fd9129bd2246f6f2a7b36cfcde8ab7d0be31900 | [
"BSD-3-Clause"
] | permissive | fireword/idlf | 667be65b22ae571c74dd73342d59ecc1103c6d82 | 6f9b1986bc67856e3019ae3c83ed8d4b8a3b3972 | refs/heads/master | 2021-01-21T16:38:45.729974 | 2016-06-16T09:55:05 | 2016-06-16T09:55:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 25,557 | cpp | /*
Copyright (c) 2014, Intel Corporation
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 conditions and the following disclaime... | [
"piotr.majchrzak@intel.com"
] | piotr.majchrzak@intel.com |
a66881ca0a508fbfd4b989deefb2aa7aed764df4 | 034e7cc2584f79c65abd92073b869a7007ec2727 | /lab-9/q9.15.cpp | 6e0b8dd46b95aefd2b7072a6136dc92146465e28 | [] | no_license | Lipsagamango/cs141lab-9 | 4fef745b262855e129e13692b3268f401d7c49ec | 77d9fa4383aa8ba555ec1c334764ba0beb00cdfa | refs/heads/master | 2020-04-04T16:47:10.217145 | 2018-11-04T14:59:02 | 2018-11-04T14:59:02 | 156,093,263 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 682 | cpp | /* Create a string and store your name in it.
Use a loop to print string character by character using the normal index method
as well as the pointer method. */
#include <iostream>//include library
using namespace std;
int main()
{
char arr[20];
cout<<"Enter your name:"<<endl;
cin.getline(arr,20);
//No... | [
"noreply@github.com"
] | Lipsagamango.noreply@github.com |
1f241b5c4186e4a09318e91e88014a28a6fa9b60 | a66500416e6c363efa96f46b437abe588efb57f6 | /Game/Game/src/Engine/AVIstream.cpp | 318100a27f29c45b9fa2f35d2fe5541e9f255513 | [] | no_license | Kraetyz/AdventureGame | b02b111e84ea0016d4264cd7e5eec28dd255aeeb | 4aa9d64a4710b67edf40c3ace954c459eca09a2e | refs/heads/master | 2021-01-10T16:52:12.282248 | 2015-06-26T16:23:22 | 2015-06-26T16:23:22 | 36,799,329 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,969 | cpp | #include "AVIstream.h"
AVIstream::AVIstream(std::string filePath)
{
hdd = DrawDibOpen();
openAVI(string("Media/AVI/").append(filePath)); // Open The AVI File
// Create The Texture
genTexture();
}
void AVIstream::genTexture()
{
glGenTextures(1, &tex);
glActiveTexture(GL_TEXTURE0);
glBindTexture(GL_TEXTURE_2D,... | [
"krae_tyz@hotmail.com"
] | krae_tyz@hotmail.com |
997eab41ec21e33381b9671f43251d186539b7de | 244bd1c5574bfb16d4eabcef085050d2071a1f16 | /src/tagger/canvas.h | 11917128542c47f866b41c5f8c2f33bb77aefb87 | [] | no_license | jimregan/arboratrix | cb2eeb05e9e1ec45aed4d52bc84ce016686ad95c | de25b0b17490b3758178b484cf0e9f775c969f03 | refs/heads/master | 2021-01-16T21:23:51.617737 | 2012-05-24T18:14:03 | 2012-05-24T18:14:03 | 572,692 | 1 | 0 | null | null | null | null | ISO-8859-10 | C++ | false | false | 8,983 | h | // -*- C++ -*-
/*
* 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 distributed in the hop... | [
"mlforcada"
] | mlforcada |
73b7c34a231d39264ca16ea1a7cff3480acb7d4f | 4b42e3b00d43e4b2a8587882810a4a4b6b6baacf | /number-printer.cpp | 6a483b374bc325b140fcbfdf6c568f4c65e35ac3 | [] | no_license | marshabenj1/ENGR101-2017 | fe05c32c03f3263e2c8597385d30c2c1f916fe1d | 96227f62a0a582a1533785bded52f2f2556c9eab | refs/heads/master | 2021-01-19T09:22:06.043991 | 2017-04-10T01:35:00 | 2017-04-10T01:35:00 | 87,753,561 | 0 | 0 | null | 2017-04-10T01:36:42 | 2017-04-10T01:36:42 | null | UTF-8 | C++ | false | false | 87 | cpp | #include <stdio.h>
int main(){
int number = 100;
printf("%d",number);
return 0;
}
| [
"noreply@github.com"
] | marshabenj1.noreply@github.com |
605918d77d3a96a8c35671ca82aaf77e9a1b715e | 0d1f1555b0bfebe154614224e787a621eccde0e3 | /interfaces/blas/C/nrm2.cc | 3e0bd606424b3c0a36d62e83805cfa3a3da41596 | [
"BSD-3-Clause"
] | permissive | michael-lehn/ulmBLAS | b1dd4960755185589820a54097a6a9c486552bb7 | 191efa54ddb595760353a1ca557a886fa74a864a | refs/heads/master | 2022-04-30T23:38:45.471294 | 2022-04-02T10:25:37 | 2022-04-02T10:25:37 | 19,777,732 | 106 | 43 | null | 2014-08-28T07:25:06 | 2014-05-14T12:00:58 | FORTRAN | UTF-8 | C++ | false | false | 1,632 | cc | #include BLAS_HEADER
#include <complex>
#include <ulmblas/ulmblas.h>
#include <iostream>
extern "C" {
float
ULMBLAS(snrm2)(int n,
const float *x,
int incX)
{
return ulmBLAS::nrm2(n, x, incX);
}
double
ULMBLAS(dnrm2)(int n,
const double... | [
"michael.lehn@uni-ulm.de"
] | michael.lehn@uni-ulm.de |
d9b2a066e320eec06ca2905b8c165d95908100a6 | 1d928c3f90d4a0a9a3919a804597aa0a4aab19a3 | /c++/rdkit/2015/12/MolFileStereochem.cpp | 91e07592d330cc74ca37fe4f1cfd34264ab265c8 | [] | no_license | rosoareslv/SED99 | d8b2ff5811e7f0ffc59be066a5a0349a92cbb845 | a062c118f12b93172e31e8ca115ce3f871b64461 | refs/heads/main | 2023-02-22T21:59:02.703005 | 2021-01-28T19:40:51 | 2021-01-28T19:40:51 | 306,497,459 | 1 | 1 | null | 2020-11-24T20:56:18 | 2020-10-23T01:18:07 | null | UTF-8 | C++ | false | false | 36,957 | cpp | // $Id$
//
// Copyright (C) 2004-2014 Greg Landrum and Rational Discovery LLC
//
// @@ All Rights Reserved @@
// This file is part of the RDKit.
// The contents are covered by the terms of the BSD license
// which is included in the file license.txt, found at the root
// of the RDKit source tree.
//
//
#include ... | [
"rodrigosoaresilva@gmail.com"
] | rodrigosoaresilva@gmail.com |
25ee2f2bff10e6aecf5f651da7c4d49b393ac123 | bbd75bf02e06f4521865ef66c4daf7f587eba1de | /main.cpp | ee7fbccc9ebb4bd924839d9fdb7059741d2cf32c | [] | no_license | mzb3319/Algorithms | 06cc87021c5b895715578cab0e5a1d8ed6ea69fb | 95eab94ef10c38a6f580ce596f1b27bbcda5bcb7 | refs/heads/master | 2020-12-02T22:18:02.799261 | 2017-07-31T08:54:30 | 2017-07-31T08:54:30 | 96,106,589 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,203 | cpp | /*
* 强连通分量
* 这里我没有具体写,先写一下思路
* 计算强连通分量的过程分为:
* 1.计算图的深度优先搜索,此时对每个节点都有有完成时间。
* 2.计算图的转置,就是把原来图中的边都反向
* 3.在转置图中计算深度优先搜索,在计算过程中,主循环对每个节点调用DFS_visit时按照节点的降序调用。循环完成后形成的深度调用树就是强联通分量
*
* 转置图中强连通分量之间互相连接的边都是从较早结束的节点指向较晚结束的节点。因此,在第三步中DFS时,最先探查的是第一个强连通分量中的
* 节点,并且该强连通分量中的节点没有指向其他强连通分量的边,当探查完这个强连通分量,继续探查下一个强连通分量时,指向其他强连通... | [
"331972146@qq.com"
] | 331972146@qq.com |
630da80838f0f8b3bce5f83491325a8c3e669862 | b656dc19dcd1cbd76ef4d88c879e7f6fa2e885e4 | /include/lidepthtest.h | 1d1d7c7db1e000545b23853a124a7ffcce9154ec | [] | no_license | setrunk/LiCore | 53b19b6c82b1129d10679c9b33c87fb276e00b51 | b372688732901bbb6fd45dc0b21b99f8be5e935f | refs/heads/master | 2020-05-20T01:16:20.121067 | 2019-11-19T14:02:46 | 2019-11-19T14:02:46 | 185,304,772 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 916 | h | #ifndef LIDEPTHTEST_H
#define LIDEPTHTEST_H
#include "lirenderstate.h"
class LiDepthTestPrivate;
class LICORE_EXPORT LiDepthTest : public LiRenderState
{
Q_OBJECT
Q_PROPERTY(DepthFunction depthFunction READ depthFunction WRITE setDepthFunction NOTIFY depthFunctionChanged)
public:
enum DepthFunction {
... | [
"setrunk@163.com"
] | setrunk@163.com |
7d0267cec7bec37e6182523f456cf19b19d0143f | b22588340d7925b614a735bbbde1b351ad657ffc | /athena/HLT/Trigger/TrigControl/TrigServices/src/TrigIS.cxx | f4ff29e75def190a8d5ad9715bada97f792c74a8 | [] | 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 | 2,024 | cxx | /*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
/**
* @file TrigIS.cxx
* @brief Implementation of TrigIS service
* @author Frank Winklmeier
*
* $Id: TrigIS.cxx 5 2013-05-14 10:33:04Z ricab $
*/
#include "TrigServices/TrigIS.h"
#include "is/info.h"
TrigIS::TrigIS(const std::st... | [
"rushioda@lxplus754.cern.ch"
] | rushioda@lxplus754.cern.ch |
e46c458652f8925dd543a2d1eee481a5c06652fd | 1623ee3c4dea769d90f0cdeeb91b74e4329bc30c | /Binary Search/Sorted Insert Position.cpp | bb044f00d4690f60cd620e4e8c58ffd5b768089a | [] | no_license | swapnilhota/interviewBit | e80fbcc98ccfa525f6cc335725f5a6682de7597e | fc12bb6b1025b93c19632e812b923bf313b80a9c | refs/heads/main | 2023-08-19T10:25:04.999385 | 2021-10-25T04:16:27 | 2021-10-25T04:16:27 | 361,213,870 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 556 | cpp | int Solution::searchInsert(vector<int> &A, int B) {
int ans=0;
int left=0;
int right=A.size();
while(left<right)
{
int mid = (left+right)/2;
if(A[mid]==B)
{
return mid;
}
if(A[mid]<B)
{
left=mid+... | [
"noreply@github.com"
] | swapnilhota.noreply@github.com |
e52cb150d44dd51471a38eff08a5f8d0d8e74536 | 82661e261eeca6c2fc3344044892213f66604e92 | /网络赛/9121006.cpp | 25fcace19a4a9d5956b1ff56c962123158448ea6 | [] | no_license | kevin20x2/acmcode | cb01cd571a1e21ffda159b5c0ce865e305a64ea3 | 636b39683f6f784a0da590cb6fcd531996b60cd8 | refs/heads/master | 2021-01-01T05:30:31.690408 | 2015-03-16T14:01:18 | 2015-03-16T14:01:18 | 30,408,267 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,308 | cpp | /*
*File: 9121006.cpp
*Date : 2014-09-21 12:37:58
*/
#include<cstdio>
#include<iostream>
#include<cstring>
#include<cmath>
#include<vector>
#include<algorithm>
typedef long long LL;
#define clr(x) memset((x),0,sizeof(x))
#define inf 0x3f3f3f3f
#define loop(i,l,r) for(int (i)=(l);(i)<=(r);(i)++)
#define iloop(i,l,... | [
"kevin20x2@gmail.com"
] | kevin20x2@gmail.com |
04d614a9087b2cee731b1861cf6c8b45ae85ed59 | a400f67fbff5855736f3907100be91871b959701 | /tp/TP10/parcours.cpp | cc3f773e99868346a1f428c1bb541e06c7f79e88 | [] | no_license | AntoineHoang/robot-c | 35b210d1191a68d91b779d6d8fa89d74458e01cd | ca4ba8822fddc45af88d765648676f085253c3f1 | refs/heads/master | 2021-01-01T04:05:27.028223 | 2016-05-16T19:13:11 | 2016-05-16T19:13:11 | 58,959,941 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 5,107 | cpp | /***************************************************************************************************
// Parcours.cpp
//
// Auteur : Marc-André Gagnon
// Description: Implémentation de la classe parcours
//
****************************************************************************************************/
#inc... | [
"hoangmqa@gmail.com"
] | hoangmqa@gmail.com |
08d43d5d7da420b0e64f659b33fc66d1f06903ab | ad5b72656f0da99443003984c1e646cb6b3e67ea | /src/plugins/intel_gna/tests/unit/transformations/gna_convert_dwsc_to_scaleshifts.cpp | 4e5c0cf47dad94f935f4962bfdd7b1d0c093c4cc | [
"Apache-2.0"
] | permissive | novakale/openvino | 9dfc89f2bc7ee0c9b4d899b4086d262f9205c4ae | 544c1acd2be086c35e9f84a7b4359439515a0892 | refs/heads/master | 2022-12-31T08:04:48.124183 | 2022-12-16T09:05:34 | 2022-12-16T09:05:34 | 569,671,261 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,078 | cpp | // Copyright (C) 2018-2022 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include <gtest/gtest.h>
#include <tuple>
#include "transformations/convert_dwsc_to_scaleshifts.hpp"
#include "common_test_utils/ngraph_test_utils.hpp"
#include <ngraph/function.hpp>
#include <ngraph/opsets/opset7.hpp>
#include <n... | [
"noreply@github.com"
] | novakale.noreply@github.com |
7404889bdf6446e3e5c34302dd717b5e75357394 | f27e22b901c90cef74d27b85dcf13e740ee99327 | /src/checkpoints.cpp | 5ff93ed697d244566d66a990f52f2b78071fd21f | [
"MIT"
] | permissive | masternodecoin/masternodecoin | 75a214096598c764a18194d528983181ba3ca30b | 4fb947b782289897874174ac9f01a13657c01d5e | refs/heads/master | 2021-06-25T20:35:59.676430 | 2018-12-06T07:11:39 | 2018-12-06T07:11:39 | 100,444,329 | 6 | 10 | MIT | 2019-07-07T10:44:29 | 2017-08-16T03:35:14 | C++ | UTF-8 | C++ | false | false | 9,154 | cpp | // Copyright (c) 2009-2017 The Bitcoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <boost/assign/list_of.hpp> // for 'map_list_of()'
#include <boost/foreach.hpp>
#include "checkpoints.h"
#include "proof... | [
"31052241+masternodecoin@users.noreply.github.com"
] | 31052241+masternodecoin@users.noreply.github.com |
0716cd7ab8befaebb6360f64eae20983ace1cace | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/squid/hunk_6637.cpp | 5871c23f1fc8e10e747819ecfc3147840321f5d9 | [] | no_license | ccdxc/logSurvey | eaf28e9c2d6307140b17986d5c05106d1fd8e943 | 6b80226e1667c1e0760ab39160893ee19b0e9fb1 | refs/heads/master | 2022-01-07T21:31:55.446839 | 2018-04-21T14:12:43 | 2018-04-21T14:12:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,811 | cpp | static void info_get_mallstat(int, int, StoreEntry *);
#endif
-/*
- * An hour's worth, plus the 'current' counter
- */
-#if 0 /* moved to defines.h to get from snmp_oidlist.c */
-#define N_COUNT_HIST 61
-#endif
StatCounters CountHist[N_COUNT_HIST];
static int NCountHist = 0;
+static StatCounters CountHourHist[... | [
"993273596@qq.com"
] | 993273596@qq.com |
8441269fe1301f83276d312e7a597e2dfceaf53a | a1821757e9fadfe956aa695f4c00701d4cae50e3 | /enemyOrcs.cc | a76bcca97aff4e40df11f178b4220c2ebf6c7b8d | [] | no_license | Hyperloop001/Game-Chamber-Crawler-3000 | cb5b8777f83709821636196935d2408601edc310 | 1518a7b575e21d4341dba7aed466e63ac2b55e6a | refs/heads/master | 2021-05-11T21:35:20.517273 | 2019-04-12T15:18:37 | 2019-04-12T15:18:37 | 117,470,987 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 690 | cc | #include "enemyOrcs.h"
#include "pc.h"
using namespace std;
/////*****Orcs*****/////
Orcs::Orcs(int row, int col)
:Enemy(row, col, 'O', 180, 30, 25, 0, "Orcs") {
setMoney(generateRandom(1, 2));
}
Orcs::~Orcs() {}
void Orcs::attack(Figure * oppo) {
oppo->beAttacked(this);
}//does 50% more damage to goblin
void Or... | [
"billtong1998@outlook.com"
] | billtong1998@outlook.com |
d195d03c9b8571b307c08cc874073f2d6e023365 | bd1d17c9839c173d44d9c95617ac415fd36bbd5c | /Renderer.cpp | c38f304b26b0a390a6e6154ee22068f1d6452be8 | [] | no_license | logan-5/circuit | 20cc91a2752dae59133562e6763a162b1471df7a | d0edd659b39edff8ed31e75a391b142411df8539 | refs/heads/master | 2020-12-24T18:41:34.383255 | 2015-03-30T07:37:24 | 2015-03-30T07:37:24 | 58,905,035 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,251 | cpp | #include "Renderer.h"
#include <vector>
#include <functional>
Renderer::Renderer( std::shared_ptr<SDLWrapper::Window> window, std::weak_ptr<Game> game ) : _window( window ), _game( game ) {
}
Renderer::~Renderer() {
}
/*
void Renderer::add( std::weak_ptr<Drawable> d ) {
_drawList.push_front( d.lock() );
}
void Ren... | [
"logan.r.smith@biola.edu"
] | logan.r.smith@biola.edu |
9a04b5caae1b8d9505abe8b1cff45f66151f22ba | b7f3edb5b7c62174bed808079c3b21fb9ea51d52 | /services/device/generic_sensor/platform_sensor_provider_mac.h | 1a7282d8c9783f4c1b379ba0edf0ca9d9f558406 | [
"BSD-3-Clause"
] | permissive | otcshare/chromium-src | 26a7372773b53b236784c51677c566dc0ad839e4 | 64bee65c921db7e78e25d08f1e98da2668b57be5 | refs/heads/webml | 2023-03-21T03:20:15.377034 | 2020-11-16T01:40:14 | 2020-11-16T01:40:14 | 209,262,645 | 18 | 21 | BSD-3-Clause | 2023-03-23T06:20:07 | 2019-09-18T08:52:07 | null | UTF-8 | C++ | false | false | 919 | h | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SERVICES_DEVICE_GENERIC_SENSOR_PLATFORM_SENSOR_PROVIDER_MAC_H_
#define SERVICES_DEVICE_GENERIC_SENSOR_PLATFORM_SENSOR_PROVIDER_MAC_H_
#include "s... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
cb470e7fe7b8e0a5fa8c7dcf38328534ab2b85f3 | d269bd05e59ae1993307c2c1587b682cca7671c6 | /LL_PtH_And_Credentials/NetworkMapper/NetworkMapper/TargetResultsTcp_test.cpp | 1c0af669c9ca51767168c2aaae45883f9c829068 | [
"CC0-1.0",
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | ISSAPolska/LOCKLEVEL | 09c9da99b036a3525a740b180a0ba012f83f232d | 0ece6c7ea8b84eced38ef3a89ce2e96a7737234f | refs/heads/master | 2020-11-26T01:58:47.274215 | 2016-06-08T23:24:16 | 2016-06-08T23:24:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,307 | cpp | #include <gmock/gmock.h>
#include <Windows.h>
#include "../NetworkMapperLib/TargetResultsTcp.h"
using namespace testing;
class TargetResultsTcp_F : public Test{
protected:
TargetResultsTcp result;
int port;
BOOL success;
};
TEST_F(TargetResultsTcp_F, GetResultWithNoResultsReturnsFalseOnPortNotInRes... | [
"iadgovuser1@users.noreply.github.com"
] | iadgovuser1@users.noreply.github.com |
2a222864e36af2065c2639c6f566138b0a2fbb5e | d08be52df1337aceb5fa0b45978f36d8d5b8f627 | /BattleTank/Source/BattleTank/Projectile.cpp | 594883e46d2d8dba2b5b74174e9218bb06209ac0 | [] | no_license | AlbertMontagutCasero/04_BattleTank | 639c5de72b451597f1db4d41fefc2ebe10c3a3c4 | 0100675296f89b3f59d1cb2802b6de569815c67e | refs/heads/master | 2021-10-20T03:53:45.199983 | 2019-02-25T14:08:25 | 2019-02-25T14:08:25 | 103,644,988 | 0 | 0 | null | 2017-12-01T06:51:28 | 2017-09-15T10:26:21 | C++ | UTF-8 | C++ | false | false | 2,577 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "Projectile.h"
#include "Engine/EngineTypes.h"
#include "Kismet/GameplayStatics.h"
#include "Public/TimerManager.h"
#include "GameFramework/DamageType.h"
#include "Engine/World.h"
#include "Components/StaticMeshComponent.h"
#includ... | [
"albert.montagut.casero@gmail.com"
] | albert.montagut.casero@gmail.com |
e248379a15bc3e6b51284ef52a1c7f00b8370514 | e9045c8799665b180cff8598bb86fad4b6f626f1 | /opencv_test/opencv_015/opencv_015.cpp | 00f8b36cd58a5c83bc6c430a44094651a828ad75 | [] | no_license | cyssmile/openCV_learning_notes | fe41b0b7d3aaa7c6eb1044856dc06becfa532ee9 | f2cb47a48cbddb9790c1f9e77a86e3845ea29e58 | refs/heads/master | 2021-01-04T07:47:14.607103 | 2020-09-07T16:07:43 | 2020-09-07T16:07:43 | 240,452,810 | 12 | 3 | null | null | null | null | GB18030 | C++ | false | false | 823 | cpp | #include<opencv2/opencv.hpp>
#include<iostream>
using namespace std;
using namespace cv;
int main(int argc, char **argv)
{
Mat src = imread("D:/images/cat.jpg",-1);
if (src.empty())
{
cout << " can`t open this ph" << endl;
}
imshow("src_demo", src);
Mat dst;
GaussianBlur(src,dst,Size(5,5),0);
imshow("Gauss... | [
"112157876@qq,ccom"
] | 112157876@qq,ccom |
beb5bc90b7c54f4887c2b2338655000e487053e5 | 350503677eb712ea692b603c4cbe501f1e0a33e1 | /src/game_event_ball_portal.cpp | 0e011382aa345d28b0f2d907ac438bea75579be7 | [] | no_license | OpenSourceCTF/engine | 416b9f655fd10210ef122af30b3159f562595606 | 1c91719750200592cb6a1fbe2e8650a8074cae75 | refs/heads/master | 2021-05-15T10:32:43.310571 | 2018-05-10T14:56:19 | 2018-05-10T14:56:19 | 108,190,907 | 5 | 2 | null | 2017-11-30T17:50:47 | 2017-10-24T22:31:21 | C++ | UTF-8 | C++ | false | false | 390 | cpp | #include "game_event_ball_portal.hpp"
#include <json/json.hpp>
game_event_ball_portal::game_event_ball_portal(
const std::size_t ball_id,
const std::size_t portal_id
)
: ball_id(ball_id)
, portal_id(portal_id)
{}
void to_json(nlohmann::json& j, const game_event_ball_portal& p)
{
j = nlohmann::json{
... | [
"whackashoe@gmail.com"
] | whackashoe@gmail.com |
5495e87c504a6e8f4a63eb7e217da7110e5ff251 | b6d2cb74a76194fd25fdc3607ef828e94d98039e | /UVa/12032.cpp | 66a4992175be5a8a7308fa1c070dcd5427fc619a | [] | no_license | giovaneaf/CompetitiveProgramming | 22d63481015ab45a03d527c866cae339cffeb5fb | 863f6bc61497591cb98e50973aa23bfcb9879ab8 | refs/heads/master | 2021-06-07T20:28:45.116299 | 2021-05-25T00:38:16 | 2021-05-25T00:38:16 | 131,643,425 | 6 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,043 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define ii pair<int, int>
#define vi vector<int>
#define vii vector<ii>
#define vvi vector<vi>
#define vb vector<bool>
#define fst first
#define snd second
#define MAXN 100010
#define LOGMAXN 20
#define FOR(a, b, c) for(int a = b; a < c; ++a)
#define... | [
"giovaneaf1995@gmail.com"
] | giovaneaf1995@gmail.com |
2732f0dac382e9724ea5df13bcc4473a242e4ff5 | 0f420d53b7000516307c9409dbfff1d29aacdd9a | /Include/FileDialogEx2.cpp | b8ec47ccc8cc533164860e076bc7c05d132237dd | [] | no_license | SangameshGouriFlexera/Test | ce14fccf5a1a22be0fcf6241459b15187dec027e | 756e96dc30b116a1f190aeeb0cfcaa1d5bab43d1 | refs/heads/master | 2023-08-17T19:21:37.454116 | 2021-10-12T07:24:03 | 2021-10-12T07:24:03 | 243,694,640 | 0 | 0 | null | 2021-10-12T07:24:04 | 2020-02-28T06:32:15 | C | UTF-8 | C++ | false | false | 7,407 | cpp | ////////////////////////////////////////////////////////////////
// MSDN -- August 2000
// If this code works, it was written by Paul DiLascia.
// If not, I don't know who wrote it.
// Largely based on original implementation by Michael Lemley.
// Compiles with Visual C++ 6.0, runs on Windows 98 and probably NT too.
//... | [
"57989521+SangameshGouriFlexera@users.noreply.github.com"
] | 57989521+SangameshGouriFlexera@users.noreply.github.com |
34df79024c320129ddcd4651598ffeff8547a6f3 | aab3ae5bb8ce591d29599f51f5fb4cd9c5b05f38 | /SourceCode/Base/Math/Matrix/Matrix2x2.cpp | 13375f60e34ca78fb6df5bb439f553c31da3db16 | [] | no_license | S-V/Lollipop | b720ef749e599deaf3fbf48b1e883338dcb573c3 | eca4bfe6115437dc87f638af54a69de09956cbfb | refs/heads/master | 2022-02-09T04:59:17.474909 | 2022-01-25T20:20:20 | 2022-01-25T20:20:20 | 43,964,835 | 11 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,520 | cpp | /*
=============================================================================
File: Matrix2x2.cpp
Desc: Row-major float2x2 matrix.
=============================================================================
*/
#include <Base_PCH.h>
#pragma hdrstop
#include <Base.h>
#include <Base/Math/Math.h>
mxNAMESPACE_BEGI... | [
"myspace@inbox.ru"
] | myspace@inbox.ru |
af8a4ff98e5cc0e2eb875b9992068090e44f7bc7 | 432f21b2edbdaa52617c68bebfd9e9ac980c6afc | /Application/Source/CameraFly.h | e22d79f01573bee49623b19165c32ad64b4e34c0 | [] | no_license | vincentlai97/SP2-11 | e3b3346cafb5834a79d0a0bb43379344c7331503 | 5ba2923d837cb3b30fcdad4f8e39fe5e691f5664 | refs/heads/master | 2016-09-06T19:10:24.791679 | 2015-03-06T07:32:58 | 2015-03-06T07:32:58 | 30,853,761 | 0 | 2 | null | 2015-02-17T05:24:25 | 2015-02-16T04:25:00 | C | UTF-8 | C++ | false | false | 572 | h | #ifndef CAMERA_FLY_H
#define CAMERA_FLY_H
#include "Camera.h"
#include "Vector3.h"
#include <vector>
class CameraFly : public Camera
{
int state;
public:
Vector3 defaultPosition;
Vector3 defaultTarget;
Vector3 defaultUp;
CameraFly();
~CameraFly();
virtual void Init(const Vector3& pos, const Vector3& target, c... | [
"vincent_lxx_97@hotmail.com"
] | vincent_lxx_97@hotmail.com |
e9535a535cc1435fad10fe95f6f4d22553028d0d | b3fd6c4697a7990ca7ba387adfb9b43842ffc589 | /cf1277E.cpp | 726d7141abe426828500c45157cf2a100943c7c5 | [] | no_license | jainrishabh98/CP | 48ab325fbfced6174778ec74e286b0874df9d82b | 3d244de1096c484bb663ac328655a879d1f28b54 | refs/heads/master | 2021-06-07T09:10:42.900663 | 2020-02-05T08:58:39 | 2020-02-05T08:58:39 | 150,934,959 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 974 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
vector<ll> g[200005];
ll vis[200005];
ll cnt = 0;
void dfs(int u, int p)
{
vis[u] = 1;
for (auto i : g[u])
{
if (!vis[i] && i != p)
{
cnt++;
dfs(i, p);
}
}
}
int main()
{
ios_base::syn... | [
"jrishabh98@gmail.com"
] | jrishabh98@gmail.com |
9d6af8e69f65cb9ce3b8fb432c904c6bc96fa477 | b28a1779c8861bdad3c947340416a56881dd0012 | /pytorch3d/csrc/pulsar/include/camera.h | 25d12558048dae9ea1bca771b0123a14e1e571a0 | [
"BSD-3-Clause"
] | permissive | lorinczszabolcs/pytorch3d | 7c0083661a6c50971db78bb9a0915030e071665e | 0f9fb392674728dcbc81895564fdd09c7c930fe2 | refs/heads/main | 2023-06-10T23:33:22.485916 | 2021-07-07T11:28:38 | 2021-07-07T11:28:38 | 361,921,475 | 0 | 0 | NOASSERTION | 2021-04-26T23:29:53 | 2021-04-26T23:29:52 | null | UTF-8 | C++ | false | false | 3,092 | h | // Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
#ifndef PULSAR_NATIVE_INCLUDE_CAMERA_H_
#define PULSAR_NATIVE_INCLUDE_CAMERA_H_
#include <stdint.h>
#include "../global.h"
namespace pulsar {
/**
* Everything that's needed to raycast with our camera model.
*/
struct CamInfo {
float3 eye; /*... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
7ea4ddfaf4e7cd2a7d2b708d8b0723a2b63fec96 | 73c8a3179b944b63b2a798542896e4cdf0937b6e | /Codeforces/KefaAndFirstSteps.cpp | 2134e58aed856894c7e19a08b0044acf0f5d151f | [
"Apache-2.0"
] | permissive | aajjbb/contest-files | c151f1ab9b562ca91d2f8f4070cb0aac126a188d | 71de602a798b598b0365c570dd5db539fecf5b8c | refs/heads/master | 2023-07-23T19:34:12.565296 | 2023-07-16T00:57:55 | 2023-07-16T00:57:59 | 52,963,297 | 2 | 4 | null | 2017-08-03T20:12:19 | 2016-03-02T13:05:25 | C++ | UTF-8 | C++ | false | false | 887 | cpp | #include <bits/stdc++.h>
template<typename T> T gcd(T a, T b) {
if(!b) return a;
return gcd(b, a % b);
}
template<typename T> T lcm(T a, T b) {
return a * b / gcd(a, b);
}
template<typename T> void chmin(T& a, T b) { a = (a > b) ? b : a; }
template<typename T> void chmax(T& a, T b) { a = (a < b) ? b : a; ... | [
"aajjbb@aajjbb.com"
] | aajjbb@aajjbb.com |
eb4931f93f5ef284d036a999868f4076ad1490f6 | dc5142ad5586c1c0b571edc47c63778dd8ec23ca | /pagxoreferenco_prikursiva.cpp | c8bc6c9e0604689e219ee34b9a54ad392b01fcd5 | [] | no_license | MDCremer/Gradivus | 0631a58cb4444c50d029f2d90464d88788127d6b | 1aa9ef6ba876bbb624b80b8682f3110680f42c9e | refs/heads/master | 2021-04-15T12:30:04.200321 | 2017-03-21T10:48:10 | 2017-03-21T10:48:10 | 34,525,337 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 153 | cpp | #include "pagxoreferenco.h"
#include "ui_pagxoreferenco.h"
void pagxoReferenco::priKursiva()
{enigi(PAGXOREFERENCO_KURSIVA,"<i>","</i>",ui->kursiva);
}
| [
"mdc@gradivus.de"
] | mdc@gradivus.de |
1fb0b51e2ac46bd792a8a7021d6b65de8c549371 | 26b6074f3be1bf87f44324fd298c205b0b7b809d | /chapter5/5.1forloop.cpp | ea75bb4d2ed1d1158b22e7647d9ac0e180ba6fd4 | [] | no_license | zilihangjian/cpp- | b45d2798916cad4c8b9a71c6b37d5b33f9319f96 | 0962b146e230976f6f80d3577a865a7b1fd64fb2 | refs/heads/master | 2021-02-06T07:56:37.541398 | 2020-07-18T07:43:02 | 2020-07-18T07:43:02 | 243,895,237 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 229 | cpp | // forloop.cpp -- introducing the for loop
#include <iostream>
int main()
{
using namespace std;
int i; // create a conter
//initialize; test; update
for (i = 0; i < 5; i++)
cout << "C++ knows when to stop.\n";
return 0;
} | [
"457284215@qq.com"
] | 457284215@qq.com |
b15721404156b9b250f79fa2873b9fd03e0d40e1 | 84a29a174030e79681ef08dc9361029b391c4c77 | /core/output/djinni-output-temp/cpp/i_group_detail_view_model.hpp | 87a753cfe35c23977c163bf86e639fe5563f4654 | [
"MIT"
] | permissive | jlcoa/cross_platform_project | d86173dd1c71c1ad7c5731ab87828cf89febf8c6 | 742437a35eff634bc679879cf46e42db53bacd18 | refs/heads/master | 2021-01-09T20:14:40.320794 | 2016-07-29T06:08:57 | 2016-07-29T06:08:57 | 64,454,592 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 345 | hpp | // AUTOGENERATED FILE - DO NOT MODIFY!
// This file generated by Djinni from view_model.djinni
#pragma once
namespace core_gen {
struct RGroup;
class IGroupDetailViewModel {
public:
virtual ~IGroupDetailViewModel() {}
virtual void setGroup(const RGroup & group) = 0;
virtual RGroup getGroup() = 0;
};
... | [
"Test123$"
] | Test123$ |
caea4769c0fba97c88c4d78201dc019cfa60b383 | cb60a710fa383716885a4b53f129f91903fe6221 | /include/llvm/ExecutionEngine/Mmap32bitAllocator.h | 085457ba3c48508139e5b61b807bc4336433ecf5 | [
"NCSA"
] | permissive | IamSpid3r/cheerp-llvm | 137b85ee2234d4f2ce05dace3241e0693eacd5b8 | 5873b4c939f3440af62a783e46ad8d5a0a748f1d | refs/heads/master | 2021-01-18T08:34:49.238739 | 2016-06-08T17:04:11 | 2016-06-08T17:05:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,329 | h | #ifndef LLVM_EXECUTIONENGINE_MMAP32BITALLOCATOR_H
#define LLVM_EXECUTIONENGINE_MMAP32BITALLOCATOR_H
#include "llvm/Support/Allocator.h"
#include "llvm/Support/raw_ostream.h"
#include <sys/mman.h>
namespace llvm {
#define MMAP_SLAB_SIZE 4096
class Mmap32bitAllocator : public AllocatorBase<Mmap32bitAllocator> {
publi... | [
"a.pignotti@sssup.it"
] | a.pignotti@sssup.it |
6ee04ea343b923bfb2f504a6a12adff9dfe13e30 | 33f59b1ba6b12c2dd3080b24830331c37bba9fe2 | /Depend/Foundation/Surfaces/Wm4QuadricSurface.h | cc738016c5bb7ea84097fccb87cee59e913d6928 | [] | no_license | daleaddink/flagship3d | 4835c223fe1b6429c12e325770c14679c42ae3c6 | 6cce5b1ff7e7a2d5d0df7aa0594a70d795c7979a | refs/heads/master | 2021-01-15T16:29:12.196094 | 2009-11-01T10:18:11 | 2009-11-01T10:18:11 | 37,734,654 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,015 | h | // Geometric Tools, Inc.
// http://www.geometrictools.com
// Copyright (c) 1998-2006. All Rights Reserved
//
// The Wild Magic Version 4 Foundation Library source code is supplied
// under the terms of the license agreement
// http://www.geometrictools.com/License/Wm4FoundationLicense.pdf
// and may not be ... | [
"yf.flagship@e79fdf7c-a9d8-11de-b950-3d5b5f4ea0aa"
] | yf.flagship@e79fdf7c-a9d8-11de-b950-3d5b5f4ea0aa |
b5c4b4f90d7305c955c65bcb60fc75b17ff18f87 | ef7874a666bc9b1a30971b4df447d4d3f2efc7e1 | /booksim2.0/branches/mpibooksim/src/creditchannel.cpp | df0b97338238931225bb4f34524acde49d0d4f96 | [] | no_license | codesurvivor/noc-router | 5f1230ce0bb89862833c18a18934512596ca881c | ea97f4c3d1ad51db409539f8356349c5e6aea2a5 | refs/heads/master | 2016-09-06T15:58:03.123195 | 2014-05-04T02:06:19 | 2014-05-04T02:06:19 | 32,194,594 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,642 | cpp | // $Id: creditchannel.cpp 1144 2009-03-06 07:13:09Z mebauer $
/*
Copyright (c) 2007-2012, Trustees of The Leland Stanford Junior University
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
Redistri... | [
"chao.chen@polymtl.ca"
] | chao.chen@polymtl.ca |
1c8d945f83121687502f1bffcbe1c44f389eefe1 | 64e33ef0860a04a06c5ea7bd8b2159890f757d7d | /jni/art-kitkat-mr1.1-release/runtime/gc/collector/sticky_mark_sweep.cc | f9d60695e78a12d580d42b743e0180ede6e14297 | [
"Apache-2.0"
] | permissive | handgod/soma | a16d5547d1b3a028ead86bd3531c0526568c74f5 | d64131f4d6f9543eacd1d4040b560df00555b2c8 | refs/heads/master | 2021-01-10T11:34:58.926723 | 2016-03-04T11:56:41 | 2016-03-04T11:56:41 | 53,018,560 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,549 | cc | /*
* Copyright (C) 2012 The Android Open Source Project
*
* 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 requir... | [
"943488158@qq.com"
] | 943488158@qq.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.