blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 2 247 | content_id stringlengths 40 40 | detected_licenses listlengths 0 57 | license_type stringclasses 2
values | repo_name stringlengths 4 111 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringlengths 4 58 | visit_date timestamp[ns]date 2015-07-25 18:16:41 2023-09-06 10:45:08 | revision_date timestamp[ns]date 1970-01-14 14:03:36 2023-09-06 06:22:19 | committer_date timestamp[ns]date 1970-01-14 14:03:36 2023-09-06 06:22:19 | github_id int64 3.89k 689M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 25
values | gha_event_created_at timestamp[ns]date 2012-06-07 00:51:45 2023-09-14 21:58:52 ⌀ | gha_created_at timestamp[ns]date 2008-03-27 23:40:48 2023-08-24 19:49:39 ⌀ | gha_language stringclasses 159
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 7 10.5M | extension stringclasses 111
values | filename stringlengths 1 195 | text stringlengths 7 10.5M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
014ca76e47684290242a7ab1f240dca42ee70ed2 | 91f3aa600ce13aeb351b3577bd98a28ebfb7ee17 | /Scene.h | 7bff2f560279b3742bb6313f1acc4dd52b7b36d2 | [
"MIT"
] | permissive | ostlerc/raytracer | d538f84f2e17c05230fd0bd6442de4d1f443f611 | 1b20ef2ffdde1fe1cb2423f9a6752eb5f10dbc32 | refs/heads/master | 2021-01-10T21:11:34.494525 | 2013-08-05T06:01:45 | 2013-08-05T06:01:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,956 | h | Scene.h |
#ifndef Scene_h
#define Scene_h
#include "Color.h"
#include <string>
#include <vector>
class Background;
class Camera;
class Color;
class Image;
class Light;
class Object;
class RenderContext;
class Ray;
class Scene {
public:
Scene();
virtual ~Scene();
inline Object* getObject() const {
return object;
... |
052f8b12dab3c45cd9977202ecbe52339ff8a36c | a071753a94d6d247bdfc8468661e99046a92e376 | /opencl/test/unit_test/gen12lp/dg1/excludes_dg1.cpp | 4b6d30cacab3414be06dc9b79c985fff6d38cbe2 | [
"MIT"
] | permissive | JacekDanecki/compute-runtime | dd17bd773dc5a97fee38259d35bf103eaa006176 | 156c55e6a61c84d78ea530970c3092c94f055ffc | refs/heads/master | 2022-03-22T02:24:10.485771 | 2021-05-21T11:30:24 | 2021-05-21T11:37:22 | 119,974,462 | 1 | 6 | MIT | 2019-03-26T17:26:08 | 2018-02-02T11:37:53 | C++ | UTF-8 | C++ | false | false | 1,729 | cpp | excludes_dg1.cpp | /*
* Copyright (C) 2020 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "test.h"
namespace NEO {
HWCMDTEST_EXCLUDE_FAMILY(ProfilingTests, GivenCommandQueueBlockedWithProfilingWhenWalkerIsDispatchedThenMiStoreRegisterMemIsPresentInCS, IGFX_DG1);
HWCMDTEST_EXCLUDE_FAMILY(ProfilingTests, GivenComm... |
2450f49920d7cf43a7bde114d9313f4eedd6db15 | 2182d5af50bcaa771eb47306ab8bcd35297fdb62 | /src/qt/bitcoinstrings.cpp | 45aadd49a5dbe306dccf9fc43b12012118abf2f6 | [
"MIT"
] | permissive | lachesis/bitcoin | 812e489d6e81fd936a6d02c89895e6d8ca47b762 | 5c5d310a0a94ec00d08c52637d38f3344a6e2c6f | refs/heads/master | 2021-01-17T23:21:48.902560 | 2011-10-04T14:41:00 | 2011-10-04T14:41:00 | 1,426,670 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,940 | cpp | bitcoinstrings.cpp | #include <QtGlobal>
// Automatically generated by extract_strings.py
static const char *bitcoin_strings[] = {QT_TRANSLATE_NOOP("bitcoin-core", "Bitcoin version"),
QT_TRANSLATE_NOOP("bitcoin-core", "Usage:"),
QT_TRANSLATE_NOOP("bitcoin-core", "Send command to -server or bitcoind\n"),
QT_TRANSLATE_NOOP("bitcoin-core", "L... |
3d753a84a48f362f67a5db859dac6010927c5ece | 476af59c3267d2c865fef50a84a256dcf6dbe191 | /competition/First Half 2021/May 30. 2021/Solution1.cpp | ec054c9fcfbc4ca5afabc60cf078bb7733a272df | [] | no_license | yogurt-shadow/leetcode | fb3c2f47e77c3b40b06fa65cffe63095bd6542e7 | c824fa13237421afa69d05bb48026e7a2e407d02 | refs/heads/master | 2023-08-29T04:09:43.859492 | 2021-11-11T15:16:15 | 2021-11-11T15:16:15 | 325,449,621 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 749 | cpp | Solution1.cpp | #include <iostream>
#include <vector>
#include <unordered_set>
#include <unordered_map>
#include <algorithm>
#include <queue>
#include <string>
using ll = long long;
using namespace std;
class Solution1 {
public:
string convert(string x)
{
string ans = "";
for (auto ele : x)
... |
be6dff8d56b7e61f7158eeef28901b7bfcd53f35 | 9344f03d92998cd82249090793327ca8b330f31d | /main.cpp | 4455cc35a998d28614e5930aa1ea0dc8be7ed2f8 | [] | no_license | manproffi/computorV1 | 71d009c3dd64f92401517b8d05fbe590f6bc8922 | 3a2915e4a498b5a7d1b845d891b879875fa64628 | refs/heads/master | 2020-03-30T04:00:29.987628 | 2018-10-08T18:21:34 | 2018-10-08T18:21:34 | 150,719,590 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 500 | cpp | main.cpp | #include <iostream>
//#include "lexer.h"
#include "validation.h"
#include "calculation.h"
int main(int argc, char *argv[])
{
if (argc == 2) {
validation val(argv[1]);
if (val.checking()) {
// std::cout << "Calculate" << std::endl;
calculation calc(val.getMap());
... |
def7c7ae94e4d5951d039d3f3ca2a9cc0ce1586b | dd4168d088a0d70c80e8760880ada2b251fd07d0 | /src/log.cc | 5d3f869c64353acc875d94556f975697e768dd5a | [] | no_license | jfpu/epoll_event_processer | 75eeacd233cabf182be0942e8b5d35b41cb61fd2 | 05ccadc5ab23316fa2a899b86d58360ae3623b63 | refs/heads/master | 2020-06-05T07:52:14.445386 | 2015-07-09T10:46:53 | 2015-07-09T10:46:53 | 33,773,248 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,259 | cc | log.cc | #include "log.h"
wbl::log::async_writer_thread so_awt;
wbl::log::async_writer_thread sys_awt;
pid_t g_currentpid;
wbl::log::logger g_syslog;
wbl::log::logger g_solog;
bool SysLogInit(const string& file,
size_t level,
const string& format, size_t size) {
bool ret = g_syslog.initi... |
4c76a0624aa5784765c23190812f550a65e559a8 | af9b093999a73245372003fb8c1ad6017be012a5 | /CodeForces/div2-551/B551.cpp | b4768bf5b7b34322ff3d484aab01bf4d7cec6de7 | [] | no_license | Dariiio/competitiveProgramming | 5463657cb5df2d96771d622622a9b26ec7e9bfec | ffb7f429bdea6ff08d3fdded68ce5f0e1301f540 | refs/heads/master | 2021-06-12T15:22:54.441439 | 2020-05-26T04:56:48 | 2020-05-26T04:56:48 | 128,706,958 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 493 | cpp | B551.cpp | #include <bits/stdc++.h>
// https://codeforces.com/contest/1153/problem/B
//ACCEPTED
using namespace std;
int main(){
ios_base::sync_with_stdio(0);
cin.tie(NULL);
int n,m,h,left[110],front[110],top[110][110];
cin>>n>>m>>h;
for(int i=0;i<m;i++) cin>>front[i];
for(int i=0;i<n;i++) cin>>left[i];
for(int i=0;i<n;i... |
73c41078236162d65c400eb7a1715fdc087786ef | b452e6308d47ba80161aed1bb5129ef69aa541f2 | /day03/ex01/ScavTrap.hpp | a12292abd7d9d0765fa04b39ce2b4c135664e955 | [] | no_license | AlexTiniakov/Piscine_CPP | 3dbc27c24c6ad5e634063ddb90b8f3a29d9730cd | 80cef87fde790d25ef6740da9083e80f12bb7413 | refs/heads/master | 2020-03-30T11:08:19.383653 | 2018-10-15T09:00:31 | 2018-10-15T09:00:31 | 151,155,242 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,614 | hpp | ScavTrap.hpp | // ************************************************************************** //
// //
// ::: :::::::: //
// ScavTrap.hpp :+: :+: :+: ... |
ade0477aa90f36b812e2fe8330555fca3539f710 | 08033e5d145a469668b090fdde7477c260833141 | /HW12/6/main.cc | 1133673f7f51449c6c15b270ea2864cc38da250d | [] | no_license | austinschneider/schneider_PHYS401 | bd467b1436c71e4638ad76878d6210fad81df414 | b319b909fe72c89eef4d6574c66b4173da0cce02 | refs/heads/master | 2021-05-29T10:54:47.456526 | 2015-04-24T23:13:24 | 2015-04-24T23:13:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,509 | cc | main.cc | #include <iostream>
#include <tgmath.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include <omp.h>
struct rule_set {
unsigned int size;
unsigned int rule_size;
bool * rules;
};
void next_state(bool * current, bool * next, unsigned int size, rule_set & rs) {
unsigned int id;
#pra... |
6fb48eb4301538723af4e8c7431bbc1615aa1f54 | 866f29a61aa1a2f2a827349055ce599aa7dcb2a2 | /main.cpp | fc25efc8b37436106b6352faa94705a4212559d9 | [] | no_license | synich/finabook | 4e806ac34a79946ffa7d456a79163de91c175feb | f6d6d9e4da477397f44c8e17ccf30fba1654921d | refs/heads/master | 2016-09-06T19:11:30.601169 | 2014-03-17T15:09:28 | 2014-03-17T15:09:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,875 | cpp | main.cpp | #include "fina.h"
#include "stdio.h"
#include "FL/fl_ask.h"
#include "FL/Fl_Double_Window.H"
#include "FL/Fl_Button.H"
#include "FL/Fl_Input.H"
#include "FL/Fl_Output.H"
sqlite3* db;
const char* colname[] = {"id", "mon", "day", "type", "num", "memo", "ext"};
FinaTable::FinaTable(int x, int y, int w, int h, const cha... |
d2034343a3cacfa4700b637c153faf7c739c6b89 | 774f677194dde866a2d953f7d38c85d0f95d5414 | /cplusplus/boost_eigen_example /src/boost_eigen_example.cpp | 0b805c7a6846dc6f3db5b0e2bb473b654a907fcb | [] | no_license | arohamirai/my_awesome_project | 777bf567938e81ec228f1c1e858c3b3440e4ab30 | 42adbd172b4b20e894d34d7b6d8cd532a3d37c3e | refs/heads/master | 2021-06-18T13:20:03.465575 | 2021-03-04T07:16:04 | 2021-03-04T07:16:04 | 180,282,316 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 350 | cpp | boost_eigen_example.cpp | #include "Eigen/Core"
#include "Eigen/Geometry"
#include <boost/variant.hpp>
#include <iostream>
using namespace std;
int main(int argc, char** argv)
{
boost::variant<int, double, std::string> v;
v = 1;
std::cout << boost::get<int>(v) << std::endl;
v = "hello world";
std::cout << boost::get<std::string>(v)... |
66781ae14d7851c291611be0e2833ab49b7e7a0d | cd64475ecbbf76a2768616c8900f4c3a308ed440 | /Autobackup/auto-backup.cpp | b63fdbb4f9b3a07a869e022fba64465b4aceed33 | [] | no_license | HJfod/gdtools | b3b777ecbcbabf3e2e74377d1058f5bc1d93f4bf | 66b85d3ece752c21a4cd3c7290fb222bc1c530d9 | refs/heads/master | 2022-12-31T09:10:32.340109 | 2020-10-23T07:57:22 | 2020-10-23T07:57:22 | 289,895,698 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,771 | cpp | auto-backup.cpp | #include <stdio.h>
#include <iostream>
#include <fstream>
#include <string>
#include <ShlObj.h>
#include <sstream>
#include <tchar.h>
#include <windows.h>
#include <psapi.h>
#include <winuser.h>
#include <thread>
#include <chrono>
#include <ctime>
#include <time.h>
#include <direct.h>
//#include "zipper/zipper.h"
#def... |
135b31a020b3ff0864766e22ba382950b9cbf4d6 | da9c4798a6e30152382eb1ba876718b51b9bd4f2 | /UnionFindSet/main.cpp | 334b7432bb11110fbad9885a3d36715bee3774c6 | [] | no_license | zivyou/labofziv | cb2b51f48b3315a8f408eafa940fdc04e1797bfa | e0319d6bc1bbb417f49275bdd07c28019e4b4089 | refs/heads/master | 2023-08-17T03:10:05.615780 | 2023-08-07T06:42:05 | 2023-08-07T06:42:05 | 6,417,825 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 216 | cpp | main.cpp | #include <iostream>
#include "UnionFindSet.h"
int main() {
std::cout << "Hello, World!" << std::endl;
UnionFindSet ufs(5);
ufs.Union(0, 1);
ufs.Union(2, 3);
ufs.Union(3, 4);
ufs.display();
return 0;
}
|
5aa1c3210d116e2a6086c76150621a4456d9addd | 81361fbb260f3a43f2dfd05474c1bb06c5160d9c | /Codeforces/Accepted/155B.cpp | f4416be7b45286364ededa09b9326e3093631ab9 | [] | no_license | enamcse/ACM-Programming-Codes | 9307a22aafb0be6d8f64920e46144f2f813c493a | 70b57c35ec551eae6322959857b3ac37bcf615fa | refs/heads/master | 2022-10-09T19:35:54.894241 | 2022-09-30T01:26:24 | 2022-09-30T01:26:24 | 33,211,745 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 997 | cpp | 155B.cpp | #include <bits/stdc++.h>
#define _ ios_base::sync_with_stdio(0);cin.tie(0);
#define sz 100
#define pb(a) push_back(a)
#define pp pop_back()
#define ll long long
#define fread freopen("input.txt","r",stdin)
#define fwrite freopen("output.txt","w",stdout)
#define inf (1<<30-1)
#define clr(abc,z) memset(abc,z,sizeof(abc)... |
8ebe985f0c1bf02f7658a33094383fa2eab3d4ee | a4a71609cb38e8d2bac69c39bc423c19e5ff7737 | /algo/dp/purmutation/permutation.cpp | ec600200ec123f69c8de6e4162bc51901696adcb | [] | no_license | fahadahmedocean/srbd | 3822c1e6de3de2f484d0dafe11882f2a22e5382a | 6aa656fcdd9fbdb2cdc98c74c73cd64fb355ff28 | refs/heads/master | 2020-04-27T12:31:51.941635 | 2019-03-07T12:14:01 | 2019-03-07T12:14:01 | 174,334,763 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,071 | cpp | permutation.cpp | #include<iostream>
using namespace std;
long long int cnt=0,pos;
int visit[100]= {0};
void change(char *a,int i,int j)
{
int temp = a[j];
while(j>i)
{
a[j] = a[j-1];
j--;
}
a[j] = temp;
}
void revert(char *a,int i,int j)
{
int temp = a[i];
while(i<j)
... |
ed7cc44543a47c242aa173a7102ecc5439ffd4b9 | e972f2484e92e68cf90353c7b3b392024795fe78 | /gltfscene.h | 917f3a7731338b670cb57f74a418064b1d644cc7 | [] | no_license | wtrsltnk/gltf-viewer | 2550e1beaa04ffe1cfcd727c9aa0fbb33662cdb2 | 46211b212179e24172cd113b81b476fc6c1c3234 | refs/heads/master | 2023-04-15T16:09:36.334767 | 2023-04-11T20:51:14 | 2023-04-11T20:51:14 | 96,828,543 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,053 | h | gltfscene.h | /* gltfscene - v0.1 - public domain gltf 2.0 model renderer for opengl
Do this:
#define GLSCENE_IMPLEMENTATION
before you include this file in *one* C or C++ file to create the implementation.
Release notes:
v0.1 (2017-07-13) initial version based on tiny_gltf glview.cc
LICENSE
Thi... |
ad5f130dca2b8f3e56981d75d50c983895c695a2 | 210f8682934b43c815ae36ff0bb0e00a6e7958fe | /game/source/Particles.cpp | f0a41c6535781e4d7de8550d587b2edc3ed512b6 | [] | no_license | bpetar/leonline | 267b17d32f6d62f76d812746fb593814aefbf95d | cc3570f6e5540e8a7d5fa040121f8cf3e45f1723 | refs/heads/master | 2021-01-22T07:04:14.616110 | 2013-03-20T22:32:37 | 2013-03-20T22:32:37 | 33,636,342 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 595 | cpp | Particles.cpp | /**
* \file Particles.cpp
* \brief CParticles class is containing Particle effects.
*
* \author Petar Bajic, MPE (C) All Rights Reserved, Homepage: www.mystic-peanut.com
* \date October, 21 2011.
*/
#include <irrlicht.h>
using namespace irr;
using namespace io;
#include "Particles.h"
#include "Game... |
50d608b4cbfb3f03a2e3d3d0fa05bc2f3dab5928 | a27d15c62bdd55ab50ffff17e868052704dacf64 | /Source.cpp | 2c12910b356828b1c6f8c73708b1f519694bf44a | [] | no_license | chwaqarali6/Fractional-Calculator-Problem | b89b17cc5e17169b4ae25e44256dd3104c8f0c26 | 8d0159a4593f390b6a15261121be105e328fa3fc | refs/heads/master | 2020-03-24T14:08:57.286655 | 2018-07-29T14:12:21 | 2018-07-29T14:12:21 | 142,760,488 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,430 | cpp | Source.cpp | #include <iostream>
#include <conio.h>
using namespace std;
void main()
{
//Initializing Variables
int Numerator1 = 0, Numerator2 = 0, Denominator1 = 0, Denominator2 = 0, FinalNumerator = 0, FinalDenominator = 0, Divider = 0;
char opt;
//Taking Inputs
cout << "Please Enter The Numerator Of Fraction... |
28fa3d0a466b0a424b0825849f0e56abe5d3582f | eb7c3395b5edc43f1333cd13db1272a5124532b6 | /deptran/rcc/commo.h | ef6377612c10ee6cf1d68f0f03eb49b6959d1edc | [] | no_license | lolo-pop/dast | 6febd59ed5efe6fa2f8c227cd874e0512cc31f84 | 3a3dcb5225e0690bcd874be1d9d7f80f168735c1 | refs/heads/master | 2023-03-19T20:08:32.370128 | 2021-03-16T14:40:40 | 2021-03-16T14:40:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,229 | h | commo.h | #pragma once
#include "../__dep__.h"
#include "../commo.h"
namespace rococo {
class SimpleCommand;
class RccGraph;
class RccCommo : public RococoCommunicator {
public:
using RococoCommunicator::RococoCommunicator;
virtual void SendDispatch(vector<SimpleCommand> &cmd,
const function<voi... |
55e62516bec2bf1d23a6b19efa1b17725637fe7f | 3c237996251c0cb3c0a2bc01a02110d7c8bba22a | /Tweet.h | a1df7b2d30df6db041bec37c59ff5458cbc6ebaf | [] | no_license | WizKIDz/cpp-twitter | 37ac0c6f90f858ed212124986ab76fdaca54fb68 | 02d8131b446c90d54774b20bfb3fb90e26582b05 | refs/heads/master | 2016-08-12T09:38:04.849511 | 2015-11-24T04:51:41 | 2015-11-24T04:51:41 | 46,693,851 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 743 | h | Tweet.h | //
// Tweet.h
// TwitterRESTInterface
//
// Created by austin crane on 9/18/15.
// Copyright (c) 2015 OzDreams. All rights reserved.
//
#ifndef __TwitterRESTInterface__Tweet__
#define __TwitterRESTInterface__Tweet__
#include <stdio.h>
#include <json/json.h>
#include <string>
#include "TwitterUser.h"
class Tweet... |
600f4c50406b196583af5a98c402d41151b7d823 | dea178f52fed5236874ee1c11f1c969e5ffada74 | /Libooxml/trunk/Libooxml/dml-main/CT_TextFont.cpp | fb5be0f754ba20274e46eaae09fc0c12723fd546 | [] | no_license | andrew2015/ooxmlpp | 411d1d43b35b82ee00d371ad0e3eeda0278a52b9 | 3bf26fe79d8932d873bbb3595ba1e5de20017cee | refs/heads/master | 2021-06-16T16:24:39.555456 | 2012-10-01T20:29:21 | 2012-10-01T20:29:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,308 | cpp | CT_TextFont.cpp | #include <xercesc/parsers/XercesDOMParser.hpp>
#include <xercesc/dom/DOM.hpp>
#include <dml-main.h>
using namespace drawingml::main;
CT_TextFont::CT_TextFont(ST_TextTypeface &_typeface) {
typeface = _typeface;
}
CT_TextFont::CT_TextFont(CT_TextFont &b) {
pitchAndFamily = b.pitchAndFamily;
charset = b.... |
bd5abe65c4d3d395692d79317adf1911f8af2e8f | 8775fa748f40950d10122016ff4fe44c03f4e0c5 | /polygonRSA/Vector.tpp | 6568a345bb19e02107e50d625485bb89dbc02341 | [] | no_license | misiekc/polygonRSA | 2f7561a524d08ab384ea8da8b784761085bafc95 | f286d80b9a0aec672085a6e4c7adb16d2abc0a4e | refs/heads/master | 2021-06-24T06:20:33.419569 | 2021-01-06T15:12:05 | 2021-01-06T15:12:05 | 186,135,672 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,363 | tpp | Vector.tpp | //--------------------------------------------------------------------------------------------
// Class representing vectors and operations on them. Template definitions
//--------------------------------------------------------------------------------------------
// (C)PKua 2017
//-------------------------------------... |
a23131cde5d206cfc0a6e62dfc0381687543aef5 | b1529e253d5dc9f9e459128589cfef1b09af156d | /src/atomics.h | d3aa9d8ba8b3be15b2497c9f863be19265b6ba5b | [
"LGPL-3.0-or-later",
"Zlib",
"MIT",
"LicenseRef-scancode-other-permissive",
"ISC",
"LGPL-2.0-or-later",
"MPL-2.0",
"BSD-3-Clause",
"GPL-2.0-only",
"BSL-1.0",
"GPL-2.0-or-later",
"Apache-2.0",
"MPL-1.0",
"BSD-2-Clause"
] | permissive | PallHaraldsson/julia | f265c0b8643f0ee4dde42db3fb552058a8511d89 | 618d3f2f5d1c92bb3995d83f733518beb552315a | refs/heads/master | 2023-05-27T06:31:22.948176 | 2020-10-22T20:41:50 | 2020-10-22T20:41:50 | 21,274,816 | 4 | 0 | MIT | 2023-08-09T23:02:59 | 2014-06-27T12:25:21 | Julia | UTF-8 | C++ | false | false | 13,194 | h | atomics.h | // This file is a part of Julia. License is MIT: https://julialang.org/license
#ifndef JL_ATOMICS_H
#define JL_ATOMICS_H
// Low-level atomic operations
#if defined(__i386__) && defined(__GNUC__) && !defined(__SSE2__)
# error Julia can only be built for architectures above Pentium 4. Pass -march=pentium4, or set MAR... |
06a9c3146f105b2b4160dd201b4806f564f4b6f3 | 60d88a8557b290a64b54aead43c33174829b0e1d | /Skills.cpp | 1bef4e8d151ba2a3585180c7fab3eb9aaeeb65ff | [] | no_license | vx-c/Dungeon-Crawler | e88d5a46cc91f8c476f78000f27369b038badc3a | 45a651d81d2ccbf561b910d2aeaf0ed0137eeb09 | refs/heads/main | 2023-02-22T17:53:53.840624 | 2021-01-30T00:01:10 | 2021-01-30T00:01:10 | 308,446,977 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 743 | cpp | Skills.cpp | #include "Skills.h"
Skill::Skill(ID id, TargetingID targeting, std::wstring name, std::wstring text)
: id(id), targeting(targeting), name(name), text(text)
{
}
Skill Skills::basicAttack = Skill(Skill::ID::BasicAttack, Skill::TargetingID::Single, L"BasicAttack", L"attacks");
Skill Skills::cleave = Skill(Ski... |
359df2be970939de76ed382e715a6365cf681b62 | b7d403ca9bfd218d3ec76d169d030e5ca3d2ad07 | /include/UbiForm/ResourceDiscovery/ResourceDiscoveryConnEndpoint.h | 3fdd965f7e2a5f81ef63f67347558a5fb8ea5293 | [
"MIT"
] | permissive | J2G8W/UbiForm | 3c73756a3c3589f0bc14e4ca1bd393edf0ec4684 | 723945f4a6c07a852101e09b80f22f663985f7dc | refs/heads/main | 2023-04-19T06:37:16.703649 | 2021-05-10T18:35:17 | 2021-05-10T18:35:17 | 310,634,420 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,904 | h | ResourceDiscoveryConnEndpoint.h | #ifndef UBIFORM_RESOURCEDISCOVERYCONNENDPOINT_H
#define UBIFORM_RESOURCEDISCOVERYCONNENDPOINT_H
#include <vector>
#include <string>
#include "ComponentRepresentation.h"
#include "../Endpoints/RequestEndpoint.h"
class Component;
class ResourceDiscoveryConnEndpoint {
private:
// Map from url to our id on that rdh... |
c30d56b89f7b1860c80778f059b43d54a0f2a0ed | 5f6a1f69ae06231044bd9a3901433fea8ca8b249 | /kernel/screen.cpp | e328eda3bbe16871f4e62a67fb0a47dee0f0c44d | [] | no_license | chipot/kpp | 7dcad4bceebeed8f1aa3e678446bbff015af34de | 8ef28413a04fe1554b19df47d37ccfb5444ff21b | refs/heads/master | 2021-01-20T04:32:33.306852 | 2012-10-22T21:57:13 | 2012-10-22T21:57:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,358 | cpp | screen.cpp | #include "Screen.h"
screen::tty tty;
namespace screen {
/*
* 'scrollup' scrolle l'ecran (la console mappee en ram) vers le haut
* de n lignes (de 0 a 25).
*/
void tty::scrollup(unsigned int n)
{
unsigned char *video, *tmp;
for (video = (unsigned char *) RAMSCREEN;
video < (unsigned char *) SCREENLIM; vi... |
27418eef34fc9a77e8a7dca8129c061546a4218f | dccb136394c3c7f4a636f17f444ebaf95e24ab66 | /Baekjoon/baekjoon_17829.cpp | d6f349fc518ff3bc0a52a017d4457c7f1b001036 | [] | no_license | Oh-kyung-tak/Algorithm | e2b88f6ae8e97130259dedfc30bb48591ae5b2fd | be63f972503170eb8ce06002a2eacd365ade7787 | refs/heads/master | 2020-04-25T22:37:41.799025 | 2020-01-19T08:55:42 | 2020-01-19T08:55:42 | 173,117,722 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 627 | cpp | baekjoon_17829.cpp | #include <iostream>
#include <string>
#include <map>
#include <algorithm>
#include <vector>
using namespace std;
int N;
int CNN[1024][1024];
int second_max(int x, int y)
{
vector<int> temp;
for (int i = x; i < x + 2; i++)
for (int j = y; j < y + 2; j++)
temp.push_back(CNN[i][j]);
sort(temp.begin(), temp.en... |
5ad9b61a3a97c37e64b76cab8f0de509297942f6 | 2bc60fb13ee17d62f4ce694c94f144ba8a1b1bc7 | /GnuplotSink.cpp | ba31262b4c59cfa8e95c5a5e852f8f2f5e721859 | [] | no_license | fpga-tom/cmpxchg | 18600a43b73cf139388767c5370c4d271bf50876 | da3fe3b5bada9a1a1dc70d22c94d90558db09be2 | refs/heads/master | 2020-04-09T05:30:09.579687 | 2019-02-04T16:23:11 | 2019-02-04T16:23:11 | 160,066,919 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 998 | cpp | GnuplotSink.cpp | //
// Created by tomas on 12/2/18.
//
#include "GnuplotSink.h"
#include "gnuplot_i.hpp"
Gnuplot gp("gnuplot");
GnuplotSink::GnuplotSink(const int buf_size) : buf_size(buf_size) {
Task & t_sdl = create_task("gnuplot", {
TagPortIn("p_in", (uint8_t )module::gnuuplot::port::paint ::p_in)
},[this, buf... |
e40e291629f0c4eb4b1cbcaba127af2cf03dd936 | c8b39acfd4a857dc15ed3375e0d93e75fa3f1f64 | /Engine/Source/Runtime/Slate/Public/Widgets/Docking/SDockableTab.h | 08a1985d6089a6daf284e934fdf93b7ad908b413 | [
"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 | 3,353 | h | SDockableTab.h | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Misc/Attribute.h"
#include "Layout/Margin.h"
#include "Widgets/DeclarativeSyntaxSupport.h"
#include "Widgets/SWidget.h"
#include "Widgets/Docking/SDockTab.h"
class FMenuBuilder;
class SDockTabStack;
DECLARE_... |
b6d706315654fdb3eb961e6fdd3c8988ec10cf1b | 5a76eaf44e1da6cb80bd1692d7dd100e2c06d8eb | /kernel.hpp | 1ab99f248fbb47c3a81cbb166985c68145748336 | [] | no_license | fishcorn/mwumkl2 | 3aa561e8d12d61b1c616e841e21274aaca2a29c9 | 5cf064e331fe5ffd9e2b95f6716b454e572a7180 | refs/heads/master | 2021-01-01T19:01:46.201045 | 2013-08-04T04:54:51 | 2013-08-04T04:54:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,673 | hpp | kernel.hpp | #include "mwu_main.h"
#include <cmath>
#include <vector>
#include <map>
#include <algorithm>
#include <functional>
#include <limits>
#include <typeinfo>
#include <iostream>
namespace mwumkl { namespace kernel {
struct dot_elem {
inline double operator()(double r, double c) {
return r*c;
}
... |
84ebb984ead849942d9d30561d61055f89d71bb9 | 09882ac9f3d0949cadc9743544f24a7b12f962fd | /src/frontend/viewport.h | c9bcbfa634d9a66330f73bda1b721c34084aae51 | [] | no_license | ousttrue/w3m1 | ddcc240c5d9017ce78dd41cca3197c6bd191f0a1 | eaf5969cdacb3f9ae19e1fa32a652c88695fbf4c | refs/heads/master | 2022-12-08T23:58:04.264222 | 2020-09-03T13:30:24 | 2020-09-03T13:30:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,082 | h | viewport.h | #pragma once
#include <tuple>
#include <math.h>
//
// viewport for buffer
//
struct Viewport
{
// viewport top left corner
short rootX = 0;
short rootY = 0;
// viewport size
short cols = 0;
short lines = 0;
// // buffer local cursor position
// short cursorX = 0;
// short cursorY = ... |
73830c82655b7f8fa4bbe978cb1686e479b30a8a | 5282d14780eef9c50f000176794ec2c116afefc6 | /Root2CalMCP.cpp | 1e2db3faf40233b1f8ef0f316eebe81825cce8ba | [
"BSD-3-Clause"
] | permissive | LeavesWang/E18009Src | 732ef5fa3ab574b9352765f2385bb4b9cbe83162 | 6b774b90dae5a289a9fba5cb5276fcd8e95c520d | refs/heads/main | 2023-04-28T21:39:42.259136 | 2021-05-10T16:42:03 | 2021-05-10T16:42:03 | 366,094,440 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,287 | cpp | Root2CalMCP.cpp | #include <iostream>
#include <string>
#include <sstream>
#include <iomanip>
#include <cstring>
#include <unistd.h>
#include "TFile.h"
#include "TTree.h"
#include "TRandom3.h"
#include "TStyle.h"
using namespace std;
struct StrtMesytec
{
int modID;
int data[32];
int modRes;
int modEC_TS;
};
... |
42680edc7dd09a9d7f7366648964926858734d8c | 3405a45610a34156e7cbdb7381e19fed9dc0b3b4 | /lib_/utils/ConnectingSocket.h | 2daa0ed19442939f044ef7a4c55cbd6c22d7efd3 | [] | no_license | shri314/misc | 31c679620003de9c5706f3b743ba9091ecbee895 | 44ed89f543b140a6ff355fb45759973bfd08f7d8 | refs/heads/master | 2021-01-10T23:55:17.086453 | 2018-03-11T16:06:57 | 2018-03-11T16:06:57 | 70,785,260 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 611 | h | ConnectingSocket.h | #ifndef ConnectingSocket_h
#define ConnectingSocket_h
#include "utils/SocketImplBase.h"
class ConnectingSocket : SocketImplBase
{
public:
ConnectingSocket(const std::string& rendpoint /* 127.0.0.1:9999 */, const std::string& lendpoint, bool nonblocking = false)
: SocketImplBase(lendpoint, nonblocking)
{
... |
f9b4c48b0cb96c2368ebca316f64db4850d61f54 | c05bc1c96979107eeb1d1463a7fc01b5144452c8 | /Common/Servers/Sardara/src/SardaraImpl.cpp | bea435bcb0192b510d7ad2b37cc100ba9e3a872e | [] | no_license | discos/discos | 1587604ae737d8301f10011d21bfa012dd3c411f | 87dc57a160f3b122af46a9927ee6abb62fdf4159 | refs/heads/master | 2023-08-30T21:39:55.339786 | 2023-06-21T13:39:20 | 2023-06-21T13:39:20 | 87,530,078 | 4 | 4 | null | 2023-09-07T07:57:43 | 2017-04-07T09:37:08 | C++ | UTF-8 | C++ | false | false | 31,535 | cpp | SardaraImpl.cpp | // $Id: SardaraImpl.cpp,v 1.1 2011-03-14 14:15:07 a.orlati Exp $
#include "SardaraImpl.h"
#include <Definitions.h>
#include <ComponentErrors.h>
#include <LogFilter.h>
#include "Common.h"
#include "DevIOAttenuation.h"
#include "DevIOBandWidth.h"
#include "DevIOTime.h"
#include "DevIOFrequency.h"
#include "DevIOPolariza... |
7a5bb491b80c87b78e80ba7f1023b3389e30ce03 | 4e7c3a072bbb1fcb313d972765680172833e72d0 | /war3x/war3x/nightelf.inl | 70198cf1e39e3ee4f921b21949efaea9dbde882a | [] | no_license | Geesu/wc3mods | f0ace84ca867bb2cb63e3c8ea308a35f775f8c5a | 3e3d47de8bed96c81bd03ee3a0bba1070ab2f417 | refs/heads/master | 2020-04-21T10:16:09.351004 | 2013-10-18T21:18:22 | 2013-10-18T21:18:22 | 13,690,144 | 14 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 24,595 | inl | nightelf.inl | // Begin NIGHTELF.INL
/* - Events ----------------------------------------------------- */
public NE_skills_offensive( attacker, victim, weapon, iDamage, headshot ) {
if ( g_PlayerInfo[attacker][CURRENT_RACE] == RACE_NIGHTELF && get_user_team( attacker ) != get_user_team( victim ) )
{
// Trueshot Aura
if ( ... |
ef1ad3fc5451bd6319aae33fd7f69d8306d6bdf5 | 4882c595c1af3a7901c299c2d76a7332e92cfcc2 | /Proyecto/RedBrickSky/RedBrickSky/SoundManager.cpp | 9a7fea9601a0bf53297c7df03e936bb7433efd08 | [] | no_license | AmpersandStudio/Proyecto2 | 9a379e6a66c91f08d00def1949b7f8b07456f4ad | ccb86973408f265aac04f5c375c3b990b4596c48 | refs/heads/master | 2021-05-03T13:50:06.329071 | 2018-05-25T11:48:51 | 2018-05-25T11:48:51 | 120,511,852 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 2,005 | cpp | SoundManager.cpp | #include "SoundManager.h"
SoundManager* SoundManager::s_pInstance = 0;
// Metodo para cargar musica y sonidos
bool SoundManager::load(std::string fileName, std::string id, sound_type type)
{
if (type == SOUND_MUSIC)
{
Mix_Music* pMusic = Mix_LoadMUS(fileName.c_str());
if (pMusic == 0)
{
//std::cout << "Cou... |
9f3953309001bed4a0387de1964b25647ae8d321 | d09460da0e4b6af14a50bd3b2800c70b47058e92 | /perspectiveCamera.cpp | ad1b6524276d97599f68ee26843afb319ee956d9 | [] | no_license | kllilizxc/rayTracer | f66218ec65024573aac40ac50affa60678e9fc61 | 5b661cd60f694febe0eeecc4389fe8c8c2050d3b | refs/heads/master | 2021-01-24T18:25:55.435627 | 2017-03-16T06:23:25 | 2017-03-16T06:23:25 | 84,436,345 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,820 | cpp | perspectiveCamera.cpp | //
// Created by 54179 on 2016/10/12.
//
#include <GL/gl.h>
#include <GL/glu.h>
#include "perspectiveCamera.h"
#include "matrix.h"
PerspectiveCamera::PerspectiveCamera(Vec3f center, Vec3f &direction, Vec3f &up, float angle) : center(center),
... |
9e1b887b9fc71240eebe9e567611a25d99647ab6 | 091afb7001e86146209397ea362da70ffd63a916 | /inst/include/nt2/include/functions/allbits.hpp | 81da93e9da153c7da5a5cc479614c0c46b057995 | [] | no_license | RcppCore/RcppNT2 | f156b58c08863243f259d1e609c9a7a8cf669990 | cd7e548daa2d679b6ccebe19744b9a36f1e9139c | refs/heads/master | 2021-01-10T16:15:16.861239 | 2016-02-02T22:18:25 | 2016-02-02T22:18:25 | 50,460,545 | 15 | 1 | null | 2019-11-15T22:08:50 | 2016-01-26T21:29:34 | C++ | UTF-8 | C++ | false | false | 161 | hpp | allbits.hpp | #ifndef NT2_INCLUDE_FUNCTIONS_ALLBITS_HPP_INCLUDED
#define NT2_INCLUDE_FUNCTIONS_ALLBITS_HPP_INCLUDED
#include <nt2/core/include/functions/allbits.hpp>
#endif
|
c7f74a519d6a19582b4e153f6d46916e1a864761 | e25be42d4104432a64f602c6f45926cb117b2e69 | /11831.cpp | d6eaf5e9d82784663452d53589a61949e34e1253 | [] | no_license | ermahechap/UVa-Solutions | bcd8e3f19b75fb22bcd70ce8d85f39aeca6a5042 | 52940c4aa793821698dac9ac6bb390ea10f86dee | refs/heads/master | 2021-09-24T20:06:44.241702 | 2018-10-13T23:53:25 | 2018-10-13T23:53:25 | 118,072,432 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,664 | cpp | 11831.cpp | #include<bits/stdc++.h>
using namespace std;
//N,L,S,O
int dx[]={-1,0,1,0};
int dy[]={0,1,0,-1};
int N,M,S;
int x,y;
string dat[150];
string dir;
int d(char n){
return (n=='N')?0:(n=='L')?1:(n=='S')?2:3;
}
void showD(){
for (int i = 0; i < N; i++) {
cout<<dat[i]<<endl;
}
}
int main(){
//freo... |
fd32a6abd381a4c49fc0e9a2d67c293a9e9520ff | bb04852798c8cfe2b807ab19323b2feeca5aaa18 | /OpenHolo_DepthMap/graphics/vec.h | f3d983a8e335ec26af80f5ba05a8d25dda3319da | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | ShimaRafiei-IUT/OpenHologram | 1acdcb45347bbd6601a81c00287749e9290b244e | c6cdddb5106fe0079d9810eea588d28aa71f0023 | refs/heads/master | 2023-03-15T15:31:21.576826 | 2018-08-03T11:36:43 | 2018-08-03T11:36:43 | 591,491,027 | 1 | 0 | NOASSERTION | 2023-01-20T22:15:17 | 2023-01-20T22:15:16 | null | UTF-8 | C++ | false | false | 23,348 | h | vec.h | #ifndef __vec_h
#define __vec_h
// Description:
// Mathematical tools to handle n-dimensional vectors
//
// Author:
// Myung-Joon Kim
// Dae-Hyun Kim
#include "graphics/real.h"
#include "graphics/ivec.h"
#include "graphics/epsilon.h"
#include <math.h>
#include <stdio.h>
namespace graphics {
/**
* @brief struc... |
8576c19d9d6c7cd5db468084eb40564c297c5419 | a6442784f6ef39e9ae0eb9a87d2d9e1a4a2a267a | /Proyects/App1Proyecto/src/Person.cpp | ef49b38122787038f1dad28d098793721374b6e4 | [] | no_license | ricardoaguillen/OMFG-I-AM-WAY-TO-DUMB-TO-HAVE-A-LOCAL-PROJECT | 2e373b6b6692540e799715b32142411949d95610 | e8085639b1c4ddd4b1d6551c55f40586608f47e9 | refs/heads/main | 2023-06-06T11:39:06.085608 | 2021-06-29T06:19:27 | 2021-06-29T06:19:27 | 380,423,208 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,386 | cpp | Person.cpp | //
// Created by Madera_Eonica on 25/6/2021.
//
#include "Person.h"
Person::Person() {
id = 0;
name = "";
phoneNumber = "";
email = "";
}
Person::Person(double id, const std::string &name, const std::string &phoneNumber, const std::string &email) :
... |
d0d791c5c22bd565143a75ef92b76179fc7d8acb | 36541500fcb52101577939e5f786fc056e0f43b6 | /proj_DataAndMC_multiplots_T2TR.cc | 4514b24a0eddf6d84475cef155d5060de7a80be0 | [] | no_license | cardaci/T2TopPlusPhoton | 5ebadfecac3e835b34bd8a3095f53c05922ddaee | 12c9ec1cc083fe5c73bc40878e2568df13f327ee | refs/heads/master | 2021-01-18T09:15:37.106612 | 2013-12-10T00:21:18 | 2013-12-10T00:21:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,177 | cc | proj_DataAndMC_multiplots_T2TR.cc | #include "TTree.h"
#include "TH1F.h"
#include "TH3D.h"
#include "TH2D.h"
#include "TFile.h"
#include "interface/format.h"
#include "interface/MCTruth.h"
#include "interface/TriggerBooking.h"
#include "interface/HitFitInfoBranches.h"
#include "interface/DPHI.h"
#include "interface/DR.h"
//#include "interface/samples_tr.... |
c9d52701375ca8274bb852945e47c51fe236299d | 8f864d034a666ae46d7ccf8b31b6adc3dd4acb4c | /PiggyBreaker/BallColor.cpp | 0a354c7eee9799a49b71d8de3102dc4172c36148 | [] | no_license | guyllaumedemers/SDL-Piggybreaker | efe982ecfe91770ad3e2ed1fe72f71ec3ef0e48a | b15aece2c8fb16b743fb5f2cb325813e6e24778b | refs/heads/master | 2023-05-31T02:17:15.515754 | 2021-06-16T13:31:45 | 2021-06-16T13:31:45 | 367,116,980 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 811 | cpp | BallColor.cpp | #include "BallColor.h"
Color BallColor::getColor(ballColors color)
{
Color ballColor{ 0,0,0,0 };
switch (color) {
case BallColor::ballColors::RED:
ballColor = Color(255, 0, 0, SDL_ALPHA_OPAQUE);
break;
case BallColor::ballColors::GREEN:
ballColor = Color(0, 255, 0, SDL_ALPHA_OPAQUE);
break;
case BallColor... |
e34d4588cb502f4b45e7827de2283ebc41999cf3 | 4bdbcca97afe9cfbab0247164580f6f05f6f885f | /tables.h | c8f46fc719653ad8d8bed61fe451e50dd9e9c69b | [] | no_license | yanwumo/DistributedWanderJoin | c080407338df423d4ebb7446218318b4fc370fbf | 16149c153b896bbbc234279171c47d5209920cd4 | refs/heads/master | 2021-10-21T02:11:20.488491 | 2018-05-08T06:22:46 | 2018-05-08T06:22:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,030 | h | tables.h | //
// Created by yanwumo on 4/28/18.
//
#ifndef DISTRIBUTEDWANDERJOIN_TABLES_H
#define DISTRIBUTEDWANDERJOIN_TABLES_H
#include <vector>
#include <unordered_map>
#include <fstream>
#include <random>
#include <chrono>
#include "entries.h"
#include "index.h"
template <class T>
class BaseTable {
private:
std::mt1993... |
abef0c06e6573ed9e7821c684005260982f53844 | 80cf3b9bf777ec3d966c1691b3481ea6fc0eb146 | /src/butil/bind_helpers.cc | 487f29177644730391380bc50961acf3a861b634 | [
"Apache-2.0"
] | permissive | nlln/brpc | be55ecb7771dd3a0359e40f8e05006b286cb6471 | ee377b5daa7d9fa41abb26958b9cfb3bde9268aa | refs/heads/master | 2021-06-28T13:53:28.192395 | 2017-09-14T11:18:54 | 2017-09-14T11:18:54 | 103,529,488 | 1 | 0 | null | 2017-09-14T12:29:35 | 2017-09-14T12:29:35 | null | UTF-8 | C++ | false | false | 295 | cc | bind_helpers.cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "butil/bind_helpers.h"
#include "butil/callback.h"
namespace butil {
void DoNothing() {
}
} // namespace butil
|
3e745f97e9d38b29a3272a22f37056a86cdc85ea | 10267622c1b67a81d7dc8f34a63641c8bb5f92e6 | /include/OCarray+Printer.hh | e8c955e9dc3e65be8f2f33885dee68b5c68c1915 | [
"Apache-2.0"
] | permissive | applesnake/OCX | edb660bc87839b6702884b5aed501775157d1c84 | 8dad54e26f72cd1bedd947b02cc5774584feab61 | refs/heads/master | 2020-05-20T12:27:54.801653 | 2016-11-13T07:22:43 | 2016-11-13T07:22:43 | 70,272,764 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 129 | hh | OCarray+Printer.hh | #pragma once
#import "OCarray.hh"
@interface OCarray (Printer)
-(void) print;
-(void) printWithSeperator:(const char*)sp;
@end
|
c98abf6b7e4ca8669d2fb18b5f08774ce4d8ae91 | 13894c5eb473f4c03886a3f8883ed8c04f818620 | /ListsAndMergeSort/IntList.cpp | c2eefe3e08c6f8030db7f90cecba024d817968b5 | [] | no_license | shawnq8861/Data-Structures | fecd9c9f1f783c123fa29ad103472d7a78a0dc16 | f0e261dca5b4cd02923aa3f39aa1f3e335ee33f4 | refs/heads/master | 2021-01-20T22:22:25.791891 | 2016-06-07T17:34:08 | 2016-06-07T17:34:08 | 60,544,087 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,669 | cpp | IntList.cpp | /*****************************************************************************
*
* file IntList.cpp
* the implementation file for the IntList class
*
* Shawn Quinn
* quinnms1
* 11/08/2014
*
****************************************************************************/
#include "IntList.h"
/*******************... |
12bc714affa74453f636ea42721b48ec23dc1153 | 4bab98acf65c4625a8b3c757327a8a386f90dd32 | /ros2-windows/include/trajectory_msgs/msg/dds_connext/JointTrajectoryPoint_.h | 513b6904041582d2c010698b258684ccb47ebf37 | [] | no_license | maojoejoe/Peach-Thinning-GTRI-Agricultural-Robotics-VIP | e2afb08b8d7b3ac075e071e063229f76b25f883a | 8ed707edb72692698f270317113eb215b57ae9f9 | refs/heads/master | 2023-01-15T06:00:22.844468 | 2020-11-25T04:16:15 | 2020-11-25T04:16:15 | 289,108,482 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,928 | h | JointTrajectoryPoint_.h |
/*
WARNING: THIS FILE IS AUTO-GENERATED. DO NOT MODIFY.
This file was generated from JointTrajectoryPoint_.idl using "rtiddsgen".
The rtiddsgen tool is part of the RTI Connext distribution.
For more information, type 'rtiddsgen -help' at a command shell
or consult the RTI Connext manual.
*/
#ifndef JointTrajectoryP... |
0b627d4d4002946236ed3f4bccd098bf1bbbbd54 | 51c728f93657b01bfbc8dcba44235d4ded97feea | /src/shaders/shading.h | d8be748bc498adbda8a49a89070cde4848d936d1 | [
"MIT"
] | permissive | bdkamenov/raytracer | 607e09f6fdb517b2ac35f6f30980dbfc1f952321 | be7915f5f448c43b4977103f45182814810e62f0 | refs/heads/master | 2020-07-01T09:18:38.340924 | 2019-10-21T19:58:19 | 2019-10-21T19:58:19 | 201,124,515 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,364 | h | shading.h | /**
* @File shading.h
* @Brief Contains declarations of shader classes
*/
#ifndef __SHADING_H__
#define __SHADING_H__
#include "maths/ray.h"
#include "geometries/geometry.h"
#include "color/color.h"
#include "materials/bitmap.h"
class Texture
{
public:
virtual ~Texture() = default;
virtual Color sample(con... |
37e3bd7756d65b13766a4aab3c80dbedfe533c4a | 799d21efc423e5b8ea223afcf43a0ee67aa6bdbd | /client/includes/components/__BASIC_COMPONENT__.HPP | 1d7815bab72e1fe1aacdd57aa923056ec062ef29 | [] | no_license | brucelevis/CPP-RType | 8af517a1a167bbc39cf0cc8d45a8eba1468c2b69 | ffe247694cdc61677c1546a3f5ac6ec336a44570 | refs/heads/main | 2023-02-08T09:29:23.594952 | 2021-01-05T15:36:41 | 2021-01-05T15:36:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 392 | hpp | __BASIC_COMPONENT__.HPP | /*
** EPITECH PROJECT, 2020
** B-CPP-501-PAR-5-1-rtype-aurele.auboin
** File description:
** Component ChangeMe
*/
#ifndef CLIENTCOMPONENTCHANGEME_HPP_
#define CLIENTCOMPONENTCHANGEME_HPP_
#include "components/AComponent.hpp"
namespace rtype {
namespace component {
struct ChangeMe : public AComponent
... |
d317be3e972f71122b3d46550ed4bbfbfb210cee | f809b88dc36ff059cef12c07f18c3cdd5afcb56b | /Source/GhostProj/UI/InfoInteractWidget.h | 97b61c4b1fec1ff1ffa1492de52bf03afcd3b081 | [] | no_license | alexeydr/GhostProj | 2a48a5cb63a84d8ba06597d085b296c43523411d | 9dcbcd280ce5924188cdd2f91eaf71dfe051e02f | refs/heads/master | 2020-12-14T03:21:17.304674 | 2020-06-21T17:44:41 | 2020-06-21T17:44:41 | 234,609,500 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 580 | h | InfoInteractWidget.h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Components\TextBlock.h"
#include "Blueprint/UserWidget.h"
#include "InfoInteractWidget.generated.h"
/**
*
*/
UCLASS()
class GHOSTPROJ_API UInfoInteractWidget : public UUserWidget
{
GENER... |
ec408d98fd40de7f3900b875d427ddccdb789f0e | 0e3ab186e07482b3c7d8b6bdddcb13e765a3f208 | /PriorityQueue_Heap/UsefulHeap.cpp | 3fc039028fd751f610ed1943390c428141d6ee3b | [] | no_license | 201710757/DataS | 7fda8a6e68b775530d2903dbd338cac8d40523f1 | 5d61166dc37f5ab3a037d32f2c254404465a9704 | refs/heads/master | 2023-02-05T06:48:35.123531 | 2020-12-28T14:29:52 | 2020-12-28T14:29:52 | 293,270,327 | 1 | 0 | null | 2020-12-28T14:29:53 | 2020-09-06T12:16:49 | C++ | UTF-8 | C++ | false | false | 1,620 | cpp | UsefulHeap.cpp | #include "UsefulHeap.h"
#include <iostream>
using namespace std;
int GetParentIDX(int idx)
{
return idx/2;
}
Heap::Heap(PriorityComp pc)
{
this->comp = pc;
this->numOfData = 0;
}
int Heap::HIsEmpty()
{
if(this->numOfData == 0)
return TRUE;
else return FALSE;
}
void Heap::HInsert(HData d... |
d180be9517789ae1281df3080012e3bebebfd44d | 4af5535125e74f31fbc44816d0c3b907014578b1 | /src/core/Object.h | ebecc6d1a032047cd7cd67710a98cf328208e8f6 | [] | no_license | hazer-hazer/KnotGE | 609aa081ad13361f5f3d2a56ddd0c073de58c874 | a15205b912aa3cde89aff5d3b3e139481f3cab92 | refs/heads/master | 2021-04-07T12:32:49.563306 | 2020-04-13T13:10:01 | 2020-04-13T13:10:01 | 248,675,893 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 781 | h | Object.h | /**
* Object is the base class for all Engine system classes
*/
#ifndef OBJECT_H
#define OBJECT_H
#include <iostream>
#include "core/EventHandler.h"
class Object : public EventHandler {
#define CLASS(m_class, m_parent) \
public: \
virtual std::string get_class(){ \
return #m_class; \
} \
virtual std::... |
34f5dcfb0bfa8248e78b86a3c1e4ec4ef528a85e | 9028d5e85e3321869e94c3accf24bf67e0e07ee0 | /Prata-Capture_1-14/Capture 10/Task 2/Task 2.cpp | 916a17f2cc8d90414955bc2007b36f86919ea416 | [] | no_license | pukala2/old_stuff | 525dc8b3601df9141cbcfe215c2e9971e6fef3ed | 2e45b8465b900b00c3781e716686c5df665f06d2 | refs/heads/master | 2020-03-24T08:11:37.674093 | 2018-07-27T14:50:55 | 2018-07-27T14:50:55 | 142,587,686 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,060 | cpp | Task 2.cpp | // zad 2 rozdzial 10.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <iostream>
#include <string>
#include <cstring>
class Person {
private:
static const int LIMIT = 256;
std::string lname;//imie
char fname[LIMIT]; //nazwisko
public:
Person() { lname = "";... |
454449170cadc088b6a9e1b71bd15d883fe08511 | 74f8a44af74bd12951c5abc0fe4af82f5601aba1 | /others/11718/main.cpp | 0570243b73af0cdcdd5cc64037c33d10ea5a12cc | [] | no_license | skeleton625/BOJ | 104060269a4a6996536558e65921c5302d58daee | 936dbb405846de1b358aecfda1d0c0bb19b12d7b | refs/heads/master | 2023-01-09T16:46:12.112568 | 2023-01-08T12:05:00 | 2023-01-08T12:05:00 | 176,702,443 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 172 | cpp | main.cpp | #include <iostream>
#include <string>
using namespace std;
string i1;
int main() {
ios::sync_with_stdio(false);
while (getline(cin, i1)) cout << i1 << endl;
return 0;
} |
bf0d2bfb3a9259e6ae7b75bab8a0f8524651e384 | 2e6a65aa5065293e693eadd1f0e8918c0be69557 | /GUI_QT_Study/Thread_Practice/qdicethread.cpp | fb57c02a52b8421060ae742c9f4992f3af20c049 | [] | no_license | NLS-SP/SLAM_Basics | dece764f7a95862dab4747b0c6d2f3f89b1a959b | 23fb7417e75f955b640170a8cabeab4ed8d68b7a | refs/heads/master | 2022-11-17T00:34:37.168785 | 2021-03-21T13:55:08 | 2021-03-21T13:55:08 | 229,234,194 | 3 | 3 | null | 2022-11-04T07:42:26 | 2019-12-20T09:33:43 | C++ | UTF-8 | C++ | false | false | 588 | cpp | qdicethread.cpp | #include "qdicethread.h"
#include <Qtime>
QDiceThread::QDiceThread()
{
}
void QDiceThread::diceBegin(){
m_paused = false;
}
void QDiceThread::dicePause(){
m_paused = true;
}
void QDiceThread::stopThread(){
m_stop = true;
}
void QDiceThread::run(){
m_stop = false;
m_seq = 0;
qsrand(QTime::c... |
38ca7c9f068b71236f3787a555695a599b062d2c | ef444ab3913077e83753a9e44e08c3bf58af4810 | /DynamicRouterRIP(최종판)/stdafx.h | 43467da795e812adc5854913755afa5a876886b8 | [] | no_license | sungjoonhh/Network | b57ad13dbdf0d30c6ac554b6b408ff6828fad789 | 882774a7419e682e2336b55d461523ed7ab49474 | refs/heads/master | 2021-01-25T12:50:08.292928 | 2018-03-02T02:29:43 | 2018-03-02T02:29:43 | null | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 5,908 | h | stdafx.h |
// stdafx.h : 자주 사용하지만 자주 변경되지는 않는
// 표준 시스템 포함 파일 및 프로젝트 관련 포함 파일이
// 들어 있는 포함 파일입니다.
#pragma once
#ifndef _SECURE_ATL
#define _SECURE_ATL 1
#endif
#ifndef VC_EXTRALEAN
#define VC_EXTRALEAN // 거의 사용되지 않는 내용은 Windows 헤더에서 제외합니다.
#endif
#include "targetver.h"
#define _ATL_CSTRING_EXPLI... |
88135da31b389c437e79f4c9f3491f59e5d72d65 | 308f5596f1c7d382520cfce13ceaa5dff6f4f783 | /hphp/runtime/base/builtin-functions.cpp | 31386ee34e5d0a63535abf67d880f831726003cd | [
"PHP-3.01",
"Zend-2.0",
"MIT"
] | permissive | facebook/hhvm | 7e200a309a1cad5304621b0516f781c689d07a13 | d8203129dc7e7bf8639a2b99db596baad3d56b46 | refs/heads/master | 2023-09-04T04:44:12.892628 | 2023-09-04T00:43:05 | 2023-09-04T00:43:05 | 455,600 | 10,335 | 2,326 | NOASSERTION | 2023-09-14T21:24:04 | 2010-01-02T01:17:06 | C++ | UTF-8 | C++ | false | false | 43,452 | cpp | builtin-functions.cpp | /*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010-present Facebook, Inc. (http://www.facebook.com) |
+---------... |
9a591e6b895d14a53801d2059358b409d80db4d2 | 197c05e4546df7b95391105aef4a279f98a02932 | /cpp/hackerrank/src/jumping-on-the-clouds.cpp | 2cf4026759644f92b6a00a9401a196c42d7ccbac | [] | no_license | sergey-pashaev/practice | c269c0f6f7495701f175c566d0942ab5d52f661a | e92ef5c17f0e89c274f89b7ad8f1326e526ce91c | refs/heads/master | 2023-02-18T20:42:14.503574 | 2023-02-13T18:01:13 | 2023-02-13T18:01:13 | 167,481,051 | 7 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,980 | cpp | jumping-on-the-clouds.cpp | // jumping on the clouds
// Emma is playing a new mobile game that starts with consecutively
// numbered clouds. Some of the clouds are thunderheads and others are
// cumulus. She can jump on any cumulus cloud having a number that is
// equal to the number of the current cloud plus 1 or 2. She must avoid
// the thunde... |
96c67bb192caba94706c218f966c15a9fba97f17 | 552a0a2212ce235cb0fd97089557966657afcd9e | /Oving4/CardDeck.h | 2aca749309f0a8f510578ad9d2d611c3bad28dc7 | [] | no_license | thmmsn/TDT4102 | 4ba2fceef1fb24d6eaac74328645f943c749a706 | b0fedf496eff2abf69025e33d51dd790501e7eea | refs/heads/master | 2021-05-29T11:05:13.824226 | 2015-05-24T20:06:49 | 2015-05-24T20:06:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 496 | h | CardDeck.h | //
// CardDeck.h
// Oving4
//
// Created by fredrik on 12/02/15.
// Copyright (c) 2015 fredrik. All rights reserved.
//
#ifndef __Oving4__CardDeck__
#define __Oving4__CardDeck__
#include <stdio.h>
#include "card.h"
class CardDeck{
private:
Card cards[52];
int currentCardIndex;
void swap(int x, int y... |
45b70fc9d54ddad955a0c9a5119657463779c0f9 | c21d1235a65ad3dc39cd8efb112734da102ad773 | /RayTracer/Logger.h | 4b6010d1538939235443cd6b5eb32e378b970f9d | [] | no_license | parikshit6321/RayTracer | d48270d7f72c0681a02880e710a326e4049811e5 | af5e9bce8bf48079f96eeffd0949fc383f00c832 | refs/heads/master | 2021-01-10T05:25:01.355797 | 2016-03-19T16:00:46 | 2016-03-19T16:00:46 | 53,166,892 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 508 | h | Logger.h | #pragma once
#include <fstream>
#include "Timer.h"
class Logger
{
public:
Logger() {}
static void Initialize()
{
std::ofstream outFile;
outFile.open("log.log", std::ios::out | std::ios::trunc);
outFile.close();
}
static void Log(const char* message)
{
std::ofstream outFile;
outFile.open("log.log", ... |
188d5a3853967bd5bc8d3a27daed64cfe4ff21de | 4b811ff3fd7152cb652165eadb751c91e352e91c | /Source/Cells/ArmorType.h | eacf1f58b3525b97ee2a8741eeb28dc4604f66e7 | [] | no_license | SimonPiCarter/cells_ue | d093ade43a0b479424e72c20f5dced7a387c36f9 | 07a8d3b8e62747e256cd81101eef3856b72919cb | refs/heads/master | 2023-06-21T18:15:35.231686 | 2021-07-25T10:14:33 | 2021-07-25T10:14:33 | 378,737,342 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 771 | h | ArmorType.h | #pragma once
#include <iostream>
#include "ArmorType.generated.h"
UENUM(BlueprintType)
enum class ArmorType : uint8
{
Standard,
Resilient,
Heavy,
Light
};
inline std::ostream& operator<<(std::ostream& os_p, ArmorType type_p)
{
switch (type_p)
{
case ArmorType::Standard:
os_p << "Standard";
break;
case A... |
3fd4f4955639595cc07344cff15f47aab469647b | 52c0949315583ba8898694cceacfaafaeab6f902 | /test/include/test_util/sql_table_test_util.h | 3a6b115db4b53ac92a0705d23a4e7d206a3602d8 | [
"MIT"
] | permissive | cmu-db/noisepage | 97093adcc9474419e063fdd97a5aa7a7ea6f3150 | 79276e68fe83322f1249e8a8be96bd63c583ae56 | refs/heads/master | 2023-08-29T05:51:04.628704 | 2021-11-05T14:12:08 | 2021-11-05T14:12:08 | 140,325,970 | 1,245 | 287 | MIT | 2022-11-08T02:06:48 | 2018-07-09T18:22:34 | C++ | UTF-8 | C++ | false | false | 11,931 | h | sql_table_test_util.h | #pragma once
#include <algorithm>
#include <map>
#include <unordered_map>
#include <utility>
#include <vector>
#include "catalog/catalog.h"
#include "gtest/gtest.h"
#include "storage/garbage_collector.h"
#include "test_util/storage_test_util.h"
#include "test_util/test_harness.h"
#include "transaction/transaction_cont... |
a316010bc71ac176d0341b83f65a7ab11075375a | 86b1592303ea98c738d317cadcd1e5605931428b | /tf2/detours.cpp | 6ba9c05088307da032916d512983eb0e5708642c | [] | no_license | JeremyDF93/nyxtools | abdfa0f3d88e4ce5ab56b8bc6beab34db6aface2 | 306f8f0bc9cfecd8c1fbb43570a9b86535691fb5 | refs/heads/master | 2022-02-28T06:35:41.892042 | 2022-01-31T02:51:35 | 2022-01-31T02:51:35 | 229,148,116 | 5 | 1 | null | 2020-11-11T21:44:06 | 2019-12-19T22:23:25 | SourcePawn | UTF-8 | C++ | false | false | 3,195 | cpp | detours.cpp | #include "detours.h"
#include "tf2/tf2.h"
CDetour *Detour_EventKilled = nullptr;
CDetour *Detour_CycleMission = nullptr;
CDetour *Detour_GameModeUsesUpgrades = nullptr;
CDetour *Detour_ClientCommandKeyValues = nullptr;
IForward *g_pFwdEventKilled = nullptr;
class CTakeDamageInfo;
DETOUR_DECL_MEMBER1(EventKilled, vo... |
7a1bdc031ddde3ced651ec72ceb24da42f66b5af | 24ec559a976ba67e46daeaf576997c9603e814ae | /GRS_Pro/GRS_Core/source/GRS_SharedMemory.cpp | 7a2c9fca09902684456afaebf8296f812de54ac5 | [] | no_license | chxb1987/GSK_Robot_Sys | 6147f64e7905513de46ae5a5b15a33cc92aab7c2 | 6452ff993b9fac70f62bd5f3782990a714712d61 | refs/heads/master | 2020-04-14T22:11:13.675860 | 2018-06-22T05:17:55 | 2018-06-22T05:17:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,149 | cpp | GRS_SharedMemory.cpp | #define SHAREDMEMORY_GLOBALS
#include "GRS_SharedMemory.h"
#include <QtGlobal>
#ifdef Q_OS_LINUX
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/shm.h>
#elif defined(Q_OS_WIN)
#include <Windows.h>
#define pwstr_size 32
//存放文件映射对象的句柄,因为释放时需要用到,所以做成全局变量。
static HANDLE hFileMapping_InputData;
static HANDLE hF... |
6768aec58ebf30dc87ac57cacd737e80ede41774 | fd0588bba5f7922079b6b5c4d5e7d84eaf643dbe | /Project/JSONExercise/JSONExercise/JSONExercise/JSON.cpp | b3fc68fdd23d2473f3c776d8fa23cbf901f48d8b | [] | no_license | Bandyck/Serious2DProject | 154ecc2f9a9d3010dd0c0320c3296d135cc1912b | 6c7b83f7b2dc2bb8cafa00d764b45172d2f9bdd3 | refs/heads/master | 2022-12-04T07:27:48.877810 | 2020-08-31T08:26:22 | 2020-08-31T08:26:22 | 291,211,349 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 6,043 | cpp | JSON.cpp | #define _CRT_SECURE_NO_WARNINGS // fopen 보안 경고로 인한 컴파일 에러 방지
#include <stdio.h> // 파일 처리 함수가 선언된 헤더 파일
#include <stdlib.h> // malloc, free 함수가 선언된 헤더 파일
#include <stdbool.h> // bool, true, false가 정의된 헤더 파일
#include <string.h> // strchr, memset, memcpy 함수가 선언된 헤더 파일
#include <string>
#include <iostream>
u... |
a77f0d34ff2f32d6a604822ca070749057817f7e | b60514dc246386144edb585eb7d9c0c92bd548de | /Maths for Games/Week 1/Maths For Games/UnitTest/UnitTest/Matrix2.cpp | c37ab4c89fb1e4611ed332a6d0bf9660c07813f6 | [] | no_license | sammydeedge/AIE2018 | 9addce918bf010ae840cdf294ba4077ae5bdeff7 | b23ce54e4572df3c00ad8517498cd11c47a41df2 | refs/heads/master | 2020-03-31T19:41:40.338376 | 2018-10-22T23:17:39 | 2018-10-22T23:17:39 | 141,961,746 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,340 | cpp | Matrix2.cpp | #include "Matrix2.h"
Matrix2::Matrix2()
{
mm[0][0] = 1; //Each Matrix is 3 rows, 3 columns, first number is column, second is row
mm[0][1] = 0;
mm[1][0] = 0;
mm[1][1] = 1;
}
Matrix2::Matrix2(float Xx, float Xy,float Yx, float Yy)
{
mm[0][0] = Xx; //Each Matrix is 3 rows, 3 columns, first number is column, secon... |
97fc85d23aa3d98379a07dd44720b7af1c1676bb | 0930b1a1538f3fabd74c792983f71ba71a79decc | /SceneEnhancement/DecorationModel.cpp | ca439e367f8a79fa6b62839e10e00a81bf5c43ae | [] | no_license | zhsuiy/SmallObjectArrangementQtCpp | c097b9f47eed27ca3564bb1abfb8a4420670936e | d156127b61d1fbc374247fc8dbef981fdc3e3429 | refs/heads/master | 2021-05-08T20:06:55.912263 | 2018-04-11T19:05:17 | 2018-04-11T19:05:17 | 119,594,433 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,405 | cpp | DecorationModel.cpp | #include "DecorationModel.h"
#include "Utility.h"
#include "Assets.h"
#include "Parameter.h"
DecorationModel::DecorationModel(QString furnitureType, QString decType,
QVector<DecorationLocationType> locTypes, float scale, QVector3D relativeTranslate, QString path)
:Model()
{
Type = decType;
SupportModelType = furni... |
3d4570bd9eac136fb5dd40e0f3348fa34a36859b | 996d645e6df24cf3555d11b55fdbadb7dabf47da | /chart.h | f694bb8ee1c9e3eb7b3691d221debccb27ebcd4b | [] | no_license | cabalpit/lxcmanager | 09acd7f53d7a97bb34eb336b6c48750a1a438363 | 8d7ffe6f79900b763a60614948e89ba93e7155bc | refs/heads/master | 2023-09-05T16:04:32.993421 | 2021-11-26T00:32:16 | 2021-11-26T00:32:16 | 427,664,122 | 6 | 0 | null | 2021-11-26T00:37:45 | 2021-11-13T12:53:05 | C++ | UTF-8 | C++ | false | false | 1,081 | h | chart.h | #ifndef CHART_H
#define CHART_H
#include <QtCharts>
#include <QValueAxis>
#include <QSplineSeries>
#include <QVector>
#include <QDebug>
#include "businesslayer/monitorutils.h"
/*!
* \class Chart
* \brief The Chart class draw the spline series to chartview monitor.
* \vesion 1.0
* \since 2021-10-08
* \author Pet... |
fc68fc957d6988192bccc1111f72509ef75bbfc8 | 06567efe9fba2568cf6453c7afff2278ebd8f764 | /tests/test-nndt/test-nndt.cpp | 9572e78f95a221398846595611724353c92ea152 | [] | permissive | craigsapp/humlib | c2cf553cab58dd17a049d72f028197f4cddc5b12 | 9e633fb0ef8eeb4e713386afb57ecccdedc5cdbc | refs/heads/master | 2023-08-31T18:23:20.791857 | 2023-08-23T13:41:35 | 2023-08-23T13:41:35 | 40,472,572 | 28 | 9 | BSD-2-Clause | 2023-07-10T14:03:30 | 2015-08-10T08:50:40 | C++ | UTF-8 | C++ | false | false | 641 | cpp | test-nndt.cpp |
#include "humlib.h"
using namespace std;
using namespace hum;
void processFile(HumdrumFile& infile);
int main(int argc, char** argv) {
Options options;
options.process(argc, argv);
HumdrumFileStream instream(options);
HumdrumFile infile;
while (instream.read(infile)) {
processFile(infile);
}
return 0;
}
... |
1545396949acc512ffa3de99aab55786132a034d | 16f3ff84b858fcba990bfdd79dde1aed1cb23d79 | /stringTests.cpp | b2a6ba733fe07ad6217fe6e7216a65836b7683d6 | [] | no_license | yuuurchyk/Michael-Scott-Concurrent-Queue | 5aed6f2e0d155fa56186e70660385094cd18e1fd | 87ef6254a7855d98001c8a7ba82621c20380caf8 | refs/heads/master | 2022-02-12T08:08:35.728801 | 2019-08-27T10:41:27 | 2019-08-27T10:41:27 | 145,522,857 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,375 | cpp | stringTests.cpp | #include <string>
#include <set>
#include <thread>
#include <vector>
#include <functional>
#include <iostream>
#include <gtest/gtest.h>
#include "ConcurrentQueueBase/ConcurrentQueueBase.hpp"
#include "ConcurrentQueueSimple/ConcurrentQueueSimple.hpp"
#include "ConcurrentQueueExtended/ConcurrentQueueExtended.hpp"
temp... |
70abf0b3d3494ca97f9d1c12de7190d53e5764bd | 548f96ccdb907a60dd745a8ed28277e1fb9596d5 | /main.cpp | 65e91f8a08e7e2abf0f325152c3d08052ac808ef | [] | no_license | YassirBouigherdaine/Tic-tac-toe-cpp | d75151bf1fc5e8e148e687a157a6046dce1124f0 | 2369357de4690160c733362c6423c5d7c16ce10f | refs/heads/main | 2023-01-12T08:18:22.029899 | 2020-11-13T14:27:11 | 2020-11-13T14:27:11 | 312,404,421 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 175 | cpp | main.cpp | // tic tac toe game
#include"game_func.h"
int main()
{
bool game_over = false;
draw_board();
while (!game_over)
{
game();
game_over = true;
}
return 0;
}
|
686af2f21386a44f4289b6104d911499b68c9c19 | 3bb7b3d39125d0f72d72ecdafe5806c7a30db525 | /片野裕哉/3Dゲーム制作/3D_GAME/wall.cpp | 184f109eb9755a013e570c1bb9e746c37a8b74e3 | [] | no_license | fu-ta-15/3DtameB | 58f272ee39cfd84d7bc4a0ee4dda145b58b7f1e4 | 75dc2e390c0d31e1207336dff124bf04c3346f0d | refs/heads/master | 2023-04-08T19:04:17.376418 | 2021-04-02T02:21:16 | 2021-04-02T02:21:16 | 314,190,199 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 9,925 | cpp | wall.cpp | //=========================================================================================================================
//
// 壁(ウォール) [wall.cpp]
// Author:Katano Hiroya
//
//=========================================================================================================================
#include "wall.h"
/... |
33291a53cd4ffed8651ce2064f16750c38fffb60 | 4c1b73237eb1c9ea8dfca83ec1a0a1d3dd0fcb79 | /ArduinoLog.h | 6f05a50978dfd2527eff21d853f575d0b6cf61bb | [
"MIT"
] | permissive | georg-koch/Arduino-Log | ef6f9eeeb7ee810b4874ee849f635621cbba8b2d | 632ab6547531eb2ab0415e293b38a361e3bb021a | refs/heads/master | 2020-04-04T06:57:10.868101 | 2018-11-15T23:20:59 | 2018-11-15T23:20:59 | 155,763,211 | 0 | 1 | MIT | 2018-11-15T23:21:00 | 2018-11-01T19:10:00 | C++ | UTF-8 | C++ | false | false | 5,824 | h | ArduinoLog.h | /*
* MIT License <http://opensource.org/licenses/MIT>.
*/
#ifndef LOGGING_H
#define LOGGING_H
#include <inttypes.h>
#include <stdarg.h>
#if defined(ARDUINO) && ARDUINO >= 100
#include "Arduino.h"
#else
#include "WProgram.h"
#endif
typedef void (*printfunction)(Print *);
#define LOG_LEVEL_SILENT 0
#define LOG_LEVEL_... |
9b745d85fe8b9f79309211e62e76b12d09e3b7b8 | 539728625607833179a817f0f4f0cd7be977f3b5 | /Essence/Views.h | 7d64bf87df4420a509ff01379447cc3f3470cd2b | [] | no_license | goskatopudel/dx12sandbox | e4ce81476387b39ba4897038e7115589978ba28e | 31e80fb32515575d8db10ff36eaa1e728554706a | refs/heads/master | 2020-05-19T12:16:48.645061 | 2016-02-29T01:16:42 | 2016-02-29T01:16:42 | 42,481,791 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 931 | h | Views.h | #pragma once
#include "Collections.h"
namespace Essence {
template<typename T>
struct array_view {
T* elements;
u32 num;
array_view() = default;
array_view(T* ptr, u32 size) : elements(ptr), num(size) {};
T& operator [](i64 index) {
Check(index >= 0 && index < (i32)num);
return elements[index];
}
T ... |
299c7eae128c2850b6a9ba7d05e2a9342b7316d3 | a5a99f646e371b45974a6fb6ccc06b0a674818f2 | /CalibCalorimetry/EcalLaserAnalyzer/test/MusEcal/src/MEEEDisplay.cc | 1c39e0cfb5d6a9c25635c758649a9b868222f273 | [
"Apache-2.0"
] | permissive | cms-sw/cmssw | 4ecd2c1105d59c66d385551230542c6615b9ab58 | 19c178740257eb48367778593da55dcad08b7a4f | refs/heads/master | 2023-08-23T21:57:42.491143 | 2023-08-22T20:22:40 | 2023-08-22T20:22:40 | 10,969,551 | 1,006 | 3,696 | Apache-2.0 | 2023-09-14T19:14:28 | 2013-06-26T14:09:07 | C++ | UTF-8 | C++ | false | false | 127,318 | cc | MEEEDisplay.cc | #include <assert.h>
#include <iostream>
#include <stdlib.h>
#include <string>
using namespace std;
#include "MEEEDisplay.hh"
ClassImp(MEEEDisplay);
list< TObject* > MEEEDisplay::_list;
map<int,MEEEGeom::EtaPhiPoint> MEEEDisplay::_pointMap;
map< int, TPolyLine* > MEEEDisplay::_rzXtals;
int MEEEDisplay::bkgColor=38;
i... |
ec80825d7d1ebb8d40941bee90a64b4c08b8864e | 6f5962b952bd9c5ca6bbe5fb0704b0ae28c812ee | /cmon/src/cmon_climate_sampler.h | 08461e7dc7d4d290eba961428ebe749c12854d7a | [] | no_license | emwhbr/caramon | 75573ff67aa16c1af0868ca6073180f0f84bd1d9 | a2eb782fafc0ada3c1f33ae374d3e3cfa300e57c | refs/heads/master | 2021-01-10T12:35:42.944635 | 2017-03-05T12:29:15 | 2017-03-05T12:29:15 | 49,129,255 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,510 | h | cmon_climate_sampler.h | // ************************************************************************
// * *
// * Copyright (C) 2015 Bonden i Nol (hakanbrolin@hotmail.com) *
// * *
// * This progra... |
70cfd98a3732ef5a0d50fc952314bcd11c44f235 | 635c344550534c100e0a86ab318905734c95390d | /hal/src/main/native/athena/Accelerometer.cpp | b8cc832afe0c38d0c09dd7e3447ce13cb6fdaa2c | [
"BSD-3-Clause"
] | permissive | wpilibsuite/allwpilib | 2435cd2f5c16fb5431afe158a5b8fd84da62da24 | 8f3d6a1d4b1713693abc888ded06023cab3cab3a | refs/heads/main | 2023-08-23T21:04:26.896972 | 2023-08-23T17:47:32 | 2023-08-23T17:47:32 | 24,655,143 | 986 | 769 | NOASSERTION | 2023-09-14T03:51:22 | 2014-09-30T20:51:33 | C++ | UTF-8 | C++ | false | false | 6,367 | cpp | Accelerometer.cpp | // Copyright (c) FIRST and other WPILib contributors.
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#include "hal/Accelerometer.h"
#include <stdint.h>
#include <cassert>
#include <cstdio>
#include <memory>
#include "H... |
e0ea7a9e5147cbeba575ae8e9e42a251c25700d5 | bbf39c52eb74c195afd2185cfa14699ad5deb25c | /src/sim3.cpp | f7b9ba279099d2243cac712609ea4e04fa0377b2 | [
"BSD-2-Clause"
] | permissive | pangfumin/liegroups | ebd03b4e5663a3a330a13c7d6d4d28cc9a0989ec | 8a72700457e35d083f7de4f9ca9b51f7d23980c0 | refs/heads/master | 2021-01-20T17:49:56.625387 | 2017-05-10T17:40:21 | 2017-05-10T17:40:21 | 90,891,874 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,728 | cpp | sim3.cpp | #include <liegroups/sim3.hpp>
#include <liegroups/scalar.hpp>
#include <liegroups/matrix.hpp>
#include <liegroups/exp_coefs.hpp>
#include <liegroups/exp_helpers.hpp>
#include <cmath>
#include <iostream>
template <> const liegroups::Sim3<float>
liegroups::Sim3<float>::identity = { liegroups::SE3<float>::identity, 1.0f,... |
29610e19170e3cf9e2f3ff62c83c308d64f3a5d0 | 4e8ea46eb44e93069b53cdfc3c0ffc57a7e226a1 | /nonbPotDetector.cpp | 1c459d4de19ccd63bb2dbd25476a3eaa03c6b2f8 | [] | no_license | srcfind/srcfind | ebe5492e367792201f607e8f1e65f35d7922194b | 81945f63b3ce0f0b6fdad27fa0e2a0f79845a3e6 | refs/heads/master | 2020-08-06T22:29:54.982126 | 2019-10-06T14:49:37 | 2019-10-06T14:49:37 | 213,182,073 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,618 | cpp | nonbPotDetector.cpp | //
// Created by ttbond on 18-12-1.
//
#ifndef SRCFIND_NONBPOTDETECTOR_CPP
#define SRCFIND_NONBPOTDETECTOR_CPP
#include "nonbPotDetector.h"
nonbPotDetector::nonbPotDetector(char *bedFileName,char *agct){
bedF=new bedFile(bedFileName,agct);
maxSep=7;
}
nonbPotDetector::~nonbPotDetector(){
if(bedF!=NULL){
... |
f07529a14a12f7567e7041fb0899c1407290b37f | 188fb8ded33ad7a2f52f69975006bb38917437ef | /Fluid/processor2/0.62/U | 7890c8a22921143385e4bc2544d78e71b064452a | [] | no_license | abarcaortega/Tuto_2 | 34a4721f14725c20471ff2dc8d22b52638b8a2b3 | 4a84c22efbb9cd2eaeda92883343b6910e0941e2 | refs/heads/master | 2020-08-05T16:11:57.674940 | 2019-10-04T09:56:09 | 2019-10-04T09:56:09 | 212,573,883 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,035 | U | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
... | |
51de89b2241f4cc5058a3470829959adf0a3d18f | 1f05b964049c83113b2c7e78187dd23ea518a8dd | /FlagGG/Lua/ILua/StackSet.h | d3eacfe22fa4606baae54f3973cd7ba222c289b2 | [] | no_license | flagflag/FlagGG | 36bf363d141e7e110bc39b5632ce32951520fd7f | 9982129c525358e49eef16e2d10ebd64202b7672 | refs/heads/master | 2023-08-21T04:02:17.133863 | 2023-08-12T15:21:57 | 2023-08-12T15:21:57 | 149,803,838 | 7 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,183 | h | StackSet.h | #pragma once
#include "Container/Str.h"
#include <lua.hpp>
namespace FlagGG
{
template < class T, class Ignore = void >
struct Setter {};
template <>
struct Setter<bool>
{
static void Set(lua_State* L, bool value)
{
lua_pushboolean(L, value ? 1 : 0);
}
};
template < class T >
struct Setter<T, typename std::e... |
2d95ca1993bea86d7963f1f4a75f1db1d99dffdd | 8eb40f2ef0f4b50515a9bc8967c50f6049edbc14 | /omok/omok_dll/FunctionLibrary.cpp | 8d346b639baeb17d582c0a106e6c7057e164b81f | [] | no_license | 3355moijam/inha_programing | 96294a20b7658b484662c5db94ab1ecf66ea7448 | 8735e17cf2a60e4dd31b6ad3455344c205159786 | refs/heads/master | 2023-03-25T23:50:13.234996 | 2020-10-20T00:12:05 | 2020-10-20T00:12:05 | 134,127,980 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 361 | cpp | FunctionLibrary.cpp | #pragma once
#include "omok_framework.h"
#include "FunctionLibrary.h"
POINT& operator-=(POINT& left, const POINT& right)
{
left.x -= right.x;
left.y -= right.y;
return left;
}
POINT& operator-=(POINT& left, int num)
{
left.x -= num;
left.y -= num;
return left;
}
POINT& operator+=(POINT& left, int num)
{
left.... |
93be324d8e0c19dcefd04feaad275dd7e5968823 | 5f097697270c18323fa3385db6c793995d681552 | /Header Files/chessGame.h | 0c2007434805b6c70680e2001e71e51c7b9391ac | [] | no_license | YarinBazini/boardGames | 9c23f819b9d2fd084d45c0ed6e77e1c251af8acd | a8b89d9086639fabf6301c9afb2289de8cc85cd9 | refs/heads/master | 2023-08-25T00:32:45.102693 | 2021-11-03T19:34:55 | 2021-11-03T19:34:55 | 424,348,416 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,993 | h | chessGame.h | #pragma once
#include "game.h"
#include <iostream>
#include <fstream>
#include <vector>
using namespace std;
class ChessGameStone;
class ChessKingStone;
class ChessGame : public Game
{
public:
static const int chess_size = 8;
static const int chess_stones_number = 32;
/* ChessGame constructor */
... |
f50e31d3a9fa3e80cb74ec0c3660b8221d0c93b0 | 06ec039cb533ba9cf8759b99ea95536c23c52858 | /Core/Memory32.cpp | 1c1246c11c0059312e437747a1ef51ba74a1ba8e | [
"Zlib"
] | permissive | Psycho-micheal/ddmk | ab9c5638adc5459500e856845fd2fadc2c5a0519 | f05e7c8ee2d4c562654ebc711ba99a11dd9f97a2 | refs/heads/master | 2020-07-03T02:04:35.353018 | 2020-04-18T03:37:22 | 2020-04-18T03:37:22 | 201,751,794 | 0 | 0 | null | 2019-08-11T10:44:19 | 2019-08-11T10:44:18 | null | UTF-8 | C++ | false | false | 2,737 | cpp | Memory32.cpp | #include "Memory32.h"
uint32 appProcessId = 0;
BYTE * appBaseAddr = 0;
HANDLE appProcess = 0;
HWND mainWindow = 0;
BYTE * mainChunk = 0;
uint32 mainChunkPos = 0;
SYSTEM_INFO si = {};
uint32 appSize = 0;
void WriteAddress(BYTE * addr, BYTE * d... |
d8bb20fa4c9ffb635b06c42192b8c3e8eb9bcbaf | 30bdd8ab897e056f0fb2f9937dcf2f608c1fd06a | /Graphs/1195.cpp | 06e59df1d6e6538390bdc05c6744f07693f07a75 | [] | no_license | thegamer1907/Code_Analysis | 0a2bb97a9fb5faf01d983c223d9715eb419b7519 | 48079e399321b585efc8a2c6a84c25e2e7a22a61 | refs/heads/master | 2020-05-27T01:20:55.921937 | 2019-11-20T11:15:11 | 2019-11-20T11:15:11 | 188,403,594 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 369 | cpp | 1195.cpp | #include<iostream>
using namespace::std;
int main(){
int n,t;
cin>>n>>t;
t--;
int ar[n];
for(int i=0;i<n-1;i++){
cin>>ar[i];
}
int i=0;
while(i<n&&i<=t){
if(i==t){
cout<<"YES"<<'\n';
return 0;
}
... |
0f9d89b80fd51979eb5eef175716543c6a888d2c | 89a1470c32b102272983eb8f69ad0bd23940a852 | /src/ManagedAlloc.cpp | 01f3d062e4468fefbea151f20c2c02561776d53f | [
"Apache-2.0"
] | permissive | ASkyeye/ExeLoader | 62bb21567a89b87efd5d10f8cbf582988247e284 | 87cf373643f9fd734a7b4a72957dd7aed114a220 | refs/heads/master | 2022-04-09T12:02:37.862889 | 2020-03-20T19:07:28 | 2020-03-20T19:08:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,093 | cpp | ManagedAlloc.cpp | // SPinti Software
// 20 Mars 2020
#include <stdlib.h>
#include <stdio.h>
#include "ManagedAlloc.h"
#include "..\..\..\OS2.1\CPinti\include\leakchk.h"
void ManagedAlloc::ManagedAlloc_(int alloc_max, const char* name)
{
// Creer une instance unique pour chaque process
this->managed_alloc_max = alloc_max;
this->na... |
6f93ab8a3d4bb629f989c6a95507a7c7c14ea245 | 186ab878c03f6f2ba352216ff8abb408613421a2 | /构造函数.cpp | ca2c179a884b285b9adef8bd058cf73d8406a8f4 | [] | no_license | 123Expecting/Cplusplus-repo | d43394f6b706a614e7cbc5402013bf8d64173daa | 6b60ed59e90f302c6f34a33b5bb7d188418dff2e | refs/heads/master | 2021-05-27T17:38:36.573748 | 2014-01-31T11:19:20 | 2014-01-31T11:19:20 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,153 | cpp | 构造函数.cpp | /*--------------Program Description-----------
程序名称:构造函数.cpp
程序目的:调用类成员以及构造函数
Written By Dong-Hong yan(WANT Studio)
=================================================*/
#include<iostream>
using namespace std;
//Clock的定义
class Clock {
//外部接口
public:
//构造函数里的参数是“私有数据”,不是函数参数,
//如果没有构造函数,编译通不过,嘻嘻
Clock (int newH,i... |
78fa3c9189fc7b57ce8e80bc0d818c81e5023d76 | 24cbace834b4b40eeaed79fe22240d6fda215aca | /systems/SFMLDisplaySystem.cpp | 109b4c9502e05a9dff1e13b3b495cc59c6c5ab11 | [
"WTFPL"
] | permissive | deb0ch/R-Type | 89ff6707e34618bc9da9e726f376d56b409b043e | 8bb37cd5ec318efb97119afb87d4996f6bb7644e | refs/heads/master | 2021-01-10T11:54:59.140931 | 2019-01-31T12:44:36 | 2019-01-31T12:44:36 | 53,809,601 | 6 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 905 | cpp | SFMLDisplaySystem.cpp | #include "SFMLDisplaySystem.hh"
SFMLDisplaySystem::SFMLDisplaySystem()
: ASystem("SFMLDisplaySystem")
{}
SFMLDisplaySystem::~SFMLDisplaySystem()
{}
//----- ----- Methods ----- ----- //
bool SFMLDisplaySystem::canProcess(Entity *) const
{
return (false);
}
void SFMLDisplaySystem::processEntity(Entity *, const ... |
c77b50577e2595a449483eeac9c17cc09bf1408f | f89c4a2f1cdbfb8f85c25798ab22beb2442c44db | /d03/ex01/main.cpp | 71e538344dc82c917bd1dd57c3f34734bdd0c329 | [] | no_license | InBergman/Piscine_CPP_42 | dbade793beeb5f6d1136956ff620f1c8bdbeaab9 | 672c8846c88ea571c8870e0458597308c016cf60 | refs/heads/master | 2020-03-08T05:23:14.524009 | 2019-08-07T15:26:06 | 2019-08-07T15:26:06 | 127,946,819 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 84 | cpp | main.cpp | #include "FragTrap.hpp"
#include "ScavTrap.hpp"
int main(void) {
return(0);
}
|
da6cbb6ff647d953e4e16ac84611af1d1a079094 | ac176f429c420a8d6290c57df14346d207cff3de | /leetcodecpp/leetcode/crackcodeinterview/ZeroFiveZeroThree.cpp | 09392b40e56aba3d38e4ec69b3bdabd52815f4d9 | [] | no_license | xu20160924/leetcode | 72c6fc02428e568148af4503c63c6f2553982a1c | 43e12a3db5b4087913ec338e652ae7fd59859c23 | refs/heads/master | 2023-08-04T14:41:06.964273 | 2022-11-20T13:39:28 | 2022-11-20T13:39:28 | 252,931,114 | 0 | 0 | null | 2023-07-23T10:52:04 | 2020-04-04T06:57:49 | Java | UTF-8 | C++ | false | false | 817 | cpp | ZeroFiveZeroThree.cpp | //
// Created by John on 2020/3/25.
//
#include <bitstring.h>
#include "iostream"
using namespace std;
class Solution{
public:
int reverseBits(int num) {
int max = 0;
int cnt = 0, cntPre = 0;
while (num) {
// cout << bit_set(num) << endl;
cout << bitset<32>(num) << ... |
7a103037207d634eedf84291ae8ca865488dffd8 | e018d8a71360d3a05cba3742b0f21ada405de898 | /Client/MAttackZoneRectEffectGenerator.cpp | ee59a9e4586f88f9ae40b5675987b90a2f53f676 | [] | no_license | opendarkeden/client | 33f2c7e74628a793087a08307e50161ade6f4a51 | 321b680fad81d52baf65ea7eb3beeb91176c15f4 | refs/heads/master | 2022-11-28T08:41:15.782324 | 2022-11-26T13:21:22 | 2022-11-26T13:21:22 | 42,562,963 | 24 | 18 | null | 2022-11-26T13:21:23 | 2015-09-16T03:43:01 | C++ | UHC | C++ | false | false | 2,813 | cpp | MAttackZoneRectEffectGenerator.cpp | //----------------------------------------------------------------------
// MAttackZoneRectEffectGenerator.cpp
//----------------------------------------------------------------------
// 가운데서부터 8방향으로 이동하게 만든다.
//----------------------------------------------------------------------
#include "Client_PCH.h"
#includ... |
2356a5561c376cfeda8ed89a8e8ab88c7f041439 | d9bb656bd11f85e6419ebd786aec6fe3f917cb73 | /modules/variants/phase.cpp | 321bc10d8f1c66e0f66197ab6715b450229d45c1 | [
"BSD-2-Clause"
] | permissive | spiralgenetics/biograph | 55a91703a70429568107209ce20e71f6b96577df | 5f40198e95b0626ae143e021ec97884de634e61d | refs/heads/main | 2023-08-30T18:04:55.636103 | 2021-10-31T00:50:48 | 2021-10-31T00:51:08 | 386,059,959 | 21 | 10 | NOASSERTION | 2021-07-22T23:28:45 | 2021-07-14T19:52:15 | HTML | UTF-8 | C++ | false | false | 21,703 | cpp | phase.cpp | #include "modules/variants/phase.h"
#include "modules/io/ref_count.h"
#include "modules/io/stats.h"
namespace variants {
namespace {
constexpr bool k_dbg = false;
constexpr bool k_show_stats = false;
constexpr int k_show_stats_interval = 30;
static time_t g_next_show_stats = 0;
static time_t g_next_split_show_stats... |
d342c9f553ca22926f19c532814fb2738d83609c | ec97a0b1f6da878fb2bef54c9b8c70306e37b74c | /Project5/Class.cpp | fcff67e26804196be405b098df07673f228161e9 | [] | no_license | mahm99/Cpp | 693f4b19675c350e3defed3e16e49882ffc70714 | d103a9ec23b0819b13a70cd29eb47ff9e647f0db | refs/heads/master | 2022-04-06T02:14:08.021768 | 2020-03-02T16:14:41 | 2020-03-02T16:14:41 | 232,875,145 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,444 | cpp | Class.cpp | /********************************************************************
* File: Class.cpp
* Author: Mahmood Ul Mohasin Aziz
* Description:
* This file contains the program code for the Class class. This class
* controls everything related to the class vector. It adds students
* to the roster and waitlist base... |
c5831d20378d74a845e9d75f22d2ab9b294fa403 | 74d94cb03b7f8a803363df30019bc4bf51557e46 | /FT_App_Metaball_Arduino/App_Metaballs/cf_ctouch.cpp | 94ccfc55dbc84a55170b8ab9267b3152f2378100 | [] | no_license | crystalfontz/CFA-FTDI-EVE2-ESP32-Examples | 0954cd12639e0773b7be091bee563aaad2fdc290 | 84bac3bda6a8ea0df0996746401eedc8a7edb16b | refs/heads/master | 2020-06-05T09:34:31.917061 | 2020-01-01T17:35:45 | 2020-01-01T17:35:45 | 192,394,189 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,633 | cpp | cf_ctouch.cpp | //============================================================================
//
// Add-on FT9xx library for original FTDI/BridgeTek EVE Arduino examples
//
// This source-code and minor modifications to the original FTDI examples
// is meant for use with the Crystalfontz CFA10100 based LCD modules which
// use... |
2a16dd8106f3e92cc3142de9e6910edf91c96feb | bc2820d426df282aa6f58362e4ec9a36c107b65b | /Luogu/P4777/4777.cpp | f284ddc2da4f9230f05c38effd81549bec4bc3e4 | [] | no_license | LuoshuiTianyi/Code | 22b2357aabe7ae203e63a3d371055c9654623d5f | 6df97d5b5a2be626f4c3456a40206e781fa545e2 | refs/heads/master | 2020-07-22T16:56:39.451380 | 2020-06-19T02:20:01 | 2020-06-19T02:20:01 | 207,263,820 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,412 | cpp | 4777.cpp | #include <algorithm>
#include <cstdio>
#include <iostream>
using namespace std;
#define LL long long
#define go(G, x, i, v) \
for (int i = G.hd[x], v = G.to[i]; i; v = G.to[i = G.nx[i]])
#define inline __inline__ __attribute__((always_inline))
inline LL read() {
LL x = 0, w = 1;
char ch = getchar();
while (!isd... |
721897cdc1c905030a390df2c0ff0865496e53f5 | e12b5e5ed708714040e484001519b4aaedae1c9f | /Codes/ActorsSpawns.cpp | de0b6b9ea57f5b7713dd7fe4f399d09d3d5b2b39 | [] | no_license | yahxemo/UE4 | 7a4e24fc5fa1588a06a302a054ba957dcf6727a6 | ed9fe88e51dace93d24e4d6ff6e1e2803f4e3c5b | refs/heads/master | 2022-12-09T04:27:48.007021 | 2020-09-17T08:36:37 | 2020-09-17T08:36:37 | 296,214,751 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 53 | cpp | ActorsSpawns.cpp | //#include "pch.h"
#include "ActorsSpawns.h"
|
4ff5107fced053b4b50c50fba2c7c413ea83c51a | 98edcfa08de8963387fa87f5ffb940460fd7b996 | /ScreenRecorderLib/internal_recorder.cpp | 51ebf8267420dde13af467d6aa035a68ed322b3c | [
"MIT"
] | permissive | wuharvey/windows-recorder | d2047376b6ba3c4ca6dbb38fbe032e2ffa3bbe35 | 2fe6339090e3e1f78c34fa653e14053d54b98e4b | refs/heads/master | 2023-02-02T03:01:43.800975 | 2020-12-11T17:04:45 | 2020-12-11T17:04:45 | 305,498,538 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 54,888 | cpp | internal_recorder.cpp | #include <ppltasks.h>
#include <ctime> // localtime
#include <sstream> // stringstream
#include <iomanip> // put_time
#include <string>
#include <comdef.h>
#include <Mferror.h>
#include <wrl.h>
#include <ScreenGrab.h>
#include <concrt.h>
#include <mfidl.h>
#include <VersionHelpers.h>
#include <Wmcodecdsp.h>
#include... |
ca24cd8ab675a9a4e18a726e7a16965c3baeed8e | b5e388f02d79ca7e82c2295f06948abb5788db75 | /Solved/Sources/1967/Source.cpp | 5df0688d865a5412a09622aaf1c232b8f29a5f61 | [
"MIT"
] | permissive | Sylvia3259/baekjoon-online-judge | 1330c02c110e48a31d0806763026d6fe56f393d7 | 08539af22a252352daaa06464df22678d1310a6f | refs/heads/master | 2023-07-04T15:43:25.886394 | 2021-08-07T13:11:18 | 2021-08-07T13:11:18 | 389,019,488 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 838 | cpp | Source.cpp | #include <iostream>
#include <algorithm>
#include <vector>
using namespace std;
vector<pair<int, int>> adj[100001];
bool checked[2][100001];
int max_distance[2], max_node[2];
void dfs(int node, int sum, int index) {
if (checked[index][node])
return;
checked[index][node] = true;
if (sum > max_distance[index]) {... |
cbe302a30c6c0b8ba27bfb57a037f0568c3e37f6 | 0b2b45d6f98f51f5e098e464cd2005363d39a419 | /hdoj/2112_HDU_Today_scanf.cpp | 56227a91c74e662e96d146583891eabb026324e2 | [] | no_license | helloliuc/ACM | 6a83e1ad578e6238c7c13246abf899bf791d3dc6 | 5807bc24541b10b9ca97ae4f14707ff1559071f5 | refs/heads/master | 2021-01-23T20:45:44.829304 | 2013-09-29T16:02:11 | 2013-09-29T16:02:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,025 | cpp | 2112_HDU_Today_scanf.cpp | //9226199 2013-09-25 16:49:09 Accepted 2112 1953MS 644K 2049 B C++ nkhelloworld
//9228102 2013-09-25 21:23:49 Accepted 2112 1984MS 648K 2996 B C++ nkhelloworld --priority
//9230062 2013-09-26 10:33:50 Accepted 2112 1625MS 728K 3715 B G++ nkhelloworld 用cin,cout,开启sync_with_studio(f... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.