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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9f4b0fd603bdfd61b7aa86a090dddca2c6ab040a | 292a513550f7c761f76453c7de760ea44e3b78bc | /src/particle_filter.h | e9fbe2a8f22c02a38a84df82651a8d1fff86cfad | [] | no_license | wfs/sdc-term2-p3-kidnapped-vehicle | a34befb7ef72999569be69a75e9586952255e95d | 1016f1b6dde66d676e8402590f007cdb0f6b3b7c | refs/heads/master | 2021-01-20T13:38:51.906152 | 2017-06-04T10:35:25 | 2017-06-04T10:35:25 | 90,510,163 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,799 | h | /*
* particle_filter.h
*
* 2D particle filter class.
* Created on: Dec 12, 2016
* Author: Tiffany Huang
*/
#ifndef PARTICLE_FILTER_H_
#define PARTICLE_FILTER_H_
#include "helper_functions.h"
struct Particle {
int id;
double x;
double y;
double theta;
double weight;
std::vector<in... | [
"hullpod.central@gmail.com"
] | hullpod.central@gmail.com |
dccb060623c7e08adfc30364ba0459882b517f9a | 80f2fa4f1f4d56eef9471174f80b62838db9fc3b | /xdl/ps-plus/ps-plus/client/partitioner/merged_broadcast.h | 33ce832c8ec13a2a3e1caa327b044a5d3c68be61 | [
"Apache-2.0"
] | permissive | laozhuang727/x-deeplearning | a54f2fef1794274cbcd6fc55680ea19760d38f8a | 781545783a4e2bbbda48fc64318fb2c6d8bbb3cc | refs/heads/master | 2020-05-09T17:06:00.495080 | 2019-08-15T01:45:40 | 2019-08-15T01:45:40 | 181,295,053 | 1 | 0 | Apache-2.0 | 2019-08-15T01:45:41 | 2019-04-14T10:51:53 | PureBasic | UTF-8 | C++ | false | false | 1,061 | h | /* Copyright (C) 2016-2018 Alibaba Group Holding Limited
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed ... | [
"yue.song@alibaba-inc.com"
] | yue.song@alibaba-inc.com |
60fa836114a5362349571f6ec3d6f8120ffcfae6 | a6f5d608a22fb2e904c8e438d23694599d4cd8e1 | /apps-src/apps/librose/gui/widgets/tree_node.hpp | 962f278efcc1e38908e6ed0e0d8ce1d4072c55f4 | [
"BSD-2-Clause"
] | permissive | absir/Rose | ec18ad5c5a8c9d24cb4af281fbd00a2efa7285fa | 23a9f4307a27a3d4f2aceac30853d0ee69bc0f41 | refs/heads/main | 2023-02-24T20:00:47.442495 | 2021-01-31T08:03:05 | 2021-01-31T08:35:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,052 | hpp | /* $Id: tree_view_node.hpp 54007 2012-04-28 19:16:10Z mordante $ */
/*
Copyright (C) 2010 - 2012 by Mark de Wever <koraq@xs4all.nl>
Part of the Battle for Wesnoth Project http://www.wesnoth.org/
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Publi... | [
"service@leagor.com"
] | service@leagor.com |
c85d206675c97df69179c68a6c2cc556812a395a | 1ea801dd4704e160c75bac3bc88b8df9c2f36368 | /translator/tests/pattern/vpxor/vpxor001.cpp | c6cbb26774e338385ca7aa6a48ad4a80827e4fbd | [
"Apache-2.0",
"BSD-3-Clause"
] | permissive | fcccode/xbyak_translator_aarch64 | e37e02038c9737564bff0319f7e1f514390c1452 | 11e976d859e519d94a62acb245902e57ba4f39c8 | refs/heads/main | 2023-04-22T02:12:28.889408 | 2021-05-14T11:16:17 | 2021-05-14T11:16:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,698 | cpp | /*******************************************************************************
* Copyright 2020 FUJITSU LIMITED
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apa... | [
"kawakami.k@fujitsu.com"
] | kawakami.k@fujitsu.com |
06c38f76e729f3e0558b384d99c9e00bd8e804fa | 74eea6dc0c143961baf233b5ad85763e7d15c9c1 | /P190521/P190521/ptr01.cpp | ea6cc2119c110dcdf978244191d3254d72cf07bf | [] | no_license | devSOWON0628/Cplus2019 | c9101cee2ed552dbd8d9579c912c40d79e83624b | 2777d9bc65121125fe7380be77caffecd2925c48 | refs/heads/master | 2022-03-24T11:50:50.726328 | 2019-12-21T23:15:32 | 2019-12-21T23:15:32 | 180,942,078 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 626 | cpp | #include <iostream>
using namespace std;
class cat {
private:
int age;
const char * name;
public :
cat() {
age = 18;
name = "야옹이";
}
~cat() {}
int getAge() { return age; }
void setAge(int age) { this->age = age; }
char * getName() { return (char*)name; }
void setName(const char *name) { this->name = n... | [
"s2018s29@e-mirim.hs.kr"
] | s2018s29@e-mirim.hs.kr |
dc5a841936669c7dabac5d93a9cc79268975cdd0 | e6b668c5afc2a333a836bd8dc1dce6e04a5ef328 | /contest/1-7-2015/d.cpp | 359b374e73d41d6ae8233eca78d4a6ed4f518fdd | [] | no_license | mahim007/Online-Judge | 13b48cfe8fe1e8a723ea8e9e2ad40efec266e7ee | f703fe624035a86d7c6433c9111a3e3ee3e43a77 | refs/heads/master | 2020-03-11T21:02:04.724870 | 2018-04-20T11:28:42 | 2018-04-20T11:28:42 | 130,253,727 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 206 | cpp | #include<bits/stdc++.h>
using namespace std;
#define ll long long int
int main(){
ll n,b,a;
while(scanf("%lld %lld %lld",&n,&a,&b)==3){
printf("%lld\n",(ll)(2*n*a*b));
}
return 0;
}
| [
"ashrafulmahim@gmail.com"
] | ashrafulmahim@gmail.com |
09aea8d5e5e0cad9bec650c68ea98b93948f1816 | 7a615a4818cbad72fe6bc21d169200c8982d0cd1 | /src/libcode/vx_summary/summary_calc_sum.h | daec131260af92e9a48517f24efd301a21932ef4 | [
"Apache-2.0"
] | permissive | dtcenter/MET | 860f42331d22f6b616320bb4629aaecc8ac8db67 | 3f0411b65cef5719bf11b6fb75f7e8413fe633f0 | refs/heads/main_v11.1 | 2023-08-02T00:38:11.726674 | 2023-08-01T22:36:19 | 2023-08-01T22:36:19 | 184,336,905 | 46 | 21 | Apache-2.0 | 2023-09-14T18:50:21 | 2019-04-30T21:56:39 | C++ | UTF-8 | C++ | false | false | 1,166 | h | // *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
// ** Copyright UCAR (c) 1992 - 2023
// ** University Corporation for Atmospheric Research (UCAR)
// ** National Center for Atmospheric Research (NCAR)
// ** Research Applications Lab (RAL)
// ** P.O.Box 3000, Boulder, Colorado, 80307-3000, USA
// *=*=*=*=*=*... | [
"noreply@github.com"
] | dtcenter.noreply@github.com |
4017a3ab1c4c44f956c6ef8ff6fd05680857858c | d72b740992ce1876a504cbc0ee03de1ae667efcf | /samples/threat_level/src/PostRadial.inl | d05e7dc87371b2cd41413c07900b91f20a1593c1 | [
"Zlib"
] | permissive | fallahn/crogine | a5ba6d4c1a1ff6209d5a485f6033915a3a02bd03 | 9bf497fe599fe9aa24cf5eac301d209b5b065f6f | refs/heads/master | 2023-08-04T06:32:47.847808 | 2023-06-05T08:44:59 | 2023-06-05T08:44:59 | 101,754,475 | 62 | 9 | null | 2023-08-05T09:52:00 | 2017-08-29T11:38:17 | C++ | UTF-8 | C++ | false | false | 2,744 | inl | /*-----------------------------------------------------------------------
Matt Marchant 2017
http://trederia.blogspot.com
crogine test application - Zlib license.
This software is provided 'as-is', without any express or
implied warranty.In no event will the authors be held
liable for any damages arising from the us... | [
"matty_styles@hotmail.com"
] | matty_styles@hotmail.com |
dfb7b8dde711b5a2a3649344d1e05d8b34ef5959 | 238eb3b8319f9f2de6b9ac16f1d885c4367c7832 | /p1089.cpp | f8dc8b07aa3fa8379980978e60d55ba2ca95ebd2 | [] | no_license | xjs-js/luogu | fac59d9dcdec3088cf66420d3c3867d1ee0cfc4a | f3dd66ebe60427fa25e564669152f9ac93d4fcf1 | refs/heads/master | 2020-05-18T01:07:33.068356 | 2019-05-08T14:37:18 | 2019-05-08T14:37:18 | 184,081,445 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 756 | cpp | // https://www.luogu.org/problemnew/show/P1089
// p1089.cpp
// luogu
//
// Created by js on 4/30/19.
// Copyright © 2019 js. All rights reserved.
//
#include <iostream>
using namespace std;
int main(int argc, const char *argv[])
{
// 读取12个输入
int own = 0, mom = 0;
for (int i = 1; i <= 12; ++i) {
... | [
"xjs.js@outlook.com"
] | xjs.js@outlook.com |
b2adfb3e9e693d444bd66aeedfd05e28ad8fe792 | a43982de34f143432be37406e8cc1c03ed60880b | /Integer Data Swapper.cpp | f6ba408842a513dffd09ff662d1e24ea274a4e17 | [] | no_license | ShristDas/C- | 9675099096958c53e45f72cad1f4cf094077a22b | 6eb700da004ea15f4ea523bd7ee5b323161a95b3 | refs/heads/master | 2020-08-18T23:13:20.032940 | 2019-10-17T11:58:59 | 2019-10-17T11:58:59 | 215,846,191 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 949 | cpp | /*WAP to swap two integer data of different class using
friend function.*/
#include <iostream>
using namespace std;
class B;
class A
{
int x;
public:
A(int p)
{
x = p;
}
friend void swap(A *i, B *j);
void display()
{
cout << x;
}
};
class B
{
int y;
public:
B(int q)
{
y = q;
... | [
"shristdas@gmail.com"
] | shristdas@gmail.com |
24d7ebd1178b23828b5fe6a7ff66e6df5981f6ff | 8b381f74097b486c85b86ce078bc5f69b72e8893 | /include/yangutil/buffer/YangAudioEncoderBuffer.h | f28846c80e858e8b564c491a664058a02af68c3b | [
"MIT"
] | permissive | docterling/yangrtc | e34e89e173bacf59018dffe69105c248c406e045 | e5dbb40aab826be3f2068c3b86bd54c4e3f0816b | refs/heads/main | 2023-07-15T11:19:46.635708 | 2021-09-04T12:14:23 | 2021-09-04T12:14:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 670 | h | #ifndef YangAudioEncoderBuffer_H
#define YangAudioEncoderBuffer_H
#include <yangutil/buffer/YangMediaBuffer.h>
struct YangAudioEBufferHeader {
int32_t length;
int32_t palyId;
};
class YangAudioEncoderBuffer: public YangMediaBuffer {
public:
YangAudioEncoderBuffer(int32_t paudioCacheNum);
~YangAudioEncoderBuffer(vo... | [
"yangrtc@aliyun.com"
] | yangrtc@aliyun.com |
8458f9f0d1df8317fa53c0cf296ca8b05cbd845a | 2d361696ad060b82065ee116685aa4bb93d0b701 | /include/serial/objhook.hpp | 4468bae4442568f1524ea26f9fa054d412ba8c96 | [
"LicenseRef-scancode-public-domain"
] | permissive | AaronNGray/GenomeWorkbench | 5151714257ce73bdfb57aec47ea3c02f941602e0 | 7156b83ec589e0de8f7b0a85699d2a657f3e1c47 | refs/heads/master | 2022-11-16T12:45:40.377330 | 2020-07-10T00:54:19 | 2020-07-10T00:54:19 | 278,501,064 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 21,865 | hpp | #ifndef OBJHOOK__HPP
#define OBJHOOK__HPP
/* $Id: objhook.hpp 546693 2017-09-20 17:04:38Z gouriano $
* ===========================================================================
*
* PUBLIC DOMAIN NOTICE
* National Center for Biotechnology Information
*
* This software/databa... | [
"aaronngray@gmail.com"
] | aaronngray@gmail.com |
6163e5c8394de9d569209b0748e11bb06edd281f | 0f6a4e78200d59fa066355c91266cd9d6bbed330 | /mcp.cpp | e50d465599687681f9453bd917013c4da9a02bbc | [] | no_license | crw-xiix/TempSensor | 6e403fe10ca0703bc6774e1b28785ad88e540465 | 7ed2dea6779f3a63b43b023a999d7a20e404c278 | refs/heads/master | 2020-06-25T12:14:28.602346 | 2019-07-28T15:58:54 | 2019-07-28T15:58:54 | 199,304,609 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,810 | cpp | /**************************************************************************/
/*!
@file Adafruit_MCP9808.cpp
@author K.Townsend (Adafruit Industries)
@license BSD (see license.txt)
I2C Driver for Microchip's MCP9808 I2C Temp sensor
This is a library for the Adafruit MCP9808 breakout
----> htt... | [
"charles@loneaspen.com"
] | charles@loneaspen.com |
3220c14e79fe936b602df3c6785f587d057a217c | 27ce4a10ba6fdc0273e86e402c2d8b49d4deeb50 | /HomeAutomation-Services/homeautomationservices.cpp | 42d6ef238d45d5a337e97c14fd264751651d5b7f | [] | no_license | manuel-du-bois/HomeAutomationServer | b549bc4582a6bfe329adfa050787f53995a85015 | 8658b62b233862f59580f09cde5cbfa214e94b4d | refs/heads/master | 2020-04-03T02:37:41.809323 | 2018-10-27T12:13:59 | 2018-10-27T12:13:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 199 | cpp | #include "homeautomationservices.h"
HomeAutomationServices::HomeAutomationServices(QObject *parent) : QObject(parent)
{
}
QString HomeAutomationServices::getString()
{
return "Hallo Welt";
}
| [
"mandubo@gmx.de"
] | mandubo@gmx.de |
a8d25b18fdd05800f2516d3cab6b0e99471bbbfd | f12849f2dbacb9cafe0c7127eec3f87a05a91d34 | /include/Physics.h | 012d0e214fcc046937ba4128782d663f613b9144 | [] | no_license | dominik-dopka/simple-billiard-game | 96fc74d387e1b4ba542be541efa024d37472e667 | 277f4ada1f41cdcbc35225fde391223b9645fc2f | refs/heads/master | 2020-04-18T21:15:16.445262 | 2019-01-30T11:26:13 | 2019-01-30T11:26:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 637 | h | #pragma once
#include "Game.h"
class Physics {
public:
struct Circle {
int x, y;
int r;
};
Physics();
static double estimateAngle(SDL_Point point, Circle circle);
static double estimateAngle(double angle);
static double estimateBounceAngle(SDL_Rect rect, Circle circle);
static double estimateVelocity (do... | [
"galyn43@gmail.com"
] | galyn43@gmail.com |
844acecaabedb1cfb932ef4092a77bc2c2c99dab | 759d2256468303ed4426fc7fad8d3f1d21cdac21 | /6-ZigZag-Conversion/solution.cpp | 4c220b3b62da0090bb1ad52a81144a4ed574d693 | [] | no_license | xuchaoUCAS/leetcode | 880949fa6c4d28696b29c1f5b03d1ee5c8ec9c5e | 434d75c2690d8d27d2ba63512b96809ee5afe72d | refs/heads/master | 2021-03-24T12:05:16.617105 | 2016-09-29T09:19:34 | 2016-09-29T09:19:34 | 44,957,962 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 569 | cpp | class Solution {
public:
string convert(string s, int numRows) {
if(numRows <= 1)
return s;
int len = s.length();
int row = 0,direc = 1;
string *result = new string[numRows];
for(int i = 0;i < len;++i){
result[row].push_back(s[i]);
if(row =... | [
"xuchao0813@gmail.com"
] | xuchao0813@gmail.com |
9fa83256c604bf24bb5a46471c32f2c6d10ea978 | 46577aa5c596ea3f99aa55ee239a848621d04723 | /src/KyloSpace.cpp | 2bc333b85917286460fe194ee2cdb79a31a3ee34 | [
"MIT"
] | permissive | venGaza/starwars | b8a48ad271f0551ba3d3b024207fab6e0a155869 | 37f1281375241125081177482bd6caff02f80535 | refs/heads/master | 2020-04-13T04:10:20.711099 | 2019-01-23T17:38:13 | 2019-01-23T17:38:13 | 162,953,316 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,348 | cpp | /*
* Class: KyloSpace
* -------------------------
* This is the implementation file for the KyloSpace class. This class is a subclass of the superclass
* Space object and is one of the types of spaces within the game. The player will traverse the various
* types of spaces to collect items and reach the final boss.... | [
"gazaven@gmail.com"
] | gazaven@gmail.com |
da5648169d19fdecf0dcc0e6cdc0579be3dea2f8 | 201c337ade624418a077514ca4db608b3d800886 | /chrome/browser/ui/ash/launcher/arc_app_launcher_browsertest.cc | 6eab68153319daa4163611b055364eeefe54c3a2 | [
"BSD-3-Clause"
] | permissive | huningxin/chromium-src | 78282bff41a04ab0e76298e82a5d097f0d9f9dd2 | e7b9a67db6608d4358141193994194705dc95b0d | refs/heads/webml | 2023-05-26T21:09:02.471210 | 2019-09-04T06:56:33 | 2019-09-26T01:48:14 | 217,235,865 | 0 | 1 | BSD-3-Clause | 2019-11-11T05:11:12 | 2019-10-24T07:16:04 | null | UTF-8 | C++ | false | false | 21,549 | cc | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <memory>
#include <string>
#include <tuple>
#include "ash/public/cpp/shelf_item_delegate.h"
#include "ash/public/cpp/shelf_model.h"
#include "as... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
65340a321c77005426b2e07c1f3874c0531769a8 | 6ee3292d2dc2bf4cb350f869294855606b6c04ef | /EchoServer_ver.2/src/DataReposit/DataReposit.cpp | 0756aa4a5fdf7c50ea3d514ed51611c5e01cbc78 | [] | no_license | leejinsoo92/EchoServer | 4f209e91a76bb4ba509d05e2e48f03f4557f230c | c8ee2194b3323c49de6c54e5b4f742dc0a69481c | refs/heads/master | 2020-07-26T15:21:25.895696 | 2019-10-10T10:37:48 | 2019-10-10T10:37:48 | 208,688,995 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,328 | cpp | /*
* DataReposit.cpp
*
* Created on: 2019. 10. 2.
* Author: leejinsoo
*/
#include "DataReposit.h"
#include <string.h>
#include <mutex>
pthread_mutex_t listlock;
CDataReposit::CDataReposit() {
// TODO Auto-generated constructor stub
}
CDataReposit::~CDataReposit() {
// TODO Auto-generated destructor st... | [
"wlstn4020@naver.com"
] | wlstn4020@naver.com |
7da80e37f3e4923362b48428c149c40208d92896 | 3a5033582f05639ce12ec61e77fad7428ef54993 | /Interface/showscore.h | 7320abcab3ed52f5f1c41adb7c8295ac964d1d9e | [] | no_license | fanxiang090909/Students-Scores-Analysis-version1 | 6872c3569a83395153439c0b84f68863349e7fb2 | 57a393795d51f47d327d082b4638ef1a597b0f9d | refs/heads/master | 2020-12-24T13:44:29.675142 | 2015-03-12T11:56:30 | 2015-03-12T11:56:30 | 32,062,515 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,110 | h | #ifndef SHOWSCORE_H
#define SHOWSCORE_H
#include "ui_showscore.h"
#include <QDialog>
#include <QSqlTableModel>
#include <QSqlRelationalTableModel>
#include <QDataWidgetMapper>
namespace Ui {
class showscore;
}
enum {
Course_No = 0,
Course_name = 1,
Course_Credits = 2
};
enum {
Score_studNo = 0,
... | [
"fanxiang090909@126.com"
] | fanxiang090909@126.com |
c06991dfdf3c7ed4a8ddfe52f2b60494811fdd78 | edd1f52a6b8a4f81c63c8c804818bbe142c7a357 | /feet and inches to centi.cpp | 8b1d5c2b0847893d73e2518ed94ea26d8e3fa3b2 | [] | no_license | abdulkhan4ux/oop | 3302550231b52145c45735efd5214153a2d79991 | 3daa7336e5397b64144130720cd8206bcdcac2e5 | refs/heads/master | 2020-09-12T20:07:28.750909 | 2019-11-27T23:16:59 | 2019-11-27T23:16:59 | 222,538,156 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 420 | cpp | #include<iostream>;
using namespace std;
int main()
{
const double feet_to_inch = 12;
const double inch_to_centi = 2.54;
double feet;
cout << "Enter in feet " ;
cin >> feet ;
double inches;
cout << "Enter in inches " ;
cin >> inches ;
double total_inches = feet * feet_to_inch ;
double total_cent... | [
"noreply@github.com"
] | abdulkhan4ux.noreply@github.com |
739ba6f183c66ab2f2e03b1295ff74ee9f621ecc | dca653bb975528bd1b8ab2547f6ef4f48e15b7b7 | /tags/wxPy-2.9.0.1/tests/benchmarks/tls.cpp | b187566c17d85184b72d7273bb76f012da37bf55 | [] | 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 | UTF-8 | C++ | false | false | 3,439 | cpp | /////////////////////////////////////////////////////////////////////////////
// Name: tests/benchmarks/strings.cpp
// Purpose: String-related benchmarks
// Author: Vadim Zeitlin
// Created: 2008-07-19
// RCS-ID: $Id$
// Copyright: (c) 2008 Vadim Zeitlin <vadim@wxwidgets.org>
// Licence: ... | [
"RD@c3d73ce0-8a6f-49c7-b76d-6d57e0e08775"
] | RD@c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 |
9450ef2ec779b705576cb7e39fa195f5b9dc140d | 24e763341c2c143a88c59f893855bf50601447ab | /GuiView/ContactsGui/UClusterCreateSuccessedPage.h | 9085925e443f34666ce0094246176c5ff2776396 | [] | no_license | LinLinYi/kirogi | 63f8e67aa62e5d44f13aae8b46373a166f9597e5 | f171f7d9a53398d221e2330da98b6b4e9677609d | refs/heads/master | 2021-01-10T01:00:03.866064 | 2015-04-06T04:02:47 | 2015-04-06T04:02:47 | 33,439,487 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,125 | h | #ifndef UCLUSTERCREATESUCCESSEDPAGE_H
#define UCLUSTERCREATESUCCESSEDPAGE_H
class GroupButton;
class InputPacket;
class UClusterInfo;
class NavigationBar;
class QPushButton;
#include "BasePage.h"
class UClusterCreateSuccessedPage : public BasePage
{
Q_OBJECT
public:
explicit UClusterCreateSuccessedPage(QWid... | [
"yilinlin2014@gmail.com"
] | yilinlin2014@gmail.com |
2e3d6c0a4baf487969351db1aed595afdbcea77d | 5f7d56a80dc49f815733b2869e3870af027621cb | /src/qt/paymentserver.h | 32284a9d939818d8c7a7633367c6cf2524c94989 | [
"MIT"
] | permissive | axxd2001/cpc | 44f5a839b5c2b48d367572b2e2f77dddb3834a1a | 25214cddfb5115df521243a6249bfa2d0675db54 | refs/heads/master | 2020-05-25T23:26:05.176408 | 2016-07-29T03:19:24 | 2016-07-29T03:19:24 | 64,445,045 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,887 | h | #ifndef PAYMENTSERVER_H
#define PAYMENTSERVER_H
//
// This class handles payment requests from clicking on
// Chinesepaintingcoin: URIs
//
// This is somewhat tricky, because we have to deal with
// the situation where the user clicks on a link during
// startup/initialization, when the splash-screen is up
// but the ... | [
"736686484@qq.com"
] | 736686484@qq.com |
e62929b332683b383a645fe7d74cf79206666144 | 2a2e99fa853241cea8960b54b419ee89f3cabe29 | /backend/screen_data.h | 5296de372b9aefec82e3c42dc4ed135ee51817b8 | [] | no_license | lbt/yat | 0ef3814edd4b576b50dab1c422ccc98ef653b70c | 47ec5d19a16c863b3a0d430dde6be67fd72780a2 | refs/heads/master | 2021-01-16T00:31:32.271987 | 2013-04-17T20:32:49 | 2013-04-17T20:32:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,492 | h | /**************************************************************************************************
* Copyright (c) 2012 Jørgen Lind
*
* 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 re... | [
"jorgen.lind@gmail.com"
] | jorgen.lind@gmail.com |
1f8a9ae12dca56fd1c12ca3b974bae042259992c | 5718748f4aebf7073499c6b0ddfe9e83d4adaa2a | /src/main.cpp | 48cf204ef2054e140997f81721c244e91805af45 | [] | no_license | pdpreez/bomberman | 53096da210f8c1a6716ebd2570b93ccc0f4af9bd | 906d3128d115b92c8c0bf6d96ab77a803b0399ec | refs/heads/master | 2020-07-02T06:08:52.829136 | 2019-08-20T14:20:30 | 2019-08-20T14:20:30 | 201,435,839 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 958 | cpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* main.cpp :+: :+: :+: ... | [
"ppreez@c4r12s9.wethinkcode.co.za"
] | ppreez@c4r12s9.wethinkcode.co.za |
3cc9d22fd1b4cfc7d09dd6567919f4ec7d5d8ce2 | 3a278d9204a8c9353b665f81297fd79b132e87e9 | /ModelGL/rendering.cpp | 632d136ee19e907ecaac475baefdb206b4c53ec7 | [
"MIT"
] | permissive | gabrielferrazduque/OpenModelGL | f8c0bdd68fe6256638aa868903066ca32bd2e8bf | c7e85501afc05300aea43ebe2130a87553d1c7b7 | refs/heads/main | 2023-06-02T02:50:02.708977 | 2021-06-20T00:26:31 | 2021-06-20T00:26:31 | 375,177,356 | 9 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 8,032 | cpp | rendering
of your modelview matrix project
matModel.rotateZ(modelAngle[2]);
matModel.rotateY(modelAngle[1]);
matModel.rotateX(modelAngle[0]);
matModel.translate(modelPosition[0], modelPosition[1], modelPosition[2]);
matModelView = matView * matModel;
glLoadMatrixf(matModelView.get());
if i change it to
matModel.rotat... | [
"noreply@github.com"
] | gabrielferrazduque.noreply@github.com |
bb01a83759a5d995a22540a0f4b5198f0254d95a | 3e3975ad03027b88f0dd9e263f3cb20db645683f | /source/StackDefinition.h | 3af002547ab1d3418417f42fbaf2a0b0eef3da7e | [] | no_license | srgn08/Prefix-Postfix-Infix | 928127c4b9fdab87966bc0b86f4138a74b75acce | f62bfcb936f667ea810cbee61ae35216d9fdff32 | refs/heads/master | 2020-03-21T13:03:42.256369 | 2018-06-25T11:29:11 | 2018-06-25T11:29:11 | 138,585,823 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 373 | h | #ifndef UNTITLED3_STACKDEFINITION_H
#define UNTITLED3_STACKDEFINITION_H
#include <iostream>
#include <string.h>
#include <fstream>
#include <string>
using namespace std;
class StackDefinition {
public:
string stack[100];
int top;
StackDefinition();
void push_element(string element);
string pop_el... | [
"sergentopcu08@gmail.com"
] | sergentopcu08@gmail.com |
b06410bc117d18b01e8df9dd70f9f52e74ef19e8 | 0cb37a1b2b2d61e7eddaa9957d5509dc00d9e920 | /src/CQIllustratorShapeGaussianFilter.h | 0d05b426b7a77f81df92015e336d878f7bc32e3d | [
"MIT"
] | permissive | QtWorks/CQIllustrator | f30ad9e15defab24c2778e59a2fb41c8604e2722 | da34c5f487bd629d82786e908c45b3b273a585bc | refs/heads/master | 2020-05-03T23:33:08.894874 | 2019-03-09T12:51:00 | 2019-03-09T12:51:00 | 178,867,703 | 1 | 0 | null | 2019-04-01T13:19:42 | 2019-04-01T13:19:42 | null | UTF-8 | C++ | false | false | 343 | h | #ifndef CQIllustratorShapeGaussianFilter_H
#define CQIllustratorShapeGaussianFilter_H
#include <CQIllustratorShapeFilter.h>
class CQIllustratorShapeGaussianFilter : public CQIllustratorShapeFilter {
public:
CQIllustratorShapeGaussianFilter(double std_dev=1.0) :
std_dev_(std_dev) {
}
private:
double std_de... | [
"colinw@nc.rr.com"
] | colinw@nc.rr.com |
3263bef40569eef85e37ff34e666800f379e58d0 | 708282478011bd60c9734362f6db52f6a0344c5b | /Lab9/l9_qns5alt.cpp | ee8d7b3235213659fb48538e167b54f860cf455a | [] | no_license | Binamra7/LabAssignment | a1226cafa1f7ac1dc5141c6a352ac0e61131e968 | e8ba8a179bcbb625f6cdb6c61de88ca8d569597f | refs/heads/main | 2023-08-15T04:09:50.757475 | 2021-10-03T15:18:37 | 2021-10-03T15:18:37 | 375,080,710 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 292 | cpp | #include<conio.h>
#include<stdio.h>
int digitSum(int n)
{
int sum=0;
while(n)
{
sum+=n%10;
n/=10;
}
return sum;
}
int main()
{
int a,sum=0;
printf("Enter a number:");
scanf("%d",&a);
printf("The sum is:%d",digitSum(a));
return 0;
}
| [
"binamra7khadka6@gmail.com"
] | binamra7khadka6@gmail.com |
6feab6665da5aaa780f3b4590c119902f2e212fd | 69c0c4044aadbf6b66e79ad433dd11cd213e298e | /cooking/examples/LoRaWAN/LoRaWAN_01a_configure_module_868.cpp | 9f228c0dac27a8da9f507bc463a1e79fb542e71b | [] | no_license | lancezhangsf/LorawanSensorGateway | c185f024aee6eadfb9ccc00ac1cc4d2302aa2208 | 593805b9bea725d08f7c2e6a6bb4a43b4d984932 | refs/heads/master | 2021-01-11T05:48:20.558078 | 2016-07-26T14:37:49 | 2016-07-26T14:37:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,937 | cpp | /*
* ------ LoRaWAN Code Example --------
*
* Explanation: This example shows how to configure the module
* and all general settings related to back-end registration
* process.
*
* Copyright (C) 2015 Libelium Comunicaciones Distribuidas S.L.
* http://www.libelium.com
*
* This program is free... | [
"m.talhabuyukakkaslar@Ms-MacBook-Pro.local"
] | m.talhabuyukakkaslar@Ms-MacBook-Pro.local |
ab61d93baea2fc12727ede44b5f4f943a2a7121c | 5d83739af703fb400857cecc69aadaf02e07f8d1 | /Archive2/0d/99b9f5a58705e8/main.cpp | bb42b7bc428b25b853655474fe5fc84cfaf39aa3 | [] | no_license | WhiZTiM/coliru | 3a6c4c0bdac566d1aa1c21818118ba70479b0f40 | 2c72c048846c082f943e6c7f9fa8d94aee76979f | refs/heads/master | 2021-01-01T05:10:33.812560 | 2015-08-24T19:09:22 | 2015-08-24T19:09:22 | 56,789,706 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,613 | cpp | #include <tuple>
#include <array>
#include <utility>
#include <type_traits>
double f1(double x)
{
return x * 2;
}
double f2(const std::tuple<double>& x)
{
return std::get<0>(x) * 2;
}
template<std::size_t N>
struct apply_impl {
template<class F, class Tuple, class... TParams>
static auto apply(F&& fn... | [
"francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df"
] | francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df |
fa6f33da5065d8ad4d6164185854a6c80ee11dae | 710ac369ce06c8648ab7b8de905ca68b6fcb30da | /CPP/Finished/Problem140_WordBreakII.cpp | 2c473511f2a3378e0a7c8690363d3836216d894e | [] | no_license | XuanShawnLi/LeetCode | d268b1623ab311ae75d0896b71176a484e1f99f7 | a7ff2c37de71ef1f82f78f31d862738820630730 | refs/heads/master | 2021-01-01T06:38:36.274615 | 2015-04-27T21:52:19 | 2015-04-27T21:52:19 | 31,913,092 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,873 | cpp | /*
Given a string s and a dictionary of words dict, add spaces in s to construct a sentence where each word is a valid dictionary word.
Return all such possible sentences.
For example, given
s = "catsanddog",
dict = ["cat", "cats", "and", "sand", "dog"].
A solution is ["cats and dog", "cat sand dog"].
*/
#include<io... | [
"xuanli1981@gmail.com"
] | xuanli1981@gmail.com |
b1a0c5c0df1561aa78a4f6c06560ad9be23fe1cd | 3ca6b3b6155f791abc816e0376a688bc63a1f656 | /testtree/tree.cc | 2f81b265a3f46bb056e4a9a2a479d1bb74465656 | [] | no_license | stellawroblewski/Homework5-Trees | 1e432546e0db08928091bd57c8d2e7928bd49c68 | 5a32046e5fabaa8acd402fb796f849b367c31cea | refs/heads/master | 2020-04-03T12:49:06.072169 | 2018-10-29T21:41:13 | 2018-10-29T21:41:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,005 | cc | #include "tree.hh"
#define DEBUG
#include <cassert>
//////////////////////////////////////////////////////////////////////////////
// create_tree allocates space for a new tree node and fills it with the given
// data parameters. By default, the tree is a leaf, so its children point to
// nullptr, but you may override... | [
"noreply@github.com"
] | stellawroblewski.noreply@github.com |
99893b37937b8cb9811cf777b3b5f9f9eb5cd549 | 4d6bf26f4d9a43082f87e177c1a2ac6c9662c288 | /Chapter 15/Programming Challenges/13/circle.h | e397d2e1be1d3f4bd2c230b8f1be24589fecc3b1 | [] | no_license | Miao4382/Starting-Out-with-Cplusplus | 08d13d75fdb741be59a398b76275c5ee394840ca | dd3a1eadcf403ae57a68183987fc24fbfac0517f | refs/heads/master | 2020-05-24T23:22:49.978761 | 2019-05-20T18:40:01 | 2019-05-20T18:40:01 | 187,513,299 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 482 | h | #ifndef CIRCLE_H
#define CIRCLE_H
#include "basic_shape.h"
class Circle : public BasicShape
{
private:
int center_x_;
int center_y_;
double radius_;
public:
/* Constructor */
// initialize x, y and radius of the circle, will also call CalcArea() to set area_
Circle(int x, int y, int r);
/* Accessor */... | [
"33183267+Miao4382@users.noreply.github.com"
] | 33183267+Miao4382@users.noreply.github.com |
953191fb28516df3ec2b2e08e06772eb1552c73f | 1f5b52bc0f7744abe32ab1c65ceec29e5dacb9bb | /testjmp.cpp | d8fedfc1e0aef232c287b61802670eb593a04667 | [] | no_license | szqh97/apue | daff2551c24b91a02cf2ffe19fb286f4eb83a9f4 | 54385696fe1b6d356dd160026806012e82b98874 | refs/heads/master | 2016-09-06T15:18:26.933268 | 2012-06-16T01:57:01 | 2012-06-16T01:57:01 | 4,681,699 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,736 | cpp | /*
* =======================================================================
* Filename: testjmp.cpp
* Description:
* Version: 1.0
* Created: 2012年04月26日 22时18分29秒
* Revision: none
* Compiler: gcc
* Author: szqh97 (), szqh97@163.com
* Company: szqh97
... | [
"szqh97@163.com"
] | szqh97@163.com |
ac269066c384edd45110c90fe16ac7ce568e87f3 | edba049dd6d7bde0af33988791be9e46f8143b8e | /dp_game.cpp | b0ff98ff917ca8a2b3a078d2c49318cdc2f083ab | [] | no_license | shuvokhalid173/algorithm-implementation | f5c552618f70ff44aa6b823f0ec18e69dc86e704 | 43b7468fc453b79e68f52586bb1b0b07afcabb6b | refs/heads/master | 2020-06-20T04:25:20.108859 | 2016-12-10T13:26:04 | 2016-12-10T13:26:04 | 74,883,965 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 630 | cpp | #include <bits/stdc++.h>
using namespace std;
const int N = 12345;
int dp[N];
void game () {
dp[0] = 0;
dp[1] = dp[2] = 1;
for (int i = 3; i < N; i++) {
if (!dp[i - 2] || !dp[i - 1])
dp[i] = 1;
else dp[i] = 0;
}
}
int dpp[1234];
set < int > st;
set < int > :: iterator it;
void grundy_number () {
... | [
"shuvokhalid173@gmail.com"
] | shuvokhalid173@gmail.com |
5cb51df1eb6fcdd0345e2c84c9c55bc02fef57b4 | e82e6b81a044c6db6bf2df44868cb1d35d865f65 | /Source Code for Experiments/Dijkstra/Single-GPU/Dijkstra_Basic/dijkstra-classic-v2.h | 63c847d1a3da1b9978434da3b0705ebb2a9727aa | [
"MIT"
] | permissive | kf4ayt/MTSU_Thesis | 66babd4a62e6148dd55e85b7b9f02df93d08f178 | de3abbe714eeabb722be843d29ab4177a476c276 | refs/heads/main | 2023-08-20T11:28:13.629128 | 2021-10-18T17:50:28 | 2021-10-18T17:50:28 | 358,495,885 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,221 | h |
/**********************************************************************************
Copyright 2021 Charles W. Johnson
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, inclu... | [
"noreply@github.com"
] | kf4ayt.noreply@github.com |
84558db4359d3b64b05f5de130b66763643dbaff | 3883f40753e36d3d91a1f9a4417f76ffcb11266a | /PIMC++/src/Actions/ST2WaterClass.h | 28a3143cccdebaef197cdb94bf5123fcde98c0d1 | [] | no_license | meng-cheng/pimcplusplus | 23ea9d318b6be23950e6955eb59abae55f8cb019 | 1ab955c6c4e0bd2f553f228b1e66b1606989e832 | refs/heads/master | 2021-05-28T20:57:03.713359 | 2012-06-07T17:32:53 | 2012-06-07T17:32:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,675 | h | /////////////////////////////////////////////////////////////
// Copyright (C) 2003-2006 Bryan Clark and Kenneth Esler //
// //
// This program is free software; you can redistribute it //
// and/or modify it under the terms of the GNU General //
// Public ... | [
"ethan.w.brown@gmail.com"
] | ethan.w.brown@gmail.com |
fc2cbfd71d58e0f1ffe4300409dec6be26a0c125 | adf038a3037f4be1ea1f3b67121a6f64a6025a85 | /cache.cpp | 91b443401895f1c1f9ac7ac837f7b47e97e9876f | [] | no_license | Guid75/showdevant | 1a0ed8113fb33eed8cfadf56a2280646b84de601 | 4fad7642c971b130449491f2e823ff4468b7f48d | refs/heads/master | 2016-09-05T15:41:59.185437 | 2013-08-04T21:20:49 | 2013-08-04T21:20:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 24,946 | cpp | // Copyright 2013 Guillaume Denry (guillaume.denry@gmail.com)
// This file is part of ShowDevant.
//
// ShowDevant is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// ... | [
"guillaume.denry@gmail.com"
] | guillaume.denry@gmail.com |
db3c3c2552d03c1a159843363af695310ec87add | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5631572862566400_0/C++/Janice/3.cpp | 84ea51ba50c9479ab4bb02c61dc92a714c509248 | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,902 | cpp | #include <iostream>
#include <unordered_map>
#include <fstream>
using namespace std;
void quickSort(int array[], int start, int end);
int main() {
ifstream testCase ("./C-small-attempt0.in");
ofstream testCaseAns ("./output.txt");
int T = 0;
testCase >> T;
for (int i = 0; i < T; i++) {
int N = 0... | [
"alexandra1.back@gmail.com"
] | alexandra1.back@gmail.com |
6504893b419a771a16b9586a711a7c33c97e26e4 | 72b451bad6e2972ade5f06f83ad0623dbf28ce22 | /kernel/include/net/udp_layer.hpp | c769a56f4759c8ce71228026b2d23bf9f803f9a3 | [
"MIT"
] | permissive | cekkr/thor-os | b7d31901959d8c4c2686e8af1dfcf156fbef477a | 841b088eddc378ef38c98878a51958479dce4a31 | refs/heads/develop | 2021-03-30T23:26:56.990768 | 2018-03-31T16:53:16 | 2018-03-31T16:53:16 | 124,933,350 | 0 | 0 | MIT | 2018-03-31T16:53:17 | 2018-03-12T18:28:19 | C++ | UTF-8 | C++ | false | false | 8,349 | hpp | //=======================================================================
// Copyright Baptiste Wicht 2013-2016.
// Distributed under the terms of the MIT License.
// (See accompanying file LICENSE or copy at
// http://www.opensource.org/licenses/MIT)
//=================================================================... | [
"baptiste.wicht@gmail.com"
] | baptiste.wicht@gmail.com |
c8b0b41b48b68d1e1119ac38ec8ae2cfba63a1fb | 3fa445267cadf3263bd52de4c9c71ac8f2108ada | /Problemes/Tema_0/Ex13/Ex13/Ex13/ParitatParell.cpp | 106bff821ae260c3ae93e3de9c4260d4da796f75 | [] | no_license | UAB-DCC/sessio1-evalveny | daf913d416361b7f8caba51f2da3dd7d6801f051 | 634e069f191e9cc67eb7d4a15faa70db3a50047e | refs/heads/master | 2021-01-01T21:49:06.428746 | 2018-06-01T14:03:33 | 2018-06-01T14:03:33 | 121,395,356 | 0 | 0 | null | null | null | null | ISO-8859-10 | C++ | false | false | 337 | cpp | //
// ParitatParell.cpp
// funcions de repās
//
#include "ParitatParell.h"
#include <iostream>
using namespace std;
/*
* exercici 1
*/
bool bitParitatParell (int* trama)
{
int compteUns = 0;
for (int i = 0; i <= 7; i++)
{
if (trama[i] == 1) {
compteUns++;
}
}
return (compteUns... | [
"ernest@cvc.uab.es"
] | ernest@cvc.uab.es |
60cfc0a7236f67e13e23aa5e26f6fef730ffb4ce | 326a439b950e2cc868b5ded0d2d7982e2437db58 | /src/datamatrix.h | 2bc5157d7b6183f87f60deca7ea625479d1f6ff1 | [] | no_license | lineCode/dmCreator | 74b9b495cda77d6176b0b090ef8d0aa08e4d19c6 | 1c1c252bcae4302e67be675c87e83965808079e5 | refs/heads/master | 2020-03-20T17:50:27.565834 | 2017-12-13T20:08:46 | 2017-12-13T20:08:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 615 | h | #include <string>
#include <vector>
struct dm_data {
int width;
int height;
int channels;
std::vector<unsigned char> pixels;
};
struct dm_image {
int cols;
int rows;
int channels;
unsigned char *data;
};
class DataMatrix {
public:
DataMatrix();
~DataMatrix();
void setDat... | [
"guillaume.zufferey@gmail.com"
] | guillaume.zufferey@gmail.com |
27bea4ca58e94b4345a9a04d72255b7681e7fc59 | 003663f0b4dd8b2f7d239138ae446065dd4f9d15 | /CollidersContainer.h | 89b6828a8e0ca5cccfb06c02a6656d6b541f65e6 | [] | no_license | Arkowski24/ParticlesCollisions | 53720cd809be02f20cf38f480e92bcf780efe97a | a742bdd133930367dd76391b57cd9a137f079f46 | refs/heads/master | 2021-01-01T19:24:52.578387 | 2015-07-10T19:39:56 | 2015-07-10T19:39:56 | 38,394,198 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,850 | h | #pragma once
#include <vector>
#include <cmath>
#include <utility>
#include <algorithm>
#include "Particle.h"
#include <SFML/Graphics.hpp>
#include <iterator>
#define PI 3.14159265
class CollidersContainer
{
public:
CollidersContainer();
~CollidersContainer();
void CreateParticle(Particle& NewParticle);
void Del... | [
"arkadiusz.placha@lo5.bielsko.pl"
] | arkadiusz.placha@lo5.bielsko.pl |
f6fe65acb469a780c5d3810c2104f59b1183139c | d53f3d899f08e2328a765bb699db4498a9acc8df | /Samples/bk_src/logl/src/1.getting_started/4.5.textures_exercise4/textures_exercise4.cpp | 6c24f4a5039932ff528070b4b93ae01835599ee5 | [
"MIT"
] | permissive | KangWeon/Glitter | b9c4172de0d71ebf02bfff1df01d845d91539ba3 | 4a94913691582dd3b966a1b91842fb1793ac6096 | refs/heads/master | 2021-02-10T00:52:31.149295 | 2020-10-05T19:19:04 | 2020-10-05T19:19:04 | 299,637,650 | 0 | 1 | null | 2020-09-29T14:10:32 | 2020-09-29T14:10:31 | null | UTF-8 | C++ | false | false | 8,930 | cpp | #include <glad/glad.h>
#include <GLFW/glfw3.h>
#include <stb_image.h>
#include <learnopengl/filesystem.h>
#include <learnopengl/shader_s.h>
#include <iostream>
void framebuffer_size_callback(GLFWwindow* window, int width, int height);
void processInput(GLFWwindow *window);
// settings
const unsigned int SCR_WIDTH =... | [
"kangweon.jeong@gmail.com"
] | kangweon.jeong@gmail.com |
4ccc9ae7612c505ba9f7381919dd6d7a74b56f7b | 367b8a9c33357ae73fcf6b313995070d9cefacd6 | /Source/HeroShooter/HeroPlayerController.h | cdd314dfb6dca2e2ca61131eb4f02033d1241564 | [] | no_license | Krasi2405/EndOfYearProject | 96a046d9005b3d6c52670276de21e0633f2d4f50 | 9db5a463f69afb82a238399b5b2c8015e15d09a7 | refs/heads/master | 2022-10-21T00:32:04.087630 | 2020-06-09T04:12:11 | 2020-06-09T04:12:11 | 236,856,246 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,640 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/PlayerController.h"
#include "HeroPlayerController.generated.h"
class UIngameMenu;
class UChatBox;
class UHeroPickerMenu;
class UGameModeInfoWidget;
class AHeroSpawner;
class A... | [
"krasi2405@gmail.com"
] | krasi2405@gmail.com |
53fd63d7e81f5fb7410d9f0f4dca8ed69828a3bb | 7d31b44aa304c4b08601e5f7ee24fa66d0a6b27b | /LMP3D/Graphics/Quaternion.h | d395212c72aeb6d73ee279c19b88ca9b93d367af | [] | no_license | CyberSys/Fury-Fighting | ca1eebb31eb3ab2f922b5293500502b72ef28bfe | 486f84e742b660a0ea44fe7949d47c3fe96c9d0d | refs/heads/master | 2020-08-14T03:52:15.706027 | 2016-08-07T20:38:42 | 2016-08-07T20:38:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,376 | h | #ifndef ___LMP3D_GRAPHICS_QUATERNION_H___
#define ___LMP3D_GRAPHICS_QUATERNION_H___
#include "Vector.h"
namespace LMP3D
{
namespace Graphics
{
/**
@brief
Normalises a quaternion.
@param[in,out] quat
The quaternion to normalise.
*/
inline void normalise( Quaternion & quat );
/**
@brief
Quatern... | [
"dragonjoker59@hotmail.com"
] | dragonjoker59@hotmail.com |
3556d15c65b4a052127819d9911cd3cc5daad6ad | d9c8c917a6a266061d5707a578dc678a11c79bee | /SchroedingerEquation/main.cpp | 3f7c0b893fd2f901a222bc44c626c76b67aeaf4d | [] | no_license | Philxy/Computational-Physics-Stuff | 0b80440e1e6a0288dbc531a4ce57233cf926a528 | 682c5e6e26c88ac52af462c7e80d88c41be4f200 | refs/heads/main | 2023-07-17T14:10:32.883215 | 2021-08-30T14:36:42 | 2021-08-30T14:36:42 | 400,626,844 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,826 | cpp | #include <iostream>
#include <cmath>
#include <math.h>
#include <fstream>
#include <limits>
using namespace std;
double H = 0.001;
double XMAX = 20;
double F(double r) {
return 0;
return -r * exp(-r);
}
double V(double x) {
if (x >= 0) {
return x;
} else {
return std::numeric_limi... | [
"philxyphilxy@gmail.com"
] | philxyphilxy@gmail.com |
8453443cca2583cc3baefb5295b037f5d536b189 | d52fd6a8c0bdbcab9459d9577dcf38484084767e | /hacker-rank/101hack38/easy-gcd-1.cpp | 81b5b2cdde111d408fc583bdc77eb7e12bffdf95 | [] | no_license | ex-surreal/contest-programming | af7f557b1bb28c9dbe8d75d8937f0cf3b5d7c2a9 | 10fce86777e6277283e1ea690749ab2b1e96eedf | refs/heads/master | 2020-04-12T03:53:45.785311 | 2019-01-05T14:05:12 | 2019-01-05T14:05:12 | 64,762,782 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,044 | cpp | #include <iostream>
#include <vector>
#include <string>
#include <algorithm>
#include <map>
#include <cmath>
#include <set>
#include <queue>
#include <stack>
#include <cstring>
#include <ctime>
#include <cstdlib>
#include <cassert>
using namespace std;
#define mem(a, v) memset(a, v, sizeof (a))
#define x first
#defin... | [
"mamumit07@gmail.com"
] | mamumit07@gmail.com |
d63ee772d7073a168ed5eb61f3f7e3f34bac47d2 | dfbe0a1723f7145fe11336ccc3e962a0e3b6dbcb | /game/logic/sim/io/events.h | fcf4d6a723dcbf7afc3bc513dcd0319b21a45310 | [] | no_license | grandseiken/iispace | 67d18d72ab62da1fbc4859394e0da14402feeaec | 88f57cbd7c0f2aa2996adc50a0c35b411bd1835d | refs/heads/master | 2023-07-05T21:55:59.023645 | 2023-07-02T14:37:40 | 2023-07-02T14:41:17 | 19,438,190 | 0 | 0 | null | 2022-08-28T20:06:04 | 2014-05-04T23:05:08 | C++ | UTF-8 | C++ | false | false | 578 | h | #ifndef II_GAME_LOGIC_SIM_IO_EVENTS_H
#define II_GAME_LOGIC_SIM_IO_EVENTS_H
#include "game/common/enum.h"
#include <cstdint>
#include <optional>
namespace ii {
enum class boss_flag : std::uint32_t {
kBoss1A = 1,
kBoss1B = 2,
kBoss1C = 4,
kBoss2A = 8,
kBoss2B = 16,
kBoss2C = 32,
kBoss3A = 64,
};
template... | [
"s+github@stu.scot"
] | s+github@stu.scot |
a7bbd9ea56a374478fffedd2548a24a910fb3c11 | 1d7f3fd33d01fed90fb48a1824134214adaf69a9 | /thread_test_impl.h | abd30ef8e0da40e06862350825be883eac462ff6 | [] | no_license | adrianyang/thread-time-control | 1a57883e16f99f5e20d948ff279a8be8192e275a | fd3176a288d3ccdec18eee49f80b54a513086b55 | refs/heads/master | 2021-03-27T14:26:14.236496 | 2014-06-25T13:31:19 | 2014-06-25T13:31:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,985 | h | #ifndef __THREAD_TEST_IMPL_H__
#define __THREAD_TEST_IMPL_H__
#include <stdio.h>
#include "thread_def_common.h"
// Useful implicit definitions are done here.
#define DEFINE_CLASS_THREAD_TEST(thread_test_group, thread_test_case) \
class thread_test_group ## thread_test_case : public ThreadTest { \
public: \
thre... | [
"adrian.y.dm@gmail.com"
] | adrian.y.dm@gmail.com |
60474b79a5efc2eea460f5e0181a34d7958c0341 | 4726929e9ddcbaea59df5f0493dd11d1adf222e3 | /tutorials-src/graphics/intro-to-graphics/skybox/RenderManager.cpp | 79b901fd565d5adb8cd0eeb52498edf18cb20fe1 | [] | no_license | liam-middlebrook/graphics-tutorials | aeb48ce4fdec2accdfb582da65de5bad1a22ca55 | d3cd2c218c760236abaffaf3dc11e794b39300bd | refs/heads/master | 2021-01-10T08:43:34.198902 | 2015-11-24T21:27:57 | 2015-11-24T21:27:57 | 43,909,988 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,239 | cpp | #include "RenderManager.h"
#include "ResourceManager.h"
#include "RenderObject.h"
#include "CameraManager.h"
std::vector<RenderObject*> RenderManager::_displayList;
unsigned int RenderManager::_displayListLength;
void RenderManager::Init(unsigned int numRenderObjects)
{
_displayListLength = numRenderObject... | [
"liammiddlebrook@gmail.com"
] | liammiddlebrook@gmail.com |
095912430426e7469db05bd368007100284fa39c | b9bb2153e5bcabf7ebc3f753120703d169e81bd5 | /stats.h | ae7933f8a9b1c2e41065b99b2f4ac2437c1fe028 | [] | no_license | ucsb-cs24-w18/pa01_Roy766 | c5027e7aea49d962971f47111f7cce600f9386ff | 3650644dfb4465b8f819da97ecf8d9aeb304ac70 | refs/heads/master | 2021-05-02T07:38:04.990327 | 2018-02-09T01:27:43 | 2018-02-09T01:27:43 | 120,834,127 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,944 | h | // Aidan Babb, 9AM
// FILE: stats.h
// Written by: Michael Main (main@colorado.edu)
// CLASS PROVIDED: statistician
// (a class to keep track of statistics on a sequence of real numbers)
// This class is part of the namespace main_savitch_2C.
//
// CONSTRUCTOR for the statistician class:
// statistician( ... | [
"noreply@github.com"
] | ucsb-cs24-w18.noreply@github.com |
60e0c87a2fdff84bf60f4091a70124bad6b649ad | ae73fd7cb1b075566c98187f509679a54a386855 | /LeetCode/zigzag-conversion.cpp | 4170d5ce1efaca32d38c36e14da8956b0f32d4e4 | [] | no_license | yaolili/cracking-the-coding-interview | f5b84cdea420a2d2516d0fd5054203b6ba23a830 | 7cd628f008613a24b8faf51b363bb300bf10b2f6 | refs/heads/master | 2020-12-28T19:47:40.800342 | 2014-09-24T06:28:07 | 2014-09-24T06:28:07 | 26,939,570 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 965 | cpp | class Solution {
public:
string convert(string s, int nRows) {
if (nRows <= 1) return s;
vector<vector<char> > v(nRows);
bool zig=true;
auto it = s.begin();
int zigRow = 0;
while (it != s.end()) {
if (zig) {
... | [
"qiangrw@gmail.com"
] | qiangrw@gmail.com |
15b06182d069aa88788b30ba569e97243b94de5e | f906af552bf1ef05dd53e80634ff85edebfef6e1 | /ITK/vvITKThresholdImageToPaintbrush.cxx | 26e93a2b9731289cbe85766fe0a6db8dc4a34d6e | [] | no_license | eglrp/VolViewPlugins | a82d06223d22f2990d97e043edcfb492786b7f3d | 2e77a64c71af72d89dff5c4c364c04156feab4e9 | refs/heads/master | 2020-04-02T04:02:48.892187 | 2017-04-02T10:12:26 | 2017-04-02T10:12:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,935 | cxx | /*=========================================================================
Copyright (c) Kitware, Inc.
All rights reserved.
See Copyright.txt or http://www.kitware.com/VolViewCopyright.htm for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABI... | [
"lzf@mail.bnu.edu.cn"
] | lzf@mail.bnu.edu.cn |
60c868d6ec01b1ad8573a36dcebfc476bb726efc | e3170964ef1007e68ae6598885720eaef5b4360c | /c++/problem11/main.cpp | e2239933caba9ffd6fe07f1553ebb183c44f0b4a | [] | no_license | SunnyQjm/leecode | 66a0426249971c850c0977502730d462b9db7e0f | eceb63b0d374f0783d19dc9c5dd776adbf82af85 | refs/heads/master | 2020-12-21T10:39:32.717955 | 2020-02-10T03:15:42 | 2020-02-10T03:15:42 | 236,405,770 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 343 | cpp | #include <iostream>
#include <gtest/gtest.h>
#include "solution.cpp"
using namespace std;
Solution solution;
TEST(Leetcode11_maxArea, test0) {
vector<int> v = {1, 8, 6, 2, 5, 4, 8, 3, 7};
EXPECT_EQ(solution.maxArea(v), 49);
}
int main(int argc, char **argv) {
testing::InitGoogleTest(&argc, argv);
ret... | [
"qjm253@pku.edu.cn"
] | qjm253@pku.edu.cn |
580fa0452846f0f3762e97a53f26d569f72351d7 | 3b9b4049a8e7d38b49e07bb752780b2f1d792851 | /src/native_client/toolchain/linux_x86/pnacl_newlib/include/llvm/IR/GlobalVariable.h | 9f57705dae72e5dba7c145ab189823a2bc5802f3 | [
"BSD-3-Clause",
"Apache-2.0",
"Zlib",
"Classpath-exception-2.0",
"BSD-Source-Code",
"LZMA-exception",
"LicenseRef-scancode-unicode",
"LGPL-3.0-only",
"LGPL-2.0-or-later",
"LicenseRef-scancode-philippe-de-muyter",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-intel-osl-1993",
... | permissive | webosce/chromium53 | f8e745e91363586aee9620c609aacf15b3261540 | 9171447efcf0bb393d41d1dc877c7c13c46d8e38 | refs/heads/webosce | 2020-03-26T23:08:14.416858 | 2018-08-23T08:35:17 | 2018-09-20T14:25:18 | 145,513,343 | 0 | 2 | Apache-2.0 | 2019-08-21T22:44:55 | 2018-08-21T05:52:31 | null | UTF-8 | C++ | false | false | 7,572 | h | //===-- llvm/GlobalVariable.h - GlobalVariable class ------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"changhyeok.bae@lge.com"
] | changhyeok.bae@lge.com |
5bbe671d91f306adc7bceed5753d5ed893cae93a | 435c58b836d00db4aaaf4e19dab820a935bbf323 | /examples/Games/Dices/Dices.ino | 9f65c2c9d1f96a4b352a4dce58d94e99ea09ef47 | [] | no_license | aenertia/M5StickC | b82a01776e68d15b5343e36b7862b49320d1a272 | 781128641206017e99f211ee7bb14fce98428259 | refs/heads/master | 2020-05-30T14:29:01.310338 | 2019-05-22T08:26:52 | 2019-05-22T08:26:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,443 | ino | /*
A couple of dices on a tiny 80x160px TFT display
Author: Alfonso de Cala <alfonso@el-magnifico.org>
*/
#include <M5StickC.h>
#define DOT_SIZE 6
int dot[6][6][2] {
{{35,35}},
{{15,15},{55,55}},
{{15,15},{35,35},{55,55}},
{{15,15},{15,55},{55,15},{55,55}},
{{15,15},{15,55},{35,35},{55,15},{55,55}},
{{... | [
"44561832+zhouyangyale@users.noreply.github.com"
] | 44561832+zhouyangyale@users.noreply.github.com |
6543e8d6fd3ce452bcabc2e234e6f35ed65a9e66 | d15d4c2932159033e7563fe0889a2874b4822ce2 | /Codeforces/Archives/April Fools 2017/E.cpp | a8b95545ca5955a098ea93a2c802af7d64e68b75 | [
"MIT"
] | permissive | lxdlam/CP-Answers | fd0ee514d87856423cb31d28298c75647f163067 | cde519ef9732ff9e4e9e3f53c00fb30d07bdb306 | refs/heads/master | 2021-03-17T04:50:44.772167 | 2020-05-04T09:24:32 | 2020-05-04T09:24:32 | 86,518,969 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 270 | cpp | #include <iostream>
using namespace std;
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
int a, b, c, d;
cin >> a >> b >> c >> d;
int e = a ^ b, f = c | d, g = b & c, h = a ^ d;
int aa = e & f, bb = g | h;
cout << (aa ^ bb) << endl;
return 0;
} | [
"lxdlam@gmail.com"
] | lxdlam@gmail.com |
fd9ef84aff0dbc8cbfb513e6996a339d8c35ecfd | 0d8616b10c58006187911f930c002213275229e4 | /src/policy/feerate.cpp | 617d2cf8d4d56a8f4868439a3c8b319a0a1db84c | [
"MIT"
] | permissive | biocarecoin/biocarecoin | 1345c5d88ccabdf4d767e4f389169c90ed25b314 | acaf0cf114eb4e14af20e6ab4cd34050fe851a3f | refs/heads/master | 2023-05-01T03:44:45.448477 | 2021-05-17T05:35:09 | 2021-05-17T05:35:09 | 368,057,950 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,149 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2018 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 <policy/feerate.h>
#include <tinyformat.h>
const std::string CURRENCY_... | [
"adamantcoders@gmail.com"
] | adamantcoders@gmail.com |
f7ef372868e063db284d488a6a9b2ff2a06e9e04 | 1d928c3f90d4a0a9a3919a804597aa0a4aab19a3 | /c++/JUCE/2015/8/OpenGLDemo.cpp | cb36c8eeb529d66c6f3175d5a849521a702a7265 | [] | no_license | rosoareslv/SED99 | d8b2ff5811e7f0ffc59be066a5a0349a92cbb845 | a062c118f12b93172e31e8ca115ce3f871b64461 | refs/heads/main | 2023-02-22T21:59:02.703005 | 2021-01-28T19:40:51 | 2021-01-28T19:40:51 | 306,497,459 | 1 | 1 | null | 2020-11-24T20:56:18 | 2020-10-23T01:18:07 | null | UTF-8 | C++ | false | false | 46,320 | cpp | /*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)
b) the Affero GPL v3
Details... | [
"rodrigosoaresilva@gmail.com"
] | rodrigosoaresilva@gmail.com |
e06d596681c9d181f2acf691c8863bc5e700e67c | 5f9aa7846462f286ecff94d55fd26a736ac21238 | /source/math/warp/sampleWarp.cpp | 6648ac39a199ad1191f9418bd761c59a034d40a0 | [
"MIT"
] | permissive | xh5a5n6k6/cadise | bba37903facf98b7640571ec3f910a8ec0f070e1 | 797b116b96d7d3989b58454422501f6ace04c4b8 | refs/heads/master | 2023-06-01T08:17:39.848765 | 2021-02-04T13:17:06 | 2021-02-04T13:17:06 | 179,852,908 | 35 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 400 | cpp | #include "math/warp/sampleWarp.h"
#include "fundamental/assertion.h"
#include "math/tVector.h"
#include <cmath>
namespace cadise {
void SampleWarp::uniformTriangleUv(
const Vector2R& sample,
Vector2R* const out_uv) {
CADISE_ASSERT(out_uv);
const real sqrtSeedA = std::sqrt(sample.x());
*out_uv... | [
"xh5a5n6k6@gmail.com"
] | xh5a5n6k6@gmail.com |
93c161d93ba750579aa720d9ecfea21a321b8f91 | 155eef23b0a9dad13d50d50a9639f3b7637986fa | /tugastp_2/list.cpp | 228cd702094fcd9b216bb64f8410b7a2d3e7d297 | [] | no_license | ridhodori/tugas-praktikum | 2f23094aabe62265abe40e566a3f8567b327c00e | de9c55b52110aae3e2f156d34b8aca31b3734c02 | refs/heads/master | 2021-01-05T07:07:54.279225 | 2020-02-17T08:59:08 | 2020-02-17T08:59:08 | 240,926,061 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,390 | cpp | /*_.cpp
Moh Naufal Mizan Saputro
IF-43-12 / 1301190015
*/
#include <iostream>
#include "list.h"
using namespace std;
void createList(List &L){
first(L) = NULL;
}
address allocate(infotype x){
address p = new elmlist;
info(p) = x;
next(p) = NULL;
return p;
}
void insertFirst(List &L, addr... | [
"ridhodori48@gmail.com"
] | ridhodori48@gmail.com |
5b95187d0a3e45b3c014b47fb637665fd70cdbff | d4de46101e889c24522cc71c405f73ea9de02e6f | /SDK/SCUM_Event_Wooden_ArrowFeathers_classes.hpp | d1c90d3bf82409c74feb60b35544b4659297518e | [] | no_license | GoodstudyChina/SCUM_SDK | da6556d22744e4369931c3970d6e69f01b2882d0 | 0bf1c2ee4bc06eb4fc382914d9db2f5fcbd0de7e | refs/heads/master | 2020-08-29T23:48:19.574846 | 2019-10-14T13:34:20 | 2019-10-14T13:34:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 686 | hpp | #pragma once
// SCUM (Dumped by Hinnie) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
//Classes
//---------------------------------------------------------------------------
// BlueprintGeneratedClass Event_Wooden_Ar... | [
"hsibma02@gmail.com"
] | hsibma02@gmail.com |
570cd92a2c31ba1c1c4c906a887da465706338b9 | 7b9407ebcb241200b05f2054f3a484b21e36c53a | /Computer Science II/TicTacToeProject/TTT1.cpp | fd2d6f15e8eeaa235f5597570148a69cdace462b | [] | no_license | obilano/CSFiles | 9ad2ebc05b0d86ac8ec3514fa322a1db3591d26b | 58a3098cc3bcff76c653f51c8342f1486b2858e4 | refs/heads/master | 2022-05-29T11:50:44.124636 | 2020-05-01T01:57:47 | 2020-05-01T01:57:47 | 260,356,784 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,304 | cpp | /*********************************************************************
Programmer: Oberon Ilano
Author(s): Dr. Janet Jenkins, Oberon Ilano
Project: 2 - Tic Tac Toe
Description: This program wil allow users to play
a Tic Tac Toe game. This program will also
allow user to keep, show, and sa... | [
"obi.2010@live.com"
] | obi.2010@live.com |
91c31b31f944211a5c2e110287954e7bded07e69 | 435658d99db9b06d092c973602c9c3db3743ef04 | /include/SoT_OnlineSubsystem_structs.hpp | 64b94e0c2b62abd645b64e3e57c71fbeb400064c | [] | no_license | igromanru/SoT-SDK-compilable | ffaed840da65f76cde8d9391ea708b73ee37515c | 252aaaa3435ea75b33de5f941440fea650df28d2 | refs/heads/master | 2022-01-22T02:14:17.326666 | 2021-12-30T15:55:13 | 2021-12-30T15:55:13 | 176,750,213 | 5 | 15 | null | 2020-01-20T02:09:42 | 2019-03-20T14:20:38 | C++ | UTF-8 | C++ | false | false | 6,975 | hpp | #pragma once
// Sea of Thieves (2) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "SoT_Basic.hpp"
#include "SoT_OnlineSubsystem_enums.hpp"
#include "SoT_CoreUObject_classes.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Script Structs
//-----------... | [
"igromanru@yahoo.de"
] | igromanru@yahoo.de |
8f441252f4382227e3d21e7093ed9692daca8fd1 | a2808ac35b2a639e34d740cde5440511408560f5 | /common/configdb.cpp | ececb2d3ff57ffb59c7c7a9380b74de8230454ef | [
"LicenseRef-scancode-generic-cla",
"Apache-2.0"
] | permissive | cisco-aarhodes/sonic-swss-common | a172404ca8e689de006ad22523e15628267bb0b7 | c396ff7b9ecf6a0fe6ae53e84a3f3539dfc9a9a3 | refs/heads/master | 2023-05-26T16:25:26.437472 | 2023-05-17T07:58:41 | 2023-05-17T07:58:41 | 178,019,413 | 0 | 1 | NOASSERTION | 2019-03-27T15:09:34 | 2019-03-27T15:09:34 | null | UTF-8 | C++ | false | false | 15,628 | cpp | #include <boost/algorithm/string.hpp>
#include <map>
#include <vector>
#include "configdb.h"
#include "pubsub.h"
#include "converter.h"
using namespace std;
using namespace swss;
ConfigDBConnector_Native::ConfigDBConnector_Native(bool use_unix_socket_path, const char *netns)
: SonicV2Connector_Native(use_unix_soc... | [
"noreply@github.com"
] | cisco-aarhodes.noreply@github.com |
5411f7faef60f51bc7bac733308568127e68aff6 | d6b357680ef235122078bf07d56541f5c74df763 | /ass2_1.cpp | 67d075cada2953c83d694453f40a10bf2783d0f0 | [] | no_license | HarizAzrir/mars-rover-game | 1c1eb1a617884d998aa5cf19680453002393cd94 | 986d62de79bb8f98b63d3f5369289f9b443cd405 | refs/heads/main | 2023-03-23T04:36:26.480758 | 2021-03-14T08:59:04 | 2021-03-14T08:59:04 | 347,414,370 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27,035 | cpp | /********************************************
Course : TCP1101 Programming Fundamentals
Session: Trimester 2, 2020/21
Assignment: 2
Lecture Section : TC1V
Tutorial Section : TT1L
Name of Student #1 : AHMAD HARIZ IMRAN BIN AHMAD AZRIR
ID of Student #1 : 1191102257
Email of Student #1 : 1191102257@stud... | [
"noreply@github.com"
] | HarizAzrir.noreply@github.com |
53b971507233f005b3e50288199ec6b97569e474 | e8ff84ea02e29295499f3c229353906300fa6c40 | /CodeFuture/1-Test/QT/testBaseMuti/basechild.h | a2dad56f57638640a58ca8d8dec449469b519357 | [] | no_license | dayunxiang/gitDocTrack | 541adccfff04834cb699298f67079d76fb86347e | 837ce6d833665f11ac60e47d07bfb6056200f8c4 | refs/heads/master | 2021-01-06T23:20:15.924779 | 2018-08-28T01:42:14 | 2018-08-28T01:42:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 312 | h | #ifndef BASECHILD_H
#define BASECHILD_H
#include <QObject>
#include "base.h"
class BaseChild : public Base
{
public:
BaseChild();
int hideFun();
virtual int v_fun();
int customFun();
private:
int pFun();
virtual int v_pFun();
};
#endif // BASECHILD_H
| [
"pengwei940613@163.com"
] | pengwei940613@163.com |
5527af563b2722d985cd7f626fc4e3782c5ee226 | 5c93333a71b27cfd5e5a017f29f74b25e3dd17fd | /UVa/10129 - Play on Words.cpp | ed9614b3d82945bf232062d0c429041d18db1a8e | [] | no_license | sktheboss/ProblemSolving | 7bcd7e8c2de1f4b1d251093c88754e2b1015684b | 5aff87cc10036a0e6ff255ae47e68a5d71cb7e9d | refs/heads/master | 2021-05-29T03:29:28.980054 | 2015-03-11T10:06:00 | 2015-03-11T10:06:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,231 | cpp | #include <vector>
#include <list>
#include <map>
#include <set>
#include <queue>
#include <deque>
#include <stack>
#include <bitset>
#include <algorithm>
#include <functional>
#include <numeric>
#include <utility>
#include <sstream>
#include <iostream>
#include <iomanip>
#include <cstdio>
#include <cmath>
#include <cst... | [
"fci.islam@gmail.com"
] | fci.islam@gmail.com |
b71b96b22c32de9b32c93c512eb4e73d3b7eebaf | f00c7e2b2025a2795279676de527572588c17be7 | /Altis_Life_Heavy_Company_3.1.4.8.Altis/dialog/vehicleShop_old.h | 295865035ad8b8a4179e7a218578dade96befad3 | [] | no_license | DrCramer/Altis_Life_Heavy_Company | 82e09c6d63810241d70aa4f4788e0595ae765ee8 | 064512da1e51f2b38f093cfa85008bad75fdd04e | refs/heads/master | 2020-12-24T13:35:25.800751 | 2014-12-10T22:46:05 | 2014-12-10T22:46:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,436 | h | class Life_Vehicle_Shop_v2
{
idd = 2300;
name="life_vehicle_shop";
movingEnabled = 0;
enableSimulation = 1;
onLoad = "ctrlShow [2330,false];";
class controlsBackground
{
class Life_RscTitleBackground : Life_RscText
{
colorBackground[] = {0.039, 0.196, 0.51, 0.7};
idc = -1;
x = 0.1;
y = 0.2;
... | [
"cramerstation@gmail.com"
] | cramerstation@gmail.com |
701962aa8a6ba6f5a6a5631948f09a7ad296934a | 6da5140e9595582c2ab10f3a7def25115912973c | /5/02.mdi/Demo.07/MAINFRM.H | 3ed14c9d882b51ea27d25935b57bda798016c273 | [] | no_license | s1040486/xiaohui | 6df6064bb0d1e858429375b45418e4f2d234d1a3 | 233b6dfbda130d021b8d91ae6a3736ecc0f9f936 | refs/heads/master | 2022-01-12T07:10:57.181009 | 2019-06-01T04:02:16 | 2019-06-01T04:02:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,529 | h | // MainFrm.h : interface of the CMainFrame class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_MAINFRM_H__F9BB0CC8_3D20_11D2_BC46_0060970A2B51__INCLUDED_)
#define AFX_MAINFRM_H__F9BB0CC8_3D20_11D2_BC46_0060970A2B51__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif... | [
"haihai107@126.com"
] | haihai107@126.com |
54bca5b80647ae292aa183e318db6f55e5ce7003 | b6ff5e342f3675087d2704199bb5a46362b5fc20 | /1GI/S2/Méthodes de résolution/Souhail/jeuMoulin++/table.cpp | 74908e26ae5e7b52e3685489f73ae158a3ebe0fd | [] | no_license | Ssouh/EHTP | 75f5071282a1b0ed500d5c27e73b514fefe7af61 | 96558e59e398f652ae2e8a560b9dcd4ee3e8c6a8 | refs/heads/main | 2023-03-14T11:56:46.424726 | 2021-03-04T09:49:05 | 2021-03-04T09:49:05 | 330,687,825 | 0 | 0 | null | 2021-01-24T18:02:23 | 2021-01-18T14:15:22 | null | UTF-8 | C++ | false | false | 15,157 | cpp | #include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <windows.h>
#include <string.h>
#include <conio.h>
#include <vector> /// include vector https://www.geeksforgeeks.org/vector-in-cpp-stl/
using namespace std;
#include "Fonction.h"
int EI[7][7]= {{ -1, 10, 10, -1, 10, 10, -1},
... | [
"safi-bigg@live.fr"
] | safi-bigg@live.fr |
f687130ec37b8bb0728fb538ac3b42c940fa8cda | 344db7c30f7bf34d8ae20d5ed040280a8c038f9c | /PAT_Code-master/B1005.cpp | 5abcc0fa14ec48ec2fec6149a13c2ba35b4aa5c4 | [] | no_license | CoderDXQ/Brush-Algorithm-problem | 75d5a700eae5df8be600fea3a5427c94a9f941b9 | 78cf6a79c7c0fe1a9fc659101ba5ba9196912df5 | refs/heads/master | 2023-06-19T14:20:01.117764 | 2021-07-18T04:59:19 | 2021-07-18T04:59:19 | 253,854,814 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 807 | cpp | #include <cstdio>
#include <algorithm>
using namespace std;
bool cmp(int a, int b) {
return a > b;
}
int main() {
int n, m, a[110];
scanf("%d", &n);
bool HashTable[1000] = {0}; //1000不行就开10000,必过
for(int i = 0; i < n; i++) {
scanf("%d", &a[i]);
m = a[i];
while(m != 1) {
... | [
"794055465@qq.com"
] | 794055465@qq.com |
fa8378bb308600ef0263729b919cc8783016acf3 | 06bed8ad5fd60e5bba6297e9870a264bfa91a71d | /libPr3/qtsoundaudiofactory.cpp | 8a2c67c51b011830a4e87eeb02e71a8dde7e3d0c | [] | no_license | allenck/DecoderPro_app | 43aeb9561fe3fe9753684f7d6d76146097d78e88 | 226c7f245aeb6951528d970f773776d50ae2c1dc | refs/heads/master | 2023-05-12T07:36:18.153909 | 2023-05-10T21:17:40 | 2023-05-10T21:17:40 | 61,044,197 | 4 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 6,799 | cpp | #include "qtsoundaudiofactory.h"
#include "audiomanager.h"
#include "instancemanager.h"
#include "audio.h"
#include "qtsoundaudiobuffer.h"
#include "qtsoundaudiosource.h"
#include "qtsoundaudiolistener.h"
#include <QAudioDeviceInfo>
#include "mixer.h"
/*private*/ /*volatile*/ /*static*/ Mixer* QtSoundAudioFactory::_mi... | [
"allenck@windstream.net"
] | allenck@windstream.net |
8f92cfe7e3ad9e70b66c05c882d33c552e72a78f | 2ef43ed8cd2670d100cdec1c74b72dc400abd9fd | /src/objects.h | 0a1cf55fcafbb883704caed76d9a1889fb377a69 | [] | no_license | lawu103/tiny_raytracer | aedd43ec8e998e579d4fd0a948cc0055ac08fbd4 | 9d5a2e105d9db1619a8fb8498eec3ba10f4e03e3 | refs/heads/master | 2023-06-07T23:31:31.830568 | 2021-06-19T14:52:10 | 2021-06-19T14:52:10 | 303,430,453 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,390 | h | /*
* objects.h
*
* Created on: Sep. 28, 2020
* Author: lawu103
*/
#ifndef OBJECTS_H_
#define OBJECTS_H_
#include "geometry.h"
class Sphere {
private:
Vec3f center;
float radius;
Vec3f color;
float specular;
float reflective;
public:
Sphere(): center(0, 0, 0), radius(0), color(255, 0, 0), specular(0... | [
"l58wu@uwaterloo.ca"
] | l58wu@uwaterloo.ca |
ae3c0b991bec1c8d1db3198b8472776d201d9405 | 7f69e98afe43db75c3d33f7e99dbba702a37a0a7 | /src/plugins/thirdParty/LLVM/include/llvm/Support/raw_ostream.h | b0e3796cb4cd4681516204aceae46cf0ba4a3ee6 | [
"Apache-2.0"
] | permissive | hsorby/opencor | ce1125ba6a6cd86a811d13d4b54fb12a53a3cc7c | 4ce3332fed67069bd093a6215aeaf81be81c9933 | refs/heads/master | 2021-01-19T07:23:07.743445 | 2015-11-08T13:17:29 | 2015-11-08T13:17:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,946 | h | //===--- raw_ostream.h - Raw output stream ----------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"agarny@hellix.com"
] | agarny@hellix.com |
a434132ec730ff643d5c7821172262422d5a3e10 | fe0072fb695126aa5a4d6efd08828975d04cfb80 | /set、multiset/set、multiset/源.cpp | 065ff1d20c5dc4e5310941e99b73ee72bf660643 | [] | no_license | smx7/CPlusPlus | 6ef1bd6aab9ddea51962e508511db8abc71bc77e | 7c4cd6522e5132e598d1ed129569643a23cf54a1 | refs/heads/master | 2020-04-15T00:03:26.172291 | 2019-02-26T11:40:08 | 2019-02-26T11:40:08 | 164,226,880 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,217 | cpp | #include<iostream>
#include<set>
using namespace std;
template<class T>
void print(set<T>& s)
{
set<T>::iterator it = s.begin();
while (it != s.end())
{
cout << *it << " ";
it++;
}
cout << endl;
}
void testset1()
{
set<int> s1;
set<int> s2{
{ 2 }, { 4 }, { 1 }, { 1 },{ 6 }
, { 3 }, {... | [
"noreply@github.com"
] | smx7.noreply@github.com |
f523cb5fc8d274ab9d60a952a8f4556a491816c6 | 35635422101e1c0e4142ca1e176c5d976a6a6ff2 | /deps/glm.9.9.5/glm_inn/detail/type_mat4x4.hpp | e67f4ea3f90f3f21bb9253a10503849ac282bf77 | [
"BSD-3-Clause"
] | permissive | wanghaoxin1991/tprPix | e9ac6078dcf104b89e7db8bc6e973b47d4a46bfc | 877d2f3bcd2028b28f575deebf37bf7d19d1da52 | refs/heads/master | 2021-05-25T17:27:13.564129 | 2020-04-08T22:08:00 | 2020-04-08T22:08:00 | 253,843,248 | 0 | 0 | null | 2020-04-07T15:58:08 | 2020-04-07T15:58:08 | null | UTF-8 | C++ | false | false | 13,738 | hpp | <<<<<<< HEAD
/// @ref core
/// @file glm/detail/type_mat4x4.hpp
#pragma once
#include "type_vec4.hpp"
#include <limits>
#include <cstddef>
namespace glm
{
template<typename T, qualifier Q>
struct mat<4, 4, T, Q>
{
typedef vec<4, T, Q> col_type;
typedef vec<4, T, Q> row_type;
typedef mat<4, 4, T, Q> type;
... | [
"wanghaoxin8@163.com"
] | wanghaoxin8@163.com |
b8b5f52794142b4817bcb0d99093910650dd2c3a | 9a3b9d80afd88e1fa9a24303877d6e130ce22702 | /src/Providers/UNIXProviders/DiskGroup/UNIX_DiskGroup_HPUX.hxx | 637dd8dc98abe1f638b1ca475fe32f94d59e030b | [
"MIT"
] | permissive | brunolauze/openpegasus-providers | 3244b76d075bc66a77e4ed135893437a66dd769f | f24c56acab2c4c210a8d165bb499cd1b3a12f222 | refs/heads/master | 2020-04-17T04:27:14.970917 | 2015-01-04T22:08:09 | 2015-01-04T22:08:09 | 19,707,296 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,802 | hxx | //%LICENSE////////////////////////////////////////////////////////////////
//
// Licensed to The Open Group (TOG) under one or more contributor license
// agreements. Refer to the OpenPegasusNOTICE.txt file distributed with
// this work for additional information regarding copyright ownership.
// Each contributor lice... | [
"brunolauze@msn.com"
] | brunolauze@msn.com |
f93bc4944b9969a7bf74ef06b5e459998403df17 | 8a5138bab0e35eb33c5dd141a0e7ec784285cb53 | /Problem 18.cpp | 44ac1020b701d2de882efa8e92738c7de28fa674 | [] | no_license | prabodhw96/ProjectEuler | a0d387ed1225bbfe0e7703643b6f3c2495e2e82d | 6e69fe30714ed48026fa6a16b16596ddc6e36bb2 | refs/heads/master | 2020-04-24T20:25:50.251661 | 2019-03-02T10:05:44 | 2019-03-02T10:05:44 | 172,243,223 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,154 | cpp | #include <iostream>
#include <algorithm>
using namespace std;
int main()
{
int tri_num[15][15] = {
{75, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{95, 64, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{17, 47, 82, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{18, 35, 87, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
... | [
"prabodhwankhede1996@gmail.com"
] | prabodhwankhede1996@gmail.com |
6025d90b65ffb63d16e1bc0775f22f3e67ae04d2 | 61b7f668639498fd1301b8973fe4146de4b71211 | /Code/HomingEnemy.cpp | 8ce6d9870b2d85ffd48982e8731ff31f173faea5 | [] | no_license | BenDB925/Bullet-Crush | 476e0c07f5f8ea91d3bacbbb254d86b5466eaa7f | 7507810a6ec7d4fe27d0e92ad4e793ac4d6e8575 | refs/heads/master | 2016-09-01T07:40:56.401898 | 2015-12-14T13:10:50 | 2015-12-14T13:10:50 | 45,038,905 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,314 | cpp | #include "stdafx.h"
#include "HomingEnemy.h"
const float HomingEnemy::m_ACCEL = 0.00001;
const float HomingEnemy::m_MAX_SPEED = 0.0005;
const float HomingEnemy::m_COLLISIONBOXSIZE = 50;
float myDistFormula(sf::Vector2f x, sf::Vector2f y)
{
float distance, tempx, tempy;
tempx = (x.x - y.x);
tempx = pow(tempx, 2.0f)... | [
"bendb923@gmail.com"
] | bendb923@gmail.com |
e04dedc26d79393dc6432a7967e04a534be688bf | d1cee40adee73afdbce5b3582bbe4761b595c4e1 | /back/RtmpLivePushSDK/boost/boost/ratio/ratio_static_string.hpp | 4b7e66db12a6f8ead9a09635a383d41037ac9904 | [
"BSL-1.0"
] | permissive | RickyJun/live_plugin | de6fb4fa8ef9f76fffd51e2e51262fb63cea44cb | e4472570eac0d9f388ccac6ee513935488d9577e | refs/heads/master | 2023-05-08T01:49:52.951207 | 2021-05-30T14:09:38 | 2021-05-30T14:09:38 | 345,919,594 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,951 | hpp | // ratio_io
//
// (C) Copyright 2010 Vicente J. Botet Escriba
// Use, modification and distribution are subject to the Boost Software License,
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt).
//
// This code was adapted by Vicente from Howard Hinnant's exp... | [
"wenwenjun@weeget.cn"
] | wenwenjun@weeget.cn |
cfb98aea49cb86ac17f3de55b8a83c16f5c57c5d | 5390eac0ac54d2c3c1c664ae525881fa988e2cf9 | /include/Pothos/serialization/impl/mpl/sort.hpp | bdac8ad0e791545d0ac96a80b2a077b26f2d1213 | [
"BSL-1.0"
] | permissive | pothosware/pothos-serialization | 2935b8ab1fe51299a6beba2a3e11611928186849 | c59130f916a3e5b833a32ba415063f9cb306a8dd | refs/heads/master | 2021-08-16T15:22:12.642058 | 2015-12-10T03:32:04 | 2015-12-10T03:32:04 | 19,961,886 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 761 | hpp |
#ifndef POTHOS_MPL_SORT_HPP_INCLUDED
#define POTHOS_MPL_SORT_HPP_INCLUDED
// Copyright Eric Friedman 2002-2003
// Copyright Aleksey Gurtovoy 2004
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// See h... | [
"josh@joshknows.com"
] | josh@joshknows.com |
fb299b68dfc9309bc3d47e3656859a60dac94e63 | a1620e869cd9542a334d2e118d2ea7ceb7c1a535 | /OpenGLTheCherno/src/Shader.h | e32d300f560f5f213d35c5b29101cbc9b4ab96a5 | [] | no_license | Xertor/OpenGLTheCherno | a83010bea5eaf3c8c8b83bd1752bd17ddf97af81 | f0c811b5de0be050138a31b6f2a7d626aab9968a | refs/heads/master | 2022-11-07T22:34:56.350890 | 2020-06-22T00:42:42 | 2020-06-22T00:42:42 | 255,145,807 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,017 | h | #pragma once
#include <string>
#include <unordered_map>
#include "glm/glm.hpp"
struct ShaderProgramSource
{
std::string VertexSource;
std::string FragmentSource;
};
class Shader
{
private:
std::string m_Filepath;
unsigned int m_RenderID;
// caching for uniforms
std::unordered_map<std::string, int> m_UniformLo... | [
"marsp@abv.bg"
] | marsp@abv.bg |
a25ee5e43899b03b21c864897b0da53566d42721 | ceb4e487773685b116127dc2e2bcfc047cfc52fc | /cpp/gtest_all.cpp | 7585e43872bb90c998bd5582dd0fab057c356334 | [
"MIT"
] | permissive | emilybache/Tennis-Refactoring-Kata | 182642b952fca63ca9782bce2aeb9df0e682ad52 | f196fb3dbb94848ffd0d69bc2b952df744c99bf1 | refs/heads/main | 2023-08-26T09:35:36.716013 | 2023-08-14T07:12:28 | 2023-08-14T07:12:39 | 10,599,822 | 608 | 1,108 | MIT | 2023-09-05T12:10:58 | 2013-06-10T12:36:08 | TypeScript | UTF-8 | C++ | false | false | 3,077 | cpp | //
// Created by Anders Arnholm on 2020-12-04.
//
#include <string>
#include <gtest/gtest.h>
const std::string tennis_score(int p1Score, int p2Score);
TEST(TennisTest, LoveAll_0_0) {
EXPECT_EQ("Love-All", tennis_score(0, 0));
}
TEST(TennisTest, FifteenAll_1_1) {
EXPECT_EQ("Fifteen-All", tennis_score(1, 1));
}
TEST... | [
"anders.arnholm@hiq.se"
] | anders.arnholm@hiq.se |
5648e41dd396f64200800205f031b642448d8db8 | d939ea588d1b215261b92013e050993b21651f9a | /lighthouse/src/v20200324/model/Bundle.cpp | 6319162ddb579d195462dcf181b8d4d723fc47b3 | [
"Apache-2.0"
] | permissive | chenxx98/tencentcloud-sdk-cpp | 374e6d1349f8992893ded7aa08f911dd281f1bda | a9e75d321d96504bc3437300d26e371f5f4580a0 | refs/heads/master | 2023-03-27T05:35:50.158432 | 2021-03-26T05:18:10 | 2021-03-26T05:18:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,297 | cpp | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | [
"tencentcloudapi@tenent.com"
] | tencentcloudapi@tenent.com |
d854844c5ed286065e0bfdf381b468d16b2ff3a6 | cbd2a87e64c0338e5c0a0ef4f98dccfb8452c687 | /src/marnav/nmea/dbk.cpp | d041d5e8b6e2ac99cddc31e81004b12979b0b56f | [
"BSD-3-Clause",
"BSD-4-Clause"
] | permissive | mb12/marnav | 194c87279e8aa329d530ee9b7125b7fdc64bf4f2 | 4eb797488c734c183c2a4e4c22158891cd80d2e8 | refs/heads/master | 2021-01-24T23:34:31.791011 | 2016-01-11T10:52:25 | 2016-01-11T10:52:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,401 | cpp | #include "dbk.hpp"
#include <marnav/nmea/io.hpp>
#include <marnav/utils/unique.hpp>
namespace marnav
{
namespace nmea
{
constexpr const char * dbk::TAG;
dbk::dbk()
: sentence(ID, TAG, talker_id::integrated_instrumentation)
{
}
void dbk::set_depth_feet(double t) noexcept
{
depth_feet = t;
depth_feet_unit = unit::... | [
"mario.konrad@gmx.net"
] | mario.konrad@gmx.net |
c6be8641e4c16986a539123e925f1af4d6ef6b92 | c5cb356ccd642e707ba30148bee1590601f407d9 | /SINGLE_SOURCE_SHORTEST_PATH_DIJKSTRA_ALGO_WITH_ADJACENCY_LIST.cpp | cb3a3fa254f3b1a348c4f0194501ff9171b08f77 | [] | no_license | chaudhary19/CP-Algorithms-in-C_plus-plus | 90b4ae97752bc77f2df92d8c796c86c28b67532d | 0a4f7b5f6bf96bd7f92f81ce9d7b17ba27a29720 | refs/heads/master | 2023-08-29T21:04:06.424132 | 2021-10-22T06:33:58 | 2021-10-22T06:33:58 | 300,290,438 | 0 | 0 | null | 2020-10-01T13:31:57 | 2020-10-01T13:31:57 | null | UTF-8 | C++ | false | false | 4,409 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
// Given a weighted graph, can be directed or undirected but has to be strongly connected graph
// We have to find SINGLE SOURCE SHORTEST PATH
// That means, from one source node, we have to find shortest path to reach all other nodes
// We w... | [
"noreply@github.com"
] | chaudhary19.noreply@github.com |
694c5831e299ef953015fbd3ccd0a1c618ea2d4b | 3ff1fe3888e34cd3576d91319bf0f08ca955940f | /tcm/src/v20210413/model/DescribeMeshListResponse.cpp | 0a4b30487da457b58d31547b00885f81ce875f74 | [
"Apache-2.0"
] | permissive | TencentCloud/tencentcloud-sdk-cpp | 9f5df8220eaaf72f7eaee07b2ede94f89313651f | 42a76b812b81d1b52ec6a217fafc8faa135e06ca | refs/heads/master | 2023-08-30T03:22:45.269556 | 2023-08-30T00:45:39 | 2023-08-30T00:45:39 | 188,991,963 | 55 | 37 | Apache-2.0 | 2023-08-17T03:13:20 | 2019-05-28T08:56:08 | C++ | UTF-8 | C++ | false | false | 5,290 | cpp | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | [
"tencentcloudapi@tencent.com"
] | tencentcloudapi@tencent.com |
6016b92ee913279597800ffc95da274aedf112cf | 80553401d0d0b3db79be2f8db23f62c6cda7ffbd | /src/h/Plate.h | dea36e699faaaa4afdf545fdbe294e6b3ac4d300 | [] | no_license | fem-team/stappp | b3dc45adfde8ac6e89231e1a834e984a67ef7b14 | 974c37641b645bd982023c5b6b4e5aec6bc98391 | refs/heads/master | 2020-04-27T08:20:53.167506 | 2019-05-15T07:04:48 | 2019-05-15T07:04:48 | 174,167,671 | 0 | 1 | null | 2019-03-06T15:10:44 | 2019-03-06T15:10:44 | null | GB18030 | C++ | false | false | 1,742 | h | /*****************************************************************************/
/* STAP++ : A C++ FEM code sharing the same input data file with STAP90 */
/* Jinliang Kang promoted */
/* School of Aerospace Engineering, Tsinghua University */
... | [
"kang-jl16@mails.tsinghua.edu.cn"
] | kang-jl16@mails.tsinghua.edu.cn |
40965db993666ac69209bcad772054da1e49a31b | 49fa495d4ae473539b8326d2ae7b1d70d213c863 | /ComputerGraphics/curve.h | f1bdff634fe33286e16730e3b2a5cf8845eb3b4f | [] | no_license | akuxcw/ComputerGraphic | 70786a4fcc27c3d86a2225dc72dec57687aa1d27 | fde64f15360e075a64d8d2bbc9dcaadbf45102bc | refs/heads/master | 2020-12-02T22:46:46.302428 | 2017-07-04T06:14:13 | 2017-07-04T06:14:13 | 96,181,244 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,426 | h | #ifndef __CURVE_H_
#define __CURVE_H_
#include "graph.h"
#define NODENUM 20
class Curve : public Graph{
private:
public:
Curve(Point p) {
this->vertex.push_back(p);
type = TYPECURVE;
}
Curve() {
type = TYPECURVE;
}
void DrawP(int px, int py, int cx, int cy) {
DrawPoint(px, py);
if (px >= cx - 5 && px <... | [
"陈鹏光"
] | 陈鹏光 |
09386e714c4702b134dfd17e1357f3aab2c958a9 | def01884ab644c607ae948f7323afe2bea15bff2 | /AUI.Core/src/AUI/Util/LZ.cpp | 87e9418784f92002a4d003b2fd788f5c60bfcd5a | [
"MIT"
] | permissive | lineCode/aui-1 | be2654156d6d36e4a31618b212d6f845c557c9ea | c2d82f8a040e3028adb2d63fd6b62ea1662413e7 | refs/heads/master | 2023-05-12T16:26:00.221734 | 2021-06-01T21:37:41 | 2021-06-01T21:37:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,617 | cpp | /**
* =====================================================================================================================
* Copyright (c) 2021 Alex2772
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
* documentation files (the "Software"), to deal... | [
"alex2772sc@gmail.com"
] | alex2772sc@gmail.com |
375fd5f4b4f1733d083061ca5c5276864b252c4a | bf46ead26b9550c92c1f4cb81ff0bb553471ce8f | /src/hash.h | 014232b32d3572277d04a3e3fbadc4aeb9db74f9 | [
"MIT"
] | permissive | HondaisCoin/hondaiscoinmn | afeadfa0a34c6b5aafb2f5f89f7d1b36a77a2ee3 | 5b159940ee12ff8886ef21498dfddffb4ac76b1a | refs/heads/master | 2020-08-29T03:44:24.444315 | 2019-10-27T20:59:52 | 2019-10-27T20:59:52 | 217,913,441 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 14,611 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2015 The Bitcoin Core developers
// Copyright (c) 2014-2017 The Dash Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_HASH_H
#defin... | [
"you@example.com"
] | you@example.com |
071a3f98d5100ffca8f6ccc4f18457a167620066 | d32a86b54095bbf7886350932d5173493a1c8dd3 | /DegreeRadianJ_Branson.cpp | a1324ca6a0ce28422c3d1e4572f8085926f76699 | [] | no_license | Jbranson85/Cplusplus-ERG-126 | 01ba685dd35683f35816d88a7b7ba097ed6f8f67 | 254da0479516726bebddbf9dcdc8fa00a3ef4f3f | refs/heads/master | 2020-03-15T22:22:34.580121 | 2018-05-06T20:13:22 | 2018-05-06T20:13:22 | 132,371,969 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 320 | cpp | #include <iostream>
//Jonathan Branson
using namespace std;
int main()
{
cout << "Degrees Radians\n"
<< "0 0.0000\n"
<< "90 1.5708\n"
<< "180 3.1416\n"
<< "270 4.7124\n"
<< "360 6.2832\n";
return 0;
}
| [
"noreply@github.com"
] | Jbranson85.noreply@github.com |
e908a0183bdd999a36d3ab41e052eb1efb2ebf2c | 634120df190b6262fccf699ac02538360fd9012d | /Develop/Game/XCursorSmartReleaser.cpp | 266cfef6fdda54686f6b4aa984f95444f13d18da | [] | no_license | ktj007/Raiderz_Public | c906830cca5c644be384e68da205ee8abeb31369 | a71421614ef5711740d154c961cbb3ba2a03f266 | refs/heads/master | 2021-06-08T03:37:10.065320 | 2016-11-28T07:50:57 | 2016-11-28T07:50:57 | 74,959,309 | 6 | 4 | null | 2016-11-28T09:53:49 | 2016-11-28T09:53:49 | null | UHC | C++ | false | false | 2,211 | cpp | #include "stdafx.h"
#include "XCursorSmartReleaser.h"
#include "XUISystem.h"
#include "XController.h"
#include "XMyPlayer.h"
void XCursorSmartReleaser::Update( float fDelta, XCursor* pCursor, XUISystem* pUISystem, XController* pController )
{
if (IsUpdateEnabled(pCursor, pUISystem, pController) == false)
{
m_fElap... | [
"espause0703@gmail.com"
] | espause0703@gmail.com |
9422920e66af19312822bdfa978972d1fe9dd083 | 4d2be893f0f347af1d42bb2e9e5d13a3bceff5ca | /Febuary Leetcode challenge/Week 1/Week 2/Number of Steps to Reduce a Number to Zero.cpp | dff1b6d99947cff32e2284de25d22792bb95a5cb | [] | no_license | Ishankochar99/Leetcode | 66019b30f499c5d9bd84edf27870c3fa332cd39b | cb33c4dde3f3091e3d9917cc37fc9a25d20b6a0a | refs/heads/master | 2023-05-12T00:14:51.882383 | 2021-06-03T08:12:21 | 2021-06-03T08:12:21 | 292,915,801 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 315 | cpp | class Solution {
public:
int numberOfSteps (int num) {
int sum=0;
while(num!=0){
if(num%2==0){
num=num/2;
sum++;
}else{
num=num-1;
sum++;
}
}
return sum;
}
};
| [
"noreply@github.com"
] | Ishankochar99.noreply@github.com |
ae99285a168603f7c095e3eaa64a5558e431cc02 | 57b4fe01eb4d7a8fb40c476a82ef5980a0f6690d | /20_point.cpp | 423b4bad72fdd118e411c9b3e672914c48a70f2e | [] | no_license | RazielSun/glut-tutorials | f82bf211d0d19bcd148d38db29ec95ebc47645e7 | 93ce2c7c964d51f5f58c6896cee46fcf2a135a67 | refs/heads/master | 2020-02-26T15:22:11.948768 | 2017-01-09T19:41:30 | 2017-01-09T19:41:30 | 70,258,209 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,542 | cpp |
#include <assert.h>
#include <math.h>
#include "utils/util_3d.h"
#include "utils/util_camera.h"
#include "utils/util_pipeline.h"
#include "utils/util_texture.h"
#include "utils/util_light.h"
#include <iostream>
#include <GL/glew.h>
#include <SDL2/SDL.h>
#include <OpenGL/gl.h>
#include <OpenGL/glu.h>
#define WINDOW_W... | [
"razielsun@gmail.com"
] | razielsun@gmail.com |
d0176ba96f6b7a70a7a427f3d3a1fd48f17cf219 | 57fa84e55f5944a435ec2510bfc9a64532ab9d92 | /src/qt/optionsdialog.h | fedfe5baf179b7e4507be9b654ef741dbb6a6896 | [
"MIT"
] | permissive | barrystyle/deftchain-0.17 | 133d3bffec152738166a01bd14d6d2a26962432a | d93b9307d8919117b10129a2828cb98833a1c9a1 | refs/heads/master | 2020-04-17T01:26:28.232962 | 2018-09-30T12:18:20 | 2018-09-30T12:20:27 | 166,091,970 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,798 | h | // Copyright (c) 2011-2018 The Bitcoin Core developers
// Copyright (c) 2018 The Deftchain developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef DEFTCHAIN_QT_OPTIONSDIALOG_H
#define DEFTCHAIN_QT_OPTIONSDIALOG_H
#in... | [
"barrystyle@westnet.com.au"
] | barrystyle@westnet.com.au |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.