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 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
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 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
fcfae6f96b83a76e992429847beffe65c46da050 | 6047b3b605e47692af45f5c49869fa0cc409d46a | /chrome/browser/ui/views/overlay/overlay_window_views.h | f0a4fec9b51edffab1031e418a0b6df3be9e5385 | [
"BSD-3-Clause"
] | permissive | liglee/chromium | 87d9dfd6c513cf456edb600080354b77fe56bd62 | 1b6d8638caf9c57f132175426f795a10eb4c769c | refs/heads/master | 2023-03-03T13:15:38.361656 | 2018-04-24T08:27:31 | 2018-04-24T08:27:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,525 | h | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_UI_VIEWS_OVERLAY_OVERLAY_WINDOW_VIEWS_H_
#define CHROME_BROWSER_UI_VIEWS_OVERLAY_OVERLAY_WINDOW_VIEWS_H_
#include "content/public/... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
35b4df56d927df86e0ac27fcf8ed79d7551a6134 | d114891078cb1954594daeaa4c0be5716859918a | /LabWork4/Cylinder.cpp | 48b99fa48f71c1c391441b58d524e33fc071e5ff | [] | no_license | LevKostychenko/4LabWork | 9896b249ea24df178f24b4a9d2787f972ca29bac | 5387b16ed067eb1c598197001ff7e38367274b37 | refs/heads/master | 2020-08-05T17:34:10.172894 | 2019-10-03T17:15:42 | 2019-10-03T17:15:42 | 212,635,398 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 826 | cpp | #include "pch.h"
#include "Cylinder.h"
Cylinder::Cylinder(double xa, double ya, double za,
double xb, double yb, double zb,
double xc, double yc, double zc)
{
this->Radius = sqrt(pow((xa - xb), 2) + pow((ya - yb), 2) + pow((za - zb), 2));
this->Height = sqrt(pow((xa - xc), 2) + pow((ya - yc), 2) + pow((za - zc), ... | [
"lev.kostychenko@gmail.com"
] | lev.kostychenko@gmail.com |
40fe2b944f793c7af7e56b5f38e4d7986d8f80b1 | b3ab2120518a1b2d211d40324985374bae8458fa | /ReverseCuthillMcKee.cpp | bc29a38b0d7801b19d241bde6d3051e068b68992 | [] | no_license | evalen43/ReverseCuthillMcKee | 2b82e2f2d12a72214b98e542c85334ee94fb2c0b | decade3789af136a8180dde7b15ffe6f8f4f1b11 | refs/heads/master | 2023-05-30T03:05:14.369235 | 2021-06-15T02:28:29 | 2021-06-15T02:28:29 | 375,798,865 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,794 | cpp | // ReverseCuthillMcKee.cpp : This file contains the 'main' function. Program execution begins and
// ends there. C++ program for Implementation of Reverse Cuthill Mckee Algorithm
#include <iostream>
#include <stdio.h>
#include <fstream>
#include <vector>
#include <queue>
#include <string>
using namespace std;
vector<i... | [
"edvallen@hotmail.com"
] | edvallen@hotmail.com |
f6790595031dd8bc715a27ea191136cea2a45dc3 | 9c308bab9621c8a2a9e5b43016f0b5c14722a0f5 | /Syncer.cpp | 40d1f36e32d9c411a1fdb6c3a4c98ee31c28c2a4 | [] | no_license | Maniulo/FFmpeg-SDL-tutorial | c01d3fc5035898d148e0ab288d90f45565acfcaa | dd7586c6c6985bf094d9dcd4521d08dcdcd74cc7 | refs/heads/master | 2021-01-22T22:21:21.452219 | 2013-10-09T19:17:47 | 2013-10-09T19:17:47 | 12,451,820 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,244 | cpp | extern "C"
{
#include <libavcodec/avcodec.h>
#include <libavformat/avformat.h>
#include <libswscale/swscale.h>
#include <libavutil/mem.h>
#include <libavutil/time.h>
}
#include "Video.cpp"
#include "Audio.cpp"
/* no AV sync correction is done if below the AV sync threshold */
#define AV_SYNC_THRESHOLD 0.01
/* no... | [
"m.mezhenin@gmail.com"
] | m.mezhenin@gmail.com |
055519c22765e7c9c479d38ea79d8178633116aa | a6a2227aabdc178696aaf47d6f0beda4f659b0c8 | /jul17&18/509_A.cpp | 2fa7da8a5503fb96ffa2c9a1266ac3e5ebbe512b | [] | no_license | girach/codeforces | 2f49c674d0daa39ca389be901a08344be834cc2f | 8808180d8ba9ebc739db235cc17b7e91c2f71975 | refs/heads/master | 2020-03-21T08:52:03.358029 | 2018-06-23T19:08:58 | 2018-06-23T19:08:58 | 138,370,109 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 264 | cpp | #include<iostream>
using namespace std;
int main() {
int n;
cin >> n;
int a[n][n] = {0};
for (int i=0;i<n;i++) {
a[i][0]= a[0][i] = 1;
}
for (int i=1;i<n;i++) {
for (int j=1;j<n;j++) {
a[i][j] = a[i-1][j]+a[i][j-1];
}
}
cout << a[n-1][n-1];
} | [
"mdbilalgirach7@gmail.com"
] | mdbilalgirach7@gmail.com |
fc77e6af2d3e9861820a216456a8fd973d190e83 | 57cd5d90e13bedf4f66c2dd3d5b73f298c55f024 | /GraphicEQ/Source/FilterComponent.h | 2bba17ce48db85cead81bbeac25c99185c9e5267 | [] | no_license | YanlanCai/GraphicEQ-1 | 2a9fa4a2deeeebfb418efed933e6a10aea0e3e18 | 308d34b5e09e7c3f71c2752c42699c1d6ff2f7da | refs/heads/master | 2023-03-01T22:03:48.052673 | 2021-02-10T21:34:43 | 2021-02-10T21:34:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,612 | h | /*
==============================================================================
FilterComponent.h
Created: 22 Dec 2020 1:15:04pm
Author: Arron Shah
==============================================================================
*/
#pragma once
#include <JuceHeader.h>
#include "Filter.h"... | [
"arron.shah@gmail.com"
] | arron.shah@gmail.com |
a780b5814a82e3450d15381db8f45d12581f674b | 27ccf4415efbbe538a2667a6b857c100656782ed | /01_baekjoon/01_BOJ_Step/Steps/Steps/Step14(Sorting)/Step14_08_1181.cpp | 1273bf99a1d5004fdb771a10e0617b59be1c19a9 | [] | no_license | WONILLISM/Algorithm | 315cc71646ee036ad3324b2a12ca51a7ea3c4ff3 | 82b323c0dc1187090a85659ed09a6ef975ce3419 | refs/heads/master | 2020-06-15T02:54:39.995963 | 2020-04-28T12:07:58 | 2020-04-28T12:07:58 | 194,092,117 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,218 | cpp | #include<cstdio>
#include<iostream>
#include<vector>
#include<string>
#include<queue>
#include<deque>
#include<algorithm>
#define endl '\n';
#define ll long long
#define PII pair<int,int>
using namespace std;
const int MAX = 51;
char board[MAX][MAX];
int visit[MAX][MAX];
int N, M, sx, sy, ans = 32;
int dx[] = { 1,0 ... | [
"wonillism@gmail.com"
] | wonillism@gmail.com |
249a50317f879cce702d47aa1b91278364fd16dc | 3b1d3e85f0ef77f5dafdd3b6e3414f2defdbbc48 | /crypto_break/crypto.cpp | 180547571bfb0172e421532aea4d582b5bf57cb1 | [] | no_license | ilovepi/crypto_break | 32d5c73339dc3f89a3fd68db090255a49bc0fff0 | 001d72c8d74fdccf92fc026adf338e325d21b7cb | refs/heads/master | 2016-09-02T05:17:45.915183 | 2015-10-22T06:25:03 | 2015-10-22T06:25:03 | 26,564,651 | 0 | 0 | null | 2014-11-22T01:09:07 | 2014-11-13T01:27:33 | C++ | UTF-8 | C++ | false | false | 6,851 | cpp | #include "crypto.hpp"
crypto::crypto()
{
top_alpha = "etaoinshr";
std::ifstream infile("dictionary.txt");
std::string word;
while (getline(infile, word))
dict.insert(std::make_pair(word, word.size()*word.size()));
infile.close();
}
crypto::~crypto(){}
char crypto::incr(char c)
{ return (char)('a' + ((c-'a... | [
"pk1574@gmail.com"
] | pk1574@gmail.com |
4c6f7c2c77b1a6b657b03e98084a5dbbb24e25ba | f1deaf930b567e4aa607d5701268a7e376ca2c88 | /MotorDriver.h | feab2f2b641adfea4b414a665ddeff51d4a8bcac | [] | no_license | chriswood/MotorDriver | 86fffb5dd263e30f8def7c0f0780f5674fb6576f | dc9535ec9801de780b225a443ea8a13242edb543 | refs/heads/master | 2016-09-11T05:06:54.014811 | 2015-04-18T03:48:26 | 2015-04-18T03:48:26 | 34,117,003 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 939 | h | #ifndef __MOTORDRIVER_H__
#define __MOTORDRIVER_H__
#include <Arduino.h>
/******Pins definitions*************/
#define MOTORSHIELD_IN1 8
#define MOTORSHIELD_IN2 11
#define MOTORSHIELD_IN3 12
#define MOTORSHIELD_IN4 13
#define SPEEDPIN_A 9
#define SPEEDPIN_B 10
/**************Motor ID**********************/
... | [
"chris314159@gmail.com"
] | chris314159@gmail.com |
f7d8a76678ad68320f9f6816694765046190c0aa | b269392cc4727b226e15b3f08e9efb41a7f4b048 | /POJ/POJ 1127.cpp | b29db4c8235fb0922ff55a0cd0b0ae5e8f973158 | [] | no_license | ThoseBygones/ACM_Code | edbc31b95077e75d3b17277d843cc24b6223cc0c | 2e8afd599b8065ae52b925653f6ea79c51a1818f | refs/heads/master | 2022-11-12T08:23:55.232349 | 2022-10-30T14:17:23 | 2022-10-30T14:17:23 | 91,112,483 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,047 | cpp | #include <iostream>
#include <cstdio>
#include <cstring>
#include <algorithm>
using namespace std;
#define EPS 1e-10
typedef double Type;
int sign(Type x)
{
return x<-EPS?-1:(x>EPS?1:0);
}
struct Point
{
Type x,y;
Point(Type x,Type y):x(x),y(y) {}
Point() {}
void read()
{
scanf("%lf ... | [
"1273789365@qq.com"
] | 1273789365@qq.com |
bdf079fa8366f70ab65937df0f948ba9c6ff5f6c | bd6547aa8d6a4bf6c251a75fd04bf1ff413655d2 | /Robot/TCD/FrameTaskDman/DialogTask/TaskSpecification/TSNonOnlineBusiness.h | a34f9a0dd7f217c790fe0c071d92bd76926ee95e | [] | no_license | semanticparsing/navigation_code | 8c324f9ef6bb96d0fce013c08e44481d2019214e | 1a7388f24dfe3f194643be316de5d92bfc213c71 | refs/heads/master | 2020-03-25T08:12:45.956783 | 2018-07-13T10:03:38 | 2018-07-13T10:03:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 372 | h | // Author : zhangxuanfeng
// Email : zhangxuanfeng@trio.ai
// Date : 2018-05-08 14:30
// Description: 未上线业务
#ifndef _TS_NON_ONLINE_BUSINESS_H__
#define _TS_NON_ONLINE_BUSINESS_H__
#include "Robot/TCD/FrameTaskDman/DMCore/Core.h"
#include "Robot/TCD/FrameTaskDman/DMCore/Agents/AllAgents.h"
namespace TrioTDM {
voi... | [
"hitdzl@gmail.com"
] | hitdzl@gmail.com |
ef3f3b8aeaf2e291b6ac5ee5ec37668631c8bf17 | 44be718d2e94b50a343b40b86a902bccd0975086 | /include/Missile.hpp | 7e9ade990af36c0fc1c058ace3dccb6cfec913cd | [] | no_license | hackora/vr-space-shooter | 0974abb81d246ec30d7e6734f2c587b306ffca15 | a6d846188f16791c1234245c3265aa45f77976f2 | refs/heads/master | 2020-03-20T11:57:52.745952 | 2017-06-05T14:08:37 | 2017-06-05T14:08:37 | 137,416,990 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 584 | hpp | #pragma once
//#include <windows.h>
//#include <GL/gl.h>
#include <GL/glew.h>
//#include <GL/glu.h>
#include "Weapon.hpp"
#include <iostream>
class Missile : public Weapon
{
public:
Missile();
~Missile();
void fire();
float getSurroundingSphere();
void setSurroundingSphere();
void collided(bool withTerr... | [
"gbo013@post.uit.no"
] | gbo013@post.uit.no |
078eac60c1c8f183509f66a2742193768f521fca | bd1fea86d862456a2ec9f56d57f8948456d55ee6 | /000/074/793/CWE124_Buffer_Underwrite__new_char_loop_44.cpp | b660e46499b349900c27b745f3c91d916dd02539 | [] | no_license | CU-0xff/juliet-cpp | d62b8485104d8a9160f29213368324c946f38274 | d8586a217bc94cbcfeeec5d39b12d02e9c6045a2 | refs/heads/master | 2021-03-07T15:44:19.446957 | 2020-03-10T12:45:40 | 2020-03-10T12:45:40 | 246,275,244 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,726 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE124_Buffer_Underwrite__new_char_loop_44.cpp
Label Definition File: CWE124_Buffer_Underwrite__new.label.xml
Template File: sources-sink-44.tmpl.cpp
*/
/*
* @description
* CWE: 124 Buffer Underwrite
* BadSource: Set data pointer to before the allocated memory buffer
*... | [
"frank@fischer.com.mt"
] | frank@fischer.com.mt |
bba06fbced82a88a012fa3d88b2eb84e4ce8aac3 | deda3a27a6e055509ea30befd74238d9d1b0b078 | /compiler/scripts/outputs/nlohmann/json.hpp | 65300460caca46baad8e7fa9af7ef0c35b8e656d | [] | no_license | YanjieHe/TypedCygni | 132cae9f73cbf35525321b9090bd526ea00ede06 | a884ca440a900bb77c39f6e67a1ac1e39316cb30 | refs/heads/master | 2023-01-22T14:54:27.725568 | 2020-11-10T18:29:39 | 2020-11-10T18:29:39 | 113,035,092 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 825,097 | hpp | /*
__ _____ _____ _____
__| | __| | | | JSON for Modern C++
| | |__ | | | | | | version 3.7.0
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
SPDX-License-Identifier: MIT
Copyright (c) 2013-2019 Niels Lohmann... | [
"heyanjie0@outlook.com"
] | heyanjie0@outlook.com |
c1d7999866ad7e014095ebb58f6ae9437876de8c | 6cacd8000af1f4d477d242dbf57743f54bec3706 | /Semestr_1/Kyrsova/SpaceBattleConsole/Menu.h | a17cd031e4f928c59fd7b57bea0d7721e0fee880 | [] | no_license | MaZeSA/CPP-OOP | 21f2d4ab8489ecb2739aa9c3afacddc1f51d1e14 | 1090eaa709aa86c0d2c69f7aab80c3e905d34c34 | refs/heads/master | 2023-06-25T09:57:12.349864 | 2021-07-23T18:01:18 | 2021-07-23T18:01:18 | 315,003,580 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,727 | h | #pragma once
#include "Fild.h"
#include <iostream>
#include <thread>
class Menu : public Fild
{
public:
class ListMenu
{
public:
ListMenu(int y_, int x_)
{
this->x = x_;
this->y = y_;
}
void PrintMenu(Menu* menu_)
{
for (int i = 0; i < 3; i++)
{
setCursorPosition(this->x, this->y + i);
... | [
"lostfilmclient@gmail.com"
] | lostfilmclient@gmail.com |
36c2a46fc2b2bef9f81fb131612f04cb38380510 | addedb059a79bca6128e5afbb954f45736c9cd53 | /MossbauerLab.Sm2201.ExtSaveUtility/src/configs/schedulerConfig.h | 6b3dc66bf159a796582addda4cb4b4528db0e3df | [
"Apache-2.0"
] | permissive | MossbauerLab/Sm2201Autosave | 962922b01b84cd88997020ec54cc36aa1536deff | 8d5e2f8438887fa5636bde48678209ae43a4720d | refs/heads/master | 2022-12-24T18:39:00.125882 | 2022-12-19T08:51:30 | 2022-12-19T08:51:30 | 211,931,958 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,604 | h | #ifndef SM2201_SPECTRUM_SAVER_SRC_CONFIG_SCHEDULER_CONFIG_H
#define SM2201_SPECTRUM_SAVER_SRC_CONFIG_SCHEDULER_CONFIG_H
#pragma warning(disable:4786)
#pragma comment(linker, "/IGNORE:4786")
#include <string>
#include "propertyReader.h"
namespace MossbauerLab
{
namespace Sm2201
{
namespace Config
... | [
"um.nix.user@gmail.com"
] | um.nix.user@gmail.com |
3c4d7957afcd49d4e62a021cbfdc8d26f14d7f49 | 0225a1fb4e8bfd022a992a751c9ae60722f9ca0d | /base/base_tests/assert_test.cpp | 0df32cc5df82616abeb395e7e60ad90a86d0b263 | [
"Apache-2.0"
] | permissive | organicmaps/organicmaps | fb2d86ea12abf5aab09cd8b7c55d5d5b98f264a1 | 76016d6ce0be42bfb6ed967868b9bd7d16b79882 | refs/heads/master | 2023-08-16T13:58:16.223655 | 2023-08-15T20:16:15 | 2023-08-15T20:16:15 | 324,829,379 | 6,981 | 782 | Apache-2.0 | 2023-09-14T21:30:12 | 2020-12-27T19:02:26 | C++ | UTF-8 | C++ | false | false | 722 | cpp | #include "testing/testing.hpp"
#include "base/base.hpp"
#include "base/exception.hpp"
#include "base/logging.hpp"
UNIT_TEST(Assert_Smoke)
{
int x = 5;
// to avoid warning in release
#ifdef RELEASE
UNUSED_VALUE(x);
#endif
ASSERT_EQUAL ( x, 5, () );
ASSERT_NOT_EQUAL ( x, 6, () );
//ASSERT_EQUAL ( x, 666, (... | [
"alex@maps.me"
] | alex@maps.me |
8ed6797c7b264948f0ff960e075206c3fd13f8fb | f9bad3ca093095da33b16ba3166cea0f837a0451 | /src/app/generator/semanticmodel/robotbinding.h | 8e8e47592c860966b930751c19ee69155de2b483 | [] | no_license | alexreinking/CodeGenerator | 1c4532eaa4f652d2e55a8f808bd54e5a68fb2d4a | 8c6b89bbf4ac0eef7a635b03d24cae4286edf7ca | refs/heads/master | 2021-03-12T23:56:31.003900 | 2013-02-23T00:56:50 | 2013-02-23T00:56:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 916 | h | #ifndef ROBOTBINDING_H
#define ROBOTBINDING_H
#include "robotobject.h"
class RobotBinding : public RobotObject
{
public:
RobotBinding(const QString &sender, const QString &receiver, bool foreignCode = false)
: sender(sender), receiver(receiver), foreignCode(foreignCode) {}
int getType() const { retur... | [
"alexander.reinking@yale.edu"
] | alexander.reinking@yale.edu |
cc727549b3dad8a8296b09359f9c8643f556f519 | 5bcdfa3c4a561b36150656a9adf398fb5def70a9 | /distributive/android-arm64-v8a/tensorflow/core/framework/tensor_slice.pb.cc | 9e59d3a0beb87cfc51d18cbde3b2ba3028807373 | [
"Apache-2.0"
] | permissive | avlbanuba/tensorflow_pack | 30bf5b7ef0a0db68ea3828569f1cba4cf5571ef4 | 4612b6817c21f576a16acb6a986e3a6cb95c269a | refs/heads/master | 2021-08-08T00:10:15.361471 | 2017-11-09T07:15:09 | 2017-11-09T07:15:09 | 109,989,169 | 1 | 0 | null | 2017-11-08T14:51:37 | 2017-11-08T14:51:37 | null | UTF-8 | C++ | false | true | 31,812 | cc | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: tensorflow/core/framework/tensor_slice.proto
#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
#include "tensorflow/core/framework/tensor_slice.pb.h"
#include <algorithm>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stub... | [
"anton.lechenko@banuba.com"
] | anton.lechenko@banuba.com |
f528d2119d78bdf87c50e730d6d1ad5b88bf3eeb | c35c231a05f24f22c5aae7ef94e1ded6dcfd848c | /codeforces/739/C.cpp | 9b5948c247d2357ac7ee2ae60619bab3db91c77a | [] | no_license | irvifa/online-judges | 081bed8db248c4c0d5a096fb2a196a119778788c | c128a03b711f256f8888ed3d2e526889dce90ca2 | refs/heads/master | 2021-03-12T02:39:44.868187 | 2020-03-11T13:46:07 | 2020-03-11T13:46:07 | 246,582,524 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 899 | cpp | #include<bits/stdc++.h>
using namespace std;
typedef long long int ll;
const int MAX = 1000000;
int a[MAX], b[MAX], c[MAX], d[MAX];
int completed(int available_money, int k) {
int l, r, m;
l = 0, r = k;
while (l < r) {
m = (l + r + 1) / 2;
if (d[m] <= available_money) l = m;
else r = m-1;
}
return c[l];
... | [
"irvi.fa@gmail.com"
] | irvi.fa@gmail.com |
c6d1b51d55dba099ecb2ecba5ed52cdb099e7614 | 357e944448290ddeb6c23e5d1354edb8943cd087 | /area/area.cpp | b5a8366f35808be02391b0ae3f885fccc9ab533d | [] | no_license | aruj900/C- | a6b43fa478f064fd06e47a9e56aa600ff071c824 | 445003beee6d7a19cdc8bee0bd20d6f2ccc3c1ca | refs/heads/main | 2023-03-08T22:17:07.933040 | 2021-02-27T12:40:47 | 2021-02-27T12:40:47 | 315,115,379 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 324 | cpp | #include <iostream>
#include <cmath>
using namespace std;
/* const double PI = 3.14; */
int main(){
double radius, area;
cout<<"Please enter the radius of the circle"<<endl;
cin>>radius;
area = M_PI * (radius*radius);
cout<<"Area of circle with radius "<<radius<<" is equal to "<<area;
return 0... | [
"arujmahajan@Arujs-MacBook-Pro.local"
] | arujmahajan@Arujs-MacBook-Pro.local |
bfcdf435d7f0e42e5eef45e2341b71d2206205f6 | 3ff1fe3888e34cd3576d91319bf0f08ca955940f | /cpdp/include/tencentcloud/cpdp/v20190820/model/ContractPayListResult.h | 56afb3413a5c8688cdec025b21dddbf14667a851 | [
"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 | 23,029 | h | /*
* 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 |
7c0a47c58557bf835656e847d7cdd1675d6af798 | 08bfc8a1f8e44adc624d1f1c6250a3d9635f99de | /SDKs/Alembic/lib/Alembic/AbcGeom/IPoints.cpp | c3e19e7dc108d0189d95cdcd9d99e32be1ba36d9 | [] | no_license | Personwithhat/CE_SDKs | cd998a2181fcbc9e3de8c58c7cc7b2156ca21d02 | 7afbd2f7767c9c5e95912a1af42b37c24d57f0d4 | refs/heads/master | 2020-04-09T22:14:56.917176 | 2019-07-04T00:19:11 | 2019-07-04T00:19:11 | 160,623,495 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 129 | cpp | version https://git-lfs.github.com/spec/v1
oid sha256:b52dcf21a1c903d8567d41a3d6df4fc3f33b550c68db3bc6180a23d35764b86f
size 3207
| [
"personwithhats2@Gmail.com"
] | personwithhats2@Gmail.com |
78d569688c308c3406677a7fd13ec4f4db0f9dbb | fabe2d9262ed0404f796d1b2cba4ffc5a83c7ff1 | /chapter9/9-2.cpp | 935227f316ff4748c38790c539efd99e2e7f8753 | [
"MIT"
] | permissive | GSNICE/ZK_04743 | 20ceece3ea8e7e9a979ea16690a8b913e7a391f5 | 7e49fc5045cc127c72a14d1717c34c939871f1d0 | refs/heads/master | 2023-04-06T17:03:50.816210 | 2020-09-06T03:09:49 | 2020-09-06T03:09:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 904 | cpp | #include <iostream>
using namespace std;
template<class T> //类类型T
void Swap(T &x, T &y) //可以交换类对象
{
T tmp = x;
x = y;
y = tmp;
}
class myDate
{
public:
myDate();
myDate(int, int, int);
void printDate()const;
private:
int year, month, day;
};
myDate::myDate()
{
year = 1970;
month = ... | [
"wewin-tech@foxmail.com"
] | wewin-tech@foxmail.com |
03191aa8199bbb505860b9ab744b25e96ee4902a | fb3dcc33e7eb9b22d77bc69d56b9e186da931709 | /source/GameState.h | 599ce55cb2222dd54d52a4f12c55aca06662cfca | [] | no_license | xiaoqian19940510/sparcraft | 796460aca14a36307daceaf6fe78f24e215dbeb4 | 00b98d30ac7b213c72b443aa6c8b9515e21ac9a4 | refs/heads/master | 2020-03-20T03:50:33.947882 | 2014-05-11T00:49:08 | 2014-05-11T00:49:08 | 137,161,451 | 4 | 0 | null | 2018-06-13T04:12:09 | 2018-06-13T04:12:08 | null | UTF-8 | C++ | false | false | 8,721 | h | #pragma once
#include "Common.h"
#include <algorithm>
#include "MoveArray.h"
#include "Hash.h"
#include "Map.h"
#include "Unit.h"
#include "GraphViz.hpp"
#include "Array.hpp"
typedef boost::shared_ptr<SparCraft::Map> MapPtr;
namespace SparCraft
{
class GameState
{
Map ... | [
"nbarriga@gmail.com"
] | nbarriga@gmail.com |
2115d4d1d5dff5afd0a6975d6562a4652eff50c5 | 4ab228f82d57e24c15dff1d6363e386ab7827cc4 | /src/c++/main/scmp.cpp | 90d31f8a932e76bf54a21cee07f0e13fc5a0f561 | [
"BSD-3-Clause",
"Python-2.0",
"MIT",
"BSL-1.0",
"BSD-2-Clause"
] | permissive | LuisFdF/hap.py | 24101431ba0e69e6fd075c46992df0bae09a5c32 | d51d111e494b561b37c66299daf5a6c65a8d2ca9 | refs/heads/master | 2021-01-23T04:39:06.652035 | 2017-03-03T15:12:24 | 2017-03-03T15:12:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,005 | cpp | // -*- mode: c++; indent-tabs-mode: nil; -*-
//
// Copyright (c) 2010-2015 Illumina, Inc.
// All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
// 1. Redistributions of source code must retain the ab... | [
"pkrusche@illumina.com"
] | pkrusche@illumina.com |
a048712926a4a775041cb6345df08789901a40f1 | cec3c68ce1620f61671bedc1643bdb041b511e56 | /source/System/Input.h | 12f0d61a1b43872753c8d0a189d6885d7005f79f | [] | no_license | 2dev2fun/SimpleEngine | e9a0d88946b83ec9ecacf2c51171ee7c452cc73a | 91db7b72b8c38d559994e4b91c9d4003bbdf8a31 | refs/heads/master | 2022-06-11T16:44:56.498386 | 2020-05-09T15:54:10 | 2020-05-09T15:54:10 | 256,160,965 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 464 | h | // Copyright (C) 2020 Maxim, 2dev2fun@gmail.com. All rights reserved.
#pragma once
#include "Engine.h"
#include "Window.h"
#include <memory>
#include <vector>
namespace engine {
class InputSystem {
public:
InputSystem(Game* game);
void update();
void attachCommand(std::shared_ptr<Command> command);
void deta... | [
"2dev2fun@gmail.com"
] | 2dev2fun@gmail.com |
395aff8a444d82a5f67aff59b6893eb0833973b9 | 46c1208ac02448288f907a264eff5d82c92009e3 | /src/src/CARTDecisionTree.cpp | 8ddf5515d13c2c8696a8d99959932525b273de2e | [] | no_license | chensh236/AdaboostHandWrittenDightDetectAndRecognition | 3296d256360b07f021cdce6806a51b4bd47594d4 | 6cb5aaf027384486b0b17b4ca9d13632378d6395 | refs/heads/master | 2020-04-11T07:42:16.147560 | 2015-07-03T03:00:03 | 2015-07-03T03:00:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,848 | cpp | //
// DesionTree.cpp
// RandomForest
//
// Created by wc on 15/6/10.
// Copyright (c) 2015年 wc. All rights reserved.
//
#include "CARTDecisionTree.h"
CARTDecisionTree* CARTDecisionTree::instance = nullptr;
CARTDecisionTree* CARTDecisionTree::getInstance() {
if (instance == nullptr)
instance = new CAR... | [
"xiezhw3@gmail.com"
] | xiezhw3@gmail.com |
b1b2c603a5939180ff1859ba4cf4035c47df017f | 6c0e8a23af93c38dc9d62b43fb3b96d952a85c21 | /hello/prome.cpp | 170b7554c5f5a22eb06ba9e934845427d8ceb2c8 | [] | no_license | Bernini0/Codes | 9072be1f3a1213d1dc582c233ebcedf991b62f2b | 377ec182232d8cfe23baffa4ea4c43ebef5f10bf | refs/heads/main | 2023-07-06T13:10:49.072244 | 2021-08-11T17:30:03 | 2021-08-11T17:30:03 | 393,320,827 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,725 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
int arr[168]={2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,... | [
"tasnimbinanwar2605@gmail.com"
] | tasnimbinanwar2605@gmail.com |
b90614f9cdfb67709b7c24f848f8afca8f250ec0 | 3503ca10b545f4a758e7f50e6170909a45cbb544 | /2829.cpp | e58894c19332dd15a55da54471430d6a5f4d996a | [] | no_license | YongHoonJJo/BOJ | 531f660e841b7e9dce2afcf1f16a4acf0b408f32 | 575caa436abdb69eae48ac4d482365e4801c8a08 | refs/heads/master | 2021-05-02T18:32:33.936520 | 2019-06-22T17:16:13 | 2019-06-22T17:16:13 | 63,855,378 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 846 | cpp | #include <stdio.h>
int n, m[402][402];
int sumA[402][402], sumB[402][402];
int ans = -987654321;
int max(int a, int b)
{
return a > b ? a : b;
}
int go(int i, int j, int k)
{
int A=-100000000, B=0;
if(i+k <=n && j+k <=n) {
A = sumA[i+k][j+k]-sumA[i-1][j-1];
}
j += k;
if(j-k > 0 && i+k <= n) {
B = sumB[i+k... | [
"starctak@gmail.com"
] | starctak@gmail.com |
c864e0a86439e279e74e959f6eaf28bd2d680c3f | 20a59a738c1d8521dc95c380190b48d7bc3bb0bb | /layouts/aknlayout2/generated/Vga4_touch_akn_app/aknlayoutscalable_abrw_pvp4_apps_vga4_prt_tch_normal.h | b69552b09b22941eaf6d1bff52ce2df810bd369a | [] | no_license | SymbianSource/oss.FCL.sf.mw.uiresources | 376c0cf0bccf470008ae066aeae1e3538f9701c6 | b78660bec78835802edd6575b96897d4aba58376 | refs/heads/master | 2021-01-13T13:17:08.423030 | 2010-10-19T08:42:43 | 2010-10-19T08:42:43 | 72,681,263 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,311 | h | /*
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.h... | [
"kirill.dremov@nokia.com"
] | kirill.dremov@nokia.com |
926525921d3b4b340f46c849124a9b34a2ee58e9 | e9a9b956b21c35eed56fc032345b3e7416c78475 | /Segment Tree/Xenia and Bit Operations.cpp | d7c0b2576b9fd7dfc4dfae74500a83f1c57990c1 | [] | no_license | VinayKatare/Algorithms-Implementation | 7323b182e0c88452f6e5bfcbfb8f997970f02cdd | ea3129d571fc34dfd9c5f3236dde20b382fc8309 | refs/heads/master | 2020-04-17T14:18:07.537146 | 2019-10-25T08:42:03 | 2019-10-25T08:42:03 | 166,580,223 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,413 | cpp | //https://codeforces.com/contest/339/problem/D
#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
using namespace __gnu_pbds;
using namespace std;
#define all(a) a.begin(), a.end()
#define pb push_back
#define ll long long
#define index(a) ... | [
"vinaykatare1234@gmail.com"
] | vinaykatare1234@gmail.com |
af26fdb3593fc002ca9f5f7db44d3762cfcdaace | c301c81f7560125e130a9eb67f5231b3d08a9d67 | /lc/lc/2021_target/companies/amazon/lc_127_word_ladder.cpp | 4d205814c518649a4eb2652532f7b213cf6edd09 | [] | no_license | vikashkumarjha/missionpeace | f55f593b52754c9681e6c32d46337e5e4b2d5f8b | 7d5db52486c55b48fe761e0616d550439584f199 | refs/heads/master | 2021-07-11T07:34:08.789819 | 2021-07-06T04:25:18 | 2021-07-06T04:25:18 | 241,745,271 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,148 | cpp | /*
Given two words (beginWord and endWord), and a dictionary's word list, find the length of shortest transformation sequence from beginWord to endWord, such that:
Only one letter can be changed at a time.
Each transformed word must exist in the word list.
Note:
Return 0 if there is no such transformation sequence.
A... | [
"vjha2100@gmail.com"
] | vjha2100@gmail.com |
be894af3bce25074a31f4c551e2c07ea51fecdec | 93f328e10b5b02ac0cdb4afdf1a84db83bcadfa5 | /viking/sort/trees.cpp | 10cadf110656106a43cda76729a08ce3c3fbdc35 | [] | no_license | missingjs/mustard | 184eba4e9abe698716a3f540b7518c5da73055e9 | ad4cf820a6bdfa8535c07dbdfdaf57f0e3caed96 | refs/heads/master | 2022-02-27T12:34:32.393355 | 2016-08-21T16:00:21 | 2016-08-21T16:00:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 363 | cpp | // @mission: 实现树形选择排序
#include "trees.def.h"
#include "common/array.h"
using namespace mustard;
int main()
{
int n = 0;
int * arr = array::read<int>(n);
int len = 0;
_ts * t = build_complete_tree(arr, n, len);
tree_select_output(t, len, arr, n);
array::print(arr, n);
delete[] arr;
d... | [
"venux021@outlook.com"
] | venux021@outlook.com |
e25a58d07d3339d5be0128dbf558b90e40c5eb74 | 297952a5412cf123a642c3fc6814039800129f0b | /BunnySimulation.h | 4d86ef69909b059ab41ae1b46a5737457481c8b7 | [] | no_license | NotAMorningSpartan/BunnySimulation | 89891c2c5498af044339219ea318364a88ec2106 | 54df6bd7212b9b86fbd817797bb5c80b11a1a356 | refs/heads/main | 2023-03-27T00:38:28.651953 | 2021-03-18T09:18:49 | 2021-03-18T09:18:49 | 346,923,836 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,498 | h | //Tyler Kness-Miller
//BunnySimulation.h
#include "Bunny.h"
#include <vector>
#include <fstream>
class Simulation{
private:
int getRandomNumber(int lower, int upper){
//return 1 + ( rand() % ( 100 - 1 + 1 ) );
//return rand() % 100;
random_device generator;
mt19937 mt(generator());... | [
"tylerkm75@gmail.com"
] | tylerkm75@gmail.com |
a121ca47bfcc0f87b9e9955934d46e736774a4a1 | 2bc227439d76c91bf421eeb3e4277b50d45f3439 | /oclErrorCodes.cpp | b174ac2ee2e810344de985f7ebf3f9351186e21f | [] | no_license | alare/sdaccel | d0d744efc972df64cb28b15cf3f5f0b31351dd37 | 089c43dd46fb68bf11c181bf61c12d1cd62b0c3a | refs/heads/master | 2020-12-03T11:23:59.856840 | 2016-09-17T14:45:54 | 2016-09-17T14:45:54 | 66,237,040 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,600 | cpp | #include <map>
#include <string>
#include <CL/cl.h>
#define TO_STRING(x) #x
static const std::pair<cl_int, std::string> map_pairs[] = {
std::make_pair(CL_SUCCESS, TO_STRING(CL_SUCCESS)),
std::make_pair(CL_DEVICE_NOT_FOUND, TO_STRING(CL_DEVICE_NOT_FOUND)),
std::make_pair(CL_DEVICE_NOT_AVAILABLE, TO_STRING... | [
"uchen@cn.ibm.com"
] | uchen@cn.ibm.com |
6fa28d9c9e83cdd2042a5ba1d42079be8e67b57e | 209571af270257a5b8338622f3a1db75124b0315 | /test usb/old_stuff/devicefinder1.cpp | cb84c0170934b198ceb2142288837acd5a4b1ed5 | [] | no_license | DarioSardi/ProgettoRobotica2018 | 2907d88bbfa2f3e01b80e3bf640f2d6ccab13174 | 703f7a001024c3f2db94ac0211fb73cc26ea3208 | refs/heads/master | 2020-03-31T21:15:51.577388 | 2019-01-13T18:40:44 | 2019-01-13T18:40:44 | 152,573,751 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 711 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <malloc.h>
#include <iostream>
#include <string.h>
#define BUF_SIZE 1024
char addr[30]="";
int search(void)
{
FILE *f;
char* buf;
f=popen("./finder.o | grep Arduino | awk '{print $1;}' ", "r");
if (f==NULL) {
perror("1 - Error"... | [
"dario.sardi@mail.polimi.it"
] | dario.sardi@mail.polimi.it |
f5229cc337170ef422e04d5a38b311e0d9f8064b | a3d72d39f72cf11fe2ff124901cb319cb2f0c34a | /Source/Device/GfxGraphicsCommandList.inl | a4ac86f00c41f42c4a97ce7853b69d92f3e86ccb | [] | no_license | takasuke-ando/GfxLib_D3D12 | c8018d17fa752b6f7a5279804a506a9d279d1ba1 | c6fd400ed8634c80736b3d53e0a15d4745ebefef | refs/heads/master | 2021-05-24T04:49:39.981780 | 2020-09-01T00:16:37 | 2020-09-01T00:16:37 | 54,645,405 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,270 | inl | #ifndef __INLUCDE_GFXGRAPHICSCOMMANDLIST_INL__
#define __INLUCDE_GFXGRAPHICSCOMMANDLIST_INL__
namespace GfxLib
{
inline void GraphicsCommandList::SetPrimitiveTopologyType(D3D12_PRIMITIVE_TOPOLOGY_TYPE topology) {
if (m_PipelineState.PrimitiveTopologyType != topology) {
m_bPipelineDirty = true;
... | [
"an_chan99@yahoo.co.jp"
] | an_chan99@yahoo.co.jp |
859413bfeb9f18ff3b7e264189cec1da8f129a0e | a57dc909766d9486abbc76d8c7f41e592950511d | /ServerSocket_demo/ServerSocket/ServerSocketDlg.cpp | b2e9cb53af777be3929a626642d3e326d9ac8bc1 | [] | no_license | gigihpc/Socket-and-Serial-C | ade688f7a876f32791448caaf7b3d569a82b16ba | f599a07dcbbf142be62f1a700b692afb01fd1648 | refs/heads/master | 2021-07-14T19:23:20.865481 | 2017-10-17T02:57:09 | 2017-10-17T02:57:09 | 107,209,557 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,754 | cpp | // ServerSocketDlg.cpp : implementation file
//
#include "stdafx.h"
#include <atlconv.h>
#include "ServerSocket.h"
#include "ServerSocketDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
const int SOCK_TCP = 0;
const int SOCK_UDP = 1;
//////////... | [
"gigih.math.its@gmail.com"
] | gigih.math.its@gmail.com |
18a66f90a91b1c3bd0275c369b687e1613fd047a | bc802b219fc1934098b8e854f36b9cb687b24428 | /codewars/rotate-for-a-max/rotate-for-a-max_jihed.cpp | 4399e36603be41e2e03b4b78ac64cafeb77c4ab6 | [] | no_license | coding-katas/all-solutions | cee7a6f40e292b2619e2b8cf09b69c1f5541f35b | 28bbe3023222dacd0856563a3b7098e7a9cea593 | refs/heads/master | 2020-04-21T03:09:18.788656 | 2019-02-05T16:45:17 | 2019-02-05T16:45:17 | 169,275,872 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 648 | cpp | #include <iostream>
#include <string>
#include <vector>
#include <algorithm>
using namespace std;
class MaxRotate
{
public:
static long long maxRot(long long n)
{
string str = to_string(n);
vector<long long> vct;
vct.push_back(n);
for (int j = 0; j < str.size() ; j++)
{
for (... | [
"anis.tajouri@gmail.com"
] | anis.tajouri@gmail.com |
c7e328817f9751f494b30353f47f4ccc663ea4de | c3b5f7b284326fe016661c497eb92b89f31c63ec | /src/FizzBuzz.h | 30fcf3925e003a7f5b42012c8a66ccd4dcd04307 | [] | no_license | haru01/cppunit-sample | 5750053ead993d70f271ed29c6cc4b2205a9e289 | e8585555a41968019ef80d5753b81a83ba3fd606 | refs/heads/master | 2020-05-18T00:22:38.991413 | 2012-07-30T01:02:22 | 2012-07-30T01:02:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 175 | h | #ifndef FIZZBUZZ_H
#define FIZZBUZZ_H
#include <string>
class FizzBuzz {
private:
int num;
public:
FizzBuzz(int num);
~FizzBuzz();
std::string value();
};
#endif
| [
"eiji.ienaga@gmail.com"
] | eiji.ienaga@gmail.com |
ec4d14ae9e79c77e4cf37b9de3e7c0fc4765150a | ebcbea283a4a430b818e2386b95b577c3f582dfb | /libcef_dll/ctocpp/v8array_buffer_release_callback_ctocpp.h | c4a9bc6c157eff88d183d70096901dea2ba7b7cd | [
"BSD-3-Clause"
] | permissive | avaer/cef | 18b5188abb9fd4db8a90553e8215fe5003a5d169 | 1057523680062f0f1f5f6df7c16dde151f9a2770 | refs/heads/master | 2020-04-03T13:37:54.041882 | 2018-11-17T21:58:26 | 2018-11-17T21:58:26 | 155,291,081 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,522 | h | // Copyright (c) 2018 The Chromium Embedded Framework Authors. All rights
// reserved. Use of this source code is governed by a BSD-style license that
// can be found in the LICENSE file.
//
// ---------------------------------------------------------------------------
//
// This file was generated by the CEF translato... | [
"magreenblatt@gmail.com"
] | magreenblatt@gmail.com |
dc74af23a5f1acb82ff19d214a7e1a0e7dbd1570 | 9494ac09c78d7b6cb17e1b30bad80d7b60da7d96 | /p1074ReversingLinkedList.cpp | 6074be1c758221d5b6be5a39d2fcd68ec1209c67 | [
"MIT"
] | permissive | yangyueren/PAT | 24547ea71c2a1e05326e99d9813dbd972c1aea1d | 950d820ec9174c5e2d74adafeb2abde4acdc635f | refs/heads/master | 2020-09-12T07:42:19.826678 | 2019-11-18T03:45:44 | 2019-11-18T03:45:44 | 222,358,172 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,110 | cpp | //
// Created by yryang on 2019/9/18.
//
#include "stdio.h"
#include "stdlib.h"
#include "vector"
#include "set"
#include "string"
#include "string.h"
#include "map"
#include "algorithm"
#include "iostream"
using namespace std;
struct node{
int add;
int val;
int next;
}nodes[100005];
int inihead;
int N;
... | [
"to_wx@outlook.com"
] | to_wx@outlook.com |
4089224199ad8e190ccc80202d330b7acc27714e | 5a5bde743ddbcfa28dbd71dbd8fe1835010763df | /include/lm/parallelcontext.h | 27b57604674e19284128f9b121a0d7d846641c90 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | lightmetrica/lightmetrica-v3 | fb85230c92dac12e754ca570cd54d45b5b6e457c | 70601dbef13a513df032911d47f790791671a8e0 | refs/heads/master | 2021-10-29T08:13:40.140577 | 2021-10-22T10:50:39 | 2021-10-22T10:50:39 | 189,633,321 | 105 | 14 | NOASSERTION | 2021-10-20T14:34:34 | 2019-05-31T17:27:55 | C++ | UTF-8 | C++ | false | false | 884 | h | /*
Lightmetrica - Copyright (c) 2019 Hisanari Otsu
Distributed under MIT license. See LICENSE file for details.
*/
#pragma once
#include "parallel.h"
#include "component.h"
LM_NAMESPACE_BEGIN(LM_NAMESPACE)
LM_NAMESPACE_BEGIN(parallel)
/*!
\addtogroup parallel
@{
*/
/*!
\brief Parallel context.
... | [
"hi2p.perim@gmail.com"
] | hi2p.perim@gmail.com |
b93e120b255075662e98d981b3b725e93f024ec1 | 2dd206685636ce3428e9d3b63ad6d82af2c85612 | /Server/Server.hpp | ea3b0e43c0cd3db0f62063ee89f013982bf1c6c7 | [] | no_license | BurnBirdX7/Messenger | e4b3f809447cb87a807445c00af78643e1aa480a | c8351b2611301a496e52a569d616779dde9157eb | refs/heads/master | 2023-01-29T12:59:10.669354 | 2020-12-16T15:49:02 | 2020-12-16T15:49:02 | 314,810,547 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,544 | hpp | #ifndef ASIOAPPLICATION_SERVER_HPP
#define ASIOAPPLICATION_SERVER_HPP
#include <memory>
#include <map>
#include <set>
#include <functional>
#include <boost/asio.hpp>
#include <boost/asio/ssl.hpp>
#include <Network.hpp>
#include "Context.hpp"
class Connection;
class Server
: public std::enable_shared_from_this... | [
"artemiy.lazarevx7@gmail.com"
] | artemiy.lazarevx7@gmail.com |
72a3f264a788bfa9378ff1ce555cc612976f7aea | 5cfc497450d2054b7041559db5acddbd1e4d67e4 | /src/adapter_gb28181.cpp | fb713fd7a45bd0be8c5df133569768cd7299cfd5 | [
"MIT"
] | permissive | charygao/mdfactory | 2e0f97fb1ca3cc1498bce64238ae61c73a7e1888 | 3dbfa2e6acd5390d2ea60a95b04bc63f0b98837e | refs/heads/master | 2022-02-28T04:20:25.250330 | 2019-09-11T06:19:17 | 2019-09-11T06:19:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,331 | cpp | #include "adapter_gb28181.h"
#include "utility_tool.h"
#include "error_code.h"
#include <boost/format.hpp>
#define LINE_END "\r\n"
#define STATUS_REGISTER_1 "REGISTER@1"
#define STATUS_REGISTER_3 "REGISTER@3"
#define ALGORITHM_MD5 "MD5"
#define ACTION_REGISTER "REGISTER"
#define ACTION_OK "OK"
#define ACTION_UNAU... | [
"comhaqs@126.com"
] | comhaqs@126.com |
45d5ad4cc246164da02b85cc51a8acc7fd8e4a91 | 267a3c3b43bf8e0042391c322c7930cb83a5903c | /dziedziczenie3_kontenery_Bold/Containers.cpp | ddb1656fae2beebffa50e95d1a71f8a039d520f5 | [] | no_license | pierwiastekzminusjeden/cpp_lab_4sem | 096d2b2b9a0624d7e762260ad83925b531594d7f | ad0d388f7cb6463ded4c63e5a3ceca782577e307 | refs/heads/master | 2021-03-30T17:50:13.479514 | 2018-07-11T18:40:45 | 2018-07-11T18:40:45 | 122,998,380 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 45 | cpp | #include <iostream>
#include "Containers.h"
| [
"krystian.molenda@gmail.com"
] | krystian.molenda@gmail.com |
62b8c33e780d838e918ccb63dfc1053f4f578b4e | e4b1522920cc6deea23e3c5a0cde8fe2ad2c8531 | /2020-09-14/06-maxim3.cc | 20a4778411e248ea3d251f8192c0289a843e7f68 | [] | no_license | jordi-petit/ap1-codis-2020-2021 | 95ba1775d11c18fc3a2b18b7fd1e17a5eff31f89 | 014e1d7bc4fe34b7dd8702ef91f557387e22ee24 | refs/heads/master | 2023-08-14T04:19:05.287684 | 2021-09-20T07:39:49 | 2021-09-20T07:39:49 | 294,364,301 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 406 | cc | // Programa que llegeix tres nombres i escriu el seu màxim
#include <iostream>
using namespace std;
int main()
{
int a, b, c;
cin >> a >> b >> c;
int m;
if (a >= b) {
if (a >= c) {
m = a;
} else {
m = c;
}
} else {
if (b >= c) {
... | [
"jpetit@cs.upc.edu"
] | jpetit@cs.upc.edu |
eb530d427d247cbed236550b6102a69be41dab8f | a45e034d557f3c7ec631a693b1141fe02a07d0dc | /cpp/margin_metric.hpp | 278f0c0578989ddb74711d5a514928a264d2bc5e | [
"MIT"
] | permissive | GaoSida/Neural-SampleRank | 7ef785de60835cfb324873ce9aef37f5c960ec38 | 8b4a7a40cc34bff608f19d3f7eb64bda76669c5b | refs/heads/main | 2023-01-13T03:42:20.263862 | 2020-11-16T07:48:51 | 2020-11-16T07:48:51 | 301,271,776 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,070 | hpp | // Mirror nsr.graph.margin_metric
#include "factor_graph.hpp"
#include <vector>
#include <unordered_set>
class MarginMetric {
public:
std::vector<int> ground_truth;
MarginMetric(std::vector<int>& ground_truth) {
this->ground_truth = ground_truth;
}
virtual float compute_metric(std::vector<int>& label_... | [
"sidag@alumni.cmu.edu"
] | sidag@alumni.cmu.edu |
67629d1816aef02660d2b4c88f1797c813b0a1ce | 82f153568b4752c3c1a29c9aa1a650e3e2a39d3a | /Trace/ImGuiRendering.h | 508f9e669d7d584efa37aebc0839a722055ad3d3 | [] | no_license | lujiawen/LOL-Trace | 5aad96d105289bd75783203eceb38f4f1ee7950c | 02283b38e3b387c3f611fab6ed5681da3564467d | refs/heads/master | 2023-01-09T10:04:54.981759 | 2020-11-16T09:11:42 | 2020-11-16T09:11:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,437 | h | #pragma once
#include "Trace.h"
#include "ImGui/imgui.h"
#include "ImGui/imgui_impl_dx9.h"
#include "ImGui/imgui_impl_win32.h"
#include <string>
#include <map>
class ImGuiRendering
{
private:
DWORD _D3DRS_COLORWRITEENABLE;
ImDrawList* _DrawList;
bool _IsSetup = false;
IDirect3DDevice9* _Device;
ImGuiRendering(... | [
"1263178881@qq.com"
] | 1263178881@qq.com |
bcff5f4fbb7cdcd2880382bfb9584cc276a5f07e | dddc171e9cb1bf0b1bb36cb8c099b1033e0d68cf | /Combat.cpp | 00a8786d200960c897d4e6ee4f1cf04089adb85f | [] | no_license | IVIara/PokeSim | efbd47abe85699b43bf886b1ac2ca3f13b167b10 | e36245d26edad25ccca02eec3d939c8ca1e82292 | refs/heads/master | 2020-04-02T12:54:47.403835 | 2018-10-27T16:25:06 | 2018-10-27T16:25:06 | 154,457,950 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 6,323 | cpp | #include "Combat.h"
#include "Pokemon.h"
#include <iostream>
#include <string>
using namespace std;
double elements[18][18] =
{
/*NORMAL*/ {1,1,1,1,1,0.5,1,0,0.5,1,1,1,1,1,1,1,1,1},
/*COMBAT*/ {2,1,0.5,0.5,1,2,0.5,0,2,1,1,1,1,0.5,2,1,2,0.5},
/*VOL*/ {1,2,1,1,1,0.5,2,... | [
"t.perriau@gmail.com"
] | t.perriau@gmail.com |
ca00aea57ea0a09d867726733ce180ac98f48adb | 613648e67a71f02bc0806b9a27ae99fced735f7f | /Laporan 8 String/uji coba gets.cpp | d04fe34eb58be048dc8e3b59246bf608591ce2b7 | [] | no_license | Dwirinas/Pemrograman-Terstruktur | c85c5379032b4f5fa39af985c551ef15eba11189 | 401f83aba45884c14105d9144687549dd3b2fdf8 | refs/heads/master | 2020-09-10T05:45:34.837773 | 2019-11-14T10:09:04 | 2019-11-14T10:09:04 | 221,663,527 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 240 | cpp | #include <stdio.h>
#define MAKS 5
main(){
char kar = 'A';
char nama[MAKS];
printf("Karakternya = %c\n", kar);
printf("Masukkan nama Anda : ");
gets(nama);
printf("\nNama Anda = %s\n", nama);
printf("Karakternya = %c\n", kar);
}
| [
"Risinasa9b@gmail.com"
] | Risinasa9b@gmail.com |
ca65df884094c57f0f3a218cb32606557b54f7ef | 5376fcdff458e85c49299274185b724ae2438b69 | /src/agora_edu_sdk/base/facilities/tools/audio_utils.h | 5d1b4692ac706c91384ab910a9d3c1701d4b0002 | [] | no_license | pengdu/AgoraDualTeacher | aabf9aae7a1a42a1f64ecfeae56fbcf61bed8319 | 4da68749f638a843053a57d199450c798dd3f286 | refs/heads/master | 2023-07-31T14:25:52.797376 | 2021-09-22T09:51:49 | 2021-09-22T09:51:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 642 | h | // Agora RTC/MEDIA SDK
//
// Created by Qingyou Pan in 2020-03.
// Copyright (c) 2020 Agora.io. All rights reserved.
//
#pragma once
namespace webrtc {
class AudioFrame;
}
namespace agora {
namespace rtc {
enum class AudioFormatErrorCode {
ERR_OK,
ERR_CHANNEL,
ERR_BYTES_PER_SAMPLE,
ERR_SAMPLES_PER_CHANNEL... | [
"wangqixin@agora.io"
] | wangqixin@agora.io |
2d127d42c775bfbe89d6fde25098652da12938f8 | 02b715831737eb94df84910677f6917aa04fa312 | /EIN-SOF/P R O E K T I/PROEKTI C++/Proekt 3/piramida.h | d676633b677ffb5c2a388bb46819e6ff4f426b39 | [] | no_license | DoozyX/EIN-SOF | 05b433e178fbda6fb63e0d61387684158913de1d | 5de0bd42906f9878557d489b617824fe80c4b23b | refs/heads/master | 2021-01-01T18:25:14.240394 | 2017-11-18T12:54:16 | 2017-11-18T12:54:16 | 98,330,930 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 313 | h | //programa piramida.h so osnova kvadrat
//class piramida
#ifndef PIRAMIDA_H
#define PIRAMIDA_H
#include "troDimenzionalni.h"
class Piramida:public TroDimenzionalni{
public:
Piramida(double=1,double=1);
virtual double presmetajPlostina();
virtual double presmetajVolumen();
virtual void print();
};
#endif | [
"slobodan.kletnikov@gmail.com"
] | slobodan.kletnikov@gmail.com |
92932d185778651e235498b73c8422eeee65efe7 | 5ec06dab1409d790496ce082dacb321392b32fe9 | /clients/cpp-qt5-qhttpengine-server/generated/server/src/models/OAIComDayCqDamCoreImplServletHealthCheckServletProperties.cpp | 060b8788874b23f6f6ca610abd3d2d091c3045b0 | [
"MIT",
"Apache-2.0"
] | permissive | shinesolutions/swagger-aem-osgi | e9d2385f44bee70e5bbdc0d577e99a9f2525266f | c2f6e076971d2592c1cbd3f70695c679e807396b | refs/heads/master | 2022-10-29T13:07:40.422092 | 2021-04-09T07:46:03 | 2021-04-09T07:46:03 | 190,217,155 | 3 | 3 | Apache-2.0 | 2022-10-05T03:26:20 | 2019-06-04T14:23:28 | null | UTF-8 | C++ | false | false | 3,661 | cpp | /**
* Adobe Experience Manager OSGI config (AEM) API
* Swagger AEM OSGI is an OpenAPI specification for Adobe Experience Manager (AEM) OSGI Configurations API
*
* OpenAPI spec version: 1.0.0-pre.0
* Contact: opensource@shinesolutions.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openap... | [
"cliffano@gmail.com"
] | cliffano@gmail.com |
f9287ceffdd4f3e7b9b08775c732f2fb8ad43f22 | 47ecf4d055ae867105d8b63c5ddaf7b5a31fe2a4 | /src/Dice.hpp | 39b3b1e9d075c0a28e3b8b9ac8ac8f7db88c2dc4 | [] | no_license | Mokon/simulator | 1566c724ced701d73e31e86dbfc055961281b46e | 504c7602cddc154793e01bbc863affdb154873db | refs/heads/master | 2021-01-23T06:54:26.645081 | 2017-04-01T12:25:51 | 2017-04-01T12:25:51 | 86,407,553 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 693 | hpp | /* Copyright (C) 2017 David 'Mokon' Bond, All Rights Reserved */
#pragma once
#include <random>
#include <queue>
class Dice final
{
public:
Dice(unsigned int sides = 6, unsigned int start = 1);
~Dice() = default;
Dice(const Dice&) = delete;
Dice& operator=(const Dice&) = delete;
Dice(Dice&&) =... | [
"dbond@128technology.com"
] | dbond@128technology.com |
a4ae3532e9165bf6a28ad0963a1a8d9380a24030 | b39d3a37f92ba59160e1be9894eea5ce3dad5b6a | /Sum of squares of first 'n' numbers.cpp | d7556dd8aa8d0228537568982e50b61ee1112252 | [] | no_license | AryanshMahato/cpp-Important-Projects | e8ee7a51f740f010ad0860f3b7932c5f98647386 | 0ea6e53b47043e363e54bb36db84be9eeabc81d4 | refs/heads/master | 2020-05-07T14:47:38.738320 | 2019-06-01T14:01:31 | 2019-06-01T14:01:31 | 180,609,353 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 240 | cpp | #include<iostream>
#include<cmath>
using namespace std;
int main()
{
int n, sum, a;
cout<<"Enter the number of power: ";
cin>>n;
a=0;
while(a<=n)
{
sum=pow(2,a)+sum;
a++;
}
cout<<sum;
return 0;
}
| [
"aryanshmahato@gmail.com"
] | aryanshmahato@gmail.com |
eaf4af38475be8ea4de671e46e289f8eb6ed0104 | 1434a4b11d60368b67d3e7341cb052e6d96ce3fc | /assign3/src/SceneObject.cpp | bb25888b964913ccc299bc86cd5c5461440c89b3 | [] | no_license | iainnash/yetanother-raytracer | 3d94da0d72a86fa1cca02f1850559955cc095379 | 068c13c9e60d1c6dedb26e1b1145405d7ccf02df | refs/heads/master | 2021-01-18T13:18:56.563694 | 2018-03-07T06:57:22 | 2018-03-07T06:57:22 | 47,189,451 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 162 | cpp | //
// SceneObject.cpp
// assign3
//
// Created by Iain Nash on 11/28/15.
// Copyright © 2015 Iain Nash. All rights reserved.
//
#include "SceneObject.hpp"
| [
"iain@codejoust.com"
] | iain@codejoust.com |
a8d3e9c36ae09338439046f1f722c30b6e6d0603 | 5c6d9585b7620ef39cf9a203e7b709125f1aea3d | /ACPC10A.cpp | b8fd055138603e080fba08d5ad8c4014157d6f1e | [] | no_license | samyhaff/SPOJ | 3c138dfbdb9a8ecb11de04ff476a2118c5fdbd3c | e5304bfaf78f3d4431998da4b31137f3dca18556 | refs/heads/master | 2023-06-30T08:15:05.431715 | 2021-08-03T08:49:38 | 2021-08-03T08:49:38 | 387,133,945 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 352 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
int a, b, c;
cin >> a >> b >> c;
while (!(!a && !b && !c))
{
if (b - a == c - b) {
cout << "AP " << 2 * c - b << endl;
}
else {
cout << "GP " << c * c / b << endl;
}
cin >> a >>... | [
"haffoudhisamy@gmail.com"
] | haffoudhisamy@gmail.com |
f95e75adbd011541bc594acb2037bbcf26621435 | 94303aaf3384184608723be26121f1ea76fa75cf | /IcrXXXX/IcrXXXXDlg.h | 6803e8849ea14ff3c4565fe7a7ad895fcf225fc3 | [] | no_license | insys-projects/ICR | d8cb40e36764f10346b862c24188aab5757d07e1 | ef2357a8b41aba3ecf41a3b0d4afed5ece5ad3f4 | refs/heads/master | 2021-08-15T21:49:55.375551 | 2020-08-24T15:35:19 | 2020-08-24T15:35:19 | 215,523,343 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 911 | h | #ifndef ICRXXXXDLG_H
#define ICRXXXXDLG_H
#include <QtGui/QMainWindow>
#include "ui_IcrXXXXDlg.h"
class IcrXXXXDlg : public QDialog, public Ui::IcrXXXXDlgClass
{
Q_OBJECT
QList<TIcrParam *> m_lpIcrParams;
QList<TGroup *> m_lpGroup;
QMultiMap<QString, ParamTreeItem *> m_mpGroupItems;
public:
Ic... | [
"Kozlov@a8a5cdc4-a91d-e646-800f-a4054892b1cc"
] | Kozlov@a8a5cdc4-a91d-e646-800f-a4054892b1cc |
e2e1c20864c1bfd941ef3f9b403f2f5aabfecb00 | 44383fb0ac6070f67386cd105da373ee8a6d4cea | /src/video/ffmpeg/threaded_decoder.cc | 11588373d8472b884c773f175d6a33d62da31515 | [
"Apache-2.0"
] | permissive | bityangke/decord | 1b657c8d55b398d5a644629b5b056b342c428da1 | e02180c844b6c29fd3fb99ad118307c419e86bcd | refs/heads/master | 2020-05-18T23:23:59.390292 | 2019-05-01T18:34:03 | 2019-05-01T18:34:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,859 | cc | /*!
* Copyright (c) 2019 by Contributors if not otherwise specified
* \file threaded_decoder.cc
* \brief FFmpeg threaded decoder Impl
*/
#include "threaded_decoder.h"
#include <dmlc/logging.h>
namespace decord {
namespace ffmpeg {
FFMPEGThreadedDecoder::FFMPEGThreadedDecoder() : frame_count_(0), draining_(fals... | [
"cheungchih@gmail.com"
] | cheungchih@gmail.com |
5ba0ab492f95a5ec0de0683a93d51e61319e5c7c | 0db79524979d11c3bf0a4856c124295b6acce314 | /COM/fancySerial.ino | 006b1514bf730114f0ad7a7d6d96a308f6edcd89 | [] | no_license | muh005/Micromouse | cfb3dbb96e3c3a5b903fe569a675b6d4fd596db8 | c9fa440cb33f2837395a7da7fb815e852b16bf1c | refs/heads/master | 2021-05-07T04:16:22.502834 | 2018-03-28T23:45:44 | 2018-03-28T23:45:44 | 111,260,495 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,977 | ino | void setup() {
// put your setup code here, to run once:
//pin 19 rx
//pin 18 tx
Serial.begin(9600);
//Serial1.begin(9600);
}
const int sendSize = 100;
char tosend[sendSize];
int Status = 0;
void clearAll(char * arg, int sz){
// Setting all chars in the string to null
for(int i = 0; i < sz; i+... | [
"muh005@ucsd.edu"
] | muh005@ucsd.edu |
ebcb3afa4c7c12ef3c872d3237f841e373582f69 | 85d821577aeb6bde7602f69e2f3fe93b53687bdd | /DTiles/osgb23dtile.cpp | eed5284d3af0573d880291fc157048af9aa24774 | [
"Apache-2.0"
] | permissive | sjtuerx/3dtiles | 00251c6eb107731b63a661b41d3a367a1751af29 | ac11fa3481028c58f23f7aa86227736e13428e12 | refs/heads/master | 2023-03-20T07:27:05.608000 | 2021-03-02T06:46:56 | 2021-03-02T06:46:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 45,267 | cpp | #include <osg/Material>
#include <osg/PagedLOD>
#include <osgDB/ReadFile>
#include <osgDB/ConvertUTF>
#include <osgUtil/Optimizer>
#include <osgUtil/SmoothingVisitor>
#include <set>
#include <cmath>
#include <vector>
#include <string>
#include <cstring>
#include <algorithm>
#define STB_IMAGE_IMPLEMENTATION
#define ST... | [
"chenweiyu233@gmail.com"
] | chenweiyu233@gmail.com |
b4a2064657b3ade632cff70ed8c387cd2a4ddfe2 | bca6236c6950504749735db6bf0652876a5afde4 | /external/tesseract/classify/mfoutline.cpp | 623d1174f145e5e62de4f681837f0158612c7542 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | XiangGen/galaxy | 3ef02dc84aeb38243284770023d6c7e17bcac3d2 | ffb382e6f7f7786df7ff2324eb3f7f0f870b8048 | refs/heads/master | 2022-10-05T05:52:51.942323 | 2020-06-07T12:48:18 | 2020-06-07T12:48:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 34,218 | cpp | /******************************************************************************
** Filename: mfoutline.c
** Purpose: Interface to outline struct used for extracting features
** Author: Dan Johnson
** History: Thu May 17 08:14:18 1990, DSJ, Created.
**
** (c) Copyright Hewlett-Packard Company, 1988... | [
"apollopublic@163.com"
] | apollopublic@163.com |
120a96463402db47995dc66f75fb4f1003b6575e | 41ad38f6a5686339877f47b88273469c1cf1b04a | /GraphicsDisplay.hpp | 5eee2ce5fb7d0022514c920c05feb6ee564c14b3 | [] | no_license | sayakura/42__System_Monitor | 8ff94d8a72ff413fabaa25904b34dd5e83666d32 | 2d716d4a359ce98128ac262dcb6f80dc7c7f3c96 | refs/heads/master | 2020-05-22T12:46:58.250450 | 2019-05-13T05:01:34 | 2019-05-13T05:01:34 | 186,348,202 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,695 | hpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* GraphicsDisplay.hpp :+: :+: :+: ... | [
"linra.kura@gmail.com"
] | linra.kura@gmail.com |
0b129b2d869eccaf30b3c41d050e274f6904081c | 97ca456c57dd3e5e4e05c8ec23f61efb744431c7 | /.bak/SbrXXX05.h | a0dbe21562d9f8a9cfc1c49b4da3b7bc18315478 | [] | no_license | kwokhung/testESP32 | 870b807749b7ff3b77dbb91d6e4bb61f675b9953 | 0005d5b8e131b86cda8d29c1be6325d58b86d3ab | refs/heads/master | 2020-12-30T11:02:32.516155 | 2019-03-18T04:56:37 | 2019-03-18T04:56:37 | 98,839,362 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,185 | h | #ifndef SbrXXX05_h
#define SbrXXX05_h
#include <Kalman.h>
#include "SbrBase.h"
#define RESTRICT_PITCH // Comment out to restrict roll to ±90deg instead - please read: http://www.freescale.com/files/sensors/doc/app_note/AN3461.pdf
#define IMUAddress 0x68
#define I2C_TIMEOUT 1000
class SbrXXX05 : public SbrBase<SbrXX... | [
"chu_kwokhung@yahoo.com.hk"
] | chu_kwokhung@yahoo.com.hk |
c8111236d062930b5e61856f0a3747a673c9cf63 | 4c25432a6d82aaebd82fd48e927317b15a6bf6ab | /data/dataset_2017/dataset_2017_8_formatted/Thanabhat/3264486_5633382285312000_Thanabhat.cpp | 5095464bfeffa3cc6d7421623d9f84183213d56d | [] | no_license | wzj1988tv/code-imitator | dca9fb7c2e7559007e5dbadbbc0d0f2deeb52933 | 07a461d43e5c440931b6519c8a3f62e771da2fc2 | refs/heads/master | 2020-12-09T05:33:21.473300 | 2020-01-09T15:29:24 | 2020-01-09T15:29:24 | 231,937,335 | 1 | 0 | null | 2020-01-05T15:28:38 | 2020-01-05T15:28:37 | null | UTF-8 | C++ | false | false | 708 | cpp | #include <iostream>
using namespace std;
int solve(int cc) {
string str;
cin >> str;
int p = 0;
while (p < str.length() - 1) {
if (str[p] > str[p + 1]) {
break;
}
p++;
}
if (p == str.length() - 1) {
cout << "Case #" << cc << ": " << str << endl;
return 1;
}
... | [
"e.quiring@tu-bs.de"
] | e.quiring@tu-bs.de |
934fd98cbc4049b477ddb436ee6c44ca5c543c28 | 44db3381986906baa858e4012a21f20cb6dfe9a6 | /src/intersim2/outputset.cpp | 8a9d2cf10155e25071d7cf26eb532ca888bf1c94 | [
"BSD-3-Clause"
] | permissive | lakshmankollipara/gpu_current | 457da2e5c4e9e1d08d6d1eb520c0d4f45442e1eb | 10889439f3fbbe9f8576f8e8bbb0be2602a6d687 | refs/heads/master | 2021-01-13T08:58:08.992168 | 2016-09-29T19:45:57 | 2016-09-29T19:45:57 | 69,601,629 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,869 | cpp | // $Id: outputset.cpp 5188 2012-08-30 00:31:31Z dub $
/*
Copyright (c) 2007-2012, Trustees of The Leland Stanford Junior University
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
Redistributions ... | [
"lakshmankollipara@gmail.com"
] | lakshmankollipara@gmail.com |
3928eb77c278b8d8ecd694d8572f0fac20abe7b8 | 606d9876af16153b24a79714b9a8b078633c991b | /3rdparty/mylib/TextureUtil.h | 9aecbb9448b3604ab504fb9a090cd095913dcb03 | [] | no_license | cntlb/Opengl-linux | 7c4355f10d33271019c263477a022c8c4c6e2369 | 2743388939846d2b4c9a082a55ef6f5c466ff280 | refs/heads/master | 2021-01-25T13:25:23.840707 | 2018-03-14T11:01:18 | 2018-03-14T11:01:18 | 123,571,974 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,534 | h | //
// Created by jmu on 18-3-9.
//
#ifndef INC_2_4_TEXTURE_TEXTURE_H
#define INC_2_4_TEXTURE_TEXTURE_H
#include "common.h"
#define LOG_TAG "TextureUtil.h"
class TextureUtil{
public:
static GLuint load(const char* path, void (*texParamFunc)()=TextureUtil::texFunc){
GLuint texture;
glGenTextures(1,... | [
"tanglinbing@4399inc.com"
] | tanglinbing@4399inc.com |
c2cffe098429e136aba0db297196bda85f5b0b46 | 4bcc9806152542ab43fc2cf47c499424f200896c | /tensorflow/core/kernels/mlir_generated/gpu_op_complex_abs.cc | 69f45d58b18eac44f019aa12060ae83a812a3a57 | [
"Apache-2.0",
"LicenseRef-scancode-generic-cla",
"BSD-2-Clause"
] | permissive | tensorflow/tensorflow | 906276dbafcc70a941026aa5dc50425ef71ee282 | a7f3934a67900720af3d3b15389551483bee50b8 | refs/heads/master | 2023-08-25T04:24:41.611870 | 2023-08-25T04:06:24 | 2023-08-25T04:14:08 | 45,717,250 | 208,740 | 109,943 | Apache-2.0 | 2023-09-14T20:55:50 | 2015-11-07T01:19:20 | C++ | UTF-8 | C++ | false | false | 1,130 | cc | /* Copyright 2021 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | [
"gardener@tensorflow.org"
] | gardener@tensorflow.org |
5589aa01f6692df2f5b10f4067a38b3d39a9dbaf | ace28e29eaa4ff031fdf7aa4d29bb5d85b46eaa3 | /Visual Mercutio/zSOAP/PSS_SoapPublisher_MessengerInfo.h | 5480f478fc31fe31eaea76f9ff47d6bcea3d83cb | [
"MIT"
] | permissive | emtee40/Visual-Mercutio | 675ff3d130783247b97d4b0c8760f931fbba68b3 | f079730005b6ce93d5e184bb7c0893ccced3e3ab | refs/heads/master | 2023-07-16T20:30:29.954088 | 2021-08-16T19:19:57 | 2021-08-16T19:19:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,843 | h | /****************************************************************************
* ==> PSS_SoapPublisher_MessengerInfo -------------------------------------*
****************************************************************************
* Description : SOAP protocol to publish the Messenger info *
* Devel... | [
"jean_milost@hotmail.com"
] | jean_milost@hotmail.com |
495f71e6f10034311d75e3a925a58a18e5c67a24 | c2d270aff0a4d939f43b6359ac2c564b2565be76 | /src/gin/v8_initializer.cc | 292f4cb2a4d6a1f03c0a0f34c5188037204ce3fd | [
"BSD-3-Clause"
] | permissive | bopopescu/QuicDep | dfa5c2b6aa29eb6f52b12486ff7f3757c808808d | bc86b705a6cf02d2eade4f3ea8cf5fe73ef52aa0 | refs/heads/master | 2022-04-26T04:36:55.675836 | 2020-04-29T21:29:26 | 2020-04-29T21:29:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,224 | cc | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "gin/v8_initializer.h"
#include <stddef.h>
#include <stdint.h>
#include <memory>
#include "base/debug/alias.h"
#include "base/debug/crash_logg... | [
"rdeshm0@aptvm070-6.apt.emulab.net"
] | rdeshm0@aptvm070-6.apt.emulab.net |
ce18e24fa44b888a0de50bc95a7a727a0d107d0e | 32cb04fde0f2c857b6fdbad9ff601b967c588727 | /DS-Foundation/timespacecomplex/012.cpp | ae35671d5312257e4fb88704bccf638d083760cb | [] | no_license | ashutoshsidhar/pepcoding | 9839ff41c866034c07a741014f4804b59af7b21c | 246062e2f6911ae0f0a6cc3d475391627c3cdaa3 | refs/heads/master | 2023-05-27T23:19:30.049337 | 2021-06-20T14:21:23 | 2021-06-20T14:21:23 | 326,162,829 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 973 | cpp | #include <iostream>
#include <vector>
using namespace std;
void input(vector<int> &arr)
{
for (int i = 0; i < arr.size(); i++)
{
cin >> arr[i];
}
}
void print(vector<int> &arr)
{
for (int i = 0; i < arr.size(); i++)
{
cout << arr[i] << endl;
}
cout << endl;
}
// used for ... | [
"ashutoshsidhar1999@gmail.com"
] | ashutoshsidhar1999@gmail.com |
393172f3df8ccfb8630ffa3220d37dae81d2c57c | 77ff0d5fe2ec8057f465a3dd874d36c31e20b889 | /problems/POJ/POJ3273.cpp | 6d6f177b5e614849f9a99784553332f13f4de290 | [] | no_license | kei1107/algorithm | cc4ff5fe6bc52ccb037966fae5af00c789b217cc | ddf5911d6678d8b110d42957f15852bcd8fef30c | refs/heads/master | 2021-11-23T08:34:48.672024 | 2021-11-06T13:33:29 | 2021-11-06T13:33:29 | 105,986,370 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,825 | cpp | #include <cstdio>
#include <cstdlib>
#include <cmath>
#include <climits>
#include <cfloat>
#include <map>
#include <utility>
#include <set>
#include <bitset>
#include <iostream>
#include <memory>
#include <string>
#include <vector>
#include <list>
#include <numeric>
#include <algorithm>
#include <functional>
#include <... | [
"clavis1107@gmail.com"
] | clavis1107@gmail.com |
14c8acdad973ce34a520e6f44147334b20531bf9 | 4b8fde910bf00294ea21ce4d1aade7dff921498a | /dev/src/builtins.cpp | 071faeb21589f52444ce65a38fd45276dfad4bfe | [
"Apache-2.0"
] | permissive | DawidvC/lobster | f4db968a78e9969ab8c57dc1ed511e8cf4d8abfb | ca6fae4b308664e61ce5d745aec1f610429b297d | refs/heads/master | 2020-04-06T05:32:27.947474 | 2014-09-06T22:15:31 | 2014-09-06T22:15:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 31,135 | cpp | // Copyright 2014 Wouter van Oortmerssen. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required b... | [
"aardappel@gmail.com"
] | aardappel@gmail.com |
0f99530316907bba4194a9922d48fabdd747e7ee | db19ea383c96b1a8605bb719efeeae688e2acdb1 | /FirstClass/main.cpp | fd8145b751a0ecc091a6f7ff4ec7da094959191e | [] | no_license | Ryzempt/FirstClass | dcd7c577dbe31bf2fac86f9126a00bd67ad851f1 | f00d0cb02046c30c25ee96def17dd6786af7b859 | refs/heads/master | 2020-04-18T08:16:30.599615 | 2019-01-24T15:31:04 | 2019-01-24T15:31:04 | 167,390,530 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 272 | cpp | //
// main.cpp
// FirstClass
//
// Created by Kaufman, Robert on 1/24/19.
// Copyright © 2019 CTEC. All rights reserved.
//
#include <iostream>
int main(int argc, const char * argv[]) {
// insert code here...
std::cout << "Hello, World!\n";
return 0;
}
| [
"robbiekaufman0504@gmail.com"
] | robbiekaufman0504@gmail.com |
427030fa8994144e2db76c609e19052443f368ab | 634f95f90230b0f7e11158dc271cba5a3bc703c7 | /tkEngine/Input/tkKeyInput.h | 968b58afea87d65993e5c2afdfe40c0485c52f15 | [] | no_license | TakayukiKiyohara/Sandbox | 55c7e2051bcb55b7765a9f367c3ee47d33f473de | 99c354eb91c501d8a10d09806aa4acdcf5d26dcb | refs/heads/master | 2021-01-18T01:06:30.462238 | 2016-11-11T13:43:58 | 2016-11-11T13:43:58 | 68,387,195 | 4 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 2,275 | h | /*!
* @brief キー入力。
*/
#ifndef _TKKEYINPUT_H_
#define _TKKEYINPUT_H_
#include "tkEngine/Input/tkPad.h"
namespace tkEngine{
class CKeyInput{
public:
static const int NUM_PAD = 4; //パッドの数。
enum EnKey {
enKeyUp,
enKeyDown,
enKeyRight,
enKeyLeft,
enKeyA,
enKeyB,
enKeyNum,
};
/*!
* ... | [
"nezumimusume30@gmail.com"
] | nezumimusume30@gmail.com |
4c7e07e9ac5824873d6d278a22c30a51c94db70f | 6a11d2e56eda699ff63e56ac87d69934cd48740c | /mstl_eat.hpp | c78b0b9cf87264acd6ddb5363b825e4298722807 | [] | no_license | halsten/my-toolkit | 727152c9aa480a3d989ac97cc29849555d9db54d | 4d37e920ed66f045f2866c98549617de4d9817d3 | refs/heads/master | 2023-03-26T01:33:45.513547 | 2017-07-16T14:40:46 | 2017-07-16T14:40:46 | 351,218,795 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,615 | hpp | #pragma once
#include "mstl_image_dir.hpp"
/*
@Address - pointer to function pointer
@hash_t - djb2 hash of name
*/
using export_t = std::pair<Address, hash_t>;
using exports_t = std::vector<export_t>;
class EAT : public IMAGE_DIR<IMAGE_DIRECTORY_ENTRY_EXPORT> {
private:
exports_t m_exports;... | [
"matty@cock.li"
] | matty@cock.li |
04ee77bd12b2b7e85595cc5bc4c9862a6a2e1eaf | 212380b8070b2f4b9a2ee9db88d8ef71301f500b | /Number.cpp | e5378c72dec1a0e8fd3e011ad9ebbba87e746b17 | [] | no_license | SeanTo/My3D | 379976f02434100dcb5e7cf37b06eca1fc20e60c | b2e13e7582d072b70574b5630ae6f1abbda6423d | refs/heads/master | 2020-04-16T11:33:00.343386 | 2019-01-14T17:36:22 | 2019-01-14T17:36:22 | 165,540,600 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 7,265 | cpp | #include "stdafx.h"
#include "Number.h"
////////////////////////////////////////////////////////////////////////////////
// static member
// 奇偶、大小、质合形态
const CString C3D::strModality[3][8] = {
{ _T("偶偶偶"), _T("偶偶奇"), _T("偶奇偶"), _T("偶奇奇"),
_T("奇偶偶"), _T("奇偶奇"), _T("奇奇偶"), _T("奇奇奇") },
{ _T("小小小"), _T("小小大"), _T... | [
"tuxw2005@gmail.com"
] | tuxw2005@gmail.com |
bd9d7f247a7d597761f1ebafce2893606c1142e5 | 4c4135fcb4d33344b5904642e26ebe9393253c64 | /charactersheetwriter.cpp | a0149aa75666c00dc3a5e0da356854b83c19e243 | [] | no_license | mzawislak94/DnDCharacterCreator | 131e64d50dac785817a974cf9fa2a68d09d12ef1 | d25a3df2735ac007721e511b932e07adba6c10d7 | refs/heads/master | 2020-04-13T02:50:52.641551 | 2018-12-23T18:12:33 | 2018-12-23T18:12:33 | 162,913,416 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 379 | cpp | #include "charactersheetwriter.h"
charactersheetwriter::charactersheetwriter()
{
}
void charactersheetwriter::writeToFile(QFile *file, QStringList options)
{
if (NULL != file->open(QIODevice::Append))
{
QTextStream out(file);
for (int i = 0; i < options.length(); i++)
{
o... | [
"mzawislak94@gmail.com"
] | mzawislak94@gmail.com |
c165744a256746d0b13e866584d781e16bc4796d | 55fc0e953ddd07963d290ed56ab25ff3646fe111 | /StiGame/events/TableClickEventArgs.h | 6d1ec525f85e79d47c97e5c2dfa0e904cf0c67cc | [
"MIT"
] | permissive | jordsti/stigame | 71588674640a01fd37336238126fb4500f104f42 | 6ac0ae737667b1c77da3ef5007f5c4a3a080045a | refs/heads/master | 2020-05-20T12:54:58.985367 | 2015-06-10T20:55:41 | 2015-06-10T20:55:41 | 22,086,407 | 12 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 715 | h | #ifndef TABLECLICKEVENTARGS_H
#define TABLECLICKEVENTARGS_H
namespace StiGame
{
namespace Gui
{
class Table;
class TableRow;
class TableCell;
class TableClickEventArgs
{
public:
TableClickEventArgs(int m_rowIndex, int m_columnIndex);
TableClickEventArgs(Table *m_table, TableRow *m_row, TableCell *m_cell, i... | [
"jord52@gmail.com"
] | jord52@gmail.com |
b59ea7f21ff0f4578505079040dc8e2587012d33 | 5d83739af703fb400857cecc69aadaf02e07f8d1 | /Archive/5662f313779a1b2aa3f4cf81f184d232-f674c1a6d04c632b71a62362c0ccfc51/main.cpp | 303372ad92ad06c047a22bb3209ad4dd03976053 | [] | 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 | 378 | cpp | #include <iostream>
#include <string>
#include <vector>
template<typename T>
std::ostream& operator<<(std::ostream& os, const std::vector<T>& vec)
{
for (auto& el : vec)
{
os << el << ' ';
}
return os;
}
int main()
{
std::vector<std::string> words = {
"Hello", "from", "GCC", __VE... | [
"francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df"
] | francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df |
5b573fdcfe5cbdfffcb07574c1225c2ed774ee35 | 92640ec261e7875a5e65e95d6408be2df3cdd9a3 | /temp/1148.cpp | b9991a863a1a255ad37592b1d7cdfcf02401bf7d | [] | no_license | gaolichen/contest | c20c79d1a05ea6c015329bc2068a3bbb946de775 | 4ac5112f150210c6345312922dc96494327cbf55 | refs/heads/master | 2021-01-19T04:45:59.100014 | 2017-04-06T06:46:09 | 2017-04-06T06:46:09 | 87,392,728 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,047 | cpp | #include<stdio.h>
#include<string.h>
char map[80][80];
int mark[80][80],dis[80][80],w,h;
int sx,sy,ex,ey;
void run()
{
int i,j,find,k;
for(i=0;i<=w+1;i++)
for(j=0;j<=h+1;j++)
mark[i][j]=0;
mark[sx][sy]=1;dis[sx][sy]=0;
do
{
find=0;
for(i=0;i<=w+1;i++)
for(j=0;j<=h+1;j++)
if(mark[i][j])
{
for(k=... | [
"gchen@ufl.edu"
] | gchen@ufl.edu |
0f75945ecc44ba757c0b02fde9a256fd522858d5 | a8822501e1a017273abb4638328d7b2be1088baf | /WapMap/states/imageDetails.h | f2896560368f86a25f8376fa3c6e2552c64470ca | [] | no_license | pejti/WapMap | b05748cda08d0c76603bbe28dc2f4f2f3d3e5209 | 19a5d56ff24cae1279e414568bd564ae661b3a44 | refs/heads/master | 2020-12-23T09:50:09.173873 | 2020-01-31T21:15:34 | 2020-01-31T21:15:34 | 237,115,263 | 0 | 0 | null | 2020-01-30T01:12:31 | 2020-01-30T01:12:31 | null | UTF-8 | C++ | false | false | 1,329 | h | #ifndef H_STATE_IMGDETAILS
#define H_STATE_IMGDETAILS
#include "../../shared/cStateMgr.h"
#include "../../shared/gcnWidgets/wWin.h"
#include "../../shared/gcnWidgets/wButton.h"
#include "../../shared/gcnWidgets/wLabel.h"
#include "../../shared/gcnWidgets/wScrollArea.h"
#include "../../shared/gcnWidgets/wSlider.h"
#inc... | [
"c37zax@gmail.com"
] | c37zax@gmail.com |
f01eeb55ff44d8aef19ea697fa75fc8f5cec10ea | 3ded37602d6d303e61bff401b2682f5c2b52928c | /ml/030/Classes/scenes/FavScene.h | 4749b0ce50b538a9405ae51578d131bf057caece | [] | no_license | CristinaBaby/Demo_CC | 8ce532dcf016f21b442d8b05173a7d20c03d337e | 6f6a7ff132e93271b8952b8da6884c3634f5cb59 | refs/heads/master | 2021-05-02T14:58:52.900119 | 2018-02-09T11:48:02 | 2018-02-09T11:48:02 | 120,727,659 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 432 | h | //
// FavScene.h
// OreoMaker
//
// Created by wusonglin1 on 14-10-24.
//
//
#ifndef __OreoMaker__FavScene__
#define __OreoMaker__FavScene__
#include <iostream>
#include "cocos2d.h"
#include "../Depends/base/BaseScene.h"
USING_NS_CC;
class FavScene: public BaseScene{
private:
FavScene();
virtual ~FavScene(... | [
"wuguiling@smalltreemedia.com"
] | wuguiling@smalltreemedia.com |
bd77b26109c819eef2b8d0a74087297c1f092ddc | ab7a412d64cc2bf2b2446c0c770f31c50ceb6819 | /BGE/SoundSystem.cpp | 76d945d2d734495f6f64407144a1d1d038d61d61 | [
"MIT"
] | permissive | PocketRocketRoche/GamesEngines1Assignment | 856790e9f171cfa03b21e9f52cc16210de60a75f | 2b402cb45387eb64f34c8a648fd68c3cd1df0118 | refs/heads/master | 2021-01-10T21:46:04.364814 | 2013-12-13T15:26:55 | 2013-12-13T15:26:55 | 13,859,413 | 0 | 0 | MIT | 2020-09-12T11:53:35 | 2013-10-25T12:02:33 | C | UTF-8 | C++ | false | false | 2,958 | cpp | #include "SoundSystem.h"
#include <fmod.hpp>
#include <fmod_errors.h>
#include "Exception.h"
#include "Content.h"
#include "Utils.h"
using namespace BGE;
void CheckFMODResult( FMOD_RESULT res )
{
if (res != FMOD_OK)
{
const char * error = FMOD_ErrorString(res);
throw BGE::Exception(error);
}
}
// Doesnt work..... | [
"skooter500@gmail.com"
] | skooter500@gmail.com |
d7dfffb495fa5c317267506351d08a8f8a1cb8ff | 41336673d4112c3025546b927cfb279d40ede2f2 | /compilerProject/ST/object.h | f0de2cfa282417250929f581b24ca28a7056f453 | [] | no_license | BlueBrains/compiler-project | 6f5e05f0d908defa941910d165e8592c93dcbec0 | 6d3045621fa21c9b4220bccf98e91d9ba23fd5b4 | refs/heads/master | 2021-01-20T18:54:56.494693 | 2015-01-13T10:11:09 | 2015-01-13T10:11:09 | 65,128,243 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 70 | h | using namespace std;
class object
{
public:
object();
~object();
}; | [
"amer.signinn@gmail.com"
] | amer.signinn@gmail.com |
14a55e7680b9ea8f28a7d925049089d87171111a | e07e3f41c9774c9684c4700a9772712bf6ac3533 | /app/Temp/StagingArea/Data/il2cppOutput/mscorlib_System_Collections_Generic_Dictionary_2_T2874325086.h | ada49fe52b40246ad6a1db2105b77f055e8f04f4 | [] | no_license | gdesmarais-gsn/inprocess-mobile-skill-client | 0171a0d4aaed13dbbc9cca248aec646ec5020025 | 2499d8ab5149a306001995064852353c33208fc3 | refs/heads/master | 2020-12-03T09:22:52.530033 | 2017-06-27T22:08:38 | 2017-06-27T22:08:38 | 95,603,544 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 974 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
// System.Object
struct Il2CppObject;
// System.IAsyncResult
struct IAsyncResult_t1999651008;
// System.AsyncCallback
struct AsyncCallback_t163412349;
#include "mscorlib_System_Multi... | [
"gdesmarais@gsngames.com"
] | gdesmarais@gsngames.com |
7920fcbbc6b4d2ed2817de8454b6d5836d4efd17 | d603ec4bbca216691a886f382d43997f2277b5f5 | /src/iccf.cc | 03c6e2e88eacaa8b1aae8ee61ec66e24d83a4884 | [
"MIT"
] | permissive | argv-minus-one/iconv-corefoundation | 6d843e68472343b066beccb5af5cb037659729b8 | 05394f04940a83431749c1672747eebcc8fae8ac | refs/heads/master | 2023-05-10T17:05:37.184906 | 2021-11-28T22:56:11 | 2021-11-28T22:56:11 | 190,135,783 | 0 | 1 | MIT | 2023-05-01T06:54:15 | 2019-06-04T05:33:32 | C++ | UTF-8 | C++ | false | false | 2,232 | cc | #include "iccf.hh"
#include "StringEncoding.hh"
#include "transcode.hh"
#include "napi.hh"
#include <sstream>
static Napi::Value encodingExists(const Napi::CallbackInfo &info) {
auto jsEncodingName = info[0].As<Napi::String>();
auto encodingName = NapiStringToCFString(jsEncodingName);
auto encoding = CFStringConver... | [
"argv-minus-one@users.noreply.github.com"
] | argv-minus-one@users.noreply.github.com |
7285b0929c8d4ee5545cc690ab65d2fb0cd30ad5 | dc2f794ce06dce6eb1d69a42fd8861b2edaffa97 | /apriluiparticle/src/ParticleBase.cpp | 0dab3c81f09b518ccb4357f5a1a07ac615bf5062 | [] | no_license | Ryex/libaprilparticle | d6500f0d927845d267d53db7776fe42fb1c7b7ae | 7a8556fb0e843ef2f61c8313071f2094a08c2dfd | refs/heads/master | 2021-01-01T05:30:43.116293 | 2014-04-04T07:35:59 | 2014-04-04T07:35:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,678 | cpp | /// @file
/// @author Boris Mikic
/// @version 2.0
///
/// @section LICENSE
///
/// This program is free software; you can redistribute it and/or modify it under
/// the terms of the BSD license: http://www.opensource.org/licenses/bsd-license.php
#include <april/Color.h>
#include <aprilparticle/aprilparticle.h>
#in... | [
"kspes@f2b9c05d-7056-4c2f-abec-aec71e0497c1"
] | kspes@f2b9c05d-7056-4c2f-abec-aec71e0497c1 |
fbfec0150f387079e4c6bfabf1215be241417d56 | 438089df0a020dc8205a4b0df2a08e510f40fd3c | /extern/renderdoc/util/test/demos/gl/gl_test.h | b7900315cd2b3e4ca12d9376f844a0465014b7b3 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT",
"BSD-3-Clause",
"Apache-2.0",
"CC-BY-3.0"
] | permissive | minh0722/basic-directx11 | 59b5bbcc5de6ccf5f26fa68493d11512b20e5971 | 9e0b24d42497688fd5193327110432ab262234cf | refs/heads/master | 2021-08-16T03:11:48.626639 | 2021-01-20T23:45:33 | 2021-01-20T23:45:33 | 72,579,642 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,543 | h | /******************************************************************************
* The MIT License (MIT)
*
* Copyright (c) 2019-2020 Baldur Karlsson
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the So... | [
"minh0722@yahoo.com"
] | minh0722@yahoo.com |
df1b7be62418a1774597d738a17742f639cb8434 | 7bb1cd3b6ab160eef592e7d7d14120d299b61ee4 | /codeforces/A/501A.cpp | 6b289b94b6d9eb2c891a4531d1332635cd664d6a | [] | no_license | naveenchopra9/cp | d986a3e8c650903b8bec8c4b0665c3ef664e251a | 0f271204b2675a366f0b92081ec67a97efc5883a | refs/heads/master | 2020-05-16T12:38:25.063272 | 2019-04-23T16:12:46 | 2019-04-23T16:12:46 | 183,051,510 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 737 | cpp | #include "/Users/naveen/stdc++.h"
//#include <bits/stdc++.h>
using namespace std;
#define MAXV 2147483647
#define MINV -2147483647
#define SYC ios_base::sync_with_stdio(0); cin.tie(0)
#define ll unsigned long long int
#define For(i,n) for(int i =0 ; i< n ; i++)
#define M 1000000007
#define FR freopen("/Users/naveen/Doc... | [
"naveenchopra9331@gmail.com"
] | naveenchopra9331@gmail.com |
6d3c81346d026c98c1674c5cdb92017e83c381af | 5b07de510fd36829ccec2704340d6aa4e2d88bb7 | /src/wallet.cpp | 6793b587ecf98502fd90289521860ba958356be5 | [] | no_license | wyh136/DECENT | b12f8222b4d803b526ebcdf6076891cfd06b4fa1 | 9785af7faab5e834463999959ce85e5287b96ca4 | refs/heads/master | 2021-01-20T11:34:53.214816 | 2016-09-06T17:11:42 | 2016-09-06T17:11:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 94,419 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Copyright (c) 2011-2013 The Peercoin developers
// Copyright (c) 2015-2015 The Decent developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/... | [
"josef.sevcik@gmail.com"
] | josef.sevcik@gmail.com |
3ea9a95f12d06f3b4caf94c03ac048c9b8ba8db0 | 8dedc2459417ca9be0f47d14d517c76e62f008ed | /Volume 002/231 - Testing the CATCHER/231 - Testing the CATCHER.cpp | 6045471fb8051565ceea28a213ad8a307ea2ff0c | [] | no_license | MrGolden1/UVA | 015375ee9e4004097544370cd0a51b04ffb43699 | 6f5cbb1fa68e123251c8943a53919c7e514b0135 | refs/heads/master | 2020-05-22T15:42:41.669232 | 2019-08-16T21:04:15 | 2019-08-16T21:04:15 | 186,413,776 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,144 | cpp | #include <iostream>
#include <string>
#include <string.h>
#include <algorithm>
#include <stdio.h>
#include <map>
#include <stack>
#include <queue>
#include <math.h>
#include <iomanip>
using namespace std;
#define ull unsigned long long
#define infinite 2147483647
#define md 1000000007
int main()
{
ios::sync_wit... | [
"ali.zarrinzadeh@gmail.com"
] | ali.zarrinzadeh@gmail.com |
5798c4360a486eb29efa7cbd512695432d3f7a2a | 0d2eab2c7aaf0b78c32c30e7ab484b91e115e8a5 | /nicolas/ch4/trajectoryError/include/trajectoryError.h | b62f89e9b75b043dc1ea439f4f8e88eb924654f4 | [
"MIT"
] | permissive | nicolasrosa-forks/slambook2 | 08275c8680e24f3c473667ca8ee595b425ef0d3d | 9cae572378fc5da758b6404e45d443b0bde71853 | refs/heads/master | 2023-05-15T17:52:06.421885 | 2021-05-12T00:56:31 | 2021-05-12T00:56:31 | 312,411,541 | 0 | 1 | MIT | 2021-04-15T14:55:56 | 2020-11-12T22:31:16 | C++ | UTF-8 | C++ | false | false | 909 | h | /* =========== */
/* Libraries */
/* =========== */
/* System Libraries */
#include <iostream>
#include <fstream>
#include <unistd.h>
#include <iomanip> // std::fixed, std::setprecision
/* Eigen3 Libraries */
#include <eigen3/Eigen/Core>
#include <eigen3/Eigen/Geometry>
/* Sophus Libraries */
#include <sophus/... | [
"nicolas.rosa@hotmail.com"
] | nicolas.rosa@hotmail.com |
dce9419b614563cc4580646630ae00e8f993a7f6 | 6abfbf8d3c934bfb77ce989c46f7ee5c3e3c19a7 | /066. Plus One/Solution.cpp | 98c5fff3337a25f8c3f64eeeb7e3e07b101c1f37 | [] | no_license | AristoChen/LeetCode-AC-Solution | 7be7d09d99f131e06529e4e34e12129729a12efa | d2f988257b1631e79cf13763bf87e826ee834c3b | refs/heads/master | 2020-03-17T20:30:29.879961 | 2018-06-07T13:26:20 | 2018-06-07T13:26:20 | 133,913,472 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 665 | cpp | /*
Submission Detail:{
Difficulty : Easy
Acceptance Rate : 39.84 %
Runtime : 4 ms
Testcase : 108 / 108 passed
Ranking : Your runtime beats 99.68 % of cpp submissions.
}
*/
class Solution {
public:
vector<int> plusOne(vector<int>& digits) {
int carry = 1;
for(int i = digits.size(... | [
"jj251510319013@gmail.com"
] | jj251510319013@gmail.com |
b47bcba10189080e95bd734c29e23b2298c136bb | 5fcc718e15e951bb0ef3fae7816ee2f33cfced82 | /bankrobbery.cpp | 3aafc5019b444f8ee9738747701cc21fae8fa579 | [] | no_license | Shubhamsingh147/Codechef-Hackerrank-Hackerearth-etc | 27ec108b05350222829450d9da8f66bfe1ebd085 | 8974aa238d3609a61f0003bee5fb56c3e2b31b01 | refs/heads/master | 2021-01-19T04:24:32.494028 | 2016-06-01T09:21:58 | 2016-06-01T09:21:58 | 60,162,140 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 359 | cpp | #include <iostream>
#include <iomanip>
#include <cmath>
using namespace std;
int main(){
int t,m;
double p;
cin>>t;
while(t--){
cin>>m>>p;
if(m%2 == 1)
cout<<"1000000000.0 0.0"<<endl;
else{
double two = 1000000000.0 * p;
cout << setprecision(1) << fixed << 1000000000.0 - two<<" ";
cout << setpreci... | [
"shubhamsingh147@gmail.com"
] | shubhamsingh147@gmail.com |
fbd2ffb2db49534893a6794e685c676acf2656a1 | dfd05e8222d71e14db0e121c5ff736b1b834b064 | /Inventory.cpp | 9cea730d8f34fc005334f02ba980351b3294ff9a | [] | no_license | 02bwilson/Car_Headers | 814630d81e8da17e7608b8ac6a83733d6d806ea1 | 40ddf147bc40817117bb79db7c16aed5d591d460 | refs/heads/master | 2023-08-24T03:18:21.128196 | 2021-09-23T23:18:28 | 2021-09-23T23:18:28 | 406,549,428 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,483 | cpp | #include "Inventory.h"
#include <iostream>
using namespace std;
// Initilizes the inventory
Inventory::Inventory() {
cars = new Car*[MAX_CARS];
carCount = 0;
}
// Inventory return operations to get private attributes
int Inventory::getCount() const {
return carCount;
}
// Determines if car vin is al... | [
"wilsonbryce54@gmail.com"
] | wilsonbryce54@gmail.com |
e0b6bf91d745ad8690b3f01b99c67e80d180ec11 | 3c997c1f6e46c9b9a809e299a54b58956228d9e6 | /S2Sim/SystemManager.h | 9257a78681b1d991c2fa74efd69e4f1bfdbfa249 | [] | no_license | asakyurek/S2Sim | 8897805034e4202d8d6650dc36d2533d1c36ee64 | 7d8fae8d89d327423847deb40ec7164716e53f66 | refs/heads/master | 2020-05-17T03:33:37.659916 | 2014-07-08T03:55:36 | 2014-07-08T03:55:36 | 17,011,994 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,711 | h | /**
* @file SystemManager.h
* Defines the SystemManager class.
* @date Oct 25, 2013
* @author: Alper Sinan Akyurek
*/
#ifndef SYSTEMMANAGER_H_
#define SYSTEMMANAGER_H_
#include <map>
#include <mutex>
#include <memory>
#include "ClientManager.h"
#include "MatlabManager.h"
#include "ControlManager... | [
"alpersinanakyurek@gmail.com"
] | alpersinanakyurek@gmail.com |
f83e7fd37d65fa6d967187628152db3797841798 | 663e4aeb088b93a5dfeef7def71154c5b55afa41 | /node_modules/hummus/src/PDFStreamDriver.cpp | 3577a73f9c727629a4360668c6d1a4767fa6a209 | [
"Apache-2.0"
] | permissive | nnradovic/press-cliping-nodejs | 37d44025572eca274e5080cd76500404b1cc9953 | 3db5043ed8d77bcbf3a41d65f359d26492239a80 | refs/heads/master | 2020-04-07T10:26:59.590015 | 2018-11-27T13:13:13 | 2018-11-27T13:13:13 | 158,287,199 | 0 | 0 | null | 2018-11-20T16:15:49 | 2018-11-19T20:40:37 | JavaScript | UTF-8 | C++ | false | false | 2,686 | cpp | /*
Source File : PDFStreamDriver.h
Copyright 2013 Gal Kahana HummusJS
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 re... | [
"nnradovic@gmail.com"
] | nnradovic@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.