blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a3b2ad9f6073fe88b77954d5c7d6763dc2341020 | ab97a8915347c76d05d6690dbdbcaf23d7f0d1fd | /fuchsia/engine/context_provider_impl.cc | 33398c9ac7a2414fc56a4dc73111e5f539cdd090 | [
"BSD-3-Clause"
] | permissive | laien529/chromium | c9eb243957faabf1b477939e3b681df77f083a9a | 3f767cdd5c82e9c78b910b022ffacddcb04d775a | refs/heads/master | 2022-11-28T00:28:58.669067 | 2020-08-20T08:37:31 | 2020-08-20T08:37:31 | 288,961,699 | 1 | 0 | BSD-3-Clause | 2020-08-20T09:21:57 | 2020-08-20T09:21:56 | null | UTF-8 | C++ | false | false | 20,796 | 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 "fuchsia/engine/context_provider_impl.h"
#include <fuchsia/sys/cpp/fidl.h>
#include <lib/async/default.h>
#include <lib/fdio/directory.h>
#inclu... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
725bd3486f554f2ce056bd693f749e7645c892a5 | eb6bf119dccddd3bb9709378ca14a856e9305850 | /src/scene.h | 470386620ec659ce4fe4db66a23827f8615d48b7 | [] | no_license | tackyattack/pathFire | b8734277688a04771eaaf5b52652509be74b0a5c | 94636c5d117cb72cb55b5d93ac3fd610cf3329ed | refs/heads/master | 2020-12-02T06:45:12.721139 | 2017-07-11T12:55:07 | 2017-07-11T12:55:07 | 87,378,723 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,021 | h | //
// scene.h
// pathTrace
//
// Created by HENRY BERGIN on 3/2/17.
// Holds all the data for a scene
//
#ifndef scene_h
#define scene_h
#include <iostream>
#include "3dTypes.h"
using namespace std;
struct materialNode
{
};
struct meshNode
{
materialNode *material;
Tri3D **triangles;
int triangle... | [
"tackyattack@gmail.com"
] | tackyattack@gmail.com |
ad2ef3b37b34ce3e5d6ea4e8a0d332e88665151e | 8c7cfbb9d8268f2c1cb49e1f4f154458cf56d3e9 | /Homework/Development of Applications on Operating System/Cocos - HelloCocos/Classes/AppDelegate.cpp | c020c53732984c3ab253274fedf58fff1509b8d8 | [] | no_license | MegaShow/college-programming | bde5c83f353f727f9bc84426b8c16534848965dd | dc3351e0811b4c3b0738e599c014176c845bd21c | refs/heads/master | 2021-07-10T03:57:18.254204 | 2019-10-26T16:07:21 | 2019-10-26T16:07:21 | 114,732,791 | 3 | 7 | null | 2019-10-26T16:07:22 | 2017-12-19T07:23:03 | Jupyter Notebook | UTF-8 | C++ | false | false | 4,312 | cpp | #include "AppDelegate.h"
#include "HelloWorldScene.h"
// #define USE_AUDIO_ENGINE 1
// #define USE_SIMPLE_AUDIO_ENGINE 1
#if USE_AUDIO_ENGINE && USE_SIMPLE_AUDIO_ENGINE
#error "Don't use AudioEngine and SimpleAudioEngine at the same time. Please just select one in your game!"
#endif
#if USE_AUDIO_ENGINE
#include "au... | [
"MegaXiu@outlook.com"
] | MegaXiu@outlook.com |
dc8168edbc9f6cf128ac8f5c5c7b551783549ffa | 80d17f09c98be69e75c3de23e157d6f4eba22f69 | /config.h | ffc89c9e0436920cde3d2885e73797767e218fc4 | [] | no_license | xiao004/chat_geloutingyu | d50cd623789edee9dba4d7528f1f58a511af7731 | c3382f87265303898498ee0a476be14d27069a6e | refs/heads/master | 2020-06-04T18:40:44.815172 | 2019-06-16T04:41:09 | 2019-06-16T04:41:09 | 192,148,569 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,045 | h | #ifndef CONFIG_H
#define CONFIG_H
class config {
private:
// static 成员类内初始化则赋的值必须为常量
// 且对于非 const int 类型的 static 成员要类内初始化的化要加 constexpr 关键字
constexpr static const char* db_name = "chat_geloutingyu";
constexpr static const char* db_ip = "localhost";
constexpr static const char* db_user = "root";
constexpr stati... | [
"371293374@qq.com"
] | 371293374@qq.com |
69616ced4b300d89efc97693f0c36f3337014780 | fa823d1aefead6e3f374fe92405f45a4fd5aa257 | /graph_theory/dag_dfs_order.cpp | 90c664491a3c9d828b38d7f0ed14f7752c78ecd8 | [] | no_license | xaero7/hgoi_cpp_code | 497fb9fb0691463b90a38a360e77b66096d3c0e3 | 4e91cb1b5eb12327076ccc064c13b54a553290a7 | refs/heads/master | 2020-03-24T09:53:19.805352 | 2018-09-28T01:19:11 | 2018-09-28T01:19:11 | 142,640,817 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 999 | cpp | /*
* DAG(有向无环图)的深度优先搜索标记
* INIT:edge[][]邻接矩阵;pre[], post[], tag全置0
* CALL:dfsTag(i, n); pre/post:开始/结束时间
*/
const int V = 1010;
int edge[V][V];
int pre[V];
int post[V];
int tag;
void dfsTag(int cur, int n)
{
//vertex:0 ~ n - 1
pre[cur] = ++tag;
for (int i = 0; i < n; i++)
{
if (edge[cur]... | [
"setoy@qq.com"
] | setoy@qq.com |
445aa49344568b4915f495de9b951b6fe0e0bae3 | 4f21bf73c0e9b2de11f08c5be1247140ea56dd5b | /Code/Libraries/Core/src/simplestring.h | 33c21cf554416664a56b7d30d89f0daf95ea0a45 | [
"Zlib"
] | permissive | BMG-Software/mEldritch | f3acf8c13a5195a566753ce1453443cfe9afdabe | 7d07a845b3f04242ddf1f0abbad606c830ac8f20 | refs/heads/master | 2021-07-12T20:23:42.320087 | 2019-01-15T20:12:08 | 2019-01-15T20:12:08 | 164,134,410 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,615 | h | #ifndef SIMPLESTRING_H
#define SIMPLESTRING_H
#include "array.h"
typedef uint32 unicode_t; // Represents a single Unicode code point in 4 bytes
class SimpleString
{
public:
explicit SimpleString( bool NoInit ); // To prevent static scope strings from being initialized with the wrong allocator
SimpleStr... | [
"merc96github@gmail.com"
] | merc96github@gmail.com |
ef80a9f2b8c335e74a6637611b57f5a077e6e9e5 | 38f5b7ef3ce514a970db6b404f5635628867a999 | /OItemTorch3.h | 4a40c94d634094b48f313d700b2039417313795e | [] | no_license | Shinyj/Crypt-of-the-NecroDancer | 3465ff02ec131253d7e5941d508ba1845fe2f415 | 8760a7b9adc9b0f9aca258e12f5e7d73d067ebaa | refs/heads/master | 2020-03-30T08:25:21.481320 | 2018-10-01T00:01:55 | 2018-10-01T00:01:55 | 151,013,897 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 238 | h | #pragma once
#include "ItemBase.h"
class OItemTorch3 : public ItemBase
{
public:
OItemTorch3();
~OItemTorch3();
HRESULT Init(string key, int pos, ITEMKIND kind);
void Release();
void Update();
void Render();
void ShowInfo();
};
| [
"shinyj25@naver.com"
] | shinyj25@naver.com |
39a3d6111f5ea0c6d90243d53f12c381b8454451 | f80d19d58816c14cf51b6457d017ccb1b01918ea | /src/game/gameState.cpp | 8f695999d7a9b09bc172879d2912f24b67c140f9 | [] | no_license | piochelepiotr/minecraftClone | 378a277d88d35ab36f1ef517598800b99355e6c5 | c4389f5f4f7a8164658e7943050119a0508dcd00 | refs/heads/master | 2021-05-11T02:53:44.298323 | 2018-11-03T02:24:20 | 2018-11-03T02:24:20 | 117,897,006 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 200 | cpp | #include "gameState.h"
GameState::GameState() : m_paused(false)
{
}
GameState::~GameState()
{
}
void GameState::pause()
{
m_paused = true;
}
void GameState::play()
{
m_paused = false;
}
| [
"piotr.wolski@telecom-paristech.fr"
] | piotr.wolski@telecom-paristech.fr |
c8f0b55eff498aa480971b4f1f177ae8d672bb2a | 473fc28d466ddbe9758ca49c7d4fb42e7d82586e | /app/src/main/java/com/syd/source/aosp/cts/tests/sensor/jni/nativeTestHelper.cpp | 3c7df9a3186242342c3c36af2a17f334fd1da870 | [] | no_license | lz-purple/Source | a7788070623f2965a8caa3264778f48d17372bab | e2745b756317aac3c7a27a4c10bdfe0921a82a1c | refs/heads/master | 2020-12-23T17:03:12.412572 | 2020-01-31T01:54:37 | 2020-01-31T01:54:37 | 237,205,127 | 4 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,555 | cpp | /*
* Copyright (C) 2017 The Android Open Source Project
*
* 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 app... | [
"997530783@qq.com"
] | 997530783@qq.com |
dfcb580e94498a90b27120ceca22a453eb4fee67 | 9472221ec7da4395f0cd3845e56fee58e785a2be | /Dungeon Game.cc | b3022f84245fc0b8b0689da68d5634c307c353d0 | [] | no_license | TraceBundy/leetcode | cf31cb1bb792ee07ab55c2bf659bf478a653343f | 5f44e97ccf4c2c36b412adc2a3410deb68fc0aa9 | refs/heads/master | 2020-06-29T03:04:22.254725 | 2015-06-28T14:23:12 | 2015-06-28T14:23:12 | 32,430,048 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 722 | cc | class Solution {
public:
int calculateMinimumHP(vector<vector<int>>& dungeon) {
int n = dungeon.size();
int m = dungeon[0].size();
dungeon[n-1][m-1] = max(1, -dungeon[n-1][m-1]+1);
for (int i = m-2; i >= 0; --i){
dungeon[n-1][i] = max(1, -dungeon[n-1][i] + dungeon[... | [
"yangzhou221@gmail.com"
] | yangzhou221@gmail.com |
f688bfcd71dd8abf79837e0d8e9613a382ec5560 | 426be981352881138c26492c0cdc1107a9c0afa4 | /arbi/src/main.cpp | dea037a492fffe368efc4bad6d1c242f74574137 | [] | no_license | OverfittingStudyRoom/x-trader | 491910f7284913330c4afac767c3c00893a9b9ba | 247d1043bbb98ee7d53b5de447904ebde186093c | refs/heads/master | 2023-03-31T13:01:38.097797 | 2020-03-12T12:29:37 | 2020-03-12T12:29:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,426 | cpp | #include <pthread.h>
#include <stdlib.h>
#include <stdio.h>
#include <pthread.h>
#include <dlfcn.h>
#include <string>
#include <signal.h> /* signal */
#include "vrt_value_obj.h"
#include "l1md_producer.h"
#include "fulldepthmd_producer.h"
#include "tunn_rpt_producer.h"
#include "uni_consumer.h"
#inclu... | [
"17199883@qq.com"
] | 17199883@qq.com |
05cf9e9202304b0cc7f0383efcb9425168622a2f | 85077dea5952092816634cd992378180d95f1135 | /src/Objects3D/Objects3D.h | 8a5bfd3b54edbfdeea80f6578c788d49d60e0b56 | [
"MIT"
] | permissive | aurelijusb/webcam-games | e4a7f1bf089238e9ddc581e00c11433142d38410 | cced15d3decdba637c41d1620a97e0a4f8ec3cb0 | refs/heads/master | 2021-01-13T14:05:43.121609 | 2017-02-03T13:34:42 | 2017-02-03T13:34:42 | 76,173,651 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,292 | h | #ifndef OBJECTS3D_H
#define OBJECTS3D_H
#include <string>
#include <vector>
#define RANGE(variable, min, max) {if ((variable) < (min)) (variable) = (min); if ((variable > max)) (variable) = max; }
using namespace std;
/*
* OpenGl related objects.
*/
namespace Objects3D {
enum applyType {
FRONT,
... | [
"aurelijus@banelis.lt"
] | aurelijus@banelis.lt |
a089546bdad1e4c2272860effb377b0b14083140 | 8bd30da01c1f22f9c360153311b429b7ce65980b | /PortSIPUC/db/AVCodec.cpp | e210bdb7ec278b2cdd69774532adb403dd83d1fc | [
"BSD-2-Clause"
] | permissive | jiaojian8063868/portsip-softphone-windows | 33adf93c21b97a684219d4cc3bf5cad3ea14b008 | df1b6391ff5d074cbc98cb559e52b181ef8e1b17 | refs/heads/master | 2022-11-19T20:22:40.519351 | 2020-07-24T04:06:23 | 2020-07-24T04:06:23 | 282,122,371 | 1 | 2 | BSD-2-Clause | 2020-07-24T04:26:24 | 2020-07-24T04:26:23 | null | UTF-8 | C++ | false | false | 267 | cpp | #include "stdafx.h"
#include "AVCodec.h"
CAVCodec::CAVCodec()
{
m_nAVCodecID = 0;
m_nItemIndex = 0 ;
m_nCodecCode = 0;
m_nAVCodecType= ENUM_VA_CODEC_VIDEO;
m_strCodecName="";
m_strReserved="";
m_bAVCodecOpen = false;
}
CAVCodec::~CAVCodec()
{
} | [
"122019077@qq.com"
] | 122019077@qq.com |
2cd7fe3d9d62f57f04d89ec20c1f33fe8e01445c | f5cd4aa57470c77530f83ae0fdad58c9ceb865b4 | /tests/performance_tests/is_out_to_acc.h | 18d69cd2fb6af4599e1997f737fbea5554c4e37b | [
"BSD-3-Clause"
] | permissive | weirdboy79/fonero | 4ff23ddeb4b53cb8f4d5029e85b31ee07685648d | 80d5aa64b4a7329222954d504e5d99e3fdd48159 | refs/heads/master | 2020-03-10T07:38:57.850114 | 2018-04-11T15:31:50 | 2018-04-11T15:31:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,309 | h | // Copyright (c) 2017-2018, The Fonero Project.
// Copyright (c) 2014-2017 The Fonero Project.
// Portions Copyright (c) 2012-2013 The Cryptonote developers.
//
// Redistribution and use in source and binary forms, with or without modification, are
// permitted provided that the following conditions are met:
//
... | [
"dev@fonero.org"
] | dev@fonero.org |
7bc8b28812abe8f34c341a4941605252dee6f2b3 | 977c82ec23f2f8f2b0da5c57984826e16a22787d | /src/IceRay/main/interface/python/core/light/type_Spot.cpp | fe8b16884536fd8584c49e37a2b48eb99ea3a948 | [
"MIT-0"
] | permissive | dmilos/IceRay | 47ce08e2920171bc20dbcd6edcf9a6393461c33e | 84fe8d90110c5190c7f58c4b2ec3cdae8c7d86ae | refs/heads/master | 2023-04-27T10:14:04.743094 | 2023-04-20T14:33:45 | 2023-04-20T15:07:18 | 247,471,987 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,942 | cpp |
#include "../../def_submodule.hpp"
#include "../../../../../light/_pure.hpp"
typedef GS_DDMRM::S_IceRay::S_type::GT_scalar GTs_scalar;
typedef GS_DDMRM::S_IceRay::S_type::S_color::GT_scalar GTs_color;
typedef GS_DDMRM::S_IceRay::S_type::S_coord::GT_scalar3D GTs_coord3D;
typedef GS_DDMRM::... | [
"dmilos@gmail.com"
] | dmilos@gmail.com |
f60a8f600dd407be246b139992835eaf7bf65211 | 1d93e125bcdbe8997c8f2a0490c470d607a96e3f | /ivf_pq/ivf_assign.h | 5da5498a285903ae412a7cab548e01ff2f0cdcad | [] | no_license | FernandesAff/ppqanns-server | 6b3089854f3ea8a306f6cca7d6513d00a4a6f2f2 | 3e1e69f32544f3c635087956d23c06ea42f0b8a5 | refs/heads/master | 2022-11-22T15:26:04.281058 | 2020-07-30T00:54:58 | 2020-07-30T00:54:58 | 283,633,813 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 698 | h | #ifndef H_IVFASSIGN
#define H_IVFASSIGN
#include <stdio.h>
#include <stdlib.h>
#include <mpi.h>
extern "C"{
#include "../yael/nn.h"
}
#include "../pq-utils/pq_test_load_vectors.h"
#include "../pq-utils/pq_new.h"
#include "myIVF.h"
#include <netdb.h>
#include <netinet/in.h>
#include <sys/socket.h>
#inc... | [
"andrefernandesf@gmail.com"
] | andrefernandesf@gmail.com |
8b68e8d47e9c0f08dbe7d7f35cf1733d9a6d9786 | 2fa31ae8d02cd92bf24bd8cf0f2a611a02a28519 | /since2018/integrated_algorithm/2015.cpp | 6efab38f67670a05a48043618cf19cb5756f3c09 | [] | no_license | dlftls38/algorithms | 3619186d8d832cda695dfbf985e5d86ef6f2f06e | 18ab96bbb3c8512a2da180477e4cc36a25edd30d | refs/heads/master | 2021-07-10T06:09:53.211350 | 2020-10-17T00:04:43 | 2020-10-17T00:04:43 | 206,953,967 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 585 | cpp | #include <stdio.h>
#include <iostream>
#include <string.h>
#include <string>
#include <algorithm>
#include <vector>
#include <stack>
#include <queue>
#include <map>
#include <limits.h>
#include <functional>
#include <math.h>
#include <fstream>
using namespace std;
int psum[200000];
int main(){
int n,k;
scanf("%d%d",&... | [
"dlftls38@naver.com"
] | dlftls38@naver.com |
6a79379c89a0c8d909ec2a425b2ae935bd910469 | d16985a72e39109c30b1e975007cc1cabe8a6ac8 | /Server/Server/Item/HumanItemContainer.h | b020aa20553b801cdc19b052accceac58c1dd946 | [] | no_license | uvbs/wx2Server | e878c3c5c27715a0a1044f6b3229960d36eff4b4 | 78a4b693ac018a4ae82e7919f6e29c97b92554ab | refs/heads/master | 2021-01-18T00:06:34.770227 | 2013-12-13T09:18:54 | 2013-12-13T09:18:54 | 43,288,843 | 2 | 3 | null | 2015-09-28T08:24:45 | 2015-09-28T08:24:44 | null | UTF-8 | C++ | false | false | 4,781 | h | // 增加了处理宝石镶嵌以及物品属性加减的函数,fancy
#ifndef _HUMAN_ITEM_CONTAINER_H_
#define _HUMAN_ITEM_CONTAINER_H_
#include "ItemContainer.h"
class HumanDB;
struct _HUMAN_ITEMCONTAINER_INIT:
public _ITEMCONTAINER_INIT
{
HumanDB* m_pHumanDB;
ITEM_CONTAINER_TYPE m_ICTType;
UINT m_DBOffSet;
};
class Obj_Huma... | [
"tangming032@outlook.com"
] | tangming032@outlook.com |
27d4af3dd15bae0250a27e576ba3a4d60f669e95 | f4db3fa275cf032eaa0c1db657c23a36d7e62577 | /engine/src/PhysicsFacet.hpp | f323a33ade858b1d8af50842d69db40073207533 | [
"MIT"
] | permissive | skryabiin/core | 0e5f7af0c08ebd0118466b5b21023914820eb442 | 13bcdd0c9f3ebcc4954b9ee05ea95db0f77e16f7 | refs/heads/master | 2016-09-05T14:46:03.261125 | 2016-03-02T16:01:56 | 2016-03-02T16:01:56 | 34,462,571 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 639 | hpp | #ifndef CORE_PHYSICS_FACET_HPP
#define CORE_PHYSICS_FACET_HPP
#include "PositionFacet.hpp"
#include "Geometry.hpp"
#include "CollisionState.hpp"
namespace core {
struct PhysicsFacet : public PositionFacet {
PhysicsFacet() : PositionFacet{}, velocity{ 0.0f, 0.0f }, acceleration{ 0.0f, 0.0f }, mass{ 1.0f }, pro... | [
"jlynem@gmail.com"
] | jlynem@gmail.com |
85bfc9c41498f355483a3e08af6c28463f1b3fa2 | 805e83058e2cb1c4042fe31a0c5f2aacf76eca63 | /Glanda/PagePublishFinished.cpp | cd0f25c5e0b9e168d2253f917c39195c5c5f40d2 | [] | no_license | progmalover/vc-stgld | 70ee037f3f27857fcdbb344b5ee8533c724b43b9 | 96055b2a2deca44eed5bb2c6e1e3f6cb1aff3a6b | refs/heads/master | 2021-01-12T05:17:05.334966 | 2017-01-12T14:49:44 | 2017-01-12T14:49:44 | 77,895,327 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 978 | cpp | // PagePublishFinished.cpp : implementation file
//
#include "stdafx.h"
#include "Glanda.h"
#include "PagePublishFinished.h"
#include ".\pagepublishfinished.h"
// CPagePublishFinished dialog
IMPLEMENT_DYNAMIC(CPagePublishFinished, CPropertyPageFixed)
CPagePublishFinished::CPagePublishFinished()
: CPro... | [
"zhangxiangyang@os-easy.com"
] | zhangxiangyang@os-easy.com |
e3296d6b5239a19280955341696e100e793a77e2 | af90747e92927adeb0104aa2a120fed8a0c2545e | /cs231/C++ Programs/CString Trial.cpp | 14a3f68f8ced737bb864ffa027028ecc611a0651 | [] | no_license | SuchFNS/kettering | 0952f745f9becad2a7945b6300ae99fad8217a6d | 0398af4d11dfe0bc1a52adb8676311126288dd50 | refs/heads/master | 2023-08-16T02:44:12.697423 | 2021-09-30T17:05:49 | 2021-09-30T17:05:49 | 388,840,514 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,483 | cpp | #include <iostream>
using namespace std;
//prototypes
int length(char[]);
void capitals(char[]);
void findVowels(char[], int, int&, int&, int&, int&, int&);
int main(){
int a, e, i, o, u;
const int SIZE = 51;
char sentence[SIZE];
//ask for input
cout << "Please input a sentence no longer than 50 cha... | [
"colinq613@gmail.com"
] | colinq613@gmail.com |
a4c3e4620ccb9528821c0f89f8e27c1e2e7ed650 | d3dd666a9823e0df316804b5422c10050e796a57 | /Server/src/Ressource/NoMovement.cpp | 11120ecf375c19e83af3e8ab07940638aca0dee2 | [] | no_license | Surrog/airtipe | 0b1d3bc8a8705ef93af35b0b9ddfb72f3e938aa6 | a44043df83f8be3f5b116d262af9818fdadee562 | refs/heads/master | 2021-01-15T19:22:41.519880 | 2010-07-20T16:11:49 | 2010-07-20T16:11:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 545 | cpp | /*!
* \file NoMovement.cpp
* \brief Implementation of NoMovement class
* \author Francois Ancel - ancel_a@epitech.eu
* \version 0.1
* \date July 16, 2010 1:41 PM
*/
#include "NoMovement.h"
NoMovement::NoMovement(const Position& init, const Position&, const int)
: MovementPolicy(init) {
}
const Movemen... | [
"FrancoisAncel@32e6bcfa-9e84-7d95-9935-f22b4b10203c"
] | FrancoisAncel@32e6bcfa-9e84-7d95-9935-f22b4b10203c |
2abd7ee171ecf2387ae2430a5ba20ee176b4212b | 807a97a8137b9cb99a56a9756e1b7e47acf99361 | /FCCmdSmartLayerBase.h | be805b09c054d41a52b0146d400712328579eb77 | [] | no_license | lupnfer/camc | f54a11b9545c46467aee82a3151107eb57ff2b5a | baf09c4d8a81fdbc2d9362aab384b4d71bf924de | refs/heads/master | 2021-01-10T07:42:09.063247 | 2013-03-05T03:08:15 | 2013-03-05T03:08:15 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 891 | h | #pragma once
#include "Objbase.h"
#include "ObjImage.h"
class FCObjLayer ;
class FCCmdSmartLayerBase :
public FCCmdArtPrider
{
public :
FCCmdSmartLayerBase () : m_pLayer(NULL), m_pCanvas(NULL), m_bSaveAll(TRUE) {}
virtual void Execute (FCObjCanvas & canvas, FCObjProgress * Percent = NULL) ;
virtual void Undo () ... | [
"lupnfer@yahoo.com.cn"
] | lupnfer@yahoo.com.cn |
5575388b308dd29c23019f467dd4eadb15543147 | 7e91191b5b45f2e3d189abb8b7fbcd7f3fcc06c4 | /gecode/minimodel/int-rel.cpp | 340da1ace2b4d6a486186b84857498c2c5ba87f8 | [
"MIT"
] | permissive | eatstreet/gecode | dbed8eb132d2dc5d667950cb1e27b52ffcecb58f | b16d00b209bba8602233a087be50d2d11ddba5fa | refs/heads/master | 2021-09-05T21:56:54.799005 | 2017-05-18T17:33:08 | 2017-05-18T17:33:08 | 79,236,291 | 1 | 0 | NOASSERTION | 2021-08-05T22:46:03 | 2017-01-17T14:37:18 | C++ | UTF-8 | C++ | false | false | 10,461 | cpp | /* -*- mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- */
/*
* Main authors:
* Christian Schulte <schulte@gecode.org>
*
* Copyright:
* Christian Schulte, 2005
*
* Last modified:
* $Date$ by $Author$
* $Revision$
*
* This file is part of Gecode, the generic constraint
* developme... | [
"schulte@gecode.org"
] | schulte@gecode.org |
4d5bee182d5b1428926605aedff2aecb77638b13 | 3d2031186b655842a7a0d93a99b72af4ecddc0a5 | /src/weapon/weapon_utility/health_pack.h | 2925d8e3639318888f97ccfc1bbe8b3b5312a5df | [] | no_license | achau6/zombie-game | 9572c471f05ab7f2f7d47ce005af58be0969b610 | 64bf89fd80f5f908f75ccdf5ab02d288e745dd90 | refs/heads/master | 2022-10-26T06:31:11.584255 | 2020-06-11T06:04:51 | 2020-06-11T06:04:51 | 256,340,445 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 806 | h | #ifndef HEALTH_PACK_H
#define HEALTH_PACK_H
#include "Entities/entity.h"
#include <iostream>
#include "player/player.h"
/*
Why I didn't make a class that Ammo and Health can inherit from. Double inheritance is probably not a good idea.
*/
class Health : public Entity
{
public:
//constructors
Health();
Entity h;
... | [
"phatpazy9@gmail.com"
] | phatpazy9@gmail.com |
161fce7e9419729bc7a47d84681ba26c5893f5b2 | 96d0785777976c2b839b0eb93b3f8261b057d460 | /Training/36.ttwo.cpp | d18ba7d8e18f5b3abea5d59fd83ba2043a497053 | [
"MIT"
] | permissive | felikjunvianto/kfile-usaco-submissions | 452b23ca82cd2c99d742d98124faadda580cc451 | d4afdc0cbde7e19f09afc70c4b02d4bc5992696d | refs/heads/master | 2020-05-29T08:50:56.764064 | 2016-10-06T19:21:17 | 2016-10-06T19:21:17 | 70,185,253 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,484 | cpp | /*
ID: felikju1
PROG: ttwo
LANG: C++
*/
#include <cstdio>
#include <iostream>
#include <string>
#include <cstring>
#include <algorithm>
#include <vector>
#include <stack>
#include <queue>
#define fi first
#define se second
#define pb push_back
#define mp make_pair
using namespace std;
typed... | [
"felikjunvianto@yahoo.co.id"
] | felikjunvianto@yahoo.co.id |
952282a80bec8009e68ed8f586d221e02db4342e | fd6d4decb99fbc15ab95bae6955e0947c65560fb | /devel/rxdisp/MainWindow.h | 0388a334cd71ece7065eef40b739b8588a4213de | [] | no_license | gotomypc/livepro | 5a254ae56dd6ca6be438be3e260aac0fd5a0ecec | eedc23695a81e0f445acd0467f3bf29f154294c6 | refs/heads/master | 2021-01-22T03:06:24.685545 | 2013-02-17T23:04:04 | 2013-02-17T23:04:04 | 39,391,551 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 379 | h | #ifndef MainWindow_H
#define MainWindow_H
#include <QtGui>
class GLWidget;
class VideoReceiver;
class GLImageHttpDrawable;
class MainWindow : public QWidget
{
Q_OBJECT
public:
MainWindow();
protected slots:
void customSignal(QString key, QVariant value);
void videoReceiverChanged(VideoReceiver *);
protected:
... | [
"josiahbryan@6f7359d6-f641-0324-569b-6f61136d9b6b"
] | josiahbryan@6f7359d6-f641-0324-569b-6f61136d9b6b |
7e78f0aff35daf293fff6d380c193896dc51fb7d | 2a4b3cfc9ff17bdc1cfe9c3e159d2d902908d0bb | /Ybt/双精度除法.cpp | 149a7b8815b1fa426446cf702444a7b84a0684df | [] | no_license | dddql/cpp | afd45bc6c4e37fdeec92eca2e9092c113bcc2658 | 6c209a4eeda5ec32afe31aafeaf216ed482234a3 | refs/heads/master | 2023-02-19T11:26:51.273363 | 2022-09-26T14:20:06 | 2022-09-26T14:20:06 | 298,593,978 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 155 | cpp | #include<bits/stdc++.h>
using namespace std;
int main(){
float a,b;
cin>>a>>b;
cout<<fixed<<setprecision(9)<<a/b<<endl;
system("pause");
return 0;
}
| [
"1514670771@qq.com"
] | 1514670771@qq.com |
902f37f011de1c454049c05c8ec51e233cd168ba | 002bab85098749a89ce253b3b3cd5a6fdfba6b6c | /src/Runtime.h | 92e3fd57d785e70509f50415c969539657c9291f | [
"BSD-3-Clause"
] | permissive | buresm11/mirunInterpreter | bad6eb6b1acad386dc4e09c304429fa74594f995 | c8d1e3d104cadfd6e99c07075c9ec2f7accfe93b | refs/heads/master | 2021-09-06T22:32:42.283313 | 2018-02-12T16:56:55 | 2018-02-12T16:56:55 | 115,793,774 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,145 | h |
#pragma once
#include <map>
#include <iostream>
#include <fstream>
#include <string>
#include "Obj.h"
#include "IntObj.h"
#include "StringObj.h"
#include "BoolObj.h"
#include "Environment.h"
#include "Scope.h"
#include "Function.h"
#include "Array.h"
#define HEAP_SIZE 500
#define HEAP_THRESHOLD 400
class Visitor;
... | [
"buresm11@fit.cvut.cz"
] | buresm11@fit.cvut.cz |
854ffa5a94d1a6c6da30a3a62f905eee7d06d88c | d199b019d2edd5c415f8d1982b53ff645489728e | /Gurtozytok/Campus2/human/Manager.h | 0ea9742093194c25741ec4cde9b7712f5926c345 | [] | no_license | azozello/resque | b4163690c9e03d1e8650e6c2b5bcb4e780f9de6b | 6af44031d623d87a4253fc0115460ac2d4bb7adc | refs/heads/master | 2021-01-19T12:10:06.267807 | 2017-10-04T16:10:12 | 2017-10-04T16:10:12 | 82,289,884 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 696 | h | //
// Created by azozello on 09.05.17.
//
#ifndef CAMPUS2_MANAGER_H
#define CAMPUS2_MANAGER_H
#include <vector>
#include "Human.h"
#include "../area/Room.h"
#include "Student.h"
#include "Staff.h"
class Manager : public Human{
private:
string password;
public:
Manager(bool sex, const string &name, const stri... | [
"noreply@github.com"
] | azozello.noreply@github.com |
09befb9464f0e6bc5052449424bc00b769acce63 | 7bdf2fb15f93eb4801debedc709eeb04b67ff74f | /Coordinate.h | fcbc6c3ed2c31189bfd7862d2cf98826dbc4dce4 | [] | no_license | yakiramar/Drawing-board | 44779b3a488de31da3fd72d12a7d91527314d80d | 78a3f88953060d761080e583a5439218252c86af | refs/heads/master | 2020-03-18T18:03:44.243644 | 2019-06-18T14:10:28 | 2019-06-18T14:10:28 | 135,069,328 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 273 | h | #pragma once
#include <iostream>
using namespace std;
class Coordinate{
public:
int x;
int y;
Coordinate(int x2,int y2);
Coordinate(uint x2,uint y2);
friend ostream& operator<< (ostream& os, const Coordinate& p);
};
| [
"noreply@github.com"
] | yakiramar.noreply@github.com |
68dbe27b9f74c5c1785715836cb444c712b1f58b | 48da3cf76d6932e643824e8538bfad5529cf335a | /branches/20180201/game_server/business_activity/sevenday_login.hpp | 5f16395e9bf11cc4cf26350a8a3b918312ce89ae | [] | no_license | daxingyou/sg_server | 932c84317210f7096b97f06c837e9e15e73809bd | 2bd0a812f0baeb31dc09192d0e88d47fde916a2b | refs/heads/master | 2021-09-19T16:01:37.630704 | 2018-07-28T09:27:09 | 2018-07-28T09:27:09 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 966 | hpp | #ifndef _SEVENDAY_LOGIN_HPP_
#define _SEVENDAY_LOGIN_HPP_
#include "macros.hpp"
#include "protos_fwd.hpp"
#include <set>
class role_t;
typedef boost::shared_ptr<role_t> role_ptr;
class sevenday_login_t
{
public:
sevenday_login_t(uint64_t role_id);
void load_data(const proto::common::sevenday_login_s... | [
"major@fun2"
] | major@fun2 |
edfd6c77c1c4f28aebbe731f960b7413a1d34bef | f2339e85157027dada17fadd67c163ecb8627909 | /Cluster/RedisTest/Src/ListOpTest.h | fc4878f60510ae5e085465a45a5e99453dd6628a | [] | no_license | fynbntl/Titan | 7ed8869377676b4c5b96df953570d9b4c4b9b102 | b069b7a2d90f4d67c072e7c96fe341a18fedcfe7 | refs/heads/master | 2021-09-01T22:52:37.516407 | 2017-12-29T01:59:29 | 2017-12-29T01:59:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 247 | h | #pragma once
#include "IRedisTest.h"
struct IListOp;
class ListOpTest : public IRedisTest
{
public:
ListOpTest(Redis::IListOp* pOp);
virtual const char* GetName() override;
virtual bool Run() override;
private:
Redis::IListOp* m_pOp;
}; | [
"85789685@qq.com"
] | 85789685@qq.com |
86b71285645010a3f60447d7f544daf207aff5a9 | 0ac3a5cabcbf72683a6fb08232df1b4817ce54ab | /Code/Functions.h | 3af89f4e66d6efe9855b920108c27e087485158b | [] | no_license | wagnereATWIT/ProgrammingConcepts | 211fe4145f9ac0af59ebbb65e74ff5201a7929cf | 746abedc047000c56a6189e6f9523fcb5af99dbf | refs/heads/main | 2023-07-02T15:22:00.204216 | 2021-07-30T21:15:40 | 2021-07-30T21:15:40 | 372,336,282 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 570 | h | #ifndef FUNCTIONS_H
#define FUNCTIONS_H
#include <iostream>
#include <stdio.h>
#include <sqlite3.h>
#include <vector>
#include <string>
#include <sstream>
#include "Course.h"
// Call back functions
int callback(void*, int, char**, char**);
int callback_store(void*, int, char**, char**);
void Student... | [
"noreply@github.com"
] | wagnereATWIT.noreply@github.com |
d75b2cadef3841d717e92c2bf3bb42ff3f8b7bb7 | df182b90f70d0a5eee100db57a82df6ca56d10e4 | /src/utiltime.cpp | a92ca9fc4b52099c176c4009082583c1a003dfea | [
"MIT"
] | permissive | congstarcoin/congstar-core | 83a1f28aed9b0093e8f4812583d0491d3db2f991 | 4d14841103ba1610ef02e594995fd11cc07676b8 | refs/heads/master | 2020-08-20T00:09:08.569610 | 2019-10-23T02:43:19 | 2019-10-23T02:43:19 | 215,966,895 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,470 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include "config/csr-config.h"
#endif
#include "tinyformat... | [
"congstarcoin@gmail.com"
] | congstarcoin@gmail.com |
d66344c9735faa7c03776c18a611ea6a906eddb1 | 15383b87591d6f8f116eaab30ee2b71b0a82ec57 | /dlib-19.22/tools/python/src/conversion.h | 9a46f4a3abba6c0a487aaff84509a8abab8a6a8d | [
"LicenseRef-scancode-unknown-license-reference",
"BSL-1.0"
] | permissive | kwkim5/Studio_Prj_Arch2021 | d54aec7739fd9166859b156228a3909148def8cd | d0e8d6f05d2f3412b6698259e488204c15e77135 | refs/heads/main | 2023-06-10T05:07:23.934614 | 2021-06-16T05:01:05 | 2021-06-16T05:01:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,244 | h | // Copyright (C) 2014 Davis E. King (davis@dlib.net)
// License: Boost Software License See LICENSE.txt for the full license.
#ifndef DLIB_PYTHON_CONVERSION_H__
#define DLIB_PYTHON_CONVERSION_H__
#include "opaque_types.h"
#include <dlib/python.h>
#include <dlib/pixel.h>
#include <dlib/python/numpy_image.h>
... | [
"windheim@nowhere.com"
] | windheim@nowhere.com |
9d1bcd8e97cc9dde060d9eaaba9ae2f228b99278 | 92e07f2755bc10e5bdfad4f82ce19c280d3485f6 | /src/deps/inih.h | 85f31d055a600dcc2f355e93d31dc155e91d74a9 | [] | no_license | trevnorris/planetary_motion | f9d840183e7f93b0549a98740bdf27801ea9f701 | 337d592d60115760034b12f7f087bb474ab368d6 | refs/heads/master | 2022-09-23T10:56:08.283653 | 2022-09-06T19:16:25 | 2022-09-06T19:16:25 | 204,767,428 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,309 | h | /* inih -- simple .INI file parser
inih is released under the New BSD license (see LICENSE.txt). Go to the project
home page for more info:
https://github.com/benhoyt/inih
*/
#ifndef __INI_H__
#define __INI_H__
/* Make this header file easier to include in C++ code */
#ifdef __cplusplus
extern "C" {
#endif
#inclu... | [
"trev.norris@gmail.com"
] | trev.norris@gmail.com |
784787ecc2412de84b30bbe50292626d376a460d | d88972c760ef8e78c28eb078df77bea8cea3d204 | /source/resources/AudioLoader.cpp | 76a8d1b04e748bcf733d2074a15ab02d843b8b20 | [] | no_license | Stifyz/Indie_Studio | 3dddd6eb76fefb0c1f0c6841bcb551f83f346572 | dada91fa63a73fe396c0ed0947a99807d5f7836f | refs/heads/master | 2021-09-10T00:16:42.836505 | 2017-06-18T21:03:17 | 2017-06-21T14:04:43 | 125,994,079 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,345 | cpp | /*
* =====================================================================================
*
* Filename: AudioLoader.cpp
*
* Description:
*
* Created: 14/01/2015 00:34:26
*
* Author: Quentin Bazin, <gnidmoo@gmail.com>
*
* ============================================================... | [
"quent42340@gmail.com"
] | quent42340@gmail.com |
e3c02fe22ce6aaa8600f178d2764ef9b6fe80daf | fc6a7d9358f008f6b331234b1f5b4b283f5425bd | /firstGitCpp.cpp | 00fe058c47e32f653fa87fcb730c191578fd84a9 | [] | no_license | shikonc/myFirstRepository | a6217994b43f7b1cbe0da2a9d244d5b61baa3d57 | d5897727195376d6b69a22aeb97929e3fec67adb | refs/heads/master | 2021-04-09T11:34:56.513776 | 2018-03-16T03:11:23 | 2018-03-16T03:11:23 | 125,457,175 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 128 | cpp | #include <iostream>
#include <cstdio>
#include <iomanip>
using namespace std;
int main()
{
cout<<"this is a test "<<endl;
}
| [
"35677379+shikonc@users.noreply.github.com"
] | 35677379+shikonc@users.noreply.github.com |
044927e45ae3022c7072317aee3e264b88c26f34 | e843c36a3493be1c43774f34caa49012a8f7c2a2 | /Uebung5/pictureView.h | e0abf3e6b761a0274ecc8a93c6f8395fecbd0773 | [] | no_license | cpetry/Mustererkennung | 82edb26f0d251f7e47ff1a0d5ee25432481d5459 | 1b21a3f34fe76c3ef29d40ab35d197c71dbde288 | refs/heads/master | 2020-08-05T23:43:35.643415 | 2014-11-14T13:20:23 | 2014-11-14T13:20:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 960 | h | /**
* @Copyright 2014
* @Author Petry Christian
* @FHWS
*/
#pragma once
#include <QtWidgets/QApplication>
#include <QtWidgets/QWidget>
#include <QtWidgets/QGraphicsView>
class pictureView : public QGraphicsView
{
public:
pictureView();
void setOtherView(pictureView* pV);
void setPixmap(QPixmap pixmap);
void... | [
"petry2christian@gmail.com"
] | petry2christian@gmail.com |
10ba58576c5eeb9180033fd50421a1ed76c3fc80 | aeb0367615f6d73757e8a9f43990b87a1eacc2b9 | /geeksforgeeks/recursion/Number of paths.cpp | 931bc0ac22a04e6f1c75796f8ff6dfe99a20dca9 | [] | no_license | jai-singhal/dsa | b003c216f436a05ebac3babb24e5a20af17bc456 | 10c8a69958e5587a930f3c65b0993e905d18d301 | refs/heads/master | 2021-01-24T11:44:56.624307 | 2020-09-16T10:15:47 | 2020-09-16T10:15:47 | 123,097,497 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 390 | cpp | #include<iostream>
using namespace std;
int NumberOfPaths(int i, int j, int m, int n){
if(i >= m || j >= n)
return 0;
return 1 + NumberOfPaths(i+1, j, m, n) +
NumberOfPaths(i, j+1, m, n);
}
int main(){
const char matrix[3][3] = {
{'A', 'B', 'C'},
{'D', 'E', 'F'},
{... | [
"jaisinghal48@gmail.com"
] | jaisinghal48@gmail.com |
cb063c19c5b6745125f9fb51c8f5b3b511e45224 | 7627c6ebac8435870a7c689ade9932edf63c3158 | /src/ViewLevelMeter.cpp | cab60b76025c35e59da6c108e8aa71dfd3e5966d | [] | no_license | westlicht/teensy-template | 8e545749746eb39a72c79e50425d8c3c9535b922 | 7a0f2682ca0eaee531feda565d6c42f30a0f421a | refs/heads/master | 2021-01-09T07:40:40.927018 | 2018-09-29T19:26:51 | 2018-09-29T19:26:51 | 64,962,616 | 0 | 0 | null | 2016-08-04T19:47:19 | 2016-08-04T19:47:19 | null | UTF-8 | C++ | false | false | 2,079 | cpp | #include "ViewLevelMeter.h"
#include "Voltage.h"
#include "TextWidget.h"
ViewLevelMeter::ViewLevelMeter(App &app) :
ViewLevel(app),
_stats({2, 2}),
_widget(Point(0,0), Point(0,0), Painter::HAlignment::Center, Painter::VAlignment::Center, Painter::Font::Default, WHITE, BLACK)
{
}
ViewLevelMeter::~ViewLevel... | [
"simon.kallweit@gmail.com"
] | simon.kallweit@gmail.com |
66b9ba6a8682b72edfd5cf83dada45f58b2db6c5 | d6bb54215e44e94a1f29d2c2a2d6c24f129edd8c | /CIELRCPT.cpp | d3a250396e850ef78c8872b3607f2173ec352662 | [] | no_license | subarnaChat/Codechef-submissions | df864061e01c6b00cc4525be689fe1079a8d27a9 | 119ff33e1e6426f8cd085698319b69237400bae9 | refs/heads/main | 2023-01-12T18:55:22.623077 | 2020-11-04T14:52:53 | 2020-11-04T14:52:53 | 310,031,735 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 594 | cpp | #include <stdio.h>
#include<iostream>
using namespace std;
int main() {
int a[] = {1,2,4,8,16,32,64,128,256,512,1024,2048};
int t, n, i,c, currPrice, divideTimes;
cin>>t;
while(t--) {
i = 11;
c = 0;
cin>>n;
while(i >= 0) {
currPrice = a[i];
... | [
"noreply@github.com"
] | subarnaChat.noreply@github.com |
9791fe03d35a79aba47422e5275468166086d157 | e7e497b20442a4220296dea1550091a457df5a38 | /main_project/OceCxxAdapter/src/ZhanFeedCacheReplicaAdapter.h | 9e45104b5e025092d14daa2441bf294bb864f151 | [] | no_license | gunner14/old_rr_code | cf17a2dedf8dfcdcf441d49139adaadc770c0eea | bb047dc88fa7243ded61d840af0f8bad22d68dee | refs/heads/master | 2021-01-17T18:23:28.154228 | 2013-12-02T23:45:33 | 2013-12-02T23:45:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 918 | h | #ifndef ZHAN_FEED_CACHE_ADAPTER_H_
#define ZHAN_FEED_CACHE_ADAPTER_H_
#include "Singleton.h"
#include "AdapterI.h"
#include "FeedCache.h"
namespace xce{
namespace feed{
using namespace MyUtil;
class ZhanFeedCacheAdapter: public MyUtil::ReplicatedClusterAdapterI<FeedCachePrx>,
public MyUtil::Singleton<ZhanFeed... | [
"liyong19861014@gmail.com"
] | liyong19861014@gmail.com |
35fa56e9505c2f0fe49a1118a0bfc21a18f93556 | 589da5c248495666ef8152373a2adc7e61bee7d0 | /room.h | b8a9a6874ff7782bb336314470b7793176c33e3c | [] | no_license | castlez/ZombieSurvive | 5c7fc5e0bcfe2e87ce9254dd54b7add66fed192d | fadef6bc4ae46ddabc6368ba31870269b0ed67c9 | refs/heads/master | 2021-06-10T09:53:48.504099 | 2017-05-21T22:29:35 | 2017-05-21T22:29:35 | 27,954,117 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 444 | h | //ZOMBIE SURVIVE
//Jonny Castle
//
//Interface for the room class
//hold information about a single room
//of dynamic size and content
//
#include "mat.h"
class room{
friend class dungeon;
public:
room();
~room();
private:
matrix *area; //physical places in the room, arrange in a matrix
char *... | [
"castlez93@gmail.com"
] | castlez93@gmail.com |
cbc6e991f7e02ea21397df0cceb75033f11fa0ad | b862f6f4fd20066e3f25ea4ceb54a5fe22accd3f | /cpp/fdu-qstl/src/stl-code-copy-reverse.cpp | c95c3ef885d967d5d94b760b0f47c6844398b84d | [] | no_license | okertanov/functional | 4cbd67beebdd99cb2d82f4b87674e172928d9cf8 | e191c6f8c123828efa86bf47f41348e15f37097c | refs/heads/master | 2023-03-06T16:22:22.457201 | 2023-02-26T17:13:33 | 2023-02-26T17:13:33 | 1,440,909 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,663 | cpp | /*
Oleg Kertanov (c) 2005
*/
#include <string>
#include <cstdlib>
#include <cstring>
#include <cassert>
#include <iostream>
#include <algorithm>
#include "benchmark.h"
#define _() do { std::cout << std::endl << __FILE__ << ":" << __LINE__ << " in " << __FUNCTION__ << "()" << std::endl; } while (0)
char* reverse... | [
"okertanov@gmail.com"
] | okertanov@gmail.com |
f77f37464c67ad24fc62fd73b8ee12c320ee808d | 2b21c935a46dd51ad3b61544fc3ec4477fd78667 | /common/io/FileUtil.h | 7a41f8364fe9de1940028369c1b43a338cdfff61 | [] | no_license | Horadrim-TalRasha/MazeExplorer | 69a20fccdc5113daeb2830f362ccca22a5d4a416 | 7fdc756aea88a2813a70d1d41a422a7e7ec3d4ff | refs/heads/master | 2021-05-27T04:43:51.603273 | 2014-07-07T10:01:25 | 2014-07-07T10:01:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,473 | h | #ifndef _FILE_UTIL_H_
#define _FILE_UTIL_H_
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <dirent.h>
#include <fcntl.h>
#include <sys/file.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <utime.h>
#include <time.h>
#include "BaseCommon.h"
#define UNFL... | [
"524948250@qq.com"
] | 524948250@qq.com |
7f79ea0f73c4ee0f4ccac3ea4fb6b8484dcfad82 | 51ecd22a1a469aa0249e19ce886551b0872e677a | /915/2016t3.cpp | 5d8a62a3b962558946e75e4565797da6b61f0179 | [] | no_license | Leo-778/wangdao | d039e0d3e17362ae10ed4491400949dce1453339 | a1e3180968ea64363ac66632133ebd6e17c86a66 | refs/heads/master | 2023-08-23T10:16:15.401165 | 2021-11-03T12:38:58 | 2021-11-03T12:38:58 | 395,994,013 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 334 | cpp | /*
* @Description: 统计某个学生的到客情况
* @Author: Leo
* @Date: 2021-10-24 18:44:03
* @LastEditTime: 2021-10-24 19:15:22
*/
#include <stdio.h>
#include<algorithm>
using namespace std;
#define max 128
struct student
{
char name[128];
};
int main(int argc, char const *argv[])
{
/* code */
return 0;
}
| [
"1357078925@qq.com"
] | 1357078925@qq.com |
7f808f730849cbbaba02af0fdc8e86f58cc2e6b7 | a953eb527cd119f2ddc7097fd9cb7c49123adc47 | /src/opengl2-skins/gl/shader_configuration.hpp | 081b18dc142225d36a2d750f5c15210287bf3466 | [] | no_license | maghoff/snygg | 7657a4d41fa55df2263e8c1962424ef9fa6fab23 | 3f83863fd9c49acd06974a2f8672431441b2d864 | refs/heads/master | 2023-03-11T10:11:52.406117 | 2018-03-30T08:52:55 | 2018-03-30T08:52:55 | 211,388,679 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 872 | hpp | #ifndef SHADER_CONFIGURATION_HPP
#define SHADER_CONFIGURATION_HPP
#include <memory>
#include <matrix.hpp>
#include "opengl_resource.hpp"
struct uniform_setter;
class shader_program;
class shader_configuration : public opengl_resource {
struct impl;
std::unique_ptr<impl> d;
public:
shader_configuration(const shad... | [
"maghoff@gmail.com"
] | maghoff@gmail.com |
e6ed79ffadd3fc85b598e648fc2531f130788343 | 994465511505f06940eaee69faec49ee1abbad63 | /Source/roboRover/roboRover.cpp | ef29cf45320402402cd96dbbdfde9c067f901da5 | [
"MIT"
] | permissive | Henrynaut/roboRover | e754b764a3d884651fdb1777d12758b42016e459 | b716d71caf8d514c34caa72a401fbb96574b0cd4 | refs/heads/master | 2022-12-27T10:02:41.842857 | 2020-09-19T04:03:28 | 2020-09-19T04:03:28 | 296,782,768 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 193 | cpp | // Copyright Epic Games, Inc. All Rights Reserved.
#include "roboRover.h"
#include "Modules/ModuleManager.h"
IMPLEMENT_PRIMARY_GAME_MODULE( FDefaultGameModuleImpl, roboRover, "roboRover" );
| [
"neilmchenry@gmail.com"
] | neilmchenry@gmail.com |
6cb34d3ab97412ad301daa4114c9253f30ff7f02 | f937371af92c27239132abf18dbdc4cbbb63df33 | /cpp_src/estl/contexted_locks.h | a29cf71e41802e23710d37308ea73f18c293787c | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | raymayemir/reindexer | e098ed4650fca42f152c6a1d727546130e6d1bdf | 3b133ac2cd7a407fc34430bbc292af1500e98a40 | refs/heads/master | 2020-07-17T23:48:50.008075 | 2019-08-27T12:19:43 | 2019-08-27T12:19:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,248 | h | #pragma once
#include <chrono>
#include <functional>
#include <mutex>
#include "tools/errors.h"
using std::chrono::milliseconds;
using std::try_to_lock_t;
using std::defer_lock_t;
using std::adopt_lock_t;
namespace reindexer {
const milliseconds kDefaultCondChkTime = milliseconds(20);
template <typename _Mutex, t... | [
"ogerasimov@gmail.com"
] | ogerasimov@gmail.com |
69b2c3c701d76867b0e6ddfee073dab420feb681 | 0fedf0457748b95c9f5dce90c79d329a4c856c95 | /Pattern04c_AbstractFactory/src/PlumTomatoSauce.h | 4bf8e79071df4b6e6f77e592907936f3c57b181e | [
"MIT"
] | permissive | MRKonrad/DesignPatternsCpp | 21b24e5a114fe53badfb6e549f6a60abeba0895d | b622a4a9e7abc58a304ab138036667253fd199de | refs/heads/master | 2021-01-13T03:07:09.404413 | 2017-03-10T13:25:01 | 2017-03-10T13:25:01 | 77,444,552 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 370 | h | //
// PlumTomatoSauce.h
// DesignPatternsCPP
//
// Created by Konrad Werys on 07/03/17.
// Copyright © 2016 Konrad Werys. All rights reserved.
//
#ifndef PlumTomatoSauce_H
#define PlumTomatoSauce_H
#include <string>
#include "Sauce.h"
class PlumTomatoSauce : public Sauce{
public:
std::string toString(){
... | [
"konradwerys@gmail.com"
] | konradwerys@gmail.com |
20cae638d79f5a46e176bcb01c3ca0edef924ea5 | 573b7f2b79b6fb8b21b40985f7639bc003b60f7e | /SDK/BP_RadialVoiceCommands_Parent_functions.cpp | 732b68be42e73f270877cf5af2a201198d88092c | [] | no_license | AlexzDK/SquadSDK2021 | 8d4c29486922fed3ba8451680d823a04a7b7fc44 | cdce732ad4713b6d7f668f8b9c39e160035efb34 | refs/heads/main | 2023-02-21T02:52:15.634663 | 2021-01-23T23:28:57 | 2021-01-23T23:28:57 | 332,328,796 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,826 | cpp | // Name: Squad, Version: 13-01-2021
#include "../pch.h"
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
/*!!HELPER_DEF!!*/
/*!!DEFINE!!*/
namespace UFT
{
//---------------------------------------------------------------------------
// Functions
//-------------------------------------------------------------------... | [
"39485681+AlexzDK@users.noreply.github.com"
] | 39485681+AlexzDK@users.noreply.github.com |
1ff3302267167868263a9be318f13e6e69651fd0 | 1885818f5360aa6cdb7c606e8da58b67c67c29c4 | /body.hpp | 555285a9ec3847308c668e449c3b5509ec58206c | [] | no_license | heinwessels/UniverseSimulator | 93e2ea9d1a0b9d3bec7c7cb11c04c1c2322ddb81 | bd46b4b9204e3c25ee210fcf0a8242b4a216c5a2 | refs/heads/master | 2022-11-20T18:51:34.690953 | 2020-07-23T13:40:54 | 2020-07-23T13:40:54 | 258,475,935 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 545 | hpp | #include <vector>
#include "vec3.hpp"
#include <stdio.h>
#include <cmath>
#ifndef BODY_HPP
#define BODY_HPP
using namespace std;
class Body{
public:
float mass; // In kg
float radius; // In meter
Vec3<float> pos; // In meter
Vec3<float> speed; // In m / s
bo... | [
"heinwessels93@gmail.com"
] | heinwessels93@gmail.com |
0073c3851618c9d80e2a3afc0a9a175b27da674f | 51e1cf5dc3b99e8eecffcf5790ada07b2f03f39c | /FileAssistant++/Source/TinyXML/tinyxml.h | 13d660573a40d15b918efb0047592e0313bf32cb | [] | no_license | jdek/jim-pspware | c3e043b59a69cf5c28daf62dc9d8dca5daf87589 | fd779e1148caac2da4c590844db7235357b47f7e | refs/heads/master | 2021-05-31T06:45:03.953631 | 2007-06-25T22:45:26 | 2007-06-25T22:45:26 | 56,973,047 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 44,742 | h | /*
www.sourceforge.net/projects/tinyxml
Original code (2.0 and earlier )copyright (c) 2000-2002 Lee Thomason (www.grinninglizard.com)
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any
damages arising from the use of this software.
P... | [
"71m@ff2c0c17-07fa-0310-a4bd-d48831021cb5"
] | 71m@ff2c0c17-07fa-0310-a4bd-d48831021cb5 |
3cf0d7ff6341bebc1a230950fd7e401d8661078b | 85ad2ac4b9a27fc3dee00b6134943bed9af83974 | /src/test/sanity_tests.cpp | 1993d06f12f3f1b13d1bdbca83138bf07af61490 | [
"MIT"
] | permissive | rubcoin-project/rubcoin | f1c10e5a059608745683166e8ced5a5c5f8f2511 | 2ad66110ed9d49e28b26ed1d95dcc7af0d32ea94 | refs/heads/master | 2021-05-04T21:46:38.090301 | 2018-02-02T11:32:18 | 2018-02-02T11:32:18 | 113,016,355 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 657 | 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 "compat/sanity.h"
#include "key.h"
#include "test/test_rubcoin.h"
#include <boost/test/unit_test.hpp>
BOOST_FIXTUR... | [
"debian@debian"
] | debian@debian |
13b9b78a734242e6cea4180a1b345ee345609acc | 0352d41242bbe634679897acc53fc2a9988617ce | /hacks/LilyPurse/led.ino | f41be8cbc8df5f609a6893e9c24a5725cc56b292 | [] | no_license | kotharitrisha/reminderBag | f3395c5fc8a781cd9042db1f585531a1c6fe18f4 | 1748be1a439a559138af7b8c053728eb77c46cde | refs/heads/master | 2020-05-18T01:09:06.808589 | 2014-03-04T14:16:40 | 2014-03-04T14:16:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,442 | ino | int ledp = 12;
int ledi = 9;
int ledu = 5;
int buzzer = 3;
int photocellPin = 0;
int val = 0;
char ibyte;
char discon;
void setup() { //SETUP
pinMode(ledi,OUTPUT);
pinMode(ledu,OUTPUT);
pinMode(ledp,OUTPUT);
pinMode(buzzer,OUTPUT);
Serial.begin(115200);
}
void loop() {
/* while(1){
digitalWrite(buz... | [
"kotharitrisha@gmail.com"
] | kotharitrisha@gmail.com |
93b00fba0fd891e48bb9d9e2ec59f737d89b7434 | 94dbfcf94dd0a61d7cd197cf996602d5a2acdda7 | /weekly_contest/344/2672_number-of-adjacent-elements-with-the-same-color.cpp | a8021d273f072b2968aa0f05997e60ec98425b8e | [] | no_license | PengJi/Algorithms | 46ac90691cc20b0f769374ac3d848a26766965b1 | 6aa26240679bc209a6fd69580b9c7994cef51b54 | refs/heads/master | 2023-07-21T05:57:50.637703 | 2023-07-07T10:16:48 | 2023-07-09T10:17:10 | 243,935,787 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 870 | cpp | /**
* 2672. 有相同颜色的相邻元素数目
* https://leetcode.cn/problems/number-of-adjacent-elements-with-the-same-color/
*/
class Solution {
public:
vector<int> colorTheArray(int n, vector<vector<int>>& queries) {
vector<int> nums(n, 0);
const int m = queries.size();
vector<int> ans(m);
int cur ... | [
"jipengpro@gmail.com"
] | jipengpro@gmail.com |
ae9fc384ebe1f13890ebec77c2ad9d8e92d8540a | fcc132131b929998a4bea75cf0ce9492daecb3ac | /gquiche/quic/core/congestion_control/tcp_cubic_sender_bytes.cc | 1a3409c02d0ffd0c797c0456679c6f540d1be2b3 | [
"BSD-3-Clause",
"Apache-2.0"
] | permissive | Moxoo/quiche | 0fc8eaab5705c40b2d13b71fe98448407f980af0 | 16a9562e5040eeac7263ace423fedaf7202f24c5 | refs/heads/main | 2023-06-17T21:17:18.913695 | 2021-07-14T03:59:08 | 2021-07-14T03:59:08 | 382,257,508 | 0 | 0 | Apache-2.0 | 2021-07-02T06:52:12 | 2021-07-02T06:52:11 | null | UTF-8 | C++ | false | false | 15,890 | cc | // Copyright (c) 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 "gquiche/quic/core/congestion_control/tcp_cubic_sender_bytes.h"
#include <algorithm>
#include <cstdint>
#include <string>
#include "gquiche... | [
"wangsheng@bilibili.com"
] | wangsheng@bilibili.com |
681dce7d27f6f74a661435b4fb6397de654c3fdc | 7ae7ddb631c04bee666588c4d50679a9f04be080 | /feburary/0204/1850_faster.cpp | 1be531147f6926523dcd96f6aa8b8afaa8dda3e1 | [] | no_license | DooHyun-Lee/algorithm | 794a34da13d188e9576431204663a1cb0b3bf47c | c274cce69d40480e01dbf819d4e846a0c6dac943 | refs/heads/main | 2023-06-16T12:59:17.273722 | 2021-07-07T20:24:24 | 2021-07-07T20:24:24 | 326,330,540 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 451 | cpp | // basically same thing but faster printing
#include<iostream>
#include<algorithm>
#include<cstring>
using namespace std;
char ans[5000001];
long long gcd(long long a,long long b){ //assume a is bigger than b
return b?gcd(b,a%b):a;
}
int main(){
ios_base :: sync_with_stdio(false);
cin.tie(NULL);
... | [
"noreply@github.com"
] | DooHyun-Lee.noreply@github.com |
9526f13ad90801629b2ae4ef228aaf3f3c2b1f54 | 7730923178e9f34995d7c6be30965a73fac5d5b0 | /nefu-2/nefu556.cpp | abedefc0b4e9bdec9515a09fedae79af1c6ca2b4 | [] | no_license | magicdark-nefu/nefu2020-AC-code | 378dce21d1dec51a876be6ddd1e396966f26accd | d1c82620ef5690925165e5430e298f24d6d2d28c | refs/heads/master | 2023-02-06T08:09:49.730467 | 2020-12-29T03:42:26 | 2020-12-29T03:42:26 | 324,784,816 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 463 | cpp | #include <bits/stdc++.h>
using namespace std;
struct heshang{
char name[105];
int zongfeng;
};
bool cmp(heshang a,heshang b)
{
return a.zongfeng<b.zongfeng;
}
int main()
{
int n,i,m,o;
heshang hs[1000];
while(cin>>n>>m>>o)
{
for(i=0;i<n;i++)
cin>>hs[i].name>>hs[i].zongfeng;
sort(h... | [
"darklight@nefu.edu.cn"
] | darklight@nefu.edu.cn |
3b4d264732e3e435fcd121cd2e1d5e9c6180e691 | 611b3f834aae2465675f5d35fcf0131ebb36c293 | /LostInTheMap/ai_system.cpp | 6fdf549832241a8226168e7ef01f0b7636d3861b | [] | no_license | arveon/LostInTheMap | 53ad921bf81403f5d51f6992b92b089110f6b642 | 394091ecc4727e62d7151e7c45d076d7ed952a10 | refs/heads/master | 2021-04-28T01:09:24.101331 | 2018-05-14T08:19:46 | 2018-05-14T08:19:46 | 122,265,580 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,742 | cpp | #include "ai_system.h"
void ai_system::process_rat_move(Entity * rat, std::vector<army_unit*> player_army, ITerrain* tc)
{
//get rats combat unit
ICombatUnit* cbu = (ICombatUnit*)rat->get_component(Component::ComponentType::CombatUnit);
//get rats movement component
IMoving* r_mc = (IMoving*)rat->get_component(C... | [
"ALoginovs@dundee.ac.uk"
] | ALoginovs@dundee.ac.uk |
169ea3bc6c5c4d54e82abba9f133e0e6979e9468 | c36ee04946b79f2eb9d8bf296b41ba28b21566ec | /ComputerVisionwithOpenCV3andQt5_Code/Chapter04/ImageViewer/ImageViewer/ui_mainwindow.h | d1c3b0eae30e7ac26a0df196dbddc70f414be472 | [] | no_license | Daibingh/qt-project | ba622ebb1ae431463d8c343298a889b5fdf44132 | 42357e80093103141ce0f88d89e1fb0e2f663945 | refs/heads/master | 2020-04-12T19:36:10.378232 | 2018-12-21T12:45:24 | 2018-12-21T12:45:24 | 162,713,384 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,334 | h | /********************************************************************************
** Form generated from reading UI file 'mainwindow.ui'
**
** Created by: Qt User Interface Compiler version 5.8.0
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
****************************************... | [
"Daibingh@gmail.com"
] | Daibingh@gmail.com |
49cfd356f497f3229b37d6c13e0cb2c8aad1aa19 | e17546794b54bb4e7f65320fda8a046ce28c7915 | /DeviceCode/Drivers/BatteryMeasurement/stubs/fastcompile_BatteryMeasurement_stubs.cpp | f31185706f12c7996debba92bf5ca22762337e95 | [
"BSD-3-Clause",
"OpenSSL",
"MIT",
"LicenseRef-scancode-openssl",
"LicenseRef-scancode-ssleay-windows",
"Apache-2.0"
] | permissive | smaillet-ms/netmf-interpreter | 693e5dc8c9463ff0824c515e9240270c948c706f | 53574a439396cc98e37b82f296920c7e83a567bf | refs/heads/dev | 2021-01-17T22:21:36.617467 | 2016-09-05T06:29:07 | 2016-09-05T06:29:07 | 32,760,598 | 2 | 1 | null | 2016-04-26T02:49:52 | 2015-03-23T21:44:01 | C# | UTF-8 | C++ | false | false | 92 | cpp | #include "BatteryMeas_stubs_functions.cpp"
#include "BatteryMeasurement_stubs_config.cpp"
| [
"morteza.ghandehari@microsoft.com"
] | morteza.ghandehari@microsoft.com |
7e8c6ef4e2de7a89e3bb285e364bfdc7b7a337d0 | e079b72d1566f1da9b4050acb19837f137c719fa | /parser/token.h | b03e87c0c7451662e5e6ee8215a784c062f82f07 | [] | no_license | wxmaper/phpqt5plugin | a670d984ee874fb4777971a5b4a51dce5aa133d4 | dd1353a482df8b150b75a00eb64278814f60f88a | refs/heads/master | 2020-12-30T13:20:35.874881 | 2017-05-13T21:28:54 | 2017-05-13T21:28:54 | 91,202,744 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,323 | h | #ifndef TOKEN_H
#define TOKEN_H
#include <QChar>
#include <QHash>
#include <QString>
#include <qobjectdefs.h>
namespace PHPQt5 {
namespace Internal {
class Token;
class Scanner;
class SourceCodeStream;
typedef QList<Token> TokenList;
class Token
{
Q_GADGET
Q_ENUMS(T)
public:
static Token getIdentifier... | [
"wxmaper@gmail.com"
] | wxmaper@gmail.com |
8aa725a45826c25573410b303f6ca4d7edd4b576 | ef1b5ce400a6321f7ad07527a86e80d401ff954d | /src/sample.cpp | 41d7e2d6af1bbe3c064d60e98e21dbe503a4f3a8 | [] | no_license | jprod123/roboteq | a0431bd576f562d00ded96f6f105c63185ce344b | 17270cd330fbc633237546d4f000749aad9ae20c | refs/heads/master | 2021-04-15T04:57:34.343688 | 2018-03-26T18:46:31 | 2018-03-26T18:46:31 | 126,874,474 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,450 | cpp | #include <iostream>
#include <stdio.h>
#include <string.h>
#include <RoboteqDevice/RoboteqDevice.h>
#include <RoboteqDevice/ErrorCodes.h>
#include <RoboteqDevice/Constants.h>
using namespace std;
int main(int argc, char *argv[])
{
string response = "";
RoboteqDevice device;
int status = device.Conne... | [
"jprod123@gmail.com"
] | jprod123@gmail.com |
ddc4a450896d727f0ff9a54c0e67fa083de4cee8 | cc9ae71207dc667c2e0be27671ced5c86f2f71a3 | /test/oldstudy/N-jiecheng.cpp | 1491fda5306680d985b899d9d0c75e98d4453041 | [] | no_license | xm0629/c-study | aed8480aa30b35637bfca307e009eb8b827b328d | 26183be9c91b2b53bd71b6693fe6d39823bc5d63 | refs/heads/master | 2020-04-09T11:35:48.047562 | 2019-03-30T15:27:01 | 2019-03-30T15:27:01 | 160,316,327 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 466 | cpp | # include <iostream>
using namespace std;
long fac(int);
int main()
{
int n;
long y;
cout << "Please input an imteger: ";
cin >> n;
y = fac(n);
cout << n << " != " << y << endl;
return 0;
}
long fac (int n)
{
long f;
if (n < 0)
{
cout << "n<0, data error!"<< endl;
... | [
"920972751@qq.com"
] | 920972751@qq.com |
7816fd04f7f81be5b601139c6101171ed63f69f9 | 6914cd2c274878c0262c0ec7218787ae2c0e392b | /genetic_algorithm/gafunction.h | 8c0d6cd3f13a2d4659281558bb48c0e309637441 | [] | no_license | AndreiTirpescu/tsp_genetic_algorithm | adc577daf087887f4c789bde512bb75e3c538ce1 | 7006b6fcb5218186d1f31ba4046b34dd453f240b | refs/heads/master | 2020-12-05T07:11:09.698856 | 2020-01-16T07:43:16 | 2020-01-16T07:43:16 | 232,043,692 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 601 | h | #ifndef GA_FUNCTION_H
#define GA_FUNCTION_H
#include <cstdint>
#include <vector>
typedef double (*CALLBACK_GA_FUNC)(uint32_t arrayCount, double *arrayValues);
class GaFunction
{
public:
GaFunction(double min, double max, CALLBACK_GA_FUNC func);
GaFunction& setData(const std::vector<double> & val);
doub... | [
"tirpescu.andrei@yahoo.com"
] | tirpescu.andrei@yahoo.com |
b87cfa36194c978cb3daac12e61fbb51fec6000b | 41e5b09f0106b9d373c84b479bbca2ba664b5cbd | /OpenGL_2D_Engine/Source/Enemy.h | 8ee25bb0f4b330fb69cfe2a9370fc42f2b045af4 | [] | no_license | DGMeyer96/RogueHack | 833fc2e3bc5db075bf5221b233d612e43bbc3d86 | 0383f60eaa331cf289a73f633cd4fc956710f64a | refs/heads/main | 2023-04-28T21:01:44.455441 | 2021-05-20T00:09:25 | 2021-05-20T00:09:25 | 334,321,337 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 494 | h | #ifndef ENEMY_H
#define ENEMY_H
#include "Engine/Game_Object.h"
class Enemy : GameObject
{
public:
Enemy(unsigned int maxHealth, unsigned int damage, unsigned int armor,
glm::vec2 pos, glm::vec2 size, Texture2D sprite, glm::vec3 color);
~Enemy();
void Activate();
void Deactivate();
bool Attack();
bool TakeDam... | [
"dmlegoman96@verizon.net"
] | dmlegoman96@verizon.net |
e3bee199be776c21511d12013394f964cb336d81 | 44d05b95c5b1586bf2a0902dbd25dbd544192f2f | /sortAlgorithm.cpp | 9a725824d33e2e42130ea098a301707ad73caca0 | [] | no_license | AutoWin/myClone | 088fe59686fe6c1a5c3313bea33aff92fe1d67a6 | 78bf7c42d5ee54ebcc41a61627e1bee2d940f20f | refs/heads/master | 2020-12-02T22:43:47.074699 | 2017-07-04T04:30:11 | 2017-07-04T04:30:11 | 96,173,897 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,575 | cpp | #include <iostream>
using namespace std;
void print(int , int);
void swap(int *a, int *b)
{
int temp = *a;
*a = *b;
*b= temp;
}
void selectionSort(int arr[], int n)
{
int i, j, min_idx;
for(int i=0; i<n-1; i++)
{
min_idx = i;
for(int j=i+1; j<n; j++)
if(arr[j] < arr[min_idx])
min_idx = j;
swap(&a... | [
"luongthanhkx1997@gmail.com"
] | luongthanhkx1997@gmail.com |
2d20d390d0cf3ac76015ac827dbd3e94edeb3580 | ac75305ca89a0124028649b08abc6f2623b36921 | /libs/poco/include/Poco/PriorityEvent.h | a20ac01aa3f164b0528460fca5b28f8fe58ea710 | [
"MIT"
] | permissive | mazbox/of64 | 82fef1dc60f9eecc21a75d8d66590ff77ef00d51 | 4f82325132f217e7bfc36e379f99ba435c3dd9d9 | refs/heads/master | 2021-01-10T21:08:21.640739 | 2013-02-18T14:54:57 | 2013-02-18T14:54:57 | 3,136,581 | 7 | 2 | null | 2012-09-08T14:37:06 | 2012-01-09T13:15:48 | C++ | UTF-8 | C++ | false | false | 3,107 | h | //
// PriorityEvent.h
//
// $Id: //poco/1.4/Foundation/include/Poco/PriorityEvent.h#1 $
//
// Library: Foundation
// Package: Events
// Module: PriorityEvent
//
// Implementation of the PriorityEvent template.
//
// Copyright (c) 2006, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// Permissio... | [
"bereza@gmail.com"
] | bereza@gmail.com |
26f5c6326cdfbc20a6afd2842d58492e8a3ac304 | d324fe2379426188ec542f95a4d753ba9a989a35 | /projects/fender/include/events.hpp | c6c0b90c99050aae501c10bb26f4d3de85ea4c5c | [] | no_license | teamfcm/futils | 886091421fdb74a4198bafcb1fe3fe15635a405e | 1ef39e1a8fa3c0d58bf60a96f25d38153172bc01 | refs/heads/master | 2020-06-23T23:15:34.731306 | 2018-01-09T14:51:06 | 2018-01-09T14:51:06 | 96,908,502 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 294 | hpp | //
// Created by arroganz on 11/29/17.
//
#ifndef FENDER_EVENTS_HPP
#define FENDER_EVENTS_HPP
# include "mediator.hpp"
# include "math.hpp"
namespace fender::events {
struct Shutdown // A simple message to shutdown every system in the engine.
{
};
}
#endif //FENDER_EVENTS_HPP
| [
"felix.ganz@epitech.eu"
] | felix.ganz@epitech.eu |
6f1e8e21173eea458d177cfccb4b457f8d1a8d4c | e00ae1281303b2ed1cc7f78cf8fdd78209dd520f | /data-structures/week4_binary_search_trees/2_is_bst/is_bst.cpp | 29a7cd58d0c5733aa882d591a66fff9ed958c7a0 | [] | no_license | avjotsingh/ucsd-algorithms-specialization | 13a641ace9834f563d2e2e50c262457f24a18f77 | bb6437116e3ca7761dcfeb5de09e2ac091bb51d1 | refs/heads/master | 2023-01-09T19:17:33.457977 | 2020-11-03T20:07:03 | 2020-11-03T20:07:03 | 279,087,663 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,644 | cpp | #include <algorithm>
#include <iostream>
#include <vector>
using std::cin;
using std::cout;
using std::endl;
using std::vector;
struct Node {
int key;
int left;
int right;
Node() : key(0), left(-1), right(-1) {}
Node(int key_, int left_, int right_) : key(key_), left(left_), right(right_) {}
};
const Node... | [
"avjot.singh99@gmail.com"
] | avjot.singh99@gmail.com |
85fae0b0d253847d80e9dbca822115d0aa7819a3 | 7dc2a3e541f4ebc036e13a9bf5fce7eb993a8167 | /POCO_C++/poco_fanatic/0014_DateTime/DateTimeTest.cpp | ddd738d1ab2146637ede7cf2999f98d53e16b12a | [] | no_license | schidler/MeCloud | ea53d85f0919eafc769e27a969653b21cd576134 | 9375ed76303e4bf74b1be3b4f8f57006257a1705 | refs/heads/master | 2021-01-22T03:39:12.900354 | 2013-08-07T09:19:53 | 2013-08-07T09:19:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,347 | cpp | //
// DateTimeTest.cpp
//
// Created by Setsu on 5/14/2010.
// Modified by Setsu on May 30, 2013.
// Copyright 2010-2013 RoundSquare Inc. All rights reserved.
//
// Permission is hereby granted, free of charge, to any person or organization
// obtaining a copy of the software and accompanying documentation covered... | [
"t.benchung@gmail.com"
] | t.benchung@gmail.com |
27598cbca2aa80783eebd16a0988025bd0483711 | 409271cf3c4ba9394bfa71b686cc8cbf536ad55b | /vrjugglua/Internal_StringInterface.cpp | a7e00ca803028c734494203924ca3767ffaaba59 | [
"BSL-1.0",
"MIT"
] | permissive | lpberg/vr-jugglua | 68332f40cbd8b189ad08e8aac137d3f054733939 | 61b4462c691f3ccb03d73083bdad04516a70cc7e | refs/heads/master | 2021-01-20T19:48:46.411596 | 2013-10-07T19:02:41 | 2013-10-07T19:02:41 | 2,197,749 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 983 | cpp | /** @file
@brief implementation
@date
2009-2013
@author
Ryan Pavlik
<rpavlik@iastate.edu> and <abiryan@ryand.net>
http://academic.cleardefinition.com/
Iowa State University Virtual Reality Applications Center
Human-Computer Interaction Graduate Program
*/
// Copyright Iowa State University 2009-201... | [
"carlsonp@iastate.edu"
] | carlsonp@iastate.edu |
2886b20d9f8a7542f6e77a83d7fe91e153e6e2b4 | 9f253e6dd5809c780f2dc5b36bf91171bb2fd72e | /helper functions/pow.cpp | 20c6911fdc501dab3bbf89b3c3e0f12fe43bc3d0 | [] | no_license | mbikas/ACM | ab41bb3ea7c5402758bdc56c3109807c64537b3a | d4185d5168a1391d7989f9a947dfa65198b27df9 | refs/heads/master | 2021-01-18T19:33:58.990020 | 2016-10-27T08:00:03 | 2016-10-27T08:00:03 | 72,075,809 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 409 | cpp | #include<stdio.h>
long myPow( int base,int exp ) {
long result( 1 );
int bitMask( 1 );
int currentPower( base );
for( bitMask = 1; bitMask <= exp; bitMask <<= 1 ) {
if( bitMask & exp ) {
result *= currentPower; // multiple
}
currentPower *= currentPower; // square
}
return resu... | [
"mbikas2@uic.edu"
] | mbikas2@uic.edu |
f4008c65b90396514f990c3094c3d2308298abc6 | cc13bdb0f445b8acf6bec24946fcfb5e854989b6 | /Pods/BoringSSL-GRPC/src/ssl/d1_lib.cc | 118015398fb115ca044d0c9b0adb5002219439a7 | [
"MIT",
"ISC",
"BSD-3-Clause",
"OpenSSL",
"LicenseRef-scancode-openssl",
"LicenseRef-scancode-ssleay-windows"
] | permissive | devMEremenko/XcodeBenchmark | 59eaf0f7d6cdaead6338511431489d9d2bf0bbb5 | 3aaaa6aa4400a20513dd4b6fdb372c48b8c9e772 | refs/heads/master | 2023-09-04T08:37:51.014081 | 2023-07-25T23:37:37 | 2023-07-25T23:37:37 | 288,524,849 | 2,335 | 346 | MIT | 2023-09-08T16:52:16 | 2020-08-18T17:47:47 | Swift | UTF-8 | C++ | false | false | 8,250 | cc | /*
* DTLS implementation written by Nagendra Modadugu
* (nagendra@cs.stanford.edu) for the OpenSSL project 2005.
*/
/* ====================================================================
* Copyright (c) 1999-2005 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, wi... | [
"devMEremenko@gmail.com"
] | devMEremenko@gmail.com |
6a8ca6d805c3748cce115aa6dc219cc9798809ce | b43e2ba9463bb64d182d2119f13eb502ba2db1dc | /terrain/terraintab.cpp | 44bf22ad3895242fc9513d1fe9b91442b75de12c | [] | no_license | aureargo/Gamagora_TP4_3D | 772425eba26ca2e58073929bd8cc9cae6e16d941 | 31ba8f543a2b688183a920ed745d65b7b5001a2c | refs/heads/master | 2021-01-10T14:02:21.010698 | 2015-12-15T15:05:17 | 2015-12-15T15:05:17 | 47,224,764 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,598 | cpp | #include "terrain/terraintab.h"
TerrainTab::TerrainTab(const TerrainTab& copy):
Terrain(copy.longueur, copy.largeur, 0), height(copy.height), width(copy.width), amplitude(copy.amplitude), hauteurMin(copy.hauteurMin), hauteurMax(copy.hauteurMax)
{
box = copy.box;
grille = new float[height*width];
... | [
"aureargo@hotmail.fr"
] | aureargo@hotmail.fr |
b35967db68b6cf34435b12c6c2daeebebed5d8de | d36622b2f861e2732b2012e978fe8fd77051ac08 | /winframe.h | 751485c9f363824cef965e78540f7e32b7f82825 | [] | no_license | urielyan/kairen_github | baad5d8a3a2212a7e84bec2a8e5066682aa03343 | 0d06843f9ae69728e258cecd8b7d9b63dd430e3d | refs/heads/master | 2021-01-21T13:03:48.263957 | 2016-04-20T01:16:50 | 2016-04-20T01:16:50 | 53,041,563 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 915 | h | #ifndef WINFRAME_H
#define WINFRAME_H
#include <QObject>
#include <QFrame>
#include <QLabel>
class WinAbstractFrame : public QFrame
{
Q_OBJECT
public:
WinAbstractFrame(QWidget *parent = 0);
signals:
public slots:
};
class WinBottomFrame : public WinAbstractFrame
{
Q_OBJECT
enum ENUM_LABEL
{
... | [
"urielyan@sina.com"
] | urielyan@sina.com |
b23fb402497289efde11d9f677417822d24af3e3 | cf82ec080cf56abb743faf4a70e5b5db055db252 | /GCserver/src/RuntimePlatform.cpp | 21279956533c95dbd19d9dba95b5a591ee977a2a | [] | no_license | raghav1203/GC_SERVER | f2a0c1c75b36e1e17f7b844511ff74586259a2dc | e834423365d576b4737bb8e939768b0c5916aa8a | refs/heads/master | 2016-09-05T16:56:45.205804 | 2015-01-02T13:53:20 | 2015-01-02T13:53:20 | 28,714,636 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 118 | cpp | #include "RuntimePlatform.h"
RuntimePlatform& RuntimePlatform::getPlatform()
{
return RuntimePlatform.WINDOWS;
}
| [
"raghvendra.1203@yahoo.com"
] | raghvendra.1203@yahoo.com |
6b89ea92b2c198c40e652ee3461a78650c7b1bb6 | 89b7e4a17ae14a43433b512146364b3656827261 | /testcases/CWE762_Mismatched_Memory_Management_Routines/s06/CWE762_Mismatched_Memory_Management_Routines__new_free_int64_t_68a.cpp | e3e57bc34db170e3b72e5e7ae04af5aa67acbe23 | [] | no_license | tuyen1998/Juliet_test_Suite | 7f50a3a39ecf0afbb2edfd9f444ee017d94f99ee | 4f968ac0376304f4b1b369a615f25977be5430ac | refs/heads/master | 2020-08-31T23:40:45.070918 | 2019-11-01T07:43:59 | 2019-11-01T07:43:59 | 218,817,337 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,742 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE762_Mismatched_Memory_Management_Routines__new_free_int64_t_68a.cpp
Label Definition File: CWE762_Mismatched_Memory_Management_Routines__new_free.label.xml
Template File: sources-sinks-68a.tmpl.cpp
*/
/*
* @description
* CWE: 762 Mismatched Memory Management Routines
... | [
"35531872+tuyen1998@users.noreply.github.com"
] | 35531872+tuyen1998@users.noreply.github.com |
8a788466a57b99c1d992e3e8ec69862276a0e824 | 9ec8ffe28d54be5af26e83d9898105832ad3f119 | /src/sentimental/bayesnet/undirectedgraph.cpp | 370072829dd48fd0a6f58b87dbfbc42fb181980e | [] | no_license | Fs02/sentimental | 98e5696d9819af95036ae770a7c10067d1d1389d | 3d8d94bf30e533ff7e41987dbe2c311b29f3f673 | refs/heads/master | 2021-03-27T20:40:44.276670 | 2017-09-02T16:16:49 | 2017-09-02T16:16:49 | 77,728,342 | 0 | 0 | null | 2017-03-05T00:17:25 | 2016-12-31T06:26:02 | C++ | UTF-8 | C++ | false | false | 3,527 | cpp | #include <sentimental/bayesnet/undirectedgraph.h>
#include <algorithm>
#include <stack>
#include <unordered_set>
using namespace sm::bayesnet;
UndirectedGraph::UndirectedGraph()
: vertices_(), neighbours_()
{}
std::size_t UndirectedGraph::vertex(const std::string &name) const
{
auto it = std::find(vertices_.... | [
"surya.asriadie@gmail.com"
] | surya.asriadie@gmail.com |
5b1686b46db389292f2b07d3a2221dac8cc01503 | b55835565b2ec5c75856f0f4bebaa941b932c8ca | /musli/StreamPacker.h | 9ddf0be03bafb47a0643623e0b666319af69013b | [
"MIT"
] | permissive | rioki/musli | 358cb2ee3482f34383553a9690fdfbddc46710b6 | 4efa634f4a70d7d9a39df8f42463934ea9c0e4be | refs/heads/master | 2021-01-25T03:40:46.481754 | 2021-01-08T10:51:24 | 2021-01-08T10:51:24 | 1,584,248 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,704 | h | // musli - simple serialisation library
// Copyright (c) 2011-2021 Sean Farrell
//
// 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 rig... | [
"sean.farrell@rioki.org"
] | sean.farrell@rioki.org |
9fb15f582213871f5616e19c74d72fad379de81c | 3a174b12caad3e651d314e3baaba5fc02d08806d | /src/ciripch.cpp | 862036eedb8eb1a45e3fc9a875ad5119b67e1a8e | [] | no_license | cianjinks/CiriGB | db63a2cbdb04b676c75aa3e35a95efe8802708bb | 34777401a26080f0e5708293e7239eccd723ae99 | refs/heads/master | 2023-02-01T23:53:30.675899 | 2020-12-18T14:49:52 | 2020-12-18T14:49:52 | 311,473,158 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20 | cpp | #include "ciripch.h" | [
"cjinks99@gmail.com"
] | cjinks99@gmail.com |
7e00cf54029afa2705abcf4c75a815c304890e45 | 600df3590cce1fe49b9a96e9ca5b5242884a2a70 | /third_party/openh264/src/codec/encoder/core/inc/rc.h | ec15a62f9e08360b6e6d6baf26dc15440a2b1912 | [
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"BSD-3-Clause",
"BSD-2-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | 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 | 9,558 | h | /*!
* \copy
* Copyright (c) 2004-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... | [
"enrico.weigelt@gr13.net"
] | enrico.weigelt@gr13.net |
20f0d385677aa97540a642575f357b0c9c0f8fad | 0af16f53b3450882e994aec44b20dcf277372b4f | /Forms/ODLinkPropertiesDialogDef.h | 4850364c14f39980e648d6b4e8caba78579ee063 | [] | no_license | hreuver0183/ocpn_draw_pi | 2372e34de010f60c835768613c7255177d240a15 | 4115bec72879e6ffc407e0af149e7d38619070d5 | refs/heads/master | 2022-12-21T20:21:19.963709 | 2020-10-03T14:17:16 | 2020-10-03T14:17:16 | 285,889,919 | 0 | 0 | null | 2020-08-07T17:53:44 | 2020-08-07T17:53:43 | null | UTF-8 | C++ | false | false | 1,879 | h | ///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version Oct 26 2018)
// http://www.wxformbuilder.org/
//
// PLEASE DO *NOT* EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////
#pragma once
#include <wx/artpro... | [
"jon.gough@eclipsesystems.com.au"
] | jon.gough@eclipsesystems.com.au |
80e09b198dc4476f44f470f4f4e44ab202059175 | 9e932f84264d812e1a5f209ec3b0591a6216b148 | /Raytracer (Offline)/BasicScene.h | edc55b9f7ba17ac8f0a7ec55784de75ee22ce28c | [
"MIT"
] | permissive | bryanlawsmith/Raytracing | 17321b4bd0575b8f221ce727ba3d7bbdebb8b83c | 519b3f3867e0c00b92091dd755a4a73121e22064 | refs/heads/master | 2016-08-11T19:39:47.422605 | 2016-02-02T13:17:28 | 2016-02-02T13:17:28 | 46,450,267 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 527 | h | #pragma once
#include "IScene.h"
#include <vector>
namespace Raytracer
{
/// <summary>
/// Basic implementation of the IScene interface which does not partition scene elements
/// using some form of spatial subdivision.
/// </summary>
class BasicScene : public IScene
{
public:
BasicScene();
bool Trace(c... | [
"bryanlawsmith@gmail.com"
] | bryanlawsmith@gmail.com |
b7d9a1b60ed2ab593d2b66db8d2c06d56c6082dd | 164ffe077dde59373ad9fadcfd727f279a1cfe93 | /jni_build/jni/include/tensorflow/core/framework/common_shape_fns.cc | 6439a2854e0a30f55274224ceef9174c3cf45038 | [] | no_license | Basofe/Community_Based_Repository_Traffic_Signs | 524a4cfc77dc6ed3b279556e4201ba63ee8cf6bd | a20da440a21ed5160baae4d283c5880b8ba8e83c | refs/heads/master | 2021-01-22T21:17:37.392145 | 2017-09-28T21:35:58 | 2017-09-28T21:35:58 | 85,407,197 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 24,921 | cc | /* Copyright 2016 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable ... | [
"helder_m_p_novais@hotmail.com"
] | helder_m_p_novais@hotmail.com |
5c7766225070c27351069e2c03bd1d7189f01014 | 69a3b83413ad7699a1a91fd51eb0a51b7b4199f1 | /Learning_routing/Nodes/App.cc | a95c5d5d171b8c3b14ad509dcf5c546c5794cb29 | [] | no_license | Lee0xwee/OMNET- | c63b13cfcfd339c3476b6377e18a9efaf2a7c2fc | 28d17486d8bedeb9ccb3fb0190aa7656c797c5c9 | refs/heads/master | 2021-10-20T11:26:39.000749 | 2019-02-27T14:37:54 | 2019-02-27T14:37:54 | 182,414,584 | 2 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 2,933 | cc | /*
* App.cc
*
* Created on: 2019Äê2ÔÂ26ÈÕ
* Author: Jason
*/
#ifdef _MSC_VER
#pragma warning(disable:4786)
#endif
# include <vector>
# include <iostream>
# include <omnetpp.h>
# include "packet_m.h"
using namespace omnetpp;
using namespace std;
class App :public cSimpleModule
{
private:
//configure
... | [
"41442321+Stephenhua@users.noreply.github.com"
] | 41442321+Stephenhua@users.noreply.github.com |
20f733cf78c8e867def3af98b29432785fc73b13 | 7afb4818a3ae770dc7edd539e0dea85d4d8474d3 | /camcalib/2020/include/Dgelom/properties.hpp | 4fdcb4a7656d212ede8894de831af7d3f1cc2a54 | [] | no_license | ZL-Su/camera-calibration | 5d9ac1266202950c605065dc97e8d08c9e7e9eb0 | 73cf1adbe2ea0cfb5fbfb8ee2efffa39658d4d28 | refs/heads/master | 2023-06-07T17:21:48.979240 | 2021-07-01T07:12:49 | 2021-07-01T07:12:49 | 143,122,023 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,968 | hpp | /**************************************************************************
This file is part of dgecalib, an effcient camera calibration library.
Copyright(C) 2017-2020, Zhilong(Dgelom) Su, all rights reserved.
**************************************************************************/
#pragma once
#include <type_tra... | [
"su-zl@seu.edu.cn"
] | su-zl@seu.edu.cn |
8895cad83567be708ba1d3b1490918f360be1200 | 6724a8351ccb974c4ee1fef0e458c401a8c96daa | /VirtualCreatures/Volumetric_SDL/Source/SceneObjects/VirtualCreatures/Limb.cpp | 28f0cf6e8bec3936493fafb571d4fabd1285bbfb | [
"Zlib"
] | permissive | fernicar/EvolvedVirtualCreaturesRepo | 73985b000a23b5e18f1909341abd08632e919488 | 4efaba960c7c56a08faaaeb1f3cae91a9ef1e54e | refs/heads/master | 2021-01-11T22:44:36.944115 | 2017-01-15T13:26:53 | 2017-01-15T13:26:53 | 79,027,931 | 0 | 0 | null | 2017-01-15T11:15:59 | 2017-01-15T11:15:59 | null | UTF-8 | C++ | false | false | 29,975 | cpp | #include <SceneObjects/VirtualCreatures/Limb.h>
#include <SceneObjects/VirtualCreatures/SceneObject_Creature.h>
#include <Utilities/UtilFuncs.h>
float Limb::s_minInitTimerRate = 0.05f;
float Limb::s_maxInitTimerRate = 0.6f;
float Limb::s_minInitTimerTime = 0.0f;
float Limb::s_maxInitTimerTime = 0.9f;
LimbGenes::Lim... | [
"nullpointer222464@gmail.com"
] | nullpointer222464@gmail.com |
3fb9dd6ce18d340f67abae383f0819c3857aa5a9 | bb82a5f977bef455714c16e24e2d8254e2d0faa5 | /tests/src/probable_stuck_events_manager/src/test.cpp | 33423ccef38371ee9bb3ee1763c49db12ba409f6 | [
"Unlicense"
] | permissive | pqrs-org/Karabiner-Elements | 4ae307d82f8b67547c161c7d46d2083a0fd07630 | d05057d7c769e2ff35638282e888a6d5eca566be | refs/heads/main | 2023-09-01T03:11:08.474417 | 2023-09-01T00:44:19 | 2023-09-01T00:44:19 | 63,037,806 | 8,197 | 389 | Unlicense | 2023-09-01T00:11:00 | 2016-07-11T04:57:55 | C++ | UTF-8 | C++ | false | false | 12,051 | cpp | #include "probable_stuck_events_manager.hpp"
#include <boost/ut.hpp>
int main(void) {
using namespace boost::ut;
using namespace boost::ut::literals;
"probable_stuck_events_manager"_test = [] {
krbn::probable_stuck_events_manager m;
// ----------------------------------------
// key_down, key_up
... | [
"tekezo@pqrs.org"
] | tekezo@pqrs.org |
989a1f96d221366bb9889301e3c107ac67c9c938 | 7d2607d4449836abf3c9f0148c458098089649c8 | /u3/e1/owl.cc | f4656c3fb2d1269e586374362fd30a0008b60ffb | [] | no_license | Timo-Vehvilainen/Cplusplus_Aalto_course | b6233d74f901d1ad80d0308f7f0bebd3633b4fb1 | 64d5322b85f296be841d755f313320d937c3fa10 | refs/heads/master | 2021-05-21T06:39:56.954056 | 2020-04-02T23:40:44 | 2020-04-02T23:40:44 | 252,588,264 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 122 | cc | #include "owl.hh"
void Owl::speak(std::ostream& os) const{
os << (this->getName()) << ": WHUU" << std::endl;
return;
}
| [
"noreply@github.com"
] | Timo-Vehvilainen.noreply@github.com |
9ad4ad7bfc8a2f76f76c5be012d4ae45ab1bb25a | 078aa7712611fc45fc0d1733a2a33eaec404b609 | /Svid/ModelUni.h | 3110d111943518d7d123d7781423c2e4cec12e76 | [] | no_license | koboveb/SVID.T3 | eeb80e140c9705fd025d44468d37b1a74a04a763 | 186ac5e7d6926cfb5a2315d255ed01fa8a2f7bb8 | refs/heads/master | 2020-08-26T15:16:23.463575 | 2020-02-23T17:35:31 | 2020-02-23T17:35:31 | 217,052,598 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,538 | h | #ifndef MODELUNI_H
#define MODELUNI_H
#include "StorProject.h"
//#include "StorCache.h"
//#include "StorData.h"
enum typemodel { PROJECT, CACHE, DOCUM, MAXNUM, DATA, DOCKEY, DOCPROJECT };
class ModelUni: public QAbstractTableModel
{
//Q_OBJECT
public:
ModelUni(typemodel TypeModel, StorProject *StPr);
int ... | [
"koboveb@gmail.com"
] | koboveb@gmail.com |
06c0efb676fe83a70f1a694448535eade4e11bc8 | 0281aa00053607d3cbc273479d7fb4d3d1c9d359 | /board.h | 5e931815e4e5977d52029b864b4d29fb41ec87a2 | [
"MIT"
] | permissive | mattvchandler/mancala | 291c950f2930c7507988d8574ae7c7012da0233c | b43dadb80c9b2e57b8bee8c1322030f597b84d93 | refs/heads/master | 2021-01-25T07:27:49.387333 | 2015-10-01T21:34:13 | 2015-10-01T21:34:13 | 6,598,500 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,725 | h | // board.h
// Mancala board representation
// Copyright Matthew Chandler 2014
#ifndef MANCALA_BOARD_H
#define MANCALA_BOARD_H
#include <thread>
#include <vector>
#include <sigc++/sigc++.h>
namespace Mancala
{
enum Player {PLAYER_1, PLAYER_2};
// Bead data
class Bead
{
public:
Bead(const... | [
"tardarsauce@gmail.com"
] | tardarsauce@gmail.com |
9ef79ba2504ea9b149f3fe784b946550fee63c23 | d324b3d4ce953574c5945cda64e179f33c36c71b | /php/php-sky/grpc/test/cpp/interop/http2_client.cc | 2aa1b1f1b7cce5701ba8c39ebdcc1d518b5eb436 | [
"Apache-2.0"
] | permissive | Denticle/docker-base | decc36cc8eb01be1157d0c0417958c2c80ac0d2f | 232115202594f4ea334d512dffb03f34451eb147 | refs/heads/main | 2023-04-21T10:08:29.582031 | 2021-05-13T07:27:52 | 2021-05-13T07:27:52 | 320,431,033 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 8,062 | cc | /*
*
* Copyright 2016 gRPC 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 la... | [
"root@localhost.localdomain"
] | root@localhost.localdomain |
54ae5f93e86c4891e983cab171954a4a70a0387f | 242ad5f61dd260f2b65e2ab0ddf9404d85fbbe13 | /_7segmentos/_7segmentos.ino | ee7ae9e079231aff216c446436e4b15f7b4e49c8 | [] | no_license | CrissDeveloper/Arduino | 6f09a26a9893e148914cc53e684c5f651c5b757b | 0cafe602245c6357b26dbcb6bd904c13c2a477d8 | refs/heads/master | 2021-08-08T16:27:43.234150 | 2017-11-10T17:51:50 | 2017-11-10T17:51:50 | 110,266,397 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,132 | ino | void setup() {
for (int i = 6; i <= 13; i++) {
pinMode(i,OUTPUT);
}
}
void loop() {
//0 = LOW, 1 = HIGH
//Zero
digitalWrite(13,0);
digitalWrite(12,1);
digitalWrite(11,1);
digitalWrite(10,1);
digitalWrite(9,1);
digitalWrite(8,1);
digitalWrite(7,1);
digitalWrite(6,0);
delay(1000);
//... | [
"cris_valentini94@hotmail.com"
] | cris_valentini94@hotmail.com |
3bee157a1e8771587183adfd1dade28ba8e13b0b | f6439b5ed1614fd8db05fa963b47765eae225eb5 | /content/browser/renderer_host/media/video_capture_controller_unittest.cc | 367095fa02ea6410189b57f76c7340c06f9690f3 | [
"BSD-3-Clause"
] | permissive | aranajhonny/chromium | b8a3c975211e1ea2f15b83647b4d8eb45252f1be | caf5bcb822f79b8997720e589334266551a50a13 | refs/heads/master | 2021-05-11T00:20:34.020261 | 2018-01-21T03:31:45 | 2018-01-21T03:31:45 | 118,301,142 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 26,509 | cc | // Copyright (c) 2012 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.
// Unit test for VideoCaptureController.
#include <string>
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "base/memory/ref_counted.h... | [
"jhonnyjosearana@gmail.com"
] | jhonnyjosearana@gmail.com |
75b834f49f40d5bdfe62a029982b2d58bb61b660 | ad2d392f73f6e26b4f082fb0251b241a7ebf85a8 | /abc/reiwa/188/d.cpp | c49f0e0681be9f26755372e32607a302e1f2c68c | [] | no_license | miyamotononno/atcoder | b293ac3b25397567aa93a179d1af34add492518b | cf29d48c7448464d33a9d7ad69affd771319fe3c | refs/heads/master | 2022-01-09T23:03:07.022772 | 2022-01-08T14:12:13 | 2022-01-08T14:12:13 | 187,175,157 | 0 | 0 | null | 2019-06-12T16:03:24 | 2019-05-17T08:11:58 | Python | UTF-8 | C++ | false | false | 1,102 | cpp | #include <algorithm>
#include <iostream>
#include <iomanip>
#include <cassert>
#include <cstring>
#include <string>
#include <vector>
#include <random>
#include <queue>
#include <cmath>
#include <unordered_map>
#include <set>
#include <map>
#define INCANT cin.tie(0), cout.tie(0), ios::sync_with_stdio(0), cout << fixed ... | [
"miyamoto-nozomu@g.ecc.u-tokyo.ac.jp"
] | miyamoto-nozomu@g.ecc.u-tokyo.ac.jp |
3477b4babc87921244789b332564cb1f78cdbb8f | 8889b483759190744615669d865698ccd0e05033 | /src/rpcmining.cpp | 00c50ba6bf82678735c94841f159f25af9e7fc6e | [
"MIT"
] | permissive | LatiumCoin/Latium | b22d576ece939101fc449265a1c2c9cf0f6bb863 | 9405d45fc954ec7d214b12a148b649fb8fb0ef35 | refs/heads/master | 2020-06-06T05:18:20.875447 | 2014-08-19T20:53:09 | 2014-08-19T20:53:09 | 19,510,310 | 6 | 7 | null | 2017-05-26T12:51:23 | 2014-05-06T20:52:10 | C++ | UTF-8 | C++ | false | false | 19,537 | cpp | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 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 "main.h"
#include "db.h"
#include "init.h"
#include "bitcoinrpc.h"
using name... | [
"buckygreen1@gmail.com"
] | buckygreen1@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.