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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5057e0463d0283f3d559b2b6b8e09188b9849234 | 87d8af054e17e0c346b6f59636402883fbf0158d | /Cpp/SDK/BP_eye_col_black_03_Desc_classes.h | c3c11385818a9d3a83a5dabc4e6008e856f3e0a5 | [] | no_license | AthenaVision/SoT-SDK-2 | 53676d349bca171b5e48dc812fd7bb97b9a4f1d8 | 4a803206d707a081b86c89a4b866a1761119613d | refs/heads/main | 2023-03-20T10:48:21.491008 | 2021-03-10T21:55:10 | 2021-03-10T21:55:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 757 | h | #pragma once
// Name: sot, Version: 4.2
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Classes
//----------------------------------------------------------------... | [
"59620169+NtLoadDriverEx@users.noreply.github.com"
] | 59620169+NtLoadDriverEx@users.noreply.github.com |
481472ea21e507cbfba83e8488bb580ca84a04a7 | c56bcde04453ba80f618042f4fd79e37e3880b57 | /src/Config.cpp | 60527ce55aa648aaca0bcbcde7996aa4eda0230d | [] | no_license | jack111331/Ray | aa71a346d558b36fe13257de00cbcf75865c4ec3 | c174783f9c98ac420f934b042f918c6239281452 | refs/heads/master | 2023-06-21T00:20:04.207217 | 2021-07-08T09:04:49 | 2021-07-08T09:04:49 | 307,962,200 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,402 | cpp | //
// Created by Edge on 2020/7/8.
//
#include <string>
#include <fstream>
#include <sstream>
#include <Dielectric.h>
#include <BVH.h>
#include <Lambertian.h>
#include <IllumModelFactory.h>
#include "Config.h"
#include "Sphere.h"
#include "Triangle.h"
#include "Light.h"
#include "GeometryGroupObj.h"
#include "AreaLigh... | [
"jack111331@gmail.com"
] | jack111331@gmail.com |
2d034ce85c97d9905080647f437e8b1d306d4755 | 6e2e8592b602ac36de770ad101eed05405c982cc | /modules/common/proto/header.pb.cc | d0653b7f3a151e3cb1fb433be13a211d32f8a670 | [] | no_license | sxhxliang/Apollo-Lite | 6060dc361fd22b90fa2c986ee4dbbb6cf38d50ec | b59e1c6a9a88aa421e72fa709a80c10e868531f8 | refs/heads/main | 2023-04-09T19:04:15.275450 | 2021-04-17T18:25:22 | 2021-04-17T18:25:22 | 356,549,140 | 2 | 3 | null | null | null | null | UTF-8 | C++ | false | true | 33,545 | cc | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: modules/common/proto/header.proto
#include "modules/common/proto/header.pb.h"
#include <algorithm>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/extension_set.h>
#include <google/... | [
"626786864@qq.com"
] | 626786864@qq.com |
91af281783c266d8ccb3bdbad9861b91dc0b97f1 | 59179e4f655a40b421fa9aeda9c90736b8c11b1b | /compiler/.history/lab1/lexical_20210415000532.cpp | b38da7643d895bb2dd7861667fe6c3a3e71bd5be | [] | no_license | wjw136/course_designing_project | ccd39da420f0de22b39fa2fea032054f4cbe8bfd | 2614928bd779bc0d996857b123e2862836d81333 | refs/heads/master | 2023-06-04T12:52:40.501335 | 2021-06-17T13:19:23 | 2021-06-17T13:19:23 | 374,384,252 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 9,217 | cpp | #include <iostream>
#include <windows.h>
#include <string.h>
#include <queue>
#include <math.h>
#include "stdio.h"
#include <fstream>
#include <map>
#define ll long long
#define inf 100000
#define clr1(a) memset(a, -1, sizeof(a))
#define clr(a) memset(a, 0, sizeof(a))
using namespace std;
//reserved word
static char r... | [
"2831419633@qq.com"
] | 2831419633@qq.com |
1a7b9d6dc1138debf7bc72ae010037d6c396c77a | 01a42b69633daf62a2eb3bb70c5b1b6e2639aa5f | /SCUM_Dog_Rose_functions.cpp | 86653003c0333374c3fd9c9cd67f071ed9df084b | [] | no_license | Kehczar/scum_sdk | 45db80e46dac736cc7370912ed671fa77fcb95cf | 8d1770b44321a9d0b277e4029551f39b11f15111 | refs/heads/master | 2022-07-25T10:06:20.892750 | 2020-05-21T11:45:36 | 2020-05-21T11:45:36 | 265,826,541 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,739 | cpp | // Scum 3.79.22573 (UE 4.24)
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "../SDK.hpp"
namespace Classes
{
//---------------------------------------------------------------------------
//Functions
//---------------------------------------------------------------------------
// Function ConZ.FoodItem.OnR... | [
"65712402+Kehczar@users.noreply.github.com"
] | 65712402+Kehczar@users.noreply.github.com |
a3b4d55117dd60a26d1174e513fec99e84c08868 | 54d7ffe58f84ecd76aae4e51dff7dd2802e0a5dc | /src/old_classes/SF_WjetsREWGT.cxx | 66f493f104e02b509e8890bbfb83a3d352062fa8 | [] | no_license | denschwarz/MTopJet-1 | d9f29e64b2e4f1daaf474c8941c96d7843838e48 | 961171ecf55cc362989e56922753c0cbab178010 | refs/heads/master | 2021-01-11T01:33:10.488612 | 2016-10-11T12:20:59 | 2016-10-11T12:20:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,294 | cxx | #include <UHH2/MTopJet/include/SF_WjetsREWGT.h>
weightcalc_WjetsREWGT::weightcalc_WjetsREWGT() {}
float weightcalc_WjetsREWGT::weight(const uhh2::Event& evt_) const {
if(evt_.isRealData) return 1.;
float wgt(1.);
assert(evt_.genparticles);
const GenParticle* genW_ptr = genW(*evt_.genparticles);
if(genW... | [
"dennnis.schwarz@desy.de"
] | dennnis.schwarz@desy.de |
3d09332c72d9db0577f8bb7c397a604f5d273e1e | c24b5c1f14828769703dac4be36866944454a209 | /cpp/osoba/osoba.cpp | a147f4fa5da758269cdf1f1191f37ef04ea6d235 | [] | no_license | Matix426/gitrepo | 941792a56b6575bc9018d24a35c824630e112e4c | 31430958ad47551ce1713d5f8263e865ba14a49b | refs/heads/master | 2021-07-10T00:02:45.406676 | 2019-03-22T12:30:47 | 2019-03-22T12:30:47 | 103,923,089 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 67,650 | cpp |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<link rel="dns-prefetch" href="https://github.githubassets.com">
<link rel="dns-prefetch" href="https://avatars0.githubusercontent.com">
<link rel="dns-prefetch" href="https://avatars1.githubusercontent.com">
<link rel="dns-prefetch" hre... | [
"kinder0011@wp.pl"
] | kinder0011@wp.pl |
2ee49ba25e8770d385cfcd646318f57e0ede74a6 | fa56a46c7518a16b49838f8ca0160f4833d43992 | /timer.h | c3ee0794a9a98b388d011e15d5d408a84c40fa39 | [] | no_license | alibenD/interview_d | 3592a87ba4e9189bd7fc06cedc683a96c62c6c14 | 989e8a1b1cf9f53f16efffd15ced3d3d9092b91e | refs/heads/master | 2022-12-20T08:53:29.967127 | 2017-07-31T02:07:07 | 2017-07-31T02:07:07 | 298,805,988 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,115 | h | /*********************************************************************************
*Copyright(C), Aliben
*FileName: timer.h
*Author: Aliben
*Version: 0.0.1
*Date: 2017.7.30
*Description: Declaration of timer, head file of timer.cpp
*Others:
*Function List:
1... | [
"aliben.develop@gmail.com"
] | aliben.develop@gmail.com |
2f3f9b0e4519f6b997e4e2a33429da8fa4298ace | f56a64aa8d76185783002b55f2ff5db1a22cb3a4 | /src/netbase.h | 2bee22e15060e2fd45a19dd37ba5dbdbad24287b | [
"MIT"
] | permissive | ViogCommunity/VIOG | 4032e92ae8dbd3d4e2b0c48073a69544b84474ce | 498375e9f29e06101377550cf1e08bf2ef66f4f3 | refs/heads/master | 2020-03-14T17:59:33.470755 | 2018-06-03T18:39:00 | 2018-06-03T18:39:00 | 131,732,660 | 3 | 4 | MIT | 2018-06-03T14:28:34 | 2018-05-01T15:56:21 | C++ | UTF-8 | C++ | false | false | 8,794 | h | // Copyright (c) 2009-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.
#ifndef BITCOIN_NETBASE_H
#define BITCOIN_NETBASE_H
#if defined(HAVE_CONFIG_H)
#include "config/viog-config.h"
#endif
#incl... | [
"37681164+Iwwerall@users.noreply.github.com"
] | 37681164+Iwwerall@users.noreply.github.com |
3d19163fca35284c9082db07ba52d43391729af3 | c794cd15cd922bf11b1b3b2dbc9c9cda79b0164a | /UnnamedEngine/Sources/Engine/Graphics/VulkanDriver/VulkanPipelineManager.cpp | cb059f1a23edcd617ed0b5c75895332df1e7d33e | [
"MIT"
] | permissive | kevinchen2015/UnnamedEngine | 906312f504f36e0a92284c6e0ca07eb81c6c9e25 | ce906886c381291ce6bac259d929a627ce8cad01 | refs/heads/master | 2021-05-05T15:52:17.722074 | 2018-01-10T14:58:02 | 2018-01-10T14:58:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 36 | cpp | #include "VulkanPipelineManager.h"
| [
"tinnymint@gmail.com"
] | tinnymint@gmail.com |
6db17743c68fda1f225bccbcc542c081922c8916 | 57610d90506f9b93d2097067bbe7658e7460c2e6 | /yoketoru-unity/Temp/StagingArea/Data/il2cppOutput/t2712570874.h | deadab890dc9610f9b8eeb4690f2759ed3e0624b | [] | no_license | GEhikachu/GEhikachu.github.io | 4c10b77020b9face4d27a50e1a9f4a1434f390c1 | b9d6627a3d1145325f2a7b9cf02712fe17c8f334 | refs/heads/master | 2020-07-01T08:16:40.998434 | 2016-12-09T01:22:35 | 2016-12-09T01:22:35 | 74,089,233 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,144 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
struct t4106212282;
struct t411320003;
#include "Il2CppObject.h"
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang d... | [
"hikapika911@gmail.com"
] | hikapika911@gmail.com |
aab175bc80ee983697dc77bd8ac918218c4beeed | 4c0f6ffc627e2d2ab48d428a4be20f1cde0f02d0 | /G.B.SHOOTER.X/Classes/TitleScene.h | eac9fd36bdf1d3bd92034da1f88f5f5bbfbd4fdd | [
"MIT"
] | permissive | kama2vern/G.B.SHOOTER.X | e73a66b7bc23bf3f02bfcdc59ebd0766ffc31a0a | 1d7aba80278cd4830f9acac4f6adeb41c0a3e05f | refs/heads/master | 2021-05-27T10:52:37.584899 | 2013-03-14T13:26:18 | 2013-03-14T13:26:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 397 | h | //
// TitleScene.h
// G.B.SHOOTER.X
//
// Created by M.Komiya on 2013/01/22.
//
//
#ifndef MyProject_TitleScene_h
#define MyProject_TitleScene_h
#include "cocos2d.h"
class TitleScene : public cocos2d::CCLayer
{
public:
virtual bool init();
static cocos2d::CCScene* scene();
CREATE_FUNC(TitleScene)... | [
"s.wyvern.acespring@gmail.com"
] | s.wyvern.acespring@gmail.com |
78ee6cca8b8c7b2dea0728a86fe6c3a7e42991fa | 2e1e118a2325cdbc12fa842d792df3f729f4728a | /알고리즘 문제 풀이/BOJ/단계별 기초 연습/큐, 덱/11866_요세푸스 문제 0/11866.cc | 7a074f2afe40abaa4ddcbb193f808586d27d8b36 | [] | no_license | wonny-Jo/algorithm | adf4c3f66c9f4dcde80f8e04c75b6d79d68f8ab3 | 8b0c2a13ec38948ffe82234b29f90d42ddd905c2 | refs/heads/master | 2021-07-14T22:18:55.785514 | 2021-04-29T06:33:11 | 2021-04-29T06:33:11 | 245,082,007 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,645 | cc | #include<iostream>
using namespace std;
#include<queue>
#include<string.h>
//class Queue
//{
//private:
// int* data;
// int data_max_size;
// int data_count;
// int start_position;
//
//public:
// Queue():data_max_size(10),data_count(0), start_position(0)
// {
// data = new int[data_max_size];
// }
// ~Queue(){}
//
/... | [
"jwh6896@gmail.com"
] | jwh6896@gmail.com |
e336cb558c45bf41ec8eff149858bc9443f61111 | e3de99eb6bcd95f6b7e4f7557befc3d91e5415bf | /rsa.cpp | 46d54428cc50b28b413a207f4e486a83b3c10753 | [] | no_license | suchetha27/net | a4fe4fcfdc2524f712043b6bcaaa3fa680c02277 | 8dfb207d8b3c4a41c55180dc98b368a1ff2101c6 | refs/heads/main | 2023-02-23T02:30:42.023779 | 2021-01-26T15:44:04 | 2021-01-26T15:44:04 | 333,125,455 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,092 | cpp | #include <iostream>
#include <stdlib.h>
#include <math.h>
#include <string.h>
using namespace std;
long int gcd(long int a, long int b)
{
if(a == 0)
return b;
if(b == 0)
return a;
return gcd(b, a%b);
}
long int isprime(long int a)
{
int i;
for(i = 2; i < a; i++){
if((a % i... | [
"noreply@github.com"
] | noreply@github.com |
e8a56429a014765cc55f853ab92393e396f1b497 | 6f5ab6c58e3b31dbaf3ef15d14dcac4a69d8013f | /codeforces/contest/1213/main.cpp | 7bdd474c9e30ecc239c241c24827372eb68532de | [] | no_license | sambey04/c_code | f1cb9d96ee5f78b7219ac2656ad1424201364bb0 | 080fb9720f70e44c37e9fa845549bb1951dc6a79 | refs/heads/master | 2020-05-31T22:41:12.513839 | 2020-03-06T04:23:51 | 2020-03-06T04:23:51 | 190,525,768 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 317 | cpp | //https://codeforces.com/contest/1213
//
//
#include <bits/stdc++.h>
using namespace std;
int main()
{
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int x,n,test=0;
cin >> n ;
for(int i=0;i<n;i++)
{
cin >> x;
if(x%2==0)
test++;
}
if(test>n-test)
cout << n-test;
else
cout << test;
return 0;
}
| [
"ram@localhost.localdomain"
] | ram@localhost.localdomain |
5398ac8fff17b5f59897104ae5f154d038c8d8f0 | 083ad051981273866006eb777311ba486a06e214 | /testsrc/libjamsat/unit/utils/BinaryHeapTests.cpp | 6cbf4305ed1f4c80da3f8b6cc30c3e6ed6f9ce70 | [
"MIT",
"X11"
] | permissive | fkutzner/JamSAT | 31d0932f1f0acf7fa63bc86cad83e5fe031fc03b | 226a8b3ba79a5450e96bd4b98015e1f6a187d290 | refs/heads/master | 2021-05-23T05:48:20.160881 | 2020-08-23T11:30:57 | 2020-08-23T11:30:57 | 94,918,870 | 7 | 1 | null | 2018-05-20T19:30:33 | 2017-06-20T17:43:04 | C++ | UTF-8 | C++ | false | false | 5,496 | cpp | /* Copyright (c) 2018 Felix Kutzner (github.com/fkutzner)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, mer... | [
"felixkutzner@gmail.com"
] | felixkutzner@gmail.com |
f80bb6bbba8561a02521f90a222b0d780226af91 | fd753470a1b0fe901080cdd2ebc7e181134be6f3 | /0840. Magic Squares In Grid.cpp | bc47c0a9fe47c949a90419182d5d2a0947b02ea1 | [] | no_license | virsing/Leetcode | 5e420459ca6be13ec7070eef154d24ad66ca7c3e | ef94bc7a6cce289d597ac41bc4a1f07f6e85dc33 | refs/heads/master | 2021-06-28T19:11:25.497561 | 2019-02-13T09:54:35 | 2019-02-13T09:54:35 | 134,942,950 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,163 | cpp | A 3 x 3 magic square is a 3 x 3 grid filled with distinct numbers from 1 to 9 such that each row, column, and both diagonals all have the same sum.
Given an grid of integers, how many 3 x 3 "magic square" subgrids are there? (Each subgrid is contiguous).
Example 1:
Input: [[4,3,8,4],
[9,5,1,9],
[2,7,... | [
"noreply@github.com"
] | noreply@github.com |
0a4b2af8df47140ac675f81c78b33b3c3a40babc | a8a29667e73d3659622d57ea948fbebc85a9ef0b | /LeetCode/1269-wayNumStaySamePlaceAfterSteps.h | 255de738a2463c37505d87ade9ebbfde4de1f847 | [] | no_license | cosensible/LeetCode | c352acea6caf5c4737f8e1e96d3bedb2885c96e2 | 1bdf2d09ee4bd286e8f1304020928bdd1467e2b5 | refs/heads/master | 2021-09-09T03:11:41.257058 | 2021-09-06T03:40:48 | 2021-09-06T03:40:48 | 217,175,623 | 3 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,379 | h | #include <vector>
#include <algorithm>
#include <iostream>
using namespace std;
class Solution_1269 {
const int MOD = 1e9 + 7;
public:
int numWays(int steps, int arrLen) {
int idxNum = min(arrLen, steps + 1); // // 最远能走到 arrLen-1 或 steps
vector<vector<int>> dp(steps + 1, vector<int>(idxNum)); // dp[i][j]: 走 i 步到... | [
"cosensible@gmail.com"
] | cosensible@gmail.com |
27982d4d16681b0ecdabb2fb4da5b58f62cda3e6 | 3aff7156207d7207ae84ff3870487509fa4a7ff5 | /sdasdasdasd 2 2/Classes/Native/mscorlib_System_Security_Cryptography_Rfc2898Deriv1773348698.h | 0ab90e8a135eb2dd5758b1e1324e2d5da121ed8b | [] | no_license | huangliliu0917/iOS_wsl_mallbuy_for_vr | 080ea5512fff6ff4665efab1216d8544d621404e | 6f141c8cf255e655db38e1f98dda75a978dfe985 | refs/heads/master | 2020-04-07T10:07:55.773244 | 2017-08-08T12:23:42 | 2017-08-08T12:23:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,616 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "mscorlib_System_Security_Cryptography_DeriveBytes1087525826.h"
// System.Byte[]
struct ByteU5BU5D_t3397334013;
// System.Security.Cryptography.HMACSHA1
struct HMACSHA1_t195... | [
"284353855@qq.com"
] | 284353855@qq.com |
5be279e888413f813f4db1592245664cfc7c0030 | 71ffdff29137de6bda23f02c9e22a45fe94e7910 | /KillaCoptuz3000/src/Menu/CMenuItem.h | b4658890d1d48ed8f451b438264663eb8af81a0b | [] | no_license | anhoppe/killakoptuz3000 | f2b6ecca308c1d6ebee9f43a1632a2051f321272 | fbf2e77d16c11abdadf45a88e1c747fa86517c59 | refs/heads/master | 2021-01-02T22:19:10.695739 | 2009-03-15T21:22:31 | 2009-03-15T21:22:31 | 35,839,301 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 1,797 | h | // ***************************************************************
// CMenuItem version: 1.0 · date: 06/17/2007
// -------------------------------------------------------------
//
// -------------------------------------------------------------
// Copyright (C) 2007 - All Rights Reserved
// **********... | [
"anhoppe@9386d06f-8230-0410-af72-8d16ca8b68df"
] | anhoppe@9386d06f-8230-0410-af72-8d16ca8b68df |
9c08e226829489324a7fec0a8eb1226cc5287770 | c7b5bd813aa8504b8b534c0ce6e0a416eb0e1fbd | /Ceng 242/PE5/path_tracker.cpp | 239eb1a6f1051b7b41e26261356f3b114263d3db | [] | no_license | aalparslan/Homeworks | faf011d880523b18877734d8c0fada950b2363b7 | c6df1704886af9a394d69f4d3cb4c4aa9bf7f201 | refs/heads/master | 2023-06-25T06:16:37.688253 | 2021-07-26T16:46:14 | 2021-07-26T16:46:14 | 345,940,749 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,601 | cpp | #include <iostream>
#include <math.h>
#include "path_tracker.h"
/* DO NOT EDIT HEADER FILE*/
/**
* Empty constructor
*
* Initialize all attributes as 0
*/
PathTracker::PathTracker()
{
}
/**
* Constructor
*
* Given existing_path array contains x,y couples representing vectors
* to add end-to-end.
* [1, 2, ... | [
"ahmetalpaslan58@hotmail.com"
] | ahmetalpaslan58@hotmail.com |
4cfae420244af08a96c6598c5a3a47b3e6084123 | 487fd495fec491acb04453255c870808d037f889 | /src/qt/openuridialog.h | 0db980ab119096032cae7f04e401618549fb1249 | [
"MIT"
] | permissive | TechDude2u/GSAcoin | 58b94eba767f6e17c8a88bcf0ee3b4cea719657a | c0a64da39501a52f25e709368a869d743f77221d | refs/heads/main | 2023-08-08T04:03:42.198250 | 2021-09-21T16:27:42 | 2021-09-21T16:27:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 858 | h | // Copyright (c) 2019 The PIVX developers
// Copyright (c) 2021 The GLOBALSMARTASSET Core Developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_QT_OPENURIDIALOG_H
#define BITCOIN_QT_OPENURIDIALOG_H
#inc... | [
"gsasset24@gmail.com"
] | gsasset24@gmail.com |
a00e8d565e34b7dfcac6789e75d6bba580fc8d4d | 54f352a242a8ad6ff5516703e91da61e08d9a9e6 | /Source Codes/AtCoder/arc077/B/1393983.cpp | 224c484735e3abc62fae5d681c8276f12325952a | [] | no_license | Kawser-nerd/CLCDSA | 5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb | aee32551795763b54acb26856ab239370cac4e75 | refs/heads/master | 2022-02-09T11:08:56.588303 | 2022-01-26T18:53:40 | 2022-01-26T18:53:40 | 211,783,197 | 23 | 9 | null | null | null | null | UTF-8 | C++ | false | false | 1,473 | cpp | #include <iostream>
#include <vector>
int main() {
const unsigned long long mod = 1000000007;
unsigned n;
std::cin >> n;
std::vector<unsigned long long> inv(n + 2);
inv[1] = 1;
for (unsigned i = 2; i < n + 2; ++i) {
inv[i] = mod - (mod / i) * inv[mod % i] % mod;
}
std::vector<unsigned l... | [
"kwnafi@yahoo.com"
] | kwnafi@yahoo.com |
ab5803a815a5b00763bf3bacb69ed7b536450b09 | 474cdcd87879efc091a06aaee264a889b81b3343 | /MCG_GFX_Framework/Sphere.cpp | d5966687e830c9dd37ff94c91aff6026d80f4336 | [] | no_license | LiruJ/RayCasting | 0f302743d5128cc3d3943b6f97995c7aab117990 | 68a2ade61fb7b7996419eab0a8d9324af89a14ff | refs/heads/master | 2023-01-18T23:20:12.798936 | 2020-11-24T15:43:51 | 2020-11-24T15:43:51 | 183,261,455 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,645 | cpp | #include "Sphere.h"
// Framework includes.
#include <gtx/norm.hpp>
/// <summary> Calculates the colour of a certain point on the sphere. </summary>
/// <param name="_intersection"> The point on the sphere for which to calculate the colour. </param>
/// <param name="_normal"> The pre-calculated normal from the centre ... | [
"liruotaku@gmail.com"
] | liruotaku@gmail.com |
164d9614923449654cac54ccc7950494a3ddaa91 | 9a130efcd9061e526d4a11f06036319fad179afa | /uva/929.cpp | 81d1a1711a4bb6001c68089a5fc41c9f2f0bcd9a | [] | no_license | divyah12/uva | 1c5ba3047b0fee781aaf7b95cc71f6df80282e18 | c055651e68f696f2a8828601984d9f45e5388759 | refs/heads/master | 2021-01-13T16:44:57.735646 | 2017-04-26T01:04:19 | 2017-04-26T01:04:19 | 77,159,925 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,285 | cpp | #include <iostream>
#include<vector>
#include<set>
#define INT_MAX 2147483647
#define endl '\n'
using namespace std;
void dijkstra(vector<vector<int>> graph, int start,int first_val,int n,int m) {
//defining infinity as largest int
//each vertices distance is set to infinity
vector<int> dist(n*m,INT_MAX);
vecto... | [
"divya.h.shree12@gmail.com"
] | divya.h.shree12@gmail.com |
dc57607efb6d76e26a475bb5646443d4220c12f6 | 9bcff70ac1d9cdd149ef76583375ad5349d8ffb8 | /Lab 20/balanced_tree.cpp | f80275ce354385f3a21c5ee18d3c6b91602ffeb6 | [] | no_license | Reap3r/Labs | d972676e94779e315b294fe4abac43a4e3f58356 | 597684cff82ed1eee941683f782837c6465e9593 | refs/heads/main | 2023-05-08T10:23:44.494410 | 2021-06-04T13:50:44 | 2021-06-04T13:50:44 | 312,559,487 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,122 | cpp | #include "balanced_tree.h"
#include <algorithm>
balanced_tree::balanced_tree(double i) {
left = nullptr;
right = nullptr;
item = i;
num_of_children = 0;
}
void balanced_tree::add_leaf(double l) {
if (left == nullptr) {
balanced_tree* leaf = new balanced_tree(l);
left = leaf;
} ... | [
"noreply@github.com"
] | noreply@github.com |
24bc123cf40998fb1a2c0afd71f4a77bdb626e10 | 02a19fd0b3059025f91ba592e1928ce2a4d93929 | /src/bit-io.cpp | 89ea7b48207a5facaf8aaf541b2a476f6e90cd36 | [
"MIT"
] | permissive | operutka/alzw | 618c6c7dcdde6e785adb9ad7bcedf2214440c11e | 117fa7ae065ace7c5d35d90a0e9b3d2c8ed61a24 | refs/heads/master | 2021-01-01T05:34:54.068902 | 2015-04-27T11:22:33 | 2015-04-27T11:22:33 | 34,070,076 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,732 | cpp | /*
Copyright (c) 2015 Perutka, Ondrej
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute,... | [
"perutka.ondrej@gmail.com"
] | perutka.ondrej@gmail.com |
2f9f94b0585758fbdc816d3243d6e71df1de7a3c | f82b315643718a69aebde709cd93e66612269bd3 | /src/misc/Queue.h | a433e8ddb5294bb6e2d46c7e373068acfb5ddc43 | [] | no_license | jakewhitton/radiance-pixelpusher | 64c6264b86b9de888ed0c6ea12abd7270ff62279 | aded36dbe5e108e77cc1a9b365c5bf5d429d73bc | refs/heads/master | 2020-04-27T19:55:08.004332 | 2019-08-29T00:50:04 | 2019-08-29T00:50:04 | 174,639,135 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,377 | h | #ifndef QUEUE_H
#define QUEUE_H
#include "BlockingCollection.h"
#include "OperationInterruptedException.h"
#include "misc/Log.h"
template <typename Element>
class Queue
{
using milliseconds = std::chrono::milliseconds;
using Status = code_machina::BlockingCollectionStatus;
code_machina::BlockingQueue<Element> _q... | [
"jwhitton@mit.edu"
] | jwhitton@mit.edu |
69dfa52934af5dc26b4cdb9657e8fb7336614cd0 | 4957edc2fb4c9bc564a0a25883071a523fdf6980 | /include/Utils/RandomBoolStream.h | b871abaf46ae7f20e5b038846bacf78f1c1f5eab | [] | no_license | michitux/extmem-lfr | 0be8a58d3a6897923e9671648984eef075ba8552 | a6d6e43b0fb262480443ec02bd11e0ca5a0a56bc | refs/heads/master | 2020-03-16T16:23:38.710235 | 2018-05-07T09:05:28 | 2018-05-07T09:05:28 | 132,785,379 | 0 | 1 | null | 2018-10-18T12:12:46 | 2018-05-09T16:36:40 | C++ | UTF-8 | C++ | false | false | 946 | h | #pragma once
#include <defs.h>
#include <stxxl/random>
#include <memory>
class RandomBoolStream {
private:
unsigned int _flag_bits_remaining = 0;
uint64_t _flag_bits;
std::unique_ptr<stxxl::random_number64> _random_integer_value_ptr;
stxxl::random_number64& _random_integer;
public:
RandomBoolStream... | [
"michael.hamann@kit.edu"
] | michael.hamann@kit.edu |
bb8a6b9a9c69e8e0d1f6210c2634b58e7f32cde6 | 0c71ffb070edbffdf807316d416c77830bd07835 | /RDCServer/RDCConfiguration.cpp | cc2700ca409acad9b881ac2e78482f7f7e67147c | [] | no_license | WangLuofan/RDCSource | 2d8dfa2bfb4f4b3000c697381b870d8f47d105b0 | ffde6f67aaa634bcef011e25e7a3e77c74c673d3 | refs/heads/master | 2021-04-06T00:47:13.823018 | 2018-03-31T08:51:09 | 2018-03-31T08:51:09 | 124,505,805 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,254 | cpp | #include "RDCConfiguration.h"
#include <QCoreApplication>
#include <QSettings>
#include <QString>
#include <QFile>
RDCConfiguration* RDCConfiguration::config = nullptr;
RDCConfiguration::RDCConfiguration() : m_pSettings(new QSettings(QSettings::NativeFormat, QSettings::UserScope,
... | [
"wangluofan@gmail.com"
] | wangluofan@gmail.com |
57ea40e539ddacf25a7c994e1153525cdf6522c2 | bcf4b953bb92d462b8db140adc6da7e03a7592d6 | /NewYearChaos.cpp | d5d0d35cdf10b5e393ddc55f8bbf37dbe645f228 | [] | no_license | brucekevinadams/CPP-Programs | 0a9d4a073d2483bd80d471616002723d8c9aae96 | cc6e5b4c36f1fada28e23084e2c69e46d61b852f | refs/heads/master | 2018-12-23T02:16:38.018708 | 2018-10-18T13:18:34 | 2018-10-18T13:18:34 | 117,719,141 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,008 | cpp | /*
* Author: Bruce Adams
* email: ezaroth@gmail.com
* website: austingamestudios.com
*
* C++ program from a Hackerrank problem.
*/
#include <bits/stdc++.h>
using namespace std;
vector<string> split_string(string);
// Complete the minimumBribes function below.
void minimumBribes(vector<int> q) {
... | [
"noreply@github.com"
] | noreply@github.com |
ec855f3b97989dce2187c59e75c787a277851c1d | f55a5a7152e14e217b30807325dc9223b82e2286 | /ParticleSkinner/marchingTet.H | 8b02cac83b3605a62ee0b9db5713455ebdfec643 | [
"MIT"
] | permissive | elrnv/sph-cpp | 152bbe8f8648e73b261ecabd90b63eebfa8d2d77 | ba63d9b6d44710c0f1c34f05047c815ee1997651 | refs/heads/master | 2020-05-31T08:29:11.399103 | 2020-01-29T08:59:14 | 2020-01-29T08:59:14 | 30,516,081 | 12 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,473 | h | // Copyright (c) 2011, Regents of the University of Utah
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
// * Redistributions of source code must retain the above copyright
// notic... | [
"egor.larionov@gmail.com"
] | egor.larionov@gmail.com |
456dc434b6297f46726e845ad0e72280a72b9a1f | f8ad76fc99f56c3d415fd588d7a4e52841f023bd | /Assignments/Assignment_1/Savitch_Ch1_Prob6_Free Fall/main.cpp | b8f923fa367ae63f4abb78adb11523a97883a34c | [] | no_license | jg1287010/Kovacs_Jamie_CIS5_40106 | 1335610d7af984b05ac46fb8b68d752d9f751adc | 5db11812fa99a00482bb14aab9d6fd7dc4bc2e4d | refs/heads/master | 2020-04-14T18:02:00.996381 | 2019-01-06T04:23:49 | 2019-01-06T04:23:49 | 164,003,687 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 644 | cpp | /*
* File: main.cpp
* Author: Jamie Kovacs
* Created on January 5, 2019
* Purpose:
*
*/
//System Libraries
#include <iostream> //Input/Output Library
using namespace std;
//User Libraries
//Global Constants, no Global Variables are allowed
//Math/Physics/Conversions/Higher Dimensions - i.e. PI,... | [
"jgould3@student.rccd.edu"
] | jgould3@student.rccd.edu |
c3165123db187b9ab43a5f98d2e1d02cd17f1ae1 | 8faa7462f32ec045f448af376855d2138d33cca3 | /Plugins/RenderDocPlugin/Source/RenderDocPlugin/Private/RenderDocPluginAboutWindow.cpp | eac1a419eb7c109df4123754f6344082dcda7365 | [] | no_license | nipananodesu/SGame | fac446c8c92961b7673c35006774786b483676c4 | 29d712a631a4896d1d900981da052c40f1b97fb4 | refs/heads/master | 2021-01-18T05:28:51.414223 | 2017-01-15T14:51:01 | 2017-01-15T14:51:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,694 | cpp | /******************************************************************************
* The MIT License (MIT)
*
* Copyright (c) 2014 Fredrik Lindh
*
* 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 ... | [
"wangli.rei@gamil.com"
] | wangli.rei@gamil.com |
a1f1ca5ad935961a372b6ebc6fc387faa512a52f | 191126328427ffb1d2cebcc5d3ccb670a7f4f8be | /sortdist.cpp | d66b32121a9e7b553fcaea9b52549f83706aac11 | [] | no_license | drviruses/CP | 090ca7db998f7f113d85ab96a91a73fd9d5892ac | 69294c62218fda3453daf4b69251ab98bb24cccb | refs/heads/master | 2023-03-14T06:09:15.174975 | 2021-03-01T05:04:26 | 2021-03-01T05:04:26 | 305,608,273 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,206 | cpp | /*
@uthor: Amit Kumar
user -->GitHub: drviruses ; CodeChef: dr_virus_ ; Codeforces,AtCoder,Hackerearth,Hakerrank: dr_virus;
*/
#include <bits/stdc++.h>
#include <chrono>
using namespace std;
using namespace std::chrono;
//#include <boost/multiprecision/cpp_int.hpp>
//namespace mp = boost::multiprecision;
//#def... | [
"amitkumarhero28@gmail.com"
] | amitkumarhero28@gmail.com |
23faf542df5a69291de89515171de1f44ed697c0 | 777a75e6ed0934c193aece9de4421f8d8db01aac | /src/Providers/UNIXProviders/AuthorizedSubject/UNIX_AuthorizedSubject.cpp | 6b13bcab80de5df0c7c45e7630ba2c8257596350 | [
"MIT"
] | permissive | brunolauze/openpegasus-providers-old | 20fc13958016e35dc4d87f93d1999db0eae9010a | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | refs/heads/master | 2021-01-01T20:05:44.559362 | 2014-04-30T17:50:06 | 2014-04-30T17:50:06 | 19,132,738 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,272 | cpp | //%LICENSE////////////////////////////////////////////////////////////////
//
// Licensed to The Open Group (TOG) under one or more contributor license
// agreements. Refer to the OpenPegasusNOTICE.txt file distributed with
// this work for additional information regarding copyright ownership.
// Each contributor lice... | [
"brunolauze@msn.com"
] | brunolauze@msn.com |
769b50ed07cae113d922647545905d8afa53bfab | c5271b18225b183c54526f13ab968b942c5d1c49 | /tmp.cpp | 6d62fd432dd5f82b044961f1b4e1ea7413867218 | [] | no_license | coderpen-me/competitive_programming | afbc41e0eed12741ba4dcc2650a02e667506739c | 3d8d00b9099871c1b044e1ac3f25cc1eb17dba64 | refs/heads/master | 2021-06-28T09:48:01.156675 | 2021-03-09T19:01:09 | 2021-03-09T19:01:09 | 220,846,911 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,005 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define vi vector<int>
#define vs vector<string>
#define vvi vector<vector<int>>
#define LP(i, n) for (ll i = 0; i < n; i++)
#define LP1(i, n) for (ll i = 1; i <= n; i++)
#define BLP1(i, n) for (ll i = n; i > 0; i--)
#define BLP(i, n) for (ll i = n; i... | [
"coderpen@gmail.com"
] | coderpen@gmail.com |
65619ba86e0038f96e053ca88731222d143a9291 | 04f379ce942b1b8878467c3f511f2974bdfbc69b | /src/qt/transactionfilterproxy.cpp | 3482821010666afd42077bdc319f3a4a3216a65b | [
"MIT"
] | permissive | musdcoin1/musdcoin | 0ee082256bb7987eea5a58b66a9b43336d3c6718 | a310dc41074e55e6504e4839f2c55ecf76c7a34d | refs/heads/master | 2021-05-05T22:22:08.398938 | 2018-01-03T14:25:07 | 2018-01-03T14:25:07 | 116,145,629 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,671 | cpp | // Copyright (c) 2011-2013 The Bitcoin developers
// Copyright (c) 2014-2017 Thinkwide Technology developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "transactionfilterproxy.h"
#include "transactiontablemode... | [
"thinkwide.sa1@gmail.com"
] | thinkwide.sa1@gmail.com |
caa451c492c831dd64ef445e9e2e9ee4b7924805 | 8178161f4eabf12eae1b0e099eac9e8bc4df1bbe | /simulation client/SimulationLoop/UDP_sender.h | 21a972e4199a58fe998aab248c2589b57271759e | [] | no_license | AlexKLM/Physics-sim-and-concurrency | 367f1820e6d0049f07f9b733d72685fea9d77256 | 16218695242a879f8d064e77d2a35184298464e1 | refs/heads/master | 2020-05-17T17:32:11.166574 | 2013-07-24T10:33:48 | 2013-07-24T10:33:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 735 | h | #pragma once
#include <iostream>
#include <winsock2.h>
#include <process.h>
#include<Windows.h>
#include <string>
#include <vector>
#include <sstream>
#include "shared_memory.h"
#include "shared_struct.h"
class UDP_sender
{
private:
HANDLE thread;
SOCKET send_socket;
sockaddr_in server_addr;
bool ready;
int run()... | [
"alex900622@gmail.com"
] | alex900622@gmail.com |
95c1d2b105cfa6c764c4c441a14729beefaae19f | 980d09072b5ec9d0b456156b04ec8ad5b7f96c2b | /gcd.cpp | 95f6a62e371a9370bcbe9c3c2dced011d7f6e8b3 | [] | no_license | kant-shashi/cpp-code | 69c7242ce4b932efa1011b5044dd3a9d5bc2ca63 | f289a7429dd26c1d0e24ccb2672bf4bec1e4686b | refs/heads/master | 2018-12-31T18:07:43.300725 | 2013-06-23T12:04:29 | 2013-06-23T12:04:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 597 | cpp | /**
* Author: Shashi Kant (blog.tenhash.com)
* code to find the gcd of two integers. use 'echo $?' to find the returned value of last program executed.
*/
#include<iostream>
using namespace std;
int main()
{
unsigned long long a,b,x,y,temp;
cin>>a>>b;
a>=b?(y=a,x=b):(y=b,x=a);
if (!(y%x))
{... | [
"supershashikant@gmail.com"
] | supershashikant@gmail.com |
a3a439302a66ee04756665deb9fd639cab4ee2cf | 3b0c159d34aec31dd5a8a7998ff3ed3c97ebeeb5 | /Polygon.cpp | 99d563174e5f54f56cc04ff7a160cb484bbdb7e8 | [] | no_license | Tsunaou/GraphicsYoung | af619de800d5d028769b555af46b221712617979 | caf2fc191d1673dd3e6a153b5377d9e8ae22fc1f | refs/heads/master | 2020-04-03T02:42:21.497385 | 2018-12-31T03:43:08 | 2018-12-31T03:43:08 | 154,964,206 | 13 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 3,356 | cpp | #include "Polygon.h"
Polygon::Polygon()
{
this->start = NULL;
this->end = NULL;
this->type = POLYGON;
this->colseFlag = false;
//For test
xCenter = 0;
yCenter = 0;
}
Polygon::Polygon(QPoint *start, QPoint *end, FIGURE_TYPE type)
{
this->start = start;
this->end = end;
this->ty... | [
"895254752@qq.com"
] | 895254752@qq.com |
769d083a6473be549f2cdd5afb7c3e232de8eda6 | f9e2767948b357fcc1107d8e3da7e1f119ed50a2 | /libc/bionic/grp_pwd_file.cpp | 37493a7a711933d7927ddadca5dfea9072736288 | [
"SMLNJ",
"BSD-3-Clause",
"BSD-4-Clause-UC",
"ISC",
"LicenseRef-scancode-warranty-disclaimer",
"Apache-2.0",
"HPND",
"LicenseRef-scancode-ibm-dhcp",
"BSD-2-Clause",
"Martin-Birgmeier",
"BSD-4-Clause",
"MIT",
"LicenseRef-scancode-bsd-unmodified",
"SunPro",
"LicenseRef-scancode-red-hat-attr... | permissive | MIPS/bionic | 76d1f4d8f7deb1a09b18440a31e325811c94796d | a39b60940b1a9a494f5cf37ab35f63068bd7e76c | refs/heads/master | 2020-05-21T23:47:35.721017 | 2018-05-08T14:00:22 | 2018-05-08T14:00:22 | 1,400,491 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 8,980 | cpp | /*
* Copyright (C) 2018 The Android Open Source Project
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* * Redistributions of source code must retain the above copyright
* notice, t... | [
"tomcherry@google.com"
] | tomcherry@google.com |
2dee2511503811e0918b5e1ba6f80423cb99f6af | ef6203ced36a85d733f71bcedb2c97c49497a0c3 | /src/utils/DebugUtil.cpp | b4d7c6b458f119d6e1aa3b802a18483bd23a1a3d | [] | no_license | crob/LabRetriever | 87ee9c558272cd2b5732dc9ca6937cbd8d8742f9 | 479cec0175ed468132fd2e34a2dc50afc43215df | refs/heads/master | 2021-01-24T03:43:44.280323 | 2013-09-06T20:57:54 | 2013-09-06T20:57:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,872 | cpp | //==================================================================================================
// Name : DebugUtil.cpp
// Author : Ken Cheng
// Copyright : This program is free software: you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by t... | [
"luke.semerau@gmail.com"
] | luke.semerau@gmail.com |
d0d2eea2ed7188b140e9df6f827e6f2e0eb0c8ab | 9b4a35626ee8011b125ba887ea8f2421486f0870 | /MFCStudy/MFCStudy/MFCStudyView.h | 98377fecc679ba9475f37d744cae5572e6de3eed | [] | no_license | 93minki/MFC-Calculator | c2389a16e59447cddc38b76e25f7e985452dc08b | af09c295dadee41385a4f58a2ff521d985eff884 | refs/heads/master | 2020-12-06T15:49:08.931124 | 2020-01-12T23:05:53 | 2020-01-12T23:05:53 | 232,499,953 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,640 | h |
// MFCStudyView.h : CMFCStudyView 클래스의 인터페이스
//
#pragma once
#include "atltypes.h"
class CMFCStudyView : public CView
{
protected: // serialization에서만 만들어집니다.
CMFCStudyView();
DECLARE_DYNCREATE(CMFCStudyView)
// 특성입니다.
public:
CMFCStudyDoc* GetDocument() const;
// 작업입니다.
public:
// 재정의입니다.
public:
virtual vo... | [
"93minki@taeha.co.kr"
] | 93minki@taeha.co.kr |
a5899f0b2f36b60e327dc4be0f608e6a44602c09 | de42db6b7ca9da722804b9a754158d477a4550d6 | /src/filterFuncs.cxx | 633e9b5b4fd8d8a53b012da4280c1ba6a1c87cea | [] | no_license | hershen/commonRootFunctions | 247a95e74d9491e23d56b28adc67c29443bbfb33 | 28d3b74e02b4d526ecfbe728a80aa86968613c3e | refs/heads/master | 2022-03-09T07:46:47.403425 | 2019-11-26T18:33:27 | 2019-11-26T18:33:27 | 104,494,016 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,455 | cxx | #include "filterFuncs.h"
// STL
#include <cmath>
// Mine
#include "fftFuncs.h"
#include "mathFuncs.h"
namespace myFuncs {
namespace DSP {
// Implementations taken from "Recursive algorithms for real time digital CR-(RC)^n pulse shaping", M. Nakhostin, IEEE
// transactions on nuclear science, Vol 58, no 5, october 20... | [
"hershen@phas.ubc.ca"
] | hershen@phas.ubc.ca |
aab769ade53a536d8b3142333dc67318e23d418e | 184180d341d2928ab7c5a626d94f2a9863726c65 | /issuestests/mixR/inst/testfiles/g_weib/g_weib_DeepState_TestHarness.cpp | c1e7120c10e427c2fc1253d11e74b5d36027f396 | [] | no_license | akhikolla/RcppDeepStateTest | f102ddf03a22b0fc05e02239d53405c8977cbc2b | 97e73fe4f8cb0f8e5415f52a2474c8bc322bbbe5 | refs/heads/master | 2023-03-03T12:19:31.725234 | 2021-02-12T21:50:12 | 2021-02-12T21:50:12 | 254,214,504 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,567 | cpp | #include <fstream>
#include <RInside.h>
#include <iostream>
#include <RcppDeepState.h>
#include <qs.h>
#include <DeepState.hpp>
double g_weib(double r, NumericVector n, NumericVector ex, NumericVector tx);
TEST(mixR_deepstate_test,g_weib_test){
RInside R;
std::cout << "input starts" << std::endl;
NumericVector ... | [
"akhilakollasrinu424jf@gmail.com"
] | akhilakollasrinu424jf@gmail.com |
7f846daf6f8f4e278f18ee0f92b79568364048af | 24dc5985f1b120e4865324322822393606e1dd91 | /Program Tugas Prak2 B1 (Array&Strukture).cpp | 868103492022629daed77da434c46227d92e767e | [] | no_license | MOHSARIFULHUDA20051397049/TUGAS-SEMESTER-2 | 0601ca849daadd0980b9ee8f543994a0b61f6316 | 480d3adbb0c4ec2abfc232b1ad7b602553cf3859 | refs/heads/main | 2023-05-30T00:18:07.597870 | 2021-06-08T01:18:54 | 2021-06-08T01:18:54 | 339,266,769 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 543 | cpp | //m. sariful huda 20051397049 2020A MI//
//Program membalik huruf 'P', 'E', 'N', 'S', 'I', 'T'//
#include <iostream>
using namespace std;
int main(){
cout << "PROGRAM ARRAY MEMBALIK HURUF" << endl;
cout << "============================\n" << endl;
char a[6] = {'p', 'e', 'n', 's', 'i', 't'};
int i, j;
... | [
"noreply@github.com"
] | noreply@github.com |
db47ff07043a673cf1cde0eb41cde5f29cc02a7b | 90ed8c2f83b8db17f539428541b6a2d49a9ab999 | /PROGRAM PRACTISE/strlen.cpp | 3db46cf7eca09877c0e5473b931260cd49400d44 | [] | no_license | Piaash/UVA-Solution-Collection | 49a319330f85f2cb4e4e0f3d4c92238f08e51391 | 8eab98fd75e3d4298f047c16a5d3d7d1552ca815 | refs/heads/master | 2021-01-01T15:48:46.733192 | 2017-07-19T11:29:04 | 2017-07-19T11:29:04 | 97,708,135 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 158 | cpp | #include<stdio.h>
#include<conio.h>
#include<string.h>
main()
{
char str[100];
scanf("%s",&str);
printf("%d",strlen(str));
getch();
}
| [
"piaash11cse@gmail.com"
] | piaash11cse@gmail.com |
53045943363e98baa6fed170c8dc0d8eeac0e7ef | e2ea0a550e8d35eae7da7d1591210a893004e34a | /Minemonics/src/model/universe/evolution/population/creature/genome/controller/ControllerGene.hpp | a71bf93c4279bacfd6f5b0eb172ac5d8c50728ed | [] | no_license | netzz/minemonics | cbc98cc2a33b64f3c0f5acb89328b74e22124a9f | b628eadc8f341012cd0433cb20b9c02ca1edf40b | refs/heads/master | 2021-01-16T20:51:28.387476 | 2015-08-07T14:53:34 | 2015-08-07T14:53:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,649 | hpp | #ifndef MODEL_UNIVERSE_EVOLUTION_POPULATION_CREATURE_GENOME_CONTROLLER_CONTROLLERGENE_HPP_
#define MODEL_UNIVERSE_EVOLUTION_POPULATION_CREATURE_GENOME_CONTROLLER_CONTROLLERGENE_HPP_
//# forward declarations
//# system headers
//## controller headers
//## model headers
// include headers that implement a archive in xml... | [
"be.ellenberger@gmail.com"
] | be.ellenberger@gmail.com |
298465b148f260cf990ea4359dc0d2a71c196dda | a734001826e353631d9e510639bbcc8e7ac89728 | /geometry/ClosestPair.cpp | 03b1abbad7496fadb4bd6da20cf8807d1f6f42a3 | [] | no_license | manish05/acm-algo | 1f3ab3303b458d783c89efbb1ada92a9b0e2bfda | ec00d95cb816a8a968604d2314027973909df5f2 | refs/heads/master | 2020-12-28T23:24:09.246740 | 2014-08-31T16:33:40 | 2014-08-31T16:33:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,134 | cpp | // Closest Pair - Divide and Conquer
// Complexity is O(N*logN)
struct Point {
double x;
double y;
explicit Point(double x, double y): x(x), y(y) {
}
bool operator<(const struct Point rhs) const {
return x < rhs.x;
}
};
inline double dis(struct Point lhs, struct Point rhs) {
return (lh... | [
"lcntn3@gmail.com"
] | lcntn3@gmail.com |
6f12d53e7efe9c51743c40b9205bc00f35cfc8d3 | 91b948758d0111e9f6d01df2a79b475caf796479 | /figure_rules.cpp | 969a9284f587f6234ca5a7940cff39c4ba691f54 | [] | no_license | AginSquash/ChessCPP | 2c2179c078416aa05e8c777252494ab01f96a173 | 9c3b41c51296f9058bbd001b54beaeba77b495fe | refs/heads/master | 2020-07-30T23:18:35.315890 | 2020-01-26T17:52:36 | 2020-01-26T17:52:36 | 210,394,309 | 1 | 0 | null | 2019-12-02T18:25:30 | 2019-09-23T15:49:11 | C++ | UTF-8 | C++ | false | false | 408 | cpp | //
// figure_rules.cpp
// ChessCPP
//
// Created by Vlad Vrublevsky on 25.10.2019.
//
#include "figure_rules.hpp"
#include "SFML/System/Vector2.hpp"
void Qween(sf::Vector2f pos)
{
}
bool getRules(figure_type type, sf::Vector2f delta_pos)
{
switch (type) {
case (b_Qween || w_Qween):
//Проверка пол... | [
"agins.main@gmail.com"
] | agins.main@gmail.com |
d7f218ebd2db0cb4e04b6f51d449321e14ae145c | d1f14a2827fc202f929f47de1f0e54d9dec21aef | /alloc.cpp | e215693f1272cba1d5e47bd34dd61611806d12ff | [
"MIT"
] | permissive | grachev/greencpp | 3ee8ea8273af0f9ff3b096995356e97b0d400f95 | 4d034e204b7bdb0de66fa5d5802e448a1ee47222 | refs/heads/master | 2021-01-19T16:26:43.563116 | 2012-04-25T16:30:13 | 2012-04-25T16:30:13 | 4,138,416 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 243 | cpp | #include "alloc.h"
#include "singleton.h"
template <>
struct TSingletonTraits<TDefaultAllocator> {
static const size_t Priority = 256;
};
IAllocator* TDefaultAllocator::Instance() throw () {
return Singleton<TDefaultAllocator>();
}
| [
"grachev@MacBook-Air-Roman-Grachev.local"
] | grachev@MacBook-Air-Roman-Grachev.local |
d47f3c7025d9b3834394fa4bc1146df558067516 | 9f81d77e028503dcbb6d7d4c0c302391b8fdd50c | /google/cloud/bigquery/storage/v1/internal/bigquery_read_stub.h | 48a2a1171be010167a9943f16d140eadc7d3631e | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | googleapis/google-cloud-cpp | b96a6ee50c972371daa8b8067ddd803de95f54ba | 178d6581b499242c52f9150817d91e6c95b773a5 | refs/heads/main | 2023-08-31T09:30:11.624568 | 2023-08-31T03:29:11 | 2023-08-31T03:29:11 | 111,860,063 | 450 | 351 | Apache-2.0 | 2023-09-14T21:52:02 | 2017-11-24T00:19:31 | C++ | UTF-8 | C++ | false | false | 3,512 | h | // Copyright 2021 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | [
"noreply@github.com"
] | noreply@github.com |
a71fb7fc816dab048ecf6fefda053d5ad98a8afd | 1189787cc120ae59a0a599d7ac1b88881735537a | /shand/old/shared_array.hpp | 5888f241adb16e9725394ffe10866fb4351d1b71 | [] | no_license | kariya-mitsuru/Shand | 519c11556ead241ca1d33e12595bd3a9d557ea69 | e4e4d79ef108bca9512adbde82c59a42f19b650d | refs/heads/master | 2021-01-18T01:25:12.779022 | 2012-11-14T05:30:41 | 2012-11-14T05:30:41 | null | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 2,415 | hpp | #ifndef SHAND_SHARED_ARRAY_INCLUDE
#define SHAND_SHARED_ARRAY_INCLUDE
//----------------------------------------------------------//
// //
// クラス名 : shared_array<Type> //
// 用 途 : 参照カウント付きスマートポインタの配列版 //
// //
// Version : 1.00 2007/06/22 作成 //
// //
// Prog... | [
"Akira.T@.(none)"
] | Akira.T@.(none) |
ef311e493b667547ed1b69904c8e4a2ce6489a7a | 14dc72fd771b1b935757983e77a7929fd4ba9aa2 | /Network/Proto/local.pb.h | 51d4ef6fa19bca42cd12ff9998cb5cada88c4001 | [
"MIT"
] | permissive | xeyos/RM-Kaepora | 1599d9b3049d1b074335caa3ff00885effde2754 | 46a955b974d0ca972bfbee05c048f254d9c167f7 | refs/heads/master | 2016-09-06T01:45:14.147032 | 2015-02-06T16:58:46 | 2015-02-06T16:58:46 | 19,490,586 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 42,096 | h | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: local.proto
#ifndef PROTOBUF_local_2eproto__INCLUDED
#define PROTOBUF_local_2eproto__INCLUDED
#include <string>
#include <google/protobuf/stubs/common.h>
#if GOOGLE_PROTOBUF_VERSION < 2005000
#error This file was generated by a newer version of ... | [
"orb@InfinityJustice.(none)"
] | orb@InfinityJustice.(none) |
d962785aeb928b63e69f56d4d4a7fd01c7620709 | 3b870b15415b4f18c06f08c01dc7a68b7461c769 | /include/fraction.h | 29b7d4fd650e16e4315dfca1456564f91769cfc8 | [] | no_license | bryce-johnston/fractions | b6223968abb1a31dca161de35c61e378ea8ec6b1 | 4c7f1fbcff4226802b92a4b0669e6b4fe1656478 | refs/heads/master | 2020-04-02T18:36:38.108786 | 2018-10-25T16:53:45 | 2018-10-25T16:53:45 | 154,706,565 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 557 | h |
#ifndef FRACTION_FRACTION_H
#define FRACTION_FRACTION_H
#include <cstdint>
class Fraction {
public:
Fraction(int32_t numerator, int32_t denominator){
this->numerator = numerator;
this->denominator = denominator;
}
public:
int32_t getNumerator() const;
int32_t getDenominator() const;
... | [
"bryce.t.johnston@gmail.com"
] | bryce.t.johnston@gmail.com |
959bdd48f2014eaf4c7a5b39055275020bd9dcdf | 4960d4f64928a065748fd072fc6d246e23775bbd | /hdu1878之欧拉回路.cpp | 23ac3fa8dd8daefd6ab029ca65bc7f7c020b8361 | [] | no_license | Stephen1993/ACM-code | b46d75e4367387e7ca4bec6442a7b29b73594f8d | fd6c2fbad8b0dd1d5f3c90df733c8bc09070ae2a | refs/heads/master | 2020-07-28T19:44:03.076259 | 2019-11-15T15:08:12 | 2019-11-15T15:08:12 | 73,697,351 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,087 | cpp | #include<iostream>
#include<cstdio>
#include<cstdlib>
#include<cstring>
#include<string>
#include<queue>
#include<algorithm>
#include<map>
#include<iomanip>
#include<vector>
#define INF 99999999
using namespace std;
const int MAX=1001;
int n,m,father[MAX],rank[MAX];
int degree[MAX],sum;
void makeset(... | [
"chenyang.zhang@outlook.com"
] | chenyang.zhang@outlook.com |
0b25a1b40195c8bc061314864d291a2f98f98265 | 4fa1e0711c3023a94035b58f6a66c9acd4a7f424 | /Microsoft/SAMPLES/Ole2View/IViewers/idataobj.cpp | f8f0617d3f8b4ea344add1c52ef4f66eba922f17 | [
"MIT"
] | permissive | tig/Tigger | 4d1f5a2088468c75a7c21b103705445a93ec571c | 8e06d117a5b520c5fc9e37a710bf17aa51a9958c | refs/heads/master | 2023-06-09T01:59:43.167371 | 2020-08-19T15:21:53 | 2020-08-19T15:21:53 | 3,426,737 | 1 | 2 | null | 2023-05-31T18:56:36 | 2012-02-13T03:05:18 | C | UTF-8 | C++ | false | false | 40,465 | cpp | // idataobj.cpp
//
// Implementation file for the IDataObject interface viewer.
//
// This is a part of the Microsoft Foundation Classes C++ library.
// Copyright (C) 1992-1993 Microsoft Corporation
// All rights reserved.
//
// This source code is only intended as a supplement to the
// Microsoft Foundation C... | [
"charlie@kindel.com"
] | charlie@kindel.com |
84c56675f7e2412779404f36057941a61a07ab25 | 75e2a23cd558d485958aeae24c812141c0346642 | /include/Canvas.h | 05f73755d19dbea8ebcd230f686d9cc51bb116b0 | [] | no_license | SoraUmika/SDL_OPENGL | 132a19ec9e7656866ca4e8e2a7862bec77478498 | 9b8207cde53fc4fef2ec26636d81598b557558ec | refs/heads/master | 2020-07-01T23:34:53.288634 | 2019-08-26T18:21:36 | 2019-08-26T18:21:36 | 201,344,060 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 387 | h | #ifndef CANVAS_H_INCLUDED
#define CANVAS_H_INCLUDED
#include <iostream>
#include <SDL.h>
#include <Root.h>
#include <Utility.h>
class Canvas: public Root{
public:
void drawGrid(int gridSize, enumColors color=BLACK);
void drawRect(SDL_Rect *rect, enumColors Color=GREEN);
void drawRectOutlin... | [
"dazzlejohn1212@gmail.com"
] | dazzlejohn1212@gmail.com |
de81e58b8c24d8c21df376b4fa033fc6b1df7345 | dba3f1868db2cf65a8fbe8f81ec26d35d0745525 | /src/include/platform/Platform.hpp | b54ccc7d7ab2d51a080843516769e0cac8b0d023 | [] | no_license | e-shrubsall/MScFinalProject | c71ffe382f7d5334ca528341e56ad4cb19c34f51 | 59dbb1228878e238e959120c1066fd354d9cda24 | refs/heads/master | 2020-08-02T11:49:00.618536 | 2019-12-04T12:27:13 | 2019-12-04T12:27:13 | 211,340,842 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 346 | hpp | #ifndef MSCFINALPROJECT_PLATFORM_PLATFORM_HPP
#define MSCFINALPROJECT_PLATFORM_PLATFORM_HPP
#include <string>
namespace Platform {
namespace Files {
extern const char FILE_SEPARATOR;
std::string getResourceFolder();
void createFolder(const std::string& folder);
}
}
#endif//MSCFINALPRO... | [
"eshrubsall@gmail.com"
] | eshrubsall@gmail.com |
4dc0bf35219d6b4eab6e20ea1a8248ccc4a509ea | 9d925fdf418d12a07e80ecb670d1a1641e273b1b | /include/stats/seed_values.hpp | 77f695dadfe3cfed959dcbd5a9f5480af4332213 | [
"Apache-2.0",
"GPL-1.0-or-later"
] | permissive | skn123/optim | ee53676a5d969ad8d05afe62343f15075304be13 | 248a927d6edee185f5fb6931e30051f9f1d2cf9e | refs/heads/master | 2023-07-20T19:01:55.074457 | 2023-07-13T21:29:46 | 2023-07-13T21:29:46 | 234,919,688 | 0 | 0 | Apache-2.0 | 2023-07-14T06:30:59 | 2020-01-19T15:15:24 | C++ | UTF-8 | C++ | false | false | 1,237 | hpp | /*################################################################################
##
## Copyright (C) 2016-2023 Keith O'Hara
##
## This file is part of the OptimLib C++ library.
##
## Licensed under the Apache License, Version 2.0 (the "License");
## you may not use this file except in compliance... | [
"kth.ohr@gmail.com"
] | kth.ohr@gmail.com |
9ccb952758b4b6971f0a8e30cb85fe922b0bb39e | 2f55116f7ae8d1bd5671380e1395f0f51369127e | /challenge11/reduce.cpp | 046dafdd153ed425ecb0e7da2e19c2cbe15a9a64 | [] | no_license | ddurks/DataStructures | d5a0310ea79367b342be699c90107ff06ffafd33 | 823a1f8eeccdb7be2f9f1e3cff13a25d2f507197 | refs/heads/master | 2020-07-16T09:22:31.920365 | 2017-10-10T12:55:13 | 2017-10-10T12:55:13 | 73,949,303 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 753 | cpp | // reduce.cpp: inverted index
#include <iostream>
#include <cstdlib>
#include <map>
#include <set>
using namespace std;
int main(int argc, char *argv[]) {
map<string, set<int>> words;
string word;
int lineNum;
while(cin >> word){
cin >> lineNum;
words[word].insert(lineNum);
}
... | [
"noreply@github.com"
] | noreply@github.com |
035d64ccf73628194f2c4d104ec1dea77f39af86 | 6869d13095c3d165aec00b1021175b252a28557a | /CLI/linearSubdivision/lib/vtkLinearSubdivisionFilter2.h | b3b161388a15b4ae97174d99efa95d3568cec97a | [] | no_license | juanprietob/ShapeDistanceAnalyzer | 9943f14b0c8a30c4ba8a11edfb11ee3ba0553959 | 7efb397ac0c6c5503284a4ce3e63b7b781e4f720 | refs/heads/master | 2021-04-18T16:44:55.371604 | 2018-12-06T15:04:59 | 2018-12-06T15:04:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,939 | h |
/*=========================================================================
Program: Visualization Toolkit
Module: vtkLinearSubdivisionFilter2.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This s... | [
"lpzmateo@gmail.com"
] | lpzmateo@gmail.com |
cad35a243445f8e02c565f56ed27fa3b96981532 | 9644f19ffdac3a5d0eec4c8f802a9ab998719f82 | /Online Judges/POJ/1811.cpp | 43013cf12e8c0f6593457e7fda47f3ec463723c3 | [] | no_license | ypizarroza1990/ACM | ca472a3773be0c925cc312960aa82046fc4057fa | 3a5a81a66540bcdae9960b497d9cf8ef4c8a50f0 | refs/heads/master | 2021-01-18T19:14:19.920891 | 2020-02-18T19:18:10 | 2020-02-18T19:18:10 | 56,805,153 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,687 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
#define i64 long long
i64 n;
vector<i64> ans;
inline i64 mod_mul(i64 x,i64 y,i64 n){
if(!x)
return 0;
return (((x&1)*y)%n+(mod_mul(x>>1,y,n)<<1)%n)%n;
}
inline int rand32(){
return (rand()|rand()<<16)&0x7fffffff;
}
inline i64 myrand(){... | [
"root@pizarrozaPC"
] | root@pizarrozaPC |
f4bae6a3220a26cb7397b69fe7e2c0079a86eef8 | aef85409e201affa30ea137729ef39b73e4d2f33 | /OpenBracket_Command.cpp | 984b60dadad99cecd5dde8dfdcc19ece3bed6c5e | [] | no_license | patrickbags/MaximizePerformanceMathEvaluator | f07b7f5e5b0efe85881400859d26b40c9f384609 | 9006f2f161b074a7054debfabd24ed8c06b4c817 | refs/heads/master | 2020-04-05T05:03:20.374476 | 2014-05-15T21:02:39 | 2014-05-15T21:02:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 465 | cpp |
#include "OpenBracket_Command.h"
//CONSTRUCTOR
OpenBracket_Command::OpenBracket_Command()
{
}
//DESTRUCTOR
OpenBracket_Command::~OpenBracket_Command()
{
}
//EXECUTE FUNCTION - SIMPLY RETURNS TRUE FOR OPENING PARENTHESIS COMMAND
bool OpenBracket_Command::execute(Stack<int> &s)
{
return true;
}
/*
* PRECEDENC... | [
"shwetaskatdare@gmail.com"
] | shwetaskatdare@gmail.com |
3bd8405da7f28062a0794119b0611719f03cfd75 | 45c1404043ea0910831f8bc2fe85c247b8c1b2de | /src/game/ai.cpp | a82610ffc268787b7dca51ff04de767d5d96f733 | [] | no_license | ronanp/base | 767765d85c588edf600f99656df7ab4b6af636e6 | 9ac1ea25fe920a75ca9bc3079bd61bfb72591425 | refs/heads/master | 2021-01-18T16:34:41.858354 | 2015-03-16T12:13:58 | 2015-03-16T12:13:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 79,277 | cpp | #include "game.h"
namespace ai
{
avoidset obstacles, wpavoid;
int updatemillis = 0, iteration = 0, itermillis = 0;
vec aitarget(0, 0, 0);
VAR(0, aidebug, 0, 0, 7);
VAR(0, aidebugfocus, 0, 1, 2);
VAR(0, aipassive, 0, 0, 2); // 0 = off, 1 = passive to humans, 2 = completely passive
VARF(0, s... | [
"qreeves@gmail.com"
] | qreeves@gmail.com |
0debc6fe4db172429d86f74492fd90eeb60e372b | 24eab1d005ee7fa30b9d1ac3a20560375cd35e3e | /dictionarySimple.hxx | d0ff91613fb7f11ca4b3dbe3cdba0a226481a74b | [] | no_license | KatarzynaMialkowska/Dictionary_and_Set | efd2adc2e8b4286def06c947eea35c1f1d93dcd9 | 927ec9cf891df2359becf98111a65c7fed5a929d | refs/heads/master | 2023-08-21T08:56:04.012377 | 2021-09-30T14:26:51 | 2021-09-30T14:26:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,763 | hxx | #pragma once
#include <iostream>
#include <vector>
#include <iterator>
#include <algorithm>
#include <ctime>
#include <random>
#include <iomanip>
#include <string>
constexpr int N = 100;
class DictonarySimple {
std::string set[N]{""};
int size = 0;
public:
DictonarySimple() = def... | [
"catherinemialkowska@gmail.com"
] | catherinemialkowska@gmail.com |
0050c9732ffe547f2a0c055e1021b83059533074 | 9065bdf8946e476270f5f86c29fa154f8fdbc85d | /vpr/src/power/power_sizing.cpp | 883c168b8d853f83d69aaea9e53490542becf61d | [
"MIT",
"MIT-Modern-Variant",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | helloworld1983/vtr-verilog-to-routing-1 | d6bf4f333eac89d9cf57101948bc3d03341d539f | edcaa9d4a6ce2a8a3e52b3ce4afd60bb37e966f8 | refs/heads/master | 2022-12-23T20:59:38.357108 | 2018-07-27T13:40:37 | 2018-07-27T13:40:37 | 174,370,682 | 0 | 1 | NOASSERTION | 2022-12-18T12:48:42 | 2019-03-07T15:27:38 | C | UTF-8 | C++ | false | false | 26,429 | cpp | /*********************************************************************
* The following code is part of the power modelling feature of VTR.
*
* For support:
* http://code.google.com/p/vtr-verilog-to-routing/wiki/Power
*
* or email:
* vtr.power.estimation@gmail.com
*
* If you are using power estimation for your... | [
"kmurray@users.noreply.github.com"
] | kmurray@users.noreply.github.com |
13ce73653465e2036db52342b3885781e1885d56 | 9b80574d56cc577dd5eea2412ed6682e0f4b52a3 | /SquiLu/sqstdlib/sqstdmath.cpp | b83392fedaf140975b1b5b39c3c5515d77521b86 | [
"MIT"
] | permissive | renshijun/squilu | f055ecc615b332de74e0fa2112b491dfbe6f0810 | 2647a62551d72acef8e72711cb6608ebc32cf25e | refs/heads/master | 2020-04-22T08:31:34.774939 | 2019-01-25T11:28:18 | 2019-01-25T11:28:18 | 170,245,028 | 0 | 1 | null | 2019-02-12T03:27:26 | 2019-02-12T03:27:25 | null | UTF-8 | C++ | false | false | 13,693 | cpp | /* see copyright notice in squirrel.h */
#include <squirrel.h>
#include <math.h>
//#include <float.h>
#include <limits.h>
#include <stdlib.h>
#include <sqstdmath.h>
/* Some useful constants. */
#ifndef M_E
# define M_E 2.7182818284590452354 /* e */
#endif
#ifndef M_LOG2E
# define M_LOG2E 1.4426950408889634074 /* l... | [
"mingodad@gmail.com"
] | mingodad@gmail.com |
9b1ed848e61a4926300523e442a8b2dd2b60544c | 877fff5bb313ccd23d1d01bf23b1e1f2b13bb85a | /app/src/main/cpp/dir7941/dir29315/dir34411/file34491.cpp | 91f8fe9a855981581ecd9badc1c5d221d2af0c47 | [] | no_license | tgeng/HugeProject | 829c3bdfb7cbaf57727c41263212d4a67e3eb93d | 4488d3b765e8827636ce5e878baacdf388710ef2 | refs/heads/master | 2022-08-21T16:58:54.161627 | 2020-05-28T01:54:03 | 2020-05-28T01:54:03 | 267,468,475 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 115 | cpp | #ifndef file34491
#error "macro file34491 must be defined"
#endif
static const char* file34491String = "file34491"; | [
"tgeng@google.com"
] | tgeng@google.com |
1ed6294155655db417d585a0995b5fa5083ea845 | 85ba69964514e625291ddacba45e66468978b9d2 | /src/Misc.cpp | 883f7237d0e58f7bf23b2d8ff5915769efc14576 | [
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | Razdeep/Competitive-Programming-Starters-Kit | ad4730e2ed0a4c1f93dc8c029e59376cafcb70bc | 9a6e012a51dd86ecbf3a2dde378d21321946fc7b | refs/heads/master | 2023-03-10T20:21:52.196225 | 2023-03-01T04:39:42 | 2023-03-01T04:39:42 | 165,358,531 | 5 | 2 | Apache-2.0 | 2023-03-01T04:39:43 | 2019-01-12T07:10:57 | C++ | UTF-8 | C++ | false | false | 1,901 | cpp | /**
* Copyright 2019 Rajdeep Roy Chowdhury <rrajdeeproychowdhury@gmail.com>
*
* 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... | [
"rrajdeeproychowdhury@gmail.com"
] | rrajdeeproychowdhury@gmail.com |
5f670d589ac906d99a9ab22fade00fa5a43cb927 | e2c0f5e5b311c3d511073db932d599ce12cc0f81 | /DynRPG/include/DynRPG/Animation/AnimationFrame.hpp | 0b6b85861c9d28ba01c494743aac118788221fe4 | [] | no_license | ManDeJan/Cronus-Project | fc5f5112085bcee53ca6aac07b384b7b6d66c8b3 | 4f77584bc24591b5bc95ec282e57c56a7232718e | refs/heads/master | 2023-05-10T06:57:00.319221 | 2021-05-25T14:58:08 | 2021-05-25T14:58:08 | 364,986,230 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 569 | hpp | #ifndef RPG_ANIMATION_FRAME_HPP
#define RPG_ANIMATION_FRAME_HPP
#include <DynRPG/Animation/AnimationFrameCel.hpp>
#include <DynRPG/Catalog/CatalogPtr.hpp>
namespace RPG
{
/*! \brief Used to define an animation's frame and its cels.
\sa RPG::AnimationFrameCel
\sa RPG::Animation
\sa RPG::battleAnimations
*/
struct ... | [
"janhlsm@gmail.com"
] | janhlsm@gmail.com |
ebcf9297a0e57b2da0e5ba837b3a7a855aa0e6e6 | 76e81676497c28e02efaf9b40dff204fa8550731 | /Project_3/Earth_Sun_system/UnitTesting.hpp | 6afb9f5c6f2c4cf13efb5563d5cfcfc8156cdabd | [] | no_license | EirikBratli/FYS4150-3150 | 762631bed80ce0a4412ed996b6c92b94a0022d27 | 2467d8d3125a281c0423eadf1d30d081f5f2eeaf | refs/heads/master | 2020-03-30T10:25:41.817368 | 2018-12-14T13:51:21 | 2018-12-14T13:51:21 | 151,119,381 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,177 | hpp | #include <iostream>
#include <armadillo>
#include <cmath>
#include <fstream>
#include <iomanip>
using namespace arma;
void EnergyTest (double v20, double v2N, double r0, double rN, double eps){
cout << "Testing energy conservation after one year" << endl;
double pi = acos(-1);
double GMsun = 4*pi*pi;
double ... | [
"noreply@github.com"
] | noreply@github.com |
edec4d1b919f08a4e715d91e47a9de139a152817 | 60a15a584b00895e47628c5a485bd1f14cfeebbe | /comps/misc/TestUI/InputPath.cpp | 3755124d529feba7a1354accee72f05b82f4c147 | [] | no_license | fcccode/vt5 | ce4c1d8fe819715f2580586c8113cfedf2ab44ac | c88049949ebb999304f0fc7648f3d03f6501c65b | refs/heads/master | 2020-09-27T22:56:55.348501 | 2019-06-17T20:39:46 | 2019-06-17T20:39:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,998 | cpp | // InputPath.cpp : implementation file
//
#include "stdafx.h"
#include "TestUI.h"
#include "InputPath.h"
#include "\vt5\comps\general\data\misc_types.h"
// CInputPath dialog
IMPLEMENT_DYNAMIC(CInputPathDlg, CDialog)
CInputPathDlg::CInputPathDlg(CWnd* pParent /*=NULL*/)
: CDialog(CInputPathDlg::IDD, pParent)
{
m_... | [
"videotestc@gmail.com"
] | videotestc@gmail.com |
dd13cef177924884d05157a6ab41ad5b08cb3c69 | 62e5263bc24bace515dd33e9d10465cdd393e19c | /client/client.hpp | d6c4015d838d1c283453e91288d8d64bcef529f0 | [] | no_license | VladFear/Chat | 72e24e20bf132958ad2b19b3ae35538773f3a15a | 4219c251e13c62eec3537f16d610f1dea026453b | refs/heads/master | 2020-09-04T16:07:32.805662 | 2019-11-13T19:31:32 | 2019-11-13T19:31:32 | 219,795,102 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 359 | hpp | #include <iostream>
#include <unistd.h>
#include <string.h>
#include <arpa/inet.h>
#include <sys/socket.h>
class TcpClient
{
private:
struct sockaddr_in serv_addr;
int _socket;
const short BUFFER_SIZE = 1024;
public:
TcpClient();
void create_socket(const int server_port);
void connect_server() const;
... | [
"onlylastfear1@gmail.com"
] | onlylastfear1@gmail.com |
7c223368c82f2be4da5a84c7ad2bafd3bb7b047e | d984d3fb44a95082f3c15906e28ffefaf5de9a4e | /Source/TankVehicle/Private/TankVehicle.cpp | 0fce642aee663dffc203763aaf5213961dbf031e | [] | no_license | alerdenisov/UE4_PhysXVehicleSnippets | 1154d229300f720f46f3aa19c049eaaeeca2856a | a11734ab0d2145e8d4c58c8c84c2a710a4c5a08f | refs/heads/master | 2021-07-10T21:48:22.695335 | 2017-10-09T07:07:02 | 2017-10-09T07:07:02 | 106,248,159 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 670 | cpp | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#include "TankVehicle.h"
#define LOCTEXT_NAMESPACE "FTankVehicleModule"
void FTankVehicleModule::StartupModule()
{
// This code will execute after your module is loaded into memory; the exact timing is specified in the .uplugin file per-module
UE_LOG(Log... | [
"aler.zampillo@gmail.com"
] | aler.zampillo@gmail.com |
36f0477446bc29ed6b22ceac3a28f1aae975e94f | b9fa55c93ed47f8952eae8ced915e53ffcc6b75b | /graph/cycle_undirected.cpp | 2c6567f876c4ab6c9088bde68f535a3f099269c6 | [] | no_license | Prakash-sa/Competitive-Programming | 954fba64afcc44ed9abe3446084f4da598afc1c9 | 9de709347bd6cc5cbd2763ed806b02bd46ccf992 | refs/heads/master | 2023-07-06T18:24:44.888790 | 2023-06-25T21:20:33 | 2023-06-25T21:20:33 | 204,765,539 | 2 | 2 | null | 2022-10-31T00:46:44 | 2019-08-27T18:29:38 | C++ | UTF-8 | C++ | false | false | 578 | cpp | //detect cycle in undirected graph
bool dfs1(vector<int>adj[],int parent,vector<int>&vis,int x){
vis[x]=1;
for(auto it:adj[x]){
if(!vis[it]){
if(dfs1(adj,x,vis,it)){
return true;
}
}
else if(parent!=it)return true;
}
... | [
"sainiprakash525@gmail.com"
] | sainiprakash525@gmail.com |
958f844a55fbf58ed7fbca994f947496462688d8 | 846a7668ac964632bdb6db639ab381be11c13b77 | /android/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/support/nasty_containers.hpp | b9ef5a6a72764f60ed9fd97d9a3501128d4d28d2 | [
"NCSA",
"MIT",
"LicenseRef-scancode-bsd-unchanged",
"Martin-Birgmeier",
"LicenseRef-scancode-bsd-unmodified",
"LicenseRef-scancode-ibm-dhcp",
"ISC",
"Apache-2.0",
"HPND",
"BSD-4-Clause",
"BSD-4-Clause-UC",
"SMLNJ",
"BSD-3-Clause",
"LicenseRef-scancode-warranty-disclaimer",
"BSD-2-Clause"... | permissive | BPI-SINOVOIP/BPI-A64-Android8 | f2900965e96fd6f2a28ced68af668a858b15ebe1 | 744c72c133b9bf5d2e9efe0ab33e01e6e51d5743 | refs/heads/master | 2023-05-21T08:02:23.364495 | 2020-07-15T11:27:51 | 2020-07-15T11:27:51 | 143,945,191 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,738 | hpp | //===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------... | [
"mingxin.android@gmail.com"
] | mingxin.android@gmail.com |
c9f094e3543dc58d3c8a3f6dedc4946763089c8e | 383b176f168c763f20e9b50c09b9ce3c1a538c8d | /1.cpp | 9f53d24007775dffb6693d977758b14eb9139792 | [] | no_license | mosthandsomeman/LeetCode | dab7e25037736cd993f657179f8ccbbf55940586 | 99f2b6dc1fed2829298996a432773bb28a42615e | refs/heads/master | 2023-01-21T02:11:50.872572 | 2020-11-30T13:35:32 | 2020-11-30T13:35:32 | 280,103,486 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 379 | cpp | #include<vector>
using namespace std;
class Solution {
public:
vector<int> twoSum(vector<int>& nums, int target) {
vector<int> res;
for (int i = 0; i < nums.size(); ++i) {
for (int j = 0; j < nums.size(); ++j) {
if (j == i) break;
if (nums[i] + nums[j] == target) {
res.push_back(i);
res.push_b... | [
"22060313@zju.edu.cn"
] | 22060313@zju.edu.cn |
2a8e28cb5ae26a1faac53d7fa97d833015658af7 | f266d531ac0ad2f641a48feb0a0e258899feae04 | /RasterGraphic Assignment/Image.cpp | 35d120addfb0a34602ebfb61a295277cfad45bd8 | [] | no_license | DobieDevelopments/CST8219-CPP-Programming | 7458f2ed33793a5d657018478a046974d55c9a3e | 0d32c534d9f38e30a74d952f6a17f578ecc2e1a4 | refs/heads/master | 2020-04-16T12:13:03.637320 | 2019-01-14T00:21:48 | 2019-01-14T00:21:48 | 165,569,294 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,569 | cpp | /******* File Header ******************************************************************************************************************
* Filename : Image.cpp
* Version : 1.0
* Purpose : To handle methods for modifying our linked list,
* : (insert, delete from head, print/i... | [
"noreply@github.com"
] | noreply@github.com |
d62efbcaae6d41c48c759fc53459f8c9e5123777 | 61b399b3a51ad40d5c31c29517c128a802d5236c | /transfer/CodecDebugerTransfer.cpp | 3a64c76f01d1120dce22b388c6b545496eb14f77 | [] | no_license | cmguo/just-just-mux | d4671db9eb7f6d82bb1533fbd25d91d6c958ad91 | 53f6533c3b9b128fd1daabd842a9334a553ac742 | refs/heads/master | 2022-11-25T04:04:35.474777 | 2016-09-08T06:39:54 | 2016-09-08T06:39:54 | 280,884,540 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,546 | cpp | // CodecDebugerTransfer.cpp
#include "just/mux/Common.h"
#include "just/mux/transfer/CodecDebugerTransfer.h"
namespace just
{
namespace mux
{
CodecDebugerTransfer::CodecDebugerTransfer(
boost::uint32_t codec)
: num_(0)
{
boost::system::error_c... | [
"isxxguo@pptv.com"
] | isxxguo@pptv.com |
b86d7c766e6aae8f0d36941bbd4f90f454799c9e | 3b822b73a63ae0b4caabc34c8c817ddff418de12 | /Algorithm/binary__Searchhhhhhhh.cpp | 8f618438ebb224df1b465332dfd419f7d406d7d2 | [] | no_license | okpiyush/LearningCPP | 7db314a2b68db345bb60cbfd0498b58bcf81717f | ce40b820144470bd36691d03bc1b4c4eeab70b87 | refs/heads/master | 2023-07-15T16:51:04.801472 | 2021-08-31T10:06:21 | 2021-08-31T10:06:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 602 | cpp | #include <iostream>
using namespace std;
int main(){
int n=20;
int arr[n]={226, 446, 604, 2605, 3172, 5000, 5177, 5964, 6279, 7632, 7981, 8071, 8163, 8177, 8624, 9092, 9813, 9873, 9978, 9997};
int start,end;
start=0;
end=20;
int mid,s;
cout<<"What do you want to search in the array ?";
c... | [
"piyushkumar2738@gmail.com"
] | piyushkumar2738@gmail.com |
1b63024bc6bc9b88087629b68d8f3195af166909 | 2fa5c8d10d597fe1d590542596994fdbd016fddc | /dataset/simulation_experiment/Type1/4/Base0.cpp | d460540c56031a2474b626a04cb812740c945a9e | [] | no_license | guoliang72/colllectivePR | 715ea332a147e115ac30326a013e19d80f4638a1 | f9223e1d1aaa34ac377e75994c02c69033cd0d7f | refs/heads/master | 2020-04-24T06:55:28.611842 | 2019-02-22T11:31:27 | 2019-02-22T11:31:27 | 171,782,140 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 387 | cpp | #include <stdio.h>
int main(){
int i;
int n;
float a;
double sum;
sum=5;
scanf("%d",&n);
for(i=0;i<n;i=i+1){
scanf("%lf",&a);
if(a<100){
a=0;
}else if(a>=100 && a<200){
a=0.1*a;
}else if(a>=200 && a<500){
a=0.3*a;
}else if(a>=500){
a=0.1*a;
}
... | [
"guoliang72@qq.com"
] | guoliang72@qq.com |
ffcafc87c05e196a8447112d28ccc9145231e9e6 | fff50c3ca25dc6d1c8e53a09ba98df1ddfa74741 | /just_pir/myPhant.cpp | 9cbb6801ed1aeaac3d9348f4798fb3bbb1b263c5 | [] | no_license | ManitoSecurity/WiFi_and_BT | d4d16e4ea15479639f149c3fcde60bb38b98469d | d22df8d3bfd20fa9594281d6628d1bc97f9a80da | refs/heads/master | 2016-09-02T03:22:57.618373 | 2015-04-28T06:28:42 | 2015-04-28T06:28:42 | 30,949,607 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,950 | cpp | /**
* myPhant.h
*
* Author: Brian Gravelle
* Based on Phant.h by Todd Treece <todd@sparkfun.com>
*
*/
//#include "Arduino.h"
//#include <SPI.h>
#include <SFE_CC3000.h>
#include <SFE_CC3000_Client.h>
#include "myPhant.h"
Phant::Phant(char* host, char* publicKey, char* privateKey, SFE_CC3000 &cc3000)
{
_host ... | [
"cmbirmingham19@gmail.com"
] | cmbirmingham19@gmail.com |
0edfd8ea8c9fa56186eef3417a7e9249e0e45515 | ae219d28725c9dd58c200ae76ba3bf3f2a90d557 | /BrowserLauncher/xulrunner-sdk/include/mozIStorageRow.h | 3181f58ed6908fd199f9e7ec0f52bc6850eb4290 | [] | no_license | pepekinha/src | de1f0c64cf1238e019f4daf7f87d95849304d88e | 5223858f05f6791f1dec30df1dbb91ae3e4f5952 | refs/heads/master | 2021-01-22T01:05:54.659896 | 2014-04-06T01:43:37 | 2014-04-06T01:43:37 | 27,421,524 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,939 | h | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM e:/builds/moz2_slave/release-mozilla-1.9.2-xulrunner_win32_build/build/storage/public/mozIStorageRow.idl
*/
#ifndef __gen_mozIStorageRow_h__
#define __gen_mozIStorageRow_h__
#ifndef __gen_mozIStorageValueArray_h__
#include "mozIStorageValueArray.h"
#endif
/* For IDL ... | [
"highnetlan@gmail.com"
] | highnetlan@gmail.com |
66af45f48b23278bbeb6a8d309979ff38db891c0 | 0518e53526c214da6142d940c42a428ec7d58122 | /CWE-399/source_files/112996/CWE761_Free_Pointer_Not_at_Start_of_Buffer__wchar_t_file_82a.cpp | e7204fb67c209c24a03a4663c7dd440fc3bbd61e | [
"Apache-2.0"
] | permissive | Adam-01/VulDeePecker | eb03cfa2b94d736b1cba17fb1cdcb36b01e18f5e | 98610f3e116df97a1e819ffc81fbc7f6f138a8f2 | refs/heads/master | 2023-03-21T07:37:26.904949 | 2020-11-17T19:40:13 | 2020-11-17T19:40:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,906 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE761_Free_Pointer_Not_at_Start_of_Buffer__wchar_t_file_82a.cpp
Label Definition File: CWE761_Free_Pointer_Not_at_Start_of_Buffer.label.xml
Template File: source-sinks-82a.tmpl.cpp
*/
/*
* @description
* CWE: 761 Free Pointer not at Start of Buffer
* BadSource: file Rea... | [
"王苏菲"
] | 王苏菲 |
a143f41672e18a8bf13355c359d55386bfab663c | 5a6398e0b197dc76eb9d79e8c9a70940c826b00e | /src/include/izenelib/source/ir/index_manager/index/SkipListReader.cpp | dabec7dd896664057bdd472e84e829298b7bc11d | [
"Apache-2.0",
"PostgreSQL"
] | permissive | RMoraffah/hippo-postgresql | 38b07cd802e179c3fce00097f49c843b238c3e91 | 002702bab3a820bbc8cf99e6fcf3bb1eface96c1 | refs/heads/master | 2021-01-12T00:48:53.735686 | 2016-12-02T01:01:15 | 2016-12-02T01:13:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,971 | cpp | #include <ir/index_manager/index/SkipListReader.h>
#include <ir/index_manager/utility/system.h>
//#define SKIP_DEBUG
NS_IZENELIB_IR_BEGIN
namespace indexmanager{
SkipListReader::SkipListReader(IndexInput* pSkipInput, int skipInterval, int numSkipLevels)
: loaded_(false)
, defaultSkipInter... | [
"jiayu198910@gmail.com"
] | jiayu198910@gmail.com |
51ced789e7085c6a00837db3eb5319794acf983d | 2f78e134c5b55c816fa8ee939f54bde4918696a5 | /code/gui/tutorial.h | 5975f0069d5fb717178a318f70c54a42f908df3c | [] | no_license | narayanr7/HeavenlySword | b53afa6a7a6c344e9a139279fbbd74bfbe70350c | a255b26020933e2336f024558fefcdddb48038b2 | refs/heads/master | 2022-08-23T01:32:46.029376 | 2020-05-26T04:45:56 | 2020-05-26T04:45:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,985 | h | #ifndef _TUTORIAL_H
#define _TUTORIAL_H
#include "game/attacks.h"
#include "game/eventlog.h"
#include "editable/enumlist.h"
// For screen message
#include "gui/guiunit.h"
// Base class for all watch objects
class CTutorialBaseWatch
{
public:
//! Construction Destruction
CTutorialBaseWatch( const CEntity* pobEnt, ... | [
"hopefullyidontgetbanned735@gmail.com"
] | hopefullyidontgetbanned735@gmail.com |
e7fe54f671ac8cc7d4c4011ace2b8e5dcfbe0623 | b7a5c0cf68124534bd3f482beca8a1a89f65e605 | /etc/hhwin/StdAfx.cpp | ada605d1e1a29827552636a1a41869e47851594d | [] | no_license | willmomo/ry2kojima | 032fe44a27c080c0d2731a827b1a328cc50c78dd | e65d4e278f7004e06744f22f6eff33529c1ec65b | refs/heads/master | 2020-04-05T23:47:47.461217 | 2016-07-13T00:54:32 | 2016-07-13T00:54:32 | 63,201,963 | 1 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 412 | cpp | // stdafx.cpp : 標準インクルードファイルを含むソース ファイル
// hhwin.pch 生成されるプリコンパイル済ヘッダー
// stdafx.obj 生成されるプリコンパイル済タイプ情報
#include "stdafx.h"
// TODO: STDAFX.H に含まれていて、このファイルに記述されていない
// ヘッダーファイルを追加してください。
| [
"ginna.strike@gmail.com"
] | ginna.strike@gmail.com |
f02c1851f187417a09da9955fc4b2c6d4f0ca657 | 04b1803adb6653ecb7cb827c4f4aa616afacf629 | /gpu/command_buffer/service/shared_context_state.cc | 2010eb467073eb494b7a3aa2d60ca75f127b05aa | [
"BSD-3-Clause"
] | permissive | Samsung/Castanets | 240d9338e097b75b3f669604315b06f7cf129d64 | 4896f732fc747dfdcfcbac3d442f2d2d42df264a | refs/heads/castanets_76_dev | 2023-08-31T09:01:04.744346 | 2021-07-30T04:56:25 | 2021-08-11T05:45:21 | 125,484,161 | 58 | 49 | BSD-3-Clause | 2022-10-16T19:31:26 | 2018-03-16T08:07:37 | null | UTF-8 | C++ | false | false | 14,409 | 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 "gpu/command_buffer/service/shared_context_state.h"
#include "base/threading/thread_task_runner_handle.h"
#include "base/trace_event/memory_dump... | [
"sunny.nam@samsung.com"
] | sunny.nam@samsung.com |
5b81cea896e2a37adae55aa0d74b2b76116bbff3 | 71d9e6a2c3d35527a8ca62a12e0888755f6ebcfa | /playground/playground/smol/model_manager.h | 9b5f54e336d8f4315ad3a34b8d83f33a0b27b039 | [] | no_license | biomorphs/Playground | 178acf661a4e99f6d76a03d15177233e69e2a17a | 509264222d55500793f3bae200a123f8e443ceac | refs/heads/master | 2021-06-29T01:05:07.336065 | 2021-01-03T03:44:26 | 2021-01-03T03:44:26 | 200,742,219 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,757 | h | #pragma once
#include "model.h"
#include "kernel/mutex.h"
#include "../model_asset.h"
#include "render/mesh_builder.h"
#include <string>
#include <vector>
#include <memory>
namespace SDE
{
class JobSystem;
}
namespace DebugGui
{
class DebugGuiSystem;
}
namespace smol
{
class TextureManager;
struct ModelHandle
... | [
"matt.hoyle@gmail.com"
] | matt.hoyle@gmail.com |
ea9cbb26e882c03061329662b2822ac0f49e0c89 | a2eca70a9a7f2dbf586adb9251d8ddc3ed453497 | /src/studio/synfigapp/actions/valuedescconnect.cpp | 911de0506f3b3a1a636401c73372ed9192bc1b8e | [] | no_license | eshikafe/wxSynfig | 03654379bfc6872cd82bfa2bbb928d4fd9f7a38f | 35573f9c125dc645b1320172bce968a4512fa8f4 | refs/heads/master | 2021-06-15T02:30:59.511757 | 2019-11-20T07:26:19 | 2019-11-20T07:26:19 | 51,330,475 | 8 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,218 | cpp | /* === S Y N F I G ========================================================= */
/*! \file valuedescconnect.cpp
** \brief Template File
**
** $Id$
**
** \legal
** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
** Copyright (c) 2008 Chris Moore
**
** This package is free software; you can redistribute ... | [
"eshikafe@gmail.com"
] | eshikafe@gmail.com |
d5545b514ebea958d6d7b229c217d4f2a1c3bd08 | 2d2c69acda9154755be0a22b9ec1b710789a5bf0 | /LeetCode/leetcode-march-2021/week2/Coin Change.cpp | f08cc8fca0f4a0d76aa579beb5b3ae3f937bcedf | [] | no_license | Kalit31/cp-playground | 2f74282a29222a308c022115e1a733ed2ed8dd6f | 572b543403498ffa12e80236a245bd7fb71249dd | refs/heads/master | 2023-06-26T21:50:26.676082 | 2021-07-31T08:45:15 | 2021-07-31T08:45:15 | 228,023,746 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 627 | cpp | #include <bits/stdc++.h>
using namespace std;
class Solution
{
public:
int coinChange(vector<int> &coins, int amount)
{
int n = coins.size();
vector<int> ways(amount + 1, INT_MAX);
ways[0] = 0;
for (int i = 0; i <= amount; i++)
{
for (int j = 0; j < n; j++)
... | [
"inanikalit31@gmail.com"
] | inanikalit31@gmail.com |
84a04dd4a4c0225b7474f119e5194b9f629fa019 | 7182b78c0ecf8b99d9e5db315b34b7c7577b779b | /old_complete/dynamol/trunk/Main_Build/dynamol/sdreader.h | abfafa95250d00251283360fd68231303a224981 | [] | no_license | gnulnx/dynamol | cbc85abf3d23c9af508576731d06f8ba372449db | 88a1000563f1d49793df8a404eff0fe8768b46b4 | refs/heads/master | 2016-09-06T11:20:54.279297 | 2015-04-09T14:02:42 | 2015-04-09T14:02:42 | 32,398,825 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,551 | h | /***************************************************************************
* Copyright (C) 2004 by Dynamol Inc.
* emai: john.furr@dynamol.com
***************************************************************************/
#ifndef SDREADER_H
#define SDREADER_H
#include <map>
#include <string>
#include <vector>
#... | [
"jfurr@Johns-MacBook-Pro.local"
] | jfurr@Johns-MacBook-Pro.local |
5ae8793f0173297d119334e1df3fbcf7d65bcd7d | d5b54169afcb81a5e7f11953915c7b0876f23052 | /syntex-master/src/chainparamsbase.cpp | e99a1854b104a89f20c813a31b3b11f03fb0e2c7 | [
"MIT"
] | permissive | syntexcoin/SynteX | f74751637f9ba0ab1537d3ca8dff126d411aa0eb | 03c1cc14502077c48d6e89711bfc34dc7a1f54f9 | refs/heads/master | 2020-03-21T16:09:31.399397 | 2018-07-01T00:04:07 | 2018-07-01T00:04:07 | 138,754,006 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,778 | cpp | // Copyright (c) 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.
#include "chainparamsbase.h"
#include "util.h"
#include <assert.h>
#include <boost/assig... | [
"marcin@debian.DOM"
] | marcin@debian.DOM |
2fcc0026f83f5bdb730066b42e561388a0e2c27d | ee4f338aebedc47b06bd08fd35eada5aa81c7a91 | /SDK/BZ_UI_BoatMarker_classes.hpp | 1f4e406b20b7ba1788da1640d0fde9bdb395bb83 | [] | no_license | Hengle/BlazingSails_SDK | 5cf1ff31e0ac314aa841d7b55d0409e3e659e488 | 8a70c90a01d65c6cbd25f3dfdd1a8262714d3a60 | refs/heads/master | 2023-03-17T11:11:09.896530 | 2020-01-28T19:46:17 | 2020-01-28T19:46:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,316 | hpp | #pragma once
// BlazingSails (Dumped by Hinnie) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
//Classes
//---------------------------------------------------------------------------
// WidgetBlueprintGe... | [
"hsibma02@gmail.com"
] | hsibma02@gmail.com |
ad6b066a14f7f7cfc01618e7b804447214bc5851 | 86535d64213d939a507cb45ea5627d89b910f6bb | /abel/container/internal/hashtable_debug.h | 94a5f96b8b8b6ec92d30d008bd57767c2c7ccb26 | [
"BSD-3-Clause"
] | permissive | Conun/abel | 4afcd24d844e5380abde3cb8a8fbb88b2274bb4c | 485ef38c917c0df3750242cc38966a2bcb163588 | refs/heads/master | 2020-12-29T13:51:26.721782 | 2020-02-07T07:35:04 | 2020-02-07T07:35:04 | 238,627,584 | 0 | 0 | BSD-3-Clause | 2020-02-06T07:02:49 | 2020-02-06T07:02:48 | null | UTF-8 | C++ | false | false | 3,494 | h | //
// This library provides APIs to debug the probing behavior of hash tables.
//
// In general, the probing behavior is a black box for users and only the
// side effects can be measured in the form of performance differences.
// These APIs give a glimpse on the actual behavior of the probing algorithms in
// these ha... | [
"lijippy@163.com"
] | lijippy@163.com |
c9c5fad65f6f986b6591ccabcccde6f03f7271fa | 25c5fe54bad995965174408c15d886f0cb2ae508 | /include/BankAccountExample.hpp | 5b68f2868beb3de835ea2033b2ce918cf22681fc | [] | no_license | 6842-Panther-Robotics/Warner.O.Workshop | db0198918f52321d319bdb531ac2b9895137893f | f0b4d2f347d58234d3bbe201f816a9e543bcf4c5 | refs/heads/master | 2021-06-13T21:30:48.691312 | 2020-04-09T19:06:21 | 2020-04-09T19:06:21 | 254,450,856 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 202 | hpp |
class BankAccount {
private:
double balance;
public:
BankAccount (double amount);
BankAccount ();
void deposit(double amount);
void withdraw(double amount);
double getBalance();
};
| [
"Owenjwarner@gmail.com"
] | Owenjwarner@gmail.com |
7ffdc1a5e8e2f31b535cfe9c0319a64b61487b65 | 9eb10f8619ff31ee6f498b16af8d347a265ae3ce | /v8vm/vm_util.h | f5abff4e1b5fbe6093f036e0e755e3f25bd4befe | [
"NAIST-2003",
"BSD-3-Clause",
"Zlib",
"ICU",
"LicenseRef-scancode-unknown-license-reference",
"MIT",
"NTP",
"LicenseRef-scancode-openssl",
"Artistic-2.0",
"ISC",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"LicenseRef-scancode-unicode"
] | permissive | CFHH/node | 2cd779035344cdb5bcfa9f2e7e7b4d58c18fed19 | 36d5deb3cd4d0104dd3e0f52532b6d614ab8a048 | refs/heads/master | 2020-03-22T09:25:14.266026 | 2019-07-09T06:32:06 | 2019-07-09T06:32:06 | 139,836,169 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,583 | h | #pragma once
#include <stdlib.h>
extern bool v8_initialized;
#define DISALLOW_COPY_AND_ASSIGN(TypeName) \
void operator=(const TypeName&) = delete; \
void operator=(TypeName&&) = delete; \
TypeName(const TypeName&) = delete; \
TypeName(TypeName&&) = delete
#define STRINGIFY(x) ... | [
"13436361@qq.com"
] | 13436361@qq.com |
07aa729a64a73441de1539e043802ac2af6732f1 | 2aa15f77370f199c965d54ab68c3056438e0d901 | /ex3/src/ourGenerators/Generator.cpp | 8e8729dc1b143b3a1aef54474ec3626179afd633 | [] | no_license | artemmensk/ex-of-kk | 771d6c636fdf48191dd729c6ca392b4122a9e6c0 | 5e10f5f04a96069880ad4fa003a991fd5d0b957d | refs/heads/master | 2021-01-02T09:27:41.677818 | 2014-06-05T09:19:00 | 2014-06-05T09:19:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,705 | cpp | #include "Generator.h"
// -------------------------------------------------------------------------
const int Generator::DEFAULT_MIN_VALUE = 1;
const int Generator::DEFAULT_VARIABLE_A = 16807;
const int Generator::DEFAULT_VARIABLE_B = 21;
const int Generator::DEFAULT_VARIABLE_C = 888;
// ------------------------------... | [
"artemmensk@gmail.com"
] | artemmensk@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.