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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0241a3d38af0eea5e05e4839375e2c085b64686e | 65960494b910aa952ab6ee98d80faecddb87c0ac | /RayTracer/Color.h | 205f14262aab36e12bb5653d7dfb5684edcdd80e | [] | no_license | DatTVu/RayTracingDemo | 1dacfbc301c178b2fa9209a0ec4f03cdced9e21b | bef3a3d42a8c249434ac094fcba71d3ab6586596 | refs/heads/master | 2022-11-07T06:11:10.821687 | 2020-06-15T11:02:28 | 2020-06-15T11:02:28 | 272,233,246 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 345 | h | #ifndef COLOR_H
#define COLOR_H
#include "CVector3.h"
#include <iostream>
template<typename T>
void write_color(std::ostream& out, CVector3<T> pixelColor)
{
out << static_cast<int> (255.999 * pixelColor.x()) << ' '
<< static_cast<int> (255.999 * pixelColor.y()) << ' '
<< static_cast<int> (255.999 * pixelColor.z... | [
"dtvutrong1993@gmail.com"
] | dtvutrong1993@gmail.com |
889f35d36415091232745152f818173c4e955290 | 130d56db5e4e552922bdd4de887dda1d1d3827a7 | /Exploited Firmware/px4_sitl/src/lib/flight_tasks/FlightTasks_generated.cpp | 0e74f7b63bd00b3392b6369841c27ec8e1c2c9ac | [] | no_license | plushpluto/PX4-Malicious | 2028d6615ea0da2d6ebfd28c41821b3649736778 | 3db4ce3ecbfe6821043bb1dce6f651c4e606deb5 | refs/heads/master | 2023-07-01T10:20:01.551327 | 2021-08-15T13:19:16 | 2021-08-15T13:19:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,259 | cpp | /****************************************************************************
*
* Copyright (c) 2018 PX4 Development Team. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistri... | [
"korkeep@naver.com"
] | korkeep@naver.com |
d5a2a455323bf9f6c4cb26bdc696fe60419c1e4b | 50b3a207e0c5ec2f29b92a1d67d1a2883d352bb6 | /personal-financial-management-system/GeneratedFiles/Release/moc_SettingDialog.cpp | 22abbb7126a1349e7e65def93938011a34262a58 | [] | no_license | songquanpeng/recoder-example | c13cbca820a52548d9bd19aa5b1c1862173ecd85 | c2431cd33f316e1345d96b573858ed1c56ddef23 | refs/heads/master | 2022-12-25T23:08:44.908365 | 2019-04-14T04:54:05 | 2019-04-14T04:54:05 | 181,256,754 | 0 | 0 | null | 2020-10-02T02:32:08 | 2019-04-14T03:41:03 | C++ | UTF-8 | C++ | false | false | 3,642 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'SettingDialog.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.11.2)
**
** WARNING! All changes made in this file will be lost!
******************************************************... | [
"quanpengsong@gmail.com"
] | quanpengsong@gmail.com |
9a6c8d094a0971f4b223d0c830346779f5f73085 | 189f52bf5454e724d5acc97a2fa000ea54d0e102 | /ras/fluidisedBed/0.63/p_rgh | e1e2fc24d99d1a1ef43ebd5a20ce65e7add4b9aa | [] | no_license | pyotr777/openfoam_samples | 5399721dd2ef57545ffce68215d09c49ebfe749d | 79c70ac5795decff086dd16637d2d063fde6ed0d | refs/heads/master | 2021-01-12T16:52:18.126648 | 2016-11-05T08:30:29 | 2016-11-05T08:30:29 | 71,456,654 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 47,020 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1606+ |
... | [
"peterbryz@yahoo.com"
] | peterbryz@yahoo.com | |
7b6ac2266d0a4043053cfe50588836fb5a7dcaff | b95456c9e3f0e9d3c2dc9c6e49191ec2b24290d3 | /p2p_punch_client/client.cpp | 50d22d7e9fcdc3ff4edcbcab3a1a5055f038e4ce | [] | no_license | wuli133144/tar_thread_pool_test | 62ee22d29ffb8fa17742e1337bbc48ed35b5e366 | 9196d5759eb314acda09bc18f811b48313abec26 | refs/heads/master | 2020-03-18T05:43:24.329166 | 2018-05-25T08:27:10 | 2018-05-25T08:27:10 | 134,358,423 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,701 | cpp | #include <iostream>
#include <string>
#include <sstream>
#include <stdio.h>
#include <stdlib.h>
#include "tc_shared_ptr.h"
#include "tc_enable_shared_from_this.h"
#include "tc_clientsocket.h"
#include"tc_thread.h"
#include "tc_thread_mutex.h"
#include "tc_thread_cond.h"
#include "tc_thread_pool.h"
#include "tc_http.h... | [
"1683358846@qq.com"
] | 1683358846@qq.com |
a493921ea2ccbbed70b981179ab8ea19de47d266 | b531a935887f600493c86f11113bcfd82bd55677 | /Node.h | 3d267c7a6758ae1b4772ecefe72b15579b64e1ab | [] | no_license | nbotte/Erdos-Renyi_Random_Graph | ee8cd1ddec3c94837a9b5a9e3fefc6af0a8c908f | 492c300ee279d6a02268097f9a3c7b5b54fd18d7 | refs/heads/master | 2023-05-08T19:43:55.245978 | 2021-05-28T08:44:05 | 2021-05-28T08:44:05 | 296,559,623 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,220 | h | // Nina Botte -- Master thesis: Opinion dynamics on social networks with stubborn actors
#define _USE_MATH_DEFINES
#include <iomanip>
#include <iostream>
#include <list>
#include <vector>
using namespace std;
#ifndef NODE_H
#define NODE_H
class Node{
int _index; // declare index variable (= name of node)
l... | [
"nina.botte@ugent.be"
] | nina.botte@ugent.be |
2e06762db45aa2b1a5f77c73756e18f5a3b1ef7d | 424312a392a998d3cf9d9f5617cbad88f5e654cf | /Week2/poem.cpp | e0e8264fa880aece2ee9cc57ea193ddfc11026eb | [] | no_license | leviethung2103/C-InPractice | 71a79fc30a83ec48498d4d33832e6845f2dae483 | cb09008329173790cc08f23f65ac42d0c283e677 | refs/heads/main | 2023-05-29T14:08:28.633087 | 2021-06-14T17:38:51 | 2021-06-14T17:38:51 | 376,339,957 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 212 | cpp | #include<stdio.h>
#include<iostream>
#define PI 3.14159
int main(void)
{
int radius;
printf("Enter radius:");
scanf("%d", &radius);
printf("volume is : %lf \n\n", (4.0/3) *radius*radius*radius);
return 0;
}
| [
"hunglv@greenglobal.vn"
] | hunglv@greenglobal.vn |
ac5a5f76ab7729f5c1daf831f94e92cf973bde72 | b1ca290baa255e9939882e3711093a8ca0509687 | /261/Untitled1.cpp | 5fbe18f059cacbf9bd74172d7d6e266cfe564c02 | [] | no_license | ZeeshanAhmadKhalil/DevCpp | 26872a9059d683072c116169b4035ea6ae706c54 | c68c67f2972cbc6bca2691dd773a4bff62aa5889 | refs/heads/master | 2020-07-29T00:00:33.065937 | 2019-09-24T06:13:57 | 2019-09-24T06:13:57 | 209,585,282 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 245 | cpp | #include<iostream>
#include<conio.h>
using namespace std;
main()
{
int a;
cout<<"Enter a number"<<endl;
cin>>a;
if(a>0)
cout<<"Entered number +ive";
else if(a<0)
cout<<"Entered number -ive";
else if(a==0)
cout<<"Entered number zero";
}
| [
"mk1411997@gmail.com"
] | mk1411997@gmail.com |
b4893d289b215cd9255fe56f77d8d0b0250e4083 | 9584905cea9265068676f2e648f6eee7c016d998 | /MyLib/ipcserver.cpp | 8effe00f07d2af3cd4292dc2a8494704a0614bed | [
"MIT"
] | permissive | NuLL3rr0r/e-pooyasokhan.com | 43b65ae916596b7ab09257643cf250bcb65d1d8f | cf4b8cd0118a10bbecc4a1bb29c443385fa21e12 | refs/heads/master | 2020-12-31T01:11:16.690744 | 2006-07-20T19:30:00 | 2006-07-20T19:30:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,209 | cpp | #include <cassert>
#if defined ( _WIN32 )
#include <windows.h>
#else
#include <unistd.h>
#endif
#include <boost/algorithm/string.hpp>
#include <boost/format.hpp>
#include <boost/lexical_cast.hpp>
#include "ipcserver.hpp"
#include "compression.hpp"
#include "exception.hpp"
#include "ipcprotocol.hpp"
#include "ipcrespo... | [
"info@babaei.net"
] | info@babaei.net |
032476dbe8a8e75c157bfc97dc04a88de30c9b49 | a78cbb3413a46c8b75ed2d313b46fdd76fff091f | /src/mobius.atp/mobius.cvc3/cvc3-20090730/src/sat/cnf_manager.cpp | 8f71a5736612fc2bf404bad43b7b8feb9ddc8097 | [] | no_license | wellitongb/Mobius | 806258d483bd9b893312d7565661dadbf3f92cda | 4b16bae446ef5b91b65fd248a1d22ffd7db94771 | refs/heads/master | 2021-01-16T22:25:14.294886 | 2013-02-18T20:25:24 | 2013-02-18T20:25:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,486 | cpp | /*****************************************************************************/
/*!
*\file cnf_manager.cpp
*\brief Implementation of CNF_Manager
*
* Author: Clark Barrett
*
* Created: Thu Jan 5 02:30:02 2006
*
* <hr>
*
* License to use, copy, modify, sell and/or distribute this software
* and its documentat... | [
"jcharles@c6399e9c-662f-4285-9817-23cccad57800"
] | jcharles@c6399e9c-662f-4285-9817-23cccad57800 |
72d247bb1cc776152bef0711f0625da366ccb5c9 | 98819d62d5b7e901975bb01b34b38dbc3cb2f422 | /src/356_Line_Reflection.cpp | b060b115a5802e85c083f75ab83ed5b44a672511 | [] | no_license | Liuyi-Wang/LeetCode | 78666c34dd6de9fbed611fb7a53fb522fe823b7c | c4f86881cab16b09eafcad0745b59b334dae2ae5 | refs/heads/master | 2022-02-04T03:29:29.606869 | 2022-02-01T00:52:43 | 2022-02-01T00:52:43 | 196,485,970 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 798 | cpp | static int __ = []() {
std::ios::sync_with_stdio(false);
std::cin.tie(nullptr);
std::cout.tie(nullptr);
return 0;
}();
class Solution {
public:
bool isReflected(vector<vector<int>>& points) {
int xmin = INT_MAX, xmax = INT_MIN;
unordered_map<int, set<int>> hash;
for (int i = 0; i < poin... | [
"wangliuy@umich.edu"
] | wangliuy@umich.edu |
429cbacb8319159ee3463bb9b1644b9b15f56518 | bbefa0ddf88245ef60e83f3ca5c4722b63d6628d | /A_Dragons.cpp | 3f6d96184b97b4d318ffea50534421337323711b | [] | no_license | iumar28/CodeForces_Dynamic_a2oj_LAdder | 9a3fc790148c604442020dbbe6f6a77205d1a0c7 | 909233fff9d88fae40d0134c4044cacf4dfcc0b1 | refs/heads/main | 2023-05-28T18:59:31.108203 | 2021-06-16T06:24:20 | 2021-06-16T06:24:20 | 377,391,963 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 472 | cpp | #include<bits/stdc++.h>
using namespace std;
int main(){
int s,n;
bool ans=true;
cin>>s>>n;
vector<pair<int,int>> v;
while(n--){
int x,y;
cin>>x>>y;
v.emplace_back(make_pair(x,y));
}
sort(v.begin(),v.end());
for(auto x:v){
if(x.first<s)
... | [
"noreply@github.com"
] | iumar28.noreply@github.com |
761ef875e6a57a98baca92bc9b5ad21be7847a37 | 4388af6e39b93c54519342af46fca2678015ee00 | /evaluateReviews.cpp | 2ffed5a0070b7750702491774e414c24b0d42b88 | [] | no_license | lstanciel/Portfolio | 825d844dbaf639aef471e9bfb8f769a52c0002e2 | 283d5b2db84e36524a74982024be3142ab584352 | refs/heads/master | 2020-03-07T02:18:49.206740 | 2019-01-08T00:16:24 | 2019-01-08T00:16:24 | 127,205,565 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,700 | cpp | //Name:Lauren Stanciel
//Uniquename: stanciel, none
//UMID: 38206582
//Section: 035
//Date: 11/27/18
// Add any #includes for C++ libraries here.
// We have already included iostream as an example.
#include <iostream>
#include <fstream>
#include <string>
#include <vector>
// The #include adds all the function declarat... | [
"noreply@github.com"
] | lstanciel.noreply@github.com |
8223aa10cdd47205d8007f9b647940f4d9ee50a5 | 3744e9aa60e25d8a4b0853ab027ff18181c0832a | /src/support/alloc.h | 86c49d2f57f3532c0132486c691bacf090536423 | [
"Apache-2.0"
] | permissive | chicoxyzzy/binaryen | 03306b4e470aed8ca83b1b3a608f3d9120dd6da7 | 5f114452cd73fcad861660b2b715af726c925084 | refs/heads/master | 2023-07-13T09:15:25.681934 | 2019-01-09T21:05:08 | 2019-01-09T21:05:08 | 164,954,944 | 0 | 0 | null | 2019-01-09T23:33:08 | 2019-01-09T23:33:08 | null | UTF-8 | C++ | false | false | 1,384 | h | /*
* Copyright 2019 WebAssembly Community Group participants
*
* 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... | [
"noreply@github.com"
] | chicoxyzzy.noreply@github.com |
31ddc1cd82cc8907f9f123d42c2d3d9bcd986b2b | e0c83d000a60fbd867a2ea6d5e3d20967a69a48a | /thrift/compiler/test/fixtures/deprecated-public-fields/gen-cpp2/module_types.tcc | 5842d53624bedcc84c97a3f3882e5f72be042a82 | [
"Apache-2.0"
] | permissive | hstreamdb/fbthrift | 88d602d0fd1a446196631b466941a66c035f9db0 | ae94d87b23b18c5c6f97c5248563c7c49276b192 | refs/heads/master | 2023-09-02T12:52:26.363350 | 2021-07-15T02:47:46 | 2021-07-15T03:03:18 | 325,493,425 | 0 | 0 | Apache-2.0 | 2020-12-30T08:11:59 | 2020-12-30T08:11:59 | null | UTF-8 | C++ | false | false | 4,634 | tcc | /**
* Autogenerated by Thrift for src/module.thrift
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
#pragma once
#include "thrift/compiler/test/fixtures/deprecated-public-fields/gen-cpp2/module_types.h"
#include <thrift/lib/cpp2/gen/module_types_tcc.h>
namespace apache {
n... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
68c505f053cea82a40524996fc07d3501d473724 | 7b7e9918c9a50e9cb65339eda90400095244ae9f | /cartographer-master/cartographer/mapping/probability_values.cc | 8a7da4686ac3537fae244bb4bdb90a0f5dee0c08 | [
"Apache-2.0"
] | permissive | aemingma/OpenSLAM-Notes | 2e094940ab0c1794697341f9a821f07ae7fa292c | fb130c123035b939577544547f48213e1431947b | refs/heads/main | 2023-03-18T07:42:00.030753 | 2021-03-08T06:10:37 | 2021-03-08T06:10:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,592 | cc | /*
* Copyright 2016 The Cartographer 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... | [
"hust_linyicheng@qq.com"
] | hust_linyicheng@qq.com |
b0bbecc4814236da9ff19d0405a192abba0a1bbf | 7f9a0b0ec3a2f5b3ed88b88a99cfd704a6b33cb4 | /Graphics.cpp | cb07d820eaa7fe0cdcb01df56290c9c138bc6b57 | [
"MIT"
] | permissive | funnypolynomial/ArDSKYlite | 5acefe5ec5eb1e8abc274408e0a4a79ec92ebeb2 | 8550103e3e249769805fe02cf72057f162391de3 | refs/heads/master | 2020-11-24T04:35:03.537349 | 2020-08-03T06:45:34 | 2020-08-03T06:45:34 | 227,965,920 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,209 | cpp | #include <Arduino.h>
#include "Graphics.h"
extern Graphics grpahics;
void Graphics::DrawPanel(int x, int y)
{
// draw the panel surrounding lights and numbers
// outer
DrawRect(x, y, Config::PanelRectWidth, Config::PanelRectHeight, Config::PanelRectThickness, Config::ForegroundColour);
// inner
... | [
"noreply@github.com"
] | funnypolynomial.noreply@github.com |
86c97e8f0c35be4a8a4108788914b98294fc3b67 | c57819bebe1a3e1d305ae0cb869cdcc48c7181d1 | /src/qt/src/3rdparty/md4/md4.cpp | 94ac6adf58b106de8609fbe012f447e79aa1a2ea | [
"LGPL-2.1-only",
"Qt-LGPL-exception-1.1",
"LicenseRef-scancode-generic-exception",
"GPL-3.0-only",
"GPL-1.0-or-later",
"GFDL-1.3-only",
"BSD-3-Clause"
] | permissive | blowery/phantomjs | 255829570e90a28d1cd597192e20314578ef0276 | f929d2b04a29ff6c3c5b47cd08a8f741b1335c72 | refs/heads/master | 2023-04-08T01:22:35.426692 | 2012-10-11T17:43:24 | 2012-10-11T17:43:24 | 6,177,895 | 1 | 0 | BSD-3-Clause | 2023-04-03T23:09:40 | 2012-10-11T17:39:25 | C++ | UTF-8 | C++ | false | false | 6,583 | cpp | /*
* MD4 (RFC-1320) message digest.
* Modified from MD5 code by Andrey Panin <pazke@donpac.ru>
*
* Written by Solar Designer <solar@openwall.com> in 2001, and placed in
* the public domain. There's absolutely no warranty.
*
* This differs from Colin Plumb's older public domain implementation in
* that no 32-bi... | [
"ariya.hidayat@gmail.com"
] | ariya.hidayat@gmail.com |
8ab666cdc74f61fbd4d50c4cf0d0d0a7420ab897 | 5e2aec2f1a4066738cd962d7b44797eecd37fbbf | /liblonely/src/gamedata/LaylaPalettePatch.cpp | 2b5561d76d9d437fc0953cc31659235bde994ae7 | [] | no_license | suppertails66/lonely | 119dcc030104b5a603b561f49e83ae2c7bb06845 | 10cb7bc2cbad06e8c41fab7ed484d9ea5a938b8f | refs/heads/master | 2021-01-12T06:07:46.773284 | 2017-01-10T05:48:06 | 2017-01-10T05:48:06 | 77,306,625 | 6 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,077 | cpp | #include "gamedata/LaylaPalettePatch.h"
#include <iostream>
namespace Lonely {
LaylaPalettePatch::LaylaPalettePatch() {
for (int i = 0; i < NesPaletteQuad::size; i++) {
colorsEnabled_[i] = false;
}
}
bool LaylaPalettePatch::colorEnabled(int pos) const {
return colorsEnabled_[pos];
}
void LaylaPalettePa... | [
"suppertails66@gmail.com"
] | suppertails66@gmail.com |
94782f024fcca946ea12abdacbe4846babb6e2fc | c732e95f868dfe1b12760a11bab15c15216a27bf | /vendor/bela/src/belawin/pe/searcher.cc | ce51d3cd2558be69396c524eb89373cac38898ea | [
"MIT",
"Apache-2.0"
] | permissive | baulk/baulk | 9fb2414533297cbee62f13a46de5c8a0eb57b200 | a501b7a16f909b39724a8362dba868ca69f66602 | refs/heads/master | 2023-08-03T22:57:14.537212 | 2023-07-30T13:46:50 | 2023-07-30T13:46:50 | 245,962,600 | 354 | 42 | MIT | 2023-07-30T13:46:51 | 2020-03-09T06:44:10 | C | UTF-8 | C++ | false | false | 3,019 | cc | ///
#include <bela/path.hpp>
#include <bela/env.hpp>
#include "internal.hpp"
namespace bela::pe {
#ifdef _WIN64
constexpr bool IsWow64 = false;
#else
// 919, api-ms-win-core-wow64-l1-1-1.IsWow64Process2, IsWow64Process2, 919, 918
typedef BOOL(WINAPI *IsWow64Process2)(HANDLE hProcess, USHORT *pProcessMachine, USHORT *... | [
"charlieio@outlook.com"
] | charlieio@outlook.com |
b16674bb7a489ad4d56cdcd050f358b4510312bd | 57e2670ca718fc58f07b3a7b3fdce227f251083b | /p32_20200522/main.cpp | e3688c42427f9c355d14873a41269423325f7757 | [] | no_license | GarrettXUPT/C-_updata | e47eb5f0b457a9f3e1a3a5d5cf5ac9c5df7fab46 | b63f6bd74561148cc1aea44345d8df6baa1b42e8 | refs/heads/master | 2023-02-24T13:55:05.410691 | 2021-02-01T16:05:56 | 2021-02-01T16:05:56 | 266,094,788 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 10,636 | cpp | #include<iostream>
#include<string>
#include<vector>
using namespace std;
/*
一、直接内存管理
new出来的对象在堆上,new这种分配方式是动态分配(分配在堆上),直接内存管理,new delete
new和delete说明:
new和delete要成对使用,delete回收一块使用new分配的内存(释放内存),将内存重新归还给系统
若不是new出来的内存,不可以使用delete释放,否则就会报异常
new出来的内存,只能被delete一次,不可多次delete,重复释放也会引出异常;delete后,这... | [
"noreply@github.com"
] | GarrettXUPT.noreply@github.com |
c54a8c95fe1f6a4752ab8dd439d66298f9fc0c92 | 46aa7ba16b89466538ee3009911a218ab1a349dd | /ciu_practica101.ino | 5f4ab1e8e6c747b07871fb40db89a949d4bcd328 | [] | no_license | doramasma/ciu-practica10 | 0b1092ab313a6de8bcae799816213023117810b3 | bf90b7364a191fc8bdfb9b331b26ca9101006aa5 | refs/heads/master | 2022-05-23T21:30:24.500488 | 2020-04-26T16:35:37 | 2020-04-26T16:35:37 | 259,073,483 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 784 | ino | double tiempo;
double wave;
double sinMin;
double sinMax;
double freqMin;
double freqMax;
double output;
void setup()
{
//inicializamos el led
bool flag = 0;
pinMode(13, OUTPUT);
wave =0;
sinMin = -1;
sinMax = 1;
freqMin = 1.0/100.0;
freqMax = 1.0/1000.0;
Serial.begin(6900);
}
void loop()
{
... | [
"doramas6@hotmail.com"
] | doramas6@hotmail.com |
4e1927e5087e563dfb523f05e7aa6a71e44a1ffc | ae24b5b25f25a300bfa322575a1981efaab2ef0f | /lib/RFManager/RFManager.cpp | 766de7fba7af1da98e878aa304532e0bcb796496 | [] | no_license | ReikoR/mbed_mainboard_basketball_firmware | d17d64449aa8c5361de9089dc651303d7a057a39 | 631442bad8716b931b06c26d96c85b130dc93b84 | refs/heads/master | 2021-07-15T00:36:17.810630 | 2017-10-14T18:13:21 | 2017-10-14T18:13:21 | 106,945,479 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,716 | cpp | //#include <TARGET_LPC1768/cmsis.h>
#include "RFManager.h"
RFManager::RFManager(PinName txPinName, PinName rxPinName):
serial(txPinName, rxPinName), buf(64) {
messageAvailable = false;
receiveCounter = 0;
shortCommandsEnabled = false;
shortCommandLength = 5;
longCommandLength = 12;
com... | [
"reiko.randoja@gmail.com"
] | reiko.randoja@gmail.com |
770f2613304e50fa481edd8bd5e414b4ce32d4d1 | 6f05f7d5a67b6bb87956a22b988067ec772ba966 | /data/train/cpp/8e12cd99b6756f2a64d16819ce9f15466b6f6f76PlaceModelState.cpp | f504387ad72057472ba3ce168e65a4039e09155c | [
"MIT"
] | permissive | harshp8l/deep-learning-lang-detection | 93b6d24a38081597c610ecf9b1f3b92c7d669be5 | 2a54293181c1c2b1a2b840ddee4d4d80177efb33 | refs/heads/master | 2020-04-07T18:07:00.697994 | 2018-11-29T23:21:23 | 2018-11-29T23:21:23 | 158,597,498 | 0 | 0 | MIT | 2018-11-21T19:36:42 | 2018-11-21T19:36:41 | null | UTF-8 | C++ | false | false | 2,286 | cpp | #include "PlaceModelState.h"
#include "misc/helper.h"
#include "misc/windowsHead.h"
//
#include "render/math.h"
//
#include "model/EntityInstance.h"
//
#include "scene/Terrain.h"
#include "scene/SceneManager.h"
#include "scene/Chunk.h"
#include "scene/QuadNode.h"
//
#include "Global.h"
#include "misc/EventManager.h"
#i... | [
"aliostad+github@gmail.com"
] | aliostad+github@gmail.com |
165e9dfac475ce00f657411248947c8470cef7db | e34a8e4feb72688dc65ae1fb363421851bd1f798 | /inc/Logger.h | 2a6ba4f66f6ba5586ad82b09ca4a106677646f7c | [] | no_license | chaseweaver/Ultima | 51bf7cceae44613514afd33a49bd5606d2617641 | c401ec2651be2222400e2c7722bade25032fa8c1 | refs/heads/master | 2020-04-25T20:53:27.376564 | 2019-04-25T08:49:37 | 2019-04-25T08:49:37 | 173,063,609 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 744 | h | #ifndef LOGGER_H
#define LOGGER_H
#ifdef _MSC_VER
#pragma once
#endif
struct MASTER_CONTROL_BLOCK;
#include "MasterControlBlock.h"
#include "Pad.h"
#include "Queue.h"
#include <chrono>
#include <iostream>
using namespace std::chrono;
class Logger {
private:
struct LOG_DATA {
int task_id;
int task_state... | [
"chase.weaver34@gmail.com"
] | chase.weaver34@gmail.com |
3cf17f298d192dbd8687041c4e8b3956ef900179 | ba29e0bd4239c495510bb33245a8dcae48f9ddc2 | /2.add-two-numbers.cpp | 2ba96994271f1164cfc7363c9c36a7c9d1561a4e | [] | no_license | ahlijin/leetcode | e1ece43823b8f9049a976e2b9272dc5ab6ce1b04 | 7cf32ca472aca2be77a6374ac18df83461df5c2d | refs/heads/master | 2020-05-07T14:57:46.086648 | 2019-05-21T15:55:22 | 2019-05-21T15:55:22 | 180,616,295 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 778 | cpp | /**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ListNode(int x) : val(x), next(NULL) {}
* };
*/
class Solution {
public:
ListNode* addTwoNumbers(ListNode* l1, ListNode* l2) {
ListNode dummy(-1); //头节点
int carry = 0;
ListNode *prev = &dummy;
for(... | [
"ahlijin@163.com"
] | ahlijin@163.com |
2da3eb22d206cf1118cd96cb71eeac788dd1fbec | e0c050197d8ef449e976ecc098c280a613048d8c | /lab8izvjestaj/main.cpp | e119a9051b21977f8167bdad0a396472ed36ed03 | [] | no_license | josaban/izvjestaji_WiSe_2019_20 | 4c4b0adcb3cd6229df9d94124c41f824a3ce637f | 5926ffb70824d5b5b3e7e8440c15cda778090f8a | refs/heads/master | 2022-11-10T09:47:31.222544 | 2020-07-01T21:29:48 | 2020-07-01T21:29:48 | 259,847,879 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,251 | cpp | #include <Arduino.h>
#include <LowPower.h>
#include "main.h"
#include "Sensors.h"
#include "Radio_nRF.h"
SENSORS sensor;
RADIO radioNRF;
SensorData dataToSend;
StateType state = READ_SERIAL;
void setup()
{
Serial.begin(9600);
sensor.DHT_init();
sensor.BH1750_init();
/* ######################*/
RADIO::nRF_i... | [
"jsabic01@fesb.hr"
] | jsabic01@fesb.hr |
d4a16db1d546c5e7fa538801b1de90f2afe82972 | fd29422c46d2cdec69ec5c5a960e661ecdcf7692 | /Course Work/CG/rubiksss/RubiksCubeSolution/RubiksCube/Point2f.cpp | 5269a0891ff76bff6f40509af82595832b23f459 | [] | no_license | codechef34/Software-Engineering | 52a8e994e03036345b713f6ce94347e0cbd00251 | 213401d5382461fa3a85bad727a00f3650e208a8 | refs/heads/master | 2016-09-06T08:13:12.703773 | 2015-11-06T15:50:42 | 2015-11-06T15:50:42 | 42,978,546 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 100 | cpp | #include "StdAfx.h"
#include "Point2f.h"
Point2f::Point2f(void)
{
}
Point2f::~Point2f(void)
{
}
| [
"jayaachyuth34@gmail.com"
] | jayaachyuth34@gmail.com |
e38401e31d6f132f937f8a71d446761a5d743bd9 | f932ef47a98a3859892ec5429431ad56e1002f19 | /Print all Permutations of a String.cpp | 6c20631d330bdf4a4ae1af87e1dd8b68bf24e269 | [] | no_license | mahajanchirag/backtracking_ques | 35b852dd4f4b58a43380677bac266b3e50b916ed | 3cfe51e32488fce2d2b3f77373f7454a4cdd59d1 | refs/heads/main | 2023-07-13T23:57:37.224065 | 2021-08-24T22:45:32 | 2021-08-24T22:45:32 | 385,765,347 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 535 | cpp | //TC= n!*n
//SC= 1
class Solution{
public:
void permute(string &s, int i, vector<string>&ans ) {
if (i == s.size() - 1) {
ans.push_back(s);
return;
}
for (int j = i; j < s.size(); j++) {
swap(s[i], s[j]);
permute(s, i + 1, ans);
swap(s[i], s[j]... | [
"noreply@github.com"
] | mahajanchirag.noreply@github.com |
12b29ebfc71469d2d50444b213c7f9d25ace3d63 | 8b706c85755c7acbec4aed836fdfc4a3ba189187 | /Samples/QQDemo/inc/widget/WidgetWnd.h | d6fa3f1ed5d7c3c7953f577a6393e835dd5c642d | [] | no_license | cnsuhao/DM | 3a669d357c3017e650351d8bb1828eaea8499842 | 766c96a803b769387d11347bb682b15bd614ecd8 | refs/heads/master | 2021-06-11T18:28:56.219566 | 2017-02-09T14:26:25 | 2017-02-09T14:26:25 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,976 | h | //-------------------------------------------------------
// Copyright (c) DuiMagic
// All rights reserved.
//
// File Name: WidgetWnd.h
// File Des: 测试Widget的主窗口
// File Summary:
// Cur Version: 1.0
// Author:
// Create Data:
// History:
// <Author> <Time> <Version> <Des>
// guoyou 2015-4-20 1.0
//----... | [
"80718901@qq.com"
] | 80718901@qq.com |
7a33886be31caaf38b0ce24600a3c71db06eb9c9 | 155f53e338b99454f7e5976efd353f3f22d3285d | /PAT_Advanced_Level/1004. Counting Leaves.cpp | a1228240f67fcc7fa657fe1952668cc6cf24ae17 | [] | no_license | astronaut0131/PAT | cb196622bf4693573e8f57d5b85f2d6dde915561 | f6564d8fc81ab2b8bd8bdfc58b447b170eaf4005 | refs/heads/master | 2021-09-20T12:47:12.142564 | 2018-08-10T02:19:46 | 2018-08-10T02:19:46 | 115,731,374 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,057 | cpp | #include <stdio.h>
#include <vector>
#include <queue>
#include <algorithm>
using namespace std;
vector <int> v[105];
int leaf[105],level[105],maxlevel=-1;
void bfs(){
queue <int> Q;
Q.push(1);
level[1]=0;
while(!Q.empty()){
int temp=Q.front();
Q.pop();
maxlevel=max(maxlevel,level[temp]);
if(v... | [
"519537870@qq.com"
] | 519537870@qq.com |
f0efb1d33746129588b005c65cd60ed9eaed95eb | 173ec9eb4be06e60ff9a63db545c5fb889dc6ec9 | /samples/huawei-cg-renderframework-android-cpp-demo/app/src/main/cpp/source/OSRPlugin.cpp | 6738886c8fc86a37831de82f8e91359eb7cd7d04 | [
"Apache-2.0"
] | permissive | hometoned/hms-computer-graphics-demo | a575fbdebe28280a4093d738d09f54eefbd9e32f | 2e3ca62ed7d06f64ef3064799199cf36aab6b0f7 | refs/heads/master | 2023-02-03T16:22:47.991179 | 2020-12-21T03:24:52 | 2020-12-21T03:24:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,622 | cpp | /*
* Copyright (c) Huawei Technologies Co., Ltd. 2020-2020. All rights reserved.
* Description: A sample that illustrates the rendering of a demo scene.
*/
#define CGKIT_LOG
#include <thread>
#include <iostream>
#include <fstream>
#include <sstream>
#include "OSRPlugin.h"
using namespace std;
using namespace CGKit... | [
"1611872862@qq.com"
] | 1611872862@qq.com |
f8af29d64fe6243d60ed5e8e4928b8d8d8a4688f | 256c1e63fbe6454146d6bc9655415d43c52bf13c | /AdvancedLevel/1016PhoneBills.cpp | 2677bee3672fccf43f28739ee5391f718259f1da | [] | no_license | czyxm/PAT | c7d5a752d5fc0856da14b907a3c3b99397dd5dd6 | 0951d9a5c9bd8bd3e102f2f3772fc16e8a2b846c | refs/heads/master | 2021-06-17T19:38:34.202686 | 2021-04-19T12:56:06 | 2021-04-19T12:56:06 | 195,560,279 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,440 | cpp | #include<iostream>
#include<iomanip>
#include<string>
#include<vector>
#include<map>
#include<algorithm>
using namespace std;
//Structure node of record
typedef struct RecordNode
{
string time;
string type;
}* RNode;
//Structure node of call
typedef struct CallNode
{
string startTime;
string endTime;
... | [
"cmzyx@zju.edu.cn"
] | cmzyx@zju.edu.cn |
496552fafbd53e4751372e1288b330f54ffea874 | 33c7afff1e1e9a973c9d19f1da0a0158d26fc304 | /B4c/include/B4cEventAction.hh | 28260cbb7ae167caa2ec137ac6e12a8d7ab5876a | [] | no_license | patha325/NewSaRoMaN | e22bbc73ddaca0cf5600d1dc1d487de97c8f0109 | d9d345ae8e7b400b6ee978b83021edcb8acc925f | refs/heads/master | 2020-03-16T15:09:14.935029 | 2018-09-10T09:39:58 | 2018-09-10T09:39:58 | 132,730,091 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,385 | hh | //
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration... | [
"patrik.hallsjo@gmail.com"
] | patrik.hallsjo@gmail.com |
edecda7f6ad05477a6a1210e5b6b8257b25303b2 | adbc979313cbc1f0d42c79ac4206d42a8adb3234 | /Source Code/李沿橙 2017-10-3/competition/source/赣州市第一中学 林海波/trans.cpp | 1d4488b23b5b2a42a1e22d3a7ea8e6c80221ea52 | [] | no_license | UnnamedOrange/Contests | a7982c21e575d1342d28c57681a3c98f8afda6c0 | d593d56921d2cde0c473b3abedb419bef4cf3ba4 | refs/heads/master | 2018-10-22T02:26:51.952067 | 2018-07-21T09:32:29 | 2018-07-21T09:32:29 | 112,301,400 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 878 | cpp | #include <iostream>
#include <cstdio>
#include <cstring>
const int maxn = 1000010;
using namespace std;
int n, k;
char ch;
int flag = 0;
int a[maxn];
inline bool judge(int i);
inline bool change(int i);
int main()
{
freopen("trans.in", "r", stdin);
freopen("trans.out", "w", stdout);
while (cin >> n >> k)
{
f... | [
"lycheng1215@sina.com"
] | lycheng1215@sina.com |
749a0cda87ff8ef320f4529ca7edd46c9028552b | a2cdb99604aa5816a2a91925338b494b32a63958 | /psn_repo/x_simuA.cpp | ff11c025c8124ad5f61ade6a71fd30ab2b15a344 | [] | no_license | toshioeda/psn_git | 59ac4c4c036fe22ae423697e7a97a07d7ec57552 | a289ab342798c592e488623fc4cf2792b848f1f8 | refs/heads/master | 2020-12-13T17:23:05.728427 | 2017-06-29T07:31:49 | 2017-06-29T07:31:49 | 95,521,763 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 25,645 | cpp |
//------------------------------------------------------------------------------
//人を生成したり動かしたりするメイン関数です。
//------------------------------------------------------------------------------
//★ 人格を変えて観察するのに都合の良い変数です。
//● 人格設定項目です。
//
#include <Windows.h>
//
#include "x_functions.h" //個人の標準関数
#include "x_sim... | [
"toshioeda@gmail.com"
] | toshioeda@gmail.com |
d63b706999e58e7975e803c21d0890ca055c125e | 6c1356bf1347c2c6c965d7a48aaad2aa4f35798b | /basicDataStructer/Merge_Sort_Ascending.cpp | 9ad6f08574380fcb61471afa7b82621c0229fbf5 | [] | no_license | rahman-mush1311/DataStructer | 7f2033abdf4d095082115eef567ba61bdd1398bd | 5fb6fc5750be52806581ad832e0f69f3b9f67627 | refs/heads/master | 2022-05-10T11:00:48.411488 | 2019-05-28T10:59:11 | 2019-05-28T10:59:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,450 | cpp | #include <bits/stdc++.h>
using namespace std;
#define INF ((1<<31)-1)
void random_input(int a[], int n);
void print_array(int a[], int n);
void mergeSort(int a[], int p, int r);
void do_merge(int a[], int p, int q, int r);
int arr[1000];
int main()
{
int size;
cin >> size;
random_inp... | [
"noreply@github.com"
] | rahman-mush1311.noreply@github.com |
2d1eddc0e4c0d82662222f041ccb3f7c776a21c6 | 5fe209e8fb8891f0fa0981be60b724961a8ebf41 | /day14-1.cpp | 508b89136b702934bba253160b295e68d5c75873 | [] | no_license | Jluxcs/CPP_learning | b7d87fe1e1c98ea5f3f203d8db8c706a82d208bb | 9ec057ca6fc5000e3b126bcd49e269043dfcab17 | refs/heads/master | 2020-06-17T02:23:47.588776 | 2019-07-08T08:20:59 | 2019-07-08T08:20:59 | 195,767,170 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 419 | cpp | #include <iostream>
using namespace std;
int main(){
int year;
cin>> year;
if (year%4 == 0){
if (year%100 == 0){
if (year%400 == 0)
cout<< "The year "<< year<< "is 闰年。"<< endl;
else
cout<< "The year "<< year<< "is not 闰年。"<< endl;
}
else
cout<< "The year "<< year<< "is 闰年。"<< endl;
}
... | [
"852306873@qq.com"
] | 852306873@qq.com |
7750e6bab8fc0cb8ad129f299d4cdab8bc808d48 | d194ab7c428e44f0fa7f5706f864238d90dda2a8 | /inheritance_polymorphism_ch_17/fancyText.cpp | 887ead9361e9c290d78c5b43a7390322cb689989 | [] | no_license | Timothy-Kornish/cPlusPlus | 5396502ce2cc7c8268d258581384bf628c3cd870 | 561eed46064132bde1d437084cc621612e04059a | refs/heads/master | 2021-08-28T17:01:27.109436 | 2017-12-12T21:16:22 | 2017-12-12T21:16:22 | 108,751,412 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,517 | cpp | #include <string>
#include <iostream>
class Text {
std::string text;
public:
Text(const std::string& t): text(t) {}
virtual std::string get() const {
return text;
}
virtual void append(const std::string& extra) {
text += extra;
}
};
class FancyText: public Text {
std::string left_bracket;
s... | [
"TimmehK@Timothys-MacBook-Pro.local"
] | TimmehK@Timothys-MacBook-Pro.local |
3c3739d7eff9f12f5caafc2b10f196f9bb77823b | bd2139703c556050403c10857bde66f688cd9ee6 | /valhalla/144/webrev.00.1/src/hotspot/share/opto/subnode.cpp | 004bf06a5e886cfdb57e8a75fb9bb2732d0df028 | [] | no_license | isabella232/cr-archive | d03427e6fbc708403dd5882d36371e1b660ec1ac | 8a3c9ddcfacb32d1a65d7ca084921478362ec2d1 | refs/heads/master | 2023-02-01T17:33:44.383410 | 2020-12-17T13:47:48 | 2020-12-17T13:47:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 70,684 | cpp | /*
* Copyright (c) 1997, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | [
"erik.helin@oracle.com"
] | erik.helin@oracle.com |
65d098833f3638d793f050e65c1a9d99f46607cb | 4fcf2967da46f37c831b72b7b97f705d3364306d | /problems/acmicpc_26590.cpp | b387f48e075cd221638bc60a415894976c980e99 | [
"MIT"
] | permissive | qawbecrdtey/BOJ-sol | e2be11e60c3c19e88439665d586cb69234f2e5db | 249b988225a8b4f52d27c5f526d7c8d3f4de557c | refs/heads/master | 2023-08-03T15:04:50.837332 | 2023-07-30T08:25:58 | 2023-07-30T08:25:58 | 205,078,469 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 361 | cpp | #include <iostream>
#include <string>
#include <type_traits>
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(nullptr); cout.tie(nullptr);
string s[2]; cin >> s[0] >> s[1];
auto const len = min(s[0].size(), s[1].size());
for(remove_const_t<decltype(len)> i = 0; i < len; i+... | [
"qawbecrdtey@naver.com"
] | qawbecrdtey@naver.com |
13dec77c2c53fd7919afcc0aa891e53a6889b18c | 1e1a877949621fd6ae6353c4814f165b5e220388 | /GRAPH/cycleDetectionInUndirectedGraph.cpp | e9a6bc492bf0207e31c8150e181a5f7814abd0a3 | [] | no_license | aman212yadav/PRACTICE | b7f930fe010f72678e6bff9f2c98cf9a0c2c3fff | 1cd25d1e3d1436fa3ee0747c561f3982289fc6b7 | refs/heads/master | 2020-04-12T23:57:25.251011 | 2020-01-17T17:50:29 | 2020-01-17T17:50:29 | 162,834,586 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,102 | cpp | // cycle detection in undirected using BFS
#include<bits/stdc++.h>
using namespace std;
template<typename T>
class Graph
{
map<T,list<T> > g;
public:
Graph() {}
void addEdge(T a,T b,bool bidir=true)
{
g[a].push_back(b);
if(bidir==true)
{
g[b].push_back(a);
... | [
"noreply@github.com"
] | aman212yadav.noreply@github.com |
47366c52b301210cfb52cf849bfc73a10d3723c6 | 9b0d8bf0a4f598fec592b9ef0670567b5099985a | /Joe-Classes-Ex1/Joe-Classes-Ex1/Main.cpp | fe634d9014fb6953a0a1826fdafb8bb452192ae3 | [] | no_license | jyiouyim/mat-academy-exercises | bfd36b3a0ccc943a7e48ba76487e722318866889 | 206f9a767412de6c7a71f2d7b9798b4174f53714 | refs/heads/master | 2020-03-23T02:12:10.302693 | 2018-09-28T07:43:35 | 2018-09-28T07:43:35 | 140,961,940 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 745 | cpp | #include "3DVector.h"
#include <iostream>
#include <iomanip>
int main()
{
Vector v1(-2, 5, 4);
Vector v2(3, 7, 3);
Vector add = v1 + v2; //addition
std::cout << add << std::endl;
Vector sub = v1 - v2; //subtraction
std::cout << sub << std::endl;
Vector scalar = v1 * 3; //scale multiplication
std::cout << scala... | [
"kongjoe.yim@gmail.com"
] | kongjoe.yim@gmail.com |
c628f7ae96f85a52bcbb383251c0b2e4c3d58a34 | 8fdd2abae4f151c624d89b45eb11c5401dd02ee4 | /Classes/GameStartMenu.h | 7d10c0895595f633dc9793de209bb79e2d9f337e | [] | no_license | 619224202/CatchPK | 05a6f305ab172a716efd5a8dbf03ad5db09c4d26 | fb622678906640d43f645115ed5d38d42a786e34 | refs/heads/master | 2020-03-31T08:09:59.953396 | 2018-10-09T07:35:34 | 2018-10-09T07:35:34 | 152,048,523 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,706 | h | #ifndef _CCB_GAMESTARTMENU_H_
#define _CCB_GAMESTARTMENU_H_
#include "cocos2d.h"
#include "cocos-ext.h"
#include "GameControler.h"
class ccbGameStart
: public cocos2d::CCLayer
, public cocos2d::extension::CCBSelectorResolver
, public cocos2d::extension::CCBMemberVariableAssigner
, public cocos2d::extension::CCNod... | [
"619224202@qq.com"
] | 619224202@qq.com |
1457d76462ed4c4251d79c9c3cc03385a2cea3cd | 82ce8270ff35a7352bff32cd119ab74917ba5ec6 | /c++/pisicne2/D02/ex02/main.cpp | a8dfe2ed62b7eeee7410b285b78484ce56265181 | [] | no_license | bensisko69/projet_42 | d10fe8ea54b924e20a9aeb1e5afc3c0f20709992 | 007308c86fb8947ae25efda79ca614b6bf96a2f0 | refs/heads/master | 2021-01-10T14:11:34.069446 | 2015-12-04T14:51:43 | 2015-12-04T14:51:43 | 45,042,318 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,950 | cpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* main.cpp :+: :+: :+: ... | [
"lrenoud-@e1r11p12.42.fr"
] | lrenoud-@e1r11p12.42.fr |
e31342bd132eb3e0d7a0b149efc097868b405fa1 | 3e0f4bc5a2f415de77eeae08832e00c15fd1ee83 | /Fizzbuzz/main.cpp | 56aaaa22f4b30ca1e517742698df79467da40db8 | [] | no_license | AdhaarSharma/DSA | d70cc69e5753bc80eec82a5a35155b6945894ac9 | 83269fc530bb9f4524d16e3047ccd442c6088ee7 | refs/heads/main | 2023-07-02T09:32:46.278319 | 2021-08-05T12:34:43 | 2021-08-05T12:34:43 | 370,915,283 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 348 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
for(int i=1; i<101; i++){
if(i%15==0){
cout<<"fizzbuzz"<<endl;
}
else if(i%3==0){
cout<<"fizz"<<endl;
}
else if(i%5==0){
cout<<"buzz"<<endl;
}
else{
cout<... | [
"noreply@github.com"
] | AdhaarSharma.noreply@github.com |
f0a1b0df5487a47253a4cf8f95891ddd9d0e693b | 4c7f04313e055ff08de887d76007a4aa96377396 | /gazebo7_7.14.0_exercise/gazebo/gui/UserCmdHistory.cc | 2bf8bf6554109afbdabe11f9d15f48e877fcd921 | [
"Apache-2.0"
] | permissive | WalteR-MittY-pro/Gazebo-MPI | 8ef51f80b49bcf56510337fdb67f1d2f4b605275 | 6e3f702463e6ac2d59194aac1c8a9a37ef4d0153 | refs/heads/master | 2023-03-31T07:41:44.718326 | 2020-03-02T07:22:13 | 2020-03-02T07:22:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,127 | cc | /*
* Copyright (C) 2015 Open Source Robotics Foundation
*
* 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 appl... | [
"tjpu_zenglei@sina.com"
] | tjpu_zenglei@sina.com |
a92ab8266f4f0c76cfd006e70423acb60d80d249 | b6967a88a776ff1217471c73cf63ab67658c24fa | /CoppeliaSim_Edu_V4_1_0_Ubuntu18_04/programming/bluezero/examples/publisher_subscriber_multi/multi_subscriber.cpp | 1fd24dc79c1f4e20a9e138b41df94ac69e743c5f | [
"MIT",
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | YueErro/ModernRobotics | 35048b04571799a4c5237f48750a4c5f7041d4a7 | 82345c04157c1322b24553bf00abd1f2b03281a5 | refs/heads/master | 2020-08-12T20:02:30.933484 | 2020-07-29T19:55:39 | 2020-07-29T19:55:39 | 214,834,024 | 0 | 0 | MIT | 2019-10-13T14:24:01 | 2019-10-13T14:24:01 | null | UTF-8 | C++ | false | false | 1,331 | cpp | #include <b0/node.h>
#include <b0/subscriber.h>
#include <iostream>
/*! \example publisher_subscriber_multi/multi_subscriber.cpp
* This is an example of having multiple subscribers inside one node
*/
//! \cond HIDDEN_SYMBOLS
void callback1(const std::string &msg)
{
std::cout << "Received: " << msg << std::end... | [
"yue.trbj@gmail.com"
] | yue.trbj@gmail.com |
55c65ed892bd6a06db4770f909bdb77983be5d9b | c7e55b1f5c27f480c2e68918c587af7a2f9b1a2d | /sparse_matmul/os/coop_threads.cc | ece0995d4cf2d0a0f0f73170fb5977e08d7731b1 | [
"Apache-2.0"
] | permissive | kaisey1/google_lyra | 6abc8c9c08eb5a9f23c91d98c88ce02c1ba8d5eb | 4d759efcd7c79f8f5aa25714e971b353ea21d3f4 | refs/heads/main | 2023-06-10T06:36:14.574292 | 2021-06-28T16:38:41 | 2021-06-28T16:38:41 | 383,077,442 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,567 | cc | // Copyright 2021 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
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | [
"mchinen@google.com"
] | mchinen@google.com |
3841a741eff5f5f642bc7b5042492cbbed2a287f | 6aab4199ab2cab0b15d9af390a251f37802366ab | /common_audio/audio_converter_unittest.cc | 84d8f5568e00499712f3df588d378ba6e83b69ed | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-google-patent-license-webrtc",
"LicenseRef-scancode-google-patent-license-webm"
] | permissive | adwpc/webrtc | f288a600332e5883b2ca44492e02bea81e45b4fa | a30eb44013b8472ea6a042d7ed2909eb7346f9a8 | refs/heads/master | 2021-05-24T13:18:44.227242 | 2021-02-01T14:54:12 | 2021-02-01T14:54:12 | 174,692,051 | 0 | 0 | MIT | 2019-03-09T12:32:13 | 2019-03-09T12:32:13 | null | UTF-8 | C++ | false | false | 6,050 | cc | /*
* Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | [
"adwpc@hotmail.com"
] | adwpc@hotmail.com |
f8d587e231939c83e6954c630d73d168344182c2 | 6d9e14a8372269932a48b78b5de56d2e5215083d | /t3sqlview.cpp | 0fca9dc5f642d57c43dd788b277b7727007d3614 | [] | no_license | husi/t3 | 012278360616e18b0bc6bd057a81964f86c1231c | e491776bf2d6645f2de733aac6bee31d95bcf6bd | refs/heads/master | 2021-01-23T03:48:11.178174 | 2010-12-29T12:45:26 | 2010-12-29T12:45:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 977 | cpp | #include "t3sqlview.h"
#include <QFrame>
#include <QVBoxLayout>
#include <QHBoxLayout>
#include <QDebug>
t3SqlView::t3SqlView(QObject *parent_) :
t3DataViewBase(parent_)
{
_frame = new QFrame();
QHBoxLayout *toplayout = new QHBoxLayout;
_edit = new QLineEdit();
_button = new QPushButton("Quer... | [
"krisztian.notaisz@gmail.com"
] | krisztian.notaisz@gmail.com |
a3058ab8179b72bf21202afaeb2258500e0d3967 | 160506cbb73a6328fdd5d60c02bf0e305b966b08 | /gstar/Client/userFunction.h | 879c30dcb082e17e302563752fba81c936976596 | [] | no_license | paradiser/Gstar | 7938b0492f7d42e70408157b25a2dcb56c4782d5 | 7d341c343191a615984439b6303bfe73ecfbe4df | refs/heads/master | 2021-01-18T22:24:07.458062 | 2016-11-08T02:45:17 | 2016-11-08T02:45:17 | 72,499,182 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,177 | h | #ifndef USERFUNCTION_H
#define USERFUNCTION_H
#include <QMainWindow>
#include <QProcess>
#include <QCloseEvent>
namespace Ui {
class UserFunction;
}
class UserFunction : public QMainWindow
{
Q_OBJECT
public:
explicit UserFunction(QString serverName, QString passWord, QString ipAddress, QString userName, QSt... | [
"paradiser@ubuntu.ubuntu-domain"
] | paradiser@ubuntu.ubuntu-domain |
26dd06dd478a402c70dd3374df57ad77f6fce8a1 | 9d14214cc986ae372f5511cb5d45611cc91220b6 | /AVR/Encryption/DESclass.cpp | 0975f9c02b2c9f9622c6e1f3c447c468081860bc | [] | no_license | una1veritas/Workspace | 6849309b908810042756640e3b02ad6716c3dc9c | 32de11bec1755fdbe94885cd12688c3977c65d3a | refs/heads/master | 2023-08-31T05:58:16.708401 | 2023-08-24T07:11:36 | 2023-08-24T07:11:36 | 5,622,781 | 2 | 0 | null | 2017-09-04T11:31:25 | 2012-08-31T00:31:33 | C | WINDOWS-1250 | C++ | false | false | 12,254 | cpp | //=============================================================================
// Copyright Atmel Corporation 2003. All Rights Reserved.
//
// File: DES.cpp
// Compiler: Microsoft Visual C++ 6.0
// Output Size:
// Based on work by:ŘE, VU
// Created: 4-Feb-2003 JP (Atmel Finland)
// Modified:
//
// Supp... | [
"una.veritas@icloud.com"
] | una.veritas@icloud.com |
43159cd8b849345030a33b25fe351289ae64ed03 | 438a97371054c0f29410bd9c9bc4bd4ffa7738a4 | /USART2/AbstractHardware/Новая папка/USARTDriver.h | 83be225c2d6f2cfbaf47403de0ccdd35493a6697 | [] | no_license | Veka23/Laba_ | e78a4a3e25b4654bfe13bfac6fcd64cacce8db6c | 594621f73524597244a8fce401225394f77031ec | refs/heads/main | 2023-04-05T01:15:20.604817 | 2021-04-16T14:11:56 | 2021-04-16T14:11:56 | 358,620,858 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 427 | h | #pragma once
#include <array>
template<typename TUsart>
class USARTDriver
{
public:
void OnNextByteTransmit()
{
TUsart::WriteByte(TransmitBuffer[i]);
i++;
if (i < size)
{
TUsart::DisableTransmit();
i = 0U;
}
}
void SendMessage(std::uint8_t* message, size_t size)
{
}
... | [
"72262256+Veka23@users.noreply.github.com"
] | 72262256+Veka23@users.noreply.github.com |
cc11355ce1f25ebb7332dac923d4961b1e7212e7 | 921961c1ea86e27caca81370764cc217e6097c2a | /284.peekingIterator/peeking_iterator.cpp | 46bc469d849af45e30a5977b327d2943872c4dde | [] | no_license | naturaltruth/leetcode | b8f6b24afe4173c727a1c825441d3ce7308681b0 | f2dbd3d5f722842ede76f4eda57d7222e0f0760c | refs/heads/master | 2021-01-17T11:03:46.791097 | 2016-06-17T09:30:36 | 2016-06-17T09:30:36 | 28,713,494 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,913 | cpp | /***************************************************************************
*
* Copyright (c) 2015 zhoujin All Rights Reserved
* $Id: peeking_iterator.cpp,v 0.0 2015-09-23 星期三 15:08:41 zhoujin1 Exp $
*
***************************************************************************/
/**
* @file peeking_iterator.cpp
*... | [
"zhoujin@adsstory.com"
] | zhoujin@adsstory.com |
a9ce09dbbfe496df40250eb363c9f243d190429a | 6906eabfc757dac732ade7116cebaaa5f4befc46 | /onnxruntime/core/providers/coreml/builders/impl/concat_op_builder.cc | c5fb4a0dcf72fca7aae421891160815a71485508 | [
"MIT"
] | permissive | wschin/onnxruntime | 07d20e4a12eb51f4b4705ccc1f4f4ff7dde52844 | 06686002551d1b7242ae10386a05b2fc1833127e | refs/heads/master | 2022-11-08T17:19:14.213826 | 2022-10-10T05:32:33 | 2022-10-10T05:32:33 | 196,658,713 | 0 | 0 | MIT | 2019-07-12T23:50:18 | 2019-07-12T23:50:18 | null | UTF-8 | C++ | false | false | 3,322 | cc | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#include "core/providers/common.h"
#include "core/providers/shared/utils/utils.h"
#include "core/providers/coreml/builders/helper.h"
#include "core/providers/coreml/builders/op_builder_factory.h"
#ifdef __APPLE__
#include "... | [
"noreply@github.com"
] | wschin.noreply@github.com |
f7e323da02b3c006eb23239cd88a4e8543e8ab9c | 8567438779e6af0754620a25d379c348e4cd5a5d | /extensions/renderer/extension_frame_helper.h | 518e9ca48510fd5edeab686658f27449acf1ec90 | [
"BSD-3-Clause"
] | permissive | thngkaiyuan/chromium | c389ac4b50ccba28ee077cbf6115c41b547955ae | dab56a4a71f87f64ecc0044e97b4a8f247787a68 | refs/heads/master | 2022-11-10T02:50:29.326119 | 2017-04-08T12:28:57 | 2017-04-08T12:28:57 | 84,073,924 | 0 | 1 | BSD-3-Clause | 2022-10-25T19:47:15 | 2017-03-06T13:04:15 | null | UTF-8 | C++ | false | false | 5,975 | h | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef EXTENSIONS_RENDERER_EXTENSION_FRAME_HELPER_H_
#define EXTENSIONS_RENDERER_EXTENSION_FRAME_HELPER_H_
#include <vector>
#include "base/callback_fo... | [
"hedonist.ky@gmail.com"
] | hedonist.ky@gmail.com |
5db5296b7aa6ad6c4b066e4318039f436192d22b | 013dad21e759fd4e5c55bea93fccd6ddc30e8143 | /Player.h | 6e9cec380975c18daa6be3b65024b962fd1d508f | [] | no_license | Burhan-Khawaja/Mexicantrain | 2be34229c6a71a2d4eba744b10eefdee3ac44918 | b008e1d031a63087228d9604290950b7f408aa72 | refs/heads/main | 2023-08-07T03:08:44.697395 | 2021-09-28T23:00:24 | 2021-09-28T23:00:24 | 404,874,450 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 29,680 | h | #pragma once
#include "Train.h"
#include "Hand.h"
#include <iostream>
#include <string>
class Player {
public:
/* *********************************************************************
Function Name: Player
Purpose: Set default values of Player member variables.
Parameters: None
Return... | [
"noreply@github.com"
] | Burhan-Khawaja.noreply@github.com |
dcb1a3aa35b87dc2489e79078c6a97aa6afb566f | dc82aa7c48922d025d221abad79cc25cd75ddebb | /Repetitivas_02_3.cpp | dac2d88a2bfccac8a620505f0660a505a690f971 | [] | no_license | xnadal/ejerc | 14331a853c6f95201c906ac1b4855d115684aa2a | fd00e828ec94f76f7866dfc2625925ebbfc81fdd | refs/heads/master | 2021-01-23T16:36:59.661970 | 2013-06-13T20:42:47 | 2013-06-13T20:42:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,808 | cpp | // FECHA: 10/05/2013
// AUTOR:
// DESCRIPCIÓN:
// Muestra el funcionamiento de las sentencias repetitivas (0-n) y (1-n).
// y suma los contadores de las iteraciones (punto 2 de la practica)
// pide un numero en cada iteracion y lo va sumando al acumulado (punto 3)
//
// ENTRADAS: número de repeticiones (enteros). Nume... | [
"xnadal@yahoo.es"
] | xnadal@yahoo.es |
1f76a6aac6f97fd9601978abb2e3d4132196c451 | e6ff9c3f5f38cbf318543c2dd95f1678567cdfdc | /Exercises/Exercise 14/maze.cpp | 89edd2193fd70074e03d83098e91e6ffb83c8275 | [] | no_license | fmi-lab/up-2018-kn-group3-sem | 5167097d222d4c3223211a17a5a34d1f1cf71457 | 2e2f6bc576bffe9119c7848f21b4c0d40e82cf74 | refs/heads/master | 2020-04-01T23:12:18.147524 | 2019-01-18T12:14:09 | 2019-01-18T12:14:09 | 153,747,905 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,614 | cpp | #include<iostream>
#include<iomanip>
using namespace std;
int mazeM[8][8] = {
{0,1,0,0,0,1,0,0},
{0,1,0,0,0,1,0,0},
{0,1,0,0,1,1,1,1},
{0,1,0,1,0,0,0,0},
{0,1,0,1,1,1,0,0},
{0,0,0,0,0,0,0,0},
{0,1,0,1,1,1,0,1},
{0,1,0,1,1,0,0,0}
};
bool walkable(int maze[8][8], int X, int Y){
if(X<0 || Y<0 || X>7 || Y>7 || maze[X... | [
"penkov.dimit@gmail.com"
] | penkov.dimit@gmail.com |
515091f7fbabed07386966f3d851fa5fe2aac74a | cdf069f16596a61d39d51e739cc8454deb132b38 | /Game.cpp | ef40633872a2b875e678b7dcab5b9b5d9041e008 | [] | no_license | YutaTachibana0310/hackathon0729 | bfcb944d628fd3eaaaab80d242b18d10b190ba9a | b05f1324758351b4faafab2b28a5ddb650d51d27 | refs/heads/master | 2020-06-25T09:09:50.555342 | 2019-07-29T08:01:18 | 2019-07-29T08:01:18 | 199,267,811 | 0 | 0 | null | 2019-07-29T06:45:42 | 2019-07-28T09:32:36 | C++ | SHIFT_JIS | C++ | false | false | 6,276 | cpp | //=====================================
//
//ゲーム処理[Game.cpp]
//Author:GP12B332 21 立花雄太
//
//=====================================
#include "Game.h"
#include "input.h"
#include "light.h"
#include "camera.h"
#include "debugWindow.h"
#include "debugTimer.h"
#include "Framework\ResourceManager.h"
#include "Framework\IState... | [
"yuta.tachibana0310@gmail.com"
] | yuta.tachibana0310@gmail.com |
9c252d965c15789bfb5fc2b6b831674e0676e7e7 | 1f8886d09a8df3eabf42271fc5c9d4fb0def7760 | /Source/SpaceRTS/Gameplay/PlayerPawn.cpp | bf085512ba22d92916c264d89b72544031c3cc8a | [] | no_license | MarcelBlanck/SpaceRTS | d7406b6193475b7386ce8ccd0095fb379e01b89b | fc720cc0c396fa6b652e7e99c9b99932bda8090c | refs/heads/master | 2021-03-30T18:03:29.607047 | 2017-08-03T13:46:43 | 2017-08-03T13:46:43 | 36,312,671 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,665 | cpp | // Marcel Blanck 2015
#include "SpaceRTS.h"
#include "PlayerPawn.h"
#include "Interfaces/SelectableObject.h"
#include "Interfaces/PlayerControlledSpaceship.h"
#include "PaperFlipbook.h"
#include "Kismet/HeadMountedDisplayFunctionLibrary.h"
#include "Kismet/KismetSystemLibrary.h"
APlayerPawn::APlayerPawn(con... | [
"mail@marcel-blanck.de"
] | mail@marcel-blanck.de |
f64bd573887da573c3a9b5a95421c26c0f16c6ec | 4c626c943b6af56524c6599b64451722ee2e9629 | /entry_controller/sources/vlog_import/ec_vlog_design_unit_importer.hpp | bd14812ce4fcaddbceb07ddc086bee47e10242f7 | [] | no_license | kirillPshenychnyi/AEP | 96cec51a4c579b2430b8c93cace5e25003c64219 | 07d9f3deb47514043a8a1cb0c5ff6091737c3d47 | refs/heads/master | 2018-08-31T16:59:08.415648 | 2018-06-10T22:21:04 | 2018-06-10T22:21:04 | 117,731,321 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,878 | hpp | #ifndef __EC_VLOG_DESIGN_UNIT_IMPORTER_HPP__
#define __EC_VLOG_DESIGN_UNIT_IMPORTER_HPP__
/***************************************************************************/
#include "entry_controller\sources\vlog_import\ec_vlog_base_importer.hpp"
#include "vlog_data_model\ih\writable\vlog_dm_declarations_container.hpp"
/... | [
"pshenychnyi96@gmail.com"
] | pshenychnyi96@gmail.com |
b103f3fed7a1cff7da98c4578cd95331ae2a33d7 | b11c1346faff5041bf94d300e821448fbe2a18f2 | /01HelloWinRT/Debug/Generated Files/winrt/impl/Windows.Security.Authorization.AppCapabilityAccess.1.h | 3663b2871dba8720d7605cc37f8e29f81d03c39d | [] | no_license | ShiverZm/CxxWinRT_Learn | 72fb11742e992d1f60b86a0eab558ee2f244d8f1 | 66d1ec85500c5c8750f826ed1b6a2199f7b72bbe | refs/heads/main | 2023-01-19T12:09:59.872143 | 2020-11-29T16:15:54 | 2020-11-29T16:15:54 | 316,984,477 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,501 | h | // WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.190404.8
#ifndef WINRT_Windows_Security_Authorization_AppCapabilityAccess_1_H
#define WINRT_Windows_Security_Authorization_AppCapabilityAccess_1_H
#include "winrt/impl/Windows.Security.Authorization.AppCapabilityAccess.0.h"
namespace winrt::Wi... | [
"1113673178@qq.com"
] | 1113673178@qq.com |
e71b07de2e86f205c5e44b028dba74f076234c4f | ff61cc8596332ebed3bc21bd5d00e27bd3ebb0d4 | /engine/app3D/Device.cpp | e5a7d3706b15b618b3f88d80f345ac5be96ca501 | [
"MIT"
] | permissive | celestialkey/survival | 75815593c35266984855d6f60f4dbe86ebeb839a | ecb59af9fcbb35b9c28fd4fe29a4628f046165c8 | refs/heads/master | 2020-04-15T15:12:23.025140 | 2018-08-08T11:41:54 | 2018-08-08T11:41:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,290 | cpp | #include "Device.hpp"
#include "../util/DefDatabase.hpp"
#include "../util/AppTime.hpp"
#include "../util/Exception.hpp"
#include "../util/LogManager.hpp"
#include "../GUI/GUIManager.hpp"
#include "managers/EventManager.hpp"
#include "managers/PhysicsManager.hpp"
#include "managers/ShadersManager.hpp"
#include "manage... | [
"isonil11@gmail.com"
] | isonil11@gmail.com |
2ad440ad455514fea31ecb8ac10fe0e313f364d9 | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/squid/new_hunk_2875.cpp | 1feb7f8c20cdfd3bd249a1945bd254f840180cad | [] | 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,037 | cpp | storeAppendPrintf(&output, "Store Directory Statistics:\n");
storeAppendPrintf(&output, "Store Entries : %lu\n",
(unsigned long int)StoreEntry::inUseCount());
storeAppendPrintf(&output, "Maximum Swap Size : %"PRIu64" KB\n",
maxSize());
storeAppen... | [
"993273596@qq.com"
] | 993273596@qq.com |
0dcf920ad3e650a23f110b5db08e82f733f9516f | d5fdeaa6900f7bfc3aa7d3048fb803bb43b400a5 | /GCLDProject2/.svn/pristine/39/390acdc86d4e01c75116ec4204a2e67cef90d5ae.svn-base | a7deb3eef78e4a6a4bdc32a57d394a33a827520f | [] | no_license | liu-jack/cxx_sth | 52e1f0b190fe23fb16890cadd9efa15de59e70d0 | 986a0782d88405af83ae68ef124ff8cf19ada765 | refs/heads/master | 2020-05-07T13:53:03.555884 | 2017-11-17T02:26:55 | 2017-11-17T02:26:55 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 15,857 |
#include <sstream>
#include <algorithm>
#include <boost/bind.hpp>
#include <boost/function.hpp>
#include <boost/smart_ptr.hpp>
#include <boost/dynamic_bitset.hpp>
#include <boost/typeof/typeof.hpp>
#include "PlayerData.h"
#include "Logger.h"
#include "OS.h"
#include "def/MmoAssert.h"
#include "utility/Utility.h"
#in... | [
"zhoulunhao@hotmail.com"
] | zhoulunhao@hotmail.com | |
ef36b1345877cbcaca299cbb7855091258faba03 | e272d18a042e6b6808bc615917b1783d53607870 | /done/1144.cpp | 95f72c8dbac974eb9557d1eabb1259d1f9311bb4 | [] | no_license | chessdroid/morbidel-timus | 58656c7a62132aaae71289a20ee77baeca4ba554 | b079bf3ae716d4eeb54722037ac55066f9e9da7c | refs/heads/master | 2020-07-10T02:20:08.032088 | 2013-04-11T20:48:39 | 2013-04-11T20:48:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,876 | cpp | /*
* ACM Timus Online
* Emperor's Riddle - Problem 1144
*
* solutie: luate de pe forum si adaptata de Radu
* un greedy dubios... le sorteaza dupa marime...
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define NMAX 10000
#define MMAX 1000
#define INF 666666666
#define min(a, b... | [
"stefangh@gmail.com"
] | stefangh@gmail.com |
1c3dbf557ebfcfc824cb8cfe67690b8edcfdfe60 | 7121351ed278582278aa83dead9ce4a57ec790fd | /Modulo1/Practica6/Ejercicio4-5/Ejercicio4-5.ino | 271ef30ef6a135db7996596235dad006d7df0291 | [] | no_license | gma31096/Diplomado | 91dee24b113b8ca0bae91de3af51b3bf629fdc74 | a27ac7e7d199b24b03915e2b93f07ca76a79ddc6 | refs/heads/master | 2020-04-21T22:11:49.932122 | 2019-09-10T03:27:08 | 2019-09-10T03:27:08 | 169,903,002 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,399 | ino | /*--------------------Librerias------------------------------------*/
#include <Wire.h> //Libería para comunicación
#include <Adafruit_ADS1015.h> //Librería para los multiplexores
Adafruit_ADS1115 ads1(0x49);
Adafruit_ADS1115 ads0(0x48);
/*-------------------------------------------Variables para A Control PID------... | [
"gma31096@hotmail.com"
] | gma31096@hotmail.com |
451d6aaf33e0eb941d690baca8d83910f088b4e2 | 9dec5c1499388fdbda3669ef0c1f71fe11764a09 | /level6/section4.2b/exercise1/array.cpp | 0ac7b3ddafec5d231d72d3086f60901cff128819 | [] | no_license | lfamarantine/baruch_cpp_for_fe | de087762815af3f2105244093a86c7de2d1958d1 | 2bd6f5754a965cd0659db2145b76108c73623778 | refs/heads/master | 2023-05-10T15:38:06.082330 | 2021-06-14T09:14:36 | 2021-06-14T09:14:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,096 | cpp | // source file of array class
#ifndef _Array_CPP_
#define _Array_CPP_
#include "array.hpp"
#include "outofboundsexception.hpp"
#include <iostream>
using namespace std;
template <class T>
int Array<T>::default_size = 10; // set default size
// constructor
template <class T>
Array<T>::Array() : m_data(new T[default_... | [
"yxyoung128@gmail.com"
] | yxyoung128@gmail.com |
bee5291e2635dad6c40aa0d14aa55cbd90753b4c | a4dbc9207f14a855ae7c6d6984089a608590592c | /Homework 3/tree.cpp | f35c41b1015fef4a25e8f2d0dffe9548dd5248ab | [] | no_license | karthikr223/UCLA-CS32 | a82235e253d559f165ea473c9fc5351efb0a12f4 | d39f806282e923d7aca1f94d12f5edc8e9586530 | refs/heads/master | 2022-08-02T19:05:29.153492 | 2020-05-22T03:02:15 | 2020-05-22T03:02:15 | 266,004,492 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,997 | cpp | // Return the number of ways that all n2 elements of a2 appear
// in the n1 element array a1 in the same order (though not
// necessarily consecutively). The empty sequence appears in a
// sequence of length n1 in 1 way, even if n1 is 0.
// For example, if a1 is the 7 element array
// 10 50 40 20 50 40 30
// the... | [
"noreply@github.com"
] | karthikr223.noreply@github.com |
74987bbd1b949155c12af35bfa9a9e446f59382f | 0260ee4eb298e862b7385b2f7d7ce333be8595bb | /Gestion_Franquicias/clases/Factura.h | ee80b2fc736d75c997db7f36f2273ae44f69c992 | [] | no_license | walterstamm/Gestion-Restaurant | 8777d6af6260f14803b53cd752f25c57bb408b7d | e7e2a41f394f7e26efa85130231449c465f56c3c | refs/heads/master | 2023-02-16T02:45:24.639690 | 2020-12-31T00:57:14 | 2020-12-31T00:57:14 | 302,492,253 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,184 | h | #ifndef FACTURA_H_INCLUDED
#define FACTURA_H_INCLUDED
#include "Fecha.h"
#include "ui.h"
class Factura{
private:
int Nro_Fact;
Fecha Fecha_Factura;
int Nro_Cliente;
float Total_Pagar;
bool Estado;
public:
Factura();
~Factura();
void setFactura(in... | [
"64662305+HGOMEZ70@users.noreply.github.com"
] | 64662305+HGOMEZ70@users.noreply.github.com |
070c8b99a17e2d3f9747547bf4b5f1bd0b6e7abb | 9e15ab238833565cee000fe37f213e4fabceda1b | /hls/xilinx_design/examples/design/dsp/nco/nco_tb.cpp | 244d165d8684d6812e0e2c074b71feb126d30de9 | [] | no_license | Bounce00/fpga | 1d40989b4fed96c04f0c9304f20ba504f221f4ec | 6baf0ff8519cfa066978b68471d7a2f8d3270e17 | refs/heads/master | 2020-03-28T13:32:38.290566 | 2018-09-14T01:41:34 | 2018-09-14T01:41:34 | 148,403,665 | 0 | 0 | null | 2018-09-14T01:41:35 | 2018-09-12T01:35:38 | C++ | UTF-8 | C++ | false | false | 12,264 | cpp | /*****************************************************************************
*
* Author: Xilinx, Inc.
*
* This text contains proprietary, confidential information of
* Xilinx, Inc. , is distributed by under license from Xilinx,
* Inc., and may be used, copied and/or disclosed only pursuant to
*... | [
"Haijun.zhang@sigtrum.com"
] | Haijun.zhang@sigtrum.com |
21b7489ac43d29f174cfaf6aaa4602a9423b6a1e | d52d3a9f0afb4316532837a5786e487813374da2 | /apifmnc/FmncQArt1NStockitem.h | 54b0b087032735bf2589f8aa030126e8f3a28359 | [] | no_license | epsitech/fabmaniac | cf7fb7e2f8d0f0a3dd18585a3309d05d3ea622ac | 715f59ed8a80a1288119081210428fce51422d7e | refs/heads/master | 2021-01-21T04:25:33.463846 | 2016-08-07T19:25:59 | 2016-08-07T19:25:59 | 48,572,056 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,033 | h | /**
* \file FmncQArt1NStockitem.h
* API code for table TblFmncQArt1NStockitem (declarations)
* \author Alexander Wirthmueller
* \date created: 7 Mar 2016
* \date modified: 7 Mar 2016
*/
#ifndef FMNCQART1NSTOCKITEM_H
#define FMNCQART1NSTOCKITEM_H
#include <dartcore/Xmlio.h>
using namespace Xmlio;
/**
*... | [
"awirthm@gmail.com"
] | awirthm@gmail.com |
d377e814ae0a1a6afe2c0c32a425f8dadf95f92c | d84e34e0cff75b297353bdcb9c21fbca89e0692d | /src/theia/math/util.h | 0338596b6bc0e95051e288f3ec21d9bbd6a4a082 | [] | no_license | cvfish/TheiaSfM | 8593f8afe13fc599101cb507bd7f230b5300f6f5 | 54fddfc15fcecf663b3ce6673ed0c929d52ddb4d | refs/heads/master | 2021-01-17T06:59:18.941217 | 2015-07-01T00:28:57 | 2015-07-01T00:28:57 | 38,360,928 | 1 | 0 | null | 2015-07-01T09:03:02 | 2015-07-01T09:03:02 | null | UTF-8 | C++ | false | false | 2,413 | h | // Copyright (C) 2013 The Regents of the University of California (Regents).
// 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... | [
"cmsweeney@cs.ucsb.edu"
] | cmsweeney@cs.ucsb.edu |
c5deaaa5cf65d8aa1226c2cc531f53d6e21ece21 | 89c9874e66abad03f40ea1daed27ca682417e2d7 | /1051522 - hw12/TimeTable.h | c30b72566d34d23c779f0dce2d92850b1033c83a | [] | no_license | Doem/Programming-Homework | 10672ff8f75951cec469e5cb8b5d10ecfe44147d | e43ada8435fdf80595819f4cc0c5b6c113f072e6 | refs/heads/master | 2021-01-18T16:02:27.620518 | 2017-06-01T18:18:08 | 2017-06-01T18:18:08 | 86,707,454 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 971 | h | #ifndef NORTHBOUNDTIMETABLE_H
#define NORTHBOUNDTIMETABLE_H
#include "Train.h"
#include <vector>
#include <fstream>
#include <iostream>
using namespace std;
class TimeTable {
public:
TimeTable();
protected:
vector<Train> Northbound;
vector<Train> Southbound;
void loadTimeTable();
};
TimeTable::TimeTable() {
... | [
"aa0917954358@gmail.com"
] | aa0917954358@gmail.com |
a22ee3d5eca34de422af3e5dbd435a82a5f289dc | 34b77eec7101ed4a888c19e5c86ca30ecaa899c6 | /test/function/scalar/prod.cpp | 45d2498bf96f70dc464f43ede1b6137f688e44ce | [
"BSL-1.0"
] | permissive | superbobry/boost.simd | e4b8fda847cf6cba26f03253ec7f175637ab521c | ec25208be6b76d5c9207621a9e5dff7f15a8791d | refs/heads/develop | 2021-01-15T19:44:11.224619 | 2016-06-10T10:30:39 | 2016-06-10T10:30:39 | 60,840,174 | 0 | 0 | null | 2016-06-10T10:29:49 | 2016-06-10T10:29:49 | null | UTF-8 | C++ | false | false | 911 | cpp | //==================================================================================================
/*!
Copyright 2015 NumScale SAS
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
//====================================... | [
"charly.chevalier@numscale.com"
] | charly.chevalier@numscale.com |
1612a22be01013bf278900b67b098b92f9935fde | 0906a17563100fd3d2b0ae9b2359094393fe18fe | /libs.d/libchrono/inc/lchrono/chrono.h | 85889a0b09404cb0a2adc8e895de41cc85c24f38 | [
"MIT"
] | permissive | Rajesh-Sec-Project/simon | 7de4b80ceb515f8baeb21ee204add9955be8bc55 | d9e5ecd7aa35055ebfea20654e666d48901d7b76 | refs/heads/master | 2021-01-10T16:08:37.820630 | 2016-01-27T11:21:49 | 2016-01-27T11:21:49 | 43,967,449 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,492 | h | /*
* Copyright (c) 2016 Kadambari Melatur, Alexandre Monti, Rémi Saurel and Emma Vareilles
*
* 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 limita... | [
"r4.saurel@gmail.com"
] | r4.saurel@gmail.com |
a9afca636e02103b36d094089f721f6d0654dab3 | 48298469e7d828ab1aa54a419701c23afeeadce1 | /Client/SceneEdit/Xerces/src/xercesc/dom/DOMEntityReference.hpp | 2e244bb2a9d3a266f0f069f2502388692e99f15c | [
"Apache-2.0"
] | permissive | brock7/TianLong | c39fccb3fd2aa0ad42c9c4183d67a843ab2ce9c2 | 8142f9ccb118e76a5cd0a8b168bcf25e58e0be8b | refs/heads/master | 2021-01-10T14:19:19.850859 | 2016-02-20T13:58:55 | 2016-02-20T13:58:55 | 52,155,393 | 5 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 3,657 | hpp | #ifndef DOMEntityReference_HEADER_GUARD_
#define DOMEntityReference_HEADER_GUARD_
/*
* Copyright 2001-2002,2004 The Apache Software Foundation.
*
* 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 Lic... | [
"xiaowave@gmail.com"
] | xiaowave@gmail.com |
158512dc85061cd3f9d46ec1cf014274fa4ad0f3 | d77099bab5326a481121fd5ae88adc3f836571b1 | /src/0020.cpp | e0f50dd59ce6bce48e2039dd7d1200eb68037ef8 | [
"MIT"
] | permissive | downdemo/LeetCode-Solutions-in-Cpp17 | 8fecd00421a6a1b19b073afc5f2e836526327e7a | 7a46dfde1f72b1d88b6d84c1f1df09844b8b2ae4 | refs/heads/master | 2022-11-05T06:17:37.991884 | 2020-03-22T11:39:33 | 2022-10-03T08:23:19 | 249,170,691 | 58 | 24 | null | null | null | null | UTF-8 | C++ | false | false | 431 | cpp | class Solution {
public:
bool isValid(string s) {
stack<char> stk;
for (auto& x : s) {
if (x == '(' || x == '{' || x == '[') {
stk.emplace(x);
} else if (!empty(stk) && stk.top() == m.at(x)) {
stk.pop();
} else {
return false;
}
}
return empty(stk);
}... | [
"downdemo@qq.com"
] | downdemo@qq.com |
d1dee23f66ab1c083a0d5c8422dd78a193a2ba4b | 2cafd9d4168a18985e2466c3b167f5d214ed08f0 | /wxOpenCVProcessor.h | 63ccdca982090d0fce0ca09836a53b8ec394ab8f | [] | no_license | gysimrx/wxOpenCV | a61e88189cc162b439539641ea3c563d0bf3e079 | 0c0a7efbe5e97f4c43e3812877aa1e40a5497f97 | refs/heads/master | 2023-04-03T00:02:55.744521 | 2021-04-14T13:13:59 | 2021-04-14T13:13:59 | 327,242,822 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,583 | h | #ifndef WXOPENCVPROCESSOR_H
#define WXOPENCVPROCESSOR_H
#include <wx/wx.h>
#include <opencv2/opencv.hpp>
#include <mutex>
#include <queue>
class wxOpenCVPanel;
class wxOpenCVProcessorInterface
{
public:
virtual void init() = 0;
virtual void uninit() = 0;
virtual void process(cv::Mat &img) = 0;
vir... | [
"MGY@COMLAB.local"
] | MGY@COMLAB.local |
cac82040217ea4bda34ca8d60eefc42517415c26 | 1698d9fe279b922d7881f8d8a68379df7e18b052 | /graph3/Traffic Network/src/Traffic Network.cpp | 1779d29017d4361640b9e5299f1d4ffa889a8951 | [] | no_license | MonicaSalama/Algorithms | 053b9f4cb82fdb19436caebd67ea48c414ede8fd | efa4f2079da15f5ddc9550dbefe59f93d4fc42d5 | refs/heads/master | 2020-06-26T19:15:47.974400 | 2016-09-16T22:43:32 | 2016-09-16T22:43:32 | 67,788,510 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,427 | cpp | //============================================================================
// Name : Traffic.cpp
// Author :
// Version :
// Copyright : Your copyright notice
// Description : http://www.spoj.com/problems/TRAFFICN/
//============================================================================
#i... | [
"monicasalama6@gmail.com"
] | monicasalama6@gmail.com |
572be55df24dfe4d379f02c09d92a6139d2562d5 | 25b24bc71defc150a0029610f86c4cae52422191 | /From Spring/HW1/GLSLExperiment/NS_backup.cpp | ef233854581d676f037782f536eea8dfd41081fc | [] | no_license | nsujumnong/CS543-Fall18 | a76234101c649debb12edb1b6055a5bb06291726 | 3f5bd21ccea5799c9337720550bd9fa04debe7d3 | refs/heads/master | 2021-09-27T19:15:10.157081 | 2018-11-10T20:48:07 | 2018-11-10T20:48:07 | 154,762,346 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,300 | cpp | // This is a modified code based on OpenGL starter code
// Homework 1: Nuttaworn Sujumnong
// Sierpinski Gasket code based on: Interactive Computer Graphics 6th edition
// Koch Snowflake code based on: Computer Graphics using OpenGL 2nd edition
#include "Angel.h"
#include <GL/glew.h>
#include <glut.h>
#include <stdl... | [
"nsujumnong@wpi.edu"
] | nsujumnong@wpi.edu |
6863a3f79264200f065fcec89662a0590204a671 | 179e89f7ad6b4aea33e17e10471d8a4015a9c592 | /unittests/testAdjointCamera.cpp | 6f94c021282ea4c79c047ff266bb4227cea6250f | [] | no_license | xeTaiz/DiffDVR | 6179f3c8a4849f72ebe179abac5ad95b66c5dd5a | 3db2c17d7c28b432c78d547f7555c7b5aacf1ff5 | refs/heads/master | 2023-06-18T07:55:27.051067 | 2021-07-19T09:44:48 | 2021-07-19T09:44:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,282 | cpp | #include <catch.hpp>
#include <Eigen/Core>
#include <random>
#include "check_adjoint.h"
#include "test_utils.h"
#include "renderer_blending.cuh"
static void testAdjointCamera()
{
typedef empty TmpStorage_t;
typedef VectorXr Vector_t;
static int numSteps = 10;
static const real3 boxMin = make_real3(-0.2f, -0.3f, ... | [
"sebastian13.weiss@tum.de"
] | sebastian13.weiss@tum.de |
5fdd9b3815ea0e8530d47c8b124da6c203ad6d25 | 81c2fdde96dae39389b50b3f23e94f69c3af06db | /opengl-examples-master/lib/camcontrol-orientsensor.cpp | 2b3d44d9f2d14121994463b5db6bc9f7a99509f7 | [
"BSD-3-Clause"
] | permissive | Animal211/Graphics-OpenGL | 1d9f3c50f9437da03bdba40eec6493bfbdf520d4 | 6944cb06f9a0af17b09e55b3694f4d1a5f7badab | refs/heads/master | 2021-03-22T08:29:12.568488 | 2020-03-14T20:26:23 | 2020-03-14T20:26:23 | 247,348,295 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,969 | cpp | #include <stdlib.h>
#include "kuhl-util.h"
#include "camcontrol-orientsensor.h"
#include "vecmat.h"
#include "orient-sensor.h"
camcontrolOrientSensor::camcontrolOrientSensor(dispmode *currentDisplayMode, const float initialPos[3])
:camcontrol(currentDisplayMode)
{
vec3f_copy(position, initialPos);
int orientSenso... | [
"jrmcneil@mtu.edu"
] | jrmcneil@mtu.edu |
f27c5d56fe337743def6c747c3b64eb938213eba | 87d1f9d88a204b2cf7748491aa4b10c909984966 | /include/openeaagles/sensors/sensorsFF.h | 48df98e8e61f83e536e40a590a5ae0c95b76f0ae | [] | no_license | yaroslav-tarasov/OpenEaagles | 2c9e683cdf9d191c07daf53e444a7aabb487dfcb | 8551df88bebab03a6cdaed8649cfed91d7f4ad19 | refs/heads/master | 2021-01-17T06:33:29.753917 | 2015-04-06T18:23:15 | 2015-04-06T18:23:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 461 | h | //------------------------------------------------------------------------------
// Form function for the default 'sensors' library
//------------------------------------------------------------------------------
#ifndef __Eaagles_Sensor_FormFunc_H__
#define __Eaagles_Sensor_FormFunc_H__
namespace Eaagles {
... | [
"doug@openeaagles.org"
] | doug@openeaagles.org |
d1b85a164cc16db808b49b5ccc663ce775ec3412 | 6247777e38b1015b848c177b9b43d9ab4123cca8 | /gecode/int/circuit.cpp | 29f79840ead009102e251367b7f71200676c4854 | [
"MIT"
] | permissive | feserafim/gecode | f8287439e74cb168c7a7c7fdbb78103a4fec5b9b | 760bf24f1fecd2f261f6e9c1391e80467015fdf4 | refs/heads/master | 2021-01-11T16:05:54.829564 | 2012-06-16T17:17:38 | 2012-06-16T17:17:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,244 | cpp | /* -*- mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- */
/*
* Main authors:
* Christian Schulte <schulte@gecode.org>
* Guido Tack <tack@gecode.org>
*
* Copyright:
* Christian Schulte, 2006
* Guido Tack, 2011
*
* Last modified:
* $Date: 2011-06-02 01:12:15 +0900 (木, 02 6 2011) $... | [
"kenhys@gmail.com"
] | kenhys@gmail.com |
11909fa015dea1e7272e98333b11f4a332797ef5 | f81b774e5306ac01d2c6c1289d9e01b5264aae70 | /chrome/browser/ui/webui/nearby_share/nearby_share_dialog_ui.cc | 147c7a9224d66dc13f9d0a6f242c97962f35305a | [
"BSD-3-Clause"
] | permissive | waaberi/chromium | a4015160d8460233b33fe1304e8fd9960a3650a9 | 6549065bd785179608f7b8828da403f3ca5f7aab | refs/heads/master | 2022-12-13T03:09:16.887475 | 2020-09-05T20:29:36 | 2020-09-05T20:29:36 | 293,153,821 | 1 | 1 | BSD-3-Clause | 2020-09-05T21:02:50 | 2020-09-05T21:02:49 | null | UTF-8 | C++ | false | false | 4,063 | cc | // Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/webui/nearby_share/nearby_share_dialog_ui.h"
#include <string>
#include "chrome/browser/nearby_sharing/nearby_per_session_di... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
a439f0569c161bcc60582b41985d8e44540f35a6 | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/squid/hunk_3484.cpp | e955aa6193aed037df7228a31280ed8210d6c36b | [] | 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 | 378 | cpp | i ? (1 << (i - 1)) + 1 : 1,
1 << i,
IOStats.Gopher.read_hist[i],
- percent(IOStats.Gopher.read_hist[i], IOStats.Gopher.reads));
+ Math::intPercent(IOStats.Gopher.read_hist[i], IOStats.Gophe... | [
"993273596@qq.com"
] | 993273596@qq.com |
ac8d56cedfdd3b4fefd63670d60992e18458a599 | 2f557f60fc609c03fbb42badf2c4f41ef2e60227 | /CondFormats/EcalObjects/src/EcalTPGWeightIdMap.cc | 3f4ffabbd8c3fe6b5e54b6dfadca205ddd0d82cb | [
"Apache-2.0"
] | permissive | CMS-TMTT/cmssw | 91d70fc40a7110832a2ceb2dc08c15b5a299bd3b | 80cb3a25c0d63594fe6455b837f7c3cbe3cf42d7 | refs/heads/TMTT_1060 | 2020-03-24T07:49:39.440996 | 2020-03-04T17:21:36 | 2020-03-04T17:21:36 | 142,576,342 | 3 | 5 | Apache-2.0 | 2019-12-05T21:16:34 | 2018-07-27T12:48:13 | C++ | UTF-8 | C++ | false | false | 274 | cc | #include "CondFormats/EcalObjects/interface/EcalTPGWeightIdMap.h"
EcalTPGWeightIdMap::EcalTPGWeightIdMap()
{ }
EcalTPGWeightIdMap::~EcalTPGWeightIdMap()
{ }
void EcalTPGWeightIdMap::setValue(const uint32_t & id, const EcalTPGWeights & value)
{
map_[id] = value ;
}
| [
"giulio.eulisse@gmail.com"
] | giulio.eulisse@gmail.com |
c4fd233fd1cfb9eb5cb2dfcbd575bc6bf894b78e | 155164f515806dd0aaae51566bd1ea7728376e5e | /3DBallGame/Classes/Native/Bulk_mscorlib_3.cpp | e81f76fe982650e892e34b3804c008ed5676935a | [] | no_license | tomonoriTAKA/3DBallGame | 15a2dd5382a0af07f09736d5f4513911c983256d | 83c5362e36cb4fa97032bbf2f241e64e818158ea | refs/heads/master | 2021-01-23T03:59:11.573014 | 2017-03-26T01:50:52 | 2017-03-26T01:50:52 | 86,139,112 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 991,371 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
// System.OverflowException
struct OverflowException_t1075868493;
// System.String
struct String_t;
// S... | [
"tomonori0204.takahashi@gmail.com"
] | tomonori0204.takahashi@gmail.com |
4ac882ede6ca8ebf906619b1364d985aad28ca56 | 893c6744b6d76102241811d5f2de702b7d7e1489 | /src/Hardware/UTFT.cpp | cb79b66858b72530c797de89c7cbd7cbc2d035d9 | [] | no_license | chandler767/FusionPanel-OLD | 89916583a44665b30ea5bd8a08a292be25e2f5fa | c26db8239a7370c8d71f8830fa1de3b45e631add | refs/heads/master | 2021-08-07T19:02:58.583494 | 2017-11-08T19:22:21 | 2017-11-08T19:22:21 | 63,447,905 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 57,999 | cpp | /*
UTFT.cpp - Arduino/chipKit library support for Color TFT LCD Boards
Copyright (C)2010-2012 Henning Karlsen. All right reserved
This library is the continuation of my ITDB02_Graph, ITDB02_Graph16
and RGB_GLCD libraries for Arduino and chipKit. As the number of
supported display modules and controllers s... | [
"chandler@chandlermayo.com"
] | chandler@chandlermayo.com |
19797b7b0be4f33873ad7e87dd591144f976abf7 | a92b18defb50c5d1118a11bc364f17b148312028 | /src/prod/src/ServiceModel/ApplicationIdentifier.cpp | b985d9b6f8b97b13adc2deffc1f663fec0bf299c | [
"MIT"
] | permissive | KDSBest/service-fabric | 34694e150fde662286e25f048fb763c97606382e | fe61c45b15a30fb089ad891c68c893b3a976e404 | refs/heads/master | 2023-01-28T23:19:25.040275 | 2020-11-30T11:11:58 | 2020-11-30T11:11:58 | 301,365,601 | 1 | 0 | MIT | 2020-11-30T11:11:59 | 2020-10-05T10:05:53 | null | UTF-8 | C++ | false | false | 6,547 | cpp | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
#include "stdafx.h"
using nam... | [
"noreply-sfteam@microsoft.com"
] | noreply-sfteam@microsoft.com |
a3b9aa6907d4e3ced1d1aeee03340c3b1f5fe94c | c4542b53f274c48fc8571656fdb0711889902681 | /test_case/50.4676134421789371/turbDiffMean | 25c41997c038c78ddb117683d474b8efbd595e47 | [
"MIT"
] | permissive | kakkapriyesh/Turbulence-flow-and-heat-budgets-in-OpenFOAM | e97f8ee5780bc8ff47c72e5189c21d612e70a105 | 94fef0cb4e09172f7532fbcf7a715095ed81e128 | refs/heads/main | 2023-04-15T23:24:11.392585 | 2022-12-22T02:16:10 | 2022-12-22T02:16:10 | 368,479,876 | 7 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,347,188 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 5.0 |
... | [
"kakkapriyesh199417@gmail.com"
] | kakkapriyesh199417@gmail.com | |
e92d47b3eea17ecc71498d2f01f6edd0ff3d2fd7 | 255ad6034144189e9aaff860f8580386aefa075f | /PRT_/HDRLoader.cpp | bfde1e7a7d3a7fd060d40c809d8737f83f55d3bb | [] | no_license | BigHeadJaeger/PRT_ | 69b022aecf47ef5e1696eb889566d219391b58c6 | d23b3c12043dbe3863297dedfde29e99d81c2a55 | refs/heads/master | 2020-05-03T21:40:00.584433 | 2019-04-01T09:18:35 | 2019-04-01T09:18:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,353 | cpp | /*
*
* Copyright (C) 2004 Mekensleep
*
* Mekensleep
* 24 rue vieille du temple
* 75004 Paris
* licensing@mekensleep.com
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; ei... | [
"46146249+shiinayuika@users.noreply.github.com"
] | 46146249+shiinayuika@users.noreply.github.com |
12aae5afd5f0c187fb30d3a3506489aecf6e8785 | 786de89be635eb21295070a6a3452f3a7fe6712c | /hdf5pp/tags/V00-00-05/test/hdf5_type_info.cpp | 7eadbe5fefa69ee00c8844582afb9549fcd98214 | [] | no_license | connectthefuture/psdmrepo | 85267cfe8d54564f99e17035efe931077c8f7a37 | f32870a987a7493e7bf0f0a5c1712a5a030ef199 | refs/heads/master | 2021-01-13T03:26:35.494026 | 2015-09-03T22:22:11 | 2015-09-03T22:22:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,613 | cpp | //--------------------------------------------------------------------------
// File and Version Information:
// $Id$
//
// Description:
// Class hdf5_type_info...
//
// Author List:
// Andrei Salnikov
//
//------------------------------------------------------------------------
#include "Lusi/Lusi.h"
//--------... | [
"salnikov@b967ad99-d558-0410-b138-e0f6c56caec7"
] | salnikov@b967ad99-d558-0410-b138-e0f6c56caec7 |
2dd57090935752a77222f84812a517bde11a2d8a | e5bb4da760de6ea21285f7bc27863f3ee8641a1f | /ch21/fig13_21/Fig13_21.cpp | 9cbdf95581628d99598287bf868dd4960b63eeab | [] | no_license | netdevmike/Introduction-to-programming | acbce305f2d21879526de81eafd646cf9b685c42 | 0a88f41a76673fdcac72801d8c8891cc22e8b348 | refs/heads/main | 2023-07-29T02:41:39.082979 | 2021-09-10T04:36:06 | 2021-09-10T04:36:06 | 330,465,070 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,226 | cpp | // Fig. 13.21: fig13_21.cpp
// flags member function.
#include <iostream>
using namespace std;
int main()
{
int integerValue = 1000;
double doubleValue = 0.0947628;
// display flags value, int and double values (original format)
cout << "The value of the flags variable is: " << cout.flags()
<< "\nP... | [
"66533339+Michael-Charara@users.noreply.github.com"
] | 66533339+Michael-Charara@users.noreply.github.com |
940fdafe4750bd7a098e35417ffe402e4887eb8b | 75e777b03684d3652dcff97ee46d5953840f940c | /picker.cpp | 5fee01733c2f2f5818a10fb6329ab2730fd27ec8 | [
"BSD-2-Clause"
] | permissive | montaguegabe/dual-contouring-engine | 233a7bd1a6b08822f3825b4cceeef410e4c0d931 | 440fa95e070863e8f0b1c4b685fe5be797324be6 | refs/heads/master | 2021-08-31T16:39:24.625334 | 2017-12-22T03:41:03 | 2017-12-22T03:41:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,791 | cpp | #ifndef __MAC__
# include <GL/glew.h>
#endif
#include "uniforms.h"
#include "picker.h"
using namespace std;
Picker::Picker(const RigTForm& initialRbt, Uniforms& uniforms)
: drawer_(initialRbt, uniforms)
, idCounter_(0)
, srgbFrameBuffer_(!g_Gl2Compatible) {}
bool Picker::visit(SgTransformNode& node) {
node... | [
"gmontague@college.harvard.edu"
] | gmontague@college.harvard.edu |
4ea77fa9ef6a223def7638b62c646c8dced01478 | 9a4b62f70fe859dc5ff30191a131395f336d67a1 | /ResourceUtils.h | 931726b7cc0ac6740c6d7eac1d32b531e8ed8c8b | [] | no_license | gix/glitch | 93882714c3911d3d0fbe0e4b6118f84041057b28 | ea5eda3e41800f2f276fc1c7e3b2265352052b35 | refs/heads/master | 2022-10-21T07:22:43.870610 | 2020-06-08T06:07:45 | 2020-06-08T06:07:45 | 270,550,561 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 434 | h | #pragma once
#include "Span.h"
#include <Windows.h>
namespace gt
{
cspan<std::byte> GetModuleResource(HMODULE module, wchar_t const* type,
wchar_t const* name) noexcept;
inline cspan<std::byte> GetModuleResource(wchar_t const* type,
... | [
"nico.rieck@gmail.com"
] | nico.rieck@gmail.com |
ee1be003aedf5e9eccf3306306015191206d1976 | c945d1901ed99649432e553768d476b8e53cbcf2 | /computer_science/235-data_structures_and_algorithms/workspace/Lab7/To Students/Student_Code/Mimic.h | a00378e1773b4a4a70459167a3633110e51f3be3 | [] | no_license | misterpink14/byu_course_work | a0d0909efbc00862d380ba3b271293577ace8cb2 | 5cdd1c580971d0c304a57956543b20681a135f72 | refs/heads/master | 2021-06-19T00:05:30.820383 | 2017-04-30T20:05:25 | 2017-04-30T20:05:25 | 68,180,953 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,723 | h | /*
* Mimic.h
*
* Created on: Jun 10, 2014
* Author: misterpink14
*/
#ifndef MIMIC_H_
#define MIMIC_H_
#include "MimicInterface.h"
#include <sstream>
#include <cstdlib>
#include <ctime>
class Mimic : public MimicInterface
{
private:
struct Node
{
string key;
vector<string> value;
Node* next;
N... | [
"benthompson@Benjamins-MacBook.local"
] | benthompson@Benjamins-MacBook.local |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.