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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
68ab5ec9be6ec50944ef68e6d6d5b04de37a480b | 902aab58f902a488a4f0f0e8e0d6b0bab8334240 | /InProgress/CavityRefine/case/system/refineMeshDict | 8435e5bd43a4645b523608dc2fe6df97fb1f1837 | [] | no_license | Foadsf/OpenFOAM_Tutorials_ | d32d5ef6583f276018f2314a78fe66c730c47109 | 4b914e5112863f2660e15b899dfddfc0ec04f90c | refs/heads/master | 2021-09-12T08:19:21.666536 | 2018-01-24T17:31:13 | 2018-01-24T17:31:13 | 118,747,914 | 1 | 0 | null | 2018-01-24T10:10:08 | 2018-01-24T10:10:08 | null | UTF-8 | C++ | false | false | 2,070 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.1 |
... | [
"rlee32@gatech.edu"
] | rlee32@gatech.edu | |
cad5d2c2e4b55396db9c5ff1e384aff2a66035f4 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5648941810974720_1/C++/Paradox1/test3.cpp | 3eaaa6c57cc19ba9f94ac16963cbf61e0bfb9894 | [] | 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,452 | cpp | //Mitesh Agrawal
#include <bits/stdc++.h>
using namespace std;
#define gc getchar
#define pi(n) printf("%d",n)
#define pin(n) printf("%d\n",n)
#define pis(n) printf("%d ",n)
#define pll(n) printf("%d",n)
#define plls(n) printf("%lld ",n)
#define plln(n) printf("%lld\n",n)
#define ps printf(" ")
#define pn printf("\n"... | [
"alexandra1.back@gmail.com"
] | alexandra1.back@gmail.com |
2765d8e12b3e89b0dc4f41b01e73ecc5d5aeb22b | fe6360bf697243c6c318836a3c64a9c1984b610b | /deprecated/physiCal/include/shape/shape.line.h | 8477ec2a9665a3fbdf9214206e0b9cb3c948832a | [] | no_license | davidmueller13/vexx | 366cec96f4abac2e814176cd5d2ae75393561c0d | 9194877951c78cd3fde3e7fbe6d511e40c24f8eb | refs/heads/master | 2021-01-10T11:51:19.124071 | 2015-09-26T15:30:05 | 2015-09-26T15:30:05 | 43,210,604 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,000 | h | #ifndef SHAPE_LINE_H
#define SHAPE_LINE_H
#include "shape/shape.types.h"
BEGIN_PHYSICAL_NAMESPACE
class PHYSICAL_EXPORT line
{
public:
//! Position of the line
pVector position;
//! The direction of the line
pVector direction;
//! Initiate from a point and a vector
line( pVector=pVector(... | [
"jorjpimm@e3525c50-fa1a-11de-8c8a-61c5e9addfc9"
] | jorjpimm@e3525c50-fa1a-11de-8c8a-61c5e9addfc9 |
87aa44104fcb3fa1d3d263cebc4c67b61c0f6597 | 7d81e3fe487ff012f630fc602d9b94e6e428bf21 | /include/openMVG/multiview/two_view_kernel.hpp | 15fa1cf7fdf31bb01caca4e020f32b5f493ee894 | [] | no_license | MagicPixel/Linux_Tx2 | 8e71bd2c17e864afedbb7cf819afdb0d45e6f827 | 59fdc8c0ad303537ad076fcb4c3f525514d885f0 | refs/heads/master | 2020-05-16T09:28:57.420876 | 2019-04-30T03:15:04 | 2019-04-30T03:15:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,212 | hpp |
// Copyright (c) 2010 libmv authors.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to
// deal in the Software without restriction, including without limitation the
// rights to use, copy, modify, merge, ... | [
"cyg1030@foxmail.com"
] | cyg1030@foxmail.com |
a24b2e2279517515e50c60c5fc97a3d6e45fb88a | eb7b03bd2431a8244a9997179b2da074c589586c | /.history/200/Multiplication 2_20201205170945.cpp | 2cdc36085f4e90ba19158077d7c3c39ca440efc8 | [] | no_license | runes224/competitive-programming | f52e490bb1da9bc1d0e3c76f8383f53bf4b2b8f9 | 36f791eca638ebc1f78e384708db5d1693ca825b | refs/heads/master | 2023-06-01T09:08:42.112523 | 2021-07-11T05:51:09 | 2021-07-11T05:51:09 | 308,819,799 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 492 | cpp | #include <bits/stdc++.h>
using namespace std;
#define rep(i, c) for (int i = 0; i < (int)c; i++)
// typedef long long
const MX = 1e18;
int main()
{
int n;
cin >> n;
vector<long long> a(n);
rep(i, n) cin >> a[i];
long long ans = 1;
rep(i, n) {
if(a[i] == 0){
cout << 0 << endl;
return 0;
... | [
"hitakarento@gmail.com"
] | hitakarento@gmail.com |
fab7b760a8bdf5f8456194afcc39cdc2a851b0cc | 04b1803adb6653ecb7cb827c4f4aa616afacf629 | /content/renderer/pepper/pepper_plugin_instance_metrics.cc | 34a87fb5a7fab18d6c035b1a9510fe36b12d5ea2 | [
"BSD-3-Clause"
] | permissive | Samsung/Castanets | 240d9338e097b75b3f669604315b06f7cf129d64 | 4896f732fc747dfdcfcbac3d442f2d2d42df264a | refs/heads/castanets_76_dev | 2023-08-31T09:01:04.744346 | 2021-07-30T04:56:25 | 2021-08-11T05:45:21 | 125,484,161 | 58 | 49 | BSD-3-Clause | 2022-10-16T19:31:26 | 2018-03-16T08:07:37 | null | UTF-8 | C++ | false | false | 2,530 | cc | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/renderer/pepper/pepper_plugin_instance_metrics.h"
#include <stddef.h>
#include "base/metrics/histogram_functions.h"
#include "base/met... | [
"sunny.nam@samsung.com"
] | sunny.nam@samsung.com |
4fdb4b4b453290a86c2a575c4f8062a86fa02f8f | cf2ed0195fa168da120dcc6c8a0fe31eb919af1a | /FirstGame/Classes/AppDelegate.cpp | 1498850ba1f0a41ecca60fc7481fdcc7f5967df5 | [] | no_license | jubirosaiko/cocos2d-x_projects | 6b42be791d86d4fd971a3b043e7a430fd39eca28 | 9b1dd0d55bf9519461b7945c1015322c0946c32a | refs/heads/master | 2021-01-10T09:28:52.501054 | 2016-02-18T10:34:11 | 2016-02-18T10:34:11 | 51,996,578 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,655 | cpp | #include "AppDelegate.h"
#include "HelloWorldScene.h"
#include"scene/Title/TitleScene.h"
#include"scene/Splash/SplashScene.h"
USING_NS_CC;
static cocos2d::Size designResolutionSize = cocos2d::Size(1024, 512);
static cocos2d::Size smallResolutionSize = cocos2d::Size(480, 320);
static cocos2d::Size mediumResolutionSize... | [
"jubirosaiko@yahoo.co.jp"
] | jubirosaiko@yahoo.co.jp |
77c391fa6a4fd45176c711cb653c573d01df6218 | e9cf9f371e7e03c0a8988b82df9a0a463ef6f5ed | /SampleAIs/InputTestAI.cc | 1805e1cd95badfb6b3ef523fa1f6f97d4834ec03 | [
"Apache-2.0"
] | permissive | AI-comp/JavaChallenge2015 | 4e8580c5a462c1d515f2c756a10d736c8faf7a2b | db5aa667b5cba74eac45d3d679a477e7c7f1e4bd | refs/heads/master | 2016-09-01T15:40:57.601983 | 2015-12-02T01:28:59 | 2015-12-02T01:28:59 | 43,115,486 | 0 | 4 | null | 2017-03-28T01:40:01 | 2015-09-25T07:13:51 | Java | UTF-8 | C++ | false | false | 643 | cc | /*
* EODが来るまで入力を受け取り続け、その内容をtest.txtに保存するAI
*/
#include <iostream>
#include <random>
#include <fstream>
using namespace std;
const string commands = "URDLA";
int board[40][40];
int life[4];
int turn;
int x[4];
int y[4];
string dir[4];
int main() {
ofstream outputfile;
outputfile.open("test.txt");
cout << "Ready... | [
"kenkou.n@gmail.com"
] | kenkou.n@gmail.com |
d75d6eddf779ed0791b4026ac0595eaa98bb700e | 509e9d64744f720392fda2b978d783f985c60824 | /opencv-2.4.11/include/opencv2/stitching/detail/util.hpp | cfd68a61e2a4d7ec8672bb49db601f5e9bdc2acd | [] | no_license | theideasmith/Instant-OpenCV-FFMPEG | 0560598fba630ded533b4e6c111c61c9b0b7502b | 234e359af245b4832b3e7ade6070e91c81b65de0 | refs/heads/master | 2021-01-11T20:39:33.443984 | 2017-01-16T23:09:46 | 2017-01-16T23:09:46 | 79,162,330 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 129 | hpp | version https://git-lfs.github.com/spec/v1
oid sha256:46b4847b4e2d8bbaf52273145e50702d6f734a7300029fd938ae6531a07c9607
size 5563
| [
"aclscientist@gmail.com"
] | aclscientist@gmail.com |
be2ba15cc9affa17946a836209cad9e1329a178b | 24bc4990e9d0bef6a42a6f86dc783785b10dbd42 | /components/reporting/client/report_queue_factory.cc | db0fd2686467dff5c1af8ca0c013874103de2b7b | [
"BSD-3-Clause"
] | permissive | nwjs/chromium.src | 7736ce86a9a0b810449a3b80a4af15de9ef9115d | 454f26d09b2f6204c096b47f778705eab1e3ba46 | refs/heads/nw75 | 2023-08-31T08:01:39.796085 | 2023-04-19T17:25:53 | 2023-04-19T17:25:53 | 50,512,158 | 161 | 201 | BSD-3-Clause | 2023-05-08T03:19:09 | 2016-01-27T14:17:03 | null | UTF-8 | C++ | false | false | 3,953 | cc | // Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/reporting/client/report_queue_factory.h"
#include <utility>
#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/string... | [
"roger@nwjs.io"
] | roger@nwjs.io |
526b10a7fba6b289cd313aebc492e9bbdf7c961a | 78918391a7809832dc486f68b90455c72e95cdda | /boost_lib/boost/polygon/detail/scan_arbitrary.hpp | a82876e920b558581ffa30613a686828a2cddf76 | [
"MIT"
] | permissive | kyx0r/FA_Patcher | 50681e3e8bb04745bba44a71b5fd04e1004c3845 | 3f539686955249004b4483001a9e49e63c4856ff | refs/heads/master | 2022-03-28T10:03:28.419352 | 2020-01-02T09:16:30 | 2020-01-02T09:16:30 | 141,066,396 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 136,705 | hpp | /*
Copyright 2008 Intel Corporation
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).
*/
#ifndef BOOST_POLYGON_SCAN_ARBITRARY_HPP
#define BOOST_POLYGON_SCAN_ARBITRARY_HPP
#ifdef BOO... | [
"k.melekhin@gmail.com"
] | k.melekhin@gmail.com |
3ffb2586f5a47b6c9a2b4654157c29f48f53bad6 | f94da7ec05e92e1a8593908143606e545b64c339 | /Visual Studio 2013/projects/MFC2-Edit/DrawLines/DrawLinesWin.cpp | f70571d742d99beba6f5b589510cc8db0eb07cc7 | [] | no_license | jonhassall/AdvancedSoftwareEngineeringSOFT40051 | 4eaafa655335878fb108c56ec0d59ef11b9481e8 | 968c2df2aa670193313c1b157a4da6dadff15334 | refs/heads/master | 2016-09-03T06:50:46.398250 | 2014-12-01T21:44:13 | 2014-12-01T21:44:13 | 26,221,759 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,607 | cpp | // DrawLinesWin.cpp
// Draw lines on screen
#include <afxwin.h> // MFC application framework
#include "DrawLinesWin.h" // application class
#include "Points.h" // application class
CDrawLinesWin::CDrawLinesWin() // main window
{
// to add text to screen
m_CurrentLine = 0; // initialise cu... | [
"jon@jonhassall.com"
] | jon@jonhassall.com |
8356016a0325574c57fe217a333223f44f6b6fc2 | 5188aed199e50683ada5193f68da4805e60e114b | /Sem_5/Compilers/Laboratory/Assignment_6/ass6_17CS10038_17CS30022_target_translator.cxx | 81aee6b301786362f20060cf18596104aab808f6 | [] | no_license | TheLethalCode/KGP_Academics | 4c35bc5ef08b52d9bfbd52ccbfcc284abe2a13cf | 744494f38b6cfc63600b24bb610df848d1299f2f | refs/heads/master | 2022-06-06T03:45:37.065064 | 2022-05-08T16:19:34 | 2022-05-08T16:19:34 | 223,632,661 | 73 | 42 | null | null | null | null | UTF-8 | C++ | false | false | 32,698 | cxx | #include "ass6_17CS10038_17CS30022_translator.h"
#include "y.tab.h"
#define perc %
extern quad_arr glob_quad;
extern int next_instr;
map<int,int> mp_set;
stack<string> params_stack;
string names1 = "Kousshik Raj";
string names2 = "Prashant";
stack<int> types_stack;
stack<int> offset_stack;
stack<int> ptrarr_stack;
ex... | [
"kousshikraj.raj@gmail.com"
] | kousshikraj.raj@gmail.com |
5a6ccd93327ca5ffba961c654969178031c9959d | c945508d86593b92c456311141cd26a19a03c880 | /src/view/windows/playerpickerwindow.hpp | 7aa4593d2f7150192c3aef2eb872664017e9f09f | [
"MIT"
] | permissive | asassoye/esi-dev4-project2 | 337a43fea734e6cf946d8fa6748d140c230f8dd3 | ed3efb6e9aa738cd95e78ded8292675933f0a426 | refs/heads/master | 2023-07-04T21:01:12.465836 | 2021-08-17T10:39:47 | 2021-08-17T10:39:47 | 383,853,250 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,672 | hpp | // MIT License
//
// Copyright (c) 2021 Andrew SASSOYE
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modi... | [
"andrew@sassoye.be"
] | andrew@sassoye.be |
c48b46515c54156e3df7d9aa86db52fcedf733ff | 6701a2c3fb95baba0da5754b88d23f79a2b10f7f | /protocol/mcbp/libmcbp/opcode_test.cc | 9a3e7ec7572bf631c2ae097d8639b301359f307c | [] | no_license | teligent-ru/kv_engine | 80630b4271d72df9c47b505a586f2e8275895d3e | 4a1b741ee22ae3e7a46e21a423451c58186a2374 | refs/heads/master | 2018-11-07T20:52:54.132785 | 2018-01-15T16:34:10 | 2018-01-17T08:29:54 | 117,808,163 | 1 | 0 | null | 2018-01-17T08:34:05 | 2018-01-17T08:34:05 | null | UTF-8 | C++ | false | false | 11,800 | cc | /* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
* Copyright 2017 Couchbase, Inc.
*
* 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
*
* ... | [
"trond.norbye@gmail.com"
] | trond.norbye@gmail.com |
a418addf7dca68bb93a31ddb94e05020d6afc638 | 79ccfc9521004eac0a9c507a8e1c1529ab791942 | /code template/RpgCreature.cpp | bc3b4823d681bad382d5607603574963cf663824 | [] | no_license | jackyjackylin/OOP_RPG_Game | f0db1db6c3a1de97cb825440a6cae99163b5a54e | 1d1821021df49cf8497739125fa82ed25a230462 | refs/heads/master | 2021-07-04T01:02:03.196308 | 2017-09-27T13:59:54 | 2017-09-27T13:59:54 | 105,023,886 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 1,721 | cpp | #include "RpgCreature.h"
using namespace std;
RpgCreature::RpgCreature(){}
RpgCreature::RpgCreature(std::string name):name(name){this->name = name;}
RpgCreature::RpgCreature(std::string name,int maxHp, int strength, int defence,int crits):name(name),maxHp(maxHp),strength(strength),defence(defence),crits(crits){
th... | [
"jacky841114@gmail.com"
] | jacky841114@gmail.com |
ef6ccd591cb94e045971b07fa836e26e63ab470b | 2410fa2248b1d7bba4645f274d8055a9027fad7f | /server/games/mainmenu/ButtonEntity.hpp | 850eba92f019a5a0fb360d3e8aec8ff154923d0c | [] | no_license | Pocsel/rtype | 2324733314c3b18c919c59743356d3c1412fd5ec | d21f161d47cbc4097f2a2d646be37128ba1c3e7e | refs/heads/master | 2021-06-19T10:40:32.176836 | 2011-03-31T18:53:20 | 2011-03-31T18:53:20 | 97,037,119 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 853 | hpp | #ifndef __BUTTONENTITY_HPP__
#define __BUTTONENTITY_HPP__
#include "Entity.hpp"
#include "TextEntity.hpp"
namespace Gmgp
{
namespace Server
{
class ButtonEntity : public Entity
{
public:
explicit ButtonEntity(Game& game, uint16_t playerId);
~ButtonE... | [
"plug@trollteam.com"
] | plug@trollteam.com |
7e065d5c5e106770a2f7227ecbab56c470d81cf8 | 301e5ac78143ba0455dabf0b358c550e124197ec | /BTreeIndex.cc | ceec560fa85641f89f0e463d19fd8871f1885acd | [] | no_license | fangdanzai/CS143-P2 | a5ca795d411213a97b0a2f3c74136de3dc4402cf | 98fcd4d3dacf2e9943cabd26873195f87f7ba1fd | refs/heads/master | 2021-01-18T01:41:29.522378 | 2016-09-20T08:28:19 | 2016-09-20T08:28:19 | 68,679,432 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,701 | cc | /*
* Copyright (C) 2008 by The Regents of the University of California
* Redistribution of this file is permitted under the terms of the GNU
* Public License (GPL).
*
* @author Junghoo "John" Cho <cho AT cs.ucla.edu>
* @date 3/24/2008
*/
#include <stdio.h>
#include "BTreeIndex.h"
#include "BTreeNode.h"
using n... | [
"fangdanzaia@gmail.com"
] | fangdanzaia@gmail.com |
c6bb14860e35a77ef37db3ac8f88a848731ecaec | 12fd41663aed18992bb015e1a7ad808003b2f9d1 | /SignalPlot/src/ZoomableRegion.h | d2cb32de7bba9331e20cd624a228160c40ab3609 | [
"MIT"
] | permissive | arturoc/openFrameworksDemos | 424992513562f110391fa7139e0bddee2649bf11 | daf1f015754f5a4a4ebaa1c625f22a556ce5db22 | refs/heads/master | 2021-01-17T21:22:33.732851 | 2015-05-05T19:18:51 | 2015-05-05T19:18:51 | 35,119,052 | 6 | 1 | null | 2015-05-05T19:17:09 | 2015-05-05T19:17:09 | null | UTF-8 | C++ | false | false | 1,335 | h | #pragma once
#include "ofMain.h"
class ZoomableRegion {
private:
float speed = 5;
float zoom = 1, offset = 1;
float startZoom, startOffset;
ofVec2f startDrag;
float width, height;
public:
ZoomableRegion() {
ofAddListener(ofEvents().mouseDragged , this, &ZoomableRegion::mouseDragged);
... | [
"kyle@kylemcdonald.net"
] | kyle@kylemcdonald.net |
67abc3e2c6cdf89ae4646db9475e9953b5ba10c6 | 0f436197cac637efbcad02567440514b8b0fea18 | /GXUI_Design/Demo3_1/GXUI/UIUtil.cpp | 7fd537180e51a38950b398b3243b0dc9abc9d125 | [] | no_license | hackerlank/2333 | bccbf74e2d9bf360010291f93982811ab431329e | 62a9629557d16f47485ea3b320b5452d91efdc18 | refs/heads/master | 2021-01-13T14:47:38.923836 | 2014-03-12T06:16:46 | 2014-03-12T06:16:46 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,315 | cpp | #include "stdafx.h"
#include "UIUtil.h"
using namespace std;
RECT GenRect::operator()( POINT point, SIZE size )
{
RECT rc;
rc.right = ( rc.left=point.x ) + size.cx;
rc.bottom = ( rc.top=point.y ) + size.cy;
return rc;
}
RECT GenRect::operator()( LONG left, LONG top, LONG right, LONG bottom )
{
RECT rc;
rc.lef... | [
"yancheng.huang@gmail.com"
] | yancheng.huang@gmail.com |
723a010a2a889ded7aac4191cdba8effc13fde34 | 0fca1251b4b01a6a5c684e4b834265ccae401d17 | /lab05-raytracer/RayTracer/Point.h | 330c74c991b680d58720bc2082463168696f2671 | [] | no_license | mikathesmith/ComputerGraphics | 42cec1b99055d438e7b343e22f7777359283aec1 | 952c02899bbc629911866d6d7d9b9cf3acf1cef2 | refs/heads/master | 2021-01-20T02:38:00.186539 | 2017-05-22T05:44:55 | 2017-05-22T05:44:55 | 89,431,602 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,849 | h | #pragma once
#ifndef POINT_H_INCLUDED
#define POINT_H_INCLUDED
#include "Vector.h"
/** \file
* \brief Point class header file.
*/
/** \brief Class for Point Vectors.
*
* A Point can be seen as either a 3-Vector or a homogeneous 4-Vector.
* In this implementation a Point is a 3-Vector, and the Tra... | [
"mismith@oucs1510.otago.ac.nz"
] | mismith@oucs1510.otago.ac.nz |
2005882a3dc2206b0e3b60212b8b5c38e6e8e604 | 2e6f4690a2a9448a1eb027c14a637ab449b94c4f | /src/test/script_P2PKH_tests.cpp | ddfb492489492f13d639266654e3ca24c487bc12 | [
"MIT"
] | permissive | mirzaei-ce/core-mashhadbit | 11d60f09f80c8056f5e063eb65783f8699f5ede8 | 1d9d45336cbbda7ffd700d3f1c3dd9e8b4ce2745 | refs/heads/master | 2021-07-18T11:43:26.440889 | 2017-10-26T14:31:07 | 2017-10-26T14:31:07 | 108,422,933 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,266 | cpp | // Copyright (c) 2012-2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "script/script.h"
#include "test/test_mashhadbit.h"
#include <boost/test/unit_test.hpp>
using namespace std;
BOOS... | [
"mirzaei@ce.sharif.edu"
] | mirzaei@ce.sharif.edu |
2e18569184f1ffcb62601f31bb3239115274c175 | 9bf05e213d5448a0b41556032ffc2c4ee916dff0 | /EXERCISE.h | dfda9be619c5184beb2428d8a67eb040bb210a81 | [] | no_license | CPPLondonUni/OOP-Module-Lesson-2 | 52208491a5f7f168359086889f940eb9a7badb85 | 1a51317f89a2eced5bc77cf2591520e2da234460 | refs/heads/master | 2020-04-23T18:36:12.158206 | 2019-02-18T23:45:24 | 2019-02-19T00:16:11 | 171,373,326 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 105 | h | #pragma once
//This is for part 1
class ILogger {
};
// This is for Part 2/3
class StringLogger {
};
| [
"oliver@uptheinter.net"
] | oliver@uptheinter.net |
312f46161c7186ff2a3a153a581b270dbe102449 | 6ac96a57f2d6e1f1fca264209b76811909df8681 | /spring2017_kzcamp2/day3/b5.cpp | cfc71399a05197e8bfe512d63ec0d53607f4498d | [] | no_license | SBidaibek/acm | ac85ca9b5ae158113e95c3d851c76c61ccd04c6f | b358a79f8753d2c3f9888ab8a5b22b0ec25d15db | refs/heads/master | 2020-04-22T17:19:43.625322 | 2019-02-15T06:22:14 | 2019-02-15T06:22:14 | 170,537,539 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,909 | cpp | #include <bits/stdc++.h>
using namespace std;
#define forn(i, x, n) for (int i = int(x); i <= int(n); ++i)
#define for1(i, n, x) for (int i = int(n); i >= int(x); --i)
#define x first
#define y second
#define pb push_back
typedef long long ll;
typedef pair <int, int> pii;
typedef long double ld;
typedef... | [
"sanzhar.bidaibek@gmail.com"
] | sanzhar.bidaibek@gmail.com |
332a3797f4f5591fb7ac1d582612a317b466a4b1 | a5c85f43453c5a98bd09e94234e19fb3402b88ba | /CCC/CCC '17 S2 - High Tide, Low Tide.cpp | 57556722d020a5438cf641f3b79f0ed232cdbd0e | [] | no_license | PuffyShoggoth/Competitive | 14d08794ea339e8bd9ce68be0b155c3a2973b39c | d99d45cc4b9f1baa15924eaeccfe737aa2824794 | refs/heads/master | 2021-09-16T02:43:40.876418 | 2018-06-14T23:37:18 | 2018-06-14T23:37:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 399 | cpp | #include <cstdio>
#include <vector>
#include <algorithm>
using namespace std;
vector<int> tides;
int main(){
int n;
int sc;
scanf("%i", &n);
for(int i=0; i<n; i++){
scanf("%i", &sc);
tides.push_back(sc);
}
sort(tides.begin(), tides.end());
int st=n/2-1+n%2, ed=n/2+n%2;
while(ed<n){
printf("%i %i ", tides... | [
"shaar@utschools.ca"
] | shaar@utschools.ca |
b0332ce5974d21bc82a09cd96806d92bb52ddd6f | b8ed71f3d1a36c119d846e97f1aa7d8ba6774f52 | /101_Symmetric_Tree.cpp | 0a70d58178dace104541aea8f064938ca5a8f699 | [] | no_license | imjaya/Leetcode_solved | 0831c4114dd919864452430c4e46d3f69b4bd0cd | 374eb0f23ae14d9638d20bbfe622209f71397ae0 | refs/heads/master | 2023-05-24T17:57:56.633611 | 2023-05-16T06:31:42 | 2023-05-16T06:31:42 | 284,203,426 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 975 | cpp | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode() : val(0), left(nullptr), right(nullptr) {}
* TreeNode(int x) : val(x), left(nullptr), right(nullptr) {}
* TreeNode(int x, TreeNode *left, TreeNode *right) : val(x), l... | [
"smjayasurya1997@gmail.com"
] | smjayasurya1997@gmail.com |
4d5d1c6f7967da943c431680e5b2b2d5cc558007 | af1ca1da86f6601e7d9774dc164fd99095f64639 | /src/MobCombat.cpp | e3cab8f629883e1b6f091cd42d3b5862f6548506 | [] | no_license | pylgrym/basin | ba07751b98607900339113583f52ce0e07539501 | de067738c369c6f0dbdea752676ecf38952e583a | refs/heads/master | 2023-03-04T06:48:02.377659 | 2023-03-02T08:25:35 | 2023-03-02T08:25:35 | 30,758,171 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,913 | cpp | #include "stdafx.h"
#include "MobCombat.h"
#include "mob.h"
// MobCombat::MobCombat() {}
// MobCombat::~MobCombat(){}
double AttackInf::calcHitChance() const {
double hitRatio = hitThres / 20.0;
return hitRatio;
}
void AttackInf::repHitChance(std::ostream& os) {
double chance = calcHitChance();
int perce... | [
"jgaardsted@gmail.com"
] | jgaardsted@gmail.com |
1802de23d643ee7a0ab53aead074768f4511f3ee | e384f5467d8bcfd70845997bcbd68d950e874a61 | /example/cpp/_render_util/include/OpenGL/OpenGLPolygon_core_and_es.h | a3a64df4f01e7b5b85d6bec2607a11a167d39dd2 | [] | no_license | Rabbid76/graphics-snippets | ee642f1ed9ceafc6d320e467d3a084d2446d22c2 | fa187afeabb9630bc1d988304fb5787e95a91385 | refs/heads/master | 2023-08-04T04:32:06.884318 | 2023-07-21T09:15:43 | 2023-07-21T09:15:43 | 109,126,544 | 177 | 12 | null | 2023-04-11T20:05:52 | 2017-11-01T12:05:56 | C++ | UTF-8 | C++ | false | false | 6,723 | h | /******************************************************************//**
* \brief Implementation of OpenGL polygon renderer,
* with the use of "modern" OpenGL 4+ core and
* GLSL version 4.30 (`#version 4230 core`) or
* OpenGL es 3(+) and GLSL ES version 3.00 (`#version 300 es`).
*
* \author gernot
* \date 2018-12-0... | [
"Gernot.Steinegger@gmail.com"
] | Gernot.Steinegger@gmail.com |
800810a59d5d6d5705afbde2a75528de53450c07 | 49a0b621ed03c5c95ba1779ded7db3ecb44b522c | /rapidjson/fwd.h | b59e37f0572c1453fd9c367ea5bd81823b20f92d | [] | no_license | SeeMorton1/search-engine-public | e25a1c2c113c448a44f25403b9dc79bfb77de072 | 604dff0136a6c176b6965ff07622f3338a4075c4 | refs/heads/master | 2023-03-02T00:54:55.771914 | 2020-12-07T13:30:45 | 2020-12-07T13:30:45 | 336,358,892 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,305 | h | // Tencent is pleased to support the open source community by making RapidJSON available.
//
// Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip.
//
// Licensed under the MIT License (the "License"); you may not use this file except
// in compliance with the License. You may obtain a copy of the Lic... | [
"60202474+SeeMorton1@users.noreply.github.com"
] | 60202474+SeeMorton1@users.noreply.github.com |
7bc276b24af539283aae802bc1d45f5016d9ce2b | 3a4b861cf0085953a6f58df2c63f8dfdfca75f84 | /LeetCode/c++/007_reverseInteger.cc | c3cd670c5bcaaed2e4899922baba47ae0b5b6cc2 | [] | no_license | ElvisKwok/code | f490c1acfb4025ff2dbe00e61379304f2526176f | b2d5560e7fc1f7e14ff3a7eb827282f2732d22a3 | refs/heads/master | 2020-04-15T17:31:37.265803 | 2016-05-09T13:57:42 | 2016-05-09T13:57:42 | 23,882,932 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,337 | cc | // Source : https://leetcode.com/problems/reverse-integer/
// Author : Elvis Kwok
// Date : 2015-10-13
/**********************************************************************************
*
* Reverse digits of an integer.
*
* Example1: x = 123, return 321
* Example2: x = -123, return -321
*
* click to sh... | [
"359619839@qq.com"
] | 359619839@qq.com |
aedd31e316ec48be1ebf6257409a86f5dbb182d3 | 2ee2f455ec17dd78e01e59d958554205fb00930a | /spec/models/force_spec.cpp | 032fe27ee8de6799583e24f7e3cfdbd2b9a7aab6 | [] | no_license | ChrisLundquist/Waveform | e7aa37b48128d618ebbfb68a1783a14777cf503a | 7926847f520312b264fc64ca2b0f715e7b83f70c | refs/heads/master | 2021-01-21T05:05:52.060600 | 2012-09-26T22:37:31 | 2012-09-26T22:37:31 | 5,522,255 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 179 | cpp | #include <gtest/gtest.h>
#include "../../src/models/force.h"
TEST(Force, Construct) {
Force f = Force();
EXPECT_EQ(f.position[0], 0);
EXPECT_EQ(f.direction[0], 0);
}
| [
"chris.lundquist@bluebox.net"
] | chris.lundquist@bluebox.net |
fab2859daf459720b539aec342f5975d9d86459e | 64fe4f897f21a075e27b3c05b736b2fd70329e6b | /CombinationsII.cpp | 14aa68e7703cb1709b7143fd8e4b72b0d79a50e3 | [] | no_license | re3el/LeetCode | ec70383adc0455b7582674aa95695251ce5b5854 | 82a4ba979cc7cb3d3ddb726a5084a3362d2d6993 | refs/heads/master | 2023-06-09T15:45:52.804579 | 2018-01-27T22:07:05 | 2018-01-27T22:07:05 | 104,426,137 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 847 | cpp | class Solution {
public:
void compute(vector<int> &candidates, int target, vector<vector<int>> &res, vector<int> &curr, int begin)
{
if(!target)
{
res.push_back(curr);
return;
}
int n = candidates.size();
for(int i=begin; i<n && candidates... | [
"yogeshdorbala@gmail.com"
] | yogeshdorbala@gmail.com |
da7faacfb50e86d8abdaf430c3ba2338e9c57082 | 215dd7a6798c341e3b7b51f5b8880859db40aec8 | /OrderingSystem/OrderDetailsWidget.cpp | 27a9ae0f84a40a5cd8b76b14f93f925324089000 | [] | no_license | dousp1220/OrderingSystem | 1cf60212948fbcf554328115ae9bfecfcd7c9a0d | a189f8e8008da3aeed2e45d0a6fa326b7c9db554 | refs/heads/master | 2020-03-25T13:46:03.203831 | 2018-09-20T04:17:00 | 2018-09-20T04:17:00 | 143,841,929 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 321 | cpp | #include "OrderDetailsWidget.h"
OrderDetailsWidget::OrderDetailsWidget(QWidget *parent) :
QWidget(parent)
{
this->setAttribute(Qt::WA_StyledBackground, true);
// this->setStyleSheet("background: #ffff00;");
init();
}
OrderDetailsWidget::~OrderDetailsWidget()
{
}
void OrderDetailsWidget::init()
{
}
| [
"862343646@qq.com"
] | 862343646@qq.com |
ec9ce8feb59a6ab96ce6c592c2a9b0fa1a768e64 | b4828cf9403fedde5dd346b3338a5f4bf0f1eb96 | /leetcode_sol/2520-Count_The_Digits_That_Divide_A_Number.cpp | af9816560368a4ec410c308c8873483d086c2155 | [] | no_license | Masters-Akt/CS_codes | 9ab3d87ca384ebd364c7b87c8da94b753082a7e3 | 1aaa107439f2e208bb67b0bcca676f90b6bc6a11 | refs/heads/master | 2023-01-24T00:11:05.151592 | 2023-01-21T18:45:57 | 2023-01-21T18:45:57 | 292,529,160 | 6 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 355 | cpp | class Solution {
public:
int countDigits(int num) {
int duplicateNum = num;
int numberOfDigitsThatDivideNum = 0;
while(duplicateNum){
int digit = duplicateNum%10;
if(num%digit==0) numberOfDigitsThatDivideNum++;
duplicateNum/=10;
}
return nu... | [
"64123046+Masters-Akt@users.noreply.github.com"
] | 64123046+Masters-Akt@users.noreply.github.com |
b8e3e1f60df2d9bc6943f48d5e60cab121a59a84 | f207164511f0dfe3f01f6e0c21fd7548e626397f | /dom/media/VideoUtils.h | 6a9c940ada2b05f2e9829047ba5b9f0a44690eac | [] | no_license | PortableApps/palemoon27 | 24dbac1a4b6fe620611f4fb6800a29ae6f008d37 | 3d7e107cc639bc714906baad262a3492372e05d7 | refs/heads/master | 2023-08-15T12:32:23.822300 | 2021-10-11T01:54:45 | 2021-10-11T01:54:45 | 416,058,642 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,255 | h | /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim:set ts=2 sw=2 sts=2 et cindent: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.... | [
"roytam@gmail.com"
] | roytam@gmail.com |
14c94c017b3bb7ddfd6a1e5a668162a8a95f9334 | 600df3590cce1fe49b9a96e9ca5b5242884a2a70 | /extensions/browser/updater/update_install_shim.h | 518866a6062c2fd316621bde2bc2d30a03f3fb02 | [
"BSD-3-Clause"
] | permissive | metux/chromium-suckless | efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a | 72a05af97787001756bae2511b7985e61498c965 | refs/heads/orig | 2022-12-04T23:53:58.681218 | 2017-04-30T10:59:06 | 2017-04-30T23:35:58 | 89,884,931 | 5 | 3 | BSD-3-Clause | 2022-11-23T20:52:53 | 2017-05-01T00:09:08 | null | UTF-8 | C++ | false | false | 2,924 | h | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef EXTENSIONS_BROWSER_UPDATER_UPDATE_INSTALL_SHIM_H_
#define EXTENSIONS_BROWSER_UPDATER_UPDATE_INSTALL_SHIM_H_
#include <string>
#include "base/cal... | [
"enrico.weigelt@gr13.net"
] | enrico.weigelt@gr13.net |
657636be8d6b9eb94656db1af83bdb08077ede7f | fb3c1e036f18193d6ffe59f443dad8323cb6e371 | /application/SpiritTool/SpiritTool/ApkMake.h | d0ba30acd138883a4d4acd4a13e0c2dd5c5e18f0 | [] | no_license | playbar/nstest | a61aed443af816fdc6e7beab65e935824dcd07b2 | d56141912bc2b0e22d1652aa7aff182e05142005 | refs/heads/master | 2021-06-03T21:56:17.779018 | 2016-08-01T03:17:39 | 2016-08-01T03:17:39 | 64,627,195 | 3 | 1 | null | null | null | null | GB18030 | C++ | false | false | 1,532 | h | #pragma once
#include "PointerArray.h"
#include "SpiritData.h"
class CApkMake
{
public:
class MakeListener
{
public:
virtual void onListen(int type,unsigned long data)=0;
};
public:
static CApkMake* Singleton()
{
static CApkMake* sl = NULL;
if(sl == NULL)
{
sl = new CApkMake();
... | [
"hgl868@126.com"
] | hgl868@126.com |
8d3667983bea1e7ae541ac2446e40c1d66edfbfc | 037faae47a5b22d3e283555e6b5ac2a0197faf18 | /plugins/gs/gsdx9/GSSoftVertexFP.h | 10269456db6d1da2c8696dd63c6e9c84a370274e | [] | no_license | isabella232/pcsx2-sourceforge | 6e5aac8d0b476601bfc8fa83ded66c1564b8c588 | dbb2c3a010081b105a8cba0c588f1e8f4e4505c6 | refs/heads/master | 2023-03-18T22:23:15.102593 | 2008-11-17T20:10:17 | 2008-11-17T20:10:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,299 | h | /*
* Copyright (C) 2003-2005 Gabest
* http://www.gabest.org
*
* This Program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
* ... | [
"zerofrog@23c756db-88ba-2448-99d7-e6e4c676ec84"
] | zerofrog@23c756db-88ba-2448-99d7-e6e4c676ec84 |
dcfd81c299c0ea698b5fb18756316c504c00d79e | f39ec2243a5569f432e63de073363296a71f75bc | /codec/encoder/core/src/svc_motion_estimate.cpp | 34a6350fc9406cee04cf2fd18fdef96d6c4791b0 | [
"BSD-2-Clause"
] | permissive | zhuling13/gitTest | 4afdcfba20f262cce0226d1c7122ed3906bf907e | 4f46f237bac33f647f04717c9cfeec2ba0db9a95 | refs/heads/master | 2021-01-14T11:07:27.289006 | 2014-06-18T07:55:13 | 2014-06-18T07:55:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 41,263 | cpp | /*!
* \copy
* Copyright (c) 2009-2013, Cisco Systems
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain the abo... | [
"root@ubuntu.(none)"
] | root@ubuntu.(none) |
176f74f221ac251d9405da36c4a196e887742bb0 | d959ca8272c330ca9905093eb6d4463511c76e32 | /vepro/disk/vschddedit.cpp | c90121a2e5d07efbf53702c8cf56bdfc56f663a3 | [] | no_license | sbppy/vdc | f094f9095345a9ab7c265d6fbb8c1518469c3e51 | e37cf487258ba93fb1e382100223dac62b0afb92 | refs/heads/master | 2020-04-02T01:41:45.720017 | 2014-10-12T14:27:12 | 2014-10-12T14:27:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,322 | cpp | #include "vschddedit.h"
#include "hdddevice.hpp"
#include "debug.hpp"
#include "vschddone.h"
#include "factory.hpp"
extern Factory *gFactory;
VSCHddEdit::VSCHddEdit(QWidget *parent)
: QWidget(parent)
{
m_SelectedDisk = 0;
m_TotalDisks = 0;
int i = 0;
s8 DiskTitle[1024];
ui.setupUi(this);
QString... | [
"xsmart@163.com"
] | xsmart@163.com |
5c9ce7e01e4567e5d84ec63631bd9d6876c20e9f | 0f7a4119185aff6f48907e8a5b2666d91a47c56b | /sstd_utility/windows_boost/boost/test/tools/fpc_op.hpp | bc9685840d2ce256e06f8a7247d301b58570a5b5 | [] | no_license | jixhua/QQmlQuickBook | 6636c77e9553a86f09cd59a2e89a83eaa9f153b6 | 782799ec3426291be0b0a2e37dc3e209006f0415 | refs/heads/master | 2021-09-28T13:02:48.880908 | 2018-11-17T10:43:47 | 2018-11-17T10:43:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,694 | hpp | // (C) Copyright Gennadiy Rozental 2001.
// 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 http://www.boost.org/libs/test for the library home page.
//
//!@file
//!@brief Floating point comparison wit... | [
"nanguazhude@vip.qq.com"
] | nanguazhude@vip.qq.com |
e33af93a8e3e3eb36800332935972c45050609f0 | fab77712e8dfd19aea9716b74314f998093093e2 | /Utility/TypeDefine.h | 6515522dff2c648af5c4f2f097f91ffd53b4fc20 | [] | no_license | alandigi/tsfriend | 95f98b123ae52f1f515ab4a909de9af3724b138d | b8f246a51f01afde40a352248065a6a42f0bcbf8 | refs/heads/master | 2016-08-12T07:09:23.928793 | 2011-11-13T15:12:54 | 2011-11-13T15:12:54 | 45,849,814 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,483 | h | #pragma once
#define DATAVIEWBUFFERLENTH 8192 /* (1024*8)*/
#define INVALID_VERSION 0xFF /* */
#define VALUE_MAX_LENGTH_IN_BYTE 8
#define UI_CLIENT_ID 0xFFFFFFFF
//#define SYSTEM_WITH_ES_OPERATORION
typedef unsigned char u8;
typedef unsigned short ... | [
"soupyman@gmail.com"
] | soupyman@gmail.com |
cc58bafd8d94cd492ee1faf3f6b7a1d5884642c6 | 011e0ecdc38a41c5f0066f1adb91b430aab2a256 | /jni/GUObjects.h | 8bea7293ee2d48a17d10aac4173e57687c61b881 | [
"MIT"
] | permissive | AkChen/UE4Dumper | 6e56be7085da974020b6b67c50f438f32cbcb066 | bb087078d91b76fb13e312e0386ba9135ac340dc | refs/heads/master | 2022-11-10T04:35:51.757374 | 2020-06-22T11:55:37 | 2020-06-22T11:55:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,321 | h | #ifndef GUOBJECTS_H
#define GUOBJECTS_H
#include "FNames.h"
#include "StructsSDK.h"
using namespace std;
int32 GetObjectCount(){
if(isUE423) {
return Read<int32>(getRealOffset(Offsets::GUObjectArray) +
Offsets::FUObjectArrayToTUObjectArray + Offsets::TUObjectArrayToNumElementsNew);
} else {
if(i... | [
"patel.kuldip91@gmail.com"
] | patel.kuldip91@gmail.com |
053bbeb076c782272376f29afc0cbb74e44943ec | 560090526e32e009e2e9331e8a2b4f1e7861a5e8 | /Compiled/blaze-3.2/blazetest/src/mathtest/dmatdmatmin/M16x8bMDa.cpp | 7581940ed06b624a1d70c2fb371125d13e1fc997 | [
"BSD-3-Clause"
] | permissive | jcd1994/MatlabTools | 9a4c1f8190b5ceda102201799cc6c483c0a7b6f7 | 2cc7eac920b8c066338b1a0ac495f0dbdb4c75c1 | refs/heads/master | 2021-01-18T03:05:19.351404 | 2018-02-14T02:17:07 | 2018-02-14T02:17:07 | 84,264,330 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,737 | cpp | //=================================================================================================
/*!
// \file src/mathtest/dmatdmatmin/M16x8bMDa.cpp
// \brief Source file for the M16x8bMDa dense matrix/dense matrix minimum math test
//
// Copyright (C) 2012-2017 Klaus Iglberger - All Rights Reserved
//
// This f... | [
"jonathan.doucette@alumni.ubc.ca"
] | jonathan.doucette@alumni.ubc.ca |
d9c0479019f99c2811d009e178bc81724ced6465 | f8c89c4b3985966e2678d57ce0608edc411acbde | /Action.h | 0780aa5f23abc04f5bfaf0d6f01b3f52683a2680 | [] | no_license | IaMartynas/Zork | 9e038ab8a4171152b8b052abec07851e35e03a1d | 4e6131d390e1ca6d25f639cb4585579f9e7b7b32 | refs/heads/master | 2021-05-03T16:42:59.383907 | 2018-02-06T11:46:04 | 2018-02-06T11:46:04 | 120,441,910 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 352 | h | /*
* Action.h
*
* Created on: Nov 4, 2017
* Author: Martynas
*/
#ifndef ACTION_H_
#define ACTION_H_
#include <string>
class Action {
public:
Action(std::string, std::string);
virtual ~Action();
virtual std::string getType();
virtual std::string getAction();
private:
std::string mType;
std::string mAct... | [
"martynas_k@yahoo.com"
] | martynas_k@yahoo.com |
8eb907a3f7fb5c02bf26d1676e3953d7544f9275 | f8c59c335b0c1dc2e8ab2824de234850e0a4c045 | /modules/ide_old/src/CentralGui.h | 3d04b7ddc1ec984d8fca873b5bcc0f6af13cc152 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | DeepBlue14/rqt_ide | 469d7ffb9a2fa244c68ceafe526baa24e89b1a7b | 853964dc429d61c9afb6f1fe827f2e3e83f92713 | refs/heads/master | 2020-12-31T06:57:33.789919 | 2016-09-07T05:04:54 | 2016-09-07T05:04:54 | 34,908,755 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,302 | h | /*
* File: CentralGui.h
* Module: MasterFEnd
* Author: James Kuczynski
* Email: jkuczyns@cs.uml.edu
* File Description: This file will contain the qcentralwidget of the
* qmainwindow. Currently, it is divided into four sections
* (although this could be changed), north, so... | [
"james.perl12@gmail.com"
] | james.perl12@gmail.com |
d667edbf8b0f9227cb20add64aea7f5a132ad44b | 19fde8ce837204bc8ab1a2d34445a7326d95b153 | /hiho/h_172.cpp | bb38c9df6177e5b5d6c55babb4de58a566b0fe38 | [] | no_license | JS00000/acmCode | aad59f1fdd66bb3b4b2208c8c5be0f26b7169405 | eda5dbcef4a66618fc27e79184a2ae93618ee6b1 | refs/heads/master | 2021-05-24T04:27:11.966469 | 2021-03-01T08:55:35 | 2021-03-01T08:55:35 | 55,392,212 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,205 | cpp | // 二维树状数组 Fenwick_tree
#include <stdio.h>
#define maxn 1007
const int mod = 1000000007;
inline int lowbit(int x)
{
return x&(-x);
}
int N, M;
int BIT2[maxn][maxn];
void add(int x, int y, int val) {
for(int i = x; i <= N; i += lowbit(i)) {
for(int j = y; j <= N; j += lowbit(j)) {
BIT2[i][... | [
"winyangyuxin22@hotmail.com"
] | winyangyuxin22@hotmail.com |
5009ee293389c84750da258b0f2c66f1a78f42d1 | 8b1cedbca5f5a967e5c37c280f53dfdbff00ff19 | /cocos/170720/170720_Transition/Classes/TestScene2.cpp | 0b464c9e5087acb770b2fe716b9c3327637a5063 | [] | no_license | kcwzzz/KCW | ef552641c77d1971ad4536d37a70eb9a59f4d4e6 | 34973e5fae0a4095418ac0bd99637ffa24f525be | refs/heads/master | 2020-12-03T05:11:38.828978 | 2017-09-29T08:10:59 | 2017-09-29T08:10:59 | 95,736,720 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 618 | cpp | #include "TestScene2.h"
using namespace cocos2d;
Scene* TestScene2::createScene()
{
return TestScene2::create();
}
bool TestScene2::init()
{
if (!Scene::init())
{
return false;
}
auto item1 = MenuItemFont::create(
"Close Scene 2",
CC_CALLBACK_1(TestScene2::doClose, this));
auto pMenu = Menu::create(... | [
"kcwzzz@naver.com"
] | kcwzzz@naver.com |
344826cfd4c38a768bacacbe9080b8308c23c11c | 7c8f7ca4974a20097e5aafff47b9d30b950e98fb | /source/scenes/level/Entity.cpp | 83be0baa8d12890aca5facb254acc0fb5395b88e | [] | no_license | liam-mitchell/mech | 1ba49942bec7efbf2a17883678269c9ac486de89 | f944675ca4a236d78df6e89d270f0fef3dc5b15c | refs/heads/master | 2020-03-27T23:27:58.328677 | 2015-03-20T00:49:27 | 2015-03-20T00:49:27 | 31,706,621 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 231 | cpp | #include "Entity.h"
void Entity::updateBehaviours(Level &level, unsigned int dt)
{
for (auto b = behaviours.rbegin(); b != behaviours.rend(); ++b) {
if ((*b)->execute(level, dt)) {
break;
}
}
}
| [
"hockey_crazy_08@yahoo.com"
] | hockey_crazy_08@yahoo.com |
00f050c06bb088e756a0eb245aef0f2c0bade7dd | be3c7d375f992ffcee3d1d16e00b8540e92e878b | /filesystem.h | 5e462f37fb874ba7d8ba478383c04ac8a389207b | [] | no_license | faceteam/detectBody | 95a91583e89d11f0155fd034856e743253da54bb | 89ecf946fe414880b8bac669ba77e6d28808988e | refs/heads/master | 2016-09-12T23:07:45.456752 | 2016-06-02T03:19:21 | 2016-06-02T03:19:21 | 57,004,274 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,226 | h | #ifndef FILESYSTEM_H
#define FILESYSTEM_H
#include <string>
#include <vector>
class FileSystem {
public:
/**
* check a file or a directory exists
* @param[in] path a file path or a directory path
* @return true if path exists else false
*/
static bool isExists(const std::string& path);
/**
* create ... | [
"1207675909@qq.com"
] | 1207675909@qq.com |
9fb83c0ac982fa4fecf65f8941ad9c977f10bb23 | 55405bda5a9063b53f643d46bf520433e1d647d8 | /ch/ModificationsChecker.hpp | 52ca7e31ee9b2604366c4b9ca2ec719523709acc | [] | no_license | InvictusInnovations/keyhotee | c6f41e8c7856e54feeb3ba6b3b950174813a8d0e | cb4d1402559e645fb843affd221079f979c807d6 | refs/heads/master | 2021-01-23T03:44:20.215606 | 2014-09-05T08:44:12 | 2014-09-05T08:44:12 | 13,315,798 | 8 | 6 | null | 2014-03-13T16:33:17 | 2013-10-04T03:41:43 | C | UTF-8 | C++ | false | false | 494 | hpp | #ifndef __MODIFICATIONSCHECKER_H
#define __MODIFICATIONSCHECKER_H
/** Dedicated interface checking modifications.
if there are same changes blocking all mouse, keybord events.
*/
class IModificationsChecker
{
public:
/** Check modification
returns true if there is no modifications, application can
... | [
"pstudnicki@syncad.com"
] | pstudnicki@syncad.com |
d777a648d4374da9200ba804f1e3adbeff0e677f | c300ddd08b145c074a541bae6864915b174dcf24 | /src/nstd/utility/forward.t.cpp | 4644b6a0b52d81093fc8dc80ea12571cb3be2fe5 | [] | no_license | zeta1999/kuhllib | d5f09b80d6472669722cdd94181f87757b3a863b | 72fce48a1f50f6487018d9f65097845ac5e0e558 | refs/heads/master | 2023-03-13T22:05:22.725697 | 2020-05-22T15:30:54 | 2020-05-22T15:30:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,866 | cpp | // nstd/utility/forward.t.cpp -*-C++-*-
// ----------------------------------------------------------------------------
// Copyright (C) 2014 Dietmar Kuehl http://www.dietmar-kuehl.de
//
// Permissi... | [
"dietmar.kuehl@gmail.com"
] | dietmar.kuehl@gmail.com |
772d6e0736c16d14fa1a3c49d7ca251b172ce486 | aa13e1d93b7a8017e1e610a900bd05f6df91604f | /spoj/classicals/archive/GERGOVIA.cpp | ce843194d49a34a99cf8bac302c30ef3ab6842ac | [] | no_license | laveesingh/Competitive-Programming | 3ce3272eab525635f9ce400f7467ee09de8b51df | 41047f47c23bc8572a1891e891a03cc3f751e588 | refs/heads/master | 2021-01-24T09:51:00.332543 | 2017-10-30T17:11:48 | 2017-10-30T17:11:48 | 52,956,650 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 599 | cpp | #include <iostream>
using namespace std;
#define ull long long
// ull abs(ull a){
// if (a >= 0) return a;
// return -a;
// }
void Print(ull a[], ull n){
for (ull i = 0; i < n; i += 1){
cout << a[i] << " ";
}
cout << endl;
}
int main(void){
ull n;
while(1){
cin >> n;
if (n == 0) break;
ull a[n];
... | [
"laveechaudharytheone@gmail.com"
] | laveechaudharytheone@gmail.com |
2332e8b15a22c2c4a614cdbe0f1cba2ad369bd72 | 822b4950ab90a02ba9471695e8b3a37ca35155b2 | /terminal_app/mainwindow.cpp | 79187de1140873456c3c061b9f910cea44a18c6f | [] | no_license | whicun/PFController | ef1c9cd007f3e89a87c60125103c281a2bb401e8 | 95537de2c27490f1659d189ed36b02d8eaa8f300 | refs/heads/master | 2023-03-30T13:26:30.193105 | 2021-04-03T16:11:47 | 2021-04-03T16:11:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 31,353 | cpp | /**
* @file mainwindow.c
* @author Stanislav Karpikov
* @brief Main application window management
*/
/** @addtogroup app_main
* @{
*/
/*--------------------------------------------------------------
INCLUDES
--------------------------------------------------------------*/
#include "mainw... | [
"stankarpikov@gmail.com"
] | stankarpikov@gmail.com |
5590c9b5c79352f69a8a54d2082ed35cef911f40 | ce92a946f9cf572d06510de1f0a0da1f2b2a706a | /source/expression_tree_parser.cpp | f8996fde95f78d120c30ac8cf3a4f93f7f2a38fa | [] | no_license | jakisa/stork | 942bb9103ef5f3209caab65c70c6aedd8d7f178d | ef550667fa735dcf0a4b042b48075b29879a2d4e | refs/heads/master | 2023-05-01T17:34:22.364822 | 2022-06-02T08:30:15 | 2022-06-02T08:30:15 | 229,492,797 | 92 | 34 | null | 2023-04-24T01:56:10 | 2019-12-21T22:56:19 | C++ | UTF-8 | C++ | false | false | 18,117 | cpp | #include "expression_tree_parser.hpp"
#include "expression_tree.hpp"
#include "tokenizer.hpp"
#include "errors.hpp"
#include <stack>
namespace stork {
namespace {
enum struct operator_precedence {
brackets,
postfix,
prefix,
multiplication,
addition,
shift,
comparison,
equality,
bitwise_an... | [
"jtomic@gmail.com"
] | jtomic@gmail.com |
7ce5ee59aa48fc8796869c58885410c13851d2cd | 91b36a305a65a601f93fad94ef19b995db6e5d83 | /NativePlugin/Src/Runtime/ParticleSystem/PolynomialCurve.h | 1dd57ec4813f12e7e589dc6b923886b1055dec3c | [] | no_license | maksym-pasichnyk/NativeParticleSystem | 0d79d093ef1144f60afb941d1928546005ebca62 | 35187e5d9a43e7db5264d1f953f4383873d3decf | refs/heads/master | 2021-12-14T15:41:24.820604 | 2017-05-10T16:42:23 | 2017-05-10T16:42:23 | 437,383,171 | 1 | 1 | null | 2021-12-11T20:34:42 | 2021-12-11T20:34:41 | null | UTF-8 | C++ | false | false | 6,848 | h | #ifndef POLYONOMIAL_CURVE_H
#define POLYONOMIAL_CURVE_H
template<class T>
class AnimationCurveTpl;
typedef AnimationCurveTpl<float> AnimationCurve;
class Vector2f;
struct Polynomial
{
static float EvalSegment (float t, const float* coeff)
{
return (t * (t * (t * coeff[0] + coeff[1]) + coeff[2])) + coeff[3];
}
... | [
"akheyun@gmail.com"
] | akheyun@gmail.com |
0b018ff1bb231a960a93ca884685df4bcdd0038d | 1d6cb5a6342532e98fb1c7216a34a41eb080640d | /Unreal/Src/Game/UnCon.cpp | e1ff9c66e94706f9a73753f7ff4ff2e7cb82e571 | [] | no_license | hogsy/unreal83 | 85b6e196057d605918d323dbf37562956e1b58ce | 935fa60ab391955490b626d1a45849b3f642efa7 | refs/heads/master | 2021-12-22T10:16:26.408589 | 2021-12-19T21:04:26 | 2021-12-19T21:04:26 | 216,208,620 | 6 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 36,227 | cpp | /*=============================================================================
UnCon.cpp: Implementation of FCameraConsole class
Copyright 1996 Epic MegaGames, Inc. This software is a trade secret.
Compiled with Visual C++ 4.0. Best viewed with Tabs=4.
Contains routines for: Messages, menus, status bar
=========... | [
"markelswo@gmail.com"
] | markelswo@gmail.com |
24c9154605c1b9a0f1417ba60d503013187b62ce | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/CMake/CMake-gumtree/Kitware_CMake_old_hunk_1830.cpp | 4e9040f4c6bfa72c63a7446bd464ddcc921a0d60 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 270 | cpp | " printf(\"Available tests:\\n\");\n"
" for (i =0; i < NumTests; ++i)\n"
" {\n"
" printf(\"%d. %s\\n\", i, cmakeGeneratedFunctionMapEntries[i].name);\n"
" }\n"
" printf(\"Failed: %s is an invalid test name.\\n\", av[1]);\n"
" \n" | [
"993273596@qq.com"
] | 993273596@qq.com |
344b721437a6dfc50f8b36c957e126ac0caab65b | 3f6a4ffb1dff4e361054fde5b0f891782b4e764e | /samples/normal/dense_graph/sample_graph_printer1.cpp | 900025ce58bfd66ecccb6523a3ed7fc400619f8b | [] | no_license | hexu1985/MiniGraph.For.Cpp | ad8e05f13cd374b868319db1ceb071592256c107 | d139af318b41a3ef30195cfd070269fdca1f02b7 | refs/heads/master | 2020-06-02T09:46:17.780761 | 2020-03-05T09:20:47 | 2020-03-05T09:20:47 | 191,118,473 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 825 | cpp | /** \example normal/dense_graph/sample_graph_printer1.cpp
* This is an example of how to use the GraphPrinter class.
*/
#include <vector>
#include "mini_graph.hpp"
using namespace std;
using namespace mini_graph::normal;
int main()
{
int vertexNumber = 8;
vector<Edge> edges = {{0,2}, {0,5}, {0,7}, {1,7}, {2... | [
"hexu_1985@sina.com"
] | hexu_1985@sina.com |
883d319f5ce13d90ccaf64f57847aefcf2e33f5b | 9dad058a1bf68fa4e2c7876a82386d1321c3b39f | /Uzytkownik.cpp | 425f488c2e171e3fe2d2a841eed444562dc513bf | [] | no_license | krzysztofGesickiProgramista/ks-obiekt | 5c3af4f3a4d9bf671a332666cc2a9b17ec226593 | b532e65168704cfee9958e449d97a6e454fba378 | refs/heads/master | 2020-04-02T07:34:28.157933 | 2018-10-28T13:45:28 | 2018-10-28T13:45:28 | 154,203,619 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 431 | cpp | #include "Uzytkownik.h"
using namespace std;
void Uzytkownik::ustawId(int noweId)
{
if (noweId >= 0)
id = noweId;
}
void Uzytkownik::ustawLogin(string nowyLogin)
{
login = nowyLogin;
}
void Uzytkownik::ustawHaslo(string noweHaslo)
{
haslo = noweHaslo;
}
int Uzytkownik::pobierzId()
{
return id;
}
s... | [
"krzysztof.gesicki.programista@gmail.com"
] | krzysztof.gesicki.programista@gmail.com |
6126dac648eef1c355ad459b3ed944169e5cb652 | f14626611951a4f11a84cd71f5a2161cd144a53a | /Client/UI/Windows/PlayerShopMessageBoardPage.cpp | 299e6c3894169fa8592d7f8635e2e13947547823 | [] | no_license | Deadmanovi4/mmo-resourse | 045616f9be76f3b9cd4a39605accd2afa8099297 | 1c310e15147ae775a59626aa5b5587c6895014de | refs/heads/master | 2021-05-29T06:14:28.650762 | 2015-06-18T01:16:43 | 2015-06-18T01:16:43 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,115 | cpp | #include "StdAfx.h"
#include "../UIDef.h"
#include "../GamePage/Package/PackagePage.h"
#include "../GamePage/ChatList/ChatListPage.h"
#include "../../GameClient/Game.h"
#include "../../GameClient/ClientApp/Player.h"
#include "../../GameClient/ClientApp/ClientRegion.h"
#include "../../GameClient/ClientApp/Mai... | [
"yco.chen@gmail.com"
] | yco.chen@gmail.com |
cae148c69924b5beafe0e0b263c0530cbba64b74 | 6d8ecffef0cf0b25b72762d3dc2a53c5a4673521 | /src/libANGLE/renderer/vulkan/MemoryObjectVk.cpp | 505df6a63b6e32a0c80c98677cbc97af16d1191c | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | clarkezone/angle | 42b6af2ab0c8c47bd9f39b49c703b2d5006b7f5e | 62387fc647193365e041fe4708a1492b4c787ed4 | refs/heads/master | 2021-06-02T06:23:03.962868 | 2021-01-27T18:58:01 | 2021-01-31T03:10:13 | 191,053,497 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 9,497 | cpp | // Copyright 2019 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// MemoryObjectVk.cpp: Defines the class interface for MemoryObjectVk, implementing
// MemoryObjectImpl.
#include "libANGLE/renderer/vulkan/Memory... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
90878906865093f3933f9e6b99b443137c715891 | 4105780879d500920a149dd7c9a1b37fc290bdd8 | /MyGame-Game/Mygame/main.cpp | 0afb7eea34e9587037c8ee8576852b4813e3746a | [] | no_license | KonstantyOdwazny/MyProject | 00817900e7d91345d063b0dc9f4ef89d74a3dfef | 99e734d80066b79ce1266a51308567f19390d0a7 | refs/heads/master | 2022-11-16T21:06:07.124817 | 2020-07-13T02:27:28 | 2020-07-13T02:27:28 | 265,320,106 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,959 | cpp | #include "game.h"
using namespace std;
int main()
{
MainMenu menu;
menu.PlayMusic();
while(menu.Running() && menu.active==true)
{
menu.PollEvents();
menu.Update();
menu.Drawing();
}
if(menu.action==Activity::Exit)
{
return 0;
}
else
{
... | [
"61802175+KonstantyOdwazny@users.noreply.github.com"
] | 61802175+KonstantyOdwazny@users.noreply.github.com |
924bd94a35924084614aed29f094d4d07de0a327 | 5d83739af703fb400857cecc69aadaf02e07f8d1 | /Archive2/ab/274ff2d68443c5/main.cpp | fb27913c5bc46458f5f72be338a3095cb7823488 | [] | 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 | 334 | cpp | #include <iostream>
struct Base0 {
int b0;
};
struct Base1 {
int b1;
};
struct Derived : Base0, Base1 {};
int main() {
Derived *p = nullptr;
Base0 *p0 = p;
Base1 *p1 = p;
std::cout
<< "Derived : " << (void*)p
<< "\nBase0 : " << (void*)p0
<< "\nBase1 : " << (void*... | [
"francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df"
] | francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df |
c3090545704d86d28693fd4c4a454ee5fb91f81e | 577d87fd2b11e666b6c663f2e1eee3c99e25b6a7 | /Simulationen/2-uniform/2-uni-1/lattice.c++ | cd83fdaf663b48c17c82bda955c150c403d63dde | [] | no_license | rneher/DiplomArbeit_Percolation | e86261dc5e146f1689ad8a389151cb589588fe5e | 501f80a2a9434b17fdb10fda754dfd59395f9e8f | refs/heads/master | 2020-07-10T02:31:35.332483 | 2019-08-24T10:39:20 | 2019-08-24T10:39:20 | 204,143,253 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,252 | //lattice dependent code
//lattice 1
//set adjacencies and boundary conditions
void boundaries(void)
{
int i,row,column,shift;
for (i=0; i<N; i++) {
column=i%L; //determine row and column number
row=(i-column)/L;
shift=(9*(row%L))%13;
if ((column-shift+13)%13==1)
... | [
"richard.neher@unibas.ch"
] | richard.neher@unibas.ch | |
58b5695812ad3a665144be4d49112cefbe69505c | 6ddb3aa0b430f8f5726ace5acf70d9b2e58631e6 | /sources/Game/Entities/Player.hpp | e0fae17fa921beef90cd8f744ae865448eb2431b | [] | no_license | jjzhang166/Akanya | 6c717a944efd29b876757aa59f707d0fecd941f5 | bb64e5b128bf6ca8730180bc76c831340357cc42 | refs/heads/master | 2023-03-28T17:07:41.388968 | 2021-03-28T22:10:22 | 2021-03-28T22:10:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,239 | hpp | //
// Akanya
// sources/Game/Entities/Player
// Desribes a palyer
//
#ifndef ___INCLUDE_GUARD_SOURCES_GAME_ENTITIES_PLAYER_HPP___
#define ___INCLUDE_GUARD_SOURCES_GAME_ENTITIES_PLAYER_HPP___
#include "Engine/Graphic/Actors/BasicShapes/Cube.hpp"
namespace game::entity {
class Player
: public engine::graphic:... | [
"evan.loiseau@epitech.eu"
] | evan.loiseau@epitech.eu |
5fc53fcbc606fab50b55c19126fc3a25d9fc3604 | 3eafc2afeecb0616244b17ebf1389a56226fccbd | /POJ_3009.cpp | 6687ca4c6350d8a92ebcf4ef052526622b42e20e | [] | no_license | nappleyjq/algorithm | 7ada318a3cc40e5b21d193dfbe0911a268a0754b | 117dcca5f5ab46bc1106233c580e9af10efdec2c | refs/heads/master | 2021-09-02T12:30:38.774202 | 2018-01-02T16:59:08 | 2018-01-02T16:59:08 | 108,274,760 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,305 | cpp | /*
http://poj.org/problem?id=3009
Description
On Planet MM-21, after their Olympic games this year, curling is getting popular. But the rules are somewhat different from ours. The game is played on an ice game board on which a square mesh is marked. They use only a single stone. The purpose of the game is to lead the... | [
"napple.yjq@hotmail.com"
] | napple.yjq@hotmail.com |
2e35780f4d683fffe59f1eca2822cf31d9b7d71f | 438e2b02741015225f5b54130f3a97d4005c3f58 | /BOJ/18126.cpp | 5d7829f44a04f1e57b8de23c78cf70fa42613e85 | [] | no_license | jiho5993/solving_algorithm | 20c2e3e3ee6e14116554d0fd00918447ca21784c | fbbe52bc372d418e204128e78432038dfb60b410 | refs/heads/master | 2022-10-27T13:36:27.393518 | 2022-10-16T09:32:18 | 2022-10-16T09:32:18 | 193,317,544 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 632 | cpp | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
int N;
ll dist[5001];
vector<pair<ll, ll> > arr[5001];
void dfs(int cur, int prev) {
for(auto i : arr[cur]) {
if(dist[i.first] > dist[cur] + i.second && prev != i.first) {
dist[i.first] = dist[cur] + i.second;
dfs(i.first, cur);
... | [
"jiho5993@naver.com"
] | jiho5993@naver.com |
669f6fac17a4b4090ac6798f9ec95fc98bc0bd9a | 1775576281b8c24b5ce36b8685bc2c6919b35770 | /tags/release_1.0/mathstuff.cpp | eb879f6e99b19edbef5f81025112eb72b4ae58e3 | [] | no_license | BackupTheBerlios/gtkslade-svn | 933a1268545eaa62087f387c057548e03497b412 | 03890e3ba1735efbcccaf7ea7609d393670699c1 | refs/heads/master | 2016-09-06T18:35:25.336234 | 2006-01-01T11:05:50 | 2006-01-01T11:05:50 | 40,615,146 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,690 | cpp |
#include "main.h"
#include "struct_3d.h"
#include "mathstuff.h"
// difference: Finds the difference between 2 numbers
// ----------------------------------------------- >>
int difference(int v1, int v2)
{
return max(v1, v2) - min(v1, v2);
}
// distance: Returns the distance between two points
// ------... | [
"veilofsorrow@0f6d0948-3201-0410-bbe6-95a89488c5be"
] | veilofsorrow@0f6d0948-3201-0410-bbe6-95a89488c5be |
e030a6a9829abd344f37c670fab95a2d19999dcf | 33f59b1ba6b12c2dd3080b24830331c37bba9fe2 | /Depend/Foundation/System/Wm4TStringHashTable.inl | 1d6e7ca3473186c2f6a08c4108cf9be5e898e8a4 | [] | no_license | daleaddink/flagship3d | 4835c223fe1b6429c12e325770c14679c42ae3c6 | 6cce5b1ff7e7a2d5d0df7aa0594a70d795c7979a | refs/heads/master | 2021-01-15T16:29:12.196094 | 2009-11-01T10:18:11 | 2009-11-01T10:18:11 | 37,734,654 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,109 | inl | // Geometric Tools, Inc.
// http://www.geometrictools.com
// Copyright (c) 1998-2006. All Rights Reserved
//
// The Wild Magic Version 4 Foundation Library source code is supplied
// under the terms of the license agreement
// http://www.geometrictools.com/License/Wm4FoundationLicense.pdf
// and may not be ... | [
"yf.flagship@e79fdf7c-a9d8-11de-b950-3d5b5f4ea0aa"
] | yf.flagship@e79fdf7c-a9d8-11de-b950-3d5b5f4ea0aa |
0cf2eae76570265a3758308891d241e95c4020e1 | 25664158302e5fb3d833e7b3f8d95ac35536ba98 | /src/TokenizerDelim.h | bde6792eeed2ea90929d85e4108e801c7d82fdb7 | [] | no_license | sjackman/readr | 613db1ab052412273dbcce1e3d4725d26fe4db27 | 08a949246dd6d5921c8cd8507e0c4035b41c4daa | refs/heads/master | 2020-12-13T20:55:15.031199 | 2015-04-01T14:18:23 | 2015-04-01T14:18:23 | 33,261,585 | 1 | 0 | null | 2015-04-01T17:19:32 | 2015-04-01T17:19:32 | null | UTF-8 | C++ | false | false | 7,934 | h | #ifndef FASTREAD_TOKENIZEDELIM_H_
#define FASTREAD_TOKENIZEDELIM_H_
#include <Rcpp.h>
#include "Token.h"
#include "Tokenizer.h"
#include "utils.h"
enum DelimState {
STATE_DELIM,
STATE_FIELD,
STATE_STRING,
STATE_QUOTE,
STATE_ESCAPE_S,
STATE_ESCAPE_F,
STATE_STRING_END
};
class TokenizerDelim : public Tok... | [
"h.wickham@gmail.com"
] | h.wickham@gmail.com |
03f7e4315a0ca1612be6b95c33766f1750fbb96d | a910260a9fce80f2f656bce320297aafa1ef61f9 | /STLNeural/MLP.cpp | a133766b55c1217f0e9f542acebb4efeeb30439f | [] | no_license | ashvardanian/CppNeuralSTL | 0d66b8d483412819b0d5f4ff9fa9aba82346ec47 | 546694e13e5955c5fb5b26496d19fdc1d8120d50 | refs/heads/master | 2022-01-20T08:47:30.407820 | 2019-06-13T11:33:04 | 2019-06-13T11:33:04 | 191,728,338 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,624 | cpp | //
// MLP.cpp
// AILibsComparator
//
// Created by Ashot Vardanian on 6/8/19.
// Copyright © 2019 Ashot Vardanian. All rights reserved.
//
#include "MLP.hpp"
#include "activations.hpp"
#include "losses.hpp"
#include "range.hpp"
#include <array>
#include <iostream>
using namespace av::neural;
using func_activation... | [
"ashvardanian@gmail.com"
] | ashvardanian@gmail.com |
7662ad72e094d58d90b64abcbb746b0500b253fc | 257fb02e60f0293db4a435dd911f8f02bbf888ab | /Src/Foundation/Utility/Time/Timer.h | f3d3b94a97b3450280055049b70edb882e29c3a3 | [
"MIT"
] | permissive | prophecy/Wonderland | 6d7cb6f8a523672810f352eaed24aba1de0b4b3a | a60b07857e66312ee94d69678b1ca8c97b1a19eb | refs/heads/master | 2021-01-18T09:30:45.761010 | 2016-10-19T10:01:37 | 2016-10-19T10:01:37 | 42,950,457 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,586 | h | /*
* This source file is part of Wonderland, the C++ Cross-platform middleware for game
*
* For the latest information, see https://github.com/prophecy/Wonderland
*
* The MIT License (MIT)
* Copyright (c) 2015 Adawat Chanchua
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of... | [
"prophecyx@hotmail.com"
] | prophecyx@hotmail.com |
5ae15f3346c82a79f0d1a1c9377be8ce3d0980e4 | 1802c020489329b72043a1d492b9831b28bb5745 | /include/roboticarts_leds/leds_mux.h | c329bbfb03d3dfa088fdbfbdde3e564796430f33 | [] | no_license | RoboticArts/roboticarts_leds | 3d93f9b8be994d94968361008347205fdbc8137a | 236598cc6374e25b4b443a1c69022cca0aa268a4 | refs/heads/master | 2023-02-03T13:47:03.972674 | 2020-12-20T00:57:54 | 2020-12-20T00:57:54 | 292,396,212 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 914 | h | #ifndef LEDS_MUX_H
#define LEDS_MUX_H
#include "ros/ros.h"
#include <xmlrpcpp/XmlRpcValue.h>
#include <roboticarts_leds/SetLeds.h>
#include <roboticarts_leds/service_handler.h>
#define MAX_SERVICIES 255
class LedsMux{
public:
LedsMux(ros::NodeHandle nodehandle);
void run();
private:
... | [
"roboticarts1@gmail.com"
] | roboticarts1@gmail.com |
40d5646c50d6f877fafda5a696c71a943522662a | 3846cf64aa57ccf3c9672d8ed76952d019cddcbe | /BTVN/BT04/BT04Mystery.cpp | 2abdcba6b34aec072665fbcc27946c5c5ccadc42 | [] | no_license | Adriannguyen/LTNC | c31c75ed9b2a88c3a071beaea6663b0f5f4cb464 | 10736ec710772396f5827a572e0ae4a848fdad11 | refs/heads/master | 2023-06-22T12:14:11.728421 | 2021-07-20T00:14:29 | 2021-07-20T00:14:29 | 333,381,280 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 797 | cpp | #include <bits/stdc++.h>
using namespace std;
void manSort(int* arr, int num) {
for(int i = 0; i < num-1; ++i) {
for (int j = i +1; j < num;++j) {
if(arr[i] > arr[j]) {
int t = arr[i];
arr[i] = arr[j];
arr[j] = t;
}
}
}
}
int m... | [
"phuducnguyen108@gmail.com"
] | phuducnguyen108@gmail.com |
c4e629974b660048955b3baebd69453dbf40aa1e | 33c4bc9ca463ce0ec61945fca5841c9d8a18ab8e | /thrift/lib/cpp2/transport/rsocket/test/util/TestServiceMock.h | a9713a5ab3909a519a9f93ec41cec55f1cb2f748 | [
"Apache-2.0"
] | permissive | gaurav1086/fbthrift | d54bb343bf1a8503dd329fbfcd0b46fe9f70754c | 68d1a8790bfd5b3974e1b966c8071f9c456b6c6a | refs/heads/master | 2020-12-27T22:41:09.452839 | 2020-02-03T23:56:20 | 2020-02-03T23:58:33 | 238,088,855 | 0 | 0 | Apache-2.0 | 2020-02-04T00:13:04 | 2020-02-04T00:13:03 | null | UTF-8 | C++ | false | false | 2,511 | h | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* 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 applic... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
e96a68a69ff84497dc479e1e741dfd2914dfb7bf | 4bad7578931dd47c38dc283aec7eb961be6e1f30 | /src/cryptonote_basic/difficulty.h | d270f1ab9de97ce5933599b5191fd86361850ac0 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | cyberstormdotmu/electroneum-classic | d034453071a3c9fa37f494c212e3ffc6d0effc9b | 494bd2b5f9d9d759c10568e0326dde1737cefad6 | refs/heads/master | 2020-04-01T06:25:43.262217 | 2018-10-17T04:16:13 | 2018-10-17T04:16:13 | 152,947,188 | 0 | 0 | null | 2018-10-14T06:47:32 | 2018-10-14T06:47:32 | null | UTF-8 | C++ | false | false | 2,936 | h | // Copyrights(c) 2018, The Electroneum Classic Project
// Copyrights(c) 2017-2018, The Electroneum Project
// Copyrights(c) 2014-2017, The Monero Project
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are
// permitted provided that the following condi... | [
"vans_163@yahoo.com"
] | vans_163@yahoo.com |
dc7d6c82702ce2b40f21c5ea5303aaaa00362165 | 45364deefe009a0df9e745a4dd4b680dcedea42b | /SDK/FSD_AudioCapture_classes.hpp | 13366c7c11b9ebc9fe5d25df13566250811eb3d1 | [] | no_license | RussellJerome/DeepRockGalacticSDK | 5ae9b59c7324f2a97035f28545f92773526ed99e | f13d9d8879a645c3de89ad7dc6756f4a7a94607e | refs/heads/master | 2022-11-26T17:55:08.185666 | 2020-07-26T21:39:30 | 2020-07-26T21:39:30 | 277,796,048 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 962 | hpp | #pragma once
// DeepRockGalactic SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "FSD_AudioCapture_structs.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Classes
//---------------------------------------------------------------------------
// Class... | [
"darkmanvoo@gmail.com"
] | darkmanvoo@gmail.com |
b5564312d869c1375fe9a6cdaafc1e996414ffea | 7667b22de9200b5ebdb53427c1f1f64b3fde588b | /Game/Game/LoadScreen.h | 097fcde5c5bfcf74b152ed63f411b9e793272273 | [] | no_license | aguspoles/GameSFML | 6650302f6efe327b9697e06e52ebb71f0bb6204f | bf884faa894d365151a1eb42bdf8e47b4e635528 | refs/heads/master | 2020-12-30T15:08:02.924204 | 2017-06-30T14:12:27 | 2017-06-30T14:12:27 | 93,110,794 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 349 | h | #ifndef LOADSCREEN_H
#define LOADSCREEN_H
#include "Level.h"
class LoadScreen :
public Game
{
private:
bool _loaded;
sf::Text _text;
sf::Font _font;
const std::string FONTS_PATH = "Assets/Fonts/";
public:
LoadScreen();
~LoadScreen();
void Run();
void Update();
void Draw();
void Init();
void Destroy();
... | [
"aguspoles@gmail.com"
] | aguspoles@gmail.com |
51615f6001d7b9dde93a0833b48853d3efb00cba | 86b7a918b73855acde09b910271b277255e60644 | /DataStructures/SearchEngine.h | 0d7d35dbe3aa70708c96678711acb72ce0453c67 | [
"BSD-2-Clause"
] | permissive | sbrunner/osrm.deb | aff0692e6316d7a2b0f33b204de5c009e071e5c2 | 915c5f296e50886821f8585d590c2bd91a848c06 | refs/heads/master | 2020-05-17T19:37:43.483783 | 2013-10-16T14:57:48 | 2013-10-16T14:57:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,487 | h | /*
Copyright (c) 2013, Project OSRM, Dennis Luxen, others
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright notice, this list
of conditions ... | [
"stephane.brunner@camptocamp.com"
] | stephane.brunner@camptocamp.com |
715292b5c74b6180657d8209ff2afa5eccd23f51 | 903767e9e1bd7ae4c273621f2787e8e93ed38553 | /Codeforces/Div2/prev/659/C.cpp | 53312cf6b66f6a707662b80c04789439de111323 | [] | no_license | itohdak/Competitive_Programming | 609e6a9e17a4fa21b8f3f7fc9bbc13204d7f7ac4 | e14ab7a92813755d97a85be4ead68620753a6d4b | refs/heads/master | 2023-08-04T08:57:55.546063 | 2023-08-01T21:09:28 | 2023-08-01T21:09:28 | 304,704,923 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,796 | cpp | #include <bits/stdc++.h>
#include <print.hpp>
using namespace std;
#define ll long long
#define ld long double
#define REP(i,m,n) for(int i=(int)(m); i<(int)(n); i++)
#define rep(i,n) REP(i,0,n)
#define RREP(i,m,n) for(int i=(int)(m); i>=(int)(n); i--)
#define rrep(i,n) RREP(i,(n)-1,0)
#define all(v) v.begin(), v.end()... | [
"itohdak@gmail.com"
] | itohdak@gmail.com |
0b57c3fd39867bb8b372648bb02709e9fa7e4d93 | 7250574efb657928b76ba3df4412cf0b39666673 | /src/file/file_manage.cpp | 772332ff8c219e33ce857018ee8414f26f750c3f | [] | no_license | YIDWang/llylog | 920d9c1254439213701020dd0ce72168e5994581 | 8cc35fc55bd90d33fbea9ad73b6484c5ef92fc3a | refs/heads/master | 2021-01-18T20:27:31.303648 | 2017-04-10T10:22:01 | 2017-04-10T10:22:01 | 86,968,258 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,691 | cpp | #include "file_manage.h"
FileManage::FileManage(stDiv *div,std::string path,std::string name){
m_strPath = path;
m_strFileName = name;
for (int i = 0 ; i < 4 ; i++){
m_mapFilePool[i+1] = std::shared_ptr<FileOpr>(new FileOpr());
m_mapMes[i+1] = std::shared_ptr<stDiv>(new stDiv());
m_... | [
"1520990951@qq.com"
] | 1520990951@qq.com |
962ccaa8ab8c86b4182593e3f558e9869cd46dc1 | 52b148a3d5b2d1c5285445df9fb1816dbf4f6248 | /bitmap_interfaces/asteroids_interface.h | 00e3613aea268e1e63e268872ea7e95b7e39e405 | [] | no_license | quebin31/spaceship-cpp | fa7bcf063b80d8926142caef6cb9bfdbfed8a866 | 41f3a36edf6f2b0707e9490e861ab1b5878019fa | refs/heads/master | 2023-04-29T18:48:04.599314 | 2023-04-21T03:37:41 | 2023-04-21T03:37:41 | 74,414,776 | 0 | 0 | null | 2023-04-21T03:37:42 | 2016-11-21T23:23:44 | C++ | UTF-8 | C++ | false | false | 2,099 | h | //
// Created by kevin on 7/12/16.
//
#ifndef SPACESHIP2_ASTEROIDS_INTERFACE_H
#define SPACESHIP2_ASTEROIDS_INTERFACE_H
#include "../bitmap_objects/asteroid.h"
class AsteroidFactory;
class AsteroidObjPool;
class AsteroidInterface;
class AsteroidFactory
{
private:
static int fps_to_gen;
private:
static ... | [
"lans9831@gmail.com"
] | lans9831@gmail.com |
3b8bdc4819944b675637e102242f59c66791de9a | 536656cd89e4fa3a92b5dcab28657d60d1d244bd | /third_party/blink/renderer/modules/peerconnection/rtc_quic_stream.cc | cbdcc36d04606f3e4cbfe7a71e8ddbf026510b8d | [
"BSD-3-Clause",
"LGPL-2.0-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-1.0-or-later",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft",
"MIT",
"Apache-2.0"
] | permissive | ECS-251-W2020/chromium | 79caebf50443f297557d9510620bf8d44a68399a | ac814e85cb870a6b569e184c7a60a70ff3cb19f9 | refs/heads/master | 2022-08-19T17:42:46.887573 | 2020-03-18T06:08:44 | 2020-03-18T06:08:44 | 248,141,336 | 7 | 8 | BSD-3-Clause | 2022-07-06T20:32:48 | 2020-03-18T04:52:18 | null | UTF-8 | C++ | false | false | 14,423 | cc | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "third_party/blink/renderer/modules/peerconnection/rtc_quic_stream.h"
#include "base/containers/span.h"
#include "third_party/blink/renderer/bind... | [
"pcding@ucdavis.edu"
] | pcding@ucdavis.edu |
dd030c99029b6367f4fb31e3c5d563e5f84896cb | 75732426f13d523ab1c7be7bee23c2152eb9a77c | /bundles/remote_services/remote_service_admin_shm_v2/rsa_shm/gtest/src/thpool_ei.cc | 7d9369a58377984ca071c6a622f1b7557b8038fd | [
"Apache-2.0",
"BSD-3-Clause",
"MIT"
] | permissive | apache/celix | 841da4d364432bff49c796f908d64090cec1d759 | 28118976b802f421f4789ece0c15e791f542712f | refs/heads/master | 2023-09-04T22:17:43.815664 | 2023-09-04T01:22:00 | 2023-09-04T01:22:00 | 22,781,134 | 158 | 114 | Apache-2.0 | 2023-09-12T01:22:30 | 2014-08-09T07:00:07 | C | UTF-8 | C++ | false | false | 1,479 | cc | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | [
"xuzhenbao133@163.com"
] | xuzhenbao133@163.com |
4e045e94db73ebc09a1f439ce30b4514c2f4a572 | 22ee7658700691218e586d90837d491e2c64a89d | /src/fcst/include/layers/conventional_CL.h | 69b26d74581db5b19fcd6900675c29609bed7093 | [
"MIT",
"DOC"
] | permissive | Aslan-Kosakian/OpenFCSTv03 | 1099cf8468aa868d788dff334596448fe0449076 | 00a721a58341b287b52cec36bfaff741fd3a7ee3 | refs/heads/master | 2021-01-12T09:37:33.261888 | 2017-01-16T17:05:49 | 2017-01-16T17:05:49 | 76,203,415 | 0 | 0 | null | 2016-12-11T22:15:03 | 2016-12-11T22:15:03 | null | UTF-8 | C++ | false | false | 33,069 | h | //---------------------------------------------------------------------------
//
// FCST: Fuel Cell Simulation Toolbox
//
// Copyright (C) 2006-13 by Energy Systems Design Laboratory, University of Alberta
//
// This software is distributed under the MIT License.
// For more information, see the README file... | [
"secanell@ualberta.ca"
] | secanell@ualberta.ca |
ab6ab160626555a82140a275c59a0c56f12001ce | 5bb7cf6f6f38e8a96ef5d522d26cf78c7c097c41 | /src/engine/server/library/serverGame/src/shared/space/ShipComponentDataReactor.cpp | d725ca6134404f8ba3f896ad3e5ac3f86290e826 | [] | no_license | hackerlank/SWG_Client_Next_Main | 1c88015af11bd42c662a7d7c4fe0807924f4077a | d737257b8fc28f7ad4d8d02113e7662682187194 | refs/heads/master | 2021-01-12T06:25:56.627527 | 2016-06-01T19:32:59 | 2016-06-01T19:32:59 | 77,359,203 | 6 | 4 | null | 2016-12-26T05:09:07 | 2016-12-26T05:09:06 | null | UTF-8 | C++ | false | false | 3,963 | cpp | //======================================================================
//
// ShipComponentDataReactor.cpp
// copyright (c) 2004 Sony Online Entertainment
//
//======================================================================
#include "serverGame/FirstServerGame.h"
#include "serverGame/ShipComponentDataReactor.h... | [
"lightlordmh@hotmail.com"
] | lightlordmh@hotmail.com |
a69b6e73516cc8c9ec0a59b8854211e82160f169 | dfc3cbda909c36d41688461e3af4b819756fd42b | /Samutichev.Evgenii/lab2/core/conn_mq.cpp | 90b9c692d150de042f30c2e94780455c9449bc5c | [] | no_license | zhenyatos/OS_Labs_SPBPU_2020 | b3864c551c617998617d1bcb070c52ce7ef1f8b5 | 971f42e6a36bed35e4e327b32e715f36793880b3 | refs/heads/main | 2023-01-22T10:43:40.150393 | 2020-11-19T14:31:11 | 2020-11-19T14:31:11 | 301,869,133 | 0 | 0 | null | 2020-11-19T14:31:12 | 2020-10-06T22:25:43 | C++ | UTF-8 | C++ | false | false | 1,796 | cpp | #include "conn.h"
#include "sys_exception.h"
#include <mqueue.h>
#include <new>
#include <string>
#include <sys/stat.h>
#include <errno.h>
#include <syslog.h>
const mode_t permissions = 0666;
const char* prefix = "/mq_";
namespace {
class ConnectionImpl : public Connection {
public:
ConnectionImpl(siz... | [
"zhenyatos999@gmail.com"
] | zhenyatos999@gmail.com |
b7142e48126d1db509a006727ad18c64200e2078 | 61854962871ec2f492d964563e9e8cd97a8bd3de | /Cluster.h | 05ff07f9ae54705a5ff2d8f02c0d272b42d706cb | [] | no_license | daviddoria/AgglomerativeClustering | 4b73f762c292a739e7fdc4be180e6a287dd3f914 | bcdf1988188d9a73d4c52ebdcd8a2f1071ac7d3a | refs/heads/master | 2021-01-10T19:50:04.569485 | 2010-09-23T12:45:25 | 2010-09-23T12:45:25 | 933,272 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 672 | h | #ifndef CLUSTER_H
#define CLUSTER_H
#include <vector>
#include <Geometry/OrientedPoint.h>
#include <vgl/vgl_point_3d.h>
class Cluster
{
std::vector<OrientedPoint> Points_;
vgl_point_3d<double> Center_;
public:
Cluster(){}
Cluster(const std::vector<OrientedPoint> &Points)
{
setPoints(Points);
}
vgl_poin... | [
"daviddoria@gmail.com"
] | daviddoria@gmail.com |
69c9fdf54439b31252fae314b1b91d6e9be3fcb4 | 538f53dad517a1b906f40e4ba1d9a8f14bc272a6 | /Point2D.h | f130c3139cea9287603ba902f2c3f6e6c6ff254a | [
"LicenseRef-scancode-public-domain"
] | permissive | ElkMonster/Point2D | 1ab41627d85763c4fe2ec424609ce467cced3829 | 80fe85fe67828ef5aa7fc5c8793d4047528b63c0 | refs/heads/master | 2021-01-01T05:49:00.273852 | 2012-08-07T16:45:16 | 2012-08-07T16:45:16 | 5,330,318 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,724 | h | #ifndef POINT2D_H_
#define POINT2D_H_
#include <ostream>
namespace geom
{
/** A simple 2D point class. */
class Point2D
{
public:
Point2D();
Point2D(float x, float y);
Point2D(const Point2D& other);
virtual ~Point2D();
Point2D& operator=(const Point2D& rhs);
Point2D... | [
"sascha.liebsch@gmail.com"
] | sascha.liebsch@gmail.com |
df2a571f61fdb926911219e3a2118dcfc871c0fa | 91d5815101bd7f4fa8041b1b624e96ca86badbfb | /utility.cpp | 8133d19311ee54ff030434ff27aec0abf9e427f8 | [] | no_license | itsmeat/LIC | f4180f6a31f53fe634c7cd5545ccc47eed1c3f8c | 898b82087723a0bfcc575f7e2154eedb5257aa64 | refs/heads/master | 2021-08-22T05:45:49.018147 | 2017-11-29T11:43:51 | 2017-11-29T11:43:51 | 112,468,611 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,832 | cpp | #include "utility.h"
#define STB_IMAGE_IMPLEMENTATION
#include "stb_image.h"
int sWidth = 800;
int sHeight = 800;
//constants
float PI = 3.1415;
unsigned int TextureLoader(string path, bool isAlpha){
// load and create a texture
// -------------------------
//Deal with the image vertically down rule... | [
"itsme.tiwariabhinav@gmail.com"
] | itsme.tiwariabhinav@gmail.com |
636bf004cd9c232cb430831c707b53a00b0a1d2c | 0b37c5d5dc696cf3f0a89295afb117f955f0ab2c | /src/fred/camera/yuv2rgb.cpp | 62d051eff4daa78f4670dd3473316fe77211149a | [] | no_license | nickdiego/blue-barcode-reader | 14f623e8e5a8946f5606d4a63c813364957ff67e | 132a8506305938f6639c416591e073aa8adde4bc | refs/heads/master | 2020-05-16T02:57:41.539201 | 2013-01-25T02:51:20 | 2013-04-01T16:20:43 | 9,150,586 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,855 | cpp | #include "yuv2rgb.h"
#include <QtCore/qmath.h>
Yuv2Rgb::Yuv2Rgb()
: m_bits(0)
, m_width(0)
, m_height(0)
{
preCalculateValues();
}
Yuv2Rgb::~Yuv2Rgb()
{
if (m_v1)
delete m_v1;
if (m_v2)
delete m_v2;
if (m_v3)
delete m_v3;
if (m_v4)
delete m_v4;
}
uc... | [
"nick.yamane@indt.org.br"
] | nick.yamane@indt.org.br |
01bd5cd673a3f9d61f0f189bf514237d0c42aae9 | 41f2f6c4efa14a418a2360d8d761fd8a412ca52e | /cscommon_commbat/RpcCoder/Out - 副本/CPP/Config/RewardCfg.h | 48de78bb92f65eec5a1eea4a004052a02dd05616 | [] | no_license | wanggan768q/csommon | 57ec57a489a699ea2dc209b281faf011f9e35d94 | 8b1e4bd62e02fd20c4cd65d409989a37dbff8091 | refs/heads/master | 2023-01-11T08:13:08.266805 | 2022-02-28T09:31:57 | 2022-02-28T09:31:57 | 107,096,090 | 1 | 1 | null | 2022-12-26T19:45:41 | 2017-10-16T07:57:02 | C# | UTF-8 | C++ | false | false | 7,282 | h | #ifndef __REWARD_CONFIG_H
#define __REWARD_CONFIG_H
#ifdef CONFIG_JSON
#else
#include "ConfigUtil.h"
#enif
#define printf_message(_argg) printf(_argg)
//奖励表脜盲脰脙脢媒戮脻陆谩鹿鹿
struct RewardElement
{
friend class RewardTable;
int RewardID; //奖励ID 奖励ID
int Item1; //道具1 道具1
int ItemNum1;... | [
"ambitiongxb@foxmail.com"
] | ambitiongxb@foxmail.com |
da75ab18a4f7013702155430cba644ca5adf543c | a7e34664ec2ad91dcc969c00462592095045ad58 | /gpu/vulkan/vulkan_image.h | d3865638a3a263ef6b268ff995a073d4fa4954ca | [
"BSD-3-Clause"
] | permissive | BrutalD/chromium | 1dae06ae416e4badd459106129c70b69061f61ff | 6fc0f20612e16ea07cfb06910fb71a58817b20cc | refs/heads/master | 2023-01-13T01:15:01.065084 | 2020-03-26T04:06:48 | 2020-03-26T04:06:48 | 250,165,321 | 1 | 0 | BSD-3-Clause | 2020-03-26T04:59:20 | 2020-03-26T04:59:19 | null | UTF-8 | C++ | false | false | 4,703 | h | // Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef GPU_VULKAN_VULKAN_IMAGE_H_
#define GPU_VULKAN_VULKAN_IMAGE_H_
#include <vulkan/vulkan.h>
#include "base/files/scoped_file.h"
#include "base/opti... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
86f87fae03adf4cb8b788d2dba4d4158ee8f6d11 | 6ffd23679939f59f0a09c9507a126ba056b239d7 | /dnn/test/cuda/deformable_ps_roi_pooling.cpp | 38f1ff462faebca71dc284ecf2c6c696ca91b63a | [
"LicenseRef-scancode-generic-cla",
"Apache-2.0"
] | permissive | MegEngine/MegEngine | 74c1c9b6022c858962caf7f27e6f65220739999f | 66b79160d35b2710c00befede0c3fd729109e474 | refs/heads/master | 2023-08-23T20:01:32.476848 | 2023-08-01T07:12:01 | 2023-08-11T06:04:12 | 248,175,118 | 5,697 | 585 | Apache-2.0 | 2023-07-19T05:11:07 | 2020-03-18T08:21:58 | C++ | UTF-8 | C++ | false | false | 3,160 | cpp | #include "megdnn/oprs/nn.h"
#include "src/cuda/utils.h"
#include "test/common/checker.h"
#include "test/common/random_state.h"
#include "test/common/roi_pooling.h"
#include "test/cuda/benchmark.h"
#include "test/cuda/fixture.h"
using namespace megdnn;
using namespace test;
TEST_F(CUDA, DEFORMABLE_PSROI_POOLING_FWD) {... | [
"megengine@megvii.com"
] | megengine@megvii.com |
1a10ca27098fb15139d8fb57eb3d6c7215a74099 | 4ceb431679147aedd57c04308f769a2521b1a9e4 | /Problems and Solutions/696 - Frog Dating.cpp | db283502379213a8cc42c9fcbea866fb2dd1673f | [] | no_license | tushar20008/Competitive-Coding | 188797383cfa4f3b722543f5a999847c0756388b | 9ec0891d6023029590cb096417b6477a011f3d61 | refs/heads/master | 2021-01-18T18:51:57.586151 | 2018-05-01T10:59:30 | 2018-05-01T10:59:30 | 86,875,720 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,306 | cpp | #include <iostream>
#include <math.h>
using namespace std;
long int gcd(long int p, long int q, long int *x, long int *y)
{
if (p == 0)
{
*x = 0;
*y = 1;
return q;
}
long int x1, y1;
long int g = gcd(q%p, p, &x1, &y1);
*x = y1 - (q/p) * x1;
*y = x1;
return g;
/*
int x1,y1,g;
... | [
"tusharanand20008@gmail.com"
] | tusharanand20008@gmail.com |
7c48a5a45418cb52bd492e5da0c57a2cd89b9421 | cd954f06232e3b9fe008f9a6291689e75f179a88 | /codeforces/1466/c.cpp | ae53441e0f277eda7682a6bc74d28621fe7e6a09 | [
"MIT"
] | permissive | upupming/algorithm | 35446f4b15f3a505041ac65c1dc6f825951d8e99 | a3807ba05960b9025e55d668ef95b3375ae71895 | refs/heads/master | 2023-08-09T03:07:18.047084 | 2023-08-01T05:57:13 | 2023-08-01T05:57:13 | 217,478,998 | 239 | 34 | MIT | 2021-08-13T05:42:26 | 2019-10-25T07:41:19 | C++ | UTF-8 | C++ | false | false | 623 | cpp | #include <cstring>
#include <iostream>
using namespace std;
const int N = 1e5 + 20;
int t, n, st[N];
string x;
int main() {
cin >> t;
while (t--) {
int ans = 0;
memset(st, 0, sizeof st);
cin >> x;
int n = x.length();
for (int i = 0; i < n; i++) {
if (st[i]) c... | [
"yimingli.cs@gmail.com"
] | yimingli.cs@gmail.com |
33b7a1322d27b38d9840977a0280b1a393a25e34 | c0a8fcd26dd3c4ba9c9b7c646cd3f5dfcfdc607a | /IBM_InfoSphere_Application/Submission_Arguments_Word_Count_Application_IBM_InfoSphere/output/application.Project1_Part1_Section3/Standalone/src/operator/Sink.h | bb176aa949d3aebbe515c3a73f3106f45c0bc9a9 | [] | no_license | Ray1207/Stream-Computing-Application | 006b384c09d3316022ccd267cb41fb3de7b1dab4 | 66ad27959234b3eaf572ef2c72c1cdeb561fbc95 | refs/heads/master | 2021-01-02T09:15:45.827039 | 2013-09-21T06:24:09 | 2013-09-21T06:24:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,118 | h | // eJytUd9rwjAQJq_1_0FUX2YJm01e5hZCKo4ECqK0Zx7EVCmmm0TUqSTuvY_174Yf2zIGEOWkHB33N33fXcqT71Cs5TpEsJeobTIQGBvE1Q9z9dlTv0uHWzkEG22u9VkVJJtFJG7ICL3b2jRR_0U4G4zJbDbGvJ9P1ukGzQadpy3pNHvesnrZxBTuCB_0iMnwa9cI4CkR3qtYvbPrc7zy_0pp1Vsi8KQAgMpZsAoDiCUCotGV8AG2v8EGtexIC_1FBn1jUtxpnCSMe6jg4N0kTDhb4RcqxwT6sdSrCjRjXmMpfmRsZngoZ9gjQEXnB... | [
"hurui1207@gmail.com"
] | hurui1207@gmail.com |
77e090acee1988a8bc108acaf086618e6c08ed3e | 08dd0048db82af92f15e87c426f20671434dee6a | /test/util.t.cpp | e13f65fb24351411cf285f6c9b4cb4017da3d9a5 | [
"MIT"
] | permissive | kpeace/gsl-lite | 315c6f7c549e69d576125e215fde13aa6867e0a3 | b9649a4d51d8656ed96a89cdd7812878db17f07d | refs/heads/master | 2021-04-27T16:57:10.815927 | 2018-02-12T09:22:12 | 2018-02-12T09:22:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,169 | cpp | //
// gsl-lite is based on GSL: Guideline Support Library.
// For more information see https://github.com/martinmoene/gsl-lite
//
// Copyright (c) 2015 Martin Moene
// Copyright (c) 2015 Microsoft Corporation. All rights reserved.
//
// This code is licensed under the MIT License (MIT).
//
// THE SOFTWARE IS PROVIDED "... | [
"martin.moene@gmail.com"
] | martin.moene@gmail.com |
f3d07fcfbdce062618d0bd08bf6b7cdda7239e82 | 15eab6a629486562d589bb1b402a4d07c8abaed5 | /labs/AlgoLabs/No11/ass_problem.cpp | d38146e4a35637cb7c72588c70fe05180835e66c | [] | no_license | Xagen37/Homework-and-compendiums | ff9914541e8ba9968f71e5c31b72cddbc478c592 | 95fa7090bdbb00092b6224a3922fd0443b6b46de | refs/heads/master | 2023-04-05T14:46:42.483239 | 2023-03-27T21:06:42 | 2023-03-27T21:06:42 | 225,426,084 | 5 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 4,115 | cpp | #include <algorithm>
#include <iostream>
#include <set>
#include <vector>
using namespace std;
using type_t = long long int;
struct Edge
{
type_t from, to;
type_t cap, flow, cost;
type_t id, rev_id;
};
vector<type_t> dijkstra(type_t s, vector<vector<type_t>>& gr, vector<Edge>& edges, vector<pair<type_t,... | [
"xagen.rus@gmail.com"
] | xagen.rus@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.