blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
44b600a06adbbf08022b5a7d72a20c5d324fa5d8 | 263a50fb4ca9be07a5b229ac80047f068721f459 | /clank/native/framework/chrome/sqlite_cursor.cc | db8e2f4a8a0619cff46e28fafbdbfaefae9019f4 | [
"BSD-3-Clause"
] | permissive | talalbutt/clank | 8150b328294d0ac7406fa86e2d7f0b960098dc91 | d060a5fcce180009d2eb9257a809cfcb3515f997 | refs/heads/master | 2021-01-18T01:54:24.585184 | 2012-10-17T15:00:42 | 2012-10-17T15:00:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,850 | cc | // Copyright (c) 2011 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 "clank/native/framework/chrome/sqlite_cursor.h"
#include "base/android/jni_android.h"
#include "base/android/jni_string.h"
#include "base/bi... | [
"plind@mips.com"
] | plind@mips.com |
bb2c30324cfd0e553a5a26e3d00bd3d1118cdbdb | c2dd4b1010c91a27c806f947964c0d24d6943836 | /LeetCode/Tree/BinarySearchTreetoGreaterSumTree.h | 16cb6a45fcad5d296cdd79e4b88925d2ee11dbb5 | [] | no_license | kklmg/LeetCodeProblems | 00279f0da3cddb7d3dcccf36c67785ee72e5f908 | 173a4c53f911e23e4f0251ab620164223c6d8b2f | refs/heads/master | 2022-02-27T04:33:49.881316 | 2019-09-03T04:36:45 | 2019-09-03T04:36:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 408 | h | #pragma once
#include"..\stdafx.h"
//1038. Binary Search Tree to Greater Sum Tree
//https://leetcode.com/problems/binary-search-tree-to-greater-sum-tree/
namespace p1038
{
class Solution
{
public:
TreeNode* bstToGst(TreeNode* root)
{
if (root->right) bstToGst(root->right);
root->val = temp = root->val + ... | [
"lm1522820366@gmail.com"
] | lm1522820366@gmail.com |
77cdf2a3990469e41f5c56d9d7e6e7cd90cc256f | 6dc2e2422b2e32011b32576c36c34b0773bdc639 | /33/33.3-6.cpp | 12bbe9777db49246c623eb7da5f101e9813e4327 | [] | no_license | Ramengi-chawngthu/CLRS | 41afccc94828865c1c1659f9810c433ec1e7e180 | 91ee1880bf99e3e274be5e025ec37965a2e55b7d | refs/heads/main | 2023-08-26T08:26:25.491564 | 2021-10-31T07:45:37 | 2021-10-31T07:45:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,958 | cpp | #include <algorithm>
#include <cassert>
#include <cmath>
#include <iostream>
#include <random>
#include <set>
#include <vector>
#include <ranges>
namespace sr = std::ranges;
constexpr double tolerance = 1e-6;
struct Point2d {
double x = 0.0;
double y = 0.0;
Point2d() = default;
Point... | [
"frozenca91@gmail.com"
] | frozenca91@gmail.com |
f787ac7ea4c534030e1112b22b408b9175b49a2b | e4f92a6ae7196adc867a57d3fe430381cc6149e8 | /src/World/WorldSnapshot.cpp | 2030a6619cf49e2a920aaacbe30b3401c8f87765 | [] | no_license | MichelKrispin/CellWars | 1133b8e4ab5486208f92d320f43e30fb89b20e9c | 7b2da49c23571ceed2ba90cb525a184a95f9d4c5 | refs/heads/master | 2023-06-25T02:53:32.502939 | 2021-07-29T12:28:57 | 2021-07-29T12:28:57 | 209,976,573 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 948 | cpp | #include "WorldSnapshot.h"
#include "FieldList.h"
#include "Grid.h"
WorldSnapshot::WorldSnapshot()
: _TurnNumber(0)
{
// The Fields and grids are right now initialized using the friend class
// TODO: Should be changed to be initialized by the constructor.
}
WorldSnapshot::~WorldSnapshot()
{
}
const Field... | [
"michel.krispin@gmail.com"
] | michel.krispin@gmail.com |
c1b753ec7e18a56e944592b1f6a698f9d22fb055 | 560090526e32e009e2e9331e8a2b4f1e7861a5e8 | /Compiled/blaze-3.2/blazemark/blazemark/blas/init/DynamicVector.h | 7e4239773f382f99466e0925f06dab33ea10ec68 | [
"BSD-3-Clause"
] | permissive | jcd1994/MatlabTools | 9a4c1f8190b5ceda102201799cc6c483c0a7b6f7 | 2cc7eac920b8c066338b1a0ac495f0dbdb4c75c1 | refs/heads/master | 2021-01-18T03:05:19.351404 | 2018-02-14T02:17:07 | 2018-02-14T02:17:07 | 84,264,330 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,828 | h | //=================================================================================================
/*!
// \file blazemark/blas/init/DynamicVector.h
// \brief Header file for the BLAS dense vector initialization functions
//
// Copyright (C) 2012-2017 Klaus Iglberger - All Rights Reserved
//
// This file is part of... | [
"jonathan.doucette@alumni.ubc.ca"
] | jonathan.doucette@alumni.ubc.ca |
2058c5b112414eb33a861748f9dde951058ce4ae | 05b3e858025626f5348377d0a9bacb9aa86712eb | /BackTracking/nqueen.cpp | 35c9cdb0faf500e5f6804bf5625d6eb2e43b3a9f | [] | no_license | mdShahvez/DSA_1 | 60b3577f990a8f111c2a0b01664fd2c687259c28 | 83a2940644734e927d2c453366ead0f02e954b82 | refs/heads/main | 2023-08-19T20:29:57.588726 | 2021-10-18T14:05:05 | 2021-10-18T14:05:05 | 409,108,142 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 907 | cpp | #include<iostream>
using namespace std;
bool isSafe(int** arr[],intt x,int y,int n)
{
for(int row=0;row<x;row++)
{
if(arr[row][y]==1)
{ //for column check first column |
return false; ... | [
"noreply@github.com"
] | noreply@github.com |
f9f4fc0db924181bdf289af9a02c83d820452155 | a9d6226240b4de042df08ca597b39757708d13ed | /HZNUOJ/HZNUOJ/4-23-1.cpp | e3b349b74ce91a7d2fec2255f55876b7cecd6be1 | [] | no_license | Nine-e/PAT | a99d38adaebb7f6701d5f97a6c16905201b69335 | 854a3d5b3978e39836e12221c2f170cff348f46b | refs/heads/master | 2021-04-12T12:08:53.754241 | 2018-05-17T15:32:56 | 2018-05-17T15:32:56 | 126,833,142 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 406 | cpp | //【C系列6.8】指针训练之作业变形
/*#include<stdio.h>
double odd (int n){
int i;
double sum=0;
for(i=1;i<=n;i+=2){
sum+=1.0/i;
}
return sum;
}
double even (int n){
int i;
double sum=0;
for(i=2;i<=n;i+=2){
sum+=1.0/i;
}
return sum;
}
int main(){
int n;
scanf("%d",&n);
double (*func)(int);
if(n%2==0)
func=even;
el... | [
"3287746498@qq.com"
] | 3287746498@qq.com |
16ff572d67239833a9f1a0b050a92bea05096b6b | d3d12706075a4f233e8cef8fdd0e10393cb9be0d | /src/Square.cpp | 427b00b3ced5986d8b7e3f52798d81e04ccc7c80 | [] | no_license | jibranbinsaleem/DSA_LAB01 | d3a978566a2564cf996ce8fbdf123a7a136efae3 | 3ad97df1da9e3cd6e910d1461b07d52ed95359cb | refs/heads/main | 2023-08-16T19:07:46.378368 | 2021-10-09T09:29:51 | 2021-10-09T09:29:51 | 415,262,935 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 593 | cpp | #include<iostream>
#include "Square.h"
Square::Square(string name): Shape_2D(name)
{
//ctor
side = 4;
}
Square::Square(string name, double side) : Shape_2D(name)
{
this->side = side;
}
void Square::draw()
{
cout<<"Drawing Square " << this->get_name() << endl;
}
void Square::info()
{
cout<<"I am... | [
"40163456+jibranbinsaleem@users.noreply.github.com"
] | 40163456+jibranbinsaleem@users.noreply.github.com |
6164fd828762d87ccac199cf13502e64c4100146 | d385e769080c5c523fb3c44d65aedadbc4e5876a | /src/Platform/Posix/System/MemoryMappedFile.cpp | 2d00924bda7f1fcee05aa857140d3330f379c780 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | hardx4/marketcash | 75498193948e58d8e7b3cb85d5ece91f9d1bd001 | b5a9bb2d80916ca2989845fda2458ad3f5952284 | refs/heads/master | 2020-04-08T00:58:17.557508 | 2019-06-04T03:46:57 | 2019-06-04T03:46:57 | 132,528,484 | 0 | 0 | MIT | 2018-11-23T20:12:43 | 2018-05-07T23:45:29 | C++ | UTF-8 | C++ | false | false | 5,506 | cpp | /*
* Copyright (c) 2018, The MarketCash Developers.
* Portions Copyright (c) 2012-2017, The CryptoNote Developers, The Bytecoin Developers.
*
* This file is part of MarketCash.
*
* This file is subject to the terms and conditions defined in the
* file 'LICENSE', which is part of this source code package.
*/
#i... | [
"support@marketcash.io"
] | support@marketcash.io |
96b1da39e4736f2988149cc7914affc4ec38b088 | b780425ed05bf7956c20941202091803aa081184 | /src/test/reverselock_tests.cpp | 9111d97011832affc51a0219ddacb995c75fa242 | [
"MIT"
] | permissive | mycoinworld/SuperMasterNode | 8c86ed4b89643444cc7d53cee6beed144f07f7d3 | a3f4c83455ee1c437f0fd4bf06e8147333d63dd4 | refs/heads/master | 2020-07-20T18:50:04.857690 | 2019-09-06T02:37:43 | 2019-09-06T02:37:43 | 206,694,267 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,568 | cpp | // Copyright (c) 2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "reverselock.h"
#include "test/test_smn.h"
#include <boost/test/unit_test.hpp>
BOOST_FIXTURE_TEST_SUITE(reverselock_tes... | [
"537072749@qq.com"
] | 537072749@qq.com |
b4c5ce5515a126fc9a951d8a26b9b0aaee4fdebf | b585d735fc047c6c80b131ec4b681e61c0d0f13e | /cpp/src/keyczar/rw/keyset_encrypted_file_reader.cc | ad8208511e0ec8263faad21f19b27ae4f2ec17ce | [
"Apache-2.0"
] | permissive | solrates/keyczar | a6cf77eabac7cd45970989c50edd47a550535e3f | 8ef838c2888067fe8db7240246ab616008a06f6b | refs/heads/master | 2020-05-01T07:26:58.384799 | 2019-03-24T00:01:31 | 2019-03-24T00:01:31 | 177,352,390 | 0 | 0 | Apache-2.0 | 2019-03-23T23:59:39 | 2019-03-23T23:59:39 | null | UTF-8 | C++ | false | false | 2,037 | cc | // Copyright 2009 Sebastien Martini (seb@dbzteam.org)
//
// 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 applica... | [
"sebastien.martini@8f3b247a-914b-0410-8f51-05e301831c82"
] | sebastien.martini@8f3b247a-914b-0410-8f51-05e301831c82 |
5d5b0e5b449840cde40748ac457d293bc52943ff | 364856eea1cd4a626109336a78f40344c0b85621 | /main.cpp | 08ad0b0c19f5285a3e20fed31562db94b6311b95 | [
"MIT"
] | permissive | YSRKEN/SMIPS | 591666e839c8a68386473ffbab5ea1b89ad20ae8 | 54be719765217600676096aaa5da5290eeabc993 | refs/heads/master | 2020-12-25T13:23:36.282835 | 2016-10-08T05:15:33 | 2016-10-08T05:15:33 | 70,072,731 | 8 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,520 | cpp | /**
* Smallest Mixed Integer Problem Solver
* Creator: YSR
* Date: 2016/10/08
*/
#include<algorithm>
#include<cmath>
#include<chrono>
#include<cstdint>
#include<deque>
#include<fstream>
#include<iostream>
#include<sstream>
#include<string>
#include<tuple>
#include<vector>
//! using宣言
using std::cout;
using std::d... | [
"ysr.ken@gmail.com"
] | ysr.ken@gmail.com |
0f85438e7a61b15b74ceac9c297b9646d392c5fd | 9ba9ce5492724a322c32fc553a7e1382a3ded2c5 | /call_class.h | a35a485ea5a19cd680408270b895874024eacb45 | [] | no_license | AZuluaga-2124/Call-Stats-Calculator | 5b33fa991843f5a4ff50bfe2d0675803b203db43 | dbf99e761b6ec975691122c9c9ad2b9be629da25 | refs/heads/master | 2021-02-13T07:09:58.417955 | 2020-03-03T15:36:32 | 2020-03-03T15:36:32 | 244,673,824 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,071 | h | #ifndef CALLCLASS_H
#define CALLCLASS_H
#include <iostream>
using namespace std;
class call_record
{
public:
string firstname;
string lastname;
string cell_number;
int relays;
int call_length;
double net_cost;
double tax_rate;
double call_tax;
double total_cost;
};
class call_class
{
p... | [
"noreply@github.com"
] | noreply@github.com |
71bcdeac40a5e5114461cb1fbdd4a0d16835a65b | a18bd06d749da53da08457f969ce3409e2cc7e15 | /core/WorldUtils.h | d56b4185ecde7591844503c5748f05d44a0a87cc | [] | no_license | Binasaurus-Hex/DartArtificialArm | 8a9966075710456a2385513de2f2ec4b228fe5ee | 7d488f100df11c015a69dccc9579339057aa51f6 | refs/heads/master | 2023-03-29T05:40:49.450978 | 2021-04-06T08:38:32 | 2021-04-06T08:38:32 | 355,096,146 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 697 | h | //
// Created by binasaurus on 02/03/2021.
//
#ifndef SECONDARMTEST_WORLDUTILS_H
#define SECONDARMTEST_WORLDUTILS_H
#include "string"
#include "memory"
#include "../forwardHeaders/worldFwd.h"
class Ground;
class ArtificialArm;
namespace WorldUtils {
ArtificialArm* loadFromFiles(std::string& skeletonFile, std::st... | [
"thewarmonger25@gmail.com"
] | thewarmonger25@gmail.com |
70aa5b4c7fef38d0bae28fb312e008750b6a0502 | c0c44b30d6a9fd5896fd3dce703c98764c0c447f | /cpp/Targets/CommonLib/include/ConnectionManager.h | 971027840b548ef80e49e9838bec8a0951694a2f | [
"BSD-3-Clause"
] | permissive | wayfinder/Wayfinder-CppCore-v2 | 59d703b3a9fdf4a67f9b75fbbf4474933aeda7bf | f1d41905bf7523351bc0a1a6b08d04b06c533bd4 | refs/heads/master | 2020-05-19T15:54:41.035880 | 2010-06-29T11:56:03 | 2010-06-29T11:56:03 | 744,294 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,097 | h | /*
Copyright (c) 1999 - 2010, Vodafone Group Services Ltd
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 condit... | [
"hlars@sema-ovpn-morpheus.itinerary.com"
] | hlars@sema-ovpn-morpheus.itinerary.com |
486c90829f19e83261bf36fcc803a3f9847def37 | 3be1788c5c16e3e8664770e63bc0193f078dd65a | /nlinux/include/QZXing.h | 55f9cc1e65375e4c42d4feb3f5315a672f436691 | [] | no_license | DHxiaofei/ar-iot | e05202f524f99da786436126e15901ec2d59cd26 | b697f667f6c96b469db75540b3415e093fe0f898 | refs/heads/master | 2021-01-23T01:51:11.870808 | 2017-06-12T09:24:51 | 2017-06-12T09:24:51 | 92,898,856 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,903 | h | #ifndef QZXING_H
#define QZXING_H
#include "QZXing_global.h"
#include <QObject>
#include <QImage>
#if QT_VERSION >= 0x040700 && QT_VERSION < 0x050000
#include <QtDeclarative/QtDeclarative>
#elif QT_VERSION >= 0x050000
#include <QtQml/qqml.h>
#endif
// forward declaration
namespace zxing {
class MultiF... | [
"304860136@qq.com"
] | 304860136@qq.com |
b67457d792680b948cfd8277ff25909a5eaa0ac5 | 4afc6182476e8e381ea0913f7b1205edf384a029 | /.build/iOS-Debug/include/app/Fuse.iOS.NativeViews.ParentNativeView__Fuse_Controls_Panel.h | 67a80e858b21403ea0f9092d4c0826deb27e7161 | [] | no_license | noircynical/soscon_demoproject | 45a4b5594582447001c2895e24cf2e6566095a63 | aab19822fb8bc46715e6b41ac785faf7a128d9e7 | refs/heads/master | 2021-01-10T05:41:33.994651 | 2015-10-28T04:27:43 | 2015-10-28T04:27:43 | 45,085,497 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,350 | h | // This file was generated based on '/usr/local/share/uno/Packages/Fuse.iOS/0.11.3/NativeViews/$.uno'.
// WARNING: Changes might be lost if you edit this file directly.
#ifndef __APP_FUSE_I_O_S_NATIVE_VIEWS_PARENT_NATIVE_VIEW__FUSE_CONTROLS_PANEL_H__
#define __APP_FUSE_I_O_S_NATIVE_VIEWS_PARENT_NATIVE_VIEW__FUSE_CONTR... | [
"0101rgb@gmail.com"
] | 0101rgb@gmail.com |
51e3ec52d8447bb16974797e060caf32f37ca6d2 | 85d598d0c39a0e47814bddb1bbb7ba3c5e7cf2c4 | /parser.cpp | 3c38c121d9f9b7225fe6592e75ac31c3808366d9 | [] | no_license | MechanicCoder00/ProgramTranslations-Project3 | d59515a73cefe7a47bf2d0261f6fc04e215e6550 | 05e91eb97d32923dc35968df97bd39d2037481bd | refs/heads/main | 2023-02-23T03:30:05.039250 | 2021-01-27T21:20:17 | 2021-01-27T21:20:17 | 333,562,754 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,403 | cpp | #include <iostream>
#include <fstream>
using namespace std;
#include "token.h"
#include "scanner.h"
#include "parser.h"
#include "testTree.h"
/*
Author: Scott Tabaka
CMPSCI 4280 Project3
*/
token t;
node *newNode(string s) //Creates a node with label
{
node *node = new struct node;
node->label = s;
... | [
"noreply@github.com"
] | noreply@github.com |
03309e641b0c4420189511678dc66cea9f7124c0 | 969628b6cfc2f726fcbee28f19f47bcddb5cabfd | /quicksort2017.7.20/c++练习2.0/c++练习2.0/practice.cpp | 2f1b907bec573d0794137986cbe320526fa9646d | [] | no_license | MallocGad/little-game | 94c04427ed7b179e0583c2c430d759052f05c8d7 | 4bb3a9be19a9f4f8b3095f10adb96ab94b4ad917 | refs/heads/master | 2021-01-15T12:59:21.642390 | 2017-08-09T12:55:04 | 2017-08-09T12:55:04 | 99,663,089 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 5,457 | cpp | //#include<iostream>
//using namespace std;
//class A
//{
//public:
// A();
// virtual ~A();
// int v;
//};
//class B :public A
//{
//public:
// B();
// virtual ~B();
// int m_inum;
//};
//A::A()
//{
//
//}
//B::B()
//{
//
//}
//A::~A()
//{
//}
//B::~B()
//{
//
//}
//int main()
//{
// A a;
// B b;
// cout << sizeof(a) ... | [
"1165318097@qq.com"
] | 1165318097@qq.com |
b1adc164390f78c0d754ffd2b9c5a7aee50869bf | b9488958d91e2574037c71139ecd96109b204e35 | /1DV433.S6.L9_Crypto/Test.1DV433.S6.L9_Crypto/CryptoTest.cpp | 12e0525fea1af3f3632bff7cf0792d687ef225a9 | [
"MIT"
] | permissive | chriskarlsson/1DV433 | 191381c2cae4aae5c02c681745bbe902935ad93c | c4290a90a0e7b2fa6140ac7f4dd2479573ac7e8f | refs/heads/master | 2021-09-04T00:35:12.945547 | 2018-01-13T11:21:34 | 2018-01-13T11:21:34 | 109,869,265 | 0 | 0 | MIT | 2018-01-13T11:21:35 | 2017-11-07T17:35:24 | C++ | UTF-8 | C++ | false | false | 1,331 | cpp | #include "Crypto.h"
#define CATCH_CONFIG_MAIN
#include "catch.hpp"
using namespace std;
TEST_CASE("Correct conversion of A", "[binaryToChar]")
{
// Arrange
const int CHAR_BIT_SIZE = 8;
char binaryChar[] = "01000001"; // A
char outChar;
// Act
bool result = binaryToChar(binaryChar, CHAR_BIT_SI... | [
"noreply@github.com"
] | noreply@github.com |
118c8176d74a60e15527f6185c1ddb141152a792 | 458c3920666384d9361860bcc41c1230a9c1ccce | /Code/GameSDK/GameDll/CombatStance.cpp | 8798a7a1d0d22f2300623a3b4b3e0d61555796e9 | [] | no_license | Rjayone/TheTravellersNotes | a8e50dd96668da3b38f5398703749371103bcbcd | 15b9fe745e09dca157d01eb927db3e54803c7a83 | refs/heads/master | 2020-05-29T09:13:02.942348 | 2015-09-25T08:50:41 | 2015-09-25T08:50:41 | 35,241,474 | 1 | 1 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 4,943 | cpp | #include "StdAfx.h"
#include "Game.h"
#include "CombatStance.h"
#include "Player.h"
#include "Holding.h"
#include "GameActions.h"
float timer = 0;
void StartTimer()
{
timer = gEnv->pTimer->GetCurrTime();
}
CCombatStance::CCombatStance()
{
m_Stance = e_CombatStanceVertical;
m_pItem = NULL;
IActionMapManager* pAct... | [
"misterdecoy@mail.ru"
] | misterdecoy@mail.ru |
3913436f06550a4982090ac883ebc2b5b81ca8c3 | e36906be9399685b0d03daffec9c33735eda8ba1 | /src/mk/arch/lsf-s.cpp | faa8400c9246576b4f301f2de37d36d344c365a6 | [] | no_license | ybouret/yocto4 | 20deaa21c1ed4f52d5d6a7991450d90103a7fe8e | c02aa079d21cf9828f188153e5d65c1f0d62021c | refs/heads/master | 2020-04-06T03:34:11.834637 | 2016-09-09T14:41:55 | 2016-09-09T14:41:55 | 33,724,799 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 43 | cpp | #define YOCTO_ZTYPE 's'
#include "lsf.cxx"
| [
"yann.bouret@gmail.com@6d5338fb-0854-7327-6163-5cad528299e9"
] | yann.bouret@gmail.com@6d5338fb-0854-7327-6163-5cad528299e9 |
0832313870a2235342a93ec44d0ee4b278ded317 | e537ccf5cec931491ab74bec6eda6603cd3db173 | /movieplayer/movieForm.h | 45bebdf71107fd24c68690970721bf2ee78139b3 | [] | no_license | H-K-ai/Qt-4.7.4 | 47b8f5e84a96a1448c78f690b63453f296d67561 | b5f857e75799e711e48bda1e29e023c17557cfe6 | refs/heads/master | 2021-05-28T07:22:34.300373 | 2015-03-02T19:10:15 | 2015-03-02T19:10:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,532 | h | #ifndef MOVIEFORM
#define MOVIEFORM
#include <QtGui>
class MovieForm:public QWidget
{
Q_OBJECT
public:
MovieForm(QWidget *parent=0);
~MovieForm();
void play(QString fileName);
void paintEvent(QPaintEvent *);
private slots:
void next();
void pre();
void pause();
void stop();
vo... | [
"llwslc@gmail.com"
] | llwslc@gmail.com |
30295efd4fc04033e030611b7966506cc2788167 | 627c46f042c5ed4c152da729697c4a262489918d | /ann/ann_impl.h | 050a8e0c9f7d170d7e1a8b5299579b6593439e15 | [] | no_license | yukke-ds/S.S.E | 82305649bdc0b06461ea75f47fdb2a72257fca8b | fc44425cffedebe5c59f7ffd032d49314b7f01d8 | refs/heads/master | 2022-12-15T12:57:05.309833 | 2020-09-14T07:16:44 | 2020-09-14T07:16:44 | 295,332,841 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 30,204 | h | // ann.cppに実装されてない理由は,VC++のtemplate解釈がinclusion-modelであり,
// 実装しようとするとリンクエラ―になるから.よってann_impl.hとヘッダファイルに実装してある.
// ちなみに,separation-modelならann.cppに実装することが恐らく可能.
#include "ann.h"
#include <iostream>
#include <memory>
#include <algorithm>
#include <cstdint>
#include <omp.h>
// for floating point interrupts
#include <... | [
"mikanyukke@gmail.com"
] | mikanyukke@gmail.com |
6bb3c4204b283c1ded8d7add900d8ff857cd353b | ed8b6207e94a17c10dc3d3af9796bc7e466bd577 | /Calculator_Example/widget.h | d0545b8beb96d673809e0cd87b504cba0468ccdc | [] | no_license | LalithaMadhuri95/QtLearning | ac3c373d2c5c2090702a13ea36a375e2acf06c5e | aec259bf78553d61bc22dd9abf2c8fa5cd347633 | refs/heads/master | 2022-10-15T04:05:07.575869 | 2020-06-09T10:35:28 | 2020-06-09T10:35:28 | 270,963,906 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 604 | h | #ifndef WIDGET_H
#define WIDGET_H
#include <QWidget>
QT_BEGIN_NAMESPACE
namespace Ui { class Widget; }
QT_END_NAMESPACE
class Widget : public QWidget
{
Q_OBJECT
public:
Widget(QWidget *parent = nullptr);
~Widget();
int value1,value2;
int result;
double remainder;
private slots:
void on_... | [
"choppellalalithamadhuri@gmail.com"
] | choppellalalithamadhuri@gmail.com |
5d460abb63baad256acd5334e28a616df1c8dacc | 65f23f20283fd432dc281872a1dbd43981750d32 | /fs_standalone.cpp | 6e35e3c3968e647a6b528e1ab6d459cec6c571d8 | [] | no_license | MCJack123/craftos-pico | 209181639436e14ebd3130e46988ce1f3968c24c | b228614fc52810c2d7ea042e131db955205df18f | refs/heads/master | 2023-06-09T12:13:53.684987 | 2021-06-13T07:36:41 | 2021-06-13T07:36:41 | 371,534,430 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 771,751 | cpp | #include "FileEntry.hpp"
const FileEntry FileEntry::NULL_ENTRY = {false, NULL, {}};
static const DirEntry dir_rom_apis_command[] = {
{"commands.lua", {false, "\x1b\x4c\x75\x61\x51\x00\x01\x04\x04\x04\x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x0c\x3a\x00\x00\x00\x05\x00\x00\x00\x1a\x40\x00\... | [
"jackmacwindowslinux@gmail.com"
] | jackmacwindowslinux@gmail.com |
d71b3c63396a340e777112539547a928d2be9788 | 5b965ace4c7a619e439ba32cbc811f2cb14d956d | /School/Compete the skills.cpp | 86442f0b821ef92bd178d4eefefbc6530d56e2b1 | [] | no_license | R4GH4V/geeksforgeeks-Practise | 96da525232c3665900ddbca2499e271bf1eb34b9 | 9cde59f68d3d6bd6a37e60ccf595808b9daabcd7 | refs/heads/master | 2020-12-30T14:56:58.629472 | 2018-01-01T05:15:00 | 2018-01-01T05:15:00 | 91,097,199 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,275 | cpp | /*
A and B are good friend and programmers. They are always in a healthy competition with each other. They decide to judge the best among them by competing. They do so by comparing their three skills as per their values. Please help them doing so as they are busy.
Set for A are like [a1, a2, a3]
Set for B are like [b1... | [
"noreply@github.com"
] | noreply@github.com |
3addd469b49a8c3cc3ea84494bb401c25cc0345f | edb67ccb978497374fd760925ee91a2a4e5d5c2a | /code/y20m11d09p04-primes4/main.cpp | 3e1abb98e4c22c809a82dd5dff4cc54c9799b389 | [] | no_license | fractal13/dsu-cs-3005-examples-2020-40 | 8f2937c2e03e47837d2e1dd61d73a08f0b530af3 | 1c999bafd66744e1ae829fa69971ff5296d2b860 | refs/heads/master | 2023-01-21T07:57:20.640071 | 2020-12-04T17:29:10 | 2020-12-04T17:29:10 | 289,583,009 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,859 | cpp | #include <cstdlib> // for std::rand()
#include <ctime> // for std::time()
#include <iostream>
#include <sstream>
#include <vector>
#include <chrono>
#include <thread>
#include <cmath>
#include <thread>
#include "ThreadedVector.h"
bool is_prime( int n ) {
if( n == 2 ) {
return true;
}
if( n % 2 == 0 ) {
r... | [
"curtis.gale.larsen@gmail.com"
] | curtis.gale.larsen@gmail.com |
27934b35126d04a0be7cd22576a9a0f40ee1033d | 956f96066ffd092626246bd217342f9956936590 | /SmartMeetingRoom/MotionSensor.cpp | da46c00e674b341111a1981eb49a460bfd876de1 | [] | no_license | harisnacker/Smart-Meeting-Room | 87ae310049ad17eca4d885756abe977e1d35aae3 | 061146dc21378309cd1a6c254d84bde1a9950537 | refs/heads/main | 2023-02-25T14:59:33.663745 | 2021-02-02T16:25:51 | 2021-02-02T16:25:51 | 335,343,169 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,177 | cpp | /********************************************************************
Rhapsody : 8.4
Login : 20181013
Component : DefaultComponent
Configuration : DefaultConfig
Model Element : MotionSensor
//! Generated Date : Mon, 13, Jul 2020
File Path : DefaultComponent\DefaultConfig\MotionSensor.cpp
***********... | [
"noreply@github.com"
] | noreply@github.com |
3e52b2cd40ddb6317f084cd68683e4f76397d669 | 304ff790eb41512e7148b2cbac5ab7307e841478 | /Input.cpp | 3815e96b33b5cb86fade4903314a1ab9b3c6e323 | [] | no_license | kevinjyee/Blip-Language | c0d260f10484c5826816894c90cc464c07f7f4c7 | be8feb7bc9df351877b4dfc54c9ad6564ce4ae03 | refs/heads/master | 2021-01-10T08:22:55.476029 | 2015-12-18T00:10:22 | 2015-12-18T00:10:22 | 47,237,825 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,816 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include "Parse.h"
#include "String.h"
TokenType next_token_type = INVALID;
int32_t token_number_value = 0;
FILE* input_source = stdin;
static const uint32_t buff_size = 4096;
static char buff[buff_size];
static uint32_t cursor = 0;
static const uint32_t tok... | [
"kevjyee@gmail.com"
] | kevjyee@gmail.com |
5dacdf7ada50f4dd5a575eb442958085bbf5cd97 | e89ee565a6d80fe83674297460682ffbac84dab6 | /src/solutions/dynamicstreaming/d3d11/updatesubresource.h | bd315a1152fb749c62be7f26b22f4eabcf72875a | [
"Unlicense"
] | permissive | elect86/apitest | 932303916eee6c9277350ff691527b6d13be16de | f6d50cbdd58f9094b52c73b3d642485154f47038 | refs/heads/master | 2021-01-21T15:03:52.201314 | 2016-04-27T09:58:36 | 2016-04-27T09:58:36 | 57,043,168 | 0 | 0 | null | 2016-04-25T13:19:10 | 2016-04-25T13:19:10 | null | UTF-8 | C++ | false | false | 1,523 | h | #pragma once
#include "solutions/dynamicstreamingsoln.h"
#include "framework/gfx_dx11.h"
// --------------------------------------------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------------------------------... | [
"jmcdonald@nvidia.com"
] | jmcdonald@nvidia.com |
0f8c71eaa203a9509e68ad388eaf476cd56e1528 | f3e52189bb901efa0ba6c8910705087cafc1d577 | /notegenerator.cpp | 7eafd5ca0043f1a0ae3a57f59d289321c3b8cfef | [] | no_license | lucashtm/notegenerator | 7db0fbe301aa41ad22a80e7075847faa0578bcd0 | 3ccb3153496c925c97faacb2607b5543a371ed56 | refs/heads/master | 2020-03-30T05:18:25.514812 | 2018-09-28T20:35:05 | 2018-09-28T20:35:05 | 150,791,840 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,843 | cpp |
#include "notegenerator.h"
#include "ui_notegenerator.h"
#include "AudioFile.h"
#include <math.h>
#include <QtMultimedia/QAudioDeviceInfo>
#include <QtMultimedia/QAudioOutput>
#include <QDebug>
#include <QLoggingCategory>
QString notes[12] = { "C", "C#", "D", "D#", "E", "F", "F#", "G", "G#", "A", "A#", "B" };
int k... | [
"lucashtm@id.uff.br"
] | lucashtm@id.uff.br |
4da9a65495123601e21da742c966be45815a4c47 | 3f328f3e4408920ab7891a52a606d010077a464c | /app/src/main/jni/OPENGL/include/Mesh.h | 672151925ac2d7a4cb002fa95260e931a824509e | [] | no_license | SomebodyLuo/My_AS_S_L_A_M | 2ddba18abde869d0d1a7288f49aff60d57fc5625 | dd26c6bce1fcaf2e22326ac87f93eaabb3ac0d2a | refs/heads/master | 2021-05-11T06:09:07.485734 | 2018-02-09T08:56:30 | 2018-02-09T08:56:30 | 117,977,133 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,185 | h | /* Mesh.h
*
* Virtual Vision Engine . Copyright (C) 2012 Abdallah DIB.
* All rights reserved. Email: Abdallah.dib@virtual-vison.net
* Web: <http://www.virutal-vision.net/>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as pub... | [
"luoyouren26@163.com"
] | luoyouren26@163.com |
e7118b23b11e3313dbc3215c49a312b8133e9cf1 | 13521d725cc7ff902cb427c92172b2733fad4733 | /RendererGL/Sources/ShaderGLSL.cpp | 84d536ae7f4a73b7e6b05a310f973eaeacc31a06 | [] | no_license | OrangeKnife/NBE | 053935b0bf464bbed09b131466b9f35f4635cd7f | 003fe238c074b4252197eed2d6a80835111a2bf1 | refs/heads/master | 2021-01-17T08:40:24.273655 | 2016-04-05T04:34:54 | 2016-04-05T04:34:54 | 40,105,538 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,352 | cpp | #include "GLheader.h"
#include "Shader.h"
#include "File.h"
#include "ShaderGLSL.h"
#include <vector>
namespace NBE
{
ShaderGLSL::ShaderGLSL(const String& name, const char* format)
{
char* source = nullptr;
String shaderFileName = String(name).append(TEXT(".vs"));
FileIO::readFileIntoStr(shaderFileName,s... | [
"evisd21@gmail.com"
] | evisd21@gmail.com |
670491f03014ba3c1a876e5f78783078c49126bf | 15e953ab9c75ba215750c577f9d5aa3d6571dc27 | /Mohamed_Yassine_Torkhani/CrudGestionPersonnel3/CrudGestionPersonnel1/modifier.h | 52c3bcaccc42f7b371863c8be4e325c966ce253c | [] | no_license | tkyassine/PROJET2A | 92349c39cf8886c161abbe1baece76efd6c7ca59 | d82b18a47257455981bfbd67fcdcf922b45e39c2 | refs/heads/master | 2020-09-21T08:32:35.089271 | 2019-12-13T13:48:43 | 2019-12-13T13:48:43 | 224,741,981 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 429 | h | #ifndef MODIFIER_H
#define MODIFIER_H
#include "personnel.h"
#include <QDialog>
namespace Ui {
class modifier;
}
class modifier : public QDialog
{
Q_OBJECT
public:
void setid(int a){cin=a ;}
explicit modifier(QWidget *parent = nullptr);
~modifier();
personnel ptmp ;
private slots:
... | [
"noreply@github.com"
] | noreply@github.com |
a00c11f7236c2f9fb4f1d035959725c654a5b363 | 240520281155c890ab3cedf5411a1fc496c7ad81 | /StandardClasses/maps.cc | f6cfbefa614c0cfdfec13701fd8426b8ecc548da | [] | no_license | rogercoll/MyCPLUSPLUSTips | 027582909796f11341509fc289bd27bd00e0898d | 2d0a58f953ac69d6cdd4cb7b2662731ab011a324 | refs/heads/master | 2022-01-07T11:27:45.634669 | 2019-05-08T23:04:54 | 2019-05-08T23:04:54 | 185,688,185 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,000 | cc | #include<iostream>
#include<map>
using namespace std;
//THE KEY IS UNIQUE
//THE MAPS SORTS BY THE KEY VALUE
class Person{
private:
string name;
int age;
public:
Person(){
name = "";
age = 0;
}
Person(string name1,int age1){
name = name1;
age = age1;
}
Person(const Person &other){
co... | [
"roger.coll.aumatell@gmail.com"
] | roger.coll.aumatell@gmail.com |
4a879d86bd2bc05d1666a28881d63064fd1ac7e3 | 498b4e2c6193f03270f3c640c1b0874a54d5850e | /CZetLoggerVar.h | 48ddc93316d2fdc02c9d1fa84600e6d5a93ee36d | [] | no_license | jespa007/zetlogger | f9661b93d9e3acfe1d8e09161a019af23b4d5cff | d6e62492ace22c9c9ba7649f3d1cbedf8cfabb88 | refs/heads/master | 2020-03-23T19:31:04.864068 | 2018-07-23T09:41:33 | 2018-07-23T09:41:33 | 141,984,018 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 182 | h | #pragma once
class CZetLoggerVar{
std::string value, name;
public:
std::string getValue(){return value;};
std::string getName(){return name;};
~CZetLoggerVar(){};
};
| [
"jordi@braingaze.eu"
] | jordi@braingaze.eu |
c018d5df26b6d9e75503857af243453ab03e01cb | bfb05cd47add77df4bac22db8b9ea7d89a1fa95a | /src/base/util/Frozen.cpp | 28f843e2decdd9af8503baed877a6bbc66e0ae35 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | xyh-cosmo/GMAT | a7662f3a5abeb747dd0d14c96185ee40211d4cc9 | 00b6b61a40560c095da3d83dab4ab1e9157f01c7 | refs/heads/master | 2021-12-07T22:41:30.436316 | 2016-01-11T21:33:08 | 2016-01-11T21:33:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,428 | cpp | //
//------------------------------------------------------------------------------
// Frozen
//------------------------------------------------------------------------------
// GMAT: General Mission Analysis Tool.
//
// Copyright (c) 2002 - 2015 United States Government as repres... | [
"rockstorm@gmx.com"
] | rockstorm@gmx.com |
35f44720420775fbda86d9fed6af7fdf31e45cbe | 2a7173848e055fb62327cb59aa6e4819100aaba8 | /CommonCode/SharedMemExchange.cpp | 38ab655d5c555b73de2926f4b098de7b9d1cf3fd | [] | no_license | 0xc0000005/TestTask | d9f7ca4d1ac471cf2535676734469dd12cbaf5e1 | 90968898f5a9cb980a47a899ea1bade5e2d01dfc | refs/heads/master | 2021-01-09T05:45:26.723936 | 2017-03-24T11:18:54 | 2017-03-24T11:18:54 | 81,574,762 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,778 | cpp | #include "stdafx.h"
#include "SharedMemExchange.h"
#include <boost/date_time/posix_time/posix_time_types.hpp>
#include <boost/chrono.hpp>
using namespace boost::interprocess;
using namespace boost::posix_time;
std::unique_ptr<IExchangeServer> ShrdMemExch_CreateServer(ITerminator* terminator = nullptr)
{
return C... | [
"alexander.orlov@gmail.com"
] | alexander.orlov@gmail.com |
7524392d2e7de48ac7f8f50ad366a11a4064dbf2 | 82815230eeaf24d53f38f2a3f144dd8e8d4bc6b5 | /Airfoil/wingMotion/wingMotion2D_pimpleFoam/0.96/k | 551edf362f2f1c609ac7e82ccac58915e082c4ab | [
"MIT"
] | permissive | ishantja/KUHPC | 6355c61bf348974a7b81b4c6bf8ce56ac49ce111 | 74967d1b7e6c84fdadffafd1f7333bf533e7f387 | refs/heads/main | 2023-01-21T21:57:02.402186 | 2020-11-19T13:10:42 | 2020-11-19T13:10:42 | 312,429,902 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 155,994 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1912 |
... | [
"ishantamrakat24@gmail.com"
] | ishantamrakat24@gmail.com | |
858029839cb45426eab956d53c3cf4b599bffe1d | 0ef4f71c8ff2f233945ee4effdba893fed3b8fad | /misc_microsoft_gamedev_source_code/misc_microsoft_gamedev_source_code/xgameRender/ugxRender.h | 73b91a7aa411eaa8a220c291a9b3a754a68ca4a9 | [] | no_license | sgzwiz/misc_microsoft_gamedev_source_code | 1f482b2259f413241392832effcbc64c4c3d79ca | 39c200a1642102b484736b51892033cc575b341a | refs/heads/master | 2022-12-22T11:03:53.930024 | 2020-09-28T20:39:56 | 2020-09-28T20:39:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,165 | h | #if 0
// File: ugxRender.h
#pragma once
#include "threading\eventDispatcher.h"
#include "renderCommand.h"
#include "ugxRenderBase.h"
#include "effect.h"
#include "textureManager.h"
struct granny_file_info;
enum eUGXGeomStatus
{
cUGXGeomStatusInvalid,
cUGXGeomStatusPending,
cUGXGeomStatusRead... | [
"benjamin.barratt@icloud.com"
] | benjamin.barratt@icloud.com |
e3d0a192e09dfb94a7906e7781a39a9830aab0e3 | 09cf7ccc525e3f3437ab4839d0a1a98aae9b8fca | /内存申请与释放部分链表实现/c++链表.cpp | c18757c5c535733f44eac9ba33c57c89e53f42ab | [] | no_license | rainsun-c/MyCpp | b7d0cb51b562262616c0204b358e5ab26fc98d70 | d046b82e8a5a6a5921be56716f2cb15f82067810 | refs/heads/master | 2023-03-25T11:21:44.025987 | 2021-03-29T11:54:51 | 2021-03-29T11:54:51 | 335,320,142 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 985 | cpp | #include<iostream>
#include <string>
using namespace std;
struct Node
{
int data;
struct Node* next;
//构造函数
Node(int data, Node*next);
Node(int data);
};
Node::Node(int data)
{
this->data = data;
this->next = nullptr;
}
Node::Node(int data, struct Node* next)
{
this->data = data;
this->next = next;
}
struct L... | [
"2463130552@qq.com"
] | 2463130552@qq.com |
3998d89be7699abe4e1420b39857aa1c3a6a66bc | 5bc85b031d8ba0fd02269f4b46b244b5f1320e2d | /v8/src/compiler/x64/instruction-scheduler-x64.cc | edbe8bd6cf38fd601d087cf43e03dab9eed9c39a | [] | no_license | fibx/fibjs_vender | b7ba4cac20a5916a2ec69e71350bcd1ab1426de0 | 397cd4558f3308731783c0a0d98159df431acc0d | refs/heads/master | 2021-01-20T02:02:30.543886 | 2017-08-15T11:16:12 | 2017-08-15T11:16:12 | 100,710,943 | 0 | 0 | null | 2017-08-18T12:42:56 | 2017-08-18T12:42:56 | null | UTF-8 | C++ | false | false | 8,497 | cc | #include "src/v8.h"
#if V8_TARGET_ARCH_X64
// Copyright 2015 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/compiler/instruction-scheduler.h"
namespace v8 {
namespace internal {
namespace compiler {
... | [
"lion@9465.net"
] | lion@9465.net |
29ed1a7ad6ba1028de18c6762ec8eab71a7bc185 | c68f791005359cfec81af712aae0276c70b512b0 | /2015-2016 ACM-ICPC Pacific Northwest Regional Contest/q.cpp | b61b64d5150cbf003e2d124b3367e2ff1a43ad0f | [] | no_license | luqmanarifin/cp | 83b3435ba2fdd7e4a9db33ab47c409adb088eb90 | 08c2d6b6dd8c4eb80278ec34dc64fd4db5878f9f | refs/heads/master | 2022-10-16T14:30:09.683632 | 2022-10-08T20:35:42 | 2022-10-08T20:35:42 | 51,346,488 | 106 | 46 | null | 2017-04-16T11:06:18 | 2016-02-09T04:26:58 | C++ | UTF-8 | C++ | false | false | 330 | cpp | #include <bits/stdc++.h>
using namespace std;
const int N = 1e5 + 5;
int a[N];
int main() {
int n;
scanf("%d", &n);
for(int i = 0; i < n; i++) {
scanf("%d", a + i);
}
sort(a, a + n);
int ans = 1e9;
for(int i = 0; i < n; i++) {
ans = min(ans, a[i] + a[n - 1 - i]);
}
cout << ans << endl;
r... | [
"l.arifin.siswanto@gmail.com"
] | l.arifin.siswanto@gmail.com |
e4cbd6d40eecb3c51f50620ad051caf9c9a87089 | 60bb67415a192d0c421719de7822c1819d5ba7ac | /blazemark/src/blaze/Mat6Mat6Add.cpp | e2c7e30d7561ecf3c63b8f04db8c5f2538afb20c | [
"BSD-3-Clause"
] | permissive | rtohid/blaze | 48decd51395d912730add9bc0d19e617ecae8624 | 7852d9e22aeb89b907cb878c28d6ca75e5528431 | refs/heads/master | 2020-04-16T16:48:03.915504 | 2018-12-19T20:29:42 | 2018-12-19T20:29:42 | 165,750,036 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,621 | cpp | //=================================================================================================
/*!
// \file src/blaze/Mat6Mat6Add.cpp
// \brief Source file for the Blaze 6D matrix/matrix addition kernel
//
// Copyright (C) 2012-2018 Klaus Iglberger - All Rights Reserved
//
// This file is part of the Blaze lib... | [
"klaus.iglberger@gmail.com"
] | klaus.iglberger@gmail.com |
1091fc8463d7ff9f597946ef032494d3733b5212 | bc75b28bd395530d346074ac0214ed325bd6c239 | /ds_assignments/ds_assignment_1/linkedListProb/DLL/DLL/dll.cpp | bef4e6574113d1b3570792553aed0c7f9e8913ea | [] | no_license | divishabyreddy/ncrwork | ff28024624ae1c36dc663b5890b150da194d7b6c | ae2a8c0b07807a277d7719fae15bbbf28404fdf5 | refs/heads/master | 2020-04-20T17:11:46.875574 | 2019-03-26T11:19:20 | 2019-03-26T11:19:20 | 168,981,773 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,155 | cpp | #include<iostream>
using namespace std;
struct node
{
int data;
struct node *prev;
struct node *next;
};
class DLList
{
struct node *start;
public:
DLList();
void insert_first(int);
void insert_last(int);
void insert_after(int, int);
void insert_before(int, int);
int delete_first();
int delete_last();
void ... | [
"divishab.be19@uceou.edu"
] | divishab.be19@uceou.edu |
f8876660a84c578efad9f2fbe1021e1cb841d290 | 87dcc301f29042ebb3455403a015b9ba07d6a2dc | /Planewar/PLANEWAR.h | 5d583ad53c3721e0b321fd7280dc07daa25f20a4 | [] | no_license | lunlun0857/Planewar | 57d45893796f1c9fb209b03aa866a071759e00da | 70afd1755695f1d91eb8fe6b127df36f52fb7fee | refs/heads/main | 2023-04-20T13:19:29.227833 | 2021-05-12T10:57:13 | 2021-05-12T10:57:13 | 363,356,342 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 875 | h | #include <QtWidgets/QWidget>
#include<qtimer.h>
#include "Map.h"
#include "Myplane.h"
#include "enemy.h"
#include "explode.h"
class PLANEWAR : public QWidget
{
Q_OBJECT
public:
PLANEWAR(QWidget *parent = Q_NULLPTR);
void initScene();
//啟動遊戲
void playgame();
//更新所有遊戲中元素的座標
void upda... | [
"taso31609@gmail.com"
] | taso31609@gmail.com |
19f8e6b28a33b8d08d67a05cbdfbd314ee8a60e9 | 06ba1133cc3e93ef31f1456761678b48ed5dc09d | /Assignments/02_flow_of_control/Set_1/02.cpp | ca1cff3b27a0a47b1cf1ded81787b699e356a937 | [] | no_license | uhdang/cppforschool | 9c1991712534c7b61ed1173b312b774785a9ef3b | 75ff692f5fef3e3737b22b24ce2cf9416db24210 | refs/heads/master | 2020-03-20T10:48:28.201496 | 2018-07-10T21:12:09 | 2018-07-10T21:12:09 | 137,385,071 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 249 | cpp | #include <iostream>
#include <cmath>
using namespace std;
int main() {
int n;
cin >> n;
cout << "absollute: " << (n > 0? n : -(n)) << "\n";
}
//int main() {
//int n;
//cin >> n;
//cout << "Abs: " << abs(n) << "\n";
//}
| [
"uhdang@gmail.com"
] | uhdang@gmail.com |
cab8208d5ab026192324a3c93cf480f7721a78a3 | a967bb35cd53b3f002019f43213a48665378e2c1 | /tiny_cnn/layers/layers.h | 30afc03b55b550d93ddb6029505039829c7c7e88 | [
"BSD-3-Clause"
] | permissive | plexzhang/tiny_cnn | d4954dc66497bca10e1a562d6efd5be961fc15c6 | 743b5a84f1ee9ece29faa4ffbd543552bda5016b | refs/heads/master | 2020-12-25T08:37:31.242085 | 2016-05-04T12:52:18 | 2016-05-04T12:52:18 | 68,162,350 | 1 | 0 | null | 2016-09-14T01:33:47 | 2016-09-14T01:33:47 | null | UTF-8 | C++ | false | false | 5,359 | h | /*
Copyright (c) 2013, Taiga Nomi
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 conditions ... | [
"zynzl120@163.com"
] | zynzl120@163.com |
c6f9b0f81c2ad6bf71aee80e4bc2df3328910e2b | b28305dab0be0e03765c62b97bcd7f49a4f8073d | /chromeos/services/multidevice_setup/multidevice_setup_base.cc | 8b42b0b2fb3eed0fabcdd66e5d1dc5b2a32eeaf3 | [
"BSD-3-Clause"
] | permissive | svarvel/browser-android-tabs | 9e5e27e0a6e302a12fe784ca06123e5ce090ced5 | bd198b4c7a1aca2f3e91f33005d881f42a8d0c3f | refs/heads/base-72.0.3626.105 | 2020-04-24T12:16:31.442851 | 2019-08-02T19:15:36 | 2019-08-02T19:15:36 | 171,950,555 | 1 | 2 | NOASSERTION | 2019-08-02T19:15:37 | 2019-02-21T21:47:44 | null | UTF-8 | C++ | false | false | 601 | cc | // Copyright 2018 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 "chromeos/services/multidevice_setup/multidevice_setup_base.h"
namespace chromeos {
namespace multidevice_setup {
MultiDeviceSetupBase::MultiD... | [
"artem@brave.com"
] | artem@brave.com |
a2e197502c2ee602b92b7610a860f3f1f178306a | 58a1a05a3a7cfbf4e73d240e45db33cb64da6942 | /lazy_theta_star/test/collect_results_experimental_ortho.cpp | 0e318425b526b03d00de2291490c3fb82d937459 | [
"MIT"
] | permissive | margaridaCF/FlyingOctomap_code | 3bbf8827cc4239afd70851adc34076c1c6ecf056 | 2ecba75ee58fadd882887f394819433d9b368283 | refs/heads/master | 2021-06-03T01:12:22.265737 | 2020-09-20T18:08:56 | 2020-09-20T18:08:56 | 115,103,588 | 45 | 12 | MIT | 2019-08-12T12:46:20 | 2017-12-22T10:09:55 | HTML | UTF-8 | C++ | false | false | 6,363 | cpp | #include <ltStar_lib_ortho.h>
#include <gtest/gtest.h>
#include <queue>
namespace LazyThetaStarOctree{
bool testStraightLinesForwardWithObstacles(octomap::OcTree & octree, octomath::Vector3 disc_initial, octomath::Vector3 disc_final,
int const& max_time_secs = 55, double safety_margin = 2, std::string dataset_n... | [
"margaridaCostaFaria@gmail.com"
] | margaridaCostaFaria@gmail.com |
b0cb1e561d18cdc0811f7bf9d1032cba0e43f46a | 3bd86f4d39870e077bb975c99e7bb9177f0a268a | /hello.cpp | 917d23e3aa5867716478e59d958794589c0721e0 | [] | no_license | jsteinha/rd-bayes | 33d1a700de256e2b0b284e3a095024d40c12c3d3 | 953529b27799f3f896db7e8fdd4fbe7982bfddf0 | refs/heads/master | 2021-01-16T19:04:51.723701 | 2013-04-11T17:09:10 | 2013-04-11T17:09:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 61 | cpp | #include "smile/smile.h"
int main(){
DSL_network net;
}
| [
"jacob.steinhardt@gmail.com"
] | jacob.steinhardt@gmail.com |
6653941bc75b80a3fb7f83266892e7b42e6181a7 | f63f86308cca766bea185d429cc8e4c298ae257a | /20161111/main.cpp | a01df291abbadcfa5072b7ed7e922cc0a501fc84 | [] | no_license | Jeepee-Liu/cpp-course | 14200498393e83ef4580ee40d3074653539bfbe8 | 48fbcaad9c28722a614a229dd353db4d12147dea | refs/heads/master | 2020-04-05T23:23:28.890638 | 2018-01-26T03:47:58 | 2018-01-26T03:47:58 | 68,697,346 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 151 | cpp | #include <iostream>
#include <IsingSquare.hpp>
int main (int argc, char* const argv[]) {
IsingSquare simu(argc, argv);
simu.simulate();
return 0;
} | [
"lzp0514@sina.com"
] | lzp0514@sina.com |
fc67fb46205e54e4fc72f8a51024d69f6911d9e1 | efb0d8e9d0111bb3c33b832041efcf18ebb9e923 | /7576.cpp | 60de020a743283d72747fa790507d4a54e8afbde | [] | no_license | sejinik/BOJ | f0307f8e9bee9d1210db47df309126b49bb1390b | 45cb123f073233d5cdec8bbca7b26dd5ae539f13 | refs/heads/master | 2020-03-18T12:42:01.694263 | 2018-05-24T17:04:19 | 2018-05-24T17:04:19 | 134,739,551 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,332 | cpp | #include <iostream>
#include <cstring>
#include <queue>
#include <utility>
using namespace std;
queue <pair<int, int>> q;
int arr[1001][1001];
bool check[1001][1001];
int day;
int sum;
int cnt;
int dx[4] = { 0,0,-1,1 };
int dy[4] = { 1,-1,0,0 };
void dfs(int M, int N) {
int x, y;
while (int s = q.size()) {
while... | [
"sejinik@naver.com"
] | sejinik@naver.com |
1e5b3a1be5292f51e4d51fe3e69481e40c106bc5 | 4382102307928351ecc40e60b8d6231ad99c92ae | /Source/PhatChat/Core/ResponseUsernamePacket.cpp | b2dcd0293eca68a1507a8a5fb5cff7c32d7ded10 | [] | no_license | Stazer/PhatChat | d6b5f83ab68ac2c6969d088137d578ea14d143d3 | 261c2b0f7d0d70126ca6a5fe60ac5c9128925fca | refs/heads/master | 2021-01-10T15:46:42.330551 | 2015-05-15T01:42:04 | 2015-05-15T01:42:04 | 45,400,323 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,034 | cpp | #include <PhatChat/Core/ResponseUsernamePacket.hpp>
#include <PhatChat/Core/OperationCode.hpp>
PhatChat::ResponseUsernamePacket::ResponseUsernamePacket ( const std::string & username ) :
username ( username )
{
}
void PhatChat::ResponseUsernamePacket::setUsername ( const std::string & username )
{
this->username... | [
"justusflerlage@taista.net"
] | justusflerlage@taista.net |
fb48299fbb7770be42868f6b647e7c4904c9650e | 35c900f0407507c080e3752aedd60e3ddde35ba0 | /OrionUO/GUI/GUIShopResult.cpp | ad9b816e490df5af0294ed3dc9eb4d0f00a15c5b | [] | no_license | greeduomacro/OrionUO | 9af88fe2a9357a00f71483d50126db9d02c02c02 | d66426216d525209acb2a9f025b6cf6c476a5e63 | refs/heads/master | 2021-01-21T08:15:38.636164 | 2016-09-17T01:14:00 | 2016-09-17T01:14:00 | 68,420,096 | 1 | 2 | null | 2016-09-17T01:14:01 | 2016-09-16T23:03:08 | C++ | UTF-8 | C++ | false | false | 2,598 | cpp | /***********************************************************************************
**
** GUIShopResult.cpp
**
** Copyright (C) August 2016 Hotride
**
************************************************************************************
*/
//------------------------------------------------------------------------------... | [
"la2sw@list.ru"
] | la2sw@list.ru |
bf71eddd85e28fa760eec6ef5a224c2e48a4ed63 | 364860aedbff999198abe160c1e9231073ca4c98 | /Graphics-EmptyProject/Record.h | ee6ea4cde18f0fd20dfc7d0d54b030c81ca97dd5 | [] | no_license | dashachernyh/Table | c1404f9f4ae136e6bc8e73201dd85dc1a947c0c9 | 8fc396a66950ac06bc5365b77cc4283630cd2c02 | refs/heads/master | 2022-11-07T00:17:51.728207 | 2020-06-27T16:39:36 | 2020-06-27T16:39:36 | 260,935,891 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,067 | h | #pragma once
#include<iostream>
#include<string>
using namespace std;
typedef int TKey;
typedef string TValue;
class TRecord
{
protected:
TKey Key;
TValue Val;
public:
TRecord(TKey k = 0, TValue v = "") { Key = k; Val = v; }
void SetKey(TKey k) { Key = k; }
TKey GetKey(void) { return Key; }
void SetVal(TValue v)... | [
"dasha.chernyh.@mail.ru"
] | dasha.chernyh.@mail.ru |
581da8f263b1c2b6e146c2dda0c400525e869a26 | b28305dab0be0e03765c62b97bcd7f49a4f8073d | /content/browser/accessibility/browser_accessibility.cc | e793423656a0401bed823d7692108d3dc0d4a59f | [
"BSD-3-Clause"
] | permissive | svarvel/browser-android-tabs | 9e5e27e0a6e302a12fe784ca06123e5ce090ced5 | bd198b4c7a1aca2f3e91f33005d881f42a8d0c3f | refs/heads/base-72.0.3626.105 | 2020-04-24T12:16:31.442851 | 2019-08-02T19:15:36 | 2019-08-02T19:15:36 | 171,950,555 | 1 | 2 | NOASSERTION | 2019-08-02T19:15:37 | 2019-02-21T21:47:44 | null | UTF-8 | C++ | false | false | 37,415 | 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 "content/browser/accessibility/browser_accessibility.h"
#include <stddef.h>
#include <algorithm>
#include <iterator>
#include "base/loggin... | [
"artem@brave.com"
] | artem@brave.com |
c06b90a6ed94796d41b9d11f0f46d191e7210a58 | b6d3e89588fc404988f893d0dc256e5c141bf742 | /leetcode/905.cc | c1e95209709ee6cfa16dc47a47b87b16c24ce8ff | [] | no_license | ingyeoking13/algorithm | 236a526929947fc0a118c795513962e75dd589e3 | 5bd7575468f4794b1c71baa6c59c45a25bfada2c | refs/heads/master | 2023-01-12T07:48:46.135702 | 2022-12-28T14:57:45 | 2022-12-28T14:57:45 | 105,534,031 | 2 | 5 | null | 2022-12-08T06:08:04 | 2017-10-02T12:54:39 | C++ | UTF-8 | C++ | false | false | 355 | cc | class Solution {
public:
vector<int> sortArrayByParity(vector<int>& A) {
vector<int> odd, even;
for (auto i: A)
{
if (i%2 == 1 ) odd.push_back(i);
else even.push_back(i);
}
for (auto i : odd)
{
even.push_back(i);
... | [
"ingyeoking13@gmail.com"
] | ingyeoking13@gmail.com |
187c311944e68f7397ab9af0b095d402a75f8b49 | 36bb421c9639f314044eba6d2ae66a8485eccd49 | /codechef/FRUITS/p1.cpp | 5abfed624f7aa4adb3641f68df368e3e99f12345 | [] | no_license | abhijeet2096/cc | ec82d44b56fc3d4807eab686cd2f8d6764c29dfe | 535f6c29a713cdc8fa311aa1d13ee780dcde33cc | refs/heads/master | 2020-03-28T02:25:35.911636 | 2018-10-24T16:31:46 | 2018-10-24T16:31:46 | 147,569,325 | 0 | 0 | null | 2018-10-24T16:31:47 | 2018-09-05T19:30:02 | C++ | UTF-8 | C++ | false | false | 241 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int T;
cin >> T;
int N,M,K;
while(T--)
{
cin >> N >> M >> K;
cout << ((abs(N-M) < K)? 0 : (abs(N-M) - K)) << endl;
}
return 0;
}
| [
"sharma.abhijeet2096@gmail.com"
] | sharma.abhijeet2096@gmail.com |
a532d2b6a12869028759ae30652d2a4d6bed7f83 | 8e9cecdff8c6d83861dbee4810802cd2becd2c27 | /src/render/trimesh.cpp | d57612f634ee254c8c383e990e21f5a1cf62921e | [
"MIT"
] | permissive | jtoikka/voxel-constructor | 2b88f9afdaa97565f75df9024f761ad55b472119 | a60261aa4b497b990ce13be91d13b3b143305d47 | refs/heads/master | 2020-05-29T22:01:53.406860 | 2014-05-10T11:35:07 | 2014-05-10T11:35:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,209 | cpp | /*==============================================================================
The MIT License (MIT)
Copyright (c) 2014 Juuso Toikka
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 rest... | [
"jtoikka@gmail.com"
] | jtoikka@gmail.com |
812330f6474c3897cdb80aa8b23a86c10bd02e04 | 7012521d737dd9de98461e8d74d1df413aad5187 | /Lucid Internship/Code/rtkImageByImageFDK.hxx | dd4947ca395073c89324572dbb614d7725888363 | [
"MIT"
] | permissive | aishwaryamallampati/BTech-IIITDM | 2282c9288dc5ae31acbfaa6f50b1067c91a8750e | 4cfc25a4e6e066b848361cb92770cad3260c7d48 | refs/heads/master | 2021-02-07T17:31:40.777450 | 2021-01-05T16:50:45 | 2021-01-05T16:50:45 | 244,057,221 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,766 | hxx | #pragma once
/*=================================,========================================
*
* Copyright RTK Consortium
*
* 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://w... | [
"aishwarya.mallampati@gmail.com"
] | aishwarya.mallampati@gmail.com |
a4ef27e6ddac6b2ffa0eecdd2ca73c14ce750061 | 343966f68798615621ed7f6a17ebe782b7738dea | /src/sandbox/policy/fuchsia/sandbox_policy_fuchsia.cc | 68f413bd206fe31a92a546fa5509c0359f2eb8b9 | [
"BSD-3-Clause"
] | permissive | iuing/chromium.bb | 57745cdda62a8b0097b7139f86422e74c331c937 | e2c7771d2f79008f4c3b06b6cc024f3f1936156f | refs/heads/master | 2023-04-09T10:12:54.306426 | 2021-04-22T14:26:20 | 2021-04-22T14:26:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,784 | 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 "sandbox/policy/fuchsia/sandbox_policy_fuchsia.h"
#include <lib/fdio/spawn.h>
#include <stdio.h>
#include <zircon/processargs.h>
#include <zirco... | [
"buildbot@bloomberg.net"
] | buildbot@bloomberg.net |
67590480446f3faae61966e0bad67c87614618ea | 6833453a107fcdb21f11845d61443e17b91716e4 | /homework/01/src/strategy/BnbStrategy.hpp | 2923d57371253c65e562fcf0a359e86cfda4ad85 | [
"MIT"
] | permissive | LucyAnne98/NI-KOP | f078b9cd09f06668d015809f2b6001fba4666385 | 415e7d6c0e1c756c8ea93f9d2fec5b8a3e5edc2d | refs/heads/main | 2023-03-16T20:28:11.031651 | 2021-03-17T17:35:16 | 2021-03-17T17:35:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 801 | hpp | //
// Created by the on 10/10/2020.
//
#ifndef INC_01_BNBSTRATEGY_HPP
#define INC_01_BNBSTRATEGY_HPP
#include "Strategy.hpp"
class BnbStrategy : public Strategy {
public:
bool shouldContinue(Bag bag,
Item item,
unsigned long usedWeight,
uns... | [
"git@tenhobi.dev"
] | git@tenhobi.dev |
a0d68d22474ccbbdf43b0f1c8086c2b6940dcfb0 | 8eb1847d482d9dad6b36c1841e6fbf7f66ef64fe | /Courses/Algorithmic Toolbox/Week 1/Michael/cpp_stress_test.cpp | a377e9fc3368063ac0e09c47ff96a40ccefa3853 | [] | no_license | Unfixab1e/Deep_Mint_Programming | b643e9cc1d303637270b777aea10f85e58c0f32b | 1b3fdeeac8a2f64185fb7b1fe869c4b8e23248a5 | refs/heads/master | 2021-01-20T13:02:55.674903 | 2017-05-13T07:50:29 | 2017-05-13T07:50:29 | 90,439,699 | 0 | 1 | null | 2017-05-06T08:04:22 | 2017-05-06T05:29:20 | C++ | UTF-8 | C++ | false | false | 1,622 | cpp | #include <cstdlib>
#include <iostream>
#include <vector>
using std::vector;
using std::cin;
using std::cout;
long long MaxPairwiseProduct(const vector<int>& numbers) {
long long result = 0;
int n = numbers.size();
for (int i = 0; i < n; ++i) {
for (int j = i + 1; j < n; ++j) {
if (((long long)(numbers... | [
"michael.vogl@outlook.com"
] | michael.vogl@outlook.com |
ab136f25e4238e1ed5c511ab99f1ae4f32558df8 | 1f7974bf7bd5b5c91998e2022828f3a277ff7556 | /洛谷/提高/P2014.cc | cdcdda1727cad51d2b9f1d5364b44d01972f86f3 | [
"MIT"
] | permissive | gkishard-workingboy/Algorithm-challenger | 1eda8a5d2ab567a1494a21c90ac750e1f559eae4 | 43336871a5e48f8804d6e737c813d9d4c0dc2731 | refs/heads/master | 2022-11-18T05:14:24.904034 | 2020-07-14T13:42:43 | 2020-07-14T13:42:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,469 | cc | /*
* Author : OFShare
* E-mail : OFShare@outlook.com
* Created Time : 2020-07-01 13:40:58 PM
* File Name : P2014.cc
*/
#include <bits/stdc++.h>
#define ll long long
void debug() {
#ifdef Acui
freopen("data.in", "r", stdin);
freopen("data.out", "w", stdout);
#endif
}
const int N = ... | [
"OFShare@outlook.com"
] | OFShare@outlook.com |
3eb92fb0674dff94489f260528d3094cc8c7585a | 6409650a23f65136afd961206c2a8870e1f78c7e | /ConceptEngine/ConceptEngine/ConceptEnginePlaygrounds/Playgrounds/DirectX12/Samples/SSAO/CEDX12SSAOPlayground.cpp | 85753967e163d02ad28e3b8f56b8d49c89bc39dc | [
"MIT"
] | permissive | Ludaxord/ConceptEngine | 830486b52a72e1fe7a4b821b4f725443ff180afe | 16775bc9b518d4fd4c8bd32bb5f297223dfacbae | refs/heads/master | 2023-08-16T11:33:00.694333 | 2021-10-07T21:11:00 | 2021-10-07T21:11:00 | 293,779,912 | 6 | 0 | MIT | 2021-08-16T20:33:47 | 2020-09-08T10:42:33 | C++ | UTF-8 | C++ | false | false | 68,889 | cpp | #include "CEDX12SSAOPlayground.h"
#include <fstream>
#include "../../../../../ConceptEngineFramework/Graphics/DirectX12/CEDX12Manager.h"
#include "../../../../../ConceptEngineFramework/Graphics/DirectX12/Libraries/GeometryGenerator.h"
#include "../../../../../ConceptEngineFramework/Graphics/DirectX12/Resources/CEShad... | [
"konrad.uciechowski@gmail.com"
] | konrad.uciechowski@gmail.com |
95eba37f64ab02a5b55a10ec725cb5d4f2d831f4 | 714d4d2796e9b5771a1850a62c9ef818239f5e77 | /cc/trees/draw_property_utils.h | 1291e0f30bad74394cb7289c3518c12dbf2a86ab | [
"BSD-3-Clause"
] | permissive | CapOM/ChromiumGStreamerBackend | 6c772341f815d62d4b3c4802df3920ffa815d52a | 1dde005bd5d807839b5d45271e9f2699df5c54c9 | refs/heads/master | 2020-12-28T19:34:06.165451 | 2015-10-21T15:42:34 | 2015-10-23T11:00:45 | 45,056,006 | 2 | 0 | null | 2015-10-27T16:58:16 | 2015-10-27T16:58:16 | null | UTF-8 | C++ | false | false | 3,752 | 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 CC_TREES_DRAW_PROPERTY_UTILS_H_
#define CC_TREES_DRAW_PROPERTY_UTILS_H_
#include "cc/base/cc_export.h"
#include "cc/layers/layer_lists.h"
namesp... | [
"j.isorce@samsung.com"
] | j.isorce@samsung.com |
4b4a5365ee5fb421dffe18719efcd320030d7ce2 | a77ff513b42a1a0ecf392e0545e512d44eb9d2c8 | /demo/CppBaseTest/inheritance.cpp | 7ebd1d03902e93ae36e57aa72b5d8dfbb311a821 | [] | no_license | whc10150051/Messy_Test | e56a903bef0809fd1fb00346386962a7afc723c3 | a38334133cd20a140347679cf57c50c77afedeac | refs/heads/master | 2021-05-11T16:49:05.391586 | 2018-01-06T13:46:38 | 2018-01-06T13:46:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,711 | cpp | #include "inheritance.hpp"
#include <iostream>
///////////////////////////////////////////////
// reference: http://www.tutorialspoint.com/cplusplus/cpp_inheritance.htm
// Base class
class Shape
{
public:
void setWidth(int w)
{
width = w;
}
void setHeight(int h)
{
height = h;
}
protected:
int width;
int he... | [
"fengbingchun@163.com"
] | fengbingchun@163.com |
f0213813993a5b32600f7d6ad6af759e6fd2e695 | 52f859a1a9915b3f99ee4b2934660d3addf3cd28 | /lio_sandbox/cheat_sheet.cpp | f533d8132b1d226ad20764fb413c3debbb80e798 | [] | no_license | lioneltrebuchon/3D-Vision | a4eaeaf324b1b5e4b0b57217cfb032668ef1a97d | 22d045783ac5b7eaf848fe856d1adbcdd9bf3cbc | refs/heads/master | 2020-04-05T23:41:43.391388 | 2016-06-24T21:58:01 | 2016-06-24T21:58:01 | 52,607,123 | 1 | 0 | null | 2018-02-06T12:55:09 | 2016-02-26T13:43:54 | C++ | UTF-8 | C++ | false | false | 20,268 | cpp | is a comment
/*
* Multi-line comment
*/
// Tells the compiler iostream library which contains the function cout
#include <iostream>
// Allows us to use vectors
#include <vector>
// Allows us to use strings
#include <string>
// Allow us to work with files
#include <fstream>
// Allows functions in the std nam... | [
"ltrebuchon@gmail.com"
] | ltrebuchon@gmail.com |
78da95ba652e539cad7e6a5471ec5949b8cf8f6f | e90e4398cb2236991061a212ffbf39736f4ecf18 | /source/geometry/shapes/include/ellipsoid.h | a6e6cbc8fce60d36bac7e51b39b5de8d09e652bc | [] | no_license | KirillKomarov1993/OpenTuCo | f385881591665db7cb0642050779fa07058380d9 | e6b8fe78fd3afed935537a45ee3fda7a272789f9 | refs/heads/main | 2022-12-19T20:10:54.269830 | 2020-10-15T21:19:45 | 2020-10-15T21:19:45 | 304,383,219 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,538 | h | #ifndef ELLIPSOID_H
#define ELLIPSOID_H
#include "shape.h"
namespace tuco {
struct Ellipsoid : Shape
{
Ellipsoid(double _a, double _b, double _c) :
a_(_a), b_(_b), c_(_c)
{
name = "ellipsoid";
radius = a_ * pow(b_ * c_ / (a_ * a_), 1.0 / 3.0);
volume = 4.0 / 3.0 * ph::pi() * ... | [
"kirillkomarov1993@gmail.com"
] | kirillkomarov1993@gmail.com |
dec8b292bbe412d16b9c041662287328298eb7a3 | 204de4c59078102988b6242b2a9b01d8d95a19cd | /showmap.h | b129972d5f86c9ac7afd1c046776004957e6d792 | [] | no_license | Marolok/projectone | fd4e64f738c8d35db3d0a51b5f9ae76c43d92d25 | 1f3bedec097cc68ed3a7b8c87829ddd5eee0f42f | refs/heads/master | 2020-06-03T11:20:21.377133 | 2015-02-17T08:24:17 | 2015-02-17T08:24:17 | 30,906,943 | 0 | 0 | null | 2015-02-17T08:23:19 | 2015-02-17T07:30:43 | C++ | UTF-8 | C++ | false | false | 394 | h | #ifndef SHOWMAP_H
#define SHOWMAP_H
#include <QWidget>
#include <QString>
namespace Ui {
class showmap;
}
class showmap : public QWidget
{
Q_OBJECT
public:
explicit showmap(QWidget *parent = 0);
explicit showmap(QWidget *parent, QString str, QString file);
~showmap();
private slots:
void on_pus... | [
"bocharov_pavel@mail.ru"
] | bocharov_pavel@mail.ru |
62194289027d6c7d6687ad126fa3239ea1112cb7 | 74a6a7c604633b2e8f9e9e399afa377c0753c592 | /src/GKiW_Lab5/Lufa.cpp | 5cf51de2f3292a798232810802bdb470cd744c2b | [] | no_license | gdziugiel/FPSGame | 0ef2b91cab72599cccfe55d203dd144ea5810c0b | 57c782c07a8e28e42398926bd0d6065b7fd6ff2b | refs/heads/main | 2023-07-21T21:21:08.524518 | 2021-09-06T21:35:06 | 2021-09-06T21:35:06 | 403,763,737 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 732 | cpp | #include "stdafx.h"
CLufa::CLufa(void) : CSceneObject()
{
}
CLufa::~CLufa(void)
{
}
void CLufa::Initialize(void)
{
radius = 1.0f;
}
void CLufa::Update(void)
{
}
void CLufa::Render(void)
{
float m_amb[] = { 0.7f, 0.7f, 0.7f, 1.0f };
float m_dif[] = { 1.0f, 1.0f, 1.0f, 1.0f };
float m_spe[] = { 0.0f, 0.0f, 0.0f, 1.0... | [
"grzegorz.dziugiel@student.put.poznan.pl"
] | grzegorz.dziugiel@student.put.poznan.pl |
b3c46bcc450a7d700d574442cf4b1690d9a964c0 | 1b492346830e448fa33273d4997759a64f293c24 | /kpcb-fellows/src/hash_map/trash/not-so-old/fs_hash_map.hpp | 0f83a605cf0d69cf102fb17b751e2cc2c62d8d80 | [
"MIT"
] | permissive | eda-ricercatore/z-estate-2018-stage | e1b057bcf33e6d82fe596c29a5ae9cb91b64b945 | 95b573672e65ab342a58a273b5f4c28fee5b424e | refs/heads/master | 2023-04-18T02:36:05.788743 | 2017-10-10T22:14:51 | 2017-10-10T22:14:51 | 105,302,994 | 1 | 0 | MIT | 2021-04-29T19:15:15 | 2017-09-29T18:08:34 | C++ | UTF-8 | C++ | false | false | 13,285 | hpp | /**
* Hash_map package:
* Module to contain class definitions and implementations of the
* hash map data structure.
*
* fs_hash_map class:
* Class to imeplement a fixed-size hash map container (i.e., data
* structure).
* Accessor and mutator functions are provided for searching, adding,
* and removal of (key, ... | [
"ongz@acm.org"
] | ongz@acm.org |
bdcb95200171ca1f3ed8ad380d940264ca50771d | f6fca6c43ad746c45c8321541178eb02e2cb555e | /openconf_src/ItemScripts.h | 7241a9f53a7a938cb49c2c2e127336bebb14a72b | [] | no_license | Asakra/alterplast | da271c590b32767953f09266fed1569831aa78cb | 682e1c2d2f4246183e9b8284d8cf2dbc14f6e228 | refs/heads/master | 2023-06-22T04:16:34.924155 | 2021-07-16T06:20:20 | 2021-07-16T06:20:20 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 685 | h | // ItemScripts.h: interface for the CItemScripts class.
#ifndef ITEMSCRIPTS_H
#define ITEMSCRIPTS_H
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "treeiteminfo.h"
class CItemScripts : public CTreeItemInfo
{
public:
void InsertScript(CScripting* pScript);
void OnAction();
CIte... | [
"trdmval@gmail.com"
] | trdmval@gmail.com |
0adf8e1de90705479decd459af2d8b5c44284984 | dca653bb975528bd1b8ab2547f6ef4f48e15b7b7 | /tags/wxPy-2.8.1.0/src/common/config.cpp | 16cc86d8f28c5b728d6b6c0fda5643f0a0f03332 | [] | no_license | czxxjtu/wxPython-1 | 51ca2f62ff6c01722e50742d1813f4be378c0517 | 6a7473c258ea4105f44e31d140ea5c0ae6bc46d8 | refs/heads/master | 2021-01-15T12:09:59.328778 | 2015-01-05T20:55:10 | 2015-01-05T20:55:10 | null | 0 | 0 | null | null | null | null | ISO-8859-3 | C++ | false | false | 15,920 | cpp | ///////////////////////////////////////////////////////////////////////////////
// Name: src/common/config.cpp
// Purpose: implementation of wxConfigBase class
// Author: Vadim Zeitlin
// Modified by:
// Created: 07.04.98
// RCS-ID: $Id$
// Copyright: (c) 1997 Karsten Ballüder Ballueder@usa... | [
"RD@c3d73ce0-8a6f-49c7-b76d-6d57e0e08775"
] | RD@c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 |
1f66fbf83c2198831b016d2430978955b8af36aa | abe53b4089ce6f64e3b9026f156b157a2b3caed0 | /www/iridium/files/patch-components_safe__browsing_core_browser_db_v4__protocol__manager__util.cc | 610216161894dd08e85fddb77d74bcc54213fad9 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | freebsd/freebsd-ports-haskell | fdd59a3af298ab32eecdecf0dfb1d7f39aa71425 | 3f032ebcedbb2aeed9a1ca893c7f2295a32d68c9 | refs/heads/main | 2023-08-04T07:57:51.088323 | 2022-10-02T14:51:13 | 2022-10-02T15:05:55 | 252,762,972 | 7 | 13 | NOASSERTION | 2022-08-01T09:17:58 | 2020-04-03T14:56:02 | null | UTF-8 | C++ | false | false | 544 | cc | --- components/safe_browsing/core/browser/db/v4_protocol_manager_util.cc.orig 2022-03-28 18:11:04 UTC
+++ components/safe_browsing/core/browser/db/v4_protocol_manager_util.cc
@@ -115,7 +115,7 @@ std::ostream& operator<<(std::ostream& os, const ListI
PlatformType GetCurrentPlatformType() {
#if BUILDFLAG(IS_WIN)
ret... | [
"rene@FreeBSD.org"
] | rene@FreeBSD.org |
2ca21bf7b707d29f89695daa87eb70ae933644b7 | 887f3a72757ff8f691c1481618944b727d4d9ff5 | /third_party/gecko_1.8/osx/gecko_sdk/include/nsIDOMHTMLFrameSetElement.h | 149a51c9da9779ef38d6e13b405ded1562ead3df | [] | no_license | zied-ellouze/gears | 329f754f7f9e9baa3afbbd652e7893a82b5013d1 | d3da1ed772ed5ae9b82f46f9ecafeb67070d6899 | refs/heads/master | 2020-04-05T08:27:05.806590 | 2015-09-03T13:07:39 | 2015-09-03T13:07:39 | 41,813,794 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,963 | h | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM /Users/darin/builds/moz-1-8-branch/mozilla/dom/public/idl/html/nsIDOMHTMLFrameSetElement.idl
*/
#ifndef __gen_nsIDOMHTMLFrameSetElement_h__
#define __gen_nsIDOMHTMLFrameSetElement_h__
#ifndef __gen_nsIDOMHTMLElement_h__
#include "nsIDOMHTMLElement.h"
#endif
/* For ID... | [
"gears.daemon@fe895e04-df30-0410-9975-d76d301b4276"
] | gears.daemon@fe895e04-df30-0410-9975-d76d301b4276 |
182b7f163d86d0b0300933b0adbf9f443c2d12b6 | 8d5923162f4ae0abf2dffca969a95dbd49e40220 | /include/RequestManagerVMTemplate.h | b5c87b1249b5a1cfc82e8cc0d443bdbedab38c1b | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | sutthipongl/one5.2.0 | 00a662d8372679b006d4cd30914d5772edeb4be2 | ec756a13ced38f3b2ba70bae043dd1cc734b7a01 | refs/heads/master | 2021-04-26T13:10:30.964344 | 2017-05-18T21:34:35 | 2017-05-18T21:34:35 | 77,481,442 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,240 | h | /* -------------------------------------------------------------------------- */
/* Copyright 2002-2016, OpenNebula Project, OpenNebula Systems */
/* */
/* Licensed under the Apache License, Version 2.0 (the "License"); you may ... | [
"Tor@Sutthipongs-MacBook-Pro.local"
] | Tor@Sutthipongs-MacBook-Pro.local |
f81f9bdeee0bebcec5c921c73faf13485ff74b94 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/curl/gumtree/curl_old_log_9199.cpp | 3cd8011d6bab070b62597e6edc35fb4462b46651 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 534 | cpp | fputs(
" this URL is written, use the -o, --output or the -O, --remote-\n"
" name options.\n"
" -v, --verbose\n"
" Makes the fetching more verbose/talkative. Mostly useful for\n"
" debugging. A line starting with '>' means \"header data\" sent by\n"
" ... | [
"993273596@qq.com"
] | 993273596@qq.com |
57f0d6682ca0e524ed3e62d7546331f622112dfa | d0d47e5c52fcbfc5b5c7e3c1e6e54ea9bc4648f3 | /program for-bilangan naik.cpp | ab346a29cea874732169744b9c38ee686d50550c | [] | no_license | RamaSanjaya/ramas | 0bfd38191c73849a288b610cae68403ff194ecc1 | 5955c258c5b87fa71d1e6b948bf81b2d79d80d15 | refs/heads/master | 2020-06-11T22:48:06.867669 | 2016-12-05T10:56:31 | 2016-12-05T10:56:31 | 75,614,897 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 135 | cpp | #include<stdio.h>
#include<conio.h>
#include<iostream.h>
main()
{
int a;
clrscr();
for(a=1;a<=10;++a)
cout<<a;
getch();
}
| [
"noreply@github.com"
] | noreply@github.com |
cd30fa2f434b533f1b539a6edc473efcc3e3c8cb | 8dab8e8b62455249c7c31780bee125a04a597509 | /2048/SlideScene.cpp | 9d10397b6861c62ae8cbdaf607b74de16794a36d | [] | no_license | levalup/bud_demo | 8740ced6fea1147096185c114b674526a014d967 | f159ed4bd28d3047c5a8ff414385b1aa9eae4d28 | refs/heads/master | 2022-05-05T13:27:14.596361 | 2016-11-25T08:04:25 | 2016-11-25T08:04:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,152 | cpp | //
// Created by kier on 11/24/15.
//
#include "SlideScene.h"
#include <bud/inc.h>
#include <iostream>
using namespace std;
using namespace bud;
SlideScene::SlideScene(bud::Renderer *bud_renderer)
: Scene(bud_renderer) {
m_font.load("assert/font/consola.ttf", 20);
ensureLayerSize(10);
LocalNo... | [
"likier@sina.cn"
] | likier@sina.cn |
daa0e99884ed61f18547f50befbd8c5478982382 | ae125d0fc035d36259785cd4795d91649982b9ee | /src/utils/algo_impl.h | 7efa1aee5617a1fd3be3392b25ab4307365e3c07 | [
"Apache-2.0"
] | permissive | mshabdiz/clip | 317f5c6476183b5957f65ce689703bf74fb5c345 | 5fca358e56e6334a22aa09264f2ccb7d41bd156f | refs/heads/master | 2023-03-16T15:09:40.271087 | 2020-06-10T15:41:14 | 2020-06-11T16:39:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,110 | h | /**
* This file is part of the "clip" project
* Copyright (c) 2018 Paul Asmuth
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the ... | [
"paul@asmuth.com"
] | paul@asmuth.com |
6134a9bf7e9deb98376820077417ea6889ce4b8a | d85b1f3ce9a3c24ba158ca4a51ea902d152ef7b9 | /testcases/CWE762_Mismatched_Memory_Management_Routines/s04/CWE762_Mismatched_Memory_Management_Routines__delete_struct_malloc_52a.cpp | 228d3d05e60291bd2a9e813fed3c96a885fa3618 | [] | no_license | arichardson/juliet-test-suite-c | cb71a729716c6aa8f4b987752272b66b1916fdaa | e2e8cf80cd7d52f824e9a938bbb3aa658d23d6c9 | refs/heads/master | 2022-12-10T12:05:51.179384 | 2022-11-17T15:41:30 | 2022-12-01T15:25:16 | 179,281,349 | 34 | 34 | null | 2022-12-01T15:25:18 | 2019-04-03T12:03:21 | null | UTF-8 | C++ | false | false | 2,895 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE762_Mismatched_Memory_Management_Routines__delete_struct_malloc_52a.cpp
Label Definition File: CWE762_Mismatched_Memory_Management_Routines__delete.label.xml
Template File: sources-sinks-52a.tmpl.cpp
*/
/*
* @description
* CWE: 762 Mismatched Memory Management R... | [
"Alexander.Richardson@cl.cam.ac.uk"
] | Alexander.Richardson@cl.cam.ac.uk |
41f4cfcb5169db9b93f57eda93be59dcfc07afce | 53e8f26e057a105fd5751768b0872f3ec345bdca | /rockets/HERMES_V1/CONFIGURATION_FILES/transientSolver/system/fvSolution | 292880a547f925d17184e6b840e86c0cb69cf2bf | [] | no_license | oygx210/computational-fluid-dynamics | 85991876a785149ff2001eec6e9469742a520c11 | 977c47761254642b8a319cd30d5a9fd48f7b5d99 | refs/heads/main | 2023-03-14T00:39:09.976634 | 2021-03-14T11:50:47 | 2021-03-14T11:50:47 | 355,256,619 | 1 | 0 | null | 2021-04-06T16:24:19 | 2021-04-06T16:24:18 | null | UTF-8 | C++ | false | false | 1,067 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 7
\\/ M anipulation |
\*-------... | [
"okahol@yahoo.it"
] | okahol@yahoo.it | |
302765d684bbb8eab4da5cd9a479c295313523b0 | 98b1e51f55fe389379b0db00365402359309186a | /homework_6/problem_2/10x10/0.893/U | a6bdf03f0df2e07733b5863d0ef9dc4bb990ef85 | [] | no_license | taddyb/597-009 | f14c0e75a03ae2fd741905c4c0bc92440d10adda | 5f67e7d3910e3ec115fb3f3dc89a21dcc9a1b927 | refs/heads/main | 2023-01-23T08:14:47.028429 | 2020-12-03T13:24:27 | 2020-12-03T13:24:27 | 311,713,551 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,147 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 8
\\/ M anipulation |
\*-------... | [
"tbindas@pop-os.localdomain"
] | tbindas@pop-os.localdomain | |
dd0f43890280fc7c5343917ec8a9afa50c418cea | b150c88f98194fde059448cc61ae19ab343efe6d | /client/cmdProcess.cpp | 9ece7217446f0945c6afe4b2e929abd05419a732 | [] | no_license | Request2609/MyCacheDb | 0df5b43935cde7c7e52b813895faae90a4cb3c6c | 58e9e996a6b4f1f7778da441eb7256288a86cb5b | refs/heads/master | 2022-04-08T22:41:44.111160 | 2020-02-29T02:49:56 | 2020-02-29T02:49:56 | 206,490,751 | 2 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 4,263 | cpp | #include "cmdProcess.h"
void cmdProcess :: setSet(std::vector<std::string>& res, Messages::Command& com) {
com.set_type(1) ;
com.set_cmd(res[0]) ;
Messages::Key* key = com.add_keys() ;
std::string* k = key->add_key() ;
*k = res[1] ;
Messages::Value* val = com.add_vals() ;
std::string* v = v... | [
"1433882609@qq.com"
] | 1433882609@qq.com |
99ff27de8fc230e74761e6905197a9ddff1c6e39 | 244468b3a590c272c0ab890a68553faed6e738ee | /src/ContentManager.cpp | a831b726b9b8206efe7e302f172f392e12b7ff7b | [] | no_license | twiad/COA-Jump-And-Run---Engine | 7c78899569280df61f623c3fc5fb7d56c3d80247 | 25c5e46ed219652d0c4cd389cc1e24ab014d787f | refs/heads/master | 2016-09-06T02:16:33.791197 | 2009-07-07T13:45:59 | 2009-07-07T13:45:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,368 | cpp | /******************************************************************************
* CoAJnR - CoA Jump n Run *
* Copyright (C) 2007 Adrian Jäkel *
* Copyright (C) 2007 Franz Köhler *
... | [
"rtti@elane2k.com"
] | rtti@elane2k.com |
0d05c3d64f029eee59c0b4c0737bed4ee8e1c99a | 64f7330b04d108050da1a2640e8a031168c620b2 | /assignement_2/PriorityQueue.cpp | 99fb6a5d127b63f99bd36ccabed7587523edd6e2 | [
"MIT"
] | permissive | alexZajac/CS014_assignements | 1c641ff4e9096c40088e95dc1a89e03761da0f3f | b20fade1cb1c86382463f530e58ded8ee2254efc | refs/heads/master | 2023-07-07T05:34:34.008957 | 2021-08-05T17:25:17 | 2021-08-05T17:25:17 | 212,858,344 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,152 | cpp | #include <iostream>
#include <string>
#include <vector>
#include "PriorityQueue.h"
using std::cin;
using std::cout;
using std::endl;
using std::string;
using std::vector;
/**
* * Constructor
* @param: integer initializing the node
*/
PriorityQueue::PriorityQueue(int data)
{
this->data = data;
... | [
"zajac.alexandre@gmail.com"
] | zajac.alexandre@gmail.com |
6703290dbeac9e402ffbec77bf1b91b99d847056 | a1e09275ead342e4369a7a539621db2002ffe06d | /patterns/HalfNumberPyramid.cpp | 8ce99a6c76fa048cf4370caa32c15ee93a4f48e0 | [] | no_license | thesarthaktyagi/new-cpp | 0f08dd8f6378a88d498e6d8c16053b28183caba1 | 4af39a50b3768b6eab07162f2f04e5880192f18e | refs/heads/master | 2023-05-07T19:19:17.642663 | 2021-06-03T08:39:49 | 2021-06-03T08:39:49 | 370,765,160 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 292 | cpp | #include <iostream>
using namespace std;
int main()
{
int n;
cout << "Please enter the number ";
cin >> n;
for (int i = 1; i <= n; i++)
{
for (int j = 1; j <= i; j++)
{
cout << i << " ";
}
cout << endl;
}
return 0;
} | [
"srthk07@gmail.com"
] | srthk07@gmail.com |
07200703694a973e4d5ca087887de87b0f1de976 | 914926ffa6abd34df72d2d211bfa0ab07abdcee0 | /transformaciones.h | 61835cee3246e462a047a8a285587bfa70a58e3b | [] | no_license | tec-csf/tc2017-t5-otono-2019-sergio-hernandez-castillo | bcd6f768a420d4153dfed8b5a62b41a32be3a16a | 5a6b13c49bda59a20a77f9fc39feac983197148a | refs/heads/master | 2020-09-11T11:00:11.926948 | 2019-11-16T03:57:23 | 2019-11-16T03:57:23 | 222,042,875 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 803 | h | /*
* Sergio Hernandez Castillo - A01025210
* Tarea 5: Geometria Computacional
*/
#ifndef TRANSFORMACIONES_H
#define TRANSFORMACIONES_H
#include <QDialog>
#include <QtGui>
#include <QtCore>
class Transformaciones
{
public:
Transformaciones();
void dibujar(bool & dibuja, QVector<QTransform> &... | [
"noreply@github.com"
] | noreply@github.com |
0c0a0bf371221c80b800061ee65e5b7197bab8a9 | 9b93e6cd8dd66c27137f8df24de37c0099cc3375 | /Sketchs/Smoking_system/Smoking_system.ino | ce0eafd2812a392e2754176bdd11c2ec04eb36ed | [] | no_license | alexptbg/Arduino-Sketchs | 42f4ef187bf1914101081b63639fa0f9d0239e2d | 9ade5b605a138e51e047e9caa682727b7377426e | refs/heads/master | 2021-01-22T08:19:59.512066 | 2019-01-10T12:01:13 | 2019-01-10T12:01:13 | 35,655,617 | 0 | 0 | null | 2018-05-30T07:41:21 | 2015-05-15T05:36:44 | Arduino | UTF-8 | C++ | false | false | 2,022 | ino | #include <Wire.h>
#include <rgb_lcd.h>
#define RELAY1 2
#define RELAY2 3
#define D1 A0
#define D2 A1
#define D3 A2
#define POT A3
int offset = 0;
int pot_val = 0;
int pot_end = 0;
//LCD
rgb_lcd lcd;
const int colorR = 0;
const int colorG = 255;
const int colorB = 255;
void setup() {
//SERIAL
Serial.begin(9600... | [
"alexptbg@gmail.com"
] | alexptbg@gmail.com |
d63d63da55edc10e657ab646082619efc74ccef4 | 9f81d77e028503dcbb6d7d4c0c302391b8fdd50c | /google/cloud/apigeeconnect/v1/connection_options.h | 48ef16765ad194c52c565060120098e5fea53833 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | googleapis/google-cloud-cpp | b96a6ee50c972371daa8b8067ddd803de95f54ba | 178d6581b499242c52f9150817d91e6c95b773a5 | refs/heads/main | 2023-08-31T09:30:11.624568 | 2023-08-31T03:29:11 | 2023-08-31T03:29:11 | 111,860,063 | 450 | 351 | Apache-2.0 | 2023-09-14T21:52:02 | 2017-11-24T00:19:31 | C++ | UTF-8 | C++ | false | false | 2,537 | h | // Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | [
"noreply@github.com"
] | noreply@github.com |
c07b2f7df2c8d4897db333714248a678116d5141 | 4a5f91c43bc1b64c4da5d085bf5f947333c838fa | /test/training_data/plag_original_codes/dfs_a_6234212_53.cpp | f4d7d458f51eaf3bea7421ff7394dbf52b8fcce0 | [
"MIT"
] | permissive | xryuseix/SA-Plag | cba8c7c02bf43a547126bd2cccc925336fde83f9 | 167f7a2b2fa81ff00fd5263772a74c2c5c61941d | refs/heads/master | 2023-05-31T01:24:47.800096 | 2021-06-30T13:40:12 | 2021-06-30T13:40:12 | 331,397,335 | 13 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,911 | cpp | /*
引用元:https://atcoder.jp/contests/atc001/tasks/dfs_a
A - 深さ優先探索Editorial
// ソースコードの引用元 : https://atcoder.jp/contests/atc001/submissions/6234212
// 提出ID : 6234212
// 問題ID : dfs_a
// コンテストID : atc001
// ユーザID : xryuseix
// コード長 : 2499
// 実行時間 : 11
*/
#include <iostream>
#include <cstdio>
#include <algorithm>
#include... | [
"ryusei143.shootingstar@gmail.com"
] | ryusei143.shootingstar@gmail.com |
61acbe6e17133d10ade76866136a9a8aff98daea | 2fc4a0af3b8dc772fdea238ef9fc45e3499b4ead | /power/Power.h | 04558fd8ebb12f2dfa5191cbcb6685a3fe2ef635 | [] | no_license | YumeMichi/device_oneplus_onyx | cf3eb002fc2d99bb27d16204deb7a96987b1161f | 919d77a31937fe963a30e0ccd85f55c7ef52104e | refs/heads/lineage-16.0-sultan | 2023-03-07T07:35:13.678588 | 2017-03-22T15:16:45 | 2020-04-25T17:42:28 | 165,415,656 | 37 | 31 | null | 2019-09-23T08:00:53 | 2019-01-12T17:27:33 | C++ | UTF-8 | C++ | false | false | 2,911 | h | /*
* Copyright (C) 2017 The Android Open Source Project
* Copyright (C) 2017-2018 The LineageOS 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/... | [
"do4suki@gmail.com"
] | do4suki@gmail.com |
535b159903a146bc890752622b3cc20e6da5d1ba | e80d9824d4f267e766cb00e4f26a7188646bc59f | /Floquet/model_func.h | 6dee2b4c381c644c4c8b1274d526a1f904b3604c | [] | no_license | phzls/MBL_Floquet | b01637509a930074914ee8122eda63121b0a1567 | 9a0de329b9a824a773269cb5e0cf84ccc4bdee7f | refs/heads/master | 2021-03-30T18:06:27.767752 | 2015-04-10T21:41:25 | 2015-04-10T21:41:25 | 30,984,752 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,239 | h | #ifndef MODEL_FUNC_H
#define MODEL_FUNC_H
#include <Eigen/Eigenvalues>
#include <Eigen/Dense>
#include "evol_class.h"
#include "parameters.h"
using namespace std;
using namespace Eigen;
/**
** This file contains the base class and derived classes for generating a pointer to
** various evol_class models. To circumv... | [
"liangshe@princeton.edu"
] | liangshe@princeton.edu |
8d5e10a9c05505c90e0daa42549b3d15614ea6ed | 6f7c0c769e983f0503eeb0a628203856d87a4166 | /49_01_typeid/stdafx.cpp | 298b19ab6d438e9640afe48897fabed6551d8355 | [] | no_license | c437yuyang/Test_Cpps | bb02806c47f178058988860a6d997dceb53cb0e7 | d91a44385e2d4a8073c5ccc76e9c1342be777052 | refs/heads/master | 2021-01-21T15:48:26.778305 | 2018-01-10T07:30:17 | 2018-01-10T07:30:17 | 91,857,328 | 0 | 1 | null | null | null | null | GB18030 | C++ | false | false | 263 | cpp | // stdafx.cpp : 只包括标准包含文件的源文件
// 49_01_typeid.pch 将作为预编译头
// stdafx.obj 将包含预编译类型信息
#include "stdafx.h"
// TODO: 在 STDAFX.H 中引用任何所需的附加头文件,
//而不是在此文件中引用
| [
"954222619@qq.com"
] | 954222619@qq.com |
d769d77c969ed09f70bae57d6312d6ab2482b15d | 6d4921d040783c04d52ad0b6e04cc21fbcd0eb4b | /src/arch_framework/util/json/rapidjson/internal/itoa.h | 80442e1517f444818336ecf858a2aec02890ba82 | [] | no_license | lkqy/arch | d6a72958bc8442958347bef15e58b692f62ec5eb | 1501417705d62c104afa92cf4c290e5a617d3902 | refs/heads/master | 2023-01-11T00:12:29.316933 | 2020-11-09T02:41:50 | 2020-11-09T02:41:50 | 302,797,191 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 10,203 | h | // Tencent is pleased to support the open source community by making RapidJSON available.
//
// Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved.
//
// Licensed under the MIT License (the "License"); you may not use this file except
// in compliance with the License. You may obta... | [
"wucunhua@bytedance.com"
] | wucunhua@bytedance.com |
98ff0cb27fbd939f37e7455fe17d6c57cb8f6e83 | 1dd0d3e59fdb1eb9c75a2581baaa2fc9800c561a | /window.h | 2ef09012fcc461a11f22b89afb4d4f122cbf61ae | [] | no_license | jaldhar/editor | 59b12930d34db1def301693ec4fa0a70ef56c533 | 9b2ee30a488aeb71603fdd5b07ab6003aaf5f980 | refs/heads/master | 2021-08-15T20:46:28.315434 | 2017-11-18T04:13:41 | 2017-11-18T04:13:41 | 105,847,938 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 575 | h | // Window -- display routines for a simple text editor (Interface)
//
// By Jaldhar H. Vyas <jaldhar@braincells.com>
// Copyright (C) 2017, Consolidated Braincells Inc. All rights reserved.
// "Do what thou wilt" shall be the whole of the license.
#ifndef _WINDOW_H_
#define _WINDOW_H_
#include <curses.h>
#include <st... | [
"jaldhar@braincells.com"
] | jaldhar@braincells.com |
9c03adfb9bd60231d5d35694a6e9d8f260dc8de8 | 92a9f837503a591161330d39d061ce290c996f0e | /SiNDY-u/CreateNoParkingRoadList/MakeList.cpp | 71c1bb7dcf80a74ec0853b09f09a6515f5a021b3 | [] | no_license | AntLJ/TestUploadFolder | 53a7dae537071d2b1e3bab55e925c8782f3daa0f | 31f9837abbd6968fc3a0be7610560370c4431217 | refs/heads/master | 2020-12-15T21:56:47.756829 | 2020-01-23T07:33:23 | 2020-01-23T07:33:23 | 235,260,509 | 1 | 1 | null | null | null | null | SHIFT_JIS | C++ | false | false | 20,132 | cpp | /*
* Copyright (C) INCREMENT P CORP. All Rights Reserved.
*
* THIS SOFTWARE IS PROVIDED BY INCREMENT P CORP., WITHOUT WARRANTY OF
* ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
* WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE
* AND NONINFRINGEMENT.
*
* IN NO EVENT SHAL... | [
"noreply@github.com"
] | noreply@github.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.