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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e54392d66877c9ab5d5bd0ac46ec8d567f151488 | 3ded37602d6d303e61bff401b2682f5c2b52928c | /ml/1075/Classes/Scenes/DrinkJuiceScene.cpp | a4caa7746ed8c86f7c6a3e8f9007442bd304888f | [] | 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 | 5,644 | cpp |
#include "DrinkJuiceScene.h"
#include "SceneManager.h"
DrinkJuiceScene::DrinkJuiceScene()
{
}
DrinkJuiceScene::~DrinkJuiceScene()
{
}
bool DrinkJuiceScene::init()
{
if ( !ShareScene::init() )
{
return false;
}
_initData();
m_pGameUI->hideBack();
// bg
// Audi... | [
"wuguiling@smalltreemedia.com"
] | wuguiling@smalltreemedia.com |
9c0f256398ffa27fc696a4e2afc37a8d59109866 | 6c30503a6e1807e7f80325151147c71b937e1f0b | /1124.cpp | 9249f43786db45103c61e1d7f1059b3db0f00aea | [] | no_license | Mostafizur21/UVA-Accepted-Solution | ee19f8842e7f725837c36599bd7c54ec1bc3e6f2 | ce8c4b44454014e0ffad1a85845b010366cf696a | refs/heads/master | 2021-01-10T16:24:34.907193 | 2016-01-25T14:17:11 | 2016-01-25T14:17:11 | 50,354,904 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 448 | cpp | #include<iostream>
#include<cstdio>
#include<cstring>
#include<map>
#include<vector>
#include<queue>
#include<deque>
#include<list>
#include<stack>
#include<algorithm>
#include<cmath>
#include<set>
#include<cstdlib>
#include<ctime>
#include<cctype>
#include<sstream>
#include<utility>
#include<complex>
#include<cstring>... | [
"mostafizur.cse21@gmail.com"
] | mostafizur.cse21@gmail.com |
c4402a3b1c7691d3b05c39e0cddb16db2a4aa75a | d35868429434c58c90a333e24df5591e255ace98 | /src/crc.h | 4042e20a2a3bebf58831d2516ed2107c48d08a4b | [
"MIT"
] | permissive | HerrTrigger/FuserCustomSongCreator | 644b7267a34d0180f2cbb6f3b35e83e17ae7e427 | 56d4bf9e38a175545f214b1d1527cc6d1469cfb0 | refs/heads/master | 2023-03-22T15:34:16.359317 | 2021-02-15T20:40:54 | 2021-02-15T20:40:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 26,383 | h | //From Crc.cpp
#pragma once
#include "core_types.h"
struct CRC {
inline static const u32 CRCTablesSB8[8][256] =
{
{
0x00000000, 0x77073096, 0xee0e612c, 0x990951ba, 0x076dc419, 0x706af48f, 0xe963a535, 0x9e6495a3, 0x0edb8832, 0x79dcb8a4, 0xe0d5e91e, 0x97d2d988, 0x09b64c2b, 0x7eb17cbd, 0xe7b82d07, 0x90bf1d91,
... | [
"Mettra@users.noreply.github.com"
] | Mettra@users.noreply.github.com |
9a53e76ce3ce7921cbbb2c878e13610878276779 | e1118709f6c707bdeb2e6a7f13616c2a75880f6f | /tensorstore/index_space/internal/iterate.cc | efc54a5f7c8ad7ff26e97f4161ce04b9da4124ef | [
"LicenseRef-scancode-warranty-disclaimer",
"Apache-2.0",
"MIT"
] | permissive | sdwivedi/tensorstore | 8b2ee1f7a183f59fbf4b43acc96abefed14153e5 | 9280e742715e8148ff7cd9184c7fd9a72a0a6dcb | refs/heads/master | 2022-06-08T16:49:14.270813 | 2020-05-08T03:48:09 | 2020-05-08T03:48:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,663 | cc | // Copyright 2020 The TensorStore Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or ... | [
"noreply@google.com"
] | noreply@google.com |
9a70ce33bca9775407ffad687771cfa5745a90ed | 600df3590cce1fe49b9a96e9ca5b5242884a2a70 | /ash/common/wm/forwarding_layer_delegate.h | 446db9c747a7f508b2896232ad3e5e8cb59b789e | [
"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 | 1,824 | h | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef ASH_COMMON_WM_FORWARDING_LAYER_DELEGATE_H_
#define ASH_COMMON_WM_FORWARDING_LAYER_DELEGATE_H_
#include "base/macros.h"
#include "base/scoped_obse... | [
"enrico.weigelt@gr13.net"
] | enrico.weigelt@gr13.net |
f3bcb894d50ebb300de516f128ccb621809172ff | f90c73ed5f8851daf0a1931a2f1e2220bd638684 | /source/openGL.h | bfc01e1498ee2a29590d5c88a1a438ce33f8b45d | [] | no_license | Smorodov/slicetype | 99e94e6f994582769446a46a6a9ed0350161a30a | 15b4ea519dd93e43a5ef7c8bf8da92e1abffe84a | refs/heads/master | 2023-03-17T07:59:35.055688 | 2019-07-08T10:18:28 | 2019-07-08T10:18:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,201 | h | #ifndef OPENGL_H
#define OPENGL_H
#include <GL/glew.h>
#include <GL/freeglut.h>
#include <GL/gl.h>
#include <GL/glu.h>
#include <string>
#include <iostream>
#include "enums.h"
void initGL()
{
//Create OpenGL 2.1 context
glutInitContextVersion(2, 1);
//Create Double Buffered Window with multisampled buffer
glutIn... | [
"haplo156@yahoo.com"
] | haplo156@yahoo.com |
77b7398bf5ef201a2b34d0e3f261dcc134dd7043 | 486b441cbfec6d627043a23a8eeb2ad40670992b | /leetcode/ds0_array/smo_6.hpp | 046de9bc107c04428ca8d31a7d0ef8267f642684 | [] | no_license | QingchaoDai/cpp_learning | f90785e7a516645b331ddfdcdf25d5227781df13 | 2eda4450e8a142ba57f658042637a97a72f38e0e | refs/heads/master | 2022-12-11T20:08:47.792151 | 2020-08-31T03:25:03 | 2020-08-31T03:25:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 804 | hpp | //
// Created by 郑楚彬 on 2020/2/15.
//
#include "../lib.hpp"
/**
面试题06. 从尾到头打印链表
输入一个链表的头节点,从尾到头反过来返回每个节点的值(用数组返回)。
示例 1:
输入:head = [1,3,2]
输出:[2,3,1]
限制:
0 <= 链表长度 <= 10000
来源:力扣(LeetCode)
链接:https://leetcode-cn.com/problems/cong-wei-dao-tou-da-yin-lian-biao-lcof
著作权归领扣网络所有。商业转载请联系官方授权,非商业转载请注明出处。
... | [
"530154436@qq.com"
] | 530154436@qq.com |
85a31b44abc6fa6d5cc01067e6b3eeea2ab6efc9 | de32b1c24a9f18525ff4d15be2862f067142cc7b | /src/stacktrace.hpp | ab1b5b1dae0ad94a09d68caf520d55c41a83be72 | [
"BSD-2-Clause"
] | permissive | ibaned/omega_h2 | c3d8c5463fd2988de954023e0f0c98737fd55070 | 163b98f98cbf2df710af3a4208dc9eda78bbd99c | refs/heads/master | 2021-01-13T11:51:01.556474 | 2016-11-12T21:02:35 | 2016-11-12T21:02:35 | 58,775,556 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,863 | hpp | #ifndef STACKTRACE_HPP
#define STACKTRACE_HPP
#include <cxxabi.h>
#include <execinfo.h>
#include <cstdlib>
#include <sstream>
#include <string>
namespace Omega_h {
// stacktrace.h (c) 2008, Timo Bingmann from http://idlebox.net/
// published under the WTFPL v2.0
/* Dan Ibanez: found this code for stacktrace printin... | [
"dan.a.ibanez@gmail.com"
] | dan.a.ibanez@gmail.com |
84ae0554fb8cb7da2f8b3c715127333b7bd7947e | 30643de1d33317525566a43ef57eb10bd9f77ebc | /timus/timus1017.cpp | 9bd2a5f02b26026d83200026e05e0096dd81035a | [] | no_license | RhythmBoys/AlgoContest | 7aad7ba076e8c6c566a1d6ec95aa1b4b1e7a0ab2 | 2a69cc9dd9633e5dc0f108509432e1b97ea92530 | refs/heads/master | 2023-03-17T17:21:28.585335 | 2015-05-23T12:16:14 | 2015-05-23T12:16:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 644 | cpp | #include <cstdio>
#include <cstring>
#include <iostream>
#include <algorithm>
using namespace std;
typedef long long int64;
const int MAXN = 500 + 5;
int64 dp[MAXN][MAXN];
// dp[i][j] 是i个砖,最底下有j个砖的方法数
int main(void){
std::ios_base::sync_with_stdio(false);
std::cin.tie(0);
int n;
for(int i = 1; i <= 500; ++i)... | [
"mail.jiang.cn@gmail.com"
] | mail.jiang.cn@gmail.com |
05e78c130bd5257105bef0298ddb162f43938194 | b96baa2763e8201dbdac8243579517ef59b295e7 | /source/NanairoCore/system.hpp | fc1747ed86394b4b330f239ef881d25e43c3de00 | [
"MIT"
] | permissive | hayate891/Nanairo | a155aa3b614ea4de74e73c8ce0e21a4f86a0c749 | dae60337402fbf297b61fb0d274213e2ce972f7b | refs/heads/master | 2021-01-19T08:59:54.045840 | 2017-01-16T09:22:56 | 2017-01-16T09:22:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,199 | hpp | /*!
\file system.hpp
\author Sho Ikeda
Copyright (c) 2015-2016 Sho Ikeda
This software is released under the MIT License.
http://opensource.org/licenses/mit-license.php
*/
#ifndef NANAIRO_SYSTEM_HPP
#define NANAIRO_SYSTEM_HPP
// Standard C++ library
#include <tuple>
#include <vector>
// Zisc
#include "zi... | [
"zin.kosmos.1190@gmail.com"
] | zin.kosmos.1190@gmail.com |
318a80ca2fd424b356047e9eb9d3bbc7ad19715b | 8adeaa4ae95609017cb69c595683907f996c6450 | /Bank.h | 93667b44cd659cb0c8254a5aad51a0aaae92d7d9 | [
"BSD-3-Clause"
] | permissive | flaser/destinyP | 729eef05340d1f32b840617e90c55fe265059bd9 | e7a469cf0b3602d6ece1a1f453769a898d13371e | refs/heads/master | 2020-03-16T15:21:55.846150 | 2018-05-10T14:47:52 | 2018-05-10T14:47:52 | 132,740,459 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,289 | h | //Copyright (c) 2015-2016, UT-Battelle, LLC. See LICENSE file in the top-level directory
// This file contains code from NVSim, (c) 2012-2013, Pennsylvania State University
//and Hewlett-Packard Company. See LICENSE_NVSim file in the top-level directory.
//No part of DESTINY Project, including this file, may be copie... | [
"zoltan.szandtner@ericsson.com"
] | zoltan.szandtner@ericsson.com |
5386f208490c1f4fb456b72baeb3255e7db6e1e0 | 4af341026c371c8e25d37780c3d2a85063ec60ea | /CODECHEF_SUMAGCD Interesting Intuitive GCD property .cpp | aad0dca01b82833ac5deb704887794e4bfe0c3eb | [] | no_license | i-am-arvinder-singh/CP | 46a32f9235a656e7d777a16ccbce980cb1eb1c63 | e4e79e4ffc636f078f16a25ce81a3095553fc060 | refs/heads/master | 2023-07-12T19:20:41.093734 | 2021-08-29T06:58:55 | 2021-08-29T06:58:55 | 266,883,239 | 1 | 1 | null | 2020-10-04T14:00:29 | 2020-05-25T21:25:39 | C++ | UTF-8 | C++ | false | false | 1,835 | cpp | #include<bits/stdc++.h>
using namespace std;
#define endl "\n"
#define int long long
#define ff first
#define ss second
#define fl(i,a,b) for(int i=a; i<b; i++)
#define bfl(i,a,b) for(int i=a-1; i>=b; i--)
#define pb push_back
#define m... | [
"arvinderavy@ymail.com"
] | arvinderavy@ymail.com |
90b95a016a6a3bb7c34c933c2112b1d22783db58 | 0882477951040c9878733f75526bb0bb3829bc9f | /models/bar.cpp | 05405adb999db646e13197e7191e4bcc5809dc93 | [] | no_license | leeoalmd/cg-pspv | 78e6949ebd06c39e2373e234d4fad4b2bb8bbf86 | 1aea8ecb2271ac381d376f93e2e19442d4e0fd24 | refs/heads/master | 2023-04-14T00:53:34.534731 | 2021-04-11T04:18:34 | 2021-04-11T04:18:34 | 356,745,846 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,238 | cpp | #include "bar.h"
Bar::Bar() { nome = "bar"; }
void Bar::bar()
{
//face frente
glBegin(GL_QUADS);
glNormal3f(0,0,1);
glVertex3f(0,0,1);
glVertex3f(1,0,1);
glVertex3f(1,1,1);
glVertex3f(0,1,1);
glEnd();
//face tras
glBegin(GL_QUADS);
glNormal3f(0,0,-1)... | [
"leeo97@alu.ufc.br"
] | leeo97@alu.ufc.br |
e36a850f9fdff75504e989893185deefdc1cf755 | 2a02c5386a445e10eddf8dcc7bb05d25b35d69f6 | /Day3/821.cpp | 08d90a4bdc30e8d5c21ded16ea5de91df39ad9fa | [] | no_license | rhasya/UVA_source | b700b810e8c3c1b8d583c905132fe257085bddf1 | 414e460901854b8f8153a7a77a079a23c0b62ffb | refs/heads/master | 2020-05-03T09:34:23.303611 | 2019-04-11T05:42:57 | 2019-04-11T05:42:57 | 178,557,740 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,022 | cpp | #include <iostream>
#include <algorithm>
using namespace std;
int D[101][101];
/* 821 - Page hopping */
int main() {
int x, y, t = 0;
while (cin >> x >> y && x != 0 && y != 0) {
t++;
// x, y is first edge
// initialize
for (int i = 1; i <= 100; ++i) {
for (int j = 1; j <= 100; ++j) {
if (i == j) D[i... | [
"rhasya@gmail.com"
] | rhasya@gmail.com |
b28edf10cc52210ffdfc681bbd153d1c3a2f8769 | 7b185ed3a434e61eb622c511db788be23c1d3044 | /server/objects/Projectiles.hpp | d94d398d6aca5fec1599745139cab54270bacf9b | [] | no_license | matsjoyce/bombertank | c8b7947f8131557e730de70d5a1eb102e9324419 | d3c7e57670d8dac06cb0f302512e3fae7eda91ad | refs/heads/master | 2023-01-16T07:42:18.660343 | 2023-01-06T12:00:13 | 2023-01-06T12:00:13 | 157,715,615 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,668 | hpp | #ifndef OBJECTS_PROJECTILES_HPP
#define OBJECTS_PROJECTILES_HPP
#include "Base.hpp"
class ShellState : public BaseObjectState {
int _selfDestruct = 20;
protected:
virtual float _bodyRadius() { return 0.25; }
virtual int _category() { return SHELL_CATEGORY; }
virtual int _collisionMask() { return 0xff... | [
"matsjoyce@gmail.com"
] | matsjoyce@gmail.com |
906be4bfce4e68436f2b15de4c329278a445fdb9 | b54b6168ba35ce6ad34f5a26b5a4a3ab8afa124a | /kratos_2_2_0/applications/ULFapplication/custom_processes/ulf_time_step_dec_process.h | 01b6470f86161426f4d13daad2359d027599edbb | [] | no_license | svn2github/kratos | e2f3673db1d176896929b6e841c611932d6b9b63 | 96aa8004f145fff5ca6c521595cddf6585f9eccb | refs/heads/master | 2020-04-04T03:56:50.018938 | 2017-02-12T20:34:24 | 2017-02-12T20:34:24 | 54,662,269 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 8,485 | h | /*
==============================================================================
KratosULFApplication
A library based on:
Kratos
A General Purpose Software for Multi-Physics Finite Element Analysis
Version 1.0 (Released on march 05, 2007).
Copyright 2007
Pooyan Dadvand, Riccardo Rossi, Pawel Ryzhakov
pooyan@cimne.up... | [
"pooyan@4358b7d9-91ec-4505-bf62-c3060f61107a"
] | pooyan@4358b7d9-91ec-4505-bf62-c3060f61107a |
4bca6f95efa0a6a3cfbcdecbb629438839c1beaf | f4482b0859df9c7a6b932422c385442a248a4ba8 | /b2/evaluator.hpp | 59a02239db25b7f238c1a603031202f03c04dddd | [] | no_license | mrdooz/tano | e86e3540a8ad4aeb967ff2297f3c44f2537ab619 | 4fd1112e7590aca0b86a00b4b865f5ebe0453191 | refs/heads/master | 2021-03-12T19:53:59.096866 | 2015-10-27T13:41:21 | 2015-10-27T13:41:21 | 29,353,711 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,330 | hpp | #pragma once
#include "parser/input_buffer.hpp"
namespace eval
{
//------------------------------------------------------------------------------
struct Token
{
enum class Type
{
Constant,
Var,
BinOp,
LeftParen,
RightParen,
FuncCall,
Comma,
UnaryMinus,
... | [
"magnus.osterlind@gmail.com"
] | magnus.osterlind@gmail.com |
0f4096020283dee8042ec31f9358ac037c4518b4 | 0b41815e2e30d9cee85e21384ef6e09ebc6f8f9d | /dotnet/baos/BaosServerItems.cpp | 3de975a649f18f0397d773b65a3ba6d66a3fdd0f | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | weinzierl-engineering/baos | 96d338176c842e24223cb03981443ecf0450b8ac | bd0d893e1d1f23578d94275c90e7588885baf29b | refs/heads/master | 2022-12-08T09:19:08.823389 | 2022-11-15T11:35:02 | 2022-11-15T11:35:02 | 34,512,259 | 42 | 21 | MIT | 2022-11-15T11:35:03 | 2015-04-24T10:21:39 | C++ | UTF-8 | C++ | false | false | 585 | cpp | //
// Copyright (c) 2002-2018 WEINZIERL ENGINEERING GmbH
// All rights reserved.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT... | [
"info@weinzierl.de"
] | info@weinzierl.de |
cd4cb9b5f83b8bdc29827ea0c32765356055f47b | 121c3caee497f498eb2795c354bfec52a3c5bc7a | /old/src/double_linked.cc | f61a284847bcbd91f985a0e6e080ff1a391c9361 | [] | no_license | fib5813/DS | 8364880e1f3e83e5c82d7f527e6cd1c9b30084a8 | b7609c45c28f52719495d48d9eb6c95eff71987d | refs/heads/master | 2023-01-08T11:58:37.635308 | 2020-11-07T23:39:57 | 2020-11-07T23:39:57 | 109,340,985 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 612 | cc | #include "node.h"
double_linked::double_linked(){
begin = nullptr;
end = nullptr;
}
void double_linked::push_back(int in){
if (begin != nullptr){
node *new_node = new node(in);
new_node->prev = end;
new_node->next = nullptr;
end = new_node;
}
else{
begin = n... | [
"urbhavsa@ncsu.edu"
] | urbhavsa@ncsu.edu |
bd87b9bb70ad7dcc7fd1e3edaca1fd00d52a6b57 | c0adfd9de8452bde669031d52f888a65e60a0f41 | /include/slug_3d/item_factory.h | 71efb032b06beb45c6eeacd5758449094ce353a7 | [] | no_license | MarkOates/slug_3d | b3529b45ee20cb8fc643447abf2b04850cbba9c9 | 0cb967c929df7a07967317e181018fc660293071 | refs/heads/master | 2022-02-12T09:55:22.414497 | 2022-01-24T23:37:44 | 2022-01-24T23:37:44 | 28,686,022 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 183 | h | #ifndef __S3D_ITEM_FACTORY_HEADER
#define __S3D_ITEM_FACTORY_HEADER
#include <slug_3d/info_pod.h>
class ItemFactory
{
public:
//InfoPod *create_info_pod(
};
#endif | [
"euph_boy@hotmail.com"
] | euph_boy@hotmail.com |
ea77be00d0fa68fa3260c38614830c1890134c09 | 0837dfaae01a9c9809ac125185620e7d85af2fd9 | /Labs/Lab7/Source.cpp | adfdedc93890cb6d656ff206e4fdc40a865f788e | [] | no_license | cpurev/cs202 | 4271c6fe5db55804a92e5021a8e3dd220b1655c6 | a5dfd6e7751ae35e7effddf07d62799b9f5140b1 | refs/heads/master | 2020-12-11T18:07:32.435657 | 2020-04-27T01:54:37 | 2020-04-27T01:54:37 | 233,919,226 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 296 | cpp | //Source.cpp
//Chuluunbat Purev
//2020-3-26
//Testing custom Colour class
#include "Colours.hpp"
int main() {
const Colours cl;
std::cout << cl << std::endl;
Colours cl1;
cl1.rgba(128, 128, 128, 1);
std::cout << cl1 << std::endl;
cl1 = cl;
std::cout << cl1 << std::endl;
return 1;
} | [
"puluunbat@gmail.com"
] | puluunbat@gmail.com |
65727555df40c25784a3620aa2976b20a141dc89 | 2124d0b0d00c3038924f5d2ad3fe14b35a1b8644 | /source/GamosCore/GamosBase/Filters/include/GmInLogicalVolumeFilter.hh | d70f84bfd470b44b4038cca00a050381f34c1718 | [] | no_license | arceciemat/GAMOS | 2f3059e8b0992e217aaf98b8591ef725ad654763 | 7db8bd6d1846733387b6cc946945f0821567662b | refs/heads/master | 2023-07-08T13:31:01.021905 | 2023-06-26T10:57:43 | 2023-06-26T10:57:43 | 21,818,258 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 479 | hh | #ifndef GmInLogicalVolumeFilter_hh
#define GmInLogicalVolumeFilter_hh
#include "GmVVolumeConditionFilter.hh"
#include "GmGeomConditionIn.hh"
#include "GmTouchableFilterLogicalVolume.hh"
class GmInLogicalVolumeFilter : public GmVVolumeConditionFilter<GmGeomConditionIn,GmTouchableFilterLogicalVolume>
{
public:
GmIn... | [
"pedro.arce@ciemat.es"
] | pedro.arce@ciemat.es |
6a93a49900129513c636cafa9bed38ece39ff70d | c230fc6477ff9fb58518424ed67dc9ed39e9d21e | /nowcoder/offer/offerCoder0321/common/common/hua_weiHKS.h | 21fa25fb8fdb6a46c39e0772a660487710a15e34 | [] | no_license | MF1523017/interview | 7dee22b590606e716c66314ff0e20b2f42f5bd85 | e21d49cf59ad21424501ae05c710d76a9ba2eee7 | refs/heads/master | 2021-01-12T03:19:11.344408 | 2018-08-29T11:35:30 | 2018-08-29T11:35:30 | 78,186,516 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,075 | h | #pragma once
#include<iostream>
#include<vector>
#include<string>
#include<sstream>
#include<algorithm>
#include<queue>
using namespace std;
#if 0
//字符串被分解成int数组
vector<int> split(string &s, char flag = ' ')
{
vector<int> res;
replace(s.begin(), s.end(), flag, ' ');
int n;
istringstream tmp(s);
while (!tmp.eof())... | [
"李培"
] | 李培 |
73b34a9249e782b674ebfd3ca6f3da0eb40275be | 21dfd5124c2f05ef5f98355996dc2313f1a29f5a | /Util/SimRobot/Src/SimRobotCore2/Simulation/Actuators/Hinge.cpp | 59ddfb8e5b0374b3da6d56bd2f8deb90d7ae2311 | [
"BSD-2-Clause"
] | permissive | fabba/BH2013-with-coach | 50244c3f69135cc18004a1af9e01604617b6859f | 88d7ddc43456edc5daf0e259c058f6eca2ff8ef6 | refs/heads/master | 2020-05-16T03:21:29.005314 | 2015-03-04T10:41:08 | 2015-03-04T10:41:08 | 31,651,432 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,730 | cpp | /**
* @file Simulation/Joints/Hinge.cpp
* Implementation of class Hinge
* @author <A href="mailto:Tim.Laue@dfki.de">Tim Laue</A>
* @author <A href="mailto:kspiess@informatik.uni-bremen.de">Kai Spiess</A>
* @author Colin Graf
*/
#include <cmath>
#include "Platform/OpenGL.h"
#include "Hinge.h"
#include "Simulation/Body... | [
"fab_v_cool@hotmail.com"
] | fab_v_cool@hotmail.com |
f17346917b7651da983a41c3240444d8877171ed | 2fdbf2ba994ba3ed64f0e2dc75cd2dfce4936583 | /spectre/data/port.cpp | 119898ec99edcf6458d4c82de947b5f60d6bf2d8 | [] | no_license | TERRANZ/terragraph | 36219a4e512e15a925769512a6b60637d39830bf | ea8c36070f532ad0a4af08e46b19f4ee1b85f279 | refs/heads/master | 2020-05-25T10:31:26.994233 | 2011-01-29T21:23:04 | 2011-01-29T21:23:04 | 1,047,237 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,815 | cpp | #include "port.h"
#include "process.h"
#include "dom/domdocument.h"
const string Port::NAME = "port";
const string Port::ID = "id";
const string Port::CHANNEL = "channel";
const string Port::MODULE = "module";
const string Port::TYPE = "type";
const string Port::X = "x";
const string Port::Y = "y";
const string Port:... | [
"vterranz@gmail.com"
] | vterranz@gmail.com |
eeed68d0f8dbccd4dc80df33346d629070c3fe41 | bfb0c727497c12cd5fe18ae97857da9a218ab464 | /Components/Tocs/Componentry/GameBase.cpp | 2037465b99c85ee71f485b94ad22e02447ff1fcc | [] | no_license | LordTocs/TocsEngine | 67e8784f865ed2b41f45e28d482e0c0196f62252 | 218e731b53d436f9770457ddc2ea89e52f90658f | refs/heads/master | 2021-05-28T06:13:03.337976 | 2014-04-14T02:04:08 | 2014-04-14T02:04:08 | 7,833,667 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 85 | cpp | #include "GameBase.h"
GameBase::GameBase(void)
{
}
GameBase::~GameBase(void)
{
}
| [
"Tocs1001@gmail.com"
] | Tocs1001@gmail.com |
683c6a2b4e12914d63b63691b4b7ca3b7cee6b3b | 44f04b8f2b6c0dba51f1e998985d3a9e8540715f | /HDU/4405/D.cpp | ba09490bf9dce74bb77f6b3de58b0599c8ae2447 | [] | no_license | GuessEver/ACMICPCSolutions | 2dd318a45939711eff1dd208cffc05a029b38130 | 909927778efd77ca9ec8e18aed3ff22c167d2a33 | refs/heads/master | 2020-05-18T20:52:32.359955 | 2015-11-04T08:31:43 | 2015-11-04T08:31:43 | 29,720,059 | 5 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 506 | cpp | #include <cstdio>
#include <cstring>
const int N = 100000 + 10;
int n, m;
int to[N];
double f[N];
int main()
{
while(scanf("%d%d", &n, &m) == 2 && (n || m))
{
memset(to, 0, sizeof(to));
for(int i = 1; i <= m; i++)
{
int x, y; scanf("%d%d", &x, &y);
to[x] = y;
}
f[n] = 0;
for(int i = n-1; i >= 0; ... | [
"jiangzh777@163.com"
] | jiangzh777@163.com |
f7c0b42372c1f870d7607dcfd933a17c1543ed90 | 1599e5d067dc328816419fe84876c92c7cac6fa3 | /projects/Graphics/code/TextureResource.cc | 9cbadcc8256ecd353e61146a2bda6a72baed2d9d | [
"MIT"
] | permissive | Destinum/S0009D | c7fac31c8d8f453d5968254eb2644d84ad7e382f | 52d73f774a85da87eb57c34385df8e1ae86b2ec5 | refs/heads/master | 2023-03-19T02:02:15.003932 | 2021-03-16T13:34:34 | 2021-03-16T13:34:34 | 235,766,665 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,338 | cc | #include "Resources.h"
void TextureResource::LoadTexture(const GLchar* filepath, GLuint program)
{
GLuint texture;
glGenTextures(1, &texture);
// load and generate the texture
int width, height, nrChannels;
unsigned char *data = stbi_load(filepath, &width, &height, &nrChannels, 0);
if (data)
{
glBi... | [
"david.hoglund.96@gmail.com"
] | david.hoglund.96@gmail.com |
830f36ff516ce3413f49993c03a6d26a68c1878a | 509850d405b48d10e938c22ec43bdd2a311fafa9 | /parse/parser.hpp | 685321806958a98f39963f4fe4056961e2d6a621 | [] | no_license | shunjizhan/Compiler | 2573ce0e4ca470e372b6b327084ed74bc99e4ede | 7db338b9589f616b9c37750f9c1dd68da5ac240a | refs/heads/master | 2021-01-23T06:45:03.779979 | 2017-03-28T00:36:20 | 2017-03-28T00:36:20 | 86,396,012 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,818 | hpp | /* A Bison parser, made by GNU Bison 3.0.4. */
/* Bison interface for Yacc-like parsers in C
Copyright (C) 1984, 1989-1990, 2000-2015 Free Software Foundation, Inc.
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
t... | [
"shunjizhan@umail.ucsb.edu"
] | shunjizhan@umail.ucsb.edu |
54561019ebf4dc2007384a36965c59ff35abffbc | 73e7c20803be5d8ae467af1feba8a4a7fe219f4b | /Examples/SpatialObjects/MeshSpatialObject.cxx | fa8743a2948d618e6f6c4832f16811271dafb1de | [
"LicenseRef-scancode-other-permissive",
"SMLNJ",
"BSD-3-Clause",
"LicenseRef-scancode-mit-old-style",
"LicenseRef-scancode-free-unknown",
"BSD-4.3TAHOE",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-proprietary-license",
"LicenseRef-scancode-unknown-license-reference",
"IJG",
... | permissive | CIBC-Internal/itk | deaa8aabe3995f3465ec70a46805bd333967ed5b | 6f7b1014a73857115d6da738583492008bea8205 | refs/heads/master | 2021-01-10T18:48:58.502855 | 2018-01-26T21:25:51 | 2018-01-26T21:25:51 | 31,582,564 | 0 | 2 | Apache-2.0 | 2018-05-21T07:59:53 | 2015-03-03T06:12:12 | C++ | UTF-8 | C++ | false | false | 7,999 | cxx | /*=========================================================================
*
* Copyright Insight Software Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* h... | [
"ayla@sci.utah.edu"
] | ayla@sci.utah.edu |
6768f9086467db00abf8e5eabe8a29f6fb706695 | 8c1f1c1f90fc8312b6e02e7232115aa3af26fd90 | /examples/ex07/ex07.cpp | e2a5f4271a53cc01c311abbbfa13dd4aca1be65a | [] | no_license | kagr7595/csci5239 | b672991da149efa16283d1e718bafc9d4ea2458e | d4d703150d56d6fbf250bd036d0e3baf7ad4260e | refs/heads/master | 2020-12-20T02:37:06.175399 | 2020-04-29T10:18:31 | 2020-04-29T10:18:31 | 235,935,022 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 413 | cpp | //
// Ex07: OpenGL 4 Lighting and Textures
// Willem A. (Vlakkies) Schreuder
// CSCI 4239/5239 Spring 2020
//
#include <QApplication>
#include "ex07viewer.h"
//
// Main function
//
int main(int argc, char *argv[])
{
// Create the application
QApplication app(argc,argv);
// Create and show view widget
... | [
"kagr7595@colorado.edu"
] | kagr7595@colorado.edu |
22ac905e6847377d8c98bfff413bfc1fef14a981 | 1836b7990af835359cb3da0f7f6a7dd1fef9864b | /src_cpp/src_pe/main.cpp | 3f5ba0e2502276ff6a1bc6497e5a4350cb79712a | [
"Apache-2.0"
] | permissive | Mixaill/FakePDB | f0c47f2a39431a1cf3ea6810aea84830aec9c24b | 618ea6db68659a3ad304e51bad8ac8dead053a50 | refs/heads/master | 2023-05-11T03:07:59.594527 | 2023-05-02T12:30:08 | 2023-05-02T12:30:08 | 178,629,183 | 482 | 51 | Apache-2.0 | 2023-05-02T12:30:09 | 2019-03-31T01:25:33 | C++ | UTF-8 | C++ | false | false | 1,105 | cpp | /**
Copyright 2019-2021 Mikhail Paulyshka
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 agre... | [
"me@mixaill.tk"
] | me@mixaill.tk |
9041fa9805fc4c62f576e8752ae8ebbcac45d77c | c68f791005359cfec81af712aae0276c70b512b0 | /ACM-ICPC Indonesia National Contest 2017/h_backtrack.cpp | a2a7569583f7752e71f029095b9c26425558b650 | [] | no_license | luqmanarifin/cp | 83b3435ba2fdd7e4a9db33ab47c409adb088eb90 | 08c2d6b6dd8c4eb80278ec34dc64fd4db5878f9f | refs/heads/master | 2022-10-16T14:30:09.683632 | 2022-10-08T20:35:42 | 2022-10-08T20:35:42 | 51,346,488 | 106 | 46 | null | 2017-04-16T11:06:18 | 2016-02-09T04:26:58 | C++ | UTF-8 | C++ | false | false | 1,267 | cpp | // compile misal jadi ./h
// cara make:
// ./h > h.in
#include <bits/stdc++.h>
using namespace std;
const int N = 30;
const int MAX = 200;
int n = 25;
bool vis[N][N];
int sa[MAX], sb[MAX], sc[MAX];
void dfs(int now) {
if (now == 100) {
for (int i = 0; i < now; i++) {
printf("%c%c%c\n", sa[i] + 'A', sb[... | [
"l.arifin.siswanto@gmail.com"
] | l.arifin.siswanto@gmail.com |
0165cf00793bd830ce08003a644c1fd7e358d435 | 1bb34d582ec78fbf8e30f80b8efea85ba2b65d23 | /Term1/Discrete/task.cpp | 25b27e52ae90e4a1ddd12a222efd99c018db425b | [] | no_license | iliayar/ITMO | 41187c292dd5a9f72d62ebe81b5e42c664020bd1 | 6194a511384f6243b7c43c3b6fd2c03a0d089e92 | refs/heads/master | 2023-09-03T06:54:32.742264 | 2023-08-19T17:00:08 | 2023-08-19T17:00:08 | 216,113,996 | 12 | 1 | null | 2023-04-18T13:21:54 | 2019-10-18T22:11:01 | Jupyter Notebook | UTF-8 | C++ | false | false | 810 | cpp | #include <iostream>
#include <string>
#include <algorithm>
#include <vector>
#include <cmath>
#define int long long
#define FILENAME "local"
#ifndef LOCAL
#define FILENAME "brackets"
#endif
using namespace std;
int n;
string s;
void foo(int k, int len) {
if(len == n*2) {
cout <<... | [
"iliayar3@gmail.com"
] | iliayar3@gmail.com |
fc6071f94fc78ddcabf404cf4d91ad9d04146a70 | 3fb16bbf9c833668b4a35599dff538a90bda06c8 | /src/qt/paymentserver.cpp | 172286bb58119678bd95ffdc3143f74b3ec163a9 | [
"MIT"
] | permissive | bayuewalker/sunncoin | eee0f31192aa4b17f19772f089de6b09a458dbe3 | 1051386f539517160f0fcf457f723c241b6282da | refs/heads/master | 2020-03-29T15:29:23.649921 | 2018-09-24T09:53:04 | 2018-09-24T09:53:04 | 150,065,854 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,505 | cpp | // Copyright (c) 2011-2013 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <QApplication>
#include "paymentserver.h"
#include "guiconstants.h"
#include "ui_interface.h"
#include "util.h"
#i... | [
"cbayue@gmail.com"
] | cbayue@gmail.com |
e81ab4bf3e662ca8a855f55e57fa4167cb951c29 | ef846028c6f5b15d27a9f4c81d741ef9081b5899 | /Proj3/Canny.cpp | 9980a4cd864bc03f32dc3814b4946609171e883c | [] | no_license | Hle14/Proj3 | ab60d9b647d2c7d8ade20ac9734d2226fecb0fb0 | 670cc60fb955b999c3c93153f418e0e4881859e4 | refs/heads/master | 2021-01-04T22:39:41.327044 | 2013-10-26T02:29:28 | 2013-10-26T02:29:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,567 | cpp | /*
#include <opencv2\core\core.hpp>
#include <opencv2\highgui\highgui.hpp>
#include <opencv2\nonfree\nonfree.hpp>
#include <opencv2\nonfree\features2d.hpp>
#include <opencv2\features2d\features2d.hpp>
#include <opencv\cv.h>
#include <opencv\highgui.h>
#include <windows.h>
#include <tchar.h>
#include <stdio.h>
#include ... | [
"HansLe518@gmail.com"
] | HansLe518@gmail.com |
0f199a0f624423787a29ee20a1e915d7858e8006 | 1ba433d10c7f058a4d477b5313384973c3d61679 | /TravisBlackJackPreliminaries/TravisBlackJackPreliminaries/TravisBlackJackPreliminaries.cpp | f15686cf7f5ba801b43cb37fabf9eee9acb75aa3 | [] | no_license | teakopp/cplusplusbackup | 46877d63bd8a4b85d0b6829dadcc296ca5cb1756 | cb78ffaab3b0fc29ead28750072ed06f538c13aa | refs/heads/master | 2021-01-19T14:25:36.586052 | 2017-08-21T02:19:39 | 2017-08-21T02:19:39 | 100,903,252 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 476 | cpp | // TravisBlackJackPreliminaries.cpp : main project file.
#include "stdafx.h"
#include "Form1.h"
using namespace TravisBlackJackPreliminaries;
[STAThreadAttribute]
int main(array<System::String ^> ^args)
{
// Enabling Windows XP visual effects before any controls are created
Application::EnableVisualStyl... | [
"tkopp8809@yahoo.com"
] | tkopp8809@yahoo.com |
560630e92debed3025576b6c3ad29fc652a6e953 | 8cf137160b3137b055f0050cfc06b55fec360954 | /data/codes/7/1511348508.cpp | ad5cd673a85ee79aba6817fbbfcd6e1afff728ae | [] | no_license | raihanul-2k15/SnakeOfflineJudge | 2ad9329f50d90620399528f126934722be1490c0 | b1787bb7945335bfc5d32f6420ae575f7c695cb0 | refs/heads/master | 2020-04-27T20:49:37.485794 | 2019-03-09T09:42:01 | 2019-03-09T09:42:01 | 174,672,201 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 126 | cpp | #include <iostream>
using namespace std;
int main(){
int x;
for(int i=0;i<100000000;i++){
x++;
}
return 0;
} | [
"refat0167@gmail.com"
] | refat0167@gmail.com |
e8ab86ad67c4f86328b8aae27d76a17d0d64c511 | ef2906a500ee1a10829c41c42c2f8b4f9df8bbc4 | /Qt/ApplicationComponents/pqProxyGroupMenuManager.cxx | 7a9e8c4fb299b27fe8be6a75993e25c16b4554b8 | [
"LicenseRef-scancode-paraview-1.2"
] | permissive | jeffery-do/ParaView | 9563c399f27ad499147e1da8188559ec46b7e62b | 805ff3e5273ebf7d7920140801c8016d2ae83480 | refs/heads/master | 2021-05-27T20:35:04.000805 | 2010-02-10T20:09:32 | 2010-02-10T20:09:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,992 | cxx | /*=========================================================================
Program: ParaView
Module: $RCSfile$
Copyright (c) 2005,2006 Sandia Corporation, Kitware Inc.
All rights reserved.
ParaView is a free software; you can redistribute it and/or modify it
under the terms of the ParaView lice... | [
"utkarsh.ayachit@kitware.com"
] | utkarsh.ayachit@kitware.com |
e7714b6ff97d50b976fa856f83d7edcbd3c4691d | 4102cadbe83f53d49cc0875535585235a88b5784 | /include/mxg/Clock.hpp | c317d0df5b479b3cb3f92254cb074a71ad1ee15b | [] | no_license | emersonmx/mxg | 2ff6a0de7f2d92c17b4e290315e9b6c7eab65fef | 3c7084a013bed243c14114f68cbf322ce0035964 | refs/heads/master | 2022-05-27T06:38:52.229329 | 2022-03-20T22:38:37 | 2022-03-20T22:38:37 | 61,163,721 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 264 | hpp | #ifndef MXG_CLOCK_HPP_
#define MXG_CLOCK_HPP_
#include <mxg/Time.hpp>
namespace mxg {
class Clock {
public:
Clock();
Time getElapsedTime() const;
Time restart();
private:
Time startTime_;
};
} /* namespace mxg */
#endif /* MXG_CLOCK_HPP_ */
| [
"emersonmx@gmail.com"
] | emersonmx@gmail.com |
408c2c800b33a26ae5b912e8ac324f80eec16da5 | ed997b3a8723cc9e77787c1d868f9300b0097473 | /boost/geometry/extensions/gis/projections/proj/tmerc.hpp | fff3798fd29e35740727a386b3b8cdf2da3e7c99 | [
"BSL-1.0"
] | permissive | juslee/boost-svn | 7ddb99e2046e5153e7cb5680575588a9aa8c79b2 | 6d5a03c1f5ed3e2b23bd0f3ad98d13ff33d4dcbb | refs/heads/master | 2023-04-13T11:00:16.289416 | 2012-11-16T11:14:39 | 2012-11-16T11:14:39 | 6,734,455 | 0 | 0 | BSL-1.0 | 2023-04-03T23:13:08 | 2012-11-17T11:21:17 | C++ | UTF-8 | C++ | false | false | 19,904 | hpp | #ifndef BOOST_GEOMETRY_PROJECTIONS_TMERC_HPP
#define BOOST_GEOMETRY_PROJECTIONS_TMERC_HPP
// Boost.Geometry - extensions-gis-projections (based on PROJ4)
// This file is automatically generated. DO NOT EDIT.
// Copyright (c) 2008-2012 Barend Gehrels, Amsterdam, the Netherlands.
// Use, modification and distribution ... | [
"barendgehrels@b8fc166d-592f-0410-95f2-cb63ce0dd405"
] | barendgehrels@b8fc166d-592f-0410-95f2-cb63ce0dd405 |
ab0293b4b06b962fd9d13c13a30ad8c76f45f3cd | f195b5eecec50103d5732f0a678897f040d1d5b3 | /ditherig/WinRing0.cpp | c76d6ab0a93e3020dfecde9a5c29687693fa43c7 | [
"MIT"
] | permissive | arturpanteleev/ditherig | b70345c5d93cae9ff15d4b4f70e562e09c09180e | 4736e826277d2f693c8b9faa247c01aed1ab8edc | refs/heads/master | 2023-06-15T16:15:59.943769 | 2021-07-04T14:49:23 | 2021-07-04T14:49:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,505 | cpp | #include "stdafx.h"
#include "WinRing0.h"
HMODULE g_hWinRing0;
WinRing0_InitializeOls InitializeOls;
WinRing0_DeinitializeOls DeinitializeOls;
WinRing0_Rdmsr Rdmsr;
WinRing0_Wrmsr Wrmsr;
WinRing0_ReadPciConfigWordEx ReadPciConfigWordEx;
WinRing0_ReadPciConfigDwordEx ReadPciConfigDwordEx;
WinRing0_FindPciDevi... | [
"@"
] | @ |
30f058530a1e770890f1ab723c17ccc1b0e2e363 | a906a70ebf83f7c86a57ac44140e49a547cc1612 | /unitest/src/layer_test.h | 3283fd36b4713129a68a5df4595d7a843c1a4f5e | [] | no_license | wzpfish/NeuralNetwork | 7eff8eb064ef89fb11fc2416191fbdfbd66e8b65 | b913d8c17100711d745b18097053e4b637e90780 | refs/heads/master | 2021-01-16T21:16:28.871891 | 2015-07-27T13:21:57 | 2015-07-27T13:21:57 | 39,775,008 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,807 | h | #include "gtest/gtest.h"
#include "src/HiddenLayer.h"
#include "src/OutputLayer.h"
//#include "src/OutputLayer.h"
#include "src/struct.h"
#include <iostream>
namespace Gtest {
class LayerTest: public ::testing::Test {
public:
HiddenLayer hiddenLayer;
OutputLayer outputLayer;
virtual void Se... | [
"fred@Mac-2.local"
] | fred@Mac-2.local |
35a687b91713156bd9b9ce5ce10a0417ef19504f | 1f6264f43301c8e4973faaea683f0a2e00a85e7b | /Training/src/Hash/Hash.cpp | 228d67b26825f1d6ec53f618fc9a66f194453aa7 | [] | no_license | JorgeD13/POO2_Repaso | 19d5d0bba59d3a6e6023515c008598cefe1a907a | c0f137b90e039c03ecf9fcbb1ee5a3003edea139 | refs/heads/master | 2022-12-24T18:33:49.635050 | 2020-09-20T18:01:20 | 2020-09-20T18:01:20 | 293,910,733 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,011 | cpp | //
// Created by Jorge on 20/08/2020.
//
#include "Hash.h"
Hash::Hash(int n) {
N = n;
M = new list<int>[N];
}
Hash::~Hash() {
delete[] M;
}
int Hash::HashFun(int n) const {
return n % N;
}
void Hash::insert(int n) {
int i = HashFun(n);
M[i].push_back(n);
}
bool Hash::IsIn(int n) {
int ... | [
"jorge.castillo"
] | jorge.castillo |
c3c17fa2dff8cca9ece57b7beb75eaf92e497f45 | 216f5252a8df73f8547d6a6c831409c916bae3e5 | /windows_embedded_compact_2013_2015M09/WINCE800/private/test/BaseOS/Drivers/SDCard/SD/testDLL/reg.cpp | 3078361ac84529ec5a418ed9fb0df22a78f8cac7 | [] | no_license | fanzcsoft/windows_embedded_compact_2013_2015M09 | 845fe834d84d3f0021047bc73d6cf9a75fabb74d | d04b71c517428ed2c73e94caf21a1582b34b18e3 | refs/heads/master | 2022-12-19T02:52:16.222712 | 2020-09-28T20:13:09 | 2020-09-28T20:13:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,348 | cpp | //
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//
// Use of this source code is subject to the terms of the Microsoft shared
// source or premium shared source license agreement under which you licensed
// this source code. If you did not accept the terms of the license agreement,
// you are... | [
"benjamin.barratt@icloud.com"
] | benjamin.barratt@icloud.com |
20c4fc2ebb4cb2149eb8a11322c500a41e67166e | edd8e5c132bd588f3774e0523a0a2b200db12bde | /codeforces/133/B.cpp | e6cc34df3075c0e02d7669bd6658b4a3dcd4c863 | [] | no_license | Mehedi-Hassan/Competitive-Programming | 397efed4962a8943b694fabfe1318a0c62bc4867 | da75dfc133f33b7592a33a47faa60805c7acacb3 | refs/heads/master | 2023-04-08T08:58:13.693616 | 2021-01-16T12:10:00 | 2021-04-19T09:43:55 | 324,949,279 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,246 | cpp | //#pragma GCC optimize("O3,unroll-loops")
//#pragma GCC target("avx,avx2,fma")
#include <algorithm>
#include <bits/stdc++.h>
#include <unordered_map>
#include <unordered_set>
using namespace std;
#define PI acos(-1.0)
#define No cout<<"No\n"
#define Yes cout<<"Yes\n"
#define no ... | [
"mehedirony22@gmail.com"
] | mehedirony22@gmail.com |
6010c0dcf3f560571c2e0be00e6c11162fed556d | 6e3b59d15607630869f518aee24c762d5dd71d06 | /CODES/A_Add_and_Divide.cpp | cfd175b69d850d0a30f1f440a96baa0f07ea8a7e | [] | no_license | Aman-droid/CP_Essentials | c74ffce2c4acc9fa6b0ebc409f9f6e9640f92c91 | 40758de037a4b380bd7d921cd3cd7c4f8fc86be1 | refs/heads/master | 2023-06-05T13:56:29.053495 | 2021-06-29T18:13:14 | 2021-06-29T18:13:14 | 381,141,371 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,186 | cpp | #include<bits/stdc++.h>
#define ll long long
#define endl '\n'
#define rep(i,a,b) for(int i=a;i<=b;i++)
#define pll pair<ll,ll>
#define pii pair<int,int>
#define vpll vector<pll>
#define SZ(x) ((int)x.size())
#define FIO ios_base::sync_with_stdio(0);cin.tie(NULL);cout.tie(NULL)
#define watch(x)cout<<(#x)<<" is "<<(x... | [
"rjaman330@gmail.com"
] | rjaman330@gmail.com |
200bcdce2e34c1e6c671a7998683e609ab41d8b6 | 85039b54bd99f3269911f790c4a47ea95556360a | /C语言编程/example10.6.cpp | b76475dfc69992ea78bb2212989b0bc35c9dbf81 | [] | no_license | MissGrass/c_language | 23508c1c1273c7445b5cf508dc2b1d3c1f3cbf00 | ca29f0e3f8a82a91ab4bbbdcf115e1c3b2303783 | refs/heads/master | 2021-09-20T21:54:08.398490 | 2018-08-15T23:46:47 | 2018-08-15T23:46:47 | 86,134,391 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 386 | cpp | #include<stdio.h>
main()
{
int *p,*q,a[5],b[5],i;
p=&a[0];
q=b;
printf("please input array a:\n");
for(i=0;i<5;i++);
scanf("%d",&a[i]);
printf("please input array b:\n");
for(i=0;i<5;i++)
scanf("%d",&b[i]);
printf("array a is:\n");
for(i=0;i<5;i++)
printf("%5d",*(p+i));
printf("\n");
printf("array b is... | [
"1209784760@qq.com"
] | 1209784760@qq.com |
c2e55b5a1096c2aa489e007a690579cbf0650997 | 53fc45e177bc0327a73c788dcdc0073f4fc089c4 | /src/unittests/circular_buffer_test.cpp | 74d21cfc89ae90807d34362294fd0ba3b7501f09 | [] | no_license | blackjyn/JamTemplateCpp | d9968f04f468c7e6878ec3c386c1381648cceb40 | 97603c4b5a70b152d664b813000ce739770d5d4a | refs/heads/master | 2023-07-10T00:50:41.541868 | 2021-08-24T13:57:20 | 2021-08-24T13:57:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,991 | cpp | #include "circular_buffer.hpp"
#include <cstddef>
#include <gtest/gtest.h>
template <std::size_t size>
using IndexWrapper = jt::detail::IndexWrapper<size>;
class IndexWrapperNoWrapTestFixture : public ::testing::TestWithParam<std::size_t> {
};
TEST_P(IndexWrapperNoWrapTestFixture, EvenSizeNoWrap)
{
auto param = ... | [
"laguna.ws@gmail.com"
] | laguna.ws@gmail.com |
fe2438df76375d8d8ad6b653d746596bc3836f08 | f2dc67885da33718f8c325ae0c7bffd61eb838cb | /project_stackwidget01/confirmation.cpp | f92ff01ae74f37ecaaaff2ff0a299a2607e967de | [] | no_license | mingmonth/qt-sample | 9ec3c200051cf4271f5a03d58cad86d35ba1f75c | b62d6314ba23d326b84274689a0818248951af91 | refs/heads/master | 2020-12-05T05:50:36.108010 | 2020-01-09T09:34:13 | 2020-01-09T09:34:13 | 232,026,496 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 536 | cpp | #include "confirmation.h"
#include "ui_confirmation.h"
Confirmation::Confirmation(QWidget *parent) :
QWidget(parent),
ui(new Ui::Confirmation)
{
ui->setupUi(this);
ui->stackedWidget->insertWidget(1, &homeWidget);
connect(&homeWidget, SIGNAL(Homeclicked()), this, SLOT(moveHome()));
}
Confirmation::... | [
"ys9922@naver.com"
] | ys9922@naver.com |
256c0941f85639d805fbd1a2cb24a8e7b498d636 | 029faa2cbd5c1d289aacb443e44f490b9dc776ab | /3170/3170.cpp | 8ae55638750a0932c8289ce2db325323a550ec41 | [] | no_license | rkgus24/codeup_answer | 85ba0c1c6dcaec32b178cc6981cbfc94928bc2fb | d6a72568db17497d93dee10f1126c7a9c7bb2427 | refs/heads/master | 2023-03-15T21:08:07.616837 | 2021-01-04T01:12:27 | 2021-01-04T01:12:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,132 | cpp | #include <bits/stdc++.h>
using namespace std;
struct quart
{
char str[110];
int num;
} q[100010];
int main()
{
int N, M;
char tstr[110];
int temp = 0;
bool beforeFlag = false;
int pos = 0;
scanf("%d %d", &N, &M);
for (int i = 0; i < N; i++)
{
scanf("%s %d", tstr, &tem... | [
"jangminjun6014@gmail.com"
] | jangminjun6014@gmail.com |
d921ff3fc7259643ac17e9e78e97e3ecc07410af | 050c8a810d34fe125aecae582f9adfd0625356c6 | /multipluLH/main.cpp | 40f03fcf08c85aff6dfad349d73f904362747f84 | [] | no_license | georgerapeanu/c-sources | adff7a268121ae8c314e846726267109ba1c62e6 | af95d3ce726325dcd18b3d94fe99969006b8e138 | refs/heads/master | 2022-12-24T22:57:39.526205 | 2022-12-21T16:05:01 | 2022-12-21T16:05:01 | 144,864,608 | 11 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,069 | cpp | #include <cstdio>
#include <queue>
using namespace std;
FILE *f=fopen("multiplu.in","r");
FILE *g=fopen("multiplu.out","w");
queue <int> Q;
bool rest[2000001];
int div,a,b,r,c,tata[2000001];
bool muchie[2000001];
int afisare(int nr)
{
if(tata[nr]!=0)
afisare(tata[nr]);
fprintf(g,"%d",muchie[nr]);
}
int main... | [
"alexandrurapeanu@yahoo.com"
] | alexandrurapeanu@yahoo.com |
dd9e31abc71c3619bd6c1fbbecc13fcab696e9dd | 0a9a927cf11048e3aaa70b4edc463510a5750a1f | /Matriz2Bits/Matriz2Bits.cpp | 259fae2fc8cdec43b9626fa380d1e52466d5211d | [] | no_license | roma1988/UFG_EMC_PFC_ROBOS_COOPERATIVOS_ | e1c64d2be5b7cf8e2163ff3e84e26310908654b9 | b27eb0b441c00c9fab58a1537ea9a1dd6f3064b9 | refs/heads/master | 2020-05-18T12:54:11.377060 | 2014-06-20T20:41:07 | 2014-06-20T20:41:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,731 | cpp | /*
* MatrizBits.cpp
*
* Created on: 06/11/2013
* Author: Apolo Marton
*/
#include "Matriz2Bits.h"
Matriz2Bits::Matriz2Bits(uint16_t linhas, uint16_t colunas, uint8_t numeroMapa) {
numeroLinhas = linhas;
numeroColunas = colunas;
//Numero de bits por linha
int bitsLinha = (2*numeroColunas);
//Numero d... | [
"roma19881128@hotmail.com"
] | roma19881128@hotmail.com |
e95d05c8e0c0190d6e8b1edd546449a4d775aacb | a1fbf16243026331187b6df903ed4f69e5e8c110 | /cs/sdk/3d_sdk/3dsmax/ver-6.0/samples/manipulators/reactormanip.h | 34c41a7a1df8025a568621d0c1eed9d61692d19c | [
"LicenseRef-scancode-warranty-disclaimer",
"BSD-2-Clause"
] | permissive | OpenXRay/xray-15 | ca0031cf1893616e0c9795c670d5d9f57ca9beff | 1390dfb08ed20997d7e8c95147ea8e8cb71f5e86 | refs/heads/xd_dev | 2023-07-17T23:42:14.693841 | 2021-09-01T23:25:34 | 2021-09-01T23:25:34 | 23,224,089 | 64 | 23 | NOASSERTION | 2019-04-03T17:50:18 | 2014-08-22T12:09:41 | C++ | UTF-8 | C++ | false | false | 4,786 | h | /**********************************************************************
*<
FILE: ReactorManip.h
DESCRIPTION: Manipulators for the Reactor controller.
Includes manipulators for:
Rotation Angles
Rotational Influence
Current Rotation
Position Values
Spherical Influence
Current Pos... | [
"paul-kv@yandex.ru"
] | paul-kv@yandex.ru |
04d516c1e4ad3932da422f26f5505e0a065dd7e4 | 82392ac04a40d83b6d7928aa8fc786e64fe36067 | /cpp/133-clone-graph.cc | 504fba3f4be485bb2dd79d9e06aaaa70d3007441 | [] | no_license | litaoran/leetcode-daily | 09f3e9c8cdd314735099e5e498488cf7c2e401bc | 0b9f584ef98850cfafe6ea623512972db4ac1797 | refs/heads/main | 2023-03-18T19:53:30.583731 | 2021-03-23T05:58:37 | 2021-03-23T05:58:37 | 311,634,378 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,378 | cc | class Solution {
public:
Node* cloneGraph(Node* node) {
if (node == nullptr) {return nullptr;}
unordered_map<Node*, Node*> map;
return dfs(node, map);
}
Node* dfs(Node* node, unordered_map<Node*, Node*>& map) {
if (node == nullptr) { return nullptr;}
... | [
"taoqi612@gmail.com"
] | taoqi612@gmail.com |
f0b14f6ee8e55305ce1217cf6327fa32d20029d2 | 303e341606dbc4c4082d1a5864d5ccffea01d312 | /src/findTheDuplicateNumber/findTheDuplicateNumber.hpp | 31560c0fbe35413cf120ed5cd4b775d99030ff6c | [] | no_license | dominikheinisch/algorithms | 02c39b3600e02537e7071cedd9dd08a2d20df2fb | e10e54ed986e46a2b2b9779e52b6afc236a62222 | refs/heads/master | 2022-07-24T12:04:58.417772 | 2020-05-20T07:59:12 | 2020-05-20T07:59:12 | 254,881,561 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 814 | hpp | #include <cmath>
#include <vector>
class Solution {
public:
int findDuplicate(std::vector<int>& nums) {
int result = -1;
for (unsigned int i=0; i<nums.size(); ++i) {
nums[i] = -nums[i];
}
for (const auto elem : nums) {
std::cout << "[\n";
for (co... | [
"dominikheinisch2@gmail.com"
] | dominikheinisch2@gmail.com |
e5b1193489b08c9bc994c58b9f62f311a7171e96 | e919309f7f96bf0472471959c96cc5fcb21c295d | /Linked List/rotatelinklist.cpp | 8c9a8bad9356dec7c6fc7efba60c73f5cf758f3a | [] | no_license | zaidITpro/CandCplusplusPrograms | 261b8b8193d41f6e21e2ff736f1c67fb32f92ab4 | 9b88a16128c218860f1fc0387824c8323b2766ad | refs/heads/master | 2021-01-02T22:34:09.022348 | 2017-12-02T16:37:40 | 2017-12-02T16:37:40 | 99,341,850 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,085 | cpp | #include <iostream>
#include <bits/stdc++.h>
using namespace std;
struct node
{
int val;
struct node *next;
node(int x)
{
val=x;
next=NULL;
}
};
void print(struct node* head);
node *partition(struct node* A, int B) {
struct node *current=A;
struct node *last1,*last2,*heads=NU... | [
"zaidcool24@gmail.com"
] | zaidcool24@gmail.com |
fbf6acc57f0dbe0008e16520741c74b06b02359b | 004a89424f3bc8fc30f1368454d4c418c26df658 | /Tracking_Software/Tracking_Software.ino | 47f9934eaf50bab0342951db9517621e2d107b92 | [] | no_license | Styfanor/Tracking-Software | 34a5719ceb7daa42be2ccbdf17549e77fbe883df | 7e8f03aef22008a27e3e96e27f5f96b524d7d649 | refs/heads/master | 2021-02-28T01:07:21.786871 | 2020-04-14T13:04:56 | 2020-04-14T13:04:56 | 245,649,956 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,732 | ino | #include <SoftwareSerial.h>
#include <LiquidCrystal_I2C.h>
#include <TinyGPS++.h>
#include <Wire.h>
#include <Adafruit_Sensor.h>
#include <Adafruit_BNO055.h>
#include <utility/imumaths.h>
#include <SPI.h>
#include <SD.h>
/*
History
=======
2020/MAR/06 - First release (Stefan Helm)
*/
#define BNO055_SAMPLER... | [
"stefan.helm.99@icloud.com"
] | stefan.helm.99@icloud.com |
7e9fa7be00c238c504101798799c535ef6e6031a | 41ab6b8bbeb03958c59350ae6da2887a4bf8e144 | /third_party/v8/src/arm64/instrument-arm64.cc | 10d8ee4bc72456d73af41056246ece80b8aad832 | [
"SunPro",
"BSD-3-Clause",
"bzip2-1.0.6",
"Apache-2.0"
] | permissive | ofrobots/no-bazel | 6472b0bb1b3309d8613ee97c6526a3fa46060eab | f7eb147044dc35aac86df8bd9bec2cc55863ce17 | refs/heads/master | 2020-04-07T14:21:40.305137 | 2018-12-08T00:53:07 | 2018-12-08T00:53:07 | 158,443,929 | 4 | 0 | Apache-2.0 | 2018-12-13T01:54:59 | 2018-11-20T19:56:42 | C++ | UTF-8 | C++ | false | false | 18,145 | cc | // Copyright 2013 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/arm64/instrument-arm64.h"
namespace v8 {
namespace internal {
Counter::Counter(const char* name, CounterType type)
: count_(0), enab... | [
"ofrobots@google.com"
] | ofrobots@google.com |
042f66fc6e2dc9c9463ddfb40b4a86e90467aae2 | f0a26ec6b779e86a62deaf3f405b7a83868bc743 | /Engine/Source/Runtime/Core/Private/Internationalization/WordWrapper.cpp | d315f62864165fb466df6f437d0d94a9f3cf5327 | [] | no_license | Tigrouzen/UnrealEngine-4 | 0f15a56176439aef787b29d7c80e13bfe5c89237 | f81fe535e53ac69602bb62c5857bcdd6e9a245ed | refs/heads/master | 2021-01-15T13:29:57.883294 | 2014-03-20T15:12:46 | 2014-03-20T15:12:46 | 18,375,899 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,879 | cpp | // Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
#include "CorePrivate.h"
#include "WordWrapper.h"
FWordWrapper::FWordWrapper(const TCHAR* const InString, const int32 InStringLength, FWrappedLineData* const OutWrappedLineData)
: String(InString)
, StringLength(InStringLength)
, GraphemeBreakIterator(In... | [
"michaellam430@gmail.com"
] | michaellam430@gmail.com |
37863b345f0e2a3caf8bfda31b2541abe8932c5a | f50a4fc5c79d4544eba643d16d2e90cb82267318 | /TINY-02/tiny-02.cpp | 5cf919aed9ba3e7ecff16c0e3bd144273d20f618 | [] | no_license | roflox/PJC | 01f834d696420664b22b6472350048d2b4e9764e | 77c1f464fd4dfab4e9960d21e52d9b01950d4935 | refs/heads/master | 2023-02-22T02:06:56.255634 | 2021-01-25T19:06:02 | 2021-01-25T19:06:02 | 299,229,299 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,397 | cpp | #include "tiny-02.hpp"
#include <set>
#include <regex>
#include <exception>
#include <tuple>
#include <sstream>
#include <iostream>
std::pair<size_t, int*> parse_line(std::string const& line) {
std::stringstream sstr(line);
size_t line_size;
sstr >> line_size;
int* data = new int[line_size];
for (... | [
"wow.brog@gmail.com"
] | wow.brog@gmail.com |
3d2c78f6e4db37c5f72f328d5b9808f0c879103d | c8fcc1acf73585045a5c7213cfb9f90e4c1e809e | /CodeForces/439C.cpp | 5daf4cdeb8c4ba4a365c58d11ea878dba2d69075 | [] | no_license | Jonariguez/ACM_Code | 6db4396b20d0b0aeef30e4d47b51fb5e3ec48e03 | 465a11746d577197772f64aa11209eebd5bfcdd3 | refs/heads/master | 2020-03-24T07:09:53.482953 | 2018-11-19T09:21:33 | 2018-11-19T09:21:33 | 142,554,816 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,698 | cpp | /****************
*PID:439c div2
*Auth:Jonariguez
*****************
*/
#define lson k*2,l,m
#define rson k*2+1,m+1,r
#define rep(i,s,e) for(i=(s);i<=(e);i++)
#define For(j,s,e) For(j=(s);j<(e);j++)
#define sc(x) scanf("%d",&x)
#define In(x) scanf("%I64d",&x)
#define pf(x) printf("%d",x)
#define pfn(x) printf("%d\n",(x)... | [
"921829915@qq.com"
] | 921829915@qq.com |
c39ca4f996b3bf20d9beef5baecc555c0afcbf0b | 7f2a1d62ff56a55e8b0ea1cf93ff2be0e629494b | /Chapter06/examples/6.20/fig06_20.cpp | a8df69106930ecd392d4fe77161a9e3804054937 | [] | no_license | yousirong/Cpp-How-To-Program-9E-master | ffad7f164358dbc30a2298a377dfd46351299e9b | aab924f56281d61d62dab804b0ae3ac7ab07f515 | refs/heads/main | 2023-08-22T22:42:23.976286 | 2021-03-09T11:57:37 | 2021-03-09T11:57:37 | 346,019,565 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 794 | cpp | /*
* =====================================================================================
*
* Filename: fig06_20.cpp
*
* Description: Fig. 6.20: Initializing and using a reference.
*
* Version: 1.0
* Created: 11/04/16 14:10:58
* Revision: none
* Compiler: g++
*
* ... | [
"80014277+yousirong@users.noreply.github.com"
] | 80014277+yousirong@users.noreply.github.com |
2018a0e5fdc9a269fc15d3bcf6cbfae6c4928040 | f00eb3a2ab0857a2c013d080352f8395fa06dcc3 | /A07/exercicio23/stlmatrix.cpp | a3f4d20964351b516cdc924bed2b749b0460b852 | [] | no_license | AthomsG/FC | 9c7c488ead3c2310256e850d8535b49a9ab778c2 | 46081747f4ebf48361d03d88faab58ac1569e101 | refs/heads/master | 2023-07-08T07:35:53.100627 | 2023-06-21T15:05:44 | 2023-06-21T15:05:44 | 272,249,667 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,523 | cpp | #include <iostream>
#include <vector>
#include <numeric>
#include <functional>
using namespace std;
#include "stlmatrix.hpp"
int trace(vector<vector<int>> m)
{
int sum=0;
for(int i=0; i<m.size(); i++)
{
sum+=m[i][i];
}
return sum;
}
vector<int> Mrow(vector<vector<int>> m,int row)
{
return m[row];
}
v... | [
"thomasgaehtgens@Thomass-MacBook-Pro.local"
] | thomasgaehtgens@Thomass-MacBook-Pro.local |
1e138fe29064600222779de00ab8b0e5b77e2d8e | 90c72c1d570691db9c7d2938fc79f91eddf6251a | /Turing Tape.cpp | d6714db22cd0c3d87d230a4617d3a4a6144532df | [] | no_license | kitti42/codes-1 | 74d6e5a663ba9dc5479c09a1a5c4cd23f907f277 | 9960ea6320edb0f722928c79fe93060a39252e0a | refs/heads/master | 2021-01-18T15:48:00.005123 | 2014-03-05T19:45:07 | 2014-03-05T19:45:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,847 | cpp | #include<iostream>
#include<map>
#include<list>
using namespace std;
template<class I, class C=list<I> > class tape
{
public:
typedef I input_type;
private:
C data;
input_type nil;
public:
tape(input_type NIL=input_type())
{
erase();
nil=NIL;
}
tape(const C &DATA,const input_type NIL=inpu... | [
"shobhitsaxena@live.com"
] | shobhitsaxena@live.com |
e7375928d9ece27d5a0c8b8e18ff99e72e4f898d | 0c0088fdb45a5069e1304de9a85162ea713a4558 | /DecomposeForPacking/DecomposeForPacking/Point.h | 645c9d711196eeaafeb45a8545d1b24a844394d1 | [] | no_license | orperel/DecomposeForPacking | cda2ae35efd9b2ade24ec87d7005a7d6caea802d | 7d92e97942835288bf4c00f7adf957a383f99e68 | refs/heads/master | 2021-05-08T16:48:27.561656 | 2015-03-25T23:58:43 | 2015-03-25T23:58:43 | 120,173,070 | 1 | 0 | null | 2018-02-04T09:57:56 | 2018-02-04T09:57:55 | null | UTF-8 | C++ | false | false | 1,731 | h | #pragma once
#include <memory>
#include <vector>
#include <xstddef>
#include <iostream>
class Point;
const int BLACK = 0;
/**
* Point represents place in the space.
* Each point contains X dimension, y dimension and a color.
*/
class Point
{
public:
// Default C'tor
Point();
/*
* C'tor
* @param int - X D... | [
"amitmarcus@gmail.com"
] | amitmarcus@gmail.com |
40c7c0b3553213672f6f8a7a5d9df1280ec7b3e7 | 560090526e32e009e2e9331e8a2b4f1e7861a5e8 | /Compiled/blaze-3.2/blazemark/src/flens/Mat3Mat3Add.cpp | 5259eb8034ff1cde265a1ba5707c597e105819cf | [
"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 | 4,561 | cpp | //=================================================================================================
/*!
// \file src/flens/Mat3Mat3Add.cpp
// \brief Source file for the FLENS 3D matrix/matrix addition kernel
//
// Copyright (C) 2012-2017 Klaus Iglberger - All Rights Reserved
//
// This file is part of the Blaze lib... | [
"jonathan.doucette@alumni.ubc.ca"
] | jonathan.doucette@alumni.ubc.ca |
c8a8d2b818c159d8cca9586c79454d980482e964 | 3fced87523d1111f3bb452949e1eeefe75a5e574 | /algorithms_course_one/programming_6/src/test_multi_map.cpp | 3122faee27a93b7bca263d7b77e67eff36d76beb | [] | no_license | wyqsnddd/courseWork | 2e6ee56696801dfdf6255c0200191b59d6896084 | 2f3467eb5542995eda9c5a7fb1c5af66be776885 | refs/heads/master | 2021-01-19T08:34:05.664206 | 2015-12-01T15:54:21 | 2015-12-01T15:54:21 | 42,888,292 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,546 | cpp | # include <iostream>
# include <fstream>
# include <sstream>
# include <map>
// I could play with the different data types
// typedef long long sampleType;
// Using "int" or "long" may truncate the values read from the file.
// typedef double sampleType;
// typedef int sampleType;
typedef long sampleType;
void re... | [
"wyqsnddd@gmail.com"
] | wyqsnddd@gmail.com |
2850eba74a0c8c3ed193eae2be98dfe761b82a55 | 7579d827cb7b50b438dfd9ef6fa80ba2797848c9 | /sources/proland/sources/core/proland/terrain/DrawTerrainTask.h | 46855516bee0fc5ff73d12876c34e929820ecc1b | [] | no_license | roche-emmanuel/sgt | 809d00b056e36b7799bbb438b8099e3036377377 | ee3a550f6172c7d14179d9d171e0124306495e45 | refs/heads/master | 2021-05-01T12:51:39.983104 | 2014-09-08T03:35:15 | 2014-09-08T03:35:15 | 79,538,908 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,663 | h | // Common precompile header
#include "proland_common.h"
/*
* Proland: a procedural landscape rendering library.
* Copyright (c) 2008-2011 INRIA
*
* 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 Found... | [
"roche.emmanuel@gmail.com"
] | roche.emmanuel@gmail.com |
36e6bc859f61d3b4c4989af654221efe94869461 | a406589d83d2445b9a5c1e642f658ea3a57a42b4 | /source/Library.Desktop/XmlTableParser.cpp | 64eefc93ef674d29dc37a9e3a127303be243fb92 | [] | no_license | ash9991win/FieaGameEngine | 05d3f3e5ae7588f9496d62239a14bf16a7e173c4 | 1cdc6075f8ce313d4e45088e8e2f4f2bdc2dd0d0 | refs/heads/master | 2021-01-18T21:15:11.958190 | 2016-05-17T19:45:50 | 2016-05-17T19:45:50 | 55,779,118 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,058 | cpp | #include "pch.h"
#include "XmlTableParser.h"
namespace Library
{
RTTI_DEFINITIONS(XmlTableParser::SharedData)
XmlTableParser::SharedData::SharedData(Scope& scope)
:CurrentScope(&scope)
{
}
void XmlTableParser::SharedData::Reset()
{
XmlParseMaster::SharedData::Reset();
CurrentScope->Clear();
}
XmlTabl... | [
"ash9991win@gmail.com"
] | ash9991win@gmail.com |
1c753f5749a06e0e49c18a6a204a1486ad7c5942 | e3574b0570d53c333a8e0e7fec76e97bcfb2af27 | /EventHub.cpp | 42f0f9a916661652ee26af62aa13963b3cfbe1c8 | [] | no_license | shizhongNice/eventhub-linux | 29d0265652bb0f1f09ac1b0c096175a4908a3adf | 5c60b87a3795f71673c57b15fe55fa11a61c2be5 | refs/heads/main | 2022-12-25T12:39:52.653826 | 2020-09-29T07:04:35 | 2020-09-29T07:04:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,126 | cpp | #include "EventHubInner.h"
#include "EventHub.h"
#include "debug.h"
#include <string.h>
#include <unistd.h>
//检测空指针
#define CHECK_NULL_PTR(p) \
do{ \
if(p == NULL) \
{ return HL_ERR_EVTHUB_NULL_PTR; } \
}while(0)
//检测是否初始化
#define CHECK_EVENTHUB_INIT() \
do{ \
if(isInit() == HL_FA... | [
"nieshizhong@hualaikeji.com"
] | nieshizhong@hualaikeji.com |
edb4649e8941c21b6ae00007b6107cf793bb29a4 | 01ee48559601e63974d4a374b91ecee646967285 | /src/mySSD.cc | 1116020df58173a5782a183f8ef522322da3a1a8 | [] | no_license | fengjunpku/simu_ciae13c | f18fc4e7bc33f498f1ed06a0f690ac032c8a6a97 | 08d1687712f879e68b3df59534bfa8a2e45287d4 | refs/heads/master | 2021-01-17T08:12:48.869110 | 2017-02-28T10:57:21 | 2017-02-28T10:57:21 | 60,020,646 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,553 | cc | #include "mySSD.hh"
mySSD::mySSD(G4String detName,G4int numVStrips,G4int numHStrips,G4double width,G4double heigh) : G4VSensitiveDetector(detName), hitsCollection(0), collectionID(-1)
{
G4String name_col = detName+"_collection";
collectionName.insert(name_col);
_numVS = numVStrips;
_numHS = numHStrips;
_widt... | [
"fengjun2013@pku.edu.cn"
] | fengjun2013@pku.edu.cn |
49f8d05ed46e302761ef5b97f2eedebc1f72ecbb | 4cd2487ce7ffe589d4f2aee87a4ceb09e511b93b | /watson/blackboard/WEXIntent.cpp | 8779acad36dbb41ce197b52e91256f5daa18e476 | [] | no_license | watson-intu/self-plugins | fbe903c44fb960355e215c6ed3b652c9d1d66f5d | 69d3bd66004b7c809c83e553738474022e7cdcf9 | refs/heads/develop | 2021-01-20T12:50:10.275202 | 2017-09-16T06:16:32 | 2017-09-16T06:16:32 | 90,413,803 | 2 | 7 | null | 2017-09-16T06:16:33 | 2017-05-05T20:28:20 | C++ | UTF-8 | C++ | false | false | 1,385 | cpp | /**
* Copyright 2017 IBM Corp. 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 o... | [
"rolyle@us.ibm.com"
] | rolyle@us.ibm.com |
b9b0dd670fde510a1b841da4afdd88307a4e0b11 | 14248aaedfa5f77c7fc5dd8c3741604fb987de5c | /leetcode/P0408.cpp | 10672e32f910668bc4296cb584e2a86f2dca7167 | [] | no_license | atubo/online-judge | fc51012465a1bd07561b921f5c7d064e336a4cd2 | 8774f6c608bb209a1ebbb721d6bbfdb5c1d1ce9b | refs/heads/master | 2021-11-22T19:48:14.279016 | 2021-08-29T23:16:16 | 2021-08-29T23:16:16 | 13,290,232 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,184 | cpp | // https://leetcode.com/problems/valid-word-abbreviation/
// 408. Valid Word Abbreviation
#include <bits/stdc++.h>
using namespace std;
#include "../utils/BinaryTree.h"
#include "../utils/Graph.h"
#include "../utils/LinkedList.h"
#include "../utils/Util.h"
class Solution {
public:
bool validWordAbbreviation(strin... | [
"err722@yahoo.com"
] | err722@yahoo.com |
9eae2b38b2aff4ccc240785541b7612ac0fb7b7f | 161eb9f445a4221cfafbf51f045d50903c95118b | /c語言/陣列/8-7.cpp | 3cae40442db95480fb027874643945a95e30ba98 | [] | no_license | tsian077/c | d199f5ec4badb168d5ccf21d737aae7754178c5b | b802861effce61d0592a121b8f71ed25cf6497b6 | refs/heads/master | 2020-03-14T12:00:17.285707 | 2018-04-30T13:47:37 | 2018-04-30T13:47:37 | 97,822,966 | 0 | 0 | null | null | null | null | BIG5 | C++ | false | false | 405 | cpp | #include<stdio.h>
#include<stdlib.h>
int main ()
{
int num[2][3];
int i,j;
for (i=0;i<3;i++){
for (j=0;j<2;j++){
printf("請輸入num[%d][%d]:",i,j);
scanf("%d",&num[i][j]);
}
}
printf("\n印出陣列num的所有元素\n");
for(i=0;i<3;i++)
{
for(j=0;j<2;j++)
{
printf("num[%d][%d]=%d\n", i, j,num[... | [
"tsian077@gmail.com"
] | tsian077@gmail.com |
aa02742a842608efa4998605e3becc2007eebc77 | 2b2fcec614bee79a4a3670ca89f940dc8032ad02 | /GameEngine/DrawObject_call.cpp | 2dadd238e97728d11c2d66d76a6fca52f07a42ee | [] | no_license | Remoh210/Graphics2_Exam | 26f14a43bf8d45969d21665d8dcd9c38a8973b09 | 9f525231338c3353539e11de01074b66d5c2f839 | refs/heads/master | 2020-04-25T01:56:42.686387 | 2019-02-26T00:34:25 | 2019-02-26T00:34:25 | 172,423,248 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,644 | cpp | //DrawOjbect_calls.cpp
#include "globalOpenGLStuff.h" // For GLFW and glad (OpenGL calls)
#include "globalStuff.h"
#include <glm/glm.hpp>
#include <glm/vec3.hpp> // glm::vec3
#include <glm/vec4.hpp> // glm::vec4
#include <glm/mat4x4.hpp> // glm::mat4
#include <glm/gtc/matrix_transform.hpp> // glm::translate, glm::rot... | [
"bondarenkobogdankiev@gmail.com"
] | bondarenkobogdankiev@gmail.com |
b3319d801f68ea2722417a5f9d6bd3bbd5c8e0b6 | 1b322de085c49999a11366ee73ea6a85a148d442 | /src/partitioner.cpp | 8756785826ad5c8e0802afd6f8726ab2ddf2c618 | [] | no_license | foooo815/FM-Partitioner | 6a06e50ee49aeb69b7cd4375a547fd22f949cb07 | 3631831ce0b1af696b5b47c5668e30c397efc46c | refs/heads/master | 2022-05-17T11:58:34.036596 | 2017-05-09T02:59:44 | 2017-05-09T02:59:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,386 | cpp | /****************************************************************************
FileName [ partitioner.cpp ]
Synopsis [ Implementation of the F-M two way partitioner. ]
Author [ Fu-Yu Chuang ]
Date [ 2017.3.30 ]
****************************************************************************/
#include <iost... | [
"b02901018@ntu.edu.tw"
] | b02901018@ntu.edu.tw |
3c236b517b74ebebcb3fab61fa127e7398ca842a | 5cd1db0c2dec54587d7c3c954b4fa1a9398ded7f | /src/sresp32Sequencer.h | d4f68406bef9d438b4df4a82e95cc4df9bfca6b7 | [] | no_license | Capsmaldon/SRESP32 | d28d69e223367cd0d1d02e6698652e7511408681 | 5cf7c7d7ec6bffe5da3cbfa973b6cf41876253e9 | refs/heads/main | 2023-03-27T05:38:53.561501 | 2021-03-28T17:35:50 | 2021-03-28T17:35:50 | 333,540,654 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 387 | h | #ifndef SRESP_32_SEQUENCER_H
#define SRESP_32_SEQUENCER_H
#include "Sresp32Model.h"
class Sresp32Sequencer
{
public:
Sresp32Sequencer(Sresp32Model &model);
bool tick();
private:
Sresp32Model &model;
unsigned long time = 0;
void updateCounter();
int stepCounter = 0;
int stepNum ... | [
"capsmaldon@gmail.com"
] | capsmaldon@gmail.com |
1db3373901e865799fa21776c5b397bde0cdf485 | 614582f420c4e5727133991e60dc1bbbeeda080f | /mf/matrix/op/crossprod.h | 81200e6a455d7058a1455d27903d1374d1807a20 | [
"BSL-1.0",
"Apache-2.0"
] | permissive | Hui-Li/DSGDPP | dd667c5d17fd09cf1b3173ad0acb1241b9bc6d43 | 0ce5b115bfbed81cee1c39fbfa4a8f67a5e1b72e | refs/heads/master | 2021-03-19T16:19:54.541256 | 2017-07-27T12:19:57 | 2017-07-27T12:19:57 | 93,245,684 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,544 | h | // Copyright 2017 Rainer Gemulla
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applica... | [
"chteflio@mpi-inf.mpg.de"
] | chteflio@mpi-inf.mpg.de |
dd2726ee39d79349b8d5174a0cd5d733ee3b0c8a | fbd8c56e8e449f7ac80b5156e80c15c14cb34b12 | /LightOJ/LOJ_AC/1134 - Be Efficient.cpp | a79419b85fa563f430e135401f11bf10c63e232d | [
"MIT"
] | permissive | Saikat-S/acm-problems-solutions | 558374a534f4f4aa2bf3bea889c1d5c5a536cf59 | 921c0f3e508e1ee8cd14be867587952d5f67bbb9 | refs/heads/master | 2021-08-03T02:27:21.019914 | 2021-07-27T06:18:28 | 2021-07-27T06:18:28 | 132,938,151 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,605 | cpp | /***************************************************
* Problem Name : 1134 - Be Efficient.cpp
* Problem Link : http://lightoj.com/volume_showproblem.php?problem=1134
* OJ : LOJ
* Verdict : AC
* Date : 2019-07-09
* Problem Type : DP(*)
* Author Name : Saikat Sharma
* University : CSE, M... | [
"saikatsharma4@gmail.com"
] | saikatsharma4@gmail.com |
b2c4f60318c616cba1a7f6c3451bc9a71b704611 | 6187542175588a9939609532c4fc527733ac8676 | /CriticalSections.h | 0ee0e4137326f3be8aef58987c75423c32fd0324 | [] | no_license | asdfusers/Common | f59d16c18180800fd0bddcc4a6c7982aabd9253e | 884618382578cc6806e6948b5f7d862179308c45 | refs/heads/master | 2020-03-18T23:42:16.139870 | 2018-06-29T09:24:01 | 2018-06-29T09:24:01 | 135,421,140 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 346 | h | #pragma once
#include "stdafx.h"
namespace CS
{
class CriticalSection
{
private:
CRITICAL_SECTION m_CS;
public:
CriticalSection() { InitializeCriticalSection(&m_CS); }
virtual ~CriticalSection() { DeleteCriticalSection(&m_CS); }
void enter() { EnterCriticalSection(&m_CS); }
void leave() { LeaveCritical... | [
"asdfusers@hanmail.net"
] | asdfusers@hanmail.net |
3a0fdb81b00e8fbafe236bac25c5227ea90d5be7 | 04db4d7398ded926f7ca52b4cc90a52a7f2ad146 | /Chain.h | 83f3b36d4f1446df89763be343fd4ecdedc0c75d | [] | no_license | ekimlin/Constructors | 0432c62553198653f43b3693b4ea63095cb43bc4 | 47089fc1fadddc7f104e6ca31db56017ea8a6c8e | refs/heads/master | 2016-08-11T08:22:18.893729 | 2016-03-29T14:58:53 | 2016-03-29T14:58:53 | 54,985,045 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,802 | h | /************************************************************************************
Title: Chain.h
Author: Emma Kimlin
Created on: February 6th, 2016
Description: This class holds a series of items in a "chain", with each item seperated by a space. The user can output the items in the chain as a whole, and find t... | [
"emmakimlin@Emmas-MacBook.local"
] | emmakimlin@Emmas-MacBook.local |
e6362f7be2458984fb3c8f33d835c183ddc9dd08 | 1a9df829cfba53d1032a4e4fd60f40e998af2924 | /predict.cpp | ba9353abaf4dcdb0adcab29fa19c69b0569c3204 | [] | no_license | X4vier/MC-AIXI-CTW | bf30c2610ed5435e4ba741e6daa741c8176a3789 | ea2e98e95352166f8d707a200e67fb0e30690376 | refs/heads/master | 2020-04-04T15:41:17.541126 | 2018-11-04T04:17:40 | 2018-11-04T04:17:40 | 156,047,993 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,973 | cpp | #include "predict.hpp"
#include <cassert>
#include <ctime>
#include <cmath>
#include "util.hpp"
#include <iostream>
long long CTNode::stat_new;
long long CTNode::stat_del;
CTNode::CTNode(void) :
m_log_prob_est(0.0),
m_log_prob_weighted(0.0)
{
++stat_new;
m_count[0] = 0;
m_count[1] = 0;
m_child[0] = NULL;
m_chi... | [
"xavier.orourke@gmail.com"
] | xavier.orourke@gmail.com |
4741b7f23b09c6b1c669bb308d7f9552ed464a5a | cecfda84e25466259d3ef091953c3ac7b44dc1fc | /UVa Online Judge/volume004/488 Triangle Wave/program.cpp | 9d86d4d0f7a435168e65149452e765670a8bcac1 | [] | no_license | metaphysis/Code | 8e3c3610484a8b5ca0bb116bc499a064dda55966 | d144f4026872aae45b38562457464497728ae0d6 | refs/heads/master | 2023-07-26T12:44:21.932839 | 2023-07-12T13:39:41 | 2023-07-12T13:39:41 | 53,327,611 | 231 | 57 | null | null | null | null | UTF-8 | C++ | false | false | 891 | cpp | // Triangle Wave
// UVa ID: 488
// Verdict: Accepted
// Submission Date: 2016-07-12
// UVa Run Time: 0.020s
//
// 版权所有(C)2016,邱秋。metaphysis # yeah dot net
#include <bits/stdc++.h>
using namespace std;
int main(int argc, char *argv[])
{
ios::sync_with_stdio(false);
int amplitude, frequency, cases;
cin >>... | [
"metaphysis@yeah.net"
] | metaphysis@yeah.net |
fb401230522c159ac0b41b17f1a29077083596b1 | 0f479c27f6c4e4c4991cf572edc31a6a6ff73647 | /brian_handwriting/brian_handwriting/grapheme.h | a1ccd74f9a70f9778d1602fa899ec58e0ced9d87 | [] | no_license | codender/intel_index | 6e77168311043925f3eab7ece9c302405e4873e6 | 0b6d91b1e3f88e13cf19bc828fa538be600794b5 | refs/heads/master | 2021-12-15T02:10:18.930976 | 2017-07-17T22:37:50 | 2017-07-17T22:37:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 658 | h | #ifndef GRAPHEME_H
#define GRAPHEME_H
#include "opencv2/core/core.hpp"
using namespace cv;
class Grapheme
{
public:
Grapheme(Mat graphemes, int id);
const Mat* img()const {return &graphemes;}
int imgId()const {return id;}
int maxX()const {return rightX;}
int minX()const {return leftX;}
int ma... | [
"herobd@gmail.com"
] | herobd@gmail.com |
ea446ae5c62fe9485cbfab0a2a150c656b67f6e8 | 98aa232d43cb8601bba29a0f0db9193946cb934a | /Client/Client/MessageProtocol.h | 8ca065d84072354ad490160ef49963a96a2b996d | [] | no_license | Veronika-Kot/INFO6016_project1 | e6975dd9d167434fda6de50198dcad7cbef4b781 | 92f157a3f6730c8b4136c6d1fdce71764eb1e268 | refs/heads/master | 2020-04-01T05:50:40.629131 | 2018-11-09T05:28:42 | 2018-11-09T05:28:42 | 152,922,050 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 856 | h | // MessageProtocol.h
//
// Purpouse: Describes the ruls server and client side comunicate
// author: Veronika Kotckovich
#ifndef MessageProtocol_HG_
#define MessageProtocol_HG_
#include <string>
#include "Buffer.h"
struct Body{
std::string roomName;
std::string message;
std::string name;
};
struct Header {
si... | [
"shuichi4@gmail.com"
] | shuichi4@gmail.com |
5783c1e5d0c25485240c4fb69a033d110e0bfc3b | 97c15db03973459cfe9350094b6f9600bd29fb3d | /cugl/lib/2d/CULabel.cpp | 14e005109def98edeb29d6d31ac0188cda105d72 | [] | no_license | anagavalli/TheThirdLaw | fdda6c24402c48b7ecea0259678f20b395511c0a | 8e52f45302f661898261a99859b5afb6e39e05ac | refs/heads/master | 2023-06-18T14:51:50.856415 | 2021-07-23T21:18:10 | 2021-07-23T21:18:10 | 388,267,102 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,492 | cpp | //
// CULabel.cpp
// Cornell University Game Library (CUGL)
//
// This module provides a scene graph node that displays a single line of text.
// We have moved multiline text support to a separate class (which has not
// yet been implemented).
//
// This class uses our standard shared-pointer architecture.
//
// ... | [
"arnesh.nagavalli46@gmail.com"
] | arnesh.nagavalli46@gmail.com |
9108b9a3d4a6a3de414f0f8565c33790aa7ef064 | 1d8e5012eed9291bd391c558270faff3db82c168 | /Vjudge/Contest2/F - Come and Go /main.cpp | 56b15a8844ac093ef0c383ca958f59c807ee41d8 | [] | no_license | garfiaslopez/competitive_programming | ce61425e30c66825e2ab228d1b8dd0fccdb0c821 | d48a0814f24d7f3e5872169851ab3698ad4c5014 | refs/heads/master | 2021-07-06T10:48:49.575598 | 2021-01-14T02:46:07 | 2021-01-14T02:46:07 | 218,636,672 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,741 | cpp | // compile & run: g++ main.cpp -o main && ./main < input.txt > out.txt
// Problem Url:
//
#include<iostream>
#include <list>
using namespace std;
class Graph {
int V;
list<int> *adj;
bool dfs(int v, bool visited[], int parent);
public:
Graph(int V);
void addEdge(int v, int w, int p... | [
"garfiaslopez@hotmail.com"
] | garfiaslopez@hotmail.com |
2b5f07e2a38a1712505e72518d1f8308473b2899 | 2a3327090b5827982a82c86a653d17382dd4e006 | /CHARMS/ref/famuls/field.h | 47f614b223db0bbefd913a51d807294f32a41fec | [] | no_license | kengwit/misc | 85e7e0aa1366258f246d5a98cae4ee6b19f3bff5 | ca3a8cb6453f3a3fc37bcaf084627fb7cd2fbbc6 | refs/heads/master | 2020-04-01T03:21:53.407225 | 2019-10-31T01:36:45 | 2019-10-31T01:36:45 | 152,818,972 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,425 | h | /*--------------------------------------------------------------------------
-- --
-- (F)ramework for (A)daptive (MUL)tiphysics (S)imulations --
-- Copyright (C) 2001, Petr Krysl (pkrysl@ucsd.edu). --
-- ... | [
"kengwit@gmail.com"
] | kengwit@gmail.com |
9a38eae01664a4dc66ce78ae7618978b2937718d | 26855329ed5efa3308cb2a18e32f55769da02609 | /funPieceListLog.cpp | 87a7082824b7f96f1e78c696c03e2a3b5dfd833c | [] | no_license | nehagup/PeakSegFPOP | 64aaed9708a108cb461fbc3a4f38da7fdfadf0a7 | 62f59840639937d9d2d1474244e85a552e7bb282 | refs/heads/master | 2020-12-30T22:57:25.799829 | 2016-11-01T21:04:48 | 2016-11-01T21:04:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 43,127 | cpp | /* -*- compile-command: "R CMD INSTALL .." -*- */
#include "funPieceListLog.h"
#include <list>
#include <math.h>
#include <stdio.h>
#define NEWTON_EPSILON 1e-12
#define NEWTON_STEPS 100
#define ABS(x) ((x)<0 ? -(x) : (x))
PoissonLossPieceLog::PoissonLossPieceLog
(double li, double lo, double co, double m, double M,... | [
"tdhock5@gmail.com"
] | tdhock5@gmail.com |
d54dafa4df0bcf2f6bf26a57fba5d26d79d689f9 | 440f814f122cfec91152f7889f1f72e2865686ce | /src/game_server/server/extension/python/python_actor_manager.h | de6d17cafd0018ba0265085a97f9f36514970a2f | [] | no_license | hackerlank/buzz-server | af329efc839634d19686be2fbeb700b6562493b9 | f76de1d9718b31c95c0627fd728aba89c641eb1c | refs/heads/master | 2020-06-12T11:56:06.469620 | 2015-12-05T08:03:25 | 2015-12-05T08:03:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,164 | h | //
// Summary: buzz source code.
//
// Author: Tony.
// Email: tonyjobmails@gmail.com.
// Last modify: 2013-04-27 15:22:30.
// File name: python_actor_manager.h
//
// Description:
// Define class PythonActorManager.
//
#ifndef __GAME__SERVER__PYTHON__PYTHON__ACTOR__MANAGER__H
#define __GAME__SERVER__PYTHON__PYTHON__AC... | [
"251729465@qq.com"
] | 251729465@qq.com |
fffb685d1206458f4d22938dca62f15822117dd4 | 5b885600120e8ea9ccf945f6465ce5928d7fa55f | /src/qisis/objs/CubeViewport/CubeViewport.h | 5aabd0e4c84e9ed3e4d844e156e3238cdef565d0 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | permissive | hassanjallow/isis3 | b2f2156a104ded38f7b3867f18b35a759d8987db | 712187cfbcdc6093b7b45b4ef0b4eb87dc09a7de | refs/heads/master | 2021-05-27T16:44:07.006539 | 2010-03-19T16:47:37 | 2010-03-19T16:47:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,500 | h | #ifndef CubeViewport_h
#define CubeViewport_h
/**
* @file
* $Date: 2009/10/23 19:16:12 $
* $Revision: 1.21 $
*
* Unless noted otherwise, the portions of Isis written by the USGS are public
* domain. See individual third-party library and package descriptions for
* intellectual property information,user ag... | [
"mike@fluffypenguin.org"
] | mike@fluffypenguin.org |
630b97a6fc028c02f2f72a8baf75d0f072c3e535 | a46d6555c4d25393c6a95513a83eee4f80e3616a | /shim/ContextDestructionObserver.h | acea92f9ee3e523df100695bbbe95e851020edb3 | [] | no_license | cambiata/LabSoundTouch | ae157cd3e0fdf9bc5ddac268f2c549dc3d4caffc | 09f25d82489c82719799fdb0c2f869edabe66cfe | refs/heads/master | 2020-12-24T20:01:25.052433 | 2013-10-28T17:56:38 | 2013-10-28T17:56:38 | 31,055,288 | 1 | 0 | null | 2015-02-20T07:40:01 | 2015-02-20T07:40:00 | null | UTF-8 | C++ | false | false | 519 | h |
#pragma once
namespace WebCore {
class ScriptExecutionContext { public: };
class ContextDestructionObserver {
public:
explicit ContextDestructionObserver(ScriptExecutionContext*) { }
virtual void contextDestroyed() { }
ScriptExecutionContext* scriptExecutionContext() const { return m_scriptExecutionCon... | [
"fduhem@gmail.com"
] | fduhem@gmail.com |
880273a4d01289a7627c891c96600db40723dd30 | f4f64ef9792bf83b09ed1348603045067540f2df | /Oculus OVR PosRotWrapper.cpp | 85ac22783eb2396df6d48f7b949059d3f1f07e04 | [] | no_license | FeepingCreature/OculusOVR_PosRotWrapper | 5a5fcd816d6926d8372701d993d1e2ed9d649c1f | 2bcd0bc9c05c68b1633ea5e584f730280734fcfb | refs/heads/master | 2021-01-13T01:49:33.508795 | 2014-09-18T19:47:57 | 2014-09-18T19:47:57 | 23,886,857 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,349 | cpp | // This is the main DLL file.
#include "Oculus OVR PosRotWrapper.h"
using namespace OculusOVRPosRotWrapper;
OVRWrapper::OVRWrapper() {
ovr_Initialize();
hmd = ovrHmd_Create(0);
}
OVRWrapper::~OVRWrapper() {
ovrHmd_Destroy(hmd);
ovr_Shutdown();
}
void OVRWrapper::startSensor() {
ovrHmd_Configu... | [
"feepingcreature@gmail.com"
] | feepingcreature@gmail.com |
51098566a3fb8e97cd2e48d92c80f6ebbb835791 | 290b4c7ca63a975b38e55018cc38bd2766e14639 | /ORC_app/jni-build/jni/genfiles/tensorflow/core/framework/function.pb.h | 6fec2c0ca916fafa1dc00be9fbf0c8b29f97a583 | [
"MIT"
] | permissive | luoabd/EMNIST-ORC | 1233c373abcc3ed237c2ec86491b29c0b9223894 | 8c2d633a9b4d5214e908550812f6a2489ba9eb72 | refs/heads/master | 2022-12-27T14:03:55.046933 | 2020-01-16T15:20:04 | 2020-01-16T15:20:04 | 234,325,497 | 0 | 1 | MIT | 2022-12-11T13:32:42 | 2020-01-16T13:25:23 | C++ | UTF-8 | C++ | false | true | 36,778 | h | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: tensorflow/core/framework/function.proto
#ifndef PROTOBUF_tensorflow_2fcore_2fframework_2ffunction_2eproto__INCLUDED
#define PROTOBUF_tensorflow_2fcore_2fframework_2ffunction_2eproto__INCLUDED
#include <string>
#include <google/protobuf/stubs/com... | [
"abdellah.lahnaoui@gmail.com"
] | abdellah.lahnaoui@gmail.com |
789927d3b309c86457175ec760510f600c458e59 | 9ee6a4981b576d355082f4ef2ddd55227dd8b58d | /database_l/src/yield_platform/file.cpp | 2e9dc320ed81064cf984c69ee33f51d1956503d0 | [] | no_license | MagnusTiberius/WalkerRoad | 714814e0c3afbf49e0707b7a75fe4f692f93f16c | 02a7c98f5dbb8a2db108ae6307f1d527958be3f4 | refs/heads/master | 2021-01-10T17:03:56.016534 | 2016-03-06T16:08:23 | 2016-03-06T16:09:54 | 50,825,290 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,423 | cpp | // Copyright 2003-2009 Minor Gordon, with original implementations and ideas contributed by Felix Hupfeld.
// This source comes from the Yield project. It is licensed under the GPLv2 (see COPYING for terms and conditions).
#include "yield/platform/file.h"
#include "yield/platform/path.h"
#include "yield/platform/stat.... | [
"bgonzales20001@gmail.com"
] | bgonzales20001@gmail.com |
c2a162fb85b613f212f319a4ca243d0db985930f | 686ce4c5def8a606c5d9d5779ed3bdebfe70997f | /mediatek/platform/mt6572/hardware/mtkcam/inc/imageio/ispio_stddef.h | 9631ed4e0c0ae686fbee194800ec48ae2d2b9c7b | [] | no_license | cerg2010cerg2010/android_kernel_highscreen_ZeraF | 34d143b4f1b65cdab8219a5b5030fe396f055934 | e2d9fbdc6258b3d04405555d4e6fc197d0acdec2 | refs/heads/master | 2021-01-13T05:29:48.046302 | 2017-09-24T19:26:57 | 2017-09-24T19:26:57 | 86,619,145 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27,035 | h | /********************************************************************************************
* LEGAL DISCLAIMER
*
* (Header of MediaTek Software/Firmware Release or Documentation)
*
* BY OPENING OR USING THIS FILE, BUYER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES
* THAT THE SOFTWARE/FIRMWARE AN... | [
"cerg2010cerg2010@users.noreply.github.com"
] | cerg2010cerg2010@users.noreply.github.com |
dca15f43901911aac9aadff567fbc3faad600819 | 169f74aae40e9ee2609ee5473c1c3629dd067a97 | /TextOutputHandler.cpp | 50e34bb0f08b0841720d4b1f932c192d5e8d92bb | [] | no_license | piokra/screaming-jazz | cd1e26f65faa6188b85aee080fd0209c6cd5dd76 | 521c222389bc85e54e40e7853e8090a10f3e6f26 | refs/heads/master | 2020-12-31T06:32:38.791812 | 2016-05-29T21:03:06 | 2016-05-29T21:03:06 | 57,757,890 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 979 | cpp | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/*
* File: TextOutputHandler.cpp
* Author: Pan Piotr
*
* Created on 08 May 2016, 11:38
*/
#include <Poco/Net/HTTPMessage.h>
... | [
"piotrkrasun@gmail.com"
] | piotrkrasun@gmail.com |
b0dd4e2dfa7fd6c33c860ecaab2cc55854f7557f | e30033eca286eadbccd5ab9f8945274ee62baba2 | /DoSam/DoSam/dataExtraction.cpp | 831da48f19d4ee0de00d654e964635c410546986 | [] | no_license | diegoandrade/DoSam | 7f4edaa6d8acf14603bad361720bc9c297cc59db | 6fb6fc6cda43e8150e81d98fcd0ab9534f03307c | refs/heads/master | 2020-05-17T04:50:06.448695 | 2015-06-21T02:12:32 | 2015-06-21T02:12:32 | 37,067,025 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,848 | cpp | //
// dataExtraction.cpp
// DoSam
//
// Created by Diego Andrade on 6/8/15.
// Copyright (c) 2015 Intelestial. All rights reserved.
//
// This class creates data and extracts data from a given file
//
#include "Common.h"
#include "dataExtraction.h"
#undef DEBUG
//#define DEBUG
#ifdef DEBUG
# define D(x) x
#els... | [
"diegoandrade@gmail.com"
] | diegoandrade@gmail.com |
84387438ef185bb7b25a4e7a648dd813d6e44471 | 9030ce2789a58888904d0c50c21591632eddffd7 | /SDK/ARKSurvivalEvolved_PrimalItemConsumable_Seed_Stimberry_parameters.hpp | fa4698826d688063fd62552cf061ecb6374da0fd | [
"MIT"
] | permissive | 2bite/ARK-SDK | 8ce93f504b2e3bd4f8e7ced184980b13f127b7bf | ce1f4906ccf82ed38518558c0163c4f92f5f7b14 | refs/heads/master | 2022-09-19T06:28:20.076298 | 2022-09-03T17:21:00 | 2022-09-03T17:21:00 | 232,411,353 | 14 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 812 | hpp | #pragma once
// ARKSurvivalEvolved (332.8) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_PrimalItemConsumable_Seed_Stimberry_classes.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Parameters
//----------------------------------... | [
"sergey.2bite@gmail.com"
] | sergey.2bite@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.