blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6dfc1b0fbe4d7e853da72f5655db3b0b944a6060 | 83091ed3fb1a7dbf5e72b9e17b11d350da651381 | /example-face/src/ofApp.cpp | 99eae95dfc811cfa5c8d5a30dbd552f5ea80e5dd | [] | no_license | jvcleave/cameraCvApps | 7d33e230fa593177eeb36ccff982785c6ae6a0b4 | be94012f90b1598569584c7f920bbdc3d6482cb5 | refs/heads/master | 2021-01-10T09:35:31.680345 | 2016-03-16T21:42:45 | 2016-03-16T21:42:45 | 54,061,140 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,817 | cpp | #include "ofApp.h"
//--------------------------------------------------------------
void ofApp::setup()
{
ofSetVerticalSync(false);
ofSetLogLevel(OF_LOG_VERBOSE);
consoleListener.setup(this);
omxCameraSettings.width = 640;
omxCameraSettings.height = 480;
omxCameraSettings.framerate = 30;
omxCa... | [
"jvcleave@gmail.com"
] | jvcleave@gmail.com |
7623b5af705609f85c4708c6347e20b726e8d685 | 4352568ce387f7c36fcf2be479d0f790eaaa3e35 | /Sensor.ino | fe994cb408bd2ca83a054b6f987ad284aee0151b | [] | no_license | libxmike/Transmiter-xBridgePlus | d4496959ca307f4ef04ad622ac3a60ab34ef5352 | a6d72dccee0bbd4d4da1da4dbbf6c6f44930871b | refs/heads/master | 2020-03-14T03:49:47.922720 | 2017-05-22T22:07:54 | 2017-05-22T22:07:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,021 | ino | String decodeSN(byte *data)
{
byte uuid[8];
String lookupTable[32] =
{
"0", "1", "2", "3", "4", "5", "6", "7", "8", "9",
"A", "C", "D", "E", "F", "G", "H", "J", "K", "L",
"M", "N", "P", "Q", "R", "T", "U", "V", "W", "X",
"Y", "Z"
};
byte uuidShort[8]; ... | [
"info@transmiter.com.pl"
] | info@transmiter.com.pl |
00fd6c27156665f6428e3f7aff432dd8a38f2578 | b1be8471950a7d7a834d67b11b24d70aa7ece501 | /DemoApps/GLES3/UI/DpiScale/source/DpiScale.cpp | 6999ec6bc4ffdc444df1917422086b01bbfd6370 | [
"GPL-1.0-or-later",
"JSON"
] | permissive | alexvonduar/gtec-demo-framework | 1b212d9b43094abdfeae61e0d2e8a258e5a97771 | 6f8a7e429d0e15242ba64eb4cb41bfc2dd7dc749 | refs/heads/master | 2021-06-15T13:25:02.498022 | 2021-03-26T06:11:43 | 2021-03-26T06:11:43 | 168,854,730 | 0 | 0 | BSD-3-Clause | 2019-03-25T23:59:42 | 2019-02-02T16:59:46 | C++ | UTF-8 | C++ | false | false | 2,960 | cpp | /****************************************************************************************************************************************************
* Copyright 2020 NXP
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the fo... | [
"Rene.Thrane@nxp.com"
] | Rene.Thrane@nxp.com |
6adec457a5d36a6a04766d63d1791adeec5a6640 | 0a71bbe94d939374b3a949cb54b36a7071d68bf5 | /Code/Submodule/Engine/Code/Engine/Semaphore/Semaphore.hpp | 330314596ee3da19b595ae604686113a1105461b | [] | no_license | bacahillsmu/JRPGDEMO | 847f615f7ccb358ca3f7f3b18f774b9bb5cd1c95 | 8706266e84037273936014035b854ba0ae2825f3 | refs/heads/master | 2022-04-25T13:33:38.637918 | 2020-04-29T20:15:56 | 2020-04-29T20:15:56 | 260,028,094 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 451 | hpp | #pragma once
class Semaphore
{
public:
void Create(unsigned int initialCount, unsigned int maxCount);
void Destroy();
void Acquire();
bool TryAcquire();
void Release(unsigned int count = 1);
void ReleaseAll();
// To make this work and appear like a normal scope lock;
inline void lock() { Acquire(); }
inli... | [
"bacahillsmu2@gmail.com"
] | bacahillsmu2@gmail.com |
5d52899afaf50a8dab71e79638504a12c655bd88 | 69d3a86d8bb8d80c5da4035905df269512e69946 | /cpp/test/testModel.cpp | 553f8d021a4457dca6b177494c771d9b856507e7 | [] | no_license | williamd4112/DDP | dc01b155341bfbbbc464179d1e923a8b3f17bbbf | 5e8a6162c1ff8cef076dbecd09bcbb1e5face5fc | refs/heads/master | 2020-03-19T23:52:04.514325 | 2018-02-23T11:29:52 | 2018-02-23T11:29:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,654 | cpp | #include <iostream>
#include <fstream>
#include "config.h"
#include "ilqrsolver.h"
#include "romeosimpleactuator.h"
#include "costfunctionromeoactuator.h"
#include <time.h>
#include <sys/time.h>
using namespace std;
using namespace Eigen;
int main()
{
struct timeval tbegin,tend;
double texec=0.0;
ILQR... | [
"florent.forget1@gmail.com"
] | florent.forget1@gmail.com |
8c9788e2d6b1b188edc241a9ef280569dc7c599b | 01549f67c1fe454038b103b7ce1bffa3cdd575d1 | /src/noui.cpp | de8064389f4a1c3942a5b1e888a6ded44f8948ba | [
"MIT"
] | permissive | TrustTron/TrustronCoin | a78fb00c998013db3c1f41ce5c0ff59d3daca585 | 0b7f8f2576bf74649dd7a28b7ea9d6d064f0b707 | refs/heads/master | 2020-03-26T13:40:31.897293 | 2018-09-18T09:16:32 | 2018-09-18T09:16:32 | 144,950,859 | 0 | 1 | MIT | 2018-08-17T06:59:28 | 2018-08-16T07:09:36 | C++ | UTF-8 | C++ | false | false | 1,637 | cpp | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Copyright (c) 2018 The Trustron developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or ... | [
"vangyangpao@gmail.com"
] | vangyangpao@gmail.com |
9764eb2f8d9bf57242529a8ada48e961976440e7 | f6a42cf07e0fdd0c3088a587c1640ce8674c2171 | /permutation/permutation.cpp | de4bc7e299adcd375750edaf5714ce7f92021f1c | [] | no_license | kungenw4301/leetcode | 9737ae9d460d7e142712598d102e60e9075f37a2 | eea08b5a7a2833cb35ca60f82ac4d0363b25880c | refs/heads/master | 2021-06-04T02:49:50.039583 | 2019-07-14T11:56:18 | 2019-07-14T11:56:18 | 33,738,553 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,046 | cpp | class Solution{
public:
vector<vector<int>> permute(vector<int> num){
sort(num.begin(), num.end());
vector<vector<int>> result;
vector<int> path; //存储每一个有效的排列,中间结果
dfs(num, path, result); //递归深度优先搜索
return result;
}
private:
void dfs(vector<int> & num, vector<int>& ... | [
"kungenw4301@gmail.com"
] | kungenw4301@gmail.com |
f6efbf7ca1d9890a7cb9c96ed26b9e593fa4e7ea | 877fff5bb313ccd23d1d01bf23b1e1f2b13bb85a | /app/src/main/cpp/dir7941/dir22441/dir28114/dir28115/file28239.cpp | aee46ab48af690cac85a1ee3cfb3203a8b56c0ec | [] | 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 file28239
#error "macro file28239 must be defined"
#endif
static const char* file28239String = "file28239"; | [
"tgeng@google.com"
] | tgeng@google.com |
7ddd79a6501a2d1221ebb0288a8d9fa1360b624e | 44d53cdc1b459c1c4c38dd4bd0103d7e2520d46a | /software/Arduino/CT-Student/mecotron.h | 6c44a344d0201ce04c22b7475df8ebd4ddc05a4f | [] | no_license | meco-group/mecotron | dd783bfd357689b0ea1f7af6701782447001c3b3 | e3171d966b1e9fca5f96e2b7799fbddcd22d190c | refs/heads/master | 2021-01-13T16:56:47.762141 | 2020-07-23T12:23:05 | 2020-07-23T12:23:05 | 72,850,260 | 5 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 8,929 | h | #ifndef MECOTRON_H
#define MECOTRON_H
/*
* MECOtron header
* This header defines pins, values and conversion factors inherent to the
* MECOtrons.
*
*/
#include "math.h"
#define VERSION 3 // Version of the MECOtron
#define MECOTRON_TYPE 20 // Type of the MECOtron
#define MECOTRON_ID 0 // ID of the M... | [
"daniele.ronzani@kuleuven.be"
] | daniele.ronzani@kuleuven.be |
df2c4ad24f2b14108e79547230990f7a8a3a2633 | 5586a8270e0d779961503966de538d70fc81e227 | /TestPostgraduate/ChallengePractice/bp29.cpp | 69c9f646f12e74fa60b53012e2a174d9017a0219 | [] | no_license | Minmengtao/postgraduateEntrance | 9396917ed13cd6c45f828e2e2699129ef87dc4f5 | b9a6561f855cd7fc3381286c64b5a605c3cfd40a | refs/heads/main | 2023-01-06T02:53:58.723227 | 2020-11-05T08:11:09 | 2020-11-05T08:11:09 | 310,231,968 | 2 | 0 | null | null | null | null | GB18030 | C++ | false | false | 919 | cpp | #include<stdio.h>
void print(int P){
if(P>=1&&P<=10)
printf("%d",P);
else if(P==11)
printf("J");
else if(P==12)
printf("Q");
else if(P==13)
printf("K");
}
int main(){
int num[55],len=0;
char s[5];
while(scanf("%s",s)!=EOF){
if(s[0]>='1'&&s[0]<='9'&&s[1]=='\0')
num[len++]=s[0]-'0';
else if(s[0]=='1... | [
"2909338187@qq.com"
] | 2909338187@qq.com |
460316c920a5e1045f4e05186e3c0e422bbfb741 | 6955c06176950a8012d47121da5ad16fcd541554 | /net-manager.cpp | 62d7f8f31ef494a1fbd026e7cb7d689592c3114b | [] | no_license | lukomski/vehicle-qml | 4aa9c5aa5f23e1ba09b4c8c2ef0d2d5b502fe864 | 0b0fc7d07e9ba1253e0e73ff190111896314654d | refs/heads/master | 2020-05-25T08:28:09.874357 | 2019-11-08T10:07:18 | 2019-11-08T10:07:18 | 187,710,986 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,931 | cpp | #include "net-manager.h"
NetManager::NetManager(QObject *parent, QString server_ip, int server_port):QObject(parent) {
dataSize=0;
socket=new QTcpSocket(this);
connected=0;
ping_missed=0;
this->serverIp = server_ip;
this->serverPort = server_port;
qDebug() << "NetManager::NetManager server... | [
"jlukomski1@gmail.com"
] | jlukomski1@gmail.com |
0c9d60e5f73f2a397c74740e11c240fb623ee1be | ad2d392f73f6e26b4f082fb0251b241a7ebf85a8 | /abc/reiwa/158/d2.cpp | 6a554e02a597b6623d7b80e14e3204f7da584e09 | [] | no_license | miyamotononno/atcoder | b293ac3b25397567aa93a179d1af34add492518b | cf29d48c7448464d33a9d7ad69affd771319fe3c | refs/heads/master | 2022-01-09T23:03:07.022772 | 2022-01-08T14:12:13 | 2022-01-08T14:12:13 | 187,175,157 | 0 | 0 | null | 2019-06-12T16:03:24 | 2019-05-17T08:11:58 | Python | UTF-8 | C++ | false | false | 1,164 | cpp | #include <algorithm>
#include <iostream>
#include <iomanip>
#include <cstring>
#include <string>
#include <vector>
#include <random>
#include <bitset>
#include <queue>
#include <cmath>
#include <unordered_map>
#include <set>
#include <map>
#define rep(i,n) for (int i=0; i<n;++i)
#define ALL(a) (a).begin(),(a).end()
ty... | [
"miyamoto-nozomu@g.ecc.u-tokyo.ac.jp"
] | miyamoto-nozomu@g.ecc.u-tokyo.ac.jp |
9f1c3028558530466c704574d53efa72dd3ffad5 | 6505f4fa2dec6f3920251a9d90ca682dc67cdc41 | /src/debugger/impl.cpp | 23b952889b63d61f20a63d3d84450fa7b5cc0e44 | [
"MIT"
] | permissive | jaafarshi/vscode-lua-debug | cbd19e55831f2625cbbfb6ee13cc18e1ae8c3807 | 20720cd110a382a3fca68645f409e0173e5770a1 | refs/heads/master | 2020-03-28T14:22:03.594853 | 2018-09-12T07:07:33 | 2018-09-12T07:07:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,977 | cpp | #include <debugger/impl.h>
#include <debugger/protocol.h>
#include <debugger/io/base.h>
#include <debugger/io/helper.h>
#include <debugger/path.h>
#include <debugger/osthread.h>
#include <debugger/luathread.h>
#include <base/util/format.h>
namespace vscode
{
std::string lua_tostr(lua_State* L, int idx)
{
size_t le... | [
"actboy168@gmail.com"
] | actboy168@gmail.com |
446f4c696d45a2fac52ed09115f086aef02f576f | e8f41a3de146bf11c7cdba9bdcf92ee88a37c6e3 | /include/eve/serialization/vector.h | 5c9ba7058d625517ed1dfa336ae6026e7598e2d9 | [] | no_license | aonorin/eve | 51dae7eba7f25de933507af11ebe8c7f504194cb | 873cc1f253470a2ecad05f306256924f281de353 | refs/heads/master | 2021-01-18T07:13:35.115738 | 2013-07-23T21:28:30 | 2013-07-29T13:48:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,322 | h | /******************************************************************************\
* This source file is part of the 'eve' framework. *
* (A linear, elegant, modular engine for rapid game development) *
* ... | [
"massimo.tristano@gmail.com"
] | massimo.tristano@gmail.com |
d3d18b929618de4ae178c8be81a68f34a446548a | 6b7718498bd1783324bfbce466a0a1fead934cac | /Personal Practice/meal_cost_calculator.cpp | b773127335c53a8ef8dbbeb7af6d1fc557089c41 | [] | no_license | nihalshahria/My-Programming-Practice | 82b682eda0c69251bca833b24c855768a0834fae | ca896a71e737c4978b4f23ef1b8530cad52d852c | refs/heads/master | 2023-08-31T16:33:44.269542 | 2023-08-19T12:16:28 | 2023-08-19T12:16:28 | 218,598,933 | 1 | 0 | null | 2019-10-30T19:21:09 | 2019-10-30T18:45:45 | C++ | UTF-8 | C++ | false | false | 3,527 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int abir, joy, shusan, shohag, nihal, maruf, efaz;
float meal_cost, total_cost, total_meal, house_rent = 10500, bua_bill = 2600, gas = 1150, wifi = 1200/7;
//Marketing cost of all.
printf("Abir spent = ");
scanf("%d", &abir);
... | [
"nihalshahria@gmail.com"
] | nihalshahria@gmail.com |
f30d9dc2cc677178485929245a8065ab84a4dbf3 | 849c447fd351caed38bcb89730c534824f83c65b | /maze.h | 82fc1b7344cbef5300b82642489f7ab401204e63 | [
"MIT"
] | permissive | canzalon/maze-solver | eaf3a1be45fff5dd6653bcb40c16ec675899a054 | a1fb5c9c0bf914180290a5ff9aef419bd0683e00 | refs/heads/master | 2020-07-04T14:18:55.488527 | 2014-10-07T05:44:22 | 2014-10-07T05:44:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,531 | h | // ////////////////////////////////////////////////////////////////
//
// Project: 8x8 Maze Solver
// Author: Anzalone, Christopher
// File: maze.h
//
// \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
//
// DESCRIPTION:
//
// This program will accept as input a text file
// "maze_input.txt" whi... | [
"canzalon@fau.edu"
] | canzalon@fau.edu |
0a5b0e2ef1448fb4b579ce8afe953f24063e9460 | 3fe05c3d5da5c5fdc7c94da04985ba8d7ecad212 | /LibCore/CFile.cpp | 47cee94f15fe1b5ccf5307f01871ccd97acaf689 | [
"BSD-2-Clause"
] | permissive | mycollectos/serenity | 26f5fef0786cda6a1c5c94a87a300d6ef68a2b4f | e478a2fb0ab8b1b392e4dd0bfaa7eafb7d12c6a4 | refs/heads/master | 2023-08-31T18:40:53.661749 | 2019-05-25T02:17:21 | 2019-05-25T02:17:21 | 188,532,452 | 1 | 0 | BSD-2-Clause | 2019-05-26T09:26:19 | 2019-05-25T07:03:22 | C++ | UTF-8 | C++ | false | false | 1,185 | cpp | #include <LibCore/CFile.h>
#include <unistd.h>
#include <fcntl.h>
#include <stdio.h>
CFile::CFile(const String& filename)
: m_filename(filename)
{
}
CFile::~CFile()
{
if (m_should_close_file_descriptor == ShouldCloseFileDescriptor::Yes && mode() != NotOpen)
close();
}
bool CFile::open(int fd, CIODevi... | [
"awesomekling@gmail.com"
] | awesomekling@gmail.com |
141e3645b27d6db6b9e81fed3a0c9bf49325a6a8 | 16432b9df88ff348a623e7535452806632c45443 | /Source/Catan/Private/Settlement.cpp | 9dcb61cfc4063a5f900453c79fe946aa3e085d47 | [] | no_license | jeffGreenPersonal/SettlersOfCatanUE4 | 6e5998510210c907da3001627b0dbe61ad3ac280 | ce381e9fb984bbe418bcf008b8ee164d55fccd8f | refs/heads/master | 2020-03-07T06:20:13.088278 | 2018-04-21T00:55:37 | 2018-04-21T00:55:37 | 127,319,364 | 0 | 0 | null | 2018-04-21T00:55:38 | 2018-03-29T16:38:15 | null | UTF-8 | C++ | false | false | 778 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "Catan.h"
#include "Settlement.h"
// Sets default values
ASettlement::ASettlement()
{
ConstructorHelpers::FObjectFinder< UStaticMesh> MeshRef(TEXT("StaticMesh'/Game/Content/Meshes/settlement.settlement'"));
Mesh->SetStaticMesh(... | [
"ja4green@uwaterloo.ca"
] | ja4green@uwaterloo.ca |
5e64648acc67a9960052e1e7e89f1b93e792ef7d | 6df49c8497b5cdbf2db998717e352ef225597246 | /Task_5/Task_5/newduck.cpp | bc602bd65eb9e0017660b3301c032fa1707e02c4 | [] | no_license | shyamnathp/Competitive_Coding_Next_Level | a3c5d05a8617a13e9b75f3046ae49ece8a33a15b | 8f048e420f077eebf8a00ab11b23778b8fc0fbe8 | refs/heads/master | 2022-11-29T04:21:54.929216 | 2020-08-15T09:07:48 | 2020-08-15T09:07:48 | 287,712,334 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,876 | cpp | #include <iostream>
#include <algorithm>
#include <fstream>
#include <sstream>
#include <utility>
#include <map>
#include <iterator>
#include <cmath>
#include <vector>
#include <set>
#include <numeric>
#include <iomanip>
using namespace std;
std::vector<int> slice(std::vector<int> const &v, int m, int n)
{
auto firs... | [
"shyamnath94.mec@gmail.com"
] | shyamnath94.mec@gmail.com |
63e5afc96f81d6278d14e4fb0b70f79ac5afaa99 | 3abf20b792ab0cf15f5aef05e23e5e091b6b8368 | /examples/data_distribution/boxplot/boxplot_1.cpp | 1704f67f44ccb484e82c7b4418f4c57f839d9d71 | [
"MIT"
] | permissive | district10/matplotplusplus | e3ee8ead626c5f3ec012d0ca3ba6e4f4e05f8e55 | 529ef901048e5edf9b09a1f135d546d937af532e | refs/heads/master | 2022-12-08T16:51:35.102099 | 2020-08-29T23:55:33 | 2020-08-29T23:55:33 | 291,371,000 | 1 | 1 | MIT | 2020-08-30T00:22:44 | 2020-08-30T00:22:43 | null | UTF-8 | C++ | false | false | 838 | cpp | #include <cmath>
#include <matplot/matplot.h>
#include <random>
int main() {
using namespace matplot;
std::vector<double> mpg = {
18, 15, 18, 16, 17, 15, 14, 14, 14, 15, 15, 14,
15, 14, 24, 22, 18, 21, 27, 26, 25, 24, 25, 26,
21, 10, 10, 11, 9, 28, 25, ... | [
"alandefreitas@gmail.com"
] | alandefreitas@gmail.com |
0d522281c4e9e34f12540e5678589681320e7eb8 | 10d33b9b5af6883568b293d0a81a79f3f422998f | /C++/申请和释放堆区空间/申请和释放堆区空间/申请和释放堆区空间.cpp | c4765a24d45e33294b35f2264f1756453f156a94 | [] | no_license | wovert/CTutorials | 25d4f713e3be760838ce31c518413f4009b0f224 | a897587f111490d63b1c901ee4beab98c9a0b4bf | refs/heads/master | 2023-05-25T22:09:59.046479 | 2023-05-15T01:57:28 | 2023-05-15T01:57:28 | 127,814,474 | 6 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 2,977 | cpp | #include <iostream>
class Student {
public:
// 无参构造函数
Student() {
std::cout << "无参构造函数" << std::endl;
}
// 防止编译器优化 Student s = 10; 这种格式
// 只能放在只有一个参数或其他参数有默认值的构造函数
explicit Student(const char *name) {
std::cout << "构造函数" << std::endl;
std::cout << "sizeof(name)" << sizeof(name) << std::endl;
std::cout ... | [
"wovert@126.com"
] | wovert@126.com |
6bbf703f6487104852db1ae21157d8d34d23303d | e0ff75984d249f8624231a24b4f4ae120d623b17 | /libraries/CayenneLPP/src/CayenneLPP.cpp | f167cd4518d4a3521215672e1b36fc4436230429 | [] | no_license | fmaw/TiltTracker | 3fa3fd418e453d4c2d8ef3936fba76b4ce3b79fa | 256691d1684441ca14d0a107c6bb3d37646538e0 | refs/heads/master | 2023-04-11T23:30:49.014778 | 2021-05-19T18:12:57 | 2021-05-19T18:12:57 | 368,926,412 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,039 | cpp | #include "CayenneLPP.h"
CayenneLPP::CayenneLPP(uint8_t size) : maxsize(size) {
buffer = (uint8_t*) malloc(size);
cursor = 0;
}
CayenneLPP::~CayenneLPP(void) {
free(buffer);
}
void CayenneLPP::reset(void) {
cursor = 0;
}
uint8_t CayenneLPP::getSize(void) {
return cursor;
}
uint8_t* CayenneLPP::g... | [
"fmawic@gmail.com"
] | fmawic@gmail.com |
78d150b73175356c4a2a12b9ca0e8451aeebfaf9 | dce62d2c4ec575b4ddea35325c51ebdac41c3788 | /DFS1/BeatDetection/GameCode/BeatGame/Player.cpp | c93e355629991b0d758bff477e90a068acab2ea3 | [] | no_license | wvennes/BeatDetection | 19c1778fc8885e3ef6b87a5f9755e7121365fc0d | cec72979aec3d97686563aa805861bf3258abe37 | refs/heads/master | 2021-01-10T02:22:35.901252 | 2016-01-26T05:51:37 | 2016-01-26T05:51:37 | 50,263,103 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,003 | cpp | //---------------------------------------------------------------------------
// Player.cpp
//---------------------------------------------------------------------------
#include "Engine/Input/XboxControllerHandler.hpp"
#include "Engine/Rendering/Material.hpp"
#include "Engine/Rendering/RenderFunctions.hpp"
#include "... | [
"wvennes@smu.edu"
] | wvennes@smu.edu |
3664d54888f49c5f1f4c1d40ad80598c013d4b4f | b05ee0ef4aa4df4ec04d276b525450a8632df588 | /boj/temomushhroom.cc | 0286ed220d25800bb6f10f853efd56c4891a90c6 | [] | no_license | dongwoo338/algo | d300101a71d212bbb50effb0213af0facee6a2d7 | fac72b49b08292374b8e96f2d41d8bb1f2404dac | refs/heads/master | 2023-02-21T13:55:51.815259 | 2021-01-16T12:58:42 | 2021-01-16T12:58:42 | 306,344,271 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 93 | cc | #include<iostream>
using namespace std;
int main(){
int n;
cin >> n;
cout << n;
} | [
"dongwoo3383@gmail.com"
] | dongwoo3383@gmail.com |
f4f6739a20148052e17b8cd77c3220e9644bf971 | 8abff2284b2d552bd45a7f3f6b97deb21b6be16d | /백준문제/2163.cpp | 2826cd3c1ec8a1c51246b35c81ec8e2c068c8d3e | [] | no_license | Realhyeonwoo/study-algorithm | 4cb43b89c242b12c5ae4bfed917f9696d6f68f34 | e2f73583b34d6f4fc98c48140fa28d791e624480 | refs/heads/master | 2020-07-29T13:56:41.087057 | 2020-06-25T13:49:11 | 2020-06-25T13:49:11 | 209,330,552 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 148 | cpp | #include<iostream>
using namespace std;
int main(void) {
int n, m;
cin >> n >> m;
int ans = n * m - 1;
cout << ans << endl;
return 0;
}
| [
"gusdn7269@naver.com"
] | gusdn7269@naver.com |
663fbeb76535e93a5d015e64894fdaf71d439794 | e96bad649803d7c31afbeec1d26ef286b49c48dc | /BEList.cpp | b5d49b0a22f351a6d50ff94115abcadc8e89831c | [] | no_license | colm-mchugh/BlockCommands | 84543da8482a1969d06326c4e968b36a0ee142e0 | f535948b298cc037b10f8d2e3f61da7d6a2c0608 | refs/heads/master | 2021-01-01T17:20:35.678459 | 2017-08-14T04:26:12 | 2017-08-14T04:26:12 | 98,055,365 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,157 | cpp | #include "BEList.h"
#include <stdlib.h>
#include <string.h>
BEList *createBEList() {
BEList *new_list = (BEList*)malloc(sizeof(BEList));
new_list->head = NULL;
new_list->tail = NULL;
new_list->num_nodes = 0;
return new_list;
}
BEListNode *createBEListNode(BlockEntry* data) {
BEListNode *new_node = (BEListNode*)... | [
"colm_mchugh@apple.com"
] | colm_mchugh@apple.com |
953742c4f09a15a07c4942353d727c7c9e29c2d0 | 7abbaf660fd128a5b1ca7407e545a67205f9611b | /HUI Miner Code/main.cpp | edeaea19a255de21650e43adfcbfbbb201ace667 | [] | no_license | aman955/HUIM-SMP-High-utility-itemset-mining-based-stock-market-prediction | 01ebef2f0378587135b37ec81a4fe74f3df5baf8 | 5663101e303839b9db487881443551fb7e86f8bb | refs/heads/master | 2022-10-06T20:39:56.705337 | 2020-06-08T16:23:34 | 2020-06-08T16:23:34 | 118,157,545 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,216 | cpp | #include <iostream>
#include <fstream>
#include <map>
#include <cstdlib>
#include <string>
#include <cstring>
#include "Dataset.h"
#include "ItemsetTable.h"
int main (int argc, char** argv){
std::fstream datasetFile(argv[1], std::ios::in);
std::fstream unitProfitFile(argv[2], std::ios::in);
std... | [
"amanrathore955@gmail.com"
] | amanrathore955@gmail.com |
f8c1fd4ae7cc587b197e6e36a3fc3796ade218e8 | f2eadf001eb823c6b5459b74e8636043ca9fbd7a | /Books/SFML Game Development by Example/Chapter 7/Platformer/Platformer/src/Map.cpp | e45dc27dfbf0afa97af4b46984b203a4e3036657 | [
"MIT"
] | permissive | mequint/Cpp-Samples | 4a5b18fa4fbcab5c839140527dc3b2ed666d16dd | a5e8e08381121c10c100632ae190cc509be3293e | refs/heads/master | 2021-11-05T17:31:01.323207 | 2021-09-13T23:39:12 | 2021-09-13T23:39:12 | 125,294,464 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,559 | cpp | #include "Map.h"
#include "DebugOverlay.h"
#include "EntityManager.h"
#include "StateManager.h"
#include "Window.h"
Map::Map(SharedContext* context, BaseState* currentState) :
m_context(context),
m_defaultTile(context),
m_maxMapSize(32, 32),
m_tileCount(0),
m_tileSetCount(0),
m_mapGravity(512.0f),
m_loadNextMa... | [
"katarn2000@hotmail.com"
] | katarn2000@hotmail.com |
79940f5c54a4e41ab82a226e5f999e2f836be05e | 687b2858d3ed5ea6e8e3beee60a412f249b1f30e | /components/subresource_filter/content/browser/content_subresource_filter_driver.cc | e54de76273233329e307540c2fe6055cb1430613 | [
"BSD-3-Clause"
] | permissive | JoKaWare/chromium | 058baa01702fa3462f166cbd5d15795a08e76fbb | 936c16d92cb3caf815cd31fa455576aac2bece75 | refs/heads/master | 2023-01-16T10:54:14.597984 | 2017-02-10T20:20:30 | 2017-02-10T20:20:30 | 39,988,275 | 1 | 0 | null | 2015-07-31T05:27:21 | 2015-07-31T05:27:19 | null | UTF-8 | C++ | false | false | 1,169 | 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 "components/subresource_filter/content/browser/content_subresource_filter_driver.h"
#include "components/subresource_filter/content/common/subre... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
20126449c17fdcafd9b4c3d0f8178ec781814aee | 3310525cc8be475159d5f715fd3220a2d88fa02d | /Direct3D_000/cMainGame.h | 3582b0e7a23e172665a02cd0191cad0cbea2aea6 | [] | no_license | LeeJiu/study_code | f0398ec7fc3609f1e2b351dbafc5dd57bf832ceb | f23e0097569385f1a50e86435035a6e7411196ae | refs/heads/master | 2021-01-17T04:39:42.049563 | 2016-09-07T08:45:47 | 2016-09-07T08:45:47 | 53,474,826 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 489 | h | #pragma once
class cImage; //이런클래스가 있다
class cMainGame
{
private:
HDC m_hdc; //윈도우 HDC
cImage* m_pBackBufferImage; //백버퍼 이미지
cScene_00* m_pNowScene;//현재 씬
public:
cMainGame(void);
~cMainGame(void);
//셋팅
HRESULT Init(void);
//해제
void Release();
//업데이트
void Update();
//드로우
void Draw();
... | [
"leeji0408@skhu.kr"
] | leeji0408@skhu.kr |
a788e0ccfe775ce84979d1f1fab8599656bb653e | 0e8bf0840adc53c4056fb44696d483f94280b86f | /powerup.cc | 5fd365ae3642115e6b1d4e099129f6f98320f31c | [] | no_license | bentglasstube/roguelike | 295479aebcddd186153df30c57ed21eb95863abc | 63d092bbf9e5d4d7c00b6c387de58a5af2cc824b | refs/heads/master | 2021-01-19T18:46:32.951456 | 2017-11-11T04:29:54 | 2017-11-11T04:31:27 | 101,162,049 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 799 | cc | #include "powerup.h"
Powerup::Powerup(double x, double y, Type type, int cost) :
Entity("ui.png", 3, x, y, 1),
type_(type), cost_(cost) {}
void Powerup::hit(Entity& source) {
auto player = dynamic_cast<Player*>(&source);
if (player) apply(*player);
}
void Powerup::apply(Player& target) {
switch (type_) {
... | [
"alan@eatabrick.org"
] | alan@eatabrick.org |
7fec081f0a10f051fa05cb1e71d8731aeda8c6a6 | aaf75a8db5b5d0993e1e6f03c77265fa88309fac | /include/utils/ec_private.hpp | b51dd631e229478250c73a62831098f2d1a1c117 | [] | no_license | hanchon/bitprim-dojo | 8849abc416a08f62fe2991f793b41b3ab1355f23 | 297ccc1063cf7c355021c870680e9ac680a33612 | refs/heads/master | 2021-07-24T10:27:00.565138 | 2018-07-06T01:58:41 | 2018-07-06T02:02:52 | 135,053,018 | 0 | 1 | null | 2018-06-16T00:29:05 | 2018-05-27T14:18:54 | C++ | UTF-8 | C++ | false | false | 2,473 | hpp | /**
* Copyright (c) 2011-2017 libbitcoin developers (see AUTHORS)
*
* This file is part of libbitcoin.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the Lic... | [
"guillermo@bitprim.org"
] | guillermo@bitprim.org |
244c34ff1cacbbdf85acfa7d68566785ae9d9e7b | 030e1f09b9b1c2ff3098dfae260fe7dd50ab833b | /httpcpp/src/httprequestparser.cpp | 0b199a8648ea37fb9e3a3510476c6436841a21ab | [] | no_license | e3a/squawk-old | 85082eef581c7bc79c344e9cc70336e61260ee80 | 923423c4f36f3ec346f03381c84aef68569e4f85 | refs/heads/master | 2021-05-31T16:58:44.689389 | 2016-06-06T18:55:51 | 2016-06-06T18:55:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,833 | cpp | /*
http request parser implementation.
Copyright (C) 2014 <e.knecht@netwings.ch>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or ... | [
"e3a@spielhuus.org"
] | e3a@spielhuus.org |
8736b9838166b8cd1c32d8d8f9904d1ce0eb6e1b | 0cdb09d76d6bf07a1e9642118213f4dbba382030 | /mainwidget.h | d2f841de358a9af363dfb8685afac786fd17047a | [] | no_license | DragonPang/QTDownloadTool | 89f1ece95cee3133ca74f5de6dbec8b0575bf2a8 | 72f451b939a5017b8b7b7164e7ed1c6490447399 | refs/heads/master | 2021-05-07T13:36:51.805885 | 2017-11-05T12:53:34 | 2017-11-05T12:53:34 | 109,579,193 | 4 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,359 | h | #ifndef MAINWIDGET_H
#define MAINWIDGET_H
#include <QWidget>
#include "addtaskdialog.h"
#include "listwidget.h"
#include "network.h"
namespace Ui {
class MainWidget;
}
class MainWidget : public QWidget
{
Q_OBJECT
public:
explicit MainWidget(QWidget *parent = 0);
~MainWidget();
private:
void initSl... | [
"294971352@qq.com"
] | 294971352@qq.com |
303b9c044f29bc40c48ec6772d960fc34df26481 | 7a36a0652fe0704b4b27f644653e7b0f7e72060f | /TianShan/EventGateway/EventGwHelper.h | 0746728de2c7fbaac58c398b185a1d029d87695a | [] | no_license | darcyg/CXX | 1ee13c1765f1987e293c15b9cbc51ae625ac3a2e | ef288ad0e1624ed0582839f2a5a0ef66073d415e | refs/heads/master | 2020-04-06T04:27:11.940141 | 2016-12-29T03:49:56 | 2016-12-29T03:49:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,611 | h | #ifndef __TIANSHAN_EVENTGW_HELPER_H__
#define __TIANSHAN_EVENTGW_HELPER_H__
//#include <TianShanDefines.h>
#include <ZQ_common_conf.h>
#include <Log.h>
#include <Ice/Ice.h>
namespace EventGateway{
typedef std::map<std::string, std::string> Properties;
class IEventGateway;
#define EventGw_Module_Name_Pref... | [
"jjz@example.com"
] | jjz@example.com |
73463bc51aebd532e60f1499e7f1c843a720b2d9 | 88d23be67e1a64cc5e791be47ef15267be4fcb70 | /src/nativepicker/gnativepickermodel_ios_p.h | 744ce5fff25a339375c12512592118d4a66336b1 | [] | no_license | pho-incubator/mobile-plugin-nativepicker | 6e28fd7f77e06406b71a918c70b986312e655a59 | 403ffc5d2613b58a521f3015ad0b576c6e64b415 | refs/heads/master | 2020-12-23T12:49:15.926517 | 2020-01-30T07:06:26 | 2020-01-30T07:06:26 | 237,157,915 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 612 | h | #ifndef NATIVEPICKERMODEL_IOS_P_H
#define NATIVEPICKERMODEL_IOS_P_H
#include "gnativepickermodel_p.h"
class NativePickerModelIosPrivate : public NativePickerModelPrivate
{
Q_OBJECT
public:
explicit NativePickerModelIosPrivate(NativePickerModel *q);
virtual ~NativePickerModelIosPrivate();
void init();... | [
"emresokullu@EMREs-MacBook-Pro.local"
] | emresokullu@EMREs-MacBook-Pro.local |
a7e4ec06ea3d8786d1439865f56a7eac638bb483 | aa1418034de0d33a868f351f2fc563325c36706c | /Doc-replica/bipartite_graph.cpp | a5a6b7ef36375ebb47aa2883e05f8d2c104e1c42 | [] | no_license | anabeL19/Computaci-n-Paralela-y-Distribu-da | 3c268291b83e9a195f10dcf3afc4f8cf8a5a9a18 | dcc6b5e40b6b87a0eff8f74fb538018aa3cb45f2 | refs/heads/master | 2021-07-19T20:46:26.109503 | 2020-08-26T02:29:29 | 2020-08-26T02:29:29 | 209,203,785 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,955 | cpp | /*
BIPARTITE GRAPH PARTIAL COLORING
COMPILE:
g++ -g -Wall -fopenmp -o test bipartite_graph.cpp
RUN:
./test 4 < coPapersDBLP.mtx
*/
#include <iostream>
#include <fstream>
#include <omp.h>
#include "bipartite_graph.h"
using namespace std;
int thread_count;
unsigned int v, e;
// VERTEX BASED
... | [
"anabel.paredes@ucsp.edu.pe"
] | anabel.paredes@ucsp.edu.pe |
e5f9ed7232c4d44fba6d0d38cb093c27d39ba669 | 5761c4b2a0404acb88a8ad846d1738792c4669a3 | /Grafi/grafomat.h | e2b6e9ebea72f96371e3936b7be943ee7cd13daf | [] | no_license | Frank909/DataStruct | 605b423a3340a1c7fa4593ba2a6f8c7e0fab6775 | cef35e04e79dc4bf5af4f30fd2e3c72d263c1ea8 | refs/heads/master | 2020-04-02T22:34:08.019272 | 2018-10-26T14:05:32 | 2018-10-26T14:05:32 | 154,837,792 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,392 | h | #ifndef GRAFOMAT_H
#define GRAFOMAT_H
#include "Grafo.h"
template<class P>
class InfoArco {
public:
P peso;
bool vuoto;
InfoArco() {
vuoto = true;
}
};
template<class E, class P>
class InfoNodo {
public:
E etichetta;
bool vuoto;
void *info;
InfoArco<P> *archi;
InfoNodo(... | [
"francesco.ven90@libero.it"
] | francesco.ven90@libero.it |
28fb0e6b974694d5fdeb3b581facdd85c2563248 | e62a1eb9e136a86b6c211172f7b3ff5c7e85ce28 | /execute.cpp | 5ae225b5c7686aa68335e08638090a6fb9b8abdd | [] | no_license | ilyshnikova/parallel-data-gathering | 0b6807825e2d5353a997e27274b0c83c03a3ad38 | bc080086948cb854dda8dc84f262963c5764b8a6 | refs/heads/master | 2021-01-10T09:44:32.930408 | 2015-04-19T12:53:26 | 2015-04-19T12:53:26 | 44,667,865 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 962 | cpp | #include <iostream>
#include <string>
#include <vector>
#include <iterator>
#include <functional>
#include <algorithm>
#include "execute.h"
ExecuteHandler::ExecuteHandler(const std::string& cmd)
: result()
, index(0)
{
FILE* pipe = popen(cmd.c_str(), "r");
if (!pipe) {
std::cerr << "Error while opening pipe\n";
... | [
"ilyshnikova@yandex.ru"
] | ilyshnikova@yandex.ru |
11d6196096eb2643368eb1343ce7c5878a5176bc | 783051e6d1fa69b80e0e7baa602dd3b6debe1573 | /Game/ModelManager.cpp | b4c9644f01e4c28a6fe94246968f62e0a746ca1a | [
"CC0-1.0"
] | permissive | sacek940mw/Game_P | 309ab40c1daf984fb22503f191506415271c8b48 | 940bb0f0e116401ff8528834d6b7bf191f2b3c8f | refs/heads/main | 2023-06-16T00:09:16.621245 | 2021-07-10T19:06:27 | 2021-07-10T19:06:27 | 331,883,041 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,498 | cpp | #include "ModelManager.h"
void ModelManager::rotateModel(glm::mat4* mRot, float xR, float yR, float zR){
if (xR != 0) {
*mRot = glm::rotate(*mRot, glm::radians(xR), glm::vec3(1.0f, 0.0f, 0.0f));
}
if (yR != 0) {
*mRot = glm::rotate(*mRot, glm::radians(yR), glm::vec3(0.0f, 1.0f, 0.0f));
}
if (zR != 0) {
*mRo... | [
"jakub.sacewicz.sacek@gmail.com"
] | jakub.sacewicz.sacek@gmail.com |
afe36d77d49fc03bdea797730a3fb63415e9effc | caf293a243e0c0f3d6e2edb0ba71f336f57c8e73 | /examples_oldgl_glfw/600_Fem2DHelmholtz/main.cpp | ab43c6d99a563dedecba2b1ff0cbd416a4bd8062 | [
"MIT"
] | permissive | funkfuzz/delfem2 | 6dd2eccaa8414505a39b49908c4bf7fbe0bd46f7 | b04c7f260dadadb2ae5bdefa954d6cdb5a42d3b9 | refs/heads/master | 2023-07-14T19:43:53.891499 | 2021-08-22T11:38:18 | 2021-08-22T11:38:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,233 | cpp | /*
* Copyright (c) 2019-2021 Nobuyuki Umetani
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <cstdlib>
#include <cmath>
#include <iostream>
#include <vector>
#include <complex>
#define GL_SILENCE_DEPRECATION
#include <GLFW/... | [
"n.umetani@gmail.com"
] | n.umetani@gmail.com |
ef0f79c859bddb2a4f33e4010a0296e3ff6b3f8c | a75d0418b2143d6f59635a8833bff49bc903df5e | /DofusMessages/AcquaintancesListMessage.h | 84c76d40a52807878b70e4247432a15accec3681 | [] | no_license | Arkwell9112/dofus_bot | 30b80850ba41b6a2b562705ec8aa1a6c87cfb8f8 | fc1b805b70c0ed43cbc585322806ece89d057585 | refs/heads/master | 2023-01-16T01:08:06.710649 | 2020-11-23T20:53:00 | 2020-11-23T20:53:00 | 314,084,045 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 451 | h | #ifndef ACQUAINTANCESLISTMESSAGE_H
#define ACQUAINTANCESLISTMESSAGE_H
#include "../BotCoreAPI/BotCoreAPI.h"
#include "../DofusTypes/AcquaintanceInformation.h"
#include <string>
#include <vector>
class AcquaintancesListMessage : public DeserializeInterface {
public:
std::vector<AcquaintanceInformation> acquaintan... | [
"arkwell9112@github.com"
] | arkwell9112@github.com |
6559981563c91ef48639b8c45044d209dcbb97b0 | f41c1d24d578fa9dabdb56253909ee5963de0c86 | /PEEL/Physics/HACD/hacdICHull.cpp | 29604dda76421685b566ecc7e93238cb27f70706 | [
"Zlib"
] | permissive | DanielChappuis/PEEL | 018eee97cc6bbe9335b80f7616e9b065920fa061 | a8814e6821a9781a42785b0f51418fe99fef6f69 | refs/heads/master | 2022-01-12T19:43:06.045614 | 2020-01-05T00:12:14 | 2020-01-05T00:12:14 | 56,355,144 | 2 | 0 | null | 2016-04-15T23:22:52 | 2016-04-15T23:22:51 | null | UTF-8 | C++ | false | false | 37,992 | cpp | /* Copyright (c) 2011 Khaled Mamou (kmamou at gmail dot 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 code must retain the above copyright notice, this list of... | [
"pierre.terdiman@gmail.com"
] | pierre.terdiman@gmail.com |
d57a5afea93336d00e4dbe1045755d03fa98cf01 | 17cda04488d586e33de40e96cba9f741ebecd3bd | /c_src/py_box.cpp | 4405eef0bbca9986cf08d87dccf497da54bc1a05 | [
"MIT"
] | permissive | alan303138/tensorflow-yolov4 | 940877e7e143f7aa409e977c3cb4f6ae3e3869f8 | 4f49523210325d8e68bd9ff2671ca003ae80d989 | refs/heads/master | 2023-06-11T15:13:46.169487 | 2021-07-04T14:26:35 | 2021-07-04T14:26:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,984 | cpp | /*
* MIT License
*
* Copyright (c) 2021 Hyeonki Hong <hhk7734@gmail.com>
*
* 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
... | [
"hhk7734@gmail.com"
] | hhk7734@gmail.com |
973ef574755476b9b327eaf75ac46ee7fdf4e6ba | 761da25b226b9a4e04d69b6c9525cb379a3156a5 | /player/tsFileParse/SourceParse.h | fe3c52bbe62cee187b928f4ff8d38c870273dec6 | [] | no_license | huanCode/player_study_project | 740476ed348ac57ad53ae4bc2045e022a69daf93 | 17e224a771e4c3f3e23ec1be3865f1588a129c37 | refs/heads/master | 2021-05-25T12:06:09.323697 | 2019-01-31T05:56:59 | 2019-01-31T05:56:59 | 127,375,358 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 632 | h | #pragma once
#ifndef _SOURCEPARSE_H
#define _SOURCEPARSE_H
#include "amcomdef.h"
#include "StreamReadMgr.h"
#include "DemuxerMgr.h"
#include "common.h"
class SourceParse
{
public:
SourceParse();
MBool Open(MPChar strUrl);
MBool Seek(MInt64 seekTimeStamp);
MBool ReadFrame(AVPkt** pkt);
MBool HasVideo(... | [
"403705913@qq.com"
] | 403705913@qq.com |
d71acc74de96ffd814e7c292d5d2efca42e8700a | 884056b6a120b2a4c1c1202a4c69b07f59aecc36 | /java projects/jtop/jtopas/versions.alt/seeded/v2/src/de/susebox/jtopas/SequenceHandler.cpp | ad5ebf4bc078aadef3c251cd4f4e1d018f9787a8 | [
"MIT"
] | permissive | NazaninBayati/SMBFL | a48b16dbe2577a3324209e026c1b2bf53ee52f55 | 999c4bca166a32571e9f0b1ad99085a5d48550eb | refs/heads/master | 2021-07-17T08:52:42.709856 | 2020-09-07T12:36:11 | 2020-09-07T12:36:11 | 204,252,009 | 3 | 0 | MIT | 2020-01-31T18:22:23 | 2019-08-25T05:47:52 | Java | UTF-8 | C++ | false | false | 370 | cpp |
package de.susebox.jtopas;
import de.susebox.java.util.TokenizerProperty;
import de.susebox.java.util.TokenizerException;
public interface SequenceHandler extends Plugin {
public TokenizerProperty isSequenceCommentOrString(int startingAtPos, int maxChars)
throws TokenizerExceptio... | [
"n.bayati20@gmail.com"
] | n.bayati20@gmail.com |
29c7a9a7b132958b01ebccae9e8ce654fc5d92ae | fb6251837c15a0ee0b28b15d214599165e11de83 | /UVA/10611 - The Playboy Chimp.cpp | c452d3674dd270f96be76e22a38030b9b042603c | [] | no_license | CDPS/Competitive-Programming | de72288b8dc02ca2a45ed40491ce1839e983b765 | 24c046cbde7fea04a6c0f22518a688faf7521e2e | refs/heads/master | 2023-08-09T09:57:15.368959 | 2023-08-05T00:44:41 | 2023-08-05T00:44:41 | 104,966,014 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 847 | cpp | #include <bits/stdc++.h>
using namespace std;
long long a[50000],qi;
int n,q;
int upperBound(long long x){
int l = 0, h = n-1,m;
while(l< h){
m = l + ( (h-l)/2 );
if( a[m] > x)
h = m;
else l = m +1;
}
return l;
}
int lowerBound(long long x){
int l=0, h = ... | [
"crispale07@gmail.com"
] | crispale07@gmail.com |
b208fd567d9668d170b2e0b352cc1843d6e994ad | dafbcc173439ac8d731f40c023098a9214c0c2f1 | /insert-delete-getrandom-o1.cpp | df53a196a016d841f91365e8ea37cd7471e08643 | [] | no_license | liming-vie/LeetCode | dc4a9a6225732b773086ce9b719ac07767bf1dea | 8341946e8a9cef7e8176999b3612e9dcc194fd41 | refs/heads/master | 2020-12-24T19:46:51.228339 | 2018-10-28T14:36:04 | 2018-10-28T14:36:04 | 56,525,849 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,245 | cpp | class RandomizedSet {
public:
/** Initialize your data structure here. */
RandomizedSet() {
}
/** Inserts a value to the set. Returns true if the set did not already contain the specified element. */
bool insert(int val) {
if (mp.find(val) != mp.end()) return false;
m... | [
"liming.vie@gmail.com"
] | liming.vie@gmail.com |
3e6f0e12b5e049b8557da075e317b75295613b65 | afcb8a2f000099ec415ee72021ea2533030184fd | /include/Nazara/Core/PluginLoader.hpp | e4a0191e376b92c6d22bb66df3a9a27103150ad4 | [
"GPL-3.0-only",
"MIT",
"BSD-3-Clause",
"LicenseRef-scancode-proprietary-license",
"Apache-2.0"
] | permissive | NazaraEngine/NazaraEngine | b67397af8a355bed0389daafd3463f0695a1ab92 | 1b9c19fd788e6116984c2466bad0b75047012a6a | refs/heads/main | 2023-09-04T10:08:48.321299 | 2023-08-31T16:01:59 | 2023-08-31T16:01:59 | 4,192,801 | 207 | 23 | MIT | 2023-09-09T20:09:05 | 2012-05-01T14:08:17 | C++ | UTF-8 | C++ | false | false | 1,359 | hpp | // Copyright (C) 2023 Jérôme "Lynix" Leclercq (lynix680@gmail.com)
// This file is part of the "Nazara Engine - Core module"
// For conditions of distribution and use, see copyright notice in Config.hpp
#pragma once
#ifndef NAZARA_CORE_PLUGINLOADER_HPP
#define NAZARA_CORE_PLUGINLOADER_HPP
#include <NazaraUtils/Prere... | [
"lynix680@gmail.com"
] | lynix680@gmail.com |
f9adacb847922a84a018ca178b57b63a9fe09198 | 07ec03b633de1ba8df446c9606ae9f348e1e5716 | /src/ofApp.cpp | b0593ef2afe8827ec2c0351399fd99687a905858 | [] | no_license | LPx1/LunarLander | e08046e8534739fcc1e0cc8ca5049d079a1d9836 | 7846a70bb7189e617fc13527a1a7058f98007e1e | refs/heads/master | 2020-04-10T11:07:35.760114 | 2018-12-28T02:02:48 | 2018-12-28T02:02:48 | 160,984,246 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,432 | cpp | //
// CS 134 - Final MoonLander Project - Fall 2018
//
//
// This file contains all the necessary startup code for the Midterm problem Part II
// Please make sure to you the required data files installed in your $OF/data directory.
//
// (c) Kevin M. Smith - 2018
//
//... | [
"lu.pamintuan@yahoo.com"
] | lu.pamintuan@yahoo.com |
1b6f092684f44e7b320fcc1139d588c87f5ad39f | 9ab722e6b9e4ce741cc6f865ba97e0fdc0ad14e5 | /library/third_party/skia/src/core/SkBlitter_ARGB32.cpp | a5ce6087f2c6cb6a23b7cdfa5017fe8079040445 | [
"MIT"
] | permissive | csjy309450/PuTTY-ng | b892c6474c8ff797f1d0bf555b08351da4fe617b | 0af73729d45d51936810f675d481c47e5588407b | refs/heads/master | 2022-12-24T13:31:22.786842 | 2020-03-08T16:53:51 | 2020-03-08T16:53:51 | 296,880,184 | 1 | 0 | MIT | 2020-09-19T13:54:25 | 2020-09-19T13:54:24 | null | UTF-8 | C++ | false | false | 19,288 | cpp | /* libs/graphics/sgl/SkBlitter_ARGB32.cpp
**
** Copyright 2006, 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/LI... | [
"wlwlxj@gmail.com@b2b8c3b8-ce47-b78c-ec54-380d862a5473"
] | wlwlxj@gmail.com@b2b8c3b8-ce47-b78c-ec54-380d862a5473 |
f9ee2a6e5502de894a1002986d3252f64de4a42b | af69e335fc0ff9632964d061833713b672abad01 | /Temp/StagingArea/Data/il2cppOutput/Mono_Security_Mono_Security_Protocol_Tls_HandshakeS756684113.h | c3bd56333338f32f4dc4b7acfd75c1288b46cfb7 | [] | no_license | PruthvishMShirur/Solar-System | ca143ab38cef582705f0beb76f7fef8b28e25ef9 | 5cf3eaa66949801aa9a34cd3cf80eeefa64d2342 | refs/heads/master | 2023-05-26T17:53:37.489349 | 2021-06-16T19:56:48 | 2021-06-16T19:56:48 | 377,611,177 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,009 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "mscorlib_System_Enum4135868527.h"
#include "Mono_Security_Mono_Security_Protocol_Tls_HandshakeS756684113.h"
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang... | [
"42893637+PruthvishMShirur@users.noreply.github.com"
] | 42893637+PruthvishMShirur@users.noreply.github.com |
6e0926d2db9a3801cea4786d96cfc2f867b2e520 | cf57cabcd423a73478fa7f6c423ef6bb8c5befff | /code/Linux/lib/linux_socket/libsocket/simple_server_main.cpp | dce40ff2caef1324fc56c7f490bafb00190b2f87 | [] | no_license | bobbyshashin/Exciting-Robotics | 149298cd89d9be36a4107abc1d3e9b57d8278de7 | efd1a6fffc18765222eac590f01762758e1a8207 | refs/heads/master | 2021-06-14T07:30:07.601988 | 2017-03-20T09:37:35 | 2017-03-20T09:37:35 | 65,876,566 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 624 | cpp | #include "ServerSocket.h"
#include "SocketException.h"
#include <string>
#include <iostream>
int main ( int argc, char * argv[] )
{
std::cout << "running....\n";
try
{
// Create the socket
ServerSocket server ( 30000 );
while ( true )
{
ServerSocket new_sock;
server.accept ( new_sock... | [
"enterprise@live.cn"
] | enterprise@live.cn |
73cb71a65e5a24568d180b0c949c170f3deab94c | 5097e4802224fc10dffcb015c5715e5ce8e74438 | /src/cecar_base/src/rcu_comm.cpp | 8f0dd2e18a0cb4aa7d5a0f287356413350dd36ca | [] | no_license | htw-tech/cecar_technology | 8bcd075b111c6d8f8bef2a0d77611155782e7a42 | 5d87efb0f0cac6bc6432024cfade830020060e60 | refs/heads/main | 2023-04-25T11:34:44.457557 | 2021-04-30T11:36:00 | 2021-04-30T11:36:00 | 367,975,135 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,578 | cpp | /*MCU communication node to RCU via UART and JSON
Author(s) : Lukas Mirow
Date of creation : 3/2/2020
*/
#define DRIVE_MSG_LEN 46
#define DRIVE_BUF_SIZE DRIVE_MSG_LEN + 1
#define TOKENS_EXPECTED 16
#define LEFT_REAR_LABEL "\"rl\""
#define RIGHT_REAR_LABEL "\"rr\""
#define JSMN_STRICT
#include <functional>
#include <... | [
"philipp.jass@htw-berlin.de"
] | philipp.jass@htw-berlin.de |
086a82f20dc26f8be92f36cfc5a4471f30b7490e | 69e6b9bb168e51e773fccca1b0087c10207e3943 | /clase_1_Headers/funciones.h | dab893860510722e17793c82537d71073292aa88 | [] | no_license | davidgjordan/ProyectosCpp | c5ab074ac3968824292f673bc302d7b925e57d98 | 5946ca5d0e40a74b0dfd54d7c6d3da209e4867ad | refs/heads/master | 2021-09-06T18:54:18.322972 | 2018-02-09T22:27:57 | 2018-02-09T22:27:57 | 110,265,616 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 393 | h | //HEADER GUARDS PARA NO SOBREESCRIBIR INCLUDS
//es 8una directiva del preprocesador
//guarda este enombre para no repetir el guardado
#ifndef _FUNCIONES_H //incio
#define _FUNCIONES_H
//es como una extecion para incluir esto solo una ves en ves de lo de arriba
//#pragma once
int calMax(int a, int b); // prototip... | [
"davidgjordancbba@gmail.com"
] | davidgjordancbba@gmail.com |
4ae40eb0b215f0e396e8fabbd0cdacdbc95cc43e | 8d95c71a705ac2527a8497756d0122414cc75c0e | /File Sync Project/System.cpp | b8762a5da806c36569043d143c360305527f2ff7 | [] | no_license | IvayloEvtimov/File-Sync-Project | a190acfb1e6de8950686ad3e6a0389daed36a16a | d9a5f8d76490c0d2ad81318fa2d2bb29dee84dde | refs/heads/master | 2022-04-11T23:45:13.986574 | 2020-01-26T20:59:04 | 2020-01-26T20:59:04 | 236,313,629 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,458 | cpp | #include "System.h"
#include <filesystem>
#include <fstream>
#include <unordered_set>
System::System(const std::string& leftDirPath,const std::string& rightDirPath,const bool blockCopy,const bool hashOnly):leftDirPath(leftDirPath),
leftDir(leftDirPath),
rightDirPath(rightDirPath),
rightDir(rightDirPath),
... | [
"57246991+IvayloEvtimov@users.noreply.github.com"
] | 57246991+IvayloEvtimov@users.noreply.github.com |
1f23a26e457aae982f2e2e5c65d82078c5800ef2 | 3958016f4ad958adce17671b73c36b9e155cf6a6 | /Source/FPSCoop/Private/Items/Projectiles/ImpulseProjectile.cpp | e73f284117476a5d916bfa2637da5fae09c30fde | [] | no_license | Zyyym/FPSCoop | d7c9be3f3d5082c733d454e51e1a4196cb6f6d24 | 2afd00bb8a1171a3be885bb9c1bc605f01cc9aa6 | refs/heads/master | 2020-04-21T17:05:38.375973 | 2019-02-11T11:53:51 | 2019-02-11T11:53:51 | 169,724,685 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,119 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "ImpulseProjectile.h"
#include "Kismet/KismetSystemLibrary.h"
#include "Engine/World.h"
#include "Components/PrimitiveComponent.h"
#include "Library/ActionLibrary.h"
#include "GameFramework/MovementComponent.h"
AImpulseProjectile... | [
"Zyyympl@gmail.com"
] | Zyyympl@gmail.com |
fdddb4d768262f114791434dc21b6e2b5ff8e7a1 | 6c4e391046022177244aeade63b03fc0824a4c50 | /chrome/browser/ui/views/chrome_cleaner_dialog_win.cc | c876a5b7ffa74b5a3373f3351d07cda5db36310a | [
"BSD-3-Clause"
] | permissive | woshihoujinxin/chromium-2 | d17cae43153d14673778bbdf0b739886d2461902 | 71aec55e801f801f89a81cfb219a219d953a5d5c | refs/heads/master | 2022-11-15T00:18:39.821920 | 2017-07-14T19:59:33 | 2017-07-14T19:59:33 | 97,331,019 | 1 | 0 | null | 2017-07-15T17:16:35 | 2017-07-15T17:16:35 | null | UTF-8 | C++ | false | false | 5,740 | cc | // Copyright 2017 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 "chrome/browser/ui/views/chrome_cleaner_dialog_win.h"
#include "base/strings/string16.h"
#include "chrome/browser/safe_browsing/chrome_cleaner/c... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
db8cf12ba773e6e30d1512cc5a8cc5d1f0943f80 | 6f5cecdde505e59bd25b55156773f0bb086d4215 | /MaybeLife/Commander.cpp | 503c6ba8d68357b609e834f8c2ba06dfecbc2a1d | [] | no_license | TheRDavid/MaybeLife | ac60ba44a0d61d16bfd616eb7354e147101157fb | ba45c0a99e4b4e5c17aeba307bdbb9c2f9ab73fb | refs/heads/master | 2023-07-10T18:04:56.240417 | 2021-08-21T18:45:31 | 2021-08-21T18:45:31 | 392,006,901 | 0 | 0 | null | 2021-08-04T17:43:31 | 2021-08-02T15:46:46 | C++ | UTF-8 | C++ | false | false | 1,974 | cpp | #include "Commander.h"
#include <iostream>
#include "Environment.h"
#include "Grid.h"
Commander::Commander(Environment * environment, sf::RenderWindow * window, sf::View* sceneView, sf::View* uiView)
{
this->environment = environment;
this->window = window;
this->sceneView = sceneView;
this->uiView = uiView;
}
... | [
"david.rosenbusch@gmail.com"
] | david.rosenbusch@gmail.com |
1f0d9e6687ec7e12b1b0d835e51aa7dda45d0a60 | 1f0e52daa702a442db609766a56f99f833368a6b | /oj/UVA/uva10213.cpp | 94db49ef9d7d95fa61d68c1fc04c1183b22dbb20 | [] | no_license | TouwaErioH/Algorithm | e0495b053e6f33353a4e526955cd269d2acc0027 | a5851529168a68147ab548678c16251f6dfa017d | refs/heads/master | 2022-12-07T03:46:50.674787 | 2020-08-20T08:45:49 | 2020-08-20T08:45:49 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,972 | cpp | #include<cstdio>
#include<cstring>
#include<iostream>
#include<algorithm>
using namespace std;
const int maxn=1000;
char a[maxn];
struct BIGNUM{
static const int base=10000;
static const int baseL=4;
int num[maxn],len;
BIGNUM (){memset(num,0,sizeof(num));len=1;}
BIGNUM operator = (int x)
{
... | [
"1301004462@qq.com"
] | 1301004462@qq.com |
22f8e6e99dd551c4c4ad24e0b9ddf8a5298d3566 | 786de89be635eb21295070a6a3452f3a7fe6712c | /H5DataTypes/tags/V00-00-69/src/AcqirisTdcDataV1.cpp | 63956286664556faf128ce3fb8cdaf72ffc48db3 | [] | no_license | connectthefuture/psdmrepo | 85267cfe8d54564f99e17035efe931077c8f7a37 | f32870a987a7493e7bf0f0a5c1712a5a030ef199 | refs/heads/master | 2021-01-13T03:26:35.494026 | 2015-09-03T22:22:11 | 2015-09-03T22:22:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,627 | cpp | //--------------------------------------------------------------------------
// File and Version Information:
// $Id$
//
// Description:
// Class AcqirisTdcDataV1...
//
// Author List:
// Andrei Salnikov
//
//------------------------------------------------------------------------
//-----------------------
// Th... | [
"salnikov@SLAC.STANFORD.EDU@b967ad99-d558-0410-b138-e0f6c56caec7"
] | salnikov@SLAC.STANFORD.EDU@b967ad99-d558-0410-b138-e0f6c56caec7 |
8963407488003a159b43e62a31bd531316387f1d | 4cdb0270f2f603bb66f1aeaf983d4d06571a728d | /SPlisHSPlasH/Utilities/MathFunctions.cpp | 273d770ed17f3ac7d59f3376293ed54eaf14b0c0 | [
"MIT"
] | permissive | gnastacast/SPlisHSPlasH | 424f1f8002a7a7b940855b886c17c1cee9d9bdaf | 21840a4caa31e1b2761e1e37302266d13524bd6a | refs/heads/master | 2020-07-31T15:10:14.595538 | 2019-09-19T11:07:58 | 2019-09-19T11:07:58 | 210,648,195 | 0 | 0 | MIT | 2019-09-24T16:56:06 | 2019-09-24T16:23:44 | null | UTF-8 | C++ | false | false | 5,787 | cpp | #include "MathFunctions.h"
#include <cfloat>
using namespace SPH;
// ----------------------------------------------------------------------------------------------
void MathFunctions::extractRotation(const Matrix3r &A, Quaternionr &q, const unsigned int maxIter)
{
for (unsigned int iter = 0; iter < maxIter; iter++)... | [
"bender@cs.rwth-aachen.de"
] | bender@cs.rwth-aachen.de |
2e6aef069aa6de3d9871a6d2878dc411bc4d749b | b7f3edb5b7c62174bed808079c3b21fb9ea51d52 | /chromecast/renderer/cast_activity_url_filter_manager.h | f242233c6e1e45bd354f56a102ee6a69dd502580 | [
"BSD-3-Clause"
] | permissive | otcshare/chromium-src | 26a7372773b53b236784c51677c566dc0ad839e4 | 64bee65c921db7e78e25d08f1e98da2668b57be5 | refs/heads/webml | 2023-03-21T03:20:15.377034 | 2020-11-16T01:40:14 | 2020-11-16T01:40:14 | 209,262,645 | 18 | 21 | BSD-3-Clause | 2023-03-23T06:20:07 | 2019-09-18T08:52:07 | null | UTF-8 | C++ | false | false | 3,128 | h | // Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROMECAST_RENDERER_CAST_ACTIVITY_URL_FILTER_MANAGER_H_
#define CHROMECAST_RENDERER_CAST_ACTIVITY_URL_FILTER_MANAGER_H_
#include <memory>
#includ... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
aec714c11a865da2c99dd4982401b71363da4cdb | 3e2a763b991276a6b384d088dcb23737bc806151 | /Contests/Codeforces/Gym/2017-2018 ACM-ICPC Nordic Collegiate Programming Contest (NCPC 2017)/d.cpp | 46f4c1d34370152767f3820d200cee9d6bb692f8 | [] | no_license | GabrielCortizo/Competitive-Programming | 127bad8ee3e35d939fb55d7033b3839131dee6c6 | a67c8fc6e5f5efa3590b049757772a9fc5967072 | refs/heads/master | 2020-03-16T20:30:39.444296 | 2019-08-13T23:39:10 | 2019-08-13T23:39:10 | 132,961,234 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 611 | cpp | #include<bits/stdc++.h>
using namespace std;
queue<int> q;
const int ms = 1<<20;
int d[ms];
string str;
int main(){
int n,k;
memset(d, 0x3f, sizeof(d));
cin >> n >> k;
for(int i = 0;i<n;i++){
int u = 0;
cin >> str;
for(int i = 0;i<k;i++){
u|=(1<<(i))*(str[i] == '1');
}
d[u] = 0;
q.push(u);
... | [
"gcf@cin.ufpe.br"
] | gcf@cin.ufpe.br |
fbc0b1db1cd13225fd681ee6fe5132c91ba24837 | 630a063871f22000b16f78ff22a7b323e3c065f4 | /src/Parser/POMDPX/SparseTable.cpp | 9d7f746859547b5dada6dd087739e076faa0b911 | [
"Apache-2.0"
] | permissive | personalrobotics/appl | cd6df1f233c4913577244a9ab8a5dc1fe6c244ee | e433ee63e542551a7c6d35ec2d71192fd5a06d62 | refs/heads/master | 2020-12-24T19:27:02.825648 | 2016-04-15T03:10:29 | 2016-04-15T03:10:29 | 26,299,034 | 18 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 16,432 | cpp | // written by png shao wei
#include "SparseTable.h"
#include <algorithm>
void SparseRow::sortEntries(){
stable_sort(entries.begin(),entries.end());
}
bool SparseRow::onlyZeroUI(SparseEntry e){
return e.hasOnlyZeroUI();
}
void SparseRow::removeZeroEntries(){
entries.erase(remove_if(entries.begin(),ent... | [
"mkoval@cs.cmu.edu"
] | mkoval@cs.cmu.edu |
55953f6150674a6d790f5581ba727b80b84eecfe | 4dac1351bc372b34faad6923f9d37b39f0ebdbaf | /Classes/GSTest/GSNavTestScene.h | fca3693fafbc710f72acb081007a9eff7cb9ac44 | [] | no_license | kavenGw/GSPathFind | 979b94d10710517e3b1a9e76f2b0698809de4611 | a8c49d045d4e73e767f8bb1c3b634b34c721d6dd | refs/heads/master | 2021-01-01T19:08:15.014970 | 2017-08-06T22:52:32 | 2017-08-06T22:52:32 | 98,514,608 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,652 | h | #ifndef __HELLOWORLD_SCENE_H__
#define __HELLOWORLD_SCENE_H__
#include "cocos2d.h"
#include "ui/UIRadioButton.h"
#include "ui/UIText.h"
#include "ui/UITextField.h"
#include "GSPathFind.hpp"
#include "GSNavTest.hpp"
#include "ui/UILayout.h"
static cocos2d::Size designResolutionSize = cocos2d::Size(640, 960);
static co... | [
"371905989@qq.com"
] | 371905989@qq.com |
e37087b5ff9358e4b4c846c02e3cb9a84594b177 | ab0925fbfa37f19406c2f01facda36d85ab708aa | /src/undo.h | e40491951f25029b0d58d301ca1902c6bbaafe62 | [
"MIT"
] | permissive | epmcoin/EPMCoin | 312611fc2083891d4a21bb2067437b5f818193dc | db6e712f2e6bcd9a19c1bff1cdeb60f7b437c124 | refs/heads/master | 2022-02-09T22:27:00.430279 | 2019-08-07T05:12:37 | 2019-08-07T05:12:37 | 197,918,672 | 6 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,995 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2013 The Bitcoin developers
// Copyright (c) 2016-2019 The PIVX developers
// Copyright (c) 2019 The Extreme Private Masternode developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/li... | [
"53111928+epmcoin@users.noreply.github.com"
] | 53111928+epmcoin@users.noreply.github.com |
e68a5ffad242e1d0e8dc3b2d7e5811ab5d7424ca | 40b4930647ef774bd6b90f0ea92527f4d7a45ffa | /lcs.cpp | d48303a174cb77bde8791abf509dacf78aa44b67 | [] | no_license | ranarag/coding_codes | 5bc365ccb4b5c0d214bcfe8245f35a1fadce445f | 9f96ef3c5e1b95ee329b4b175ad8cbb90226cf75 | refs/heads/master | 2021-01-10T05:37:54.085652 | 2016-03-12T08:30:06 | 2016-03-12T08:30:06 | 53,721,068 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,088 | cpp | #include<iostream>
#include<algorithm>
#include<vector>
#include<cstdio>
using namespace std;
void lcs(char a[],char b[],int n,int m){
int lcs[n+1][m+1];
char c[100];
int k=0;
for(int i=0;i<=n;i++){
for(int j=0;j<=m;j++){
if(i==0||j==0)
lcs[i][j]=0;
else{
if(a[i-1]==b[j-1]){
lcs[i][j]=lcs[i-1][j-1]+1;}
... | [
"anu15roy@gmail.com"
] | anu15roy@gmail.com |
6700d0ce1e6043040cd956acce093becf09d71e9 | f09662c19263232924836c7954fe55e09b4fe668 | /Bodys.cpp | 74713f27d837bbdc25cfa3b24f470027cc53a561 | [] | no_license | smylebifa/lab-solar-system | dd2e3091efc6f066565ca16669b823dd5c7a78f0 | 1ae50b86121a78f4495ec48f2f3a5cc0edbca6aa | refs/heads/main | 2023-08-22T21:42:05.994353 | 2021-10-13T11:20:18 | 2021-10-13T11:20:18 | 416,368,887 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 370 | cpp | #include "main.h"
void Body::Move()
{
Pos.x += Speed.x;
Pos.y += Speed.y;
if (elements.size() < 5000)
{
elements.push_back(Pos);
}
}
void Body::PaintPhysic()
{
glColor3f(0, 1, 1);
glPointSize(1);
glBegin(GL_POINTS);
for (auto point : elements)
{
glV... | [
"samoilovilia@mail.ru"
] | samoilovilia@mail.ru |
2e6a965f0fb144b54c7009f75865a2e9aded284f | c68ab9fc4b648b86228224e6e9645582e97e6058 | /src/lib/kvs/Store.hpp | 19d55c4b1e3279687b747e86782c35489cf0d870 | [] | no_license | erenon/kvs | 771851f7e844e6c54a3d06167803beae35883939 | 22487391ae67e52a995a79880c786e53bcfca14d | refs/heads/master | 2020-04-27T07:43:13.356974 | 2015-05-10T17:28:36 | 2015-05-10T17:28:36 | 31,464,362 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,351 | hpp | #ifndef KVS_STORE_HPP_
#define KVS_STORE_HPP_
#include <unordered_map>
#include <string>
#include <memory>
#include <functional>
#include <sys/uio.h>
#include <kvs/Fd.hpp>
#include <kvs/Command.hpp> // Key
#include <kvs/Buffer.hpp>
namespace kvs {
/**
* TODO Store use boost::concurrent_unordered when ready or
*... | [
"erenon2@gmail.com"
] | erenon2@gmail.com |
9fa63ee33d6eda990cc7a934a9029ae261b26600 | 94b9b8e13e63fbd1bb9fa4a95afc7f0537b95359 | /iCritter/AW3DTools/AWNode.h | 89964da8bd5c62f7c7e623c81e463b66245c87ed | [] | no_license | alteredworlds/Altered3D | 662519989f1aa7a3e732f1430ae4eee5b95fffee | 2c241e890df7bfc44e313535ddbd55079168ce40 | refs/heads/master | 2021-06-29T23:11:38.542311 | 2017-09-18T11:46:12 | 2017-09-18T11:46:12 | 103,859,202 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,176 | h | #ifndef __AWNODE_H
#define __AWNODE_H
#include "AWToolsCommon.h"
#include "AWPoint.h"
#include "AWQuat.h"
#include "AWSphrCone.h"
#include "AWOrdered.h"
#include "AWTransformController.h"
#include "AWCString.h"
#ifdef _WIN32
# include <windows.h>
#endif
#define AW_NODE_OWNS_CHILDREN 0x00000001
#define NOT_AW_... | [
"tom@alteredworlds.com"
] | tom@alteredworlds.com |
e7352e2d3178ff71d551cc2b06504fd65f249619 | d1ad68da0d7d3a71c2d43d297d6fd3cffbbf75c2 | /codeforces/Educational31/c.cpp | f080ba36ba9fbae124333a6af8d5d4e8c060003b | [] | 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 | 7,541 | 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 |
753a26a7649281ab8514ac8e1cf388c6b6c5cf03 | 8835b75342addc9d69fed725f4b9d96087044787 | /MediaCaps/stdafx.cpp | 457678093efe61178e22d70f917ff0af4fa99d7f | [] | no_license | jjzhang166/mediaCaps | a7c614993009117f6050bb15d49d471ce6fdf907 | 2578758b247863c423a048d9f4603e407c0be884 | refs/heads/master | 2021-01-15T12:02:19.838568 | 2016-07-30T08:52:45 | 2016-07-30T08:52:45 | 99,644,016 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 261 | cpp | // stdafx.cpp : 只包括标准包含文件的源文件
// MediaCaps.pch 将作为预编译头
// stdafx.obj 将包含预编译类型信息
#include "stdafx.h"
// TODO: 在 STDAFX.H 中
// 引用任何所需的附加头文件,而不是在此文件中引用
| [
"dutlon@gmail.com"
] | dutlon@gmail.com |
09325f5b6b4d1b3a7faf846745ce86745934a1b8 | 4a86874d3e740b4cd22a8bc6d439f7aba9bd52c0 | /872.将数组拆分成斐波那契序列.cpp | b28a53a201feb25623be16b1372211d6baaf4f8d | [] | no_license | Jassy930/leetcode_main | 4563f9634692d0b09a638114f59f6836edaa73f6 | a2e4e05f2b220702dc874718e34150d1066f6ac1 | refs/heads/master | 2020-04-28T15:35:49.448682 | 2019-09-16T03:49:23 | 2019-09-16T03:49:23 | 175,380,591 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,061 | cpp | /*
* @lc app=leetcode.cn id=872 lang=cpp
*
* [872] 将数组拆分成斐波那契序列
*
* https://leetcode-cn.com/problems/leaf-similar-trees/description/
*
* algorithms
* Easy (56.60%)
* Total Accepted: 3.1K
* Total Submissions: 5.6K
* Testcase Example: '[3,5,1,6,2,9,8,null,null,7,4]\n[3,5,1,6,7,4,2,null,null,null,null,null,... | [
"wafe93039@163.com"
] | wafe93039@163.com |
aeb45627b6def2d9847184771f0dc40299b967bd | 00df597b0bb5995a3ef456996168f9dcb8572239 | /cpp02/ex00/main.cpp | 089d5d36fdbd2ce349f21b4b268cf65dd88ebb4f | [] | no_license | federicoorsili/C-plus-plus | 251c6d6bf2d55b9a20cd38158a5fd17596b47ece | 893e06829ce115f10b118f08ac5b6e47568cca57 | refs/heads/main | 2023-04-19T10:08:41.003043 | 2021-05-11T12:20:19 | 2021-05-11T12:20:19 | 359,805,794 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,123 | cpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* main.cpp :+: :+: :+: ... | [
"forsili@e3r9p3.42roma.it"
] | forsili@e3r9p3.42roma.it |
670186d4aefad60e1546d33b4c6a6656de2edb71 | 30b09d89aa02423bd4106eca6acb331b322541c3 | /assignment_package 2/skeleton_mesh/src/glwidget277.h | 68640b21b0cec1133ac77d7750f5baf4a4a8f742 | [] | no_license | isabelren/277 | 66f3a98e4f336e79572efba1be7f07cb419b0302 | c2940e5b4d3b681bba49334436425e2f4eb0b98e | refs/heads/master | 2016-08-10T20:41:50.186067 | 2016-02-22T16:43:33 | 2016-02-22T16:43:33 | 52,242,524 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 756 | h | #ifndef GLWIDGET277_H
#define GLWIDGET277_H
#include <QOpenGLWidget>
#include <QOpenGLFunctions_3_2_Core>
#include <QTimer>
class GLWidget277
: public QOpenGLWidget,
public QOpenGLFunctions_3_2_Core
{
Q_OBJECT
private:
/// Timer for drawing new frames
QTimer timer;
protected:
/*** AUTOMAT... | [
"iren@seas.upenn.edu"
] | iren@seas.upenn.edu |
1c04ca910f460cbb79b648e738f99821680bcdcb | 16a2eb8cc3939d1eb821253e907ca2867b9cc90a | /structureNestedPointer.cpp | 7722834cf452842e79cee288baa86e76eae6dac8 | [] | no_license | avanish-patel/CPP | 40ce6a550cdfa3c6924917917e7c3247d0041bf0 | a468844c3460ca7bac9563eeff823a14e74f5752 | refs/heads/master | 2021-04-03T09:58:40.917509 | 2018-04-28T16:57:12 | 2018-04-28T16:57:12 | 124,929,213 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 524 | cpp | #include<iostream>
#include<string>
struct Address{
int house_no;
std::string street_name;
};
struct Student{
int id;
std::string name;
Address address;
};
int main(){
Student avanish = {101,"Avanish", Address{12,"Pulaski road"}};
Student *avanishPtr = &avanish;
std::co... | [
"patelabout@gmail.com"
] | patelabout@gmail.com |
c7f5c55859752c8b5146ed68254b1782c4c556f6 | 7aaa1b2add00402a379b306654a6c6e6a93da2b2 | /poczta2/exceptions.h | 167bfb825ea403c5811d2b5ded5440d65d7bb5b2 | [] | no_license | Eryk1997/JiPP | d4e35054257e30b7267d5fa0b1882b0ab7bd2723 | 48f967795300c05ed66af35d2b9e24382bd9d524 | refs/heads/master | 2020-03-16T23:16:32.245657 | 2019-01-18T20:09:57 | 2019-01-18T20:09:57 | 133,071,467 | 0 | 1 | null | 2018-12-30T23:20:24 | 2018-05-11T17:52:17 | C++ | UTF-8 | C++ | false | false | 946 | h | #ifndef EXCEPTIONS_H
#define EXCEPTIONS_H
#include <stdexcept>
/**
* Indicates a package with the same ID already exists, which should never happen.
*/
class PackageExistsException : std::exception {
public:
PackageExistsException(const std::string& msg);
const char* what() const noexcept override;
private... | [
"erykmati@o2.pl"
] | erykmati@o2.pl |
6612e64078ddbc9b0b1945700f32bff9f6844138 | aa35ac84695af6132dc8f1e8de46bb6868f58ceb | /ZPH3D/H3DEngine/include/Utility/CommonCode/idMath/math/Rotation.h | 66859b3d5b265f8a179b1b22bba5099e9cf3a04d | [] | no_license | spawn66336/H3DEngine_Demo | 0e93432b95d7de91492cac9b73bc5bd6e27151e7 | fb1fc076e646e35fcad84c3cde5b1e33c2d19935 | refs/heads/master | 2021-03-19T13:29:46.254202 | 2013-09-17T06:02:27 | 2013-09-17T06:02:27 | 12,609,723 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,073 | h | // Copyright (C) 2004 Id Software, Inc.
//
#ifndef __MATH_ROTATION_H__
#define __MATH_ROTATION_H__
/*
===============================================================================
Describes a complete rotation in degrees about an abritray axis.
A local rotation matrix is stored for fast rotation of multiple poin... | [
"spawn66336@hotmail.com"
] | spawn66336@hotmail.com |
b9d1949430c248cb671bc3592f93becaaf193d39 | 53a086889d58869f6e40c4142ec23b183da05c3c | /infix-reader-C++_console/Project2/Main.cpp | 43a8b8967905b5e371f0f9b7a44e1801773ada6d | [] | no_license | ericmolsen5/comp_sci_classes-degree | 235a5163424b0d40df22fac2eb1d518aa5ac33e3 | 1f96fa498523951d9c5713eb1f1b5cebdeefb86b | refs/heads/master | 2020-03-17T23:51:07.262950 | 2018-09-22T22:50:12 | 2018-09-22T22:50:12 | 134,064,142 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,614 | cpp | /*
Author: Eric Olsen
Program: C++ expression extractor
Due Date: 15 JUL 18
*/
#include <iostream>
#include <string>
#include <fstream>
#include <vector>
using namespace std;
#include "expression.h"
#include "subexpression.h"
#include "symboltable.h"
#include "parse.h"
SymbolTable symbolTable;
ifstream inFile;
v... | [
"ericmolsen5@gmail.com"
] | ericmolsen5@gmail.com |
56f55941bec5d811f83a3386da5fbc1c6ff8b81b | bcc552a4092af76fdc11618e3bbca886abcec3ed | /cross.cpp | 15faf514eb544fa5c5e1450a7e5d9c7c966a5543 | [] | no_license | whduddhks/C-programing | dbf13451e16f8cdc2a40c6afc6309b8c9e536450 | 522362d0523cc2efd005ba589fe986797226e3b0 | refs/heads/master | 2020-05-02T03:05:25.607195 | 2019-05-04T06:46:19 | 2019-05-04T06:46:19 | 177,719,212 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 845 | cpp | #include <iostream>
using namespace std;
int main()
{
int t;
int ax1, ax2, ay1, ay2;
int bx1, bx2, by1, by2;
cin >> t;
for (int i=0; i<t; i++)
{
cin >> ax1 >> ay1 >> ax2 >> ay2 >> bx1 >> by1 >> bx2 >> by2;
if(ax1==ax2){
if((ax1-bx1)*(ax1-bx2)<0 && (by1-ay1)*(by1-a... | [
"39693818+whduddhks@users.noreply.github.com"
] | 39693818+whduddhks@users.noreply.github.com |
9aa811224d8a02cbd6bd2f4301a7f5936e80e6a9 | f948817bf1d6223c93f335317d8999f4bb91ebe7 | /src/hgp10/fast_fourier_transform_opt.cpp | 4bfbf415d966df90b24537e2cfb5da12d3f7c394 | [] | no_license | henry931/hpce-2013-cw2 | 1b2b35baca3f80eb8d99ec9c2d2333818bb12887 | 83238d086801262388e8dd2e0bb8703a18ce7ed3 | refs/heads/master | 2021-01-10T20:07:01.499610 | 2014-02-18T01:16:47 | 2014-02-18T01:16:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,181 | cpp | #include "fourier_transform.hpp"
#include "tbb/parallel_for.h"
#include <cmath>
#include <cassert>
#include "tbb/task_group.h"
namespace hpce
{
namespace hgp10
{
class fast_fourier_transform_opt
: public fourier_transform
{
protected:
/* Standard radix-2 FFT only supports binary power lengths */
virt... | [
"hgp10@ic.ac.uk"
] | hgp10@ic.ac.uk |
f2f411fc0118136870ca665238a5ed23387eed73 | 947e8b3a0133dd4d06736b4728ffad296aac88b6 | /contest/greedy/Above Average_DONE.cpp | 428b9ddd826d3a8fc0d7203a054bf083ba2e5be3 | [] | no_license | sngvahmed/problem-solving-code | 41427007d49d1b74ec90d15670e6ec1db617400f | 3b2714c87e93506b0d5a4ae3cc471d16c4d6ab1b | refs/heads/master | 2021-06-01T11:54:58.350875 | 2018-02-27T18:43:47 | 2018-02-27T18:43:47 | 39,954,018 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,000 | cpp | #include <iostream>
#include <iomanip>
#include <sstream>
using namespace std;
int main() {
int number;
cin >> number;
for (int i = 0; i < number; i++) {
int numnumber;
cin >> numnumber;
int *x = new int[numnumber];
for (int q = 0; q < numnumber; q++) {
cin >> x[q];
}
int sum = 0;
f... | [
"ahmednasser1993@gmail.com"
] | ahmednasser1993@gmail.com |
16827348781e91ef194799e4109f93bfb24187d0 | e76ea38dbe5774fccaf14e1a0090d9275cdaee08 | /src/media/cast/logging/logging.cc | ce68aa41bc3ce5c10cccdc791666a1f13d6a95d1 | [
"BSD-3-Clause"
] | permissive | eurogiciel-oss/Tizen_Crosswalk | efc424807a5434df1d5c9e8ed51364974643707d | a68aed6e29bd157c95564e7af2e3a26191813e51 | refs/heads/master | 2021-01-18T19:19:04.527505 | 2014-02-06T13:43:21 | 2014-02-06T13:43:21 | 16,070,101 | 1 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 3,583 | cc | // Copyright 2013 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 "media/cast/logging/logging.h"
#include "base/debug/trace_event.h"
#include "base/logging.h"
#include "base/metrics/histogram.h"
namespace medi... | [
"ronan@fridu.net"
] | ronan@fridu.net |
04d2fa7b51dfd241cffef382ce73ce645d4de0b8 | b8e4aabcff25ded8624dbea9bfd8342c2506e730 | /gKit/Transform.cpp | 8114f96d4e638f5468fb43894de6e0980dda2e37 | [] | no_license | joelrandria/quickhull | 6e97f1549ae7c8087213e018d475e248652d5565 | 90518ecbf6e6c04274fb362b994242d468c5992a | refs/heads/master | 2016-09-06T18:17:35.762594 | 2015-07-17T15:09:25 | 2015-07-17T15:09:25 | 38,432,998 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,685 | cpp | /* version restructuree mailto:jean-claude.iehl@liris.cnrs.fr */
/*
* pbrt source code Copyright(c) 1998-2005 Matt Pharr and Greg Humphreys
*
* All Rights Reserved.
* For educational use only; commercial use expressly forbidden.
* NO WARRANTY, express or implied, for this software.
* (See file License.txt for co... | [
"j.randrianandrasana@gmail.com"
] | j.randrianandrasana@gmail.com |
10f195cc467aac39bbe4d4fba754c04f933d6bd0 | 014f5936699715e7d709361d84addf05ed0f2104 | /engine/source/private/physics/obb.cpp | 7fb86b35c83fa2e8397a47f652c78a623683804c | [
"MIT"
] | permissive | lapinozz/GameEngine | f066a99207af91f7bf8f7b49fd352afd29a8af7b | 34277b015e76c28e485cc10a63173bc4bcdc070a | refs/heads/master | 2021-05-21T16:34:20.314769 | 2020-04-03T11:51:27 | 2020-04-03T11:51:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,170 | cpp | #include <physics/obb.hpp>
#include <core/types.hpp>
#include <core/math/transform.hpp>
namespace anton_engine {
bool test_ray_obb(Ray ray, OBB obb) {
Matrix4 rotation = Matrix4(Vector4{obb.local_x, 0}, Vector4{obb.local_y, 0}, Vector4{obb.local_z, 0}, Vector4{0, 0, 0, 1});
// Center OBB at 0
... | [
"p.kocia@wp.pl"
] | p.kocia@wp.pl |
9f4e1e51244b93aaca1bf48cf9fa1ebafc8211ac | 171ceb2fb959cee65bfa7d72758eb679d7fd6d62 | /bzoj/2346.cpp | 954c361f9feaf634d58e345b37b8925283c1202f | [] | no_license | maroom5/acm-icpc | 1470e84012aa54257f14d3ef6b32cd3adea3ff7b | 87ff25b8cec27e1f0d9dabcb22add64796069b06 | refs/heads/master | 2021-01-17T22:24:02.560769 | 2014-06-05T16:07:38 | 2014-06-05T16:07:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,600 | cpp | //#define Debug
#include <cstdio>
#include <algorithm>
#include <queue>
#include <cstring>
#define mp std::make_pair
namespace Solve {
const int MAXN = 505;
const int MAXV = MAXN * MAXN;
#define Lab(x, y) (((x) - 1) * (m + 1) + y)
int n, m; char ch[MAXN];
struct Edge {
int y, c; Edge *next;
Edge(int y, int c... | [
"echooatmeal@gmail.com"
] | echooatmeal@gmail.com |
01a4ee339031727a6d07f768ace80309408223b0 | 3784875f53cb83700983d03e69e824e318da1895 | /Wevet/Source/Wevet/Private/Interface/InteractionPawn.cpp | ad9d8ae02de6cee87a457ae221440f4147feb498 | [] | no_license | b2220333/UnrealEngine_ThirdPerson | 689f1b7e8c3e950e5732e202344c4222d273c64e | e59e5db92f138da46d002bae79ee1dd2d59cc956 | refs/heads/master | 2023-02-08T11:47:57.213345 | 2021-01-04T13:42:17 | 2021-01-04T13:42:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 215 | cpp | // Copyright 2018 wevet works All Rights Reserved.
#include "Interface/InteractionPawn.h"
UInteractionPawn::UInteractionPawn(const class FObjectInitializer& ObjectInitializer)
: Super(ObjectInitializer)
{
//
}
| [
"waltzfor.floword@gmail.com"
] | waltzfor.floword@gmail.com |
502d7ac370d4010bdf0a3aaaf1a52c4f81ccd0a9 | 05b4f42e910d19d80af94c21501ee3bdd21fb1ea | /lab4/utils.cpp | cc7bf6ddcd74462740ea5905e2baa8f9a4e2f5be | [] | no_license | wqu1995/os | 8b5452d2faff54e3fb465ca9618a1233a40e2b35 | 6608b1f5d71c3e7c281dc8f01836396ef23f05af | refs/heads/master | 2020-04-30T18:22:23.642265 | 2019-05-14T04:59:18 | 2019-05-14T04:59:18 | 177,007,597 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 427 | cpp | #include "utils.h"
using namespace PARSER;
int current_track = 0;
int direction = 1;
Parser::Parser(string fname){
input.open(fname.c_str());
if(!input){
printf("Failed to open file %s\n", fname.c_str());
exit (EXIT_FAILURE);
}
}
Parser::~Parser(){
input.close();
}
string Parser::get_next_line... | [
"wqu1995@gmail.com"
] | wqu1995@gmail.com |
df9168982445437cc53b353bd4052865644dc667 | 74047acaaa68f17daa0bb05a61bd555ff7a86cc5 | /book-lib/jni/mylib/mwnd/stdafx.h | ab9b4bce5a65a5b04efbc4673acf8ec3b71167d1 | [] | no_license | norven63/dreambook_android | 4c7897b4193d32fd688f3dcb095813d761671575 | 7a2f49b7bf6ef20e443d083e2c0dad7a599e353a | refs/heads/master | 2021-01-02T08:47:30.136982 | 2015-06-30T09:53:44 | 2015-06-30T09:53:44 | 20,084,251 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 223 | h | #pragma once
#include "../mfc/incMFC.h"
#include "../img/incImg.h"
#include "../agg/incAgg.h"
#include <list>
#include <map>
#include <vector>
#include "BWDef.h"
#include "BaseWnd.h"
#include "BWPaintManager.h"
| [
"norven63@163.com"
] | norven63@163.com |
b1d5c9fd145de7e1320f798fc6cc2abee3816122 | d2725e58a1836bdc9bb327a300f4ee40040cd417 | /Zadatak III/04.cpp | 80f16371e58c1eff3a64ed30de916bfb1049adba | [] | no_license | HuNNTTeR/Programiranje-I | f8f5578c866690ab7a723205fba34d2717b25925 | 45c74acd76b88cb75907202c03d0af22cf9de77b | refs/heads/main | 2023-07-15T14:23:17.240741 | 2021-08-21T23:35:32 | 2021-08-21T23:35:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,164 | cpp | #include<iostream>
using namespace std;
void puniFibb(int*, int, int);
void ispis(int*, int);
void pronadji(int*, int, int, int);
int main()
{
int v;
cout << "Unesi zeljenu velicinu niza:" << endl;
cin >> v;
int* pok = new int[v] {0};
puniFibb(pok, v, 0);
ispis(pok, v);
int izbor;
cout << "Unesi broj koji ... | [
"ensar.mulahmetovic@edu.fit.ba"
] | ensar.mulahmetovic@edu.fit.ba |
c8823557934c17794e29a4f9b452d7aa8d5dc490 | a9d017a493eba0063e2ad076881d1fccefcc55c5 | /display.cpp | 71adac012fb28a715738297b4fa2db20c1e0f8da | [] | no_license | LPLemnij/whackAndGnoll | db31bbd9c8ef67526dc727608901d7307cc0a10e | d9592ffa5fd131ef7dc2c7d231547eefa4fde74c | refs/heads/master | 2020-12-13T04:49:05.086657 | 2020-01-16T12:49:02 | 2020-01-16T12:49:02 | 234,316,291 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,199 | cpp | /*******************************************************************************
* EECS 397
*
* File name: display.cpp
*
* Description: Routines to control the display module
*
* Notes:
*
* Author(s): Lemnij, Luca
*
* Created: 2/23/2019
* Last Modified:
*
* Changes:
*
******************************************... | [
"lpl16@case.edu"
] | lpl16@case.edu |
99c4bbd7db5b5edf4ac15844760687bfe2018507 | 28fa850b13211cb4e114d8a8878ed68d72c7c8a6 | /Source/ZombieGame/ZombieGameWidget.h | 86101ef78150f71eaf9e018785c41ffa5ea4ecf4 | [
"MIT"
] | permissive | dmarino/zombieCuteness | e2cb1fa13060aa31759f19b2c40592adbe5c98c4 | 317e98e290e37363173eb286679d27bb92f059ab | refs/heads/main | 2023-03-17T18:53:46.548739 | 2021-03-07T04:02:01 | 2021-03-07T04:02:01 | 345,251,357 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 663 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Blueprint/UserWidget.h"
#include "ZombieGameWidget.generated.h"
/**
*
*/
class UTextBlock;
UCLASS()
class ZOMBIEGAME_API UZombieGameWidget : public UUserWidget
{
GENERATED_BODY()
publ... | [
"d.marino10@uniandes.edu.co"
] | d.marino10@uniandes.edu.co |
7db01647a14a67ce90fe79e9286517313c7e6059 | d6e24e6dbadea6e27fa78c9236e6f393a1b76170 | /Graphics/GLContext.cpp | ed1fcaa53e074d0775fa570aeff9679c18aa7ac3 | [] | no_license | tigakub/mobo2 | 17435c40394e26912c95b5a478ef076afe3a8e86 | 0ed92baf5cd697e199061c84926654b86aefbcc3 | refs/heads/main | 2023-09-06T07:25:29.172184 | 2021-11-14T05:14:09 | 2021-11-14T05:14:09 | 423,812,847 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,084 | cpp | #include "GLContext.hpp"
#include <iostream>
using namespace std;
namespace mobo
{
GLContext::GLContext()
: Context(), programStack(), geometryStack(), materialStack(), viewport(), projectionMatrixStack(), cameraMatrixStack(), modelviewMatrixStack()
{ }
void GLContext::initialize()
{
mat... | [
"tigakub@mac.com"
] | tigakub@mac.com |
a0f6c7286d2fe95b8e1541a8e71a9561008699b3 | 943e62c9ce940621865061d10b10121e83bad352 | /hardware/rockchip/camera/CameraHal/CameraHal_Module.h | 45c81ecc09f78a602fe03d6e10ca2f9ff53b8468 | [] | no_license | 10moons/10moons_rk3399 | 870c91f588cd06dbaa8de76719315233be658e07 | 00275b54ae53b749206ba755134752e2b14086a1 | refs/heads/master | 2020-03-21T20:13:22.755674 | 2018-07-02T08:47:40 | 2018-07-02T08:47:40 | 138,994,301 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,519 | h | #ifndef ANDROID_HARDWARE_CAMERA_HARDWARE_MODULE_H
#define ANDROID_HARDWARE_CAMERA_HARDWARE_MODULE_H
#include <linux/videodev2.h>
#include <utils/threads.h>
#include "CameraHal_board_xml_parse.h"
using namespace android;
#define CONFIG_AUTO_DETECT_FRAMERATE 0
#if CONFIG_AUTO_DETECT_FRAMERATE
#define CAMERA... | [
"zengds@10moons.com"
] | zengds@10moons.com |
73dc7bea344d2a5e3823085c6a6491d1bd5eabb2 | d087404932bd5cb49922ed3bbf3b48fde84cb2ef | /op_table.h | f74d004535e5902f47516cc72a6ffc17dc778888 | [] | no_license | ev-wilt/SICXE-Assembler | 2307a371eb80be741d26a09906e717de95d5a49a | 23a75a26873d1b37fea5ce11521d7eee06455fb3 | refs/heads/master | 2021-03-21T23:55:14.313619 | 2018-05-01T14:21:44 | 2018-05-01T14:21:44 | 118,700,430 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,022 | h | #include <map>
class OpTable {
public:
bool isInOpTable(std::string mnemonic);
int getOpcode(std::string mnemonic);
int getFormat(std::string mnemonic);
private:
const std::map<std::string, std::pair <int, int> > opTable = {
{"ADD", std::make_pair(0x18, 3)},
... | [
"ev.wilt@gmail.com"
] | ev.wilt@gmail.com |
ac92d8ca1b2815e4f168a063410b7f5ad1dc17dd | 9989895a68eee3f06903084aed8f0741d194461a | /Source/DoDSimulation/ECS/SystemBase.h | da90ec87bd335857dcd411eac703d41ccba8e71b | [] | no_license | kimsin3003/DoDSimulation | 42bbc1ff0feff95192f7fbbc105dc61e56900381 | d638d38f9eed9c6afeeb43e0210776fed982d611 | refs/heads/main | 2023-08-05T03:06:14.359735 | 2021-09-13T06:15:28 | 2021-09-13T06:15:28 | 345,286,983 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 134 | h | #pragma once
class SystemBase
{
public:
virtual ~SystemBase() {}
virtual void Update(float deltaTime, class Database* DB) = 0;
};
| [
"kimsin4004@gmail.com"
] | kimsin4004@gmail.com |
bdce8be79febd92623cac920efff4a96bbab80e1 | a72b2715cf19d09dc039aaf82c9d28e4dd0d45f5 | /DesignPatterns/VisitorDesignPattern/VisitorDesignPattern/TaxVisitor.h | c1341bd814f961c73ef40be2528b392a5b9651d6 | [] | no_license | LibbyXu/OOD-Cplusplus | 874415cb87774d6e59025f7b1025518b386a40d4 | ec93185eb941a341d537deed6c3da0050df40326 | refs/heads/main | 2023-04-30T17:47:27.418743 | 2021-05-21T04:49:54 | 2021-05-21T04:49:54 | 369,416,194 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 734 | h | //
// TaxVisitor.h
// VisitorDesignPattern
//
// Created by Lihua Xu on 5/14/21.
//
#ifndef TaxVisitor_h
#define TaxVisitor_h
#include "Visitor.h"
#include "Liquor.h"
#include "Tabacco.h"
#include "Necessity.h"
class TaxVisitor:public Visitor{
public:
TaxVisitor(){};
double visit(Liquor *liquor){
st... | [
"xulihua66@hotmail.com"
] | xulihua66@hotmail.com |
ecab7e9d7e29b8904c2da51f6a7e6035ac74de69 | c8b39acfd4a857dc15ed3375e0d93e75fa3f1f64 | /Engine/Source/Runtime/UtilityShaders/Private/LongGPUTask.cpp | bb68481da40c1739a6ef147e8cebbbfe6391a1b6 | [
"MIT",
"LicenseRef-scancode-proprietary-license"
] | permissive | windystrife/UnrealEngine_NVIDIAGameWorks | c3c7863083653caf1bc67d3ef104fb4b9f302e2a | b50e6338a7c5b26374d66306ebc7807541ff815e | refs/heads/4.18-GameWorks | 2023-03-11T02:50:08.471040 | 2022-01-13T20:50:29 | 2022-01-13T20:50:29 | 124,100,479 | 262 | 179 | MIT | 2022-12-16T05:36:38 | 2018-03-06T15:44:09 | C++ | UTF-8 | C++ | false | false | 4,039 | cpp | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#include "LongGPUTask.h"
#include "OneColorShader.h"
#include "PipelineStateCache.h"
#include "RHIStaticStates.h"
IMPLEMENT_SHADER_TYPE(, FLongGPUTaskPS, TEXT("/Engine/Private/OneColorShader.usf"), TEXT("MainLongGPUTask"), SF_Pixel);
/** Vertex declaration... | [
"tungnt.rec@gmail.com"
] | tungnt.rec@gmail.com |
c3d36ba3fc151e808df40533b01099e6f40da6e1 | 18b9b8ad76d2df018b2bddb078c5f1e0282fca04 | /pekingUniversity-cpp-tutorial/const_obj_quote.cpp | da2693dead74afc08aba8acb5da144eb41a35026 | [
"MIT"
] | permissive | Ailikez/cpp_tech_notes | bc522ede7b251c25319dd665f99018f6208e3c45 | b24c3fbe3e0624c73166af3d1c831361f1708f82 | refs/heads/master | 2020-03-23T18:18:02.001462 | 2018-10-24T13:05:25 | 2018-10-24T13:05:25 | 141,899,824 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,322 | cpp | /*
* 如果不希望某个对象的值被改变,定义该对象的时候可以在前面加上const, 这是常量对象
* 常量成员函数: 在类的成员函数说明后面加const,执行期间不应修改其所作用的对象
所以它既不能用来修改成员变量的值,也不能调用非常量成员函数。
* 两个成员函数,名字和参数列表都一样,但一个是const,另一个不是,这算重载。
* 常引用经常用来作函数参数,这样可以避免调用复制构造函数,节省时间
class Sample{
...
};
void PrintObj(const Sample & o)//避免调用复制构造函数
{...}
*/
#include ... | [
"1356781673@qq.com"
] | 1356781673@qq.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.