blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3eed45d46706d246056f9545d97fd2f600db4eb9 | f3258c518cca3b6482ab1af4f92859ed5c77552f | /leetcode/may-2020-challenge/20-k-smallestinBST.cpp | 6aa15c1b948e813e9b4df6b0ab5efff38ca1491f | [] | no_license | cheekyAM/Competitive_coding | 57ec1a5990fc0495174bc10fa4945778b8a6e291 | 61585d7858e2c24973882fa3698fabfa6a72a412 | refs/heads/master | 2023-01-30T08:11:19.668832 | 2020-12-12T09:49:57 | 2020-12-12T09:49:57 | 272,531,414 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,349 | cpp | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode() : val(0), left(nullptr), right(nullptr) {}
* TreeNode(int x) : val(x), left(nullptr), right(nullptr) {}
* TreeNode(int x, TreeNode *left, TreeNode *right) : v... | [
"noreply@github.com"
] | noreply@github.com |
36e3f289a8d02f75b05a7237d38288f2d36247cf | 607e69f9e4440ef3ab9c33b7b6e85e95b5e982fb | /deps/museum/5.0.0/art/runtime/entrypoints/quick/quick_entrypoints_enum.h | da090ca8f5435b13277351b4950aef893e6ddddc | [
"Apache-2.0"
] | permissive | simpleton/profilo | 8bda2ebf057036a55efd4dea1564b1f114229d1a | 91ef4ba1a8316bad2b3080210316dfef4761e180 | refs/heads/master | 2023-03-12T13:34:27.037783 | 2018-04-24T22:45:58 | 2018-04-24T22:45:58 | 125,419,173 | 0 | 0 | Apache-2.0 | 2018-03-15T19:54:00 | 2018-03-15T19:54:00 | null | UTF-8 | C++ | false | false | 2,207 | h | /*
* Copyright (C) 2014 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... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
75713bdd779c0f929647ade3028108dc1d9f74ad | b09e42893aae5f6b8c455423db665184cb223129 | /lfr_simple/lfr_simple.ino | 7e966d2c1a48b4b1f54c141b70a039c4423f6f40 | [] | no_license | tushargarg2000/Testing-code-upload-arduino-LFR | af78223a0a9fb7d3396ffeb2fc01f8df0d216e1e | e3fc6beee1e7f6aece5ae28e3e4957aef3e17a90 | refs/heads/master | 2020-04-02T11:30:42.787572 | 2018-10-23T20:31:54 | 2018-10-23T20:31:54 | 154,392,657 | 0 | 12 | null | 2022-09-27T08:28:20 | 2018-10-23T20:29:39 | C++ | UTF-8 | C++ | false | false | 1,482 | ino | #define m1f 2 // for motor left
#define m1b 3
#define m2f 7 //for motor right
#define m2b 8
void setup() {
//for motors
pinMode(m1f, OUTPUT);
pinMode(m1b, OUTPUT);
pinMode(m2f, OUTPUT);
pinMode(m2b, OUTPUT);
pinMode(A3, INPUT); // for s2,s3,s4 IR sensors in the strip
pinMode(A1, I... | [
"noreply@github.com"
] | noreply@github.com |
ec88b9a75e34af23a86f68f0a6aacf0b16b5cc84 | 6d029bf3a482b907e3e0dd6bcb89119d5233057c | /KiernanBrown_A4/MyCamera.h | 0a6a01ca5b25884d3763792763b23bbea2c9f41e | [
"MIT"
] | permissive | KiernanBrown/Simplex_16-17-Summer | 6108f71f46638e442b897de14a29fba12970eee7 | 6c06b0afff1e825ad004b2eba96b9c82aabfe04c | refs/heads/master | 2020-05-31T09:57:20.174669 | 2017-08-11T18:07:13 | 2017-08-11T18:07:13 | 94,027,163 | 1 | 0 | null | 2017-06-11T19:32:38 | 2017-06-11T19:32:38 | null | UTF-8 | C++ | false | false | 5,869 | h | /*----------------------------------------------
Programmer: Alberto Bobadilla (labigm@gmail.com)
Date: 2017/06
----------------------------------------------*/
#ifndef __MYCAMERACLASS_H_
#define __MYCAMERACLASS_H_
#include "Definitions.h"
namespace Simplex
{
class MyCamera
{
vector3 m_v3Position = vector3(0.0f, 0.... | [
"kwb6721@g.rit.edu"
] | kwb6721@g.rit.edu |
8f245a5334d6acdcb833b663cea7a1b26fadf851 | b9cd09bf5c88e1a11284d27e2e2b91842424a743 | /Visual_C++_MFC_examples/Part 3 고급 사용자 인터페이스/19장 다중 뷰 인터페이스/DynSplitDemo/DynSplitDemo/DynSplitDemoView.cpp | 6123ab33b840d71d8cce5e9fa270f4ec3af6006c | [] | no_license | uki0327/book_source | 4bab68f90b4ec3d2e3aad72ec53877f6cc19a895 | a55750464e75e3a9b586dded1f99c3c67ff1e8c9 | refs/heads/master | 2023-02-21T07:13:11.213967 | 2021-01-29T06:16:31 | 2021-01-29T06:16:31 | 330,401,135 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,484 | cpp |
// DynSplitDemoView.cpp : CDynSplitDemoView 클래스의 구현
//
#include "stdafx.h"
#include "DynSplitDemo.h"
#include "DynSplitDemoDoc.h"
#include "DynSplitDemoView.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// CDynSplitDemoView
IMPLEMENT_DYNCREATE(CDynSplitDemoView, CHtmlView)
BEGIN_MESSAGE_MAP(CDynSplitDemoView, C... | [
"uki0327@gmail.com"
] | uki0327@gmail.com |
4c1ea12c0c0016f6caeaf5b77ae4384905d6b64a | 1a63c98b0e9b07e575319cf7eb21e6162bc71c2e | /src/c_gini_disjoint_sets.h | 01d22ad1b8f56fd7a4bc55ff1176fcd6238931d1 | [
"BSD-3-Clause"
] | permissive | afcarl/genieclust | de4623bf44692b1af06682ebce640f063229e089 | 963502c8a2c7996cf31cadedef8b02ae91c4053f | refs/heads/master | 2022-06-19T23:09:36.508455 | 2020-05-09T11:50:11 | 2020-05-09T11:50:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,822 | h | /* class CGiniDisjointSets
*
* Copyright (C) 2018-2020 Marek Gagolewski (https://www.gagolewski.com)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source ... | [
"m.gagolewski@gmail.com"
] | m.gagolewski@gmail.com |
1290e6795962550e18f7c97c0cabc058f3f3227e | c2a4d5d8f15e289463d5e0cf58fdae9db776416b | /caffe_3d/src/caffe/test/test_eltwise_layer.cpp | be0c134770999b424109982c34c93c280ccc75c6 | [
"LicenseRef-scancode-generic-cla",
"BSD-2-Clause",
"MIT"
] | permissive | wzmsltw/ECO-efficient-video-understanding | 412310c114f58765cf775df8e141d3adcb69aa58 | 465e3af0c187d8f6c77651a5c6ad599bb4cfc466 | refs/heads/master | 2020-03-24T19:56:55.212935 | 2018-07-30T16:26:31 | 2018-07-30T16:26:31 | 142,951,813 | 2 | 1 | MIT | 2018-07-31T02:28:09 | 2018-07-31T02:28:09 | null | UTF-8 | C++ | false | false | 8,100 | cpp | #include <algorithm>
#include <vector>
#include "gtest/gtest.h"
#include "caffe/blob.hpp"
#include "caffe/common.hpp"
#include "caffe/filler.hpp"
#include "caffe/vision_layers.hpp"
#include "caffe/test/test_caffe_main.hpp"
#include "caffe/test/test_gradient_check_util.hpp"
namespace caffe {
template <typename Type... | [
"zolfagha@bret.informatik.uni-freiburg.de"
] | zolfagha@bret.informatik.uni-freiburg.de |
003a00d8c6936a179aa0fc3cb051dff3db136075 | cf6ae38d4adf41e3eb219b8ac477aa7ca7c7d18a | /boost/libs/serialization/test/test_tools.hpp | 8bf7e6c51d61ff160be279e7a02f44facf971875 | [
"LicenseRef-scancode-unknown-license-reference",
"BSL-1.0"
] | permissive | ryppl/boost-history | a560df2bc79ffc7640f09d258599891dbbb8f6d0 | 934c80ff671f3afeb72b38d5fdf4396acc2dc58c | HEAD | 2016-09-07T08:08:33.930543 | 2011-07-10T13:15:08 | 2011-07-10T13:15:08 | 3,539,914 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,388 | hpp | #ifndef BOOST_SERIALIZATION_TEST_TOOLS_HPP
#define BOOST_SERIALIZATION_TEST_TOOLS_HPP
// MS compatible compilers support #pragma once
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
# pragma once
#endif
/////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
// test_tools.hpp
//
// (C) Copyright ... | [
"ramey@rrsd.com"
] | ramey@rrsd.com |
455d1e057888338ee08a431eb3fef5827f6aab3c | 62cec11c95d90be3bf84e29d76ee3e3785d9f59e | /280_Wiggle_sort/wiggle_sort_v2.cpp | 7e602c2496a30e342cc981d64fe7b233599d2592 | [] | no_license | Jody-Lu/Array | faec40f1ec18968dd3739c9f6cb6039aed86e7e5 | eaee6a529705b5973cb502d2fcb607ab0bedec08 | refs/heads/master | 2020-04-12T09:06:43.860700 | 2016-11-19T21:33:47 | 2016-11-19T21:33:47 | 63,844,260 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 427 | cpp | class Solution {
public:
void wiggleSort(vector<int>& nums) {
for(int i = 1; i < nums.size(); i++) {
if(i % 2 == 0) {
if(nums[i - 1] < nums[i]) {
swap(nums[i - 1], nums[i]);
}
}
else {
if(nums[i - 1] > nu... | [
"b00901192@ntu.edu.tw"
] | b00901192@ntu.edu.tw |
7fe8d62576671964c3f04dc790ed4ce6efac16d4 | 5e3668c77bb82d85bdaf7520bacf7038aefd7d57 | /src/mpiobject/port.datblock.cpp | 7830e7286dbda5717bc3f2950564539c4055a78b | [] | no_license | HKCaesar/hpgc_new | a424eaedda0149f17229bd75bb075ab766c507b2 | 97334bacadcca855ce4471510d5875aa97739205 | refs/heads/master | 2021-01-21T23:13:01.305695 | 2014-12-23T13:02:59 | 2014-12-23T13:02:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 212 | cpp | #include "port.datblock.h"
namespace port {
_b::_b()
: DID(0)
, nOffX(0)
, nOffY(0)
, nXSize(0)
, nYSize(0)
, PDID(0)
, PID(0)
, bDone(0)
, tStart(0.0)
, tEnd(0.0)
{
}
} | [
"ht.anglenx@gmail.com"
] | ht.anglenx@gmail.com |
5d80bfd5e9297ab796bbc29d4ef6158ba143591c | a909df0ba2abf695df4a7d15350312d4c6463c48 | /Kattis/triarea.cpp | c36330ebff411d2b1abf8af6be5d7d16b0bd89fa | [] | no_license | SayaUrobuchi/uvachan | 1dadd767a96bb02c7e9449c48e463847480e98ec | c213f5f3dcfc72376913a21f9abe72988a8127a1 | refs/heads/master | 2023-07-23T03:59:50.638063 | 2023-07-16T04:31:23 | 2023-07-16T04:31:23 | 94,064,326 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 127 | cpp | #include <iostream>
using namespace std;
int main()
{
int a, b;
scanf("%d%d", &a, &b);
printf("%g\n", a*b/2.);
return 0;
} | [
"sa072686@gmail.com"
] | sa072686@gmail.com |
a6cf570ac273d735645b944119d910898261f184 | 3ad9ce8835742384fb601da23e733db75e2d4962 | /src/uniq.cpp | 7b95d79d7e3fcb8020c4802d6bffd7c8052f49e4 | [
"MIT"
] | permissive | katakk/uniq | 191962e34e88714cd8c811324bb7e3013ce3a0dc | 7231c924803b11c3426f0225242cd30a7f799a5d | refs/heads/master | 2021-05-02T07:37:39.698105 | 2017-01-12T10:32:53 | 2017-01-12T10:32:53 | 16,806,698 | 0 | 1 | null | null | null | null | SHIFT_JIS | C++ | false | false | 6,082 | cpp | // uniq.cpp : アプリケーションのクラス動作を定義します。
//
#include "stdafx.h"
#include "BitmapWnd.h"
#include "uniq.h"
#include "MainFrm.h"
#include "uniqDoc.h"
#include "uniqView.h"
#include "uniq.h"
#include "SortableStringArray.h"
#include "MyDocTemplate.h"
#include "grepDlg.h"
#include ".\uniq.h"
#include "MyDocManag... | [
"kata@katakuri.sakura.ne.jp"
] | kata@katakuri.sakura.ne.jp |
56599cf9a7219e8e0183b9046d61fd198295812e | bb7549fe79697803e350ebde2e1211303fc62d04 | /mssdv4l2.cpp | 378f40ad3e2c930ce9d100978d116926756206e6 | [
"Apache-2.0"
] | permissive | yijiesun/mobilenet-ssd-embd | bba46b6414e2a6937f9b6ee0948ddffc82e67991 | d4ac02c6590885d424ac51390509ce699d4f76a9 | refs/heads/master | 2020-09-11T02:50:28.076886 | 2019-12-03T07:25:34 | 2019-12-03T07:25:34 | 221,917,017 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 16,902 | cpp | /*v4l2_example.c*/
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <fcntl.h>
#include <unistd.h>
#include <string.h>
#include <sys/ioctl.h>
#include <errno.h>
#include <linux/videodev2.h>
#include <sys/mman.h>
#include <sys/time.h>
#include <unistd.h>
#include <iostream>
#include <ioma... | [
"sunyijie520@126.com"
] | sunyijie520@126.com |
3d5bcb763b760e3c16d5a70e1de9abe4627fbed8 | 5ee0eb940cfad30f7a3b41762eb4abd9cd052f38 | /Case_save/case5/2700/epsilon | 556e0c98ff4be4e488f9752eeaecf43de6de831b | [] | no_license | mamitsu2/aircond5_play4 | 052d2ff593661912b53379e74af1f7cee20bf24d | c5800df67e4eba5415c0e877bdeff06154d51ba6 | refs/heads/master | 2020-05-25T02:11:13.406899 | 2019-05-20T04:56:10 | 2019-05-20T04:56:10 | 187,570,146 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,242 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6
\\/ M anipulation |
\*-------... | [
"mitsuaki.makino@tryeting.jp"
] | mitsuaki.makino@tryeting.jp | |
afa3597bcda95c8988e3aa1e4471eef1e75d3ccb | 7a4a7afd5578503b307a020d697796b6a2bcac6c | /cpp_tutorial/Source/cpp_tutorial/Public/TankAimingComponent.h | b79041c47c9b218a84e05404ba9f326cff28517b | [] | no_license | Thunderon/cpp_tutorial | 89a246751418afef1631c438789608a7fbff911b | 642cf8f84a7580d610fc49241594c8aeb6315265 | refs/heads/master | 2020-03-19T09:47:45.239805 | 2018-10-04T00:57:19 | 2018-10-04T00:57:19 | 136,317,767 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,142 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Components/ActorComponent.h"
#include "TankAimingComponent.generated.h"
//enum for aiming states
UENUM()
enum class EFiringStatus : uint8
{
Reloading,
Aiming,
Locked
};
UENUM()
enum clas... | [
"thunderon91@gmail.com"
] | thunderon91@gmail.com |
d2f14c396d70895f12be3e986be81755fb254568 | b275d0513843bbe34dfdf7d6ea04a1423b4526ee | /MLA/ICS/Assignment2/chinese_rem.cpp | 0f09ed850034b3718ac1ea71f097aa34b1cf8c70 | [] | no_license | niravsshaha/PICTLAB | 66f24bf08d7bf8535460ba3fd12937007e8b3486 | bb2fb66bf207b5630442fcc2cab0e9dd7fd9524c | refs/heads/master | 2020-08-27T12:57:52.720734 | 2019-10-24T19:25:12 | 2019-10-24T19:25:12 | 217,377,063 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,182 | cpp |
#include<bits/stdc++.h>
using namespace std;
int power(int x,int y,int m)
{
if(y==0)
return 1;
int temp=1;
for(int i=1;i<=y;i++)
{
temp*=x%m;
}
return temp;
}
int main()
{
int m[100],r[100],t[100],n,ans;
cout<<"Enter no of equations: ";
cin>>n;
for(int i=0;i<n... | [
"noreply@github.com"
] | noreply@github.com |
73f222955686cc91c58bb22a71972f671a3e30e6 | d1ad68da0d7d3a71c2d43d297d6fd3cffbbf75c2 | /codeforces/codefest18/b.cpp | 692cfcedcf353891b90f48444fba49910ddda2ee | [] | no_license | hamko/procon | 2a0a685b88a69951be7a9217dd32955f9500df57 | a822f8089a3063a158d47ea48c54aca89934f855 | refs/heads/master | 2021-01-17T00:00:10.915298 | 2020-02-24T06:24:33 | 2020-02-24T06:24:33 | 55,990,248 | 7 | 1 | null | 2020-02-24T06:24:34 | 2016-04-11T16:49:50 | C++ | UTF-8 | C++ | false | false | 5,241 | cpp | #include <bits/stdc++.h>
#include <sys/time.h>
using namespace std;
#define rep(i,n) for(long long i = 0; i < (long long)(n); i++)
#define repi(i,a,b) for(long long i = (long long)(a); i < (long long)(b); i++)
#define pb push_back
#define all(x) (x).begin(), (x).end()
#define fi first
#define se second
#define mt make... | [
"wakataberyo@gmail.com"
] | wakataberyo@gmail.com |
1365cf7d6ae6229a6936aef938ac76329fe43fe7 | 6da6f90a45c787c421612c732eec0022bfd68e08 | /code/application/basegamefeature/statehandlers/gamestatehandler.cc | cff50e6d7a36445fdc8ecd43dc412dd132377367 | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-2-Clause"
] | permissive | kimsama/nebula-trifid | f6f7d0be2e245cfe1e94a987588024d22687a567 | 1770fb9280e8002414526f486f24b5e862d0c2e1 | refs/heads/master | 2021-01-17T04:57:57.406700 | 2015-03-31T21:58:48 | 2015-03-31T21:58:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,280 | cc | //------------------------------------------------------------------------------
// application/statehandler.cc
// (C) 2003 RadonLabs GmbH
//------------------------------------------------------------------------------
#include "stdneb.h"
#include "appgame/gameapplication.h"
#include "game/gameserver.h"
#include "ba... | [
"johannes@gscept.com"
] | johannes@gscept.com |
a3691ec38ed1100064bfd35577425bda4612d63f | 7096e9c7f583ed5dda3fa3bf4236344c5f739476 | /Software/INOs (Not most up to date)/Ex-Use/SPI_SLAVE/SPI_SLAVE.ino | 244d488b3e82ffd480c5c98b2cdbfe94bf594f74 | [] | no_license | TomFraser/FG-B-2016 | 5fd66fda75ac3ff43132579e5c8b10e2cd4136d6 | e86ddbc886c32f80d94d5899c208abe8a7a0bfe5 | refs/heads/master | 2021-03-27T10:20:59.547840 | 2018-04-15T10:53:11 | 2018-04-15T10:53:11 | 82,669,457 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 724 | ino | #include <t3spi.h>
#define dataLength 1
T3SPI SPI_SLAVE;
volatile uint8_t data[dataLength] = {};
volatile uint8_t recieveData[dataLength] = {};
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
SPI_SLAVE.begin_SLAVE(14, 11, 12, 10); // CLK, MOSI, MISO, SS
SPI_SLAVE.setCTAR_SLAVE(8... | [
"18135@student.bbc.qld.edu.au"
] | 18135@student.bbc.qld.edu.au |
9efc55a7136da8f9b326c8d91f07d27fb98a3912 | 0e8d57f10639b0bdcab2c89b307029697c909863 | /codeforces/GYM/102694/D/main.cpp | c951abaa31315e63a4d402e775df1b5e315b42fe | [
"Apache-2.0"
] | permissive | xirc/cp-algorithm | 07a6faf5228e07037920f5011326c16091a9157d | e83ea891e9f8994fdd6f704819c0c69f5edd699a | refs/heads/main | 2021-12-25T16:19:57.617683 | 2021-12-22T12:06:49 | 2021-12-22T12:06:49 | 226,591,291 | 15 | 1 | Apache-2.0 | 2021-12-22T12:06:50 | 2019-12-07T23:53:18 | C++ | UTF-8 | C++ | false | false | 2,155 | cpp | #include <bits/stdc++.h>
using namespace std;
int N, M;
vector<vector<pair<int,int>>> G;
const int inf = numeric_limits<int>::max();
const int L = 30;
vector<int> tin, tout;
vector<vector<int>> parents;
vector<vector<int>> maxflows;
int dfs(int u, int p, int w, int timer) {
tin[u] = ++timer;
parents[u][0] =... | [
"xirckey@gmail.com"
] | xirckey@gmail.com |
98ca51837bb3b487ebddf324059618538edd7dd4 | b7ee9ac14d6981e18fa1b19214366878a4884a42 | /Samples/Audio/Source/CViewDemo.h | b4754b2bde576557f2fabb68adb69003a6fbfb3a | [
"MIT"
] | permissive | skylicht-lab/skylicht-engine | 89d51b4240ca6ed5a7f15b413df5711288580e9e | ff0e875581840efd15503cdfa49f112b6adade98 | refs/heads/master | 2023-09-01T02:23:45.865965 | 2023-08-29T08:21:41 | 2023-08-29T08:21:41 | 220,988,542 | 492 | 46 | MIT | 2023-06-05T10:18:45 | 2019-11-11T13:34:56 | C++ | UTF-8 | C++ | false | false | 413 | h | #pragma once
#include "ViewManager/CView.h"
#include "AudioStream/CZipAudioStreamFactory.h"
#include "AudioStream/CZipAudioFileStream.h"
class CViewDemo : public CView
{
protected:
CZipAudioStreamFactory *m_streamFactory;
public:
CViewDemo();
virtual ~CViewDemo();
virtual void onInit();
virtual void onDestr... | [
"hongduc.pr@gmail.com"
] | hongduc.pr@gmail.com |
57b18e3f4906c1c403a6aeba850c0d7dbba06d77 | 4352b5c9e6719d762e6a80e7a7799630d819bca3 | /tutorials/eulerVortex.twitch/eulerVortex.cyclic.twitch.test.test/processor1/3.18/U | ac1b3f2c83e113c736525fb92832bb9ebffa7714 | [] | no_license | dashqua/epicProject | d6214b57c545110d08ad053e68bc095f1d4dc725 | 54afca50a61c20c541ef43e3d96408ef72f0bcbc | refs/heads/master | 2022-02-28T17:20:20.291864 | 2019-10-28T13:33:16 | 2019-10-28T13:33:16 | 184,294,390 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 122,984 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6
\\/ M anipulation |
\*-------... | [
"tdg@debian"
] | tdg@debian | |
aa08c866b5c44fe927704d82ae652865dfbff2a4 | 199d8984e8d54c7f63897639ab7fed5ccca67e22 | /Homework3/animal.cpp | 5c8fab9662d05ffcd127145c367edc5a818166a9 | [] | no_license | Garchbold/CS32 | 8b06b21d0d125fe31c32ddfb9962b78ebbfe1406 | 77700f75e033eabc04149e81d1b3fcf9910558b7 | refs/heads/master | 2021-04-29T03:15:32.152101 | 2017-01-04T19:16:55 | 2017-01-04T19:16:55 | 78,045,159 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,166 | cpp | //
// main.cpp
// animal
//
// Created by George Archbold on 4/28/15.
// Copyright (c) 2015 George Archbold. All rights reserved.
//
#include <iostream>
using namespace std;
class Animal{
public:
Animal(string name){
m_name = name;
}
string name() const{
return m_name;
}
virt... | [
"garchbold@g.ucla.edu"
] | garchbold@g.ucla.edu |
d40e8283027c4aafbc4bc5d3840cde2be883435e | de7e771699065ec21a340ada1060a3cf0bec3091 | /suggest/src/test/org/apache/lucene/search/suggest/analyzing/AnalyzingSuggesterTest.cpp | 45e7a8508ed4f03782da4fcbb4a47f1f07af6823 | [] | no_license | sraihan73/Lucene- | 0d7290bacba05c33b8d5762e0a2a30c1ec8cf110 | 1fe2b48428dcbd1feb3e10202ec991a5ca0d54f3 | refs/heads/master | 2020-03-31T07:23:46.505891 | 2018-12-08T14:57:54 | 2018-12-08T14:57:54 | 152,020,180 | 7 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 59,372 | cpp | using namespace std;
#include "AnalyzingSuggesterTest.h"
namespace org::apache::lucene::search::suggest::analyzing
{
using Analyzer = org::apache::lucene::analysis::Analyzer;
using CannedBinaryTokenStream =
org::apache::lucene::analysis::CannedBinaryTokenStream;
using BinaryToken =
org::apache::lucene::analys... | [
"smamunr@fedora.localdomain"
] | smamunr@fedora.localdomain |
32baf1aea05a795a420f90feaf12a79cdfaa2025 | b314f6bc92f753241786b58deb28068f24816164 | /TiAALS/ExternalObjects/IRWaveformObject/IRWaveformObject.cpp | eb877fa0f0f982145a823f86e8ce6fbb6eec5702 | [] | no_license | KeitaroTakahashi/TIAALS_KeitaroVer | 5de5be3959b93855cd3fca5e83ece623d3d014e8 | 1ff7920ab7f1cabe25155716a4990aea3d9dfd21 | refs/heads/main | 2023-04-12T18:24:35.997946 | 2021-04-13T10:46:21 | 2021-04-13T10:46:21 | 357,516,239 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,093 | cpp |
#include "IRWaveformObject.hpp"
IRWaveformObject::IRWaveformObject(Component* parent, IRStr* str, IRBoundType boundType) :
IRNodeObject(parent, "IRWaveform", str, boundType)
{
setOpaque(false);
this->controller.reset(new IRWaveformController2(str));
//this->controller->audioController.addChangeList... | [
"neoterize@mac.com"
] | neoterize@mac.com |
ad618056a501785925c93c3aae78563fb86f651f | 5c8a0d7752e7c37e207f28a7e03d96a5011f8d68 | /MapTweet/iOS/Classes/Native/AssemblyU2DCSharp_OnlineMapsGoogleDirections_Trans1741937192.h | f4c136e4deb920019c91e1c00239d6a02e3a7dae | [] | no_license | anothercookiecrumbles/ar_storytelling | 8119ed664c707790b58fbb0dcf75ccd8cf9a831b | 002f9b8d36a6f6918f2d2c27c46b893591997c39 | refs/heads/master | 2021-01-18T20:00:46.547573 | 2017-03-10T05:39:49 | 2017-03-10T05:39:49 | 84,522,882 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,048 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "mscorlib_System_Enum2459695545.h"
#include "AssemblyU2DCSharp_OnlineMapsGoogleDirections_Trans1741937192.h"
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang di... | [
"priyanjana@mac.com"
] | priyanjana@mac.com |
a4d27c49e1c0ae707c7f1f20e0a78ab6619f625c | 9b58a3ea82c85b619eb3a79eb08334b5dc554e66 | /dgmpp/Schematic.h | b0f8b36cb9cf3d5b8a98871c6b6a2356d8ac8b06 | [
"MIT"
] | permissive | zettaface/libdgmpp | e00acbefc0a294bd74d37afef6ac76b27a9f2c01 | 92fc862253b3ba20ab6d9f762f5fbaace702e22f | refs/heads/master | 2021-08-23T05:04:31.726498 | 2017-12-03T14:02:19 | 2017-12-03T14:02:19 | 110,130,256 | 0 | 0 | null | 2017-11-09T15:10:44 | 2017-11-09T15:10:44 | null | UTF-8 | C++ | false | false | 560 | h | #pragma once
#include "types.h"
namespace dgmpp {
class Schematic {
public:
Schematic(std::shared_ptr<Engine> const& engine, TypeID schematicID);
double getCycleTime() const {return cycleTime_;};
const Commodity& getOutput() const {return *output_;};
const std::list<const Commodity>& getInputs() const {retur... | [
"shimanski.artem@gmail.com"
] | shimanski.artem@gmail.com |
9f77dd5e619014f99611aa044a1543a879888ecc | 33ab9dfc536285d4b27e529d81a7942f4506dd3d | /c++/saccsim/src/Saccsim/forceupdater.h | a513f3d462beb5b2f3022559eb4954c7a131f612 | [] | no_license | ABRG-Models/OMM_NeuroMuscular | 77fea5566a542022147be6c5a37ba52ded780ff7 | 9c04f60a7257adaea68d84bc0720ec2ae5a52e9f | refs/heads/master | 2021-03-27T13:54:03.025378 | 2019-03-26T11:18:20 | 2019-03-26T11:18:20 | 90,134,810 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,594 | h | #ifndef FORCEUPDATER_H
#define FORCEUPDATER_H
#include <string>
#include <OpenSim/OpenSim.h>
#include <OpenSim/Common/Function.h>
#include <OpenSim/Common/FunctionSet.h>
using namespace std;
using namespace SimTK;
using namespace OpenSim;
class ForceUpdater : public ScheduledEventHandler
{
const MultibodySystem ... | [
"seb.james@sheffield.ac.uk"
] | seb.james@sheffield.ac.uk |
48ef8c6b6d71f0265496253a45afd877baf8b945 | a7372085d2c38ba75f5aca8dd52afd4fdb58aee3 | /SimDC3D-VirtualMachine.h | dec4bfdcd133ca17506921bb8ef7fa20280cd746 | [] | no_license | simdc3d/SimDC3D-Desenvolvimento | b9c46c4e8a1fb3ccc7ed9fd86aacd4dd6cac284d | d08bb4945fae9904636579dec0775c6bc678fbc4 | refs/heads/master | 2020-04-13T19:30:33.709069 | 2019-03-04T19:03:23 | 2019-03-04T19:03:23 | 163,404,616 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,725 | h | #pragma once
#include <math.h>
#include <vector>
#include <list>
#include <iostream>
#include <string>
#include <random>
#include "SimDC3D-Constants.h"
#include "SimDC3D-DataFlow.h"
#include "SimDC3D-TrafficMatrix.h"
using namespace std;
extern string WORKLOAD_DISTRIBUTION_MODEL;
extern bool DYNAMIC... | [
"marcos@SUPER_ZEUS.localdomain"
] | marcos@SUPER_ZEUS.localdomain |
0aa3ec02d6e7cca8602d82bd8a139aca13f22136 | afbc7d1461f3b162c5668b7c5df52fb7d0db70c1 | /main.cpp | 1b15a8164ac3765ce03ea74c50de15abbf944713 | [] | no_license | lenLRX/pytorch_multithread_test | 85defa4dfec1af27bc81793ba276b1dd93a8705f | e1c2d76e7f2b005d3c5212e4e16fdd9da4d0bb49 | refs/heads/master | 2022-12-22T10:41:48.181625 | 2020-09-28T16:56:27 | 2020-09-28T16:56:27 | 299,361,911 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,108 | cpp | #include <iostream>
#include <thread>
#include <vector>
#include <torchvision/models/resnet.h>
int main()
{
auto model = vision::models::ResNet18();
//model->eval();
model->to(torch::kCUDA);
auto worker_thread = [&model](){
std::cout << "thread " << std::this_thread::get_id() << " start" << st... | [
"545976176@qq.com"
] | 545976176@qq.com |
c9b34f89e148e3aafb5d546379a1575f1d6c4b66 | 5c79500b6e17d52d497ac2f8b262dc007da7f8de | /5.21.cc | 9461ba40b046f592c93d9614dc452b207ae07e91 | [] | no_license | carolp/carols | 41883bef1d9d91ca27c02047edfb82c46c6ef2b9 | ec92b0095cf3a200843333c074f1f4ae7a9a14da | refs/heads/master | 2021-01-19T00:34:42.884382 | 2013-11-24T10:10:05 | 2013-11-24T10:10:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 461 | cc | #include<iostream>
#include<vector>
using std::cin;
using std::cout;
using std::endl;
using std::vector;
int main(){
int p;
vector<int> ivec;
while(cin>>p){
ivec.push_back(p);
}
for(vector<int>::iterator iter=ivec.begin();iter!=ivec.end();++iter){
if(!*iter%2){
... | [
"793355146@qq.com"
] | 793355146@qq.com |
a7a69ce12f760534472ed82ef9bbb72ac1728f8f | 05d904fc0bad2d999fc5d0e7bfbceccb68122e84 | /Cpp_01_Introduction_to_Programming_in_Cpp/src/week_1.cpp | d70ac9c6f1ba1ca5e25f83fe78c1475548940d9d | [
"MIT"
] | permissive | k-wozniak/Courses | 2fe5a31a15cf91e104d1dcf9d26fb3958b379bfa | a09ac590f0b4bad813c60d3628d9cd1e98e3416b | refs/heads/main | 2023-07-18T08:27:04.507255 | 2021-09-08T14:33:12 | 2021-09-08T14:33:12 | 404,115,713 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 342 | cpp | #include "week_1.h"
#include <iostream>
using namespace std;
void Week1::Hello_World()
{
cout<<endl<<"Hello World!"<<endl;
}
void Week1::STD_Sum()
{
int num1, num2, sum;
cout<<"Please enter two numbers separated by a space:"<<endl;
cin>>num1>>num2;
sum = num1 + num2;
cout<<num1<<" + "<<num... | [
"kamil.krzysztof.wozniak@outlook.com"
] | kamil.krzysztof.wozniak@outlook.com |
f271a72ec6c9952ed945600a5c9b5fd7f15ecda6 | d40efadec5724c236f1ec681ac811466fcf848d8 | /branches/xt_branch/code/mission/missionparse.cpp | 4b233a82e6666115f80e13928cc1d2536a113c99 | [] | no_license | svn2github/fs2open | 0fcbe9345fb54d2abbe45e61ef44a41fa7e02e15 | c6d35120e8372c2c74270c85a9e7d88709086278 | refs/heads/master | 2020-05-17T17:37:03.969697 | 2015-01-08T15:24:21 | 2015-01-08T15:24:21 | 14,258,345 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 256,786 | cpp | /*
* Copyright (C) Volition, Inc. 1999. All rights reserved.
*
* All source code herein is the property of Volition, Inc. You may not sell
* or otherwise commercially exploit the source or things you created based on the
* source.
*
*/
/*
* $Logfile: /Freespace2/code/Mission/MissionParse.cpp $
* $Revision:... | [
"Goober5000@387891d4-d844-0410-90c0-e4c51a9137d3"
] | Goober5000@387891d4-d844-0410-90c0-e4c51a9137d3 |
f6e57a60cb8830cbce2a87a9bf51047a5ea241f5 | 1c0f1e83c14145a2f983d6ee488bc799328cbb03 | /src/TreeConstructor/FmtDot.cpp | 92c5949b18d186a4d3a28d62f50c914d8e7b283b | [] | no_license | gitmesam/DexGraph | 97bbd3f1d6be3f2a258a458ffddc688196cdc74d | dced4f7ee0a270212fb31afc40eab514a9aa0352 | refs/heads/master | 2020-05-09T18:05:37.280826 | 2017-03-01T15:56:30 | 2017-03-01T15:56:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,445 | cpp | #include <sstream>
#include <TreeConstructor/FmtDot.h>
#include <TreeConstructor/TCHelper.h>
auto constexpr tab_str = " ";
namespace Fmt
{
namespace Dot
{
std::string get_header(TreeConstructor::Node const& node)
{
std::stringstream header_ss;
header_ss << "digraph {\n";
header_ss << tab_str << "label=\""
... | [
"0ho.maxence0@gmail.com"
] | 0ho.maxence0@gmail.com |
da03a9a7961bf4ab9a21e663818380f4badd32d2 | f1bd4d38d8a279163f472784c1ead12920b70be2 | /Editors/ParticleEditor/UI_ParticleTools.cpp | 18f46d6f4ddf01a7dfd2dafb475e3620ef7bb23a | [] | no_license | YURSHAT/stk_2005 | 49613f4e4a9488ae5e3fd99d2b60fd9c6aca2c83 | b68bbf136688d57740fd9779423459ef5cbfbdbb | refs/heads/master | 2023-04-05T16:08:44.658227 | 2021-04-18T09:08:18 | 2021-04-18T18:35:59 | 361,129,668 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,413 | cpp | //---------------------------------------------------------------------------
#include "stdafx.h"
#pragma hdrstop
#include "ChoseForm.h"
#include "UI_ParticleTools.h"
#include "EditObject.h"
#include "ui_main.h"
#include "leftbar.h"
#include "PSLibrary.h"
#include "ParticleSystem.h"
#include "xr_trims.h"
#include "li... | [
"loxotron@bk.ru"
] | loxotron@bk.ru |
4f47c020909cb1b3cc26cb6609130a0d1d84dd5f | 12c1f30d1a04698c0541b661f3e6d311655ef618 | /C++ program/multilevel.cpp | bde1ea056394b8503a5f174df257d8bdd85b6f03 | [] | no_license | Minitechhacker/C- | 9a742006a321236710ac98b651cd163e6ea4373b | 06f318ab377eb24a2302e71bf482f5804233fadf | refs/heads/master | 2020-09-29T21:59:54.970470 | 2020-01-18T06:03:00 | 2020-01-18T06:03:00 | 227,131,675 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 546 | cpp | #include <iostream>
using namespace std;
class Animal
{
public:
void eat()
{
cout<<"Eating..."<<endl;
}
};
class Dog: public Animal
{
public:
void bark()
{
cout<<"Barking..."<<endl;
}
};
class BabyDog: public ... | [
"noreply@github.com"
] | noreply@github.com |
65d41e97bc99a89537b9faf704fc6453b4cbce61 | 2cf838b54b556987cfc49f42935f8aa7563ea1f4 | /aws-cpp-sdk-chime/include/aws/chime/model/AppInstanceUser.h | 155f5cb54d978294fd1605675036aaacb779b6a3 | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | QPC-database/aws-sdk-cpp | d11e9f0ff6958c64e793c87a49f1e034813dac32 | 9f83105f7e07fe04380232981ab073c247d6fc85 | refs/heads/main | 2023-06-14T17:41:04.817304 | 2021-07-09T20:28:20 | 2021-07-09T20:28:20 | 384,714,703 | 1 | 0 | Apache-2.0 | 2021-07-10T14:16:41 | 2021-07-10T14:16:41 | null | UTF-8 | C++ | false | false | 8,409 | h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/chime/Chime_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/DateTime.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace ... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
ba34fc5690b7dc4d23f4d995ecf10ebd63f880ed | 9ad8096a3f18b16789956e322dbc051b6705c15b | /Replace Words/Replace Words.cpp | b3d670e4ef4ae81f16f77cf1f3180c0d10eac20c | [] | no_license | CharleyLiu/Leetcode | f5682335ae037cfb5fdfe8cf7f0314fd4f1fd0c9 | 65994769f5b3278acb2aa8c1c45ee4ad6cfffeb7 | refs/heads/master | 2021-06-08T07:43:33.983395 | 2021-04-27T05:25:53 | 2021-04-27T05:25:53 | 154,584,137 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,506 | cpp | class Solution {
struct Node{
int end;
Node* next[26];
Node(){
end=-1;
for(int i=0;i<26;++i) next[i]=NULL;
}
void addStr(string& s,int pos,int& d){
if(pos==s.size()){end=d;return;}
int index=s[pos]-'a';
if(!next[inde... | [
"noreply@github.com"
] | noreply@github.com |
ef47f117dc69685125316e8762df139a03453349 | b268d3851ca046c80cc2e052d8b853f19b59d3fb | /GameEngine/include/qt/QtGui/5.4.1/QtGui/private/qopengl2pexvertexarray_p.h | 972538213b984cf5508b410a738245a769e9ae25 | [] | no_license | windless1015/CppGameEngine3D | 03419c01baafc2b941649954c1549f155b396172 | a26d830b8cd795eb797a3284038a03786ac2dc64 | refs/heads/master | 2022-03-27T10:15:55.351490 | 2016-03-16T19:22:55 | 2016-03-16T19:22:55 | 473,269,117 | 1 | 0 | null | 2022-03-23T16:24:37 | 2022-03-23T16:24:36 | null | UTF-8 | C++ | false | false | 5,037 | h | /****************************************************************************
**
** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtGui module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
**... | [
"benwolverine2019@gmail.com"
] | benwolverine2019@gmail.com |
eef956a0fa1f8244b6b4abb4170436b01761c2c2 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5766201229705216_0/C++/casvel/B.cpp | ba7fccd9b9cb2260b42b52e949917fb418d0f585 | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,074 | cpp | #include <iostream>
#include <cstdio>
#include <cstring>
#include <algorithm>
#include <vector>
#define For(i, a, b) for(int i=a; i<b; ++i)
#define MP make_pair
#define INF (1<<30)
using namespace std;
typedef pair <int, int> ii;
vector <vector <int> > AdjList;
int dp[1005][1005];
int f(int p, int u)
{
if (AdjLi... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
7cc91077341d13a50ec0257f1e34a8b66bba2e43 | 5456502f97627278cbd6e16d002d50f1de3da7bb | /ash/mus/bridge/wm_window_mus.cc | 336cb049c76511757314763cba0228e22725d2db | [
"BSD-3-Clause"
] | permissive | TrellixVulnTeam/Chromium_7C66 | 72d108a413909eb3bd36c73a6c2f98de1573b6e5 | c8649ab2a0f5a747369ed50351209a42f59672ee | refs/heads/master | 2023-03-16T12:51:40.231959 | 2017-12-20T10:38:26 | 2017-12-20T10:38:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 32,993 | cc | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ash/mus/bridge/wm_window_mus.h"
#include "ash/common/shelf/shelf_item_types.h"
#include "ash/common/wm/container_finder.h"
#include "as... | [
"lixiaodonglove7@aliyun.com"
] | lixiaodonglove7@aliyun.com |
1be105e1448456da5d5b74cd507cac0b5c7b14d6 | a62342d6359a88b0aee911e549a4973fa38de9ea | /0.6.0.3/External/SDK/Moose_Female_AnimBP_classes.h | 7f363e3c67b2849d85a609b5f5b4a01d58dbae36 | [] | no_license | zanzo420/Medieval-Dynasty-SDK | d020ad634328ee8ee612ba4bd7e36b36dab740ce | d720e49ae1505e087790b2743506921afb28fc18 | refs/heads/main | 2023-06-20T03:00:17.986041 | 2021-07-15T04:51:34 | 2021-07-15T04:51:34 | 386,165,085 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,705 | h | #pragma once
// Name: Medieval Dynasty, Version: 0.6.0.3
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Classes
//-----------------------------------------------... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
181d108a2817699070b082161ef21bbfbce01154 | 615e2726f39ab34fe3bc7d518f62a46de0efd251 | /src/bznode.h | e6cadb2feb50fdee5695dc727a32bef29166f1ab | [
"MIT"
] | permissive | xinam-is-not-a-miner/bitcoinzero | 0ac6434b969818162193baa093839b0d6a226426 | eba012de8d951d6291cc94c98f839c7cfd118037 | refs/heads/master | 2020-05-05T10:42:58.882223 | 2019-04-05T12:11:35 | 2019-04-05T12:11:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,258 | h | // Copyright (c) 2014-2017 The Dash Core developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BZNODE_H
#define BZNODE_H
#include "key.h"
#include "main.h"
#include "net.h"
#include "spork.h"
#include "timedata... | [
"devcon@gravitycoin.io"
] | devcon@gravitycoin.io |
7cc90460759687aa65de958248e67b9c8ce677c1 | 4b31387726e8e2b67d2678239499b1b3baa7e9a3 | /Sosnovskiy_Dmitriy_LR2/FunctionTreeNodeWithOperation.cpp | 5605ba6ef5f0e9d6da9f969768ec8f675585ba49 | [] | no_license | Ksenox/AISD_8381 | ec93203e727d6a45da1251503e9efac1c228d9ce | de1c5c00cad0dbcde1aebf18f3862a35119af360 | refs/heads/master | 2022-12-13T21:46:47.996646 | 2019-12-25T21:55:57 | 2019-12-25T21:55:57 | 206,580,371 | 9 | 6 | null | 2022-12-11T12:55:56 | 2019-09-05T14:13:02 | C++ | UTF-8 | C++ | false | false | 12,170 | cpp | #include "FunctionTreeNodeWithOperation.h"
FunctionTreeNodeWithOperation::~FunctionTreeNodeWithOperation()
{
if(leftNode != nullptr) delete leftNode;
if(rightNode != nullptr) delete rightNode;
}
FunctionTreeNodeWithOperation::FunctionTreeNodeWithOperation()
{
}
QString FunctionTreeNodeWithOperation::derivat... | [
"so.d18@yandex.ru"
] | so.d18@yandex.ru |
a2750d9e9649b76178b9a8dd86907d08b57c2ef7 | c2560f1da3847fdb915834b10e91eab6a7170909 | /Nayda/cardstacks.cpp | 21ae1bf57b2dad00a393f066405aea39e00504c9 | [] | no_license | Mar94oK/Nayda | f4227ae92a417b5453e26d5a727360d04b26e1e7 | 8c22901752e4f2e29e786355329e7ad833e68a03 | refs/heads/master | 2021-01-17T08:51:41.061474 | 2018-12-01T14:41:20 | 2018-12-01T14:41:20 | 83,962,734 | 0 | 1 | null | 2018-12-01T14:41:21 | 2017-03-05T10:43:42 | C++ | UTF-8 | C++ | false | false | 29,939 | cpp | #include "cardstacks.h"
#include "ui_cardstacks.h"
#include "munchkinglobaldefines.h"
CardStacks::CardStacks(QWidget *parent) :
QWidget(parent),
ui(new Ui::CardStacks)
{
ui->setupUi(this);
QRect HW_Screen_Size = QApplication::desktop()->screenGeometry();
int HW_Screen_Size_Width = HW_Screen_Size.w... | [
"maxim.uvarenkov@gs-labs.ru"
] | maxim.uvarenkov@gs-labs.ru |
41220466a1f03c247c0d8b098b1cdf318d08e167 | d7026ec192c96b6052747457e66b28e33fe64785 | /060.Permutation_Sequence.cpp | c8bdb9b8e991b5f127de6975b7d8fb3b09a59d7f | [] | no_license | coolsnowy/leetcode | c2d8811f0b8e5bbd72b213e3fd75cb6ce958339c | 3bf80c9be3da132c87c1807eb6c0c9df75131b9b | refs/heads/master | 2021-01-22T12:38:57.117367 | 2018-10-21T03:17:09 | 2018-10-21T03:17:09 | 102,354,054 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,779 | cpp | /**
* The set [1,2,3,…,n] contains a total of n! unique permutations.
By listing and labeling all of the permutations in order,
We get the following sequence (ie, for n = 3):
"123"
"132"
"213"
"231"
"312"
"321"
Given n and k, return the kth permutation sequence.
Note: Given n... | [
"lc.shang.cn@gmail.com"
] | lc.shang.cn@gmail.com |
0d122b7a6d4f6f4ab518a6e25cdcfbf8266e0af7 | 189f52bf5454e724d5acc97a2fa000ea54d0e102 | /interFoam/laminar/J29155334941477976881/sample/0.9/phiAlpha | 72d2c4eb04c498a63c1650ba0f61529f2dfcd519 | [] | no_license | pyotr777/openfoam_samples | 5399721dd2ef57545ffce68215d09c49ebfe749d | 79c70ac5795decff086dd16637d2d063fde6ed0d | refs/heads/master | 2021-01-12T16:52:18.126648 | 2016-11-05T08:30:29 | 2016-11-05T08:30:29 | 71,456,654 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 75,645 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.4.0 |
... | [
"peterbryz@yahoo.com"
] | peterbryz@yahoo.com | |
912e68bc1b143cb3391e17dbe75110c2bfe2fb67 | 844a2bae50e141915a8ebbcf97920af73718d880 | /Between Demo 4.1 and Demo 4.32/legacy_130_src/HARDWARE/HW_LIGHT.C | 59a5c3545b856c4dd3ab9f1ba04935cb89ac1ed3 | [] | no_license | KrazeeTobi/SRB2-OldSRC | 0d5a79c9fe197141895a10acc65863c588da580f | a6be838f3f9668e20feb64ba224720805d25df47 | refs/heads/main | 2023-03-24T15:30:06.921308 | 2021-03-21T06:41:06 | 2021-03-21T06:41:06 | 349,902,734 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 34,388 | c | // Emacs style mode select -*- C++ -*-
//-----------------------------------------------------------------------------
//
// $Id: hw_light.c,v 1.20 2000/08/10 19:58:04 bpereira Exp $
//
// Copyright (C) 1998-2000 by DooM Legacy Team.
//
// This program is free software; you can redistribute it and/or
// modify it un... | [
"67659553+KrazeeTobi@users.noreply.github.com"
] | 67659553+KrazeeTobi@users.noreply.github.com |
679e7a0e3adee9a6c19417a717a87b397bed335a | f0a32eb468fc3463061384929b1ed8de4d6276d7 | /project/C++/JustToFindYou1.0/DataManager.h | caaecd1bc4afd91f9502fc49c9619198a355c626 | [] | no_license | skrskr66/datastruct-C- | e5cc642d40e98b3dd66695d50fbf61540ca041ca | 92027e3b49e03731a655662a9261106947a29f83 | refs/heads/master | 2020-05-01T04:32:47.696185 | 2019-09-18T10:34:26 | 2019-09-18T10:34:26 | 177,277,693 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,721 | h | #pragma once
#include "Common.h"
class SqlManager
{
public:
SqlManager()
:_db(nullptr)
{}
~SqlManager()
{
Close();
}
void Open(const string &path);//打开数据库
void ExcutedSql(const string &sql);//执行sql语句
void GetTable(const string &sql, int& row, int& col, char**& pResult);//得到表中数据
void Close(... | [
"847020588@qq.com"
] | 847020588@qq.com |
d3cd7b62263d9045a121efdebd6cf707b4010f48 | 29e0ff76571947ed785ef4cb73899d572ff2caa1 | /src/network/client.h | d976eb6684d2e479f8257cd806b32062b3ef485f | [] | no_license | SimonN/Lix | b0ad837f208fe03cc7821a71145be2a10f2bfe16 | 845ace4cb360f832e58c8f417039a67b5d926474 | refs/heads/master | 2021-01-19T00:57:27.103756 | 2017-08-22T01:16:36 | 2017-08-22T01:17:18 | 1,491,253 | 28 | 12 | null | 2016-07-17T10:49:39 | 2011-03-17T11:39:36 | C++ | UTF-8 | C++ | false | false | 3,214 | h | /*
* network/client.h
*
* A concrete networking client.
*
* const std::vector <ReplayData>& get_replay_data();
*
* This will return new replay data, but the player numbers will have
* already been substituted by the players' positions.
*
* void send_replay_data(const ReplayData&);
*
* This will transl... | [
"eiderdaus@gmail.com"
] | eiderdaus@gmail.com |
63d7335b51937c784c10fe395574a789e75b58ed | 2d9b16f940f8e95aba16d7d363533aa0193877d5 | /Return value optimization/Return value optimization/Source.cpp | 76d2589c25bbfa3b81ee992fed23025d23fa72d5 | [] | no_license | swomack/cpp-tricks | 9925ae8ab26c7361e64fcbea8d8789465ed2978a | 8c111356fdc566bb5e95fede2d8c8d9bcf110532 | refs/heads/master | 2021-04-30T16:23:28.955369 | 2017-08-27T14:22:41 | 2017-08-27T14:22:41 | 80,009,577 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 519 | cpp | #include <iostream>
using namespace std;
class A
{
public:
int value;
A()
{
cout << "Constructor!" << endl;
}
~A()
{
cout << "Destructor!" << endl;
}
A(const A& c)
{
cout << "Copy constructor!" << endl;
}
};
A bar()
{
A a;
a.value = 10;
return a;
}
A foo(int c, int d)
{
A a = A();
A b =... | [
"rasheduzzaman.sourov@enosisbd.com"
] | rasheduzzaman.sourov@enosisbd.com |
a8981b541948b9479ccf88bf8a2f9185c5d24037 | cf64c8d5097388ab7959b24533b0fc0fc6b37a0a | /llvm/projects/compiler-rt/test/msan/dlerror.cc | 85dd1ad923924ca2f1229a8d26611d4db1e7a65b | [
"NCSA",
"MIT",
"Apache-2.0"
] | permissive | vusec/typesan | 5959c8330d34535d5b2516e1c833fcb358b07ca7 | 831ca2af1a629e8ea93bb8c5b4215f12247b595c | refs/heads/master | 2021-07-05T17:54:28.212867 | 2021-05-05T10:41:27 | 2021-05-05T10:41:27 | 65,472,228 | 33 | 17 | null | null | null | null | UTF-8 | C++ | false | false | 434 | cc | // RUN: %clangxx_msan -O0 %s -o %t && %run %t
//
// AArch64, MIPS64 shows fails with uninitialized bytes in __interceptor_strcmp from
// dlfcn/dlerror.c:107 (glibc).
// XFAIL: aarch64
// XFAIL: mips64
#include <assert.h>
#include <dlfcn.h>
#include <stdio.h>
#include <string.h>
int main(void) {
void *p = dlopen("/b... | [
"erik@minix3.org"
] | erik@minix3.org |
bf4bf4e9fc51ad2fb503ef7e36b880734fac2a0f | ccd52ab0f71ef1dba1a2f9e4a760d034eef7e341 | /app/app.cpp | 3009e1500293faee6690068908a8f61396ca08ae | [
"MIT"
] | permissive | Artalus/dssl_circles | abbd9e51658603c27c253c53aef7ad498fc9a13b | 35d633acaf6221a139d95ebec8b005e5a7cf5a83 | refs/heads/master | 2021-06-24T11:43:07.382985 | 2017-09-12T09:40:14 | 2017-09-12T09:40:14 | 102,987,872 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 90 | cpp | #include "app.h"
app::app(QWidget *parent)
: QMainWindow(parent)
{
ui.setupUi(this);
}
| [
"artalus-mail@yandex.ru"
] | artalus-mail@yandex.ru |
2825028828124e1da309781afb01dc2d5cdfe951 | b9404a88c13d723be44f7c247e1417689ce7981a | /SRC/External/stlib/packages/cpt/Vertex3.ipp | d5ed0222d4883d2d92f51e0399a58aa7be70cdfc | [
"BSD-2-Clause"
] | permissive | bxl295/m4extreme | c3d0607711e268d22d054a8c3d9e6d123bbf7d78 | 2a4a20ebb5b4e971698f7c981de140d31a5e550c | refs/heads/master | 2022-12-06T19:34:30.460935 | 2020-08-29T20:06:40 | 2020-08-29T20:06:40 | 291,333,994 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,600 | ipp | // -*- C++ -*-
#if !defined(__cpt_Vertex3_ipp__)
#error This file is an implementation detail of the class Vertex.
#endif
namespace cpt {
//! A vertex in 3-D.
template<typename T>
class Vertex<3, T> {
public:
//
// Public types.
//
//! The number type.
typedef T Number;
//! A... | [
"xctech@escaas.com"
] | xctech@escaas.com |
e68e803d2ea90ef84526077fd23571a2e5d67801 | e5c10e061e2391112674213f86eea3c22bc15d24 | /IGC/VectorCompiler/lib/GenXCodeGen/GenXPromoteArray.cpp | 77e2aaf745c14f6dfda5ad05a7269f55e3df7129 | [
"MIT"
] | permissive | sanjaymsh/intel-graphics-compiler | ada13941cf9f09dc90d7b5290a89a67797902e44 | 4c928ea1766f70d8394944306ba424e9221516ee | refs/heads/master | 2022-12-29T01:07:10.213500 | 2020-10-15T22:17:25 | 2020-10-16T01:26:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 42,660 | cpp | /*===================== begin_copyright_notice ==================================
Copyright (c) 2017 Intel Corporation
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, includi... | [
"sys_zuul@gerrit-gfx.intel.com"
] | sys_zuul@gerrit-gfx.intel.com |
b85b143f960be70d1c75ef11bd57ff71d8f3a27c | 8c121b5c3dc564eb75f7cb8a1e881941d9792db9 | /old_contest/at_coder_abc102_B.cpp | 90f9ff0370ee9fa6790a56397301fe100614a13d | [] | no_license | kayaru28/programming_contest | 2f967a4479f5a1f2c30310c00c143e711445b12d | 40bb79adce823c19bbd988f77b515052c710ea42 | refs/heads/master | 2022-12-13T18:32:37.818967 | 2022-11-26T16:36:20 | 2022-11-26T16:36:20 | 147,929,424 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,096 | cpp | #include <iostream>
#include <stdio.h>
#include <algorithm>
#include <map>
#include <math.h>
using namespace std;
#include <vector>
#define rep(i,n) for (ll i = 0; i < (n) ; i++)
#define INF 1e9
#define llINF 1e18
#define base10_4 10000 //1e4
#define base10_5 100000 //1e5
#define base10_6 1000000 //1e6
#... | [
"istorytale090415@gmail.com"
] | istorytale090415@gmail.com |
2f715cba8c4b11f402e937f079d837e0bafc01d9 | 19a7aa09141cdac4eb2b2a3bc8ddd0bcdf927ee7 | /indexing-service/src/linkchecker.cpp | f9fec063650512d208b87ccdd74c7e1d045f2e4b | [] | no_license | alu0101139456/SOA-RastreadorWeb-QT | 846bc4a94944fb6a4a1d3aae2f51993263c2d1e8 | df6d549f567d1be8ca555d88ef120740d0aad0eb | refs/heads/master | 2023-03-26T21:43:51.768626 | 2021-03-27T11:10:24 | 2021-03-27T11:10:24 | 352,050,300 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,686 | cpp | #include "linkchecker.h"
#include "testlinkchecker.h"
std::atomic<int> LinkChecker::currentTotalGetters_(0);
LinkChecker::LinkChecker(Actor* parent)
:Actor(parent)
{
}
LinkChecker::~LinkChecker()
{
}
void LinkChecker::request(const QUrl &url, int depth)
{
// Store original request info
originalUrl_ = u... | [
"alu0101139456@ull.edu.es"
] | alu0101139456@ull.edu.es |
a7e36ade0331b8635a658504884698ffc7b0e3b1 | 03675a095dcd16f61841383a299e049d90ee232c | /day02/ex00/Fixed.cpp | de7b4bc409fe745437d00231b2be49b1e65c63b7 | [] | no_license | braimbau/CPP | 8f4f9c3e114db06b7070967480d2712e33974fc9 | 2ff08d24abc5214a15889e93b3ab7d36f655a872 | refs/heads/master | 2023-03-27T06:13:31.265464 | 2021-03-30T08:30:30 | 2021-03-30T08:30:30 | 335,687,173 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 729 | cpp | #include "Fixed.hpp"
#include <iostream>
Fixed::Fixed(void) : fixed_value(0) {
std::cout << "Default constructor called" << std::endl;
}
Fixed::Fixed(const Fixed & src)
{
std::cout << "Copy constructor called" << std::endl;
*this = src;
}
Fixed::~Fixed() {
std::cout << "Destructor called" << std::endl;
}
Fixed... | [
"braimbau@student.42.fr"
] | braimbau@student.42.fr |
02f11bbe45c64ac7d4a92baaafc181009fb791a2 | a786992802699f556fcd99916f35fee72033c755 | /src/system.cpp | c682f27579901f633ca7135638a633bfb4de785a | [] | no_license | fedepiz/osdev | 4cd8150a771dfb254a1b26869cf56c2e72c56e2f | 936e04af97d3756a24a7d008450cfbf73dfce42d | refs/heads/master | 2021-01-10T12:13:42.947581 | 2015-06-09T13:50:42 | 2015-06-09T13:50:42 | 36,600,314 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,803 | cpp | #include <system.h>
void memcpy(void* dest, const void* src,int count) {
unsigned char* dest2 = (unsigned char*)dest;
const unsigned char* src2 = (const unsigned char*)src;
for(int i = 0; i < count;i++) {
dest2[i] = src2[i];
}
}
void memset(unsigned char* dest,unsigned char val, int size) {
for(int i = 0; i < ... | [
"pizzutifederico27@gmail.com"
] | pizzutifederico27@gmail.com |
4d54cc62816e8e32e5675d61c4e7912fc4db739f | 7b27b844bb2ab3c46162fe1005608cebbe9f657b | /dof/curve/src/CurveSolver.cpp | 9ae8c8e76b284b77feb397b24d5011bd3f3a9cb1 | [] | no_license | tristanschneider/syx | af36254469e7f77a134431a0a7d2601c83d4d580 | 95d9573339fe11a886ab6ca8060455357de4fdf0 | refs/heads/main | 2023-08-31T21:36:36.724283 | 2023-08-28T06:52:47 | 2023-08-28T06:52:47 | 97,346,704 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,942 | cpp | #include "Precompile.h"
#include "curve/CurveSolver.h"
#include "curve/CurveDefinition.h"
namespace CurveSolver {
float getDeltaTime(float curveDuration, float realTimeSeconds) {
return curveDuration == 0.0f ? 0.0f : realTimeSeconds / curveDuration;
}
float getDeltaTime(const CurveDefinition& definition, f... | [
"maneugeant@gmail.com"
] | maneugeant@gmail.com |
c0c770fe6c53dd275b41afca733dea12d93a3438 | 04f15913aca8a702efe47962bf82b60eedad73d9 | /Lib/GoogleApi/ServiceAccounts.h | 9983ce0cf83382a6939db36817dc36a3ff228758 | [] | no_license | DevilCCCP/Code | eae9b7f5a2fede346deefe603a817027a87ef753 | 9cc1a06e5010bb585876056a727abad48bca3915 | refs/heads/master | 2021-10-07T17:04:27.728918 | 2021-09-28T06:49:50 | 2021-09-28T06:49:50 | 166,522,458 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 810 | h | #pragma once
#include <QString>
#include "GoogleApi.h"
DefineClassS(Rsa);
class RestSender;
class ServiceAccount
{
GoogleApi::Scopes mScopes;
RestSender* mRestSender;
QByteArray mClientEmail;
RsaS mPrivateKey;
QString mToken;
public:
bool IsValid(GoogleApi::Scope s... | [
"DevilCCCP@gmail.com"
] | DevilCCCP@gmail.com |
dcdb325706e48c634484657b5ce97b51bb6b40b9 | beaccd4ca566e9f7f112b98dfe3e32ade0feabcc | /precomputation/segement_tree.cpp | 19843d40bf6b318e18b09caf40ca5a04c098bdeb | [] | no_license | maddotexe/Competitive-contest-programs | 83bb41521f80e2eea5c08f198aa9384cd0986cde | 4bc37c5167a432c47a373c548721aedd871fc6b7 | refs/heads/master | 2020-04-17T08:08:43.922419 | 2015-03-10T19:26:55 | 2015-03-10T19:26:55 | 31,177,844 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,226 | cpp | #include <iostream>
#include <algorithm>
#include <cstdio>
using namespace std;
int n;
pair<int, int> tree[3000005];
int ar[100005];
void initialise(int val, int b, int e)
{
if(b > e) return;
else if(b == e) {
tree[val].first = ar[b];
tree[val].second = ar[b];
return;
}
initial... | [
"agarwal.shubham21@gmail.com"
] | agarwal.shubham21@gmail.com |
3e5b9917ea4e0c5e50e9c9e424beb2df16b3fdeb | 644f3fa77483d05f8deb18cfec6c50d2827544f9 | /DirectShowFilters/TsWriter/source/TextUtil.cpp | 321ef972845277c8785037f9e472eb84a91869f2 | [] | no_license | hkjensen/MediaPortal-1 | 0870d2dde01b37b1de05e42b6f271ccc7d22ba42 | d4602508053c345ec0b2a00d28045c0650043193 | refs/heads/master | 2021-01-18T16:52:54.253551 | 2018-09-19T17:10:32 | 2018-09-19T17:10:32 | 7,067,442 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 91,075 | cpp | /*
* Copyright (C) 2006-2008 Team MediaPortal
* http://www.team-mediaportal.com
*
* This Program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later ve... | [
"tony@owlsroost.org.uk"
] | tony@owlsroost.org.uk |
fb8ead75ffba67cf17af21d1a4ee69141a09a594 | a73807518746c0d4a230c1bf5588185c442d1751 | /src/fi/iew_injfault.hh | 8211f031f8fdfed1b921569262b8f0cb3fd89dcc | [] | no_license | koparasy/faultinjection | 4dc8e8fe81328e5a91fa3c767a3b48a218bcdc47 | c5a5486992965fb8b407aedd968b6c81094ee7cb | refs/heads/master | 2021-01-10T07:56:18.649749 | 2013-02-26T09:12:57 | 2013-02-26T09:12:57 | 8,428,741 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,745 | hh | #ifndef __IEW_STAGE_INJECTED_FAULT_HH__
#define __IEW_STAGE_INJECTED_FAULT_HH__
#include "base/types.hh"
#include "fi/faultq.hh"
#include "cpu/o3/cpu.hh"
#include "fi/o3cpu_injfault.hh"
/*
* Insert a fault during the execute stage.
*
*/
class IEWStageInjectedFault : public O3CPUInjectedFault
{
public:
IEWS... | [
"koparasy@inf-rea.(none)"
] | koparasy@inf-rea.(none) |
d7a1ab614173b82de303bca85acb7fe4bdf615b9 | d0c44dd3da2ef8c0ff835982a437946cbf4d2940 | /cmake-build-debug/programs_tiling/function14331/function14331_schedule_4/function14331_schedule_4_wrapper.cpp | caa59f1b78b785e741ae0e79519443a1f660ff2f | [] | no_license | IsraMekki/tiramisu_code_generator | 8b3f1d63cff62ba9f5242c019058d5a3119184a3 | 5a259d8e244af452e5301126683fa4320c2047a3 | refs/heads/master | 2020-04-29T17:27:57.987172 | 2019-04-23T16:50:32 | 2019-04-23T16:50:32 | 176,297,755 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 987 | cpp | #include "Halide.h"
#include "function14331_schedule_4_wrapper.h"
#include "tiramisu/utils.h"
#include <cstdlib>
#include <iostream>
#include <time.h>
#include <fstream>
#include <chrono>
#define MAX_RAND 200
int main(int, char **){
Halide::Buffer<int32_t> buf00(64);
Halide::Buffer<int32_t> buf01(64);
... | [
"ei_mekki@esi.dz"
] | ei_mekki@esi.dz |
38f772a12007e7bd06f64ebeef87513e01ddae07 | dee330bea13a2593fc15ae1f76cf3a77596a8e3c | /RageInputDevice.h | 670f9a4fd94d0e60b4b66b93c14d7d512f2918fa | [] | no_license | Prcuvu/StepMania-3.95 | 13f456633a98edd9280e89d94a8d6bdfb848cfee | 4af304c51aeeedacd07f612d7f0e5ecaa81cce19 | refs/heads/master | 2021-01-18T20:58:35.412830 | 2013-10-19T01:48:23 | 2013-10-19T01:48:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,950 | h | /* RageInputDevice - User input types. */
#ifndef RAGE_INPUT_DEVICE_H
#define RAGE_INPUT_DEVICE_H
#include "RageTimer.h"
#include "EnumHelper.h"
const int NUM_JOYSTICKS = 16;
const int NUM_PUMPS = 2;
const int NUM_PARAS = 2;
enum InputDevice {
DEVICE_KEYBOARD = 0,
DEVICE_JOY1,
DEVICE_JOY2,
DEVICE_JOY3,
DEVICE_J... | [
"vertagis@gmail.com"
] | vertagis@gmail.com |
f212c1e326ea41aed1856b12ce8ec791a74bd953 | 3dc86dd9a7a4159406724124cb280d6f5e5bda29 | /Shared/Foundation/Script/ScriptClassInstance.cpp | 5f8d8ad17965677e933d39a8ee785236b0858763 | [] | no_license | hamfirst/StormBrewerEngine | 3e051fb6806277c8273031f0e9ab241659fafba4 | 491ff8e42022e01c43d72b6d7b4f76db439d8745 | refs/heads/master | 2023-03-17T02:23:34.827037 | 2023-03-10T17:24:23 | 2023-03-10T17:24:23 | 53,809,267 | 0 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,393 | cpp |
#include "Foundation/Common.h"
#include "Foundation/Script/ScriptClassInstance.h"
#include "Foundation/Script/ScriptInternal.h"
ScriptClassInstance::ScriptClassInstance(NotNullPtr<ScriptState> script_state, int global_id) :
m_ScriptState(script_state),
m_GlobalId(global_id)
{
}
void * ScriptClassInstance::Che... | [
"nick.weihs@gmail.com"
] | nick.weihs@gmail.com |
6ff3b5eb0be73c231513af011b160f03e8eba0a8 | 6064090b1fa003b346f1aae2d04a88828cc9275f | /Lab1PointersExercises/Exercise1.cpp | cf84d118fedbbe3d7ab6859ae854f7cd1d112700 | [] | no_license | juango8/AED | 6dc885c2aa51cdf21950ecd90e0392db61766b71 | 2640a66bab949b7a731eefdb46cfa5603a5872d5 | refs/heads/master | 2022-11-16T12:26:01.389129 | 2020-07-17T17:46:12 | 2020-07-17T17:46:12 | 110,571,356 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,197 | cpp | #include <iostream>
#include <cstdlib>
#include <ctime>
void cleanArr(int *Arr, const int *EndPos) {
for (; Arr != EndPos; Arr++)
*Arr = 0;
}
void function(int *Input, int *Output_1, int *Output_2, int Tam, bool (*pf)(int)) {
int *Temp1 = Output_1 + Tam;
int *Temp2 = Output_2 + Tam;
for (int *Temp = Input; Tem... | [
"jgonzalofh@hotmail.com"
] | jgonzalofh@hotmail.com |
474db0e93060197589a95f942c104879bf6bcac1 | 2f2fb57e4e2372f795cd8336244731a7a647fe78 | /NODE SOFTWARE REV4 FREEZE/ros_lib/ArduinoHardware.h | 3470f7c3bb0d4f9568d26700af28cfbae2838a59 | [] | no_license | skipper762/HADES_ROS | 928e7f2421996fba251af9a3db912837e9c540c0 | 52c72aecaf670f8d3ae252c35e688efa8d03a540 | refs/heads/master | 2021-08-31T17:46:40.819285 | 2017-12-22T08:49:56 | 2017-12-22T08:49:56 | 114,056,212 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,691 | h | /*
* Software License Agreement (BSD License)
*
* Copyright (c) 2011, Willow Garage, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must re... | [
"jzwunz@yahoo.com"
] | jzwunz@yahoo.com |
c459a371b7e143d1ce0fea0f820d5442b51de46f | 1196266a7aa8230db1b86dcdd7efff85a43ff812 | /VST3_SDK/pluginterfaces/vst/ivstautomationstate.h | 5a78e1d4c33e96e583654e4514ea0d0799bc40f3 | [
"LicenseRef-scancode-proprietary-license",
"GPL-3.0-only",
"Unlicense"
] | permissive | fedden/RenderMan | c97547b9b5b3bddf1de6d9111e5eae6434e438ee | e81510d8b564a100899f4fed8c3049c8812cba8d | refs/heads/master | 2021-12-11T18:41:02.477036 | 2021-07-20T18:25:36 | 2021-07-20T18:25:36 | 82,790,125 | 344 | 45 | Unlicense | 2021-08-06T23:08:22 | 2017-02-22T10:09:32 | C++ | UTF-8 | C++ | false | false | 2,465 | h | //------------------------------------------------------------------------
// Project : VST SDK
// Version : 3.6.7
//
// Category : Interfaces
// Filename : pluginterfaces/vst/ivstautomationstate.h
// Created by : Steinberg, 02/2015
// Description : VST Automation State Interface
//
//-------------------... | [
"github.com@schrieb.de"
] | github.com@schrieb.de |
55edb3275592b74b71968167917e7985f2d1a84a | 2fd5e5bade66c31b71e0d6ca5a3099fd32fb3988 | /Class/DATA_STRUCTURE/Homework/HW08/TreeNode.hpp | 5399f389ec002ae50ebfc1a17228e12a0d7edcf8 | [] | no_license | kimziou77/Linux | c44cfbc2afb82b09c515875cd21dfdd094e0b35d | ed24f6115f8cf3c03280e9810871f3abd2f81873 | refs/heads/master | 2021-07-20T07:35:20.084789 | 2020-07-04T05:28:10 | 2020-07-04T05:28:10 | 191,115,751 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 345 | hpp | #pragma once
#ifndef __TREENODE_H__
#define __TREENODE_H__
class TreeNode {
public:
TreeNode();
TreeNode(int data);
void setData(int data);
void setLeft(TreeNode* left);
void setRight(TreeNode* right);
int getData(void);
TreeNode* getLeft(void);
TreeNode* getRight(void);
private:
int data;
TreeNode* left;
Tr... | [
"kimziou77@naver.com"
] | kimziou77@naver.com |
fd3ea446badf4c97bdfef9fbdcbdab712718b687 | 5098a5bab107adb675b394b06093ed6913921ebc | /SDK/Grenade_StickyMine_classes.h | b5494806d46546df623d001cc11e12abfec6f61f | [] | no_license | tetosama/DRG-SDK | 87af9452fa0d3aed2411a09a108f705ae427ba1e | acb72b0ee2aae332f236f99030d27f4da9113de1 | refs/heads/master | 2022-03-31T00:12:10.582553 | 2020-01-18T21:21:43 | 2020-01-18T21:21:43 | 234,783,902 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,637 | h | #pragma once
// Name: , Version: 1.0.0
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
// Classes
//---------------------------------------------------------------------------
// BlueprintGeneratedClass Grenade_StickyMine.... | [
"39564369+tetosama@users.noreply.github.com"
] | 39564369+tetosama@users.noreply.github.com |
c3035d0b7cd5956c15df9fdecf32194fa917d2c0 | 61e9ac0ced730a59775edb3b72c0179bd34fce38 | /gbdtmain.cpp | 1439ee193b5022989518d4e8075cb10b37045cd0 | [] | no_license | codefarmer-cyk/gbdt | 20f82620ba0b6e7eb798723b43996c6ae10d4c29 | a1a7ae4f033568755207d68b68a5a9a61b846165 | refs/heads/master | 2021-01-17T22:36:05.079471 | 2015-09-24T14:07:36 | 2015-09-24T14:07:36 | 43,205,650 | 1 | 0 | null | 2015-09-26T13:05:53 | 2015-09-26T13:05:53 | null | UTF-8 | C++ | false | false | 2,251 | cpp | #include"GradientBoosting.h"
#include<iostream>
#include<cstdlib>
#include<cstdio>
using namespace Comm;
using namespace gbdt;
using namespace std;
int main(int argc,char * argv[])
{
for(int i=0;i<argc;i++)
{
cout<<argv[i]<<endl;
}
if(argc < 3)
{
printf("Usage: %s -c <config> -tr <newTrainOutput> -te <newTes... | [
"kainhuang0079@gmail.com"
] | kainhuang0079@gmail.com |
08fd5ecfb33cf957f9a92f0a180aca4136b5b0ac | 6c4699de64796bde99b9781ce6bcbbde5be4f2a4 | /External/opencv-2.4.6.1/modules/highgui/perf/perf_input.cpp | 414c85365f4510dbca3a5a64890eeb2b70156c47 | [] | no_license | simonct/CoreAstro | 3ea33aea2d9dd3ef1f0fbb990b4036c8ab8c6778 | eafd0aea314c427da616e1707a49aaeaf5ea6991 | refs/heads/master | 2020-05-22T04:03:57.706741 | 2014-10-25T07:30:40 | 2014-10-25T07:30:40 | 5,735,802 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,432 | cpp | #include "perf_precomp.hpp"
#if BUILD_WITH_VIDEO_INPUT_SUPPORT
using namespace std;
using namespace cv;
using namespace perf;
using std::tr1::make_tuple;
using std::tr1::get;
typedef perf::TestBaseWithParam<String> VideoCapture_Reading;
#if defined(HAVE_MSMF)
// MPEG2 is not supported by Media Foundation yet
// ht... | [
"simon@makotechnology.com"
] | simon@makotechnology.com |
92ff92c1435d9fd4936a390074cc5ebf04b19610 | fa59cfedc5f57e881679fb0b5046da8c911229ca | /10952 A+B - 5.cpp | 342bfff8d3bd0b264be5e911208d726b7b154e5b | [] | no_license | ju214425/algorithm | e2862df2c55490b97aefffaec99bb449a9db7e1f | db6d96eda3272a7faddaf11fdd02534d6231eafc | refs/heads/master | 2023-07-02T21:32:53.718629 | 2023-06-25T06:04:57 | 2023-06-25T06:04:57 | 193,701,850 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 142 | cpp | #include <cstdio>
int main(){
while(true){
int a, b;
scanf("%d", &a);
if(a == 0) break;
scanf("%d", &b);
printf("%d\n", a+b);
}
} | [
"2016025841@hanyang.ac.kr"
] | 2016025841@hanyang.ac.kr |
8a95cef3ba92bf317f4757bbb81cdb43f236e90b | 83bacfbdb7ad17cbc2fc897b3460de1a6726a3b1 | /v8_4_8/src/compiler/graph-replay.cc | 7f4cc95d91b0cf3c2a692165a9e78217df20d290 | [
"Apache-2.0"
] | permissive | cool2528/miniblink49 | d909e39012f2c5d8ab658dc2a8b314ad0050d8ea | 7f646289d8074f098cf1244adc87b95e34ab87a8 | refs/heads/master | 2020-06-05T03:18:43.211372 | 2019-06-01T08:57:37 | 2019-06-01T08:59:56 | 192,294,645 | 2 | 0 | Apache-2.0 | 2019-06-17T07:16:28 | 2019-06-17T07:16:27 | null | UTF-8 | C++ | false | false | 2,682 | cc | // Copyright 2014 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/compiler/graph-replay.h"
#include "src/compiler/all-nodes.h"
#include "src/compiler/common-operator.h"
#include "src/compiler/graph.h"
#i... | [
"22249030@qq.com"
] | 22249030@qq.com |
93a1005282c7ffcf55d844b90a80634625c9b652 | d498af7e8d3ab7a58a60371dda47476e9d6cb3c4 | /src/apps/Rubberbandman/RubberbandmanMainWidget.cpp | 936df8ec0207c641b6e5ef2f488299d9a49387b2 | [] | no_license | SvOlli/SLART | 3121e5fa310f7b7f34309a3b15c084ee5e023ad4 | 85b42c9ec874f32afdecedb49c84b0ad7416ec0b | refs/heads/master | 2020-12-24T17:55:05.152518 | 2018-01-26T07:40:11 | 2018-01-26T07:40:11 | 2,235,857 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,535 | cpp | /*
* src/apps/Rubberbandman/RubberbandmanMainWidget.cpp
* written by Sven Oliver Moll
*
* distributed under the terms of the GNU General Public License (GPL)
* available at http://www.gnu.org/licenses/gpl.html
*/
/* class declaration */
#include "RubberbandmanMainWidget.hpp"
/* system headers */
/* Qt headers ... | [
"svolli@svolli.org"
] | svolli@svolli.org |
4fa681d265f51db914c13439bfd3cfde497a2e20 | 800ccbdd721ebe4731e5fd4f1d4bc93f7cca214f | /util/format.h | 0cbf3469a6bbb2769f47ec0677538cada481d9ca | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | JarLob/binexport | afa9b73c08ea30e53a82887d90883c8f4c375008 | 17dc3ecb46f782428b5a23cc44bb852663f1c424 | refs/heads/master | 2021-04-21T20:51:10.918044 | 2020-03-13T13:56:56 | 2020-03-13T13:56:56 | 249,813,502 | 1 | 0 | Apache-2.0 | 2020-03-24T20:42:35 | 2020-03-24T20:42:35 | null | UTF-8 | C++ | false | false | 1,782 | h | // Copyright 2011-2020 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to... | [
"cblichmann@google.com"
] | cblichmann@google.com |
4033d0ee4b77ce4ad9bd392e104ad724c6f9c7ac | 56bdbe92763a6f6cca5f42ab7afa8e4945e755ce | /求完数.cpp | a6a1c5614fa4c0e22d3f670cee8422755ee0ae91 | [] | no_license | ysmilec/Basic-Programming | 1ebd83398545a813ba75fe936adb6e132fb81b5c | 7a72bf97cbfceb2006ae24412d897e7315e48e80 | refs/heads/master | 2020-03-15T19:36:05.917263 | 2018-05-06T06:25:08 | 2018-05-06T06:25:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 817 | cpp | #include <stdio.h>
int factorsum( int number );
void PrintPN( int m, int n );
int main()
{
int i, m, n;
scanf("%d %d", &m, &n);
if ( factorsum(m) == m ) printf("%d is a perfect number\n", m);
if ( factorsum(n) == n ) printf("%d is a perfect number\n", n);
PrintPN(m, n);
return 0;
}
int fact... | [
"1798490951@qq.com"
] | 1798490951@qq.com |
84f0070ada7b5a69d93356cc29259855d94b5c05 | 1bf7e21ac298969276e6f0cf91ad94703f744f89 | /Source/CompQuick/TheActor.cpp | b585b31c4726b336563c9d220d5b1816c26eda47 | [] | no_license | AlexeyOgurtsov/UE4SnippetComp | f6cd292e39e7be48a2f5d49195827e44fa45e00c | 2465d137d8b0b7b82a7856d8af110540498adc13 | refs/heads/master | 2020-06-02T12:52:24.047629 | 2019-06-10T12:00:28 | 2019-06-10T12:00:28 | 191,159,719 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,234 | cpp | #include "TheActor.h"
#include "Comp.h"
#include "Logging/LogMacros.h"
DECLARE_LOG_CATEGORY_EXTERN(ActLog, Log, All);
ATheActor::ATheActor()
{
UE_LOG(ActLog, Log, TEXT("ATheActor::ATheActor, Name=%s"), *GetName());
//CreateSubobj();
//CreateComp_Editable();
//CreateInstancedSubobj();
CreateComp_Subobject();
/... | [
"alexey_eng@mail.ru"
] | alexey_eng@mail.ru |
1cf8d67ed455996b7d16b7a1c58bc621e298831d | 6c13de06085970ee760fec8ca98028696249b208 | /source/core/HWLException.h | 717bbf5c35e758fa532ed9fee043e120fda74a9f | [] | no_license | nedron92/HWL-SaveEditor | ca6abedb173a2be7daba6d4ab268c8cd208d7bbc | 4259e42b4ee6d643859fc218e436c20c337cb358 | refs/heads/master | 2020-05-21T04:45:17.249351 | 2018-01-28T10:04:40 | 2018-01-28T10:04:40 | 55,291,582 | 19 | 2 | null | 2018-01-28T10:04:41 | 2016-04-02T11:41:04 | C++ | UTF-8 | C++ | false | false | 603 | h | /*
* @author: nedron92, 2016
*/
#pragma once
#include <exception>
//add the class to the project-namespace
namespace HWLSaveEdit
{
using namespace std;
//extend the standard-exception
class HWLException : public exception
{
private:
/* @var int i_error_code the current error-code */
int i_error_code;
... | [
"becker_leinad@hotmail.com"
] | becker_leinad@hotmail.com |
d22eba8142a0ab8ce26acd07f16638d916235c48 | 5098a5bab107adb675b394b06093ed6913921ebc | /SDK/ConsoleScreen_Bosco_parameters.h | a331b3bb88eb3c15eba66b7506be3a669235a174 | [] | no_license | tetosama/DRG-SDK | 87af9452fa0d3aed2411a09a108f705ae427ba1e | acb72b0ee2aae332f236f99030d27f4da9113de1 | refs/heads/master | 2022-03-31T00:12:10.582553 | 2020-01-18T21:21:43 | 2020-01-18T21:21:43 | 234,783,902 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,134 | h | #pragma once
#include "../SDK.h"
// Name: , Version: 1.0.0
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
// Parameters
//---------------------------------------------------------------------------
// Function ConsoleScr... | [
"39564369+tetosama@users.noreply.github.com"
] | 39564369+tetosama@users.noreply.github.com |
53465196d3d83770d33acab3964f41a6cf94647c | 38c10c01007624cd2056884f25e0d6ab85442194 | /remoting/signaling/jingle_info_request.cc | be0f75f5e52fc6f1866b31bdac55e12af5832e96 | [
"BSD-3-Clause"
] | permissive | zenoalbisser/chromium | 6ecf37b6c030c84f1b26282bc4ef95769c62a9b2 | e71f21b9b4b9b839f5093301974a45545dad2691 | refs/heads/master | 2022-12-25T14:23:18.568575 | 2016-07-14T21:49:52 | 2016-07-23T08:02:51 | 63,980,627 | 0 | 2 | BSD-3-Clause | 2022-12-12T12:43:41 | 2016-07-22T20:14:04 | null | UTF-8 | C++ | false | false | 3,673 | cc | // Copyright 2014 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 "remoting/signaling/jingle_info_request.h"
#include "base/bind.h"
#include "base/message_loop/message_loop.h"
#include "base/stl_util.h"
#includ... | [
"zeno.albisser@hemispherian.com"
] | zeno.albisser@hemispherian.com |
5a1e496a314f5df6d6c71020bf2fe3384abd310f | 052bd6c0fd3ae1e14168920b2ac1941296193024 | /src/common/detectorData.h | d653fae7bdca9ddba27306c0e751c6271b28b830 | [] | no_license | xepost/CudaVisionSysDeploy | 5315d39041a5b9ce7be7813e938bfedf51a0c1ce | 11926689beb2107ae807c483842d77e748c2f9b9 | refs/heads/master | 2021-01-09T06:47:03.724002 | 2016-11-07T11:28:36 | 2016-11-07T11:28:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,364 | h | /*
* detectorData.h
*
* Created on: Jul 23, 2015
* Author: adas
*/
#ifndef DETECTORDATA_H_
#define DETECTORDATA_H_
#include <inttypes.h>
#include "../common/operators.h"
template<typename T, typename C, typename P>
struct detectorData {
T *rawImg; // Raw input image
T *rawImgBW; // Raw gra... | [
"vcampmany@gmail.com"
] | vcampmany@gmail.com |
01f2ee7aa205b0008d1b7aff98d91bf55d1571c0 | a357404f1eede0b941dfad8422c9fac5a825499b | /Vector2.h | 0e1bbd3ea3bc6a5d0cf3233ae05d8ddf8ead3356 | [
"MIT"
] | permissive | queercat/Game-Engine-CXX | f2a5a2cec21b26245006d042f063cf7fa6050c92 | 68d8405718b6301e156dab467a3a88b1a17caebb | refs/heads/main | 2023-04-04T03:52:19.698482 | 2021-04-20T21:04:07 | 2021-04-20T21:04:07 | 359,623,404 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 466 | h | #pragma once
#include "Vector.h"
#include <iostream>
class Vector2 {
public:
Vector2();
Vector2(Vector start, Vector end);
Vector2(bool);
Vector2 add(Vector2);
Vector2 sub(Vector2);
Vector2 multiply(Vector2);
Vector2 divide(Vector2);
Vector2 rotate(double);
Vector2 rotate(double, Vector);
Vector getStart(... | [
"tusek.may@gmail.com"
] | tusek.may@gmail.com |
341fb8947f57180b9e29c4e005aaa34477487457 | b76848e8175ba943fd59247f7dd1e380c7411878 | /common/exception.hpp | 30d38b8faa54c2933413668d4b16b95e9ae9936e | [] | no_license | WatsonWangSZ/moon | 546108d46d74a15348caf7a08287f36fac3d564a | 4098e4bbb7848893f64968736b275cc1bdea0493 | refs/heads/master | 2020-03-25T17:50:28.364058 | 2018-08-08T03:52:41 | 2018-08-08T03:52:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,585 | hpp | /****************************************************************************
Git <https://github.com/sniper00/MoonNetLua>
E-Mail <hanyongtao@live.com>
Copyright (c) 2015-2017 moon
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
********************************************************************... | [
"hanyongtao@live.com"
] | hanyongtao@live.com |
fd1f7770f3a02b8d094b5fdab30d74ea3c4912ab | b99a1bd77d5ae6ea634d8bd8a15fa93c1b9125d9 | /pdfcanvas.cpp | ef2d7d8a16cfab61cf32e1f3350e5bbded358888 | [] | no_license | webstorage119/PDFReader | 3fd16de5b44998c9be9149acdaa4ec2ecdaa045f | 545fa463ab1249016636ee103bf5516a7a878cb2 | refs/heads/main | 2023-08-01T21:50:15.298055 | 2021-10-10T07:53:11 | 2021-10-10T07:53:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,793 | cpp | #include <QDebug>
#include <QPainter>
#include <QMouseEvent>
#include "pdfcanvas.h"
PdfCanvas::PdfCanvas(QWidget *parent) : QWidget(parent)
{
m_doc = nullptr;
m_curIndex = 0;
m_curPageY = 0;
m_multiple = 2.0;
}
PdfCanvas::~PdfCanvas()
{
delete m_scrollarea;
delete m_doc;
}
bool PdfCanvas::se... | [
"gong208z@163.com"
] | gong208z@163.com |
448cfd0245bc03f7e5b91a5641dc3cb481c08610 | f2fcef1d8f57b9c2663d8b485487b66ffe0581de | /blocking/server.cpp | 29b85806de193287df3bf6fad288cad1f74d46f6 | [] | no_license | saleemkheralden/multithreadedServer | c53e9271426caaad97992e5dcbe2f80d157810f8 | a5229f20911d30502d9407ce8c4426b8b67fa829 | refs/heads/main | 2023-07-27T05:28:40.416506 | 2021-08-31T17:26:15 | 2021-08-31T17:26:15 | 394,062,746 | 0 | 0 | null | 2021-08-20T18:44:36 | 2021-08-08T20:20:18 | C++ | UTF-8 | C++ | false | false | 4,956 | cpp | #include "server.h"
Server::Server() {
cout << "When calling the function start it must be called in a new thread!" << endl;
this->clients_thread_queue = queue<thread>();
this->clients_sockets_list = list<SOCKET>();
this->running = true;
}
Server::~Server() {
cout << "deconstructor" << endl;
for (SOCKET soc : ... | [
"saleemkheralden@gmail.com"
] | saleemkheralden@gmail.com |
6bba12d72f2440ca3db6b1c2ef106fc6859864e2 | 19bd30ab791748a0704dd04a41328536fc3c486b | /EmitterExample/Rain_concept/include/Vec2.h | 5a5217a5f96b3e3a10cba05e46cd5d8d94888852 | [] | no_license | SydneyDimitra/ASEexamples | 138049c553184762549f74485aa2ae370f845919 | 99790418c4bba2092ee7479c436e5e1e9d7773ed | refs/heads/master | 2021-01-19T18:04:19.344500 | 2019-01-18T13:42:51 | 2019-01-18T13:42:51 | 101,111,938 | 0 | 0 | null | 2018-05-13T19:07:40 | 2017-08-22T22:13:00 | C++ | UTF-8 | C++ | false | false | 696 | h | #ifndef VEC2_H_
#define VEC2_H_
#include <ostream>
template <typename T>
class Vec2
{
public:
Vec2() : m_x(0), m_y(0) {}
Vec2(T _x, T _y) : m_x(_x), m_y(_y) {}
friend std::ostream &operator<<(std::ostream &_o, const Vec2<T> _s)
{
return _o<< '[' <<_s.m_x<<','<<_s.m_y<<"]\n";
}
V... | [
"noreply@github.com"
] | noreply@github.com |
9ccc2eb04153b232b748af61debe94b07bbe1ac3 | 8d6d47d97f2889c213da13372c552ba66f4664d0 | /simulation/g4simulation/g4eval/BaseTruthEval.h | c3cef743cf8628fe1f2b36cda4bf60c218cffd71 | [] | no_license | mccumbermike/coresoftware | bf440bd90e183bd668d9cf95f855ddf46812a0a4 | cfe8912e9b362b2bee6cda6d051facde7b220828 | refs/heads/master | 2020-04-05T04:17:52.396368 | 2016-11-30T02:40:37 | 2016-11-30T02:40:37 | 41,013,413 | 1 | 0 | null | 2015-08-19T04:33:04 | 2015-08-19T04:33:04 | null | UTF-8 | C++ | false | false | 3,250 | h |
#ifndef __BASETRUTHEVAL_H__
#define __BASETRUTHEVAL_H__
#include <phool/PHCompositeNode.h>
#include <g4main/PHG4Hit.h>
#include <g4main/PHG4TruthInfoContainer.h>
#include <g4main/PHG4Particle.h>
#include <g4main/PHG4VtxPoint.h>
#include <g4main/PHG4Shower.h>
class BaseTruthEval {
public:
BaseTruthEval(PHComposit... | [
"michael.p.mccumber@gmail.com"
] | michael.p.mccumber@gmail.com |
33f880108d1c4c51998029cea6f7efb0ed17e219 | c301b25aa669521817d469dbe60971b9dbcecb42 | /src/testing.cpp | 430b004ca31506eb513ca79eb6f86fc9e2adc65f | [] | no_license | Wittmaxi/ThreadWeaver | 48f57ecc474018f0cd91b588202b3181f96e4775 | adbe5d99a96e1a5294c326666039a5a9157a532c | refs/heads/master | 2020-05-19T00:44:03.054499 | 2019-05-06T13:15:32 | 2019-05-06T13:15:32 | 184,741,546 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 982 | cpp | #include "threadweaver.hpp"
#include <iostream>
int main () {
TRW::ThreadScheduler ts(10);
for (int i = 0; i < 100; i++)
ts.runFunction([=] () {
for (int j = 0; j < 100000; j++)
;
std::cout << "thread 1 id " << i << " done\n";
});
ts.waitUntilAllD... | [
"wittmaxi@outlook.de"
] | wittmaxi@outlook.de |
e14096f4d856cdc27d733a1958e3b166d642031b | 077d8d3ec3906370580a4b4d57150eb676563a50 | /LeetCode/平衡二叉树/main.cpp | b46c7bd9fbec38d33dcc53947723a43cc178c3e5 | [] | no_license | byx2000/OJ | 8955053987ccd9eb8bb0e575269082d9114764ab | ec1c9b1ac6a6982f099481364761ea01a82c7db0 | refs/heads/master | 2023-03-07T18:03:49.294014 | 2021-02-19T13:59:07 | 2021-02-19T13:59:07 | 287,937,848 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,820 | cpp | // https://leetcode-cn.com/problems/ping-heng-er-cha-shu-lcof/
#include "../common/common.h"
// 递归1
class Solution1
{
public:
Solution1(TreeNode* root) : root(root) {}
bool solve()
{
return isBalanced(root);
}
private:
TreeNode* root;
int depth(TreeNode* root)
{
if (root... | [
"416982860@qq.com"
] | 416982860@qq.com |
94b9a3b17f46cd81dd4985a7d7df56657817963f | cb8e59744cec10f4833b2d67f3b0b67b0335dac0 | /src/include/gpopt/translate/CMappingColIdVarPlStmt.h | 5b28a3c3850ece80e20a20582f994624bc8b689c | [
"Apache-2.0",
"PostgreSQL"
] | permissive | jiny2/incubator-hawq | 4349937b90e3883202a4d7ffe7335d35b0d78a48 | d6ac62b7c4569e9320e395beaa04db24e9e3b011 | refs/heads/master | 2021-01-15T19:13:09.913306 | 2015-10-10T03:10:12 | 2015-10-10T03:10:12 | 43,993,714 | 1 | 0 | null | 2015-10-10T04:18:24 | 2015-10-10T04:18:24 | null | UTF-8 | C++ | false | false | 2,484 | h | //---------------------------------------------------------------------------
// Greenplum Database
// Copyright (C) 2011 Greenplum, Inc.
//
// @filename:
// CMappingColIdVarPlStmt.h
//
// @doc:
// Class defining the functions that provide the mapping between Var, Param
// and variables of Sub-query to CDXLNode duri... | [
"rvs@apache.org"
] | rvs@apache.org |
b2361139bde1517413d0b2f4f56d03fd57e49ecd | 4b4aa4fbbe21026ca4c8a2c3e9e8af62ff9ff19f | /src/algo/binary_search_biased.h | 299c0ee02b24c8871807da121a5594a3df08f65d | [
"Apache-2.0"
] | permissive | DenisYaroshevskiy/algorithm_dumpster | 961c75600232d030c2468a2300bad4531988f5d2 | 5e276d90f9bd9968b0a25ec57a91106aedecd021 | refs/heads/master | 2020-06-28T02:45:04.429293 | 2020-05-10T17:14:55 | 2020-05-10T17:14:55 | 200,123,104 | 3 | 3 | Apache-2.0 | 2020-03-08T10:25:46 | 2019-08-01T21:45:52 | C++ | UTF-8 | C++ | false | false | 6,975 | h | /*
* Copyright 2019 Denis Yaroshevskiy
*
* 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 agr... | [
"denis.yaroshevskij@gmail.com"
] | denis.yaroshevskij@gmail.com |
01cf0271d3d8ac76bd67cbd3fe1eb26cb0bb32a5 | 58fc1e297276e83c1bf4db5b17fc40e09bb3bceb | /src/CCA/Components/MPM/ConstitutiveModel/Biswajit/CamClay.h | b4abe387e5dfe1ae0eb463b3d090e7b0db8cbe22 | [
"MIT"
] | permissive | jholmen/Uintah-kokkos_dev_old | 219679a92e5ed17594040ec602e1fd946e823cde | da1e965f8f065ae5980e69a590b52d85b2df1a60 | refs/heads/master | 2023-04-13T17:03:13.552152 | 2021-04-20T13:16:22 | 2021-04-20T13:16:22 | 359,657,090 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,719 | h | /*
* The MIT License
*
* Copyright (c) 1997-2016 The University of Utah
*
* 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
* right... | [
"ahumphrey@sci.utah.edu"
] | ahumphrey@sci.utah.edu |
7b840e30429a5b39ea3e1ef56aeac94d5ddad019 | e27bf12f51bee67c8c069b43b4e01e063b34fdcb | /lastlab2/place.h | 635922bc3929fe15faefc63c8c88bb04700a8721 | [] | no_license | cheredovr/lastlab2 | 743f26c19cf86dee7d197c3d425d2042ca76212b | 08a99c6a6e4afc4218bcc070da50536e9939a368 | refs/heads/master | 2023-09-03T09:53:23.191824 | 2021-11-22T17:39:31 | 2021-11-22T17:39:31 | 430,806,640 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 336 | h | #pragma once
#define _CRT_SECURE_NO_WARNINGS
#include <iostream>
#include <stdio.h>
#include <conio.h>
#include <string>
#include <locale.h>
using namespace std;
struct place
{
public:
string country = "";
string city = "";
};
place initpl(string country, string city);
place inputpl();
void outpl(place cc);
place del... | [
"romacheredov@gmail.com"
] | romacheredov@gmail.com |
2a4253c8d38a2f8b9d4be23c95f99ffea3279110 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5708921029263360_0/C++/alueft/C-small.cpp | 5e7272c4809892aaf0cf9dae6af0d49ab38d1687 | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,306 | cpp | #include <bits/stdtr1c++.h>
using namespace std;
struct s {
int a, b, c;
s(int aa, int bb, int cc) : a(aa), b(bb), c(cc) {}
};
vector<int> v[28];
int ab[10][10], ac[10][10], bc[10][10];
int main() {
int t; cin >> t;
for (int T = 1; T <= t; T++) {
for (int i = 1; i < 28; i++)
v[i].clear();
cout ... | [
"alexandra1.back@gmail.com"
] | alexandra1.back@gmail.com |
2b0f5f314222fa7ef9bb95e268e05a55960e68d5 | 34b3623dbd185b9d8e6bc5af787ff656ebb8f837 | /finalProject/results/test/test_lowRe/spline/spline05/35/phi | 2a3ba195e304963e3c92c5cb1f48ba9ab453319f | [] | no_license | kenneth-meyer/COE347 | 6426252133cdb94582b49337d44bdc5759d96cda | a4f1e5f3322031690a180d0815cc8272b6f89726 | refs/heads/master | 2023-04-25T04:03:37.617189 | 2021-05-16T02:40:23 | 2021-05-16T02:40:23 | 339,565,109 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 96,130 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 7
\\/ M anipulation |
\*-------... | [
"kmeyer299@gmail.com"
] | kmeyer299@gmail.com | |
470f5ff390c93157ff40547f2e0a1b1244e777ab | b8a3ac433f26d54100e80f8eb88b634fd9767d1e | /FirstApplication/stdafx.cpp | 6fbf21079df6d851b1bac7e922df640387c5a1b7 | [] | no_license | rickyb4536/Average-age | ca86c7b1e6b3924fa2a06cafc6df62d52730c9e5 | 76986e7f316add8142d03b041dd3ee34050049da | refs/heads/master | 2021-03-12T22:45:57.479742 | 2017-05-16T14:36:34 | 2017-05-16T14:36:34 | 91,464,397 | 0 | 0 | null | 2017-05-16T14:36:35 | 2017-05-16T13:55:24 | null | UTF-8 | C++ | false | false | 295 | cpp | // stdafx.cpp : source file that includes just the standard includes
// FirstApplication.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
// TODO: reference any additional headers you need in STDAFX.H
// and not in this file
| [
"rickyb4536@gmail.com"
] | rickyb4536@gmail.com |
3b8d5f3e45f860b2de336fe98a0ca94021b81b24 | 4995425e05b7add39402d6595dd80a5816671d24 | /compiling_and_linking/test/ex1_inclusion/test_ex1.cpp | e94962da31dab4c05829f9f1fa23217c7e3c67d2 | [
"MIT"
] | permissive | alisonbelow/cpp-templates | 5749b22fc3aba6518f9737cbee305a4897585db0 | 870b3665d69413a0183ad227111725edabbd6ff2 | refs/heads/master | 2020-04-19T06:07:50.715058 | 2019-01-31T21:36:40 | 2019-01-31T21:36:40 | 168,009,142 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 289 | cpp | #include "ex1_inclusion/ex1.h"
#include "gtest/gtest.h"
TEST(TEMPLATES_LINKING_AND_COMPILING, ex1_inclusion)
{
f<int>();
f<bool>();
f<double>();
f<std::string>();
}
int main(int argc, char **argv)
{
::testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
} | [
"alisonbelow@gmail.com"
] | alisonbelow@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.