blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d82014514ffb429289c0b6a2b66f18b394890a82 | f7e791ef542a1160fd0b861cf3d74c4cf940f0c9 | /Interview Bit/Backtracking/NQueens.cpp | ae2b743d7894d996963c8943d800eeb8bd3d404d | [] | no_license | simran1802/Coding-Practice | ac603959faa9a829e8ddd82222fc625053e5d3e7 | 0cce354e17df33f16ea0ea56ac867cf1c407b6a6 | refs/heads/master | 2023-08-21T02:59:42.542532 | 2021-08-21T15:52:02 | 2021-08-21T15:52:02 | 283,726,764 | 0 | 2 | null | 2021-11-01T14:14:20 | 2020-07-30T09:23:10 | C++ | UTF-8 | C++ | false | false | 1,160 | cpp | bool check(vector<string> &path,int n,int row, int col){
for(int i=0;i<=col;i++){
if(path[row][i]=='Q'){
return false;
}
}
for(int i=row,j=col;i>=0 && j>=0;i--,j--){
if(path[i][j]=='Q'){
return false;
}
}
for(int i=row,j=col;i<n && j>=0;i++,j--... | [
"noreply@github.com"
] | noreply@github.com |
c8cf64fb786245e246e607491bb4770b039ecb31 | 3670f46666214ef5e1ce6765e47b24758f3614a9 | /oneflow/core/framework/user_op_registry_manager.cpp | 7351350ad289c2f4c3ee6d46e32af6536e5e5a7d | [
"Apache-2.0"
] | permissive | ashing-zhang/oneflow | 0b8bb478ccd6cabea2dca0864defddab231919bf | 70db228a4d361c916f8f8d85e908795b479e5d20 | refs/heads/master | 2022-12-14T21:13:46.752535 | 2020-09-07T03:08:52 | 2020-09-07T03:08:52 | 293,535,931 | 1 | 0 | Apache-2.0 | 2020-09-07T13:28:25 | 2020-09-07T13:28:24 | null | UTF-8 | C++ | false | false | 4,960 | cpp | /*
Copyright 2020 The OneFlow Authors. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | [
"noreply@github.com"
] | noreply@github.com |
c12368adea6b8307652a91cba8d92e8ec92573ab | 579faf11eaf5aeda4a3b487f47e6a0d1afd58d8b | /ScrabbleJunior/Pool.h | d64fe02db8ec4000a04fb0b2c6ae2aa398b435aa | [] | no_license | OndrejPontes/scrabble_junior_game | 53ed3fcf25d108739753ac9d3e73a361f32bab51 | 2881284f68afdf9ff3f8b0345ed8427a0535c1a8 | refs/heads/master | 2022-07-04T23:48:53.788830 | 2020-05-18T10:10:20 | 2020-05-18T10:10:20 | 257,720,640 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 371 | h | #ifndef SCRABBLE_JUNIOR_GAME_POOL_H
#define SCRABBLE_JUNIOR_GAME_POOL_H
#include <utility>
#include <vector>
class Pool {
private:
std::vector<char> letters;
public:
Pool() {};
Pool(std::vector<char> letters) : letters(std::move(letters)) {}
char popLetter();
int size();
void addLetter(cha... | [
"up201911215@fe.up.pt"
] | up201911215@fe.up.pt |
ac6fd4eda1d3a6679bc70a27afbe0f45f7e320f3 | 97baa78c6b9dfac2aafe13c6b4860cce4e83bf03 | /common/packets/Input.hpp | 96df2e4628649d94fece547915af10486c3c37f6 | [
"MIT"
] | permissive | SuperWangKai/kengine | 915c03518822bcc6fd29f2db51a8d80672062c10 | 99c88d38de77c6605bf01c00f8b5b463f6e9a867 | refs/heads/master | 2020-04-29T14:30:30.710132 | 2019-03-12T12:42:22 | 2019-03-12T12:42:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 814 | hpp | #pragma once
#include <functional>
#include <SFML/Window/Keyboard.hpp>
#include <SFML/Window/Mouse.hpp>
#include "Point.hpp"
namespace putils { class BaseModule; }
namespace kengine {
namespace packets {
namespace KeyStatus {
struct Query {
sf::Keyboard::Key key;
... | [
"nicolas@phister.fr"
] | nicolas@phister.fr |
e1e2e378c21ad91164d02249b7fb86e0a7e4e74a | 1e1fc12fe3170bfe402ed4f49d9e1ad574fc8619 | /ZombieGame/Agent.cpp | 647250d5972014c2dbf470f0d4491a7b69457e69 | [] | no_license | nnthienbao/AdvancedOpenGL | c2764ccfaad902be80f1588eee3d29739a95212d | 442168167dbd0bae36d80fbd5627c94f2ced829d | refs/heads/master | 2021-01-13T12:37:25.547902 | 2017-01-14T04:59:49 | 2017-01-14T04:59:49 | 72,551,254 | 0 | 1 | null | 2016-11-01T16:01:13 | 2016-11-01T15:47:47 | C | UTF-8 | C++ | false | false | 3,250 | cpp | #include "Agent.h"
#include <MyEngine/ResourceManager.h>
#include "Level.h"
#include <algorithm>
CAgent::CAgent()
{
}
CAgent::~CAgent()
{
}
bool CAgent::CollideWithLevel(const std::vector<std::string> &levelData)
{
std::vector<glm::vec2> collideTilePosition;
CheckTilePosition(levelData,
collideTilePosit... | [
"nnthienbao040@gmail.com"
] | nnthienbao040@gmail.com |
b1a595d81657a1aaedd7b741f4c6cf059e47ac77 | 877fff5bb313ccd23d1d01bf23b1e1f2b13bb85a | /app/src/main/cpp/dir7941/dir22441/dir26975/dir27120/dir27263/file27265.cpp | 61c53fcaf32380de2f1de858a0646ed618048220 | [] | 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 file27265
#error "macro file27265 must be defined"
#endif
static const char* file27265String = "file27265"; | [
"tgeng@google.com"
] | tgeng@google.com |
0ca764cdd0970b456dd4db0b4e74250641425f9e | ed458163d1385ee9c95a38671754c8ccd2bacf89 | /D3D9CallbackSC2/ext/Engine/Simple Mesh/BaseMesh.h | 43f34655d826cda776db3c46b715daa7a565887d | [
"MIT"
] | permissive | Sebanisu/tonberry | 4be859eddde8ceac321dbfc9b5ca5a4a35b6128f | 23457b695b253bb9aee7c8d2b67a808b9ce90f95 | refs/heads/master | 2020-05-20T07:46:21.594906 | 2019-07-15T03:13:21 | 2019-07-15T03:13:21 | 185,459,270 | 2 | 0 | null | 2019-05-07T18:43:25 | 2019-05-07T18:43:25 | null | UTF-8 | C++ | false | false | 11,774 | h | /*
BaseMesh.h
Written by Matthew Fisher
BaseMesh is an abstract mesh class that defines basic mesh functionality. It also includes source for most
of the manipulation (shape generation, file loading, etc.) that is possible under this generic structure.
Each mesh must be associated with a graphics device before most o... | [
"jonny.jt@gmail.com"
] | jonny.jt@gmail.com |
e06308c241130a834ae6f2a506156f35d204196e | 72cf0b30aed11c6470cb05589598e1dfcea5c47b | /QT_demo_1/build-QT_demo_1-Desktop_Qt_5_6_2_MinGW_32bit-Profile/release/moc_mainwindow.cpp | 47a593257dd3a357241e47aeaed930663e898c6e | [] | no_license | GeHaha/QT | 8527ee97e53bd6a27c0818c06169cd5d620c8475 | 07b4a766071216b9fa7195dea3fd9addb2be61ab | refs/heads/master | 2020-03-19T06:29:02.730666 | 2018-07-02T06:40:32 | 2018-07-02T06:40:32 | 136,024,644 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,367 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'mainwindow.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.6.2)
**
** WARNING! All changes made in this file will be lost!
**********************************************************... | [
"2844785299@qq.com"
] | 2844785299@qq.com |
f71e0e19bfc087c8426491798e98220a76a83284 | a542a70682c3e13080b98690d59fea77ae5f5e2c | /pixel.h | 4f92cbfef1cf64fe4efa88a33b497dc752650bbf | [] | no_license | rafaelcalves/mandelbrot_fractal | d7d267fe8bd3be56ec37ffb7b28ccc5359c957bf | 8ded6575c1afe53694041f8698a4ec59e8a3bf4f | refs/heads/main | 2023-06-14T05:28:30.023614 | 2021-06-18T22:30:32 | 2021-06-18T22:30:32 | 371,837,370 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 282 | h | #ifndef MANDELBROT_FRACTAL_PIXEL_H
#define MANDELBROT_FRACTAL_PIXEL_H
#include "dot.h"
class Pixel: public Dot {
public:
unsigned long color;
Pixel(int x, int y, unsigned long color) : Dot(x, y) {
this->color = color;
}
};
#endif //MANDELBROT_FRACTAL_PIXEL_H
| [
"rafael.correa@sap.com"
] | rafael.correa@sap.com |
8d745bda94aeb2f55d07f9b8ba33c9d9570f0939 | 36a9ddef7512b6ef0cba7f27ee546dd78bbc0057 | /personaje.cpp | bd09a370f76d4b6144f311482be84660f07284e4 | [] | no_license | lfaguilera/TrabajoPractico2 | ed0116a3faea3b80a23c6e9e3e068fe0e0a5afbe | 7f6c5b5719e92a4132bb79d6c2ba9c84e93cfc54 | refs/heads/main | 2023-01-31T05:11:08.204404 | 2020-12-15T20:35:53 | 2020-12-15T20:35:53 | 319,995,470 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 610 | cpp | //
// Created by Usuario on 14/12/2020.
//
#include "personaje.h"
Personaje::Personaje() {
nombre = "";
escudo = 0;
vidas = 0;
energia = 0;
alimento = "";
}
void Personaje::alimentarse() {
}
string Personaje::cadenaNombre() {
return nombre;
}
void Personaje::nombrar(string nombreNuevo) {
... | [
"67346702+lfaguilera@users.noreply.github.com"
] | 67346702+lfaguilera@users.noreply.github.com |
d9c999bece5078be199b55ea59496aa521df638e | d43e1ec775f194c2dd6d45007c50ed999571bd5d | /Contests/Seletivas/UFMG 2016/A/a.cpp | b06ee880377f3767f8cb4d716514fe5838220cdc | [] | no_license | marcoskwkm/code | 842fd498ec625b25f361b435f0bca843b8d81967 | 636866a7ee28f9f24da62c5dcf93dc1bce7a496e | refs/heads/master | 2022-10-28T16:40:50.710771 | 2022-09-24T20:10:59 | 2022-09-24T20:10:59 | 57,255,944 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,788 | cpp | #include <bits/stdc++.h>
using namespace std;
#define debug(args...) fprintf(stderr,args)
typedef long long lint;
typedef pair<int, int> pii;
typedef pair<lint, lint> pll;
const int INF = 0x3f3f3f3f;
const lint LINF = 0x3f3f3f3f3f3f3f3fll;
const int MAXN = 110;
template<class T> class Fraction {
static T gcd(T ... | [
"marcoskwkm@gmail.com"
] | marcoskwkm@gmail.com |
ab4201f8e6f23af82b5bf998ca6a9086f006063a | 3cb44b06de347e528cb42815185c314bac1dcce9 | /garbage/stm32Library/src/stm32_rcc.cpp | ad4433e6bcef023199e4efa125172e11013b48c0 | [] | no_license | akamav/akaAP_flight | 0528f5a884ed224d169975289408f6af1a8bbbaa | 926d522c3748e43bb5354377047ae3a0b143878b | refs/heads/master | 2021-05-28T09:31:52.915688 | 2012-01-16T22:42:31 | 2012-01-16T22:42:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,306 | cpp | /*************************************
* stm32_rcc.c
* author: jan
* last modifications:
*
* description: service functions for clock configuration
**************************************/
/*Includes*********************************/
#include "../inc/stm32_rcc.h"
/*Definitions******************************/
... | [
"j.bolting@gmx.de"
] | j.bolting@gmx.de |
e1bc17cb8a2987ad8abfc15f2eb3ada95f5f2b21 | 557ce685f6dd1a885b8febdddc2aaa8a22ded769 | /Servoserial01/Servoserial01.ino | dcbd655621a46bae9134c5100a30c8334c22341b | [] | no_license | rodolfoticcosme/Curso-Arduino-Proyectos | 8053e4343ca44ab9f2ed9242bcaa45c500c42bc1 | 9bfa3d4ae843b77b49e48e43787419754ec4356a | refs/heads/master | 2020-06-13T13:00:01.706472 | 2019-07-05T13:08:58 | 2019-07-05T13:08:58 | 194,663,132 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 815 | ino | #include <Servo.h>
int posicion = 0;
Servo myservo; // create servo object to control a servo
// twelve servo objects can be created on most boards
int pos = 0; // variable to store the servo position
void setup() {
Serial.begin(9600);
myservo.attach(9); // attaches the servo on pin 9 to the servo object
... | [
"rodolfoticcosme@gmail.com"
] | rodolfoticcosme@gmail.com |
c1264b1873c418f8fc5401949af6d7f604eaa5da | 0f76bae98b6ee354165980f7304bba738de54e55 | /include/CobraNickel/ConsoleOutputSource.h | f50b81b35b2b01bcdabe4cb91e74234e81b57535 | [
"MIT"
] | permissive | ItsSeaJay/cobra-nickel | 380cd663ada75a59f75bba6b7f78ceb9c3b72d82 | ddc8fd4006eeb013d5f5918df23330617d891eea | refs/heads/master | 2020-05-04T18:10:46.364906 | 2019-04-28T11:03:50 | 2019-04-28T11:03:50 | 179,343,039 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 379 | h | #pragma once
#include <iostream>
#include <string>
#include <sstream>
#include "CobraNickel/OutputSource.h"
#include "CobraNickel/Logger.h"
#include "CobraNickel/Level.h"
namespace CobraNickel
{
class ConsoleOutputSource final : public OutputSource
{
public:
void log(Level level, const std::string& message) ove... | [
"callum@ischus.co.uk"
] | callum@ischus.co.uk |
6722b80f4b78a4e3a220c4110b10d798f0586042 | 52ca17dca8c628bbabb0f04504332c8fdac8e7ea | /boost/preprocessor/iteration/detail/bounds/lower5.hpp | c3d2f11220c0cdef818ecc2944e34fcc4f1460a7 | [] | no_license | qinzuoyan/thirdparty | f610d43fe57133c832579e65ca46e71f1454f5c4 | bba9e68347ad0dbffb6fa350948672babc0fcb50 | refs/heads/master | 2021-01-16T17:47:57.121882 | 2015-04-21T06:59:19 | 2015-04-21T06:59:19 | 33,612,579 | 0 | 0 | null | 2015-04-08T14:39:51 | 2015-04-08T14:39:51 | null | UTF-8 | C++ | false | false | 89 | hpp | #include "thirdparty/boost_1_58_0/boost/preprocessor/iteration/detail/bounds/lower5.hpp"
| [
"qinzuoyan@xiaomi.com"
] | qinzuoyan@xiaomi.com |
9686486e8f570b43e18df7c93d2235337215e10f | f938511a00547bac5487504628ee050f45b3fbdd | /剑指Offer/30.包含min函数的栈.cpp | 0d935a9cbeedc274a7ad7de1515eb117b8a3e237 | [] | no_license | kangli-bionic/cpp_code | 509ea9a9378fac1de74d8cd6a970da919c07e922 | 0f810685989b3f96eacde3dfa248dc4a68e739fe | refs/heads/master | 2022-11-13T20:05:46.656833 | 2020-07-08T22:50:40 | 2020-07-08T22:50:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 676 | cpp | //思路:利用辅助栈保存最小值
class MinStack {
public:
stack<int> s1;
stack<int> s2;
/** initialize your data structure here. */
MinStack() {
}
void push(int x) {
s1.push(x);
if(s2.empty() || x <= s2.top()) s2.push(x);
}
void pop() {
if(s1.top() == s2.top()) s2.pop()... | [
"308303735@qq.com"
] | 308303735@qq.com |
fce00f8cfccc7e6499fccc36da64c8bbdb56ca18 | dd323b31be4025318ad18e480ad95ea7014a3fba | /gluecodium/src/test/resources/smoke/structs/output/android/jni/com_example_smoke_StructsWithMethodsInterface_Vector3.cpp | 0cc1ce723be78e48e727b829de34ee9b5f8930db | [
"Apache-2.0"
] | permissive | saschpe/gluecodium | 57b166929fb095ca40c9cf5875abd4eea371e5c7 | beb356d2ec4ee77758622abba1a38fa6fc2698cb | refs/heads/master | 2020-09-30T23:47:42.488780 | 2019-12-11T10:54:17 | 2019-12-11T11:52:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,050 | cpp | /*
*
*/
#include "smoke/StructsWithMethodsInterface.h"
#include "CppProxyBase.h"
#include "FieldAccessMethods.h"
#include "JniBase.h"
#include "JniCppConversionUtils.h"
#include "com_example_smoke_StructsWithMethodsInterface.h"
#include "com_example_smoke_StructsWithMethodsInterface_StructWithStaticMethodsOnly.h"
#in... | [
"georg.bremer@here.com"
] | georg.bremer@here.com |
7a618cb356a4ba02b0ca4ef2d27ef7a125fd1d76 | bd001f9d4953c4fe0c29dcc0e387a3b5c152e4c7 | /Game/Sources/Include/Game/DirectXMath.hpp | 7171bebdd2d6f94e92daca2c4a0a0bb689a25cc8 | [] | no_license | francescozoccheddu/WiredPickup | 6df8ed8edb1fef42e8888f759988ccb5128cd74d | db62aae355acb4264b52529407fbf9a336e6450d | refs/heads/master | 2020-04-07T14:23:42.491289 | 2018-11-30T18:12:20 | 2018-11-30T18:12:20 | 158,445,283 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 38 | hpp | #pragma once
#include <DirectXMath.h> | [
"23437496+francescozoccheddu@users.noreply.github.com"
] | 23437496+francescozoccheddu@users.noreply.github.com |
f0aa0f03b2d2ae7709ab1a8099b519818f5da4b3 | dd80a584130ef1a0333429ba76c1cee0eb40df73 | /external/chromium_org/ui/views/widget/widget_delegate.cc | fbace27c316a297e2e82a4e5783fe91293c8a2ef | [
"BSD-3-Clause",
"MIT"
] | permissive | karunmatharu/Android-4.4-Pay-by-Data | 466f4e169ede13c5835424c78e8c30ce58f885c1 | fcb778e92d4aad525ef7a995660580f948d40bc9 | refs/heads/master | 2021-03-24T13:33:01.721868 | 2017-02-18T17:48:49 | 2017-02-18T17:48:49 | 81,847,777 | 0 | 2 | MIT | 2020-03-09T00:02:12 | 2017-02-13T16:47:00 | null | UTF-8 | C++ | false | false | 4,625 | 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 "ui/views/widget/widget_delegate.h"
#include "base/strings/utf_string_conversions.h"
#include "ui/gfx/image/image_skia.h"
#include "ui/views... | [
"karun.matharu@gmail.com"
] | karun.matharu@gmail.com |
dd5e7488b8402e7ec08d2a2406306758af244ac9 | cfc54d29d6ddf243fbeddc5a3c054862e8d0a682 | /Lb_Point.cpp | 8bf39e6bcae91f0fd74287ced9877dd92ae7c91d | [] | no_license | devprophet/LabyrintheCpp | 21d8a81a749a8e8dcb3d1465e9073db4616af28f | 8f7eedc7dc7159ab452529d9288c3084fee8d666 | refs/heads/master | 2021-07-07T14:17:07.353857 | 2017-10-03T09:14:22 | 2017-10-03T09:14:22 | 105,579,524 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 563 | cpp | //
// Lb_Point.cpp
// Labyrinthe_Cpp
//
// Created by Alex on 02/10/2017.
// Copyright © 2017 Alex. All rights reserved.
//
#include "Lb_Point.hpp"
Lb_Point::Lb_Point(){
this->position = Vector2();
this->isVisible = false;
}
Lb_Point::Lb_Point(Vector2 const& position){
this->position = position;
... | [
"lostrom2011@gmail.com"
] | lostrom2011@gmail.com |
590a61f709fe12231c97d229c968e747c6e296ae | 090aefac4d8d48efba8d30891bd37b7b82b2ad91 | /A/release/src/imports/filter.hh | 2b22d91ee98bb77c940644712214c6223f261f5f | [] | no_license | landlockedboat/fib | 04a3818091eeffcdb734c8db968024ac76e70e70 | 5b6c3d3029a49b06740a5ea6be81c39be3ff5173 | refs/heads/master | 2022-05-08T23:25:46.868058 | 2018-08-20T15:04:33 | 2018-08-20T15:04:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 468 | hh | #ifndef FILTER_HH_INCLUDED
#define FILTER_HH_INCLUDED
#include <iostream>
#include <fstream>
#include <string>
#include "utils.hh"
using namespace std;
// Function that, given a valid file path filePath filters the
// contents of the file and outputs them to a file which
// path will be generateOutputFilePath(filePa... | [
"vealcazar@externos.grupogodo.com"
] | vealcazar@externos.grupogodo.com |
bcbbf3c1fa26dcf4e672546cf3da147d2a280567 | a7d61e4f870fa86c3096b2572641677d75f87cd6 | /lab1/reversestring/reversestring.h | 747a926c39436fe443309b12d8a74aa5bf9341ac | [] | no_license | DanielWarloch/JIMP-II | f185dc85fea26909211b97b590ba9c86655c7cae | 3adae60ac74bdbd7ea0d3fb5a5ae7197ba1cd794 | refs/heads/master | 2020-05-05T12:09:28.183873 | 2019-04-20T19:44:04 | 2019-04-20T19:44:04 | 180,016,133 | 0 | 0 | null | 2019-04-08T20:41:53 | 2019-04-07T19:54:25 | C++ | UTF-8 | C++ | false | false | 226 | h | //
// Created by Daniel Warloch on 27-Mar-19.
//
#include <string>
#ifndef JIMP_EXERCISES_REVERSESTRING_H
#define JIMP_EXERCISES_REVERSESTRING_H
std::string reverse(std::string str);
#endif //JIMP_EXERCISES_REVERSESTRING_H
| [
"dan.warloch@outlook.com"
] | dan.warloch@outlook.com |
d298ba7269f12bb5fbabc1d2d1d1e6c6b8d73b67 | fc1a914daab63d455e58b2a16795320c33d62779 | /Geometry/Real.cpp | f5a26e26a81f2126eb1d2715edd7eebc119a7f6b | [] | no_license | DolaBMOon/Templates | 721d93c8707e1ba568a8cf8a1657893bf5141bb6 | 5936cc6473919e5d595c344f7ae0010a39e7eed4 | refs/heads/master | 2021-09-25T16:25:59.041514 | 2018-10-24T06:34:22 | 2018-10-24T06:34:22 | 143,970,052 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,710 | cpp | #include<bits/stdc++.h>
using namespace std;
const double PI=3.1415926535897932384626433;
struct Vector
{
double x,y;
};
struct Line
{
Vector u,v;
};
double Sqr(double x)
{
return x*x;
}
double toDeg(double a)
{
return a*180/PI;
}
double toRad(double a)
{
return a*PI/180;
}
Vector operator+(const Vector &a... | [
"dolabmoon@gmail.com"
] | dolabmoon@gmail.com |
feb1ae4ed29266f1ae715c41eee4a2a814741848 | 51ffd7b19109630911956fbf36cfd2ee5acc074c | /third_party/libcxx/fuzzing/fuzzing.cpp | 9471a1d0af906e29965f7143169caccc69f1aa46 | [
"NCSA",
"MIT",
"Apache-2.0"
] | permissive | zpdeng28/grpc | 4022508cd0f4ee46de1d39347401ddc79eaaa58b | e39e7bc7c1df9f630c812ff1891e04cbd7c0829f | refs/heads/master | 2022-12-01T20:05:39.798552 | 2019-05-20T07:01:07 | 2019-05-20T07:01:07 | 187,572,968 | 1 | 1 | Apache-2.0 | 2022-11-16T14:50:06 | 2019-05-20T05:26:19 | C++ | UTF-8 | C++ | false | false | 15,318 | cpp | // -*- C++ -*-
//===------------------------- fuzzing.cpp -------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===--------------------------... | [
"dzp_whu@163.com"
] | dzp_whu@163.com |
832b823f838baf5daacd1fd02598f045ccfb3ec2 | 0a138ec823152a057b8f47f340413889a1fc795c | /opencv_gpb/src/sPb/affinity.cpp | a6a6be134cecd88fb630c599dc306a4198736a93 | [] | no_license | ivashnyov/gPb-GSoC | 7fb6fa61408c42ddfcf7d0a3a1e1b290752d0a1b | 03711edb4a406f194121955659ed53877e09c473 | refs/heads/master | 2020-03-21T10:52:18.192458 | 2018-06-25T14:14:54 | 2018-06-25T14:14:54 | 138,475,488 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 5,370 | cpp | // Copyright (C) 2002 Charless C. Fowlkes <fowlkes@eecs.berkeley.edu>
// Copyright (C) 2002 David R. Martin <dmartin@eecs.berkeley.edu>
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License as
// published by the Free Software Foundation; eith... | [
"hidiyang@gmail.com"
] | hidiyang@gmail.com |
7af96c36fe68055cb65e20cff8c70714da1951d9 | 4267bd8b8f27e8fab470032b84153542914b341a | /wavplay/auxplay.cpp | 2c49f005a5094796579295310d204f9ff0caf7ca | [
"AFL-3.0",
"LicenseRef-scancode-philippe-de-muyter"
] | permissive | bjkwon/auxlab | d35e831203c71a4a7449971586018ee949015304 | 6444f870ab7ade7197b09dd8c33f066d21aabc56 | refs/heads/master | 2022-08-04T22:37:47.678957 | 2022-02-26T04:05:10 | 2022-02-26T04:05:10 | 161,715,066 | 11 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,333 | cpp | // AUXLAB
//
// Copyright (c) 2009-2020 Bomjun Kwon (bjkwon at gmail)
// Licensed under the Academic Free License version 3.0
//
// Project: wavplay
// Library to play audio signals
// For Windows only
//
// Version: 1.7
// Date: 5/24/2020
#include "wavplay.h"
#define MAX_24BIT (double)0x007fffff
#include "bjcomm... | [
"bjkwon@gmail.com"
] | bjkwon@gmail.com |
d5e91fccc705b0b032f3d021be4575bb98ed40ab | 7c6e0414fb4e92cf3364eeaa93679db1ec56a896 | /CycleTimerRelay.h | 2a67e0813f5ba6f097ee16d00ba621bb40e003b1 | [] | no_license | stevieb9/CycleTimerRelay | 9f6bab73d5e806e412d3af30572f3b00149ef650 | 024fc032ddb2fbc90ebd7e0850b957400c78caac | refs/heads/master | 2022-04-16T00:02:21.868226 | 2020-03-24T19:17:31 | 2020-03-24T19:17:31 | 248,597,218 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,121 | h | #ifndef CYCLETIMERRELAY_H
#define CYCLETIMERRELAY_H
#include "Arduino.h"
#include "../ArduinoRelay/ArduinoRelay.h"
using namespace std;
class CycleTimerRelay : public ArduinoRelay {
private:
uint8_t _init = false;
unsigned long _onTime = 0;
unsigned long _offTime = 0;
... | [
"steveb@cpan.org"
] | steveb@cpan.org |
de2a6be2bc99421d5c8257e218c5b934421306b2 | 4d5e39299941b7d670860e86401d9e426109bafb | /apis/Tap_Trade/CProcessor.h | 1255f186a8c04eb44485951865ad5d744d68b694 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | permissive | tianhm/XAPI3 | de63e5566d93de6d769d79f5859b71c3ca0589ee | 86b8a61a664bd3bc8bb0305fa73484d28ea8ed95 | refs/heads/main | 2023-04-07T11:24:14.462807 | 2021-12-09T02:33:50 | 2021-12-09T02:33:50 | 303,708,390 | 0 | 0 | BSD-2-Clause | 2023-03-30T22:14:59 | 2020-10-13T13:14:37 | null | UTF-8 | C++ | false | false | 926 | h | #pragma once
#include <mutex>
#include "OrderMap.h"
#include "../../include/Tap/TapTradeAPIDataType.h"
#include "../../include/ApiStruct.h"
using namespace std;
class CProcessor
{
public:
OrderField* OnOrderAccept(const TapAPIOrderInfoNotice* pAccept, OrderField* pOrder);
OrderField* OnOrderMarketAccept(const T... | [
"wu-kan@163.com"
] | wu-kan@163.com |
aaf634276de2734bdd0f5f59972fd1e6b2538b5a | eb40723977d68341d9379698b07ec0471f13c2da | /oddin.cpp | 8243a45e68646097c09558e2d577a5b8b780096b | [] | no_license | AkhilaPillai/b2 | a39eb50d76b3ffdce4d6dc76250fe31b8b0dbdbd | 7bdb56ba46095a0eaaf3e0af063d434d85059f46 | refs/heads/master | 2021-01-24T22:21:39.711109 | 2018-03-21T12:27:35 | 2018-03-21T12:27:35 | 123,279,556 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 165 | cpp | #include <iostream>
using namespace std;
int main()
{
int a,b;
cout<<" enter number "<<endl;
cin>>a>>b;
for(;a<=b;)
{
cout<<a<<endl;
a=a+2;
}
return 0;
}
| [
"noreply@github.com"
] | noreply@github.com |
f2f5c0a11423cd2491a0ad838765ea1f719c0a66 | 6101f31883a50e764208007aa543f86bb237287c | /Source/Runtime/Math/Private/Vector3.cpp | 3c1b047c21ca87fcb1e638a2186aec4e351427d1 | [
"MIT"
] | permissive | nicecapj/CKSoftRenderer | 54b6aa6938a7ba4e4355e94c9309b6b235993b8c | 4d25fb98fd0280020511cc95c9ec46a68594c704 | refs/heads/main | 2023-01-03T08:11:13.603889 | 2020-10-16T04:25:07 | 2020-10-16T04:25:07 | 304,805,007 | 1 | 0 | MIT | 2020-10-17T05:32:42 | 2020-10-17T05:32:42 | null | UTF-8 | C++ | false | false | 416 | cpp |
#include "Precompiled.h"
using namespace CK;
const Vector3 Vector3::UnitX(1.f, 0.f, 0.f);
const Vector3 Vector3::UnitY(0.f, 1.f, 0.f);
const Vector3 Vector3::UnitZ(0.f, 0.f, 1.f);
const Vector3 Vector3::Zero(0.f, 0.f, 0.f);
const Vector3 Vector3::One(1.f, 1.f, 1.f);
std::string Vector3::ToString() const
{
char resu... | [
"guru@dustinlee.me"
] | guru@dustinlee.me |
61fe318b8a0258c76eae8487782d93dc2afcc0a3 | 5cd25f1cd8a91d703277612b0fa70f5333805ed7 | /Códigos-Apoio/Sockets_UDP/cpp_proj/UDP_socket_simple_server.cpp | 178d4275c2aecbf777753c8f781e6369ac538f1d | [
"MIT"
] | permissive | Eduardo-Goulart/SistemasOperacionais_TempoReal | e48f9b926423d8eacb9beff976f0845fd0fd1198 | 89d2aacb50658bc686c09fcfdd01f694f9ff22f5 | refs/heads/main | 2023-03-13T07:04:24.874773 | 2021-03-01T21:27:43 | 2021-03-01T21:27:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,996 | cpp | #include <sys/socket.h>
#include <arpa/inet.h>
#include <stdlib.h>
#include <string.h>
#include <netdb.h>
#include <stdio.h>
#include <time.h>
/*
User Datagram Protocol - UDP
CÓDIGO SERVIDOR
Criado por Sampaio. Bruno Gabriel
Tarefa de Redes Industriais
Protocolo de transferencia UDP
*... | [
"bruno.bielsam.1205@hotmail.com"
] | bruno.bielsam.1205@hotmail.com |
119ca4462d33d82df2612095b5629c65dd17c990 | dc34fd8692fcfba92b2d83b130abb33ff4b851fd | /SALARIO.cpp | 8dda49eda592f9af1f3d55ae4b6163dce01ec920 | [] | no_license | Nirvana16/IFF-C | a4be04b293043309279acdc8e04bbb11bc215606 | f79be61c6ab0be4bc6188fbea38af09420018faa | refs/heads/master | 2021-07-07T08:24:36.996356 | 2017-10-05T16:33:23 | 2017-10-05T16:33:23 | 105,914,137 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 1,501 | cpp | #include <stdio.h>
#include <conio.h>
//-------------------------------- Enunciado --------------------------------
// 1- As Organizações Tabajara resolveram dar um aumento de salário aos seus funcionários e lhe
//contataram para desenvolver o programa que calculará os reajustes.
//Faça um programa que recebe ... | [
"zedanilo161@gmail.com"
] | zedanilo161@gmail.com |
4104f54f1bd10e057ed96d63ae16077fcb3ab262 | a42d16cddc31909f28d21cfc1b6daacaeeced23a | /sketch_feb14a/sketch_feb14a.ino | 8376a03c0cfff83ebee7caf186625539cd231320 | [] | no_license | AbbeySiegel/sketch_feb08a | b2502faddf8a58d04b1962f0fd730015a367d49c | bd63fe33f98ae4dc1731c8956d7440ceac842038 | refs/heads/master | 2021-01-25T12:31:10.854726 | 2018-03-22T17:39:57 | 2018-03-22T17:39:57 | 123,475,226 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,506 | ino | //Made All the lights turn on
//light for 3 seconds
int pin = 2;
int led5 = 5;
int led7 = 7;
int led8 = 8;
int led10 = 10;
int counter=0;
void setup()
{
Serial.begin(9600);
Serial.println("start");
pinMode(pin, INPUT_PULLUP);
pinMode(led5, OUTPUT);
pinMode(led7, OUTPUT);
pinMode(led8, OUTPUT);
... | [
"36931964+AbbeySiegel@users.noreply.github.com"
] | 36931964+AbbeySiegel@users.noreply.github.com |
aec6b06d6067ef142e0203bfd17a407fec5b1e8f | c8d5005926afb964c5fb01b0c67c0eb09b441a33 | /src/ofApp.h | 1eb63455a6e93a8488df932bc538b5fb5fb0d4f7 | [] | no_license | stiag0/clipingArea | 2863676c9dca4780b38b356ed87af7b492c772be | 08aa0f01e1d06b50964a92a28c308cd449f5b758 | refs/heads/master | 2020-07-08T13:44:15.145392 | 2019-08-22T03:58:40 | 2019-08-22T03:58:40 | 203,692,437 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 891 | h | #pragma once
#include "ofMain.h"
#include "ofxGui.h"
class ofApp : public ofBaseApp{
public:
ofxPanel gui;
ofxButton buton;
ofxLabel screenSize;
ofParameter < bool > ofParExample;
ofxIntField sectorinI;
ofxIntSlider slider;
ofPolyline line;
ofPolyline lineInter;
int i = 0;
//position
bool limp... | [
"stiago01r@gmail.com"
] | stiago01r@gmail.com |
f57b6aa6a749b0c893f26bbc3844ca8701afc534 | 3e235ef3d08ed43d15fe1cfc112cb2201dc80c7d | /src/HWidgetPlugin/HLinkStatusGraph/edge.cpp | 382e4e7c073476e7262e07be8ca48358b61a9a51 | [] | no_license | mangohl/HProject | 89a833abae5839f7290194593dfc736a0d9357fe | 093c4989eba1fd04ae911e8448540f27b9fec57d | refs/heads/master | 2020-12-02T16:55:14.060029 | 2019-12-31T07:06:19 | 2019-12-31T07:06:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,702 | cpp | /****************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the examples of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** You may use this file under the terms of the BSD license as follo... | [
"736090129@qq.com"
] | 736090129@qq.com |
3e6d1b830dc7063af0ae5e3df13cf99f501b6c2e | 70fe255d0a301952a023be5e1c1fefd062d1e804 | /AcWing/LeetCode究极班/622.cpp | e490c079fed800fca42cd40e8afed97d44771115 | [
"MIT"
] | permissive | LauZyHou/Algorithm-To-Practice | 524d4318032467a975cf548d0c824098d63cca59 | 66c047fe68409c73a077eae561cf82b081cf8e45 | refs/heads/master | 2021-06-18T01:48:43.378355 | 2021-01-27T14:44:14 | 2021-01-27T14:44:14 | 147,997,740 | 8 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,489 | cpp | class MyCircularQueue {
public:
int hh = 0, tt = 0; // 队头和队尾
vector<int> q; // 数组模拟循环队列
MyCircularQueue(int k) {
q.resize(k + 1); // 多开一个位置
}
bool enQueue(int value) {
if (isFull()) return false;
q[tt ++ ] = value; // 入队顺时针走队尾
if (tt == q.size()) tt = 0; // 走出最后... | [
"java233@foxmail.com"
] | java233@foxmail.com |
ecf0d89c4c70e8a83bf609467947456c8947f1cc | 803f0fbc5973ff31fd5faca5c0f2981b2c52a591 | /C++/TOJ/373.cpp | fc94a90494a5740139991f4f7ead24a2ba1e2a76 | [] | no_license | MiohitoKiri5474/CodesBackUp | 00ab52bd55732b8164a42cffd664407878f4390e | 4247fa032c8e88259dcc3992a21c510b6f2e8850 | refs/heads/master | 2023-08-09T14:46:10.445697 | 2023-08-04T01:12:58 | 2023-08-04T01:12:58 | 126,162,563 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,124 | cpp | //A
#include<bits/stdc++.h>
using namespace std;
int main() {
ios::sync_with_stdio ( false );
cin.tie ( 0 );
double x1, x2, y1, y2, x, y;
cin >> x1 >> y1 >> x2 >> y2 >> x >> y;
double ans = 0.0;
// printf ( "%.3f\n", ans );
if ( x1 <= x && x <= x2 && y1 <= y && y... | [
"lltzpp@gmail.com"
] | lltzpp@gmail.com |
aa6b801cceb72ea616c9b1880365736508b6ff46 | 265245862d65402145169c3f2fc2759954f2855d | /pull_live555/simplertpsession.cpp | d7b16f377dfa4b2ff6efd9228d54fb0f72a2743d | [] | no_license | enochi/live555_demo | 66783ecd0f960083d05f54d58a950b37ca585371 | d39e89617ffe1a88f91e90228a57d7f9c07f1890 | refs/heads/master | 2021-01-10T18:36:50.242558 | 2018-03-20T07:57:28 | 2018-03-20T07:57:28 | 74,825,133 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,199 | cpp | #include "simplertpsession.h"
SimpleRtpSession *SimpleRtpSession::createNew(UsageEnvironment &env, const char *sdpDescription)
{
SimpleRtpSession* newSession = new SimpleRtpSession(env);
if (newSession != NULL) {
if (!newSession->initializeWithSDP(sdpDescription)) {
delete newSession;
r... | [
"henhensy@gmail.com"
] | henhensy@gmail.com |
bbae76514ebf432de5196b9a55143e3f7a6b1a42 | 60205812b617b29713fe22dcb6084c4daed9da18 | /01-Question_after_WangDao/Chapter_02/2.2/T06_01-Basedon_Count_Sort.cpp | 535f324944765524b7487d0d495086468459f156 | [
"MIT"
] | permissive | liruida/kaoyan-data-structure | bc04d6306736027cb5fc4090a2796aca7abbbaa4 | d0a469bf0e9e7040de21eca38dc19961aa7e9a53 | refs/heads/master | 2023-04-02T19:57:49.252343 | 2021-01-03T07:20:11 | 2021-01-03T07:20:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,107 | cpp | // 2020-10-04
#include <string.h>
#include <iostream>
using namespace std;
#define INFINITY 99999
typedef int ElemType;
typedef struct {
ElemType *data;
int length;
} SqList;
void outPutList(SqList L) {
for (int i = 0; i < L.length; i++) {
cout << L.data[i] << " ";
}
cout << endl;
}
// 这... | [
"1097985743@qq.com"
] | 1097985743@qq.com |
303b75fc35025c567a780a1f637ec7dbfc6ca8b9 | 6e855db9b1029255005784ba0b663c7e33b61a86 | /PercolationGit/Model.h | bbe49fb7ed46d74e14238576e84906a85721efee | [] | no_license | AndrewP27/Percolation | 4f0e49c9aa8e64c1cdbb4a82165859aec545352f | f5254294efa4ab27c838fbaf907344e9edd65dfe | refs/heads/master | 2021-01-19T06:22:31.890728 | 2017-04-06T17:56:36 | 2017-04-06T17:56:36 | 87,458,887 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 404 | h | #pragma once
class Model
{
private:
int size;
int* ids;
int* idPointer;
int* numOfObj;
bool* isEmpty;
void createIds();
int findRoot(int startIndex);
void Union(int q, int p);
bool Check(int q, int p);
void addHole();
void printPoints();
public:
Model();
... | [
"noreply@github.com"
] | noreply@github.com |
1d7e489986cdd0e240a898ea3ad1a41c25f2c8d6 | 5840e8abf34d91ec8a0647c9d68a405cc0d80f5a | /13307130498/assignment4/sliding window.cpp | c7618af40442d7ade334a9e2b4b3e7fe811c3881 | [] | no_license | ohlionel/codebase | 5d3b086830a0c5dc975bde952a084c3e067d73d2 | b816744b290f68f829c9b0d9df37615e13ece264 | refs/heads/master | 2020-06-19T16:10:21.234359 | 2014-12-19T12:00:38 | 2014-12-19T12:00:38 | 43,301,093 | 1 | 0 | null | 2015-09-28T13:00:50 | 2015-09-28T13:00:50 | null | UTF-8 | C++ | false | false | 1,670 | cpp | #include<iostream>
#include<stack>
#include<algorithm>
using namespace std;
typedef struct{
int ele;
int maxi;
int mini;
}tris;
void findmaxmin(stack<tris> & x, int &maxi, int &mini,int &orimax,int &orimin){
if (orimax > x.top().maxi)maxi = orimax;
else maxi = x.top().maxi;
if (orimin < x.top().mini)mini = orim... | [
"13307130498@fudan.edu.cn"
] | 13307130498@fudan.edu.cn |
dd0465a72dad420c50c095904bc559014e98f3e4 | dc6f1dd72e2be064b13dad7f8f8bd875f6626ab5 | /tests/logger_spdlog.cpp | f36c9ca976f70ef603f8203776692d6449137fd0 | [
"Apache-2.0"
] | permissive | 0x8000-0000/mpscq | a11483eb266ee1a04adebb500e68b66ffd55a0d5 | 14f38e9bed9e9fa2b80bbfc6ef8b069e13325192 | refs/heads/main | 2023-04-16T21:06:16.247112 | 2021-05-05T01:58:45 | 2021-05-05T01:58:45 | 277,711,937 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,562 | cpp | /**
* @file tests/logger_spdlog.cpp
* @brief Simulates multi-threaded logging to a simple sink
* @copyright 2020 Florin Iucha <florin@signbit.net>
*/
/*
* 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... | [
"florin@signbit.net"
] | florin@signbit.net |
0e8bf6d751db7ac124435cd4bb67f618f504a2ab | 7a82399ae70babdc9f5d4aa7008882bda0e9b27d | /recursion/lsearch.cpp | eb213bc68dd49269f6470c903aa0e6dd0fee0276 | [] | no_license | vishal8802/algo_cb | d861ab23bb46d0d6f1a4714eb9f3c576d9cb8809 | 636141bd97954da283c7e11caa0238747bba4fd2 | refs/heads/master | 2020-08-11T16:54:24.446248 | 2019-10-19T07:19:40 | 2019-10-19T07:19:40 | 214,597,948 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 853 | cpp | #include<bits/stdc++.h>
using namespace std;
bool lsearch(int a[],int index,int n,int key){
if(index==n) return false;
if(a[index]==key)
return true;
lsearch(a,index+1,n,key);
}
int firstIndex(int a[],int index,int n,int key){
if(index==n) return -1;
if(a[index]==key) return index;
r... | [
"svishal8802@gmail.com"
] | svishal8802@gmail.com |
12ccbfb9183ec7a5ff23362d16380057eaaf8dc2 | 9fa40556242f7c2067bf7bfa16d9c38d4cb2757b | /Javamon/MovableEntity.h | 609473afef9be40c943595bee06f7b2b8ee5ee55 | [] | no_license | Poindexter-Games/Javamon | d61fa6317bf4b6161b83023d044ee69698408660 | 3acc04a5917173754405bbc291b1c759f01ed04b | refs/heads/master | 2021-01-18T21:43:41.577325 | 2016-05-15T20:12:47 | 2016-05-15T20:33:10 | 46,183,435 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 713 | h | #pragma once
#include <SFML/Graphics/RenderWindow.hpp>
#include "Entity.h"
#include "Variables.h"
class MovableEntity :public Entity
{
public:
MovableEntity(int, int);
void render(sf::RenderWindow&);
void setActualX(float x) { actualX = x; }
void setActualY(float y) { actualY = y; }
void adjustActualX(float ... | [
"kppiepho@gmail.com"
] | kppiepho@gmail.com |
21cd4d76e9907151ae2d63fd4d4020bb349ff1c7 | 5d594dc836dffb56da657cee9d44c699b2493fbd | /ttbar_control_region_total.cc | 20df2a7c91964d75139dbb35095bfcdea6d0d22e | [] | no_license | yulunmiao/ttbar_control_region | 8ee9d5d92c78213e7e8c559b38c000b663782cac | 426963186c39eadb466dc4513b762275632d1002 | refs/heads/master | 2022-12-12T05:59:42.175302 | 2020-09-15T19:27:59 | 2020-09-15T19:27:59 | 293,960,403 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,444 | cc | #include <TF1.h>
#include <TH1D.h>
#include <TH2F.h>
#include <TH3F.h>
#include <TROOT.h>
#include <TFile.h>
#include <TTree.h>
#include <TSystem.h>
#include <TChain.h>
#include <TLorentzVector.h>
#include <TLegend.h>
#include <iostream>
#include <stdlib.h>
#include <stdio.h>
#include <algorithm>
#include <TGraphAsymmE... | [
"noreply@github.com"
] | noreply@github.com |
a81dec87e6c328f72346d7a2c0ce18fe1e58139f | c42f79e8117502ca5b4337fc674e5a0aa07f3796 | /script/holding_modifier.h | 9b54b2b725d4ea329fac685ccd57c3de9a2eb0f4 | [
"MIT"
] | permissive | Andrettin/Metternich_old | 6e018cd7cb13a9106ab2f874cef4e5888587fcb4 | 513a7d3cddacad5d5efd2fa5faeed03bc55a190c | refs/heads/master | 2022-08-21T23:55:13.467151 | 2020-05-20T16:08:04 | 2020-05-20T16:08:04 | 198,692,094 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,351 | h | #pragma once
#include "database/data_entry.h"
#include "database/data_type.h"
#include "script/modifier.h"
namespace metternich {
class gsml_property;
class holding;
class holding_modifier final : public data_entry, public data_type<holding_modifier>, public modifier<holding>
{
Q_OBJECT
public:
static constexpr ... | [
"andre.ng@live.com"
] | andre.ng@live.com |
944824a8a102f76efca4f70a4aff48ac206c792a | 8d7e65347ab7c38c30db4f7f07b0e69073e4efc1 | /CPUEmulator/SparcV9Emulator/Instruction_MULUI.cpp | 255c4e4ad20d16cbb828ce93da95b5b61aa7f410 | [] | no_license | mjsmith707/InterpretedCPU | 34cde478b48f22e4344fe06b6117fc954a73ad63 | 624d8902ad0a47dad851015bb9a69e62b0a4d8eb | refs/heads/master | 2016-08-04T08:35:40.768809 | 2015-03-06T19:46:57 | 2015-03-06T19:46:57 | 31,784,683 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 646 | cpp | //
// Instruction_MULUI.cpp
// CPUEmulator
//
// Created by Matt Smith on 11/17/14.
// Copyright (c) 2014 Matt Smith. All rights reserved.
//
#include "Instruction_MULUI.h"
#include <string>
Instruction_MULUI::Instruction_MULUI(unsigned char inopcode, std::string inname, std::string indescriptor) : Instruction(in... | [
"mjsmith@sonic.net"
] | mjsmith@sonic.net |
7686ad932cde2cf04c9950f7295e198d9ebed81a | d35b0bd401bcc2089fcabb1d0d2fd298b8cc1941 | /GDAL/include/xercesc/dom/deprecated/RefCountedImpl.hpp | 8ab323e0668f2024ef4d88715e1df3ed890bdbd4 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"Zlib"
] | permissive | hex-hex/ZxLib | 9bad09c8190d4458a84279c02b6e5070201a9c7b | 286d4f48217b38920cf81404774617915ea99874 | refs/heads/master | 2021-07-23T04:28:29.255180 | 2016-10-17T07:41:01 | 2016-10-17T07:41:01 | 71,088,540 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,601 | hpp | #ifndef RefCountedImpl_HEADER_GUARD_
#define RefCountedImpl_HEADER_GUARD_
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses thi... | [
"noreply@github.com"
] | noreply@github.com |
d17c8352c76338d89c1187d0d14af8927a1e03de | 85e7114ea63a080c1b9b0579e66c7a2d126cffec | /SDK/SoT_ADS_LocomotionAlternateNative_parameters.hpp | 90d26981d6b07c46ae3931bced04ee71c4393ebb | [] | no_license | EO-Zanzo/SeaOfThieves-Hack | 97094307d943c2b8e2af071ba777a000cf1369c2 | d8e2a77b1553154e1d911a3e0c4e68ff1c02ee51 | refs/heads/master | 2020-04-02T14:18:24.844616 | 2018-10-24T15:02:43 | 2018-10-24T15:02:43 | 154,519,316 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 383 | hpp | #pragma once
// Sea of Thieves (1.2.6) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "SoT_ADS_LocomotionAlternateNative_classes.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Parameters
//-----------------------------------------------------------... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
f819ca177c307c56e75c504ac382432bc52998dd | dadfeaddd7928cde6f7c3b2091a1275b0caf1d59 | /dp/knapsack.cpp | 13f2a6277f551f570502392bca5594ff3735ca92 | [] | no_license | manimod7/Prep | 116081f6debaaee35e9673d2d5e6c15590e7a937 | 4cb4578ac41f532012a5a368f83308dc6a201dc0 | refs/heads/main | 2023-07-14T03:32:17.979643 | 2021-08-23T08:00:47 | 2021-08-23T08:00:47 | 378,802,551 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 456 | cpp | #include <bits/stdc++.h>
using namespace std;
int main(){
//Bounded Knapsack(0,1 Knapsack)
vector<vector<int>> T;
vector<int> weight, value;
int i,j;
if(weight[i-1]<=j)
T[i][j] = max( (value[i-1] + T[i-1][j - weight[i-1]]), T[i-1][j]) ;
else
T[i][j] = T[i - 1][j];
//Unbounded Knapsack
if (we... | [
"manimod7.com"
] | manimod7.com |
48efd5860d7527bf3e459fa617bf1c2d73622936 | 3db023edb0af1dcf8a1da83434d219c3a96362ba | /windows_nt_3_5_source_code/NT-782/PRIVATE/MAILPLUS/BULLET2/SRC/XIMAIL/XIINET.HXX | 87586b50180fc8ee7d682ac87302d7e9a5d405d2 | [] | no_license | xiaoqgao/windows_nt_3_5_source_code | de30e9b95856bc09469d4008d76191f94379c884 | d2894c9125ff1c14028435ed1b21164f6b2b871a | refs/heads/master | 2022-12-23T17:58:33.768209 | 2020-09-28T20:20:18 | 2020-09-28T20:20:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,069 | hxx | _public
class INETDIR : public DIR
{
VFG(INETDIR, DIR, XENIX)
protected:
LPSCHEMA pCurSchema;
PHIERNSID phiernsid;
char entry[cbMaxIdData];
MACLIST *pMacList;
BOOL fInternet;
ILE ileCur;
ILE ileMac;
public:
INETDIR( void );
virtual NSEC OpenList( LPTYPED_BI... | [
"benjamin.barratt@icloud.com"
] | benjamin.barratt@icloud.com |
72df5fa4e35c32a3a85f51189dd77bcd49c1c2c6 | 1237e2b307b8f8d22ffde9124aa036c4cd1c104f | /libraries.h | dfb462347018ca96407a0b4c4bccaaad04fae821 | [] | no_license | TELEUZI/handling_workers_info | 343c2837266c01da1f106243f9ce4d294beb21d5 | e6b7b6275803fd93b30fa6d696d34bc1ade8bc59 | refs/heads/master | 2023-02-19T05:19:37.434444 | 2021-01-17T17:51:12 | 2021-01-17T17:51:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 76 | h | #pragma once
#include <vector>
#include <algorithm>
#include <iostream>
| [
"noreply@github.com"
] | noreply@github.com |
ebc3549d9b5c717b98b74e4162edfaaef09c87fb | 721daecabd88c08a13a15d79ca7c62b061f20c75 | /Week05/Project1/Project1/main.cpp | 94a2ce715c4a38b9ea3858eff6957304be718328 | [] | no_license | DustinYook/COURSE_OOP2 | 3b570419f88e83141527320e3f5eca183bb9c11b | 2205ce573eb59f6c66c5e14a943d70bb93d8e21b | refs/heads/master | 2022-01-08T17:20:32.982319 | 2019-05-27T03:57:49 | 2019-05-27T03:57:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 627 | cpp | #include <array>
#include <iostream>
using namespace std;
#include "GradeBook.h" // GradeBook class definition
// function main begins program execution
int main(void)
{
// array of student grades
string courseName = "CS101 Introduction to C++ Programming!";
GradeBook g;
g.displayMessage();
g.setCourseName(courseN... | [
"aomorikaitou93@gmail.com"
] | aomorikaitou93@gmail.com |
eb69b404875a621c42ef9a80c7a46e557a964f73 | 22ecb9fce47102845ff060eadcfa0e04391027e0 | /Projekty Prata C++ CodeBlocks/12.1-6/main.cpp | 35ed2f170afe9c7c6fc1171116bfb1b674c3a15a | [] | no_license | piterbuchcic1990/Programming-C-plus-plus | c0073d40678fda6b45f0de933ddabcd0a5458ed5 | d3ecea0e72d77dbd03cf67a6c9f6176cc67e8298 | refs/heads/master | 2021-06-12T12:12:49.021473 | 2017-02-09T15:13:14 | 2017-02-09T15:13:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,888 | cpp | #include <iostream>
#include <cstring>
using namespace std;
class String{
private:
char *str;
int len;
static int num_strings;
static const int CINLIM=10;
public:
String();
String(const char *s);
String(const String &s);
~String();
int lenght()const {return len;}
String & opera... | [
"piterbuchcic1990@gmail.com"
] | piterbuchcic1990@gmail.com |
dc53ec137daf8c186ca97f28715912664fc09358 | 59c8b48d14ee6a3a57f81559dad07df116283b8d | /girl/eisui_kasumi.cpp | 4d869f3d343f3d48376836e7b3a13d663be188e4 | [
"MIT"
] | permissive | rolevax/libsaki | 63a6f5d268e0ddef0ee61e993b29305a5df403a2 | 399ea22c45fe033b011b511c65610f9405fee709 | refs/heads/develop | 2021-06-02T10:12:51.409894 | 2020-09-28T07:19:32 | 2020-09-28T07:19:32 | 84,523,709 | 8 | 18 | MIT | 2018-12-31T03:02:00 | 2017-03-10T05:43:32 | C++ | UTF-8 | C++ | false | false | 2,826 | cpp | #include "eisui_kasumi.h"
#include "../table/table.h"
#include "../table/princess.h"
#include "../util/misc.h"
namespace saki
{
bool Kasumi::checkInit(Who who, const Hand &init, const Table &table, int iter)
{
(void) table;
if (who != mSelf || iter > 100)
return true;
// prevent both too low... | [
"rolevax@gmail.com"
] | rolevax@gmail.com |
48a23f0e6bdca4d89c0dac0761c65b8d5ec2b1c3 | b2cee8168b01b7656bbe944eaf39df7b978c51e1 | /018. 주민번호 입력받아 형태 바꿔 출력하기.cpp | f492b96dbb0df332ea5bcda6769b9922d51319e8 | [] | no_license | morisummer2/codeup-100- | de2ea97e24ffeed35f4334cdf2d39fb60e406af9 | cdee374aa6282157d02d565b88d2fbc77e57aeae | refs/heads/master | 2023-03-10T04:56:45.460653 | 2021-02-24T18:04:25 | 2021-02-24T18:04:25 | 341,816,585 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 150 | cpp | #define _CRT_SECURE_NO_WARNINGS
#include<iostream>
using namespace std;
int main()
{
int a, b;
scanf("%d-%d", &a, &b);
printf("%06d%07d", a, b);
} | [
"79527804+morisummer2@users.noreply.github.com"
] | 79527804+morisummer2@users.noreply.github.com |
bfc79b40025eb1697e44d2f329f26f6c41f4043c | bcbda3f5b58c34f0bec5a98ab2ff4e8c33935cbb | /square.cpp | 5f22b41e6d10a2d5af7757a7a33966dd0722c666 | [] | no_license | pw1906/workspace | 8f6fc481bafd8d28049da11a8c20c064150ded07 | 1bec787e4675ac232375b480d3fedde07ee3b62d | refs/heads/main | 2023-04-15T01:55:08.298410 | 2021-04-07T15:23:26 | 2021-04-07T15:23:26 | 352,611,060 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 195 | cpp | #include <iostream>
int main() {
int i = 0;
int square = 0;
while (i !=10){
square = i*i;
std::cout << i << " " << square << "\n";
i++;
}
} | [
"noreply@github.com"
] | noreply@github.com |
9cf39086bd08b062d227aad12d1d077cb790e8c0 | 0103ce0fa860abd9f76cfda4979d304d450aba25 | /Source/WebKit/UIProcess/WebCookieManagerProxy.cpp | e65c4fc936fe6c82231699bb295fc447ba2f2f89 | [] | no_license | 1C-Company-third-party/webkit | 2dedcae3b5424dd5de1fee6151cd33b35d08567f | f7eec5c68105bea4d4a1dca91734170bdfd537b6 | refs/heads/master | 2022-11-08T12:23:55.380720 | 2019-04-18T12:13:32 | 2019-04-18T12:13:32 | 182,072,953 | 5 | 2 | null | 2022-10-18T10:56:03 | 2019-04-18T11:10:56 | C++ | UTF-8 | C++ | false | false | 11,354 | cpp | /*
* Copyright (C) 2011, 2013 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of condit... | [
"ruka@1c.ru"
] | ruka@1c.ru |
4895ab5eb72a6d685151de931ba99e513b32c2d3 | 83f70b89d2d43d10273aa20612bc349f652223cc | /src/OEngine2D/graph/FrameBuffer.h | 5f26ff5be21bcc6d1bc5c9c77101e799e786385c | [
"MIT"
] | permissive | ooeyusea/OEngine2D | 6f510e14730fe1d866f92baf2e28d4633dc857fd | 23c0b81539bd6579117c6d2a5279d7bf949e3891 | refs/heads/master | 2020-08-09T17:17:22.064435 | 2019-11-29T09:34:49 | 2019-11-29T09:34:49 | 214,131,229 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 422 | h | #pragma once
#include "util.h"
namespace oengine2d {
class Pipeline;
struct DrawAble {
virtual ~DrawAble() {}
virtual bool RecordCommand(Pipeline& pipeline) = 0;
virtual void Summit() = 0;
};
class TestDraw : public DrawAble {
public:
TestDraw() {}
~TestDraw() {}
virtual bool RecordCommand(Pipeline... | [
"ooeyusea@gmail.com"
] | ooeyusea@gmail.com |
0ac2cb6014524b7084fabe2bfb8f9bd451f18d64 | e826a727d7d21f0ed9b6c929429773d718f5bbae | /new/week5/edit_distance_my_with_bug.cpp | 6273fd9ca782d95b2a6acf655342b5b32ebed4ca | [] | no_license | jatin-mishra/somecpppractisecodes | 2def3e3844532388a1140c978eecf428b812b036 | f3f6a37ee17d0f76a8334a22b1caa9b37d8878d1 | refs/heads/master | 2020-07-07T03:05:13.015418 | 2019-08-19T18:47:50 | 2019-08-19T18:47:50 | 203,225,282 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,590 | cpp | #include <iostream>
#include <string>
#include <cstring>
using namespace std;
int min(int a,int b,int c){
int num = (a<b)?a:b;
if(a<c)
return a;
return c;
}
int alignment_game(string first,string second,int f_s,int s_s,int match,int mis,int insertion,int del){
// cout<<first[f_s]<<" : "<<second[s_s]<<endl;
// cou... | [
"jatinmishra2k99@gmail.com"
] | jatinmishra2k99@gmail.com |
dd876fdf0ece518cd7e0a7b82d14cfbf9c7af7a9 | eafdf03f52da421ba6750b3bfe20436d30aeb7c2 | /topics/Templatized Functions.cpp | f870fe16b8f26841da90f6d8e8c8608e07276c8e | [] | no_license | Vladi756/Advanced-CPP | 1decb6634e65583d3e7576ff0fd359442bdcd67d | 4ab1937e8ac04fde9daaa739f4ae68f2634b1e86 | refs/heads/main | 2023-04-04T23:38:04.704829 | 2021-04-04T18:00:41 | 2021-04-04T18:00:41 | 352,788,016 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 934 | cpp | #include <iostream>
#include <string>
template <typename T> // Templatized function which can take any variable type effectively
void swap(T &a, T &b) {
T temp = a;
a = b;
b = temp;
}
int main(){
int a = 5;
int b = 7;
std::cout << "a" << a << std::endl;
std::cout ... | [
"noreply@github.com"
] | noreply@github.com |
c3b205bbe1bf56ab1b7af2c3762f95859c9b8585 | a565dc8a731c4166548d3e3bf8156c149d793162 | /PLATFORM/TI_EVM_3530/SRC/Ctlpnl/Cplmain/acc_moused.cpp | f5be0171d1178a00d33d38464a29c4e0adc26ef3 | [] | no_license | radtek/MTI_WINCE317_BSP | eaaf3147d3de9a731a011b61f30d938dc48be5b5 | 32ea5df0f2918036f4b53a4b3aabecb113213cc6 | refs/heads/master | 2021-12-08T13:09:24.823090 | 2016-03-17T15:27:44 | 2016-03-17T15:30:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,324 | cpp | //
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//
// Use of this sample source code is subject to the terms of the Microsoft
// license agreement under which you licensed this sample source code. If
// you did not accept the terms of the license agreement, you are not
// authorized to use this samp... | [
"ruslan.sirota@micronet-inc.com"
] | ruslan.sirota@micronet-inc.com |
0ec0de15840ad5291a5c516ff8309c83a70f77aa | fc89da400094cebf023223370c51b863ed3414e2 | /testing/bigInt.h | 0429997abad70c0b98551823b05bc517fb1963bb | [] | no_license | guilhermeir/enumerating | b21005b0da3271d4a05be562654f830f1ca3879f | ca7d257dd52733b903e640d35e07cd875d2dc6a6 | refs/heads/master | 2021-06-16T03:23:43.933913 | 2017-04-22T20:44:53 | 2017-04-22T20:44:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,838 | h | //TODO: which functions are inline
//TODO: operator ~ may be mistakenly implemented
//TODO: Default constructor is nos working properly when no arguments are passed
#include <iostream>
#ifndef _BIGINT_H
#define _BIGINT_H
typedef unsigned __int128 uint128_t;
using namespace std;
class BigInt
{
private:
uint128_t ... | [
"iecker@poli.ufrj.br"
] | iecker@poli.ufrj.br |
828b9ecca72be13461d975914a9035342e7faa0c | 7c2c1868ed06f8cbf5064a0dfc68df6ce05090b1 | /Task 2/Comms.h | f5af225834bb3c3f87132a02c4dfc05794825248 | [] | no_license | SurajKalsiSky/AdvancedProgramming | e087cb4bc23bc6c61166c2c2f52a07367d714b0b | d7fee6132e8f65c3f17f80baf565118a20a1f533 | refs/heads/master | 2021-05-16T23:15:50.706882 | 2020-04-19T21:30:11 | 2020-04-19T21:30:11 | 250,510,746 | 0 | 0 | null | 2020-03-27T11:11:47 | 2020-03-27T10:58:10 | null | UTF-8 | C++ | false | false | 1,168 | h | #pragma once
#include <string>
#include <iostream>
#include <winsock2.h>
#include <ws2tcpip.h>
#include "stdafx.h"
#include "Exceptions.h";
using namespace std;
class Comms {
public:
string message;
const string QUIT = "QUIT";
template<typename T>
void SocketReceiver(T instance, SOCKET socket, int byteCount)... | [
"Suraj.Kalsi@sky.uk"
] | Suraj.Kalsi@sky.uk |
9ebcdf4990949eb7d95bd61eff2bd7b95f64a01f | 90d4968300c8721db926727a06386835bf3583a0 | /HW8_Prakash,Diksha/triangle.h | 3a46f2fbcd7447f0eb37059794e1e3124bbb560a | [] | no_license | diksha12p/Programming-in-Finance-C- | 2bd3e589e69c0a28a6d2dd6f48bce5b689db11ed | 072cb7e4def372edc262e6834d8c8cf7cb01d7f1 | refs/heads/master | 2022-12-22T18:06:00.637820 | 2020-09-02T19:03:04 | 2020-09-02T19:03:04 | 267,988,045 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 819 | h | /* Name: Diksha Prakash
Date: 11/1/2018
HomeWork 8 : Shape inheritence
Header file for declaration of derived class triangle */
#include<iostream> // Standard input/output library
// Standard declarations
using std::cout;
using std::cin;
using std::endl;
#ifndef TRIANGLE_H
#define TRIANGLE_H
#include "twoD.h" ... | [
"noreply@github.com"
] | noreply@github.com |
c1e07dc91100b83e950e3f8edc31c9f14f2c222d | 1e006c14837be0e7b6ed9a0f5870907638dfd402 | /usr/local/x86_64-pc-linux-gnu/x86_64-pc-linux-gnu/sys-root/usr/include/boost/chrono/process_cpu_clocks.hpp | 36e8d57de064ff474311433894f4db2956abe500 | [] | no_license | slowfranklin/synology-ds | b9cd512d86ffc4d61949e6d72012b8cff8d58813 | 5a6dc5e1cfde5be3104f412e5a368bc8d615dfa6 | refs/heads/master | 2021-10-24T01:38:38.120574 | 2019-03-20T13:01:12 | 2019-03-20T13:01:12 | 176,933,470 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 17,534 | hpp | // boost/chrono/process_cpu_clocks.hpp -----------------------------------------------------------//
// Copyright 2009-2011 Vicente J. Botet Escriba
// Copyright (c) Microsoft Corporation 2014
// Distributed under the Boost Software License, Version 1.0.
// See http://www.boost.org/LICENSE_1_0.txt
// See http... | [
"slow@samba.org"
] | slow@samba.org |
b7cde36ae8a3ed311fc6ba05e1896e6733bed8a8 | af7de4a359e4271bd82323991ad8a159cc6f0a18 | /Source/AirHockeyEnginePlugin/AirHockeyEnginePluginPCH.cpp | b26e6ccf813e849cfdefa3c7e7fdcb031daeb930 | [] | no_license | afrogames5/Air-Hockey | df2084e505d23626cbcefa8fab310742b86bf27e | 8421aec85e71f64ad9333a93a69b79704a8d85ba | refs/heads/master | 2016-08-12T07:44:59.470857 | 2015-10-20T19:35:26 | 2015-10-20T19:35:26 | 44,590,375 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,372 | cpp | /*
*
* Confidential Information of Telekinesys Research Limited (t/a Havok). Not for disclosure or distribution without Havok's
* prior written consent. This software contains code, techniques and know-how which is confidential and proprietary to Havok.
* Product and Trade Secret source code contains trade secrets ... | [
"afrogames5@gmail.com"
] | afrogames5@gmail.com |
c4c2c611e52fb7bc2f3c67a141ade60e3f72cb7c | df02c50e89d6f53cea51614ea25061779f242bdd | /test.cpp | 9c333b01ec77dd37210696ff0d673272bacea277 | [] | no_license | nivolog/Heuristic_old | 9cd4b1a14ca75d3fd35710ec251148d69cac801d | 0b9643bdb478241cda28103d7c477d7a6f46b97a | refs/heads/master | 2022-11-26T08:52:43.933689 | 2020-03-16T21:47:56 | 2020-03-16T21:47:56 | 245,025,500 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,146 | cpp |
#include <iostream>
#include <cmath>
#include <fstream>
#include <stack>
#include <vector>
#include <set>
#include <unordered_map>
#include <unordered_set>
#include <typeinfo>
#include <ctime>
#include <list>
using namespace std;
int razmer1, razmer2;
double e = 1.0;
int chosen_one = 1;
// EUCLID == 1
// DIAG == 2... | [
"noreply@github.com"
] | noreply@github.com |
5dd5daae826baf125c78b9881aa36c54502cf53d | f98fff06febd5e7b64ac9ee947d2821f6f5dd7ae | /numSquares.cpp | 4cebac4aeba19cecfdace0b8d5a5ce019fc1767f | [] | no_license | shashankcic/June-Leetcoding-Challenge | e718aeb245579330ed6a17eb0627157425ca0065 | c34a617524ebf2f8d6982ca75824313cbdb81024 | refs/heads/master | 2022-11-18T00:01:16.551020 | 2020-07-04T18:34:13 | 2020-07-04T18:34:13 | 268,581,268 | 0 | 0 | null | 2020-07-04T18:34:14 | 2020-06-01T16:58:57 | C++ | UTF-8 | C++ | false | false | 358 | cpp | vector<int> dp(100000, -1);
class Solution {
public:
int numSquares(int n) {
if (dp[n]!=-1){
return dp[n];
}
if (n==0){
return dp[n]=0;
}
int res = INT_MAX;
for (int i=1;i*i<=n;i++){
res=min(res,1+numSquares(n-i*i));
} ... | [
"noreply@github.com"
] | noreply@github.com |
6404a5f48857c03003f400f01ad8d3111bba53b3 | 04dcb66abc159ddbdd235d47e5870fd6b25ab07b | /Engine/Code/Engine/Renderer/FrameBuffer.cpp | eb669a178799d89350d3bac4aa14fbaa72b55cb7 | [
"MIT"
] | permissive | jsj2008/SMU_SD | fcd67ac8c2b9b71aa16f6c4d4bfe0e81fdc527db | 00ebc9c1acd437128de3562cf355f1d81e375975 | refs/heads/master | 2020-08-04T18:20:16.299205 | 2019-01-24T22:51:10 | 2019-01-24T22:51:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,199 | cpp | #include "Engine/Renderer/FrameBuffer.hpp"
#include "Engine/Renderer/GLFunctions.hpp"
#include "Engine/Renderer/Texture.hpp"
FrameBuffer::FrameBuffer()
{
glGenFramebuffers( 1, &m_handle );
}
FrameBuffer::~FrameBuffer()
{
if( m_handle != NULL )
glDeleteFramebuffers( 1, &m_handle );
}
void FrameBuffer... | [
"tonyatpeking@gmail.com"
] | tonyatpeking@gmail.com |
84bd59fa997a430e113ab5f292d10affc35510c1 | 0ac2fd3ff10b56e69e5685bd8ccc8e6238421154 | /CORE/Source/Entities/Elements/DynamicTextElement.h | 8d06c6c801ee76ef90308d1f032ba93afb0bc291 | [
"MIT"
] | permissive | pike4/CORE-Dev-Build-1.0 | e5748e2245aa559e4d8ce1c437bd3253190a19b4 | 08376bae09a8bb3598f4aa8edfacd1ca1c45eaa3 | refs/heads/master | 2021-01-11T02:03:22.269900 | 2018-07-30T23:05:55 | 2018-07-30T23:05:55 | 49,474,207 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 373 | h | #pragma once
#include "StaticTextElement.h"
#include <string>
class DynamicTextElement : public StaticTextElement
{
public:
DynamicTextElement(int x, int y, int w, int h, RenderableCharSet* charSet);
DynamicTextElement();
void setText(std::string newText);
void append(std::string addition);
virtual... | [
"pike4@purdue.edu"
] | pike4@purdue.edu |
e9961fe2925fd330c33328af48a776f2b18ec7b2 | 718adecdaead55fa20126e273e4401a33a139e84 | /LeetCode/ShortestPathinBinaryMatrix/main.cxx | 176f3338c50d01c0254145e0d3a33959ea3a8797 | [] | no_license | hjw21century/Algorithm | b3b6f3c8ab3272a75eb27fdbfb0f259e5e54c218 | 415ee942770924bb7a80935bdd7345eda03975b8 | refs/heads/master | 2023-05-03T00:36:22.802855 | 2021-05-20T08:40:17 | 2021-05-20T08:40:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,487 | cxx | #include <bits/stdc++.h>
#include <gtest/gtest.h>
using namespace std;
class Solution {
public:
int shortestPathBinaryMatrix(vector<vector<int>> &grid) {
int N = grid.size();
if (grid[0][0] == 1) return -1;
vector<vector<bool>> visited(N, vector<bool>(N));
queue<array<int, 2>> q... | [
"execvy@gmail.com"
] | execvy@gmail.com |
4fb3c6e39ac57e956aa5bbe83f4f3c4d22b11772 | c31ad9981bb2760c6f389e9a6cf8a6893e9423e8 | /osc/Minuit/Minuit/VectorOuterProduct.h | 33ee763eb80fc0b4a8c5077c0313611b69442fab | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | gbarrand/osc_vis_for_LHCb | 0582d7ed6734d9716619eb0fccc69904381529d8 | 2ba864c4475f988192c9799f5be85f1abf88c364 | refs/heads/master | 2021-10-25T21:32:51.600843 | 2021-10-17T07:45:20 | 2021-10-17T07:45:20 | 140,073,663 | 0 | 2 | null | 2021-10-17T07:45:20 | 2018-07-07T10:11:36 | C++ | UTF-8 | C++ | false | false | 646 | h | #ifndef AB_VectorOuterProduct_H_
#define AB_VectorOuterProduct_H_
#include "Minuit/ABTypes.h"
#include "Minuit/ABObj.h"
template<class M, class T>
class VectorOuterProduct {
public:
VectorOuterProduct(const M& obj) : theObject(obj) {}
~VectorOuterProduct() {}
typedef sym Type;
const M& obj() const {retur... | [
"guy.barrand@gmail.com"
] | guy.barrand@gmail.com |
bd207fbeed0cbcef31652dbcf25013d218f0a8d6 | b3e68160720b83bf92bf6d9aaac87f104fedad1f | /poj2299.cpp | ef70edba32e4e64b9eb72fc29695bf8175d067ad | [] | no_license | wjfjfm/Algorithm-competition-advanced-guide | 8bca9db4f15bcc99bf95cba280e436fba367f842 | 0b76c4db6516e705d51ae7309abd977a22af3ea4 | refs/heads/master | 2022-03-14T02:33:26.118805 | 2019-11-11T05:38:34 | 2019-11-11T05:38:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 808 | cpp | #include<iostream>
#include<algorithm>
#include<cstring>
using namespace std;
#define ll long long
const int N = 500000+5;
int n, a[N], b[N];
ll calc(int l, int mid, int r){
if(l==r)return 0;
if(l==r-1){
if(a[l]<=a[r])return 0;
swap(a[l], a[r]);
return 1;
}
ll ans =calc(l,(l+mid... | [
"654721301@qq.com"
] | 654721301@qq.com |
424ff1d975844ed82ab66936578ba7a1ed195ee8 | b655537be7860bb609f87b0742e23fca39ef08ec | /src/BaseJoint.h | f7af52a78262818cfaab91252b2358147a2cf4f7 | [] | no_license | trevorsm7/animation-project | 0c887a7386d9382d4c3dd7a2bd8fd8cc745d59d3 | 99f78fcf0900e70e9576612ecfb7ef40c9f6b742 | refs/heads/master | 2021-05-08T18:02:44.093952 | 2018-03-03T21:42:08 | 2018-03-03T21:42:08 | 119,500,205 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,086 | h | #ifndef __BASEJOINT_H__
#define __BASEJOINT_H__
#include <iostream>
#include <string>
#include <vector>
#include "ParserProperty.h"
#include "JointDOF.h"
#include "Matrix4.h"
class BaseJoint;
typedef std::shared_ptr<BaseJoint> JointPtr;
class BaseJoint
{
protected:
Matrix4 m_localMatrix;
Matrix4 m_worldMatr... | [
"trevorsm7@gmail.com"
] | trevorsm7@gmail.com |
b6cca10af529a3bda78a46de6eea19f753fa0173 | c8224c9a4705cb3accad4b55af25ffc7994f5d7d | /include/macros.h | 84db9955f4d3714f3f1e28bdee4dd2e9024490bc | [] | no_license | staketd/compiller_course_2020 | 7d751e14903041ae34ea7744d48c391c8259ba1e | 64fd219d463e6f2a479868b34b7817e6d3960c50 | refs/heads/master | 2022-11-28T08:40:49.709079 | 2020-08-02T20:58:42 | 2020-08-02T20:58:42 | 264,245,411 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 756 | h |
#ifndef MYCOMPILLER_INCLUDE_ERROR_MACRO_H_
#define MYCOMPILLER_INCLUDE_ERROR_MACRO_H_
#include <iostream>
#include <assert.h>
#define ERROR(msg, node) \
{ \
std::cerr << "line:" << node->loc.begin.line \
... | [
"pushin.da@phystech.edu"
] | pushin.da@phystech.edu |
c480c4d426addf5a57214bdb0b9addd06250e282 | c2843b283dd9e20138b329be71e8d0b57020e838 | /Kruskal.cpp | 5f0e0b1b00056e9a1ecc2d0163a3c6cfed139854 | [] | no_license | Jaype-e/jaypee.h | fb6bcd9d8e68f72aca71375bae69f11aa9259e34 | cb714e831d87a84d7e19f852a2360bf8ed01060d | refs/heads/master | 2021-01-17T04:26:37.637250 | 2017-06-02T08:21:00 | 2017-06-02T08:21:00 | 82,951,015 | 1 | 1 | null | 2018-10-05T16:50:09 | 2017-02-23T17:08:12 | C++ | UTF-8 | C++ | false | false | 3,365 | cpp | #include <iostream>
#include <vector>
#include <cstdlib>
#include <string>
#include <stdexcept>
#include <typeinfo>
#define F first
#define S second
using namespace std;
template < class T >
class PriorityQueue{
private:
vector< T > elems; // elements
public:
void push(T n);
T pop();... | [
"noreply@github.com"
] | noreply@github.com |
55e22f06204d8462d398e916eff5932f00756262 | 6bb45234fe96618d7e1cc0e64a3e0d0220ae8153 | /1_term/dm/02/5/5e.cpp | 7cb2d7b6eb9b420d9241eacad2a0c4609f8533db | [] | no_license | artemohanjanyan/university | 032f94862a22066070ca777063d13fc51adfc08b | 1a6b0406798e1aa862227751f7a0b9d81f0f1068 | refs/heads/master | 2022-07-19T18:59:17.177990 | 2019-06-03T15:06:09 | 2019-06-03T22:27:01 | 58,167,891 | 6 | 4 | null | 2022-07-07T20:58:25 | 2016-05-05T23:55:37 | C++ | UTF-8 | C++ | false | false | 795 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long LL;
struct _ { ios_base::Init i; _() { cin.sync_with_stdio(0); cin.tie(0); } } _;
const int maxn = 50;
LL d[maxn][maxn];
int main()
{
//ifstream cin("num2brackets.in");
//ofstream cout("num2brackets.out");
LL n, k;
cin >> n >> k;
n *= 2;
d[0][0]... | [
"artemohanjanyan@gmail.com"
] | artemohanjanyan@gmail.com |
2b349089a56b3c7b0c01abc41e99c302a2c42e04 | 6b5519456f3a76d5f755f1b85f757345787467ac | /Chapter9IO复用/9-2poll和epoll在使用上的差别.cpp | 57bfff6bd3fff3a5d8450cd1602fb138e38a6adb | [] | no_license | aNamelessMan/HPLinuxServerProgramming | 16cc236753bbd416ec8c2c6e67de98b8984e2936 | 5ca8ea0ab1a43cd80dc1a30fd7cec0409c4b0786 | refs/heads/master | 2023-02-02T23:18:13.050071 | 2020-12-26T13:50:06 | 2020-12-26T13:50:06 | 309,683,079 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 775 | cpp | /*
poll系统调用
#include <poll.h>
int poll(struct pollfd fdarray[], nfds_t nfds, int timeout);
struct pollfd{
int fd; //文件描述符
short events; //注册的事件
short revents; //实际发生的事件,由内核填充
}
epoll系列系统调用
#include <sys/epoll.h>
int epoll_create(int size)
//传入size告诉内核事件表需要多大,返回一个用来标识内核中的该事件表的文件描述符,用于作为其他所有epoll... | [
"shockerfi@foxmail.com"
] | shockerfi@foxmail.com |
98e9961f89fb91e46e7db0d220a1b8e3292597c1 | 4ccf45302ca0976de024006536b23899cd136835 | /C++/static.cpp | 1824d90077ba6c87b7261dfd3e9104c45dcac4d6 | [] | no_license | goeb/reference | ac593e40769bb9dc48a666308fce129243d42c64 | fbdf0b961d4209652b1d6e0c7cbf022dbacc9ee0 | refs/heads/master | 2023-06-26T13:22:12.852398 | 2023-06-13T19:46:57 | 2023-06-13T19:46:57 | 13,687,825 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 147 | cpp | #include <stdio.h>
class B
{
public:
B() { printf("B()\n"); }
};
class A
{
static B b;
};
B A::b;
main()
{
printf("main\n");
}
| [
"fred@fred1"
] | fred@fred1 |
0b3d2c712c3b4d266f346550af1b3fc53f0a7139 | e24a366a7ac5dfb5975a468046c8626a9d56fa6d | /Obfuscator/Source/lib/IR/Instructions.cpp | 06b46724a87f80d92ac0a21730d20fc9e36455b5 | [
"NCSA",
"MIT"
] | permissive | fengjixuchui/iOS-Reverse | 01e17539bdbff7f2a783821010d3f36b5afba910 | 682a5204407131c29588dd22236babd1f8b2889d | refs/heads/master | 2021-06-26T17:25:41.993771 | 2021-02-11T10:33:32 | 2021-02-11T10:33:32 | 210,527,924 | 0 | 0 | MIT | 2021-02-11T10:33:33 | 2019-09-24T06:26:57 | null | UTF-8 | C++ | false | false | 153,427 | cpp | //===- Instructions.cpp - Implement the LLVM instructions -----------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"374619540@qq.com"
] | 374619540@qq.com |
1fdc5ee001a05d072a65a951ca1a9ec692bdc113 | 3ab84543d0f95ae50cced0a99856a547b4b23298 | /Classes/SettingsScene.cpp | 46389082fa50ea91907819c1bec8a58bf3ee6e71 | [] | no_license | xcloudyunx/Bulletoon | 3a13ba508ee98bbf45e5ff91e8f6cf1670454d27 | 0ab7c16bec313be83c9e14fbcd939687b6868be6 | refs/heads/main | 2023-08-02T05:18:16.870408 | 2021-09-12T03:38:16 | 2021-09-12T03:38:16 | 376,191,873 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,413 | cpp | #include "SettingsScene.h"
#include "CreditScene.h"
Scene* Settings::createScene() {
return Settings::create();
}
bool Settings::init() {
if (!Scene::init()) {
return false;
}
Size visibleSize = Director::getInstance()->getVisibleSize();
Vec2 origin = Director::getInstance()->getVisibleOrigin();
def = Use... | [
"noreply@github.com"
] | noreply@github.com |
b127e8ebcdfd6d9e776063a3484345bd12354377 | 966df0a04db824b521c4f7dc26f61e54230f86ff | /trash/DranosScript/stdafx.cpp | 74c0e686cd2e19c041990177afece9d6c86aaf5b | [] | no_license | thenfour/LibCC | 1d4339af47945a247824e38b015bc98c1334a8ab | ee1e485b0624f02a0661f4bb980c64fbebc7822e | refs/heads/master | 2021-01-10T19:09:33.526624 | 2018-09-16T20:35:47 | 2018-09-16T20:35:47 | 16,332,901 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 291 | cpp | // stdafx.cpp : source file that includes just the standard includes
// DranosScript.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
// TODO: reference any additional headers you need in STDAFX.H
// and not in this file
| [
"carlco@gmail.com"
] | carlco@gmail.com |
5a4e8a54d705046eb2ee2ec10a16b41674e9835b | 775b8a7a2677be324b6a520847de90a519caeeec | /frost-dev/example/truck/export/y_square.cc | 90d4e3bd03c8c85c5a8a5097002f30678e351865 | [
"BSD-3-Clause"
] | permissive | jcnorby/FROST | c6c79e9920c8fcb7e6b330ebd4684622c20f57c5 | 473080b3b7f59b0623fadf3e5b00371903b701bc | refs/heads/master | 2021-07-09T04:35:44.820996 | 2019-02-21T20:07:15 | 2019-02-21T20:07:15 | 159,679,872 | 0 | 0 | null | 2019-01-23T20:04:34 | 2018-11-29T14:36:13 | HTML | UTF-8 | C++ | false | false | 2,763 | cc | /*
* Automatically Generated from Mathematica.
* Fri 30 Nov 2018 17:03:02 GMT-05:00
*/
#ifdef MATLAB_MEX_FILE
#include <stdexcept>
#include <cmath>
/**
* Copied from Wolfram Mathematica C Definitions file mdefs.hpp
* Changed marcos to inline functions (Eric Cousineau)
*/
inline double Power(double x, double y) {... | [
"jnorby@andrew.cmu.edu"
] | jnorby@andrew.cmu.edu |
06f1464da7a5dfbce44330a560efe18b503410fd | b13ce3e1f667696849cb7227b17250156817b335 | /src/net.cpp | cbc116cde09d7cb1ee4b10debb4209aaae5d0151 | [
"MIT"
] | permissive | Open-Biznatch/Marble | 143d0e27df7d654067734b63bdf8312a3a1886aa | 331e4cfbeaec783dfd1cf8210de5b2f03f8be08c | refs/heads/master | 2020-03-27T23:04:28.159368 | 2018-09-04T18:33:32 | 2018-09-04T18:33:32 | 147,287,868 | 0 | 0 | MIT | 2018-09-04T18:33:33 | 2018-09-04T04:24:04 | C++ | UTF-8 | C++ | false | false | 66,911 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-li... | [
"justin@protonmail.com"
] | justin@protonmail.com |
b8e71516ca540b248638ca8b93731605e406b2b1 | db49804ce58398dadae36167f1724af121e78f37 | /wxwidget/src/src/generic/animateg.cpp | 0be22f5acaf9173581da0cf2a399163ace2d683d | [] | no_license | lenxyang/azer_thirdparty | 2fefbebe8a6ea70e8a0bbcfdc3bc9d1696aa8614 | 1caf8d5147abfe94d8af9bb430c264748d6b92eb | refs/heads/master | 2022-10-26T17:36:04.094715 | 2014-07-21T07:16:18 | 2014-07-21T07:16:18 | 22,049,301 | 0 | 1 | null | 2022-10-01T11:16:09 | 2014-07-21T02:35:14 | C++ | UTF-8 | C++ | false | false | 20,623 | cpp | ///////////////////////////////////////////////////////////////////////////////
// Name: src/generic/animateg.cpp
// Purpose: wxAnimation and wxAnimationCtrl
// Author: Julian Smart and Guillermo Rodriguez Garcia
// Modified by: Francesco Montorsi
// Created: 13/8/99
// Copyright: (c) Julian... | [
"lenxyang@gmail.com"
] | lenxyang@gmail.com |
7eb28cdaeead43d9d06f660efac5ea8b51c546d4 | c77ed51cce33d66a1174a562e02265cf9d30cf46 | /problem1-1/problem3.cpp | b320f52badef7bfb1e25ee2151b12720b218ab9d | [] | no_license | seungjoooo/c- | 548ab6d267fc417ba9eb26b670abf1e2e074a352 | feba422418645704f1c54aa3ac8428eee9115071 | refs/heads/main | 2023-08-20T14:59:26.230011 | 2021-10-23T04:33:41 | 2021-10-23T04:33:41 | 415,327,879 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 203 | cpp | #include<iostream>
int main()
{ int number;
std::cout << "write any number :";
std::cin >> number;
for (int i=0; i<10;i++){
std::cout << number * i<<std::endl;
}
return 0;
} | [
"pool9604@naver.com"
] | pool9604@naver.com |
74981a314949e7b7535635ea265ff10a4c168a9e | 7da8662aa0fff88a7f1a902c0cfce0bd1a685c39 | /LiborMarketModelDiffusion.h | a3886a360f3ece14905f4f60990c90ce49a34030 | [] | no_license | FinancialEngineerLab/TargetRedemptionForwardPricer | ea84d7a2a2449b2f17e6236b3d0ee97beee8aa8b | 137e14ca4ca193fbad4143defc119ec94ecea222 | refs/heads/master | 2021-12-05T19:29:55.966838 | 2015-08-08T06:59:00 | 2015-08-08T07:00:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,405 | h | #pragma once
#include "Diffusion.h"
#include "Maturities.h"
class LiborMarketModelDiffusion : public Diffusion {
public:
/**************************************************************************
* Constructers and Destructer
**************************************************************************/
... | [
"nagai.m.ac@t.titech.ac.jp"
] | nagai.m.ac@t.titech.ac.jp |
6379b133df2e432ad848ac45f75402097c36fb42 | ecab21462fc75df52132b11349d8e7a0dcd3218c | /gen/blink/bindings/core/v8/V8SVGPreserveAspectRatio.h | d71d6ae40b9f31bbc8360eb5e6c258015581ce9c | [
"Apache-2.0"
] | permissive | mensong/MiniBlink | 4688506a0e9e8f0ed5e6d6daaf470255be2a68b8 | 7a11c52f141d54d5f8e1a9af31867cd120a2c3c4 | refs/heads/master | 2023-03-29T04:40:53.198842 | 2021-04-07T01:56:02 | 2021-04-07T01:56:02 | 161,746,209 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,237 | h | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY!
#ifndef V8SVGPreserveAspectRatio_h
#define V8SVGPreserveAspectRatio_h
#incl... | [
"mail0668@gmail.com"
] | mail0668@gmail.com |
87950c1e86e9651986e3f9557372d69c95d0aca1 | 2b3bf89d55ced22dfadd317957ddbc52cfa75bf6 | /DMHiggsAnalysis/deltaR.h | 81fea84c0f1fbec404c9621bf2aa1b690103d04c | [] | no_license | rjwang/DMHiggsAnalysis | c43d735bc507775cdf71e7be4432e8a3da5884c9 | 426670565ff9d12ea4afdbeb4eec6205f1bdabfa | refs/heads/master | 2021-01-17T16:15:34.257101 | 2016-10-27T17:12:30 | 2016-10-27T17:12:30 | 56,164,802 | 1 | 2 | null | 2016-10-27T17:12:31 | 2016-04-13T15:40:48 | C++ | UTF-8 | C++ | false | false | 1,397 | h | #ifndef DataFormats_Math_deltaR_h
#define DataFormats_Math_deltaR_h
/* functions to compute deltaR
*
* Ported from original code in RecoJets
* by Fedor Ratnikov, FNAL
*/
#include "DMHiggsAnalysis/deltaPhi.h"
#include <cmath>
namespace reco {
inline double deltaR2(double eta1, double phi1, double eta2, double ph... | [
"r.jiewang@gmail.com"
] | r.jiewang@gmail.com |
e685ab14855c004641e6a24e4ff48055af03c518 | 700883a7002ef5187506dac80fd4461cc99bdf12 | /test/testFramebuffer.cpp | 1bf711a732e3a5730577b20cce8ab925ae208a76 | [] | no_license | Jack19881218/cavan | 25de409d147f99513abb47ccf4aa851094302172 | e652a881d9ed7749bc9794f2ac1fc61fabcebfc5 | refs/heads/master | 2020-05-31T00:08:13.502605 | 2014-11-14T09:57:23 | 2014-11-14T09:57:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 145 | cpp | #include <stdio.h>
#include <cavan++/framebuffer.h>
int main(int argc, char *argv[])
{
Framebuffer fb;
fb.open();
fb.close();
return 0;
}
| [
"cavan.cfa@gmail.com"
] | cavan.cfa@gmail.com |
85e186a6a5a50b1932bb975009913470e0be5475 | 888069a1e783463b21b851cda5e58fe47ae2f543 | /CGProyect/CGProyect.cpp | 69bdda15a170407519a5d5b3b3f0b9a721c88a23 | [] | no_license | franjaviersans/MyPaint | 0ff02a6f9b70529cc75335fdf67c23c891a7056a | 3deffe7ee2474872f586e4dfdf4066638f516d66 | refs/heads/master | 2016-09-05T19:14:51.804588 | 2014-11-12T20:58:20 | 2014-11-12T20:58:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,647 | cpp |
// CGProyect.cpp : Defines the class behaviors for the application.
//
#include "stdafx.h"
#include "afxwinappex.h"
#include "afxdialogex.h"
#include "CGProyect.h"
#include "MainFrm.h"
#include "CGProyectDoc.h"
#include "CGProyectView.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// CCGProyectApp
BEGIN_MESSAGE_M... | [
"franjaviersans@gmail.com"
] | franjaviersans@gmail.com |
f93f155b51e8bb1b7323be2cf563e55b585c9a37 | ce6965925067b08532a6dfcce292388eea42a96a | /src/plugins/kconfig/kconfig_delegate.cpp | dc26b40734a27b147fb54bfc298a8ad1774713d7 | [
"BSD-3-Clause"
] | permissive | MasterToney/libelektra | ecb90eb70831407224e9c9e58474b55c2162dbae | f3460ca7bf4371fbde2eb358e5217c9c658c8314 | refs/heads/master | 2020-09-21T00:25:53.055156 | 2019-11-28T09:04:54 | 2019-11-28T09:04:54 | 215,112,628 | 0 | 0 | BSD-3-Clause | 2019-10-14T18:06:00 | 2019-10-14T18:05:59 | null | UTF-8 | C++ | false | false | 1,720 | cpp | /**
* @file
*
* @brief Delegate implementation for the `kconfig` plugin
*
* @copyright BSD License (see LICENSE.md or https://www.libelektra.org)
*
*/
#include "kconfig_delegate.hpp"
#include "file_utility.hpp"
#include "kconfig_parser.hpp"
#include <fstream>
using kdb::Key;
using kdb::KeySet;
namespace elekt... | [
"mail@dardan.im"
] | mail@dardan.im |
38d86ebc9af626b261ae7daa3552d57690061b3d | 8956d7f533fe997796cfa51eed86b2d74e61f8b9 | /lw3/Car/Car/Car.cpp | ddd1d1df5db839ef77249aacaafaac4102806d4f | [] | no_license | BlackFox101/OOP | ac626f5ea5b3f0c2eb383a8d3ead36eda6dc5e8f | c742a3be6d4cc15eaa8efdc0188889b7307af514 | refs/heads/main | 2023-05-28T00:47:45.902841 | 2021-06-10T18:40:49 | 2021-06-10T18:40:49 | 338,852,635 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,279 | cpp | #include "Car.h"
#include <map>
using namespace std;
struct SpeedRange
{
int min;
int max;
};
map<int, SpeedRange> gearSpeed = {
{-1, {0, 20}},
{0, {0, 150}},
{1, {0, 30}},
{2, {20, 50}},
{3, {30, 60}},
{4, {40, 90}},
{5, {50, 150}}
};
bool Car::IsTurnedOn() const
{
return m_isTurnedOn;
}
Direction Car::... | [
"sad_alexxxei@mail.ru"
] | sad_alexxxei@mail.ru |
b9234d116e2233e336fc45b320e76ff802add848 | cda3888976d976f89def35a24e4cdf3e779bd8c4 | /src/tutorial06/TexturedModel.cpp | 0e85d6176fccd58400f43a9aba12839180b0022c | [
"MIT"
] | permissive | hisupersylar/thinmatrix-opengl-3d-game-tutorial-cpp-sdl2 | 0c8baeed6eb206e5d7d046593f2811b5df05ccf9 | c6d8e79c11a09284ee262fb44439e58cc9d7d906 | refs/heads/master | 2022-12-06T20:10:56.494833 | 2020-08-22T20:31:35 | 2020-08-22T20:31:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 152 | cpp | #include "TexturedModel.h"
TexturedModel::TexturedModel(RawModel *model, ModelTexture *texture)
{
this->rawModel = model;
this->texture = texture;
}
| [
"28917898+ksoderbl@users.noreply.github.com"
] | 28917898+ksoderbl@users.noreply.github.com |
ccd10e6ac5ce6d3b02737e1dc884a7a6658f8019 | 334558bf31b6a8fd3caaf09c24898ff331c7e2da | /GenieWindow/plugins/GeniePlugin_MapV2/src/receivefile.h | 13ae49dce29d8710533dbc7593daee98619a2e20 | [] | no_license | roygaogit/Bigit_Genie | e38bac558e81d9966ec6efbdeef0a7e2592156a7 | 936a56154a5f933b1e9c049ee044d76ff1d6d4db | refs/heads/master | 2020-03-31T04:20:04.177461 | 2013-12-09T03:38:15 | 2013-12-09T03:38:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 821 | h | //add by caiyujun
#ifndef RECEIVEFILE_H
#define RECEIVEFILE_H
#include <QThread>
#include "udt.h"
#include "api.h"
#include "newfilenotifywidget.h"
class receivefile : public QThread
{
Q_OBJECT
public:
explicit receivefile(QObject *parent = 0);
void startThread();
bool initSocket(QString strIp);
si... | [
"raylq@qq.com"
] | raylq@qq.com |
db6d79d437014a0a54b955ccc812831207fb9b98 | b8766c3c640467115b0e2c85973b29465f1f87e4 | /VRAutoLoad/VRAutoLoad.ino | 9ddea12e33e6020e3cf96cae7041be5a4b6d1355 | [] | no_license | elecage/SpeechControledWheelchair | 0603c52bb9c21e0f5a4a629a2339f62ee9abe35e | 81252c9b40bcfaa06026ea775845b97d3a23fd59 | refs/heads/master | 2020-04-06T17:33:58.678794 | 2018-12-20T09:35:10 | 2018-12-20T09:35:10 | 157,665,127 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,049 | ino | #include <SoftwareSerial.h>
#include "VoiceRecognitionV3.h"
SoftwareSerial myVR(2,3); // 2:RX 3:TX, you can choose your favourite pins.
void setup() {
// put your setup code here, to run once:
myVR.begin(9600);
Serial.begin(115200);
delay(2000);
Serial.println("Setting");
myVR.write(0xAA); // AA
S... | [
"elecage@gmail.com"
] | elecage@gmail.com |
277360c1fded6df4e8626e8c993c482114b82737 | e075eae7c397b482b95eae739de4256c8d6c9a1a | /subject/8.tree/9.necklace(P1972).cpp | 66c80fea3157b48bffdd20c20db19bc5112d2712 | [] | no_license | NessOffice/Sync_Code | 7a46976d09f74672bd7a31c7fa08ea46fb9f2b4a | 0d208ea86dfbf7f2144a82dc03991cd2987260c1 | refs/heads/master | 2020-03-29T11:29:47.091460 | 2019-09-30T08:23:50 | 2019-09-30T08:23:50 | 149,855,466 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,344 | cpp | #include <cstdio>
#include <cstring>
#include <algorithm>
using namespace std;
const int maxn = 1e6 + 5;
struct Node{int l, r, index, ans;}nodes[maxn];
int lowbit(int num){return (num & -num);}
int n, m, tree[maxn], last[maxn], place[maxn];
bool cmp_by_r(const Node& lhs, const Node& rhs){return lhs.r < rhs.r;}
bool cmp... | [
"1297295485@qq.com"
] | 1297295485@qq.com |
3ec63c87073e88cf20670f1bd4640ac25e166182 | c776476e9d06b3779d744641e758ac3a2c15cddc | /examples/litmus/c/run-scripts/tmp_1/R.c.cbmc_out.cpp | e582b95f7538175035b85e21a373d1c2d77d19d5 | [] | no_license | ashutosh0gupta/llvm_bmc | aaac7961c723ba6f7ffd77a39559e0e52432eade | 0287c4fb180244e6b3c599a9902507f05c8a7234 | refs/heads/master | 2023-08-02T17:14:06.178723 | 2023-07-31T10:46:53 | 2023-07-31T10:46:53 | 143,100,825 | 3 | 4 | null | 2023-05-25T05:50:55 | 2018-08-01T03:47:00 | C++ | UTF-8 | C++ | false | false | 24,857 | cpp | // 0:vars:2
// 2:atom_1_X2_0:1
// 3:thr0:1
// 4:thr1:1
#define ADDRSIZE 5
#define NPROC 3
#define NCONTEXT 1
#define ASSUME(stmt) __CPROVER_assume(stmt)
#define ASSERT(stmt) __CPROVER_assert(stmt, "error")
#define max(a,b) (a>b?a:b)
char __get_rng();
char get_rng( char from, char to ) {
char ret = __get_rng();
... | [
"tuan-phong.ngo@it.uu.se"
] | tuan-phong.ngo@it.uu.se |
cc4f69e3759dcaccc8415ed257b38524e39b77e2 | 16451b68e5a9da816e05a52465d8b0d118d7d40c | /data/tplcache/530373f394dc203b6ae139211c4d6588.inc | 410cf842a20fd1e2088a3151d586a3be61ad15bc | [] | no_license | winter2012/tian_ya_tu_ku | 6e22517187ae47242d3fde16995f085a68c04280 | 82d2f8b73f6ed15686f59efa9a5ebb8117c18ae5 | refs/heads/master | 2020-06-20T17:42:14.565617 | 2019-07-16T12:02:09 | 2019-07-16T12:02:09 | 197,184,466 | 0 | 1 | null | null | null | null | GB18030 | C++ | false | false | 1,045 | inc | {dede:pagestyle maxwidth='800' ddmaxwidth='240' row='3' col='3' value='2'/}
{dede:comments}图集类型会采集时生成此配置是正常的,不过如果后面没有跟着img标记则表示规则无效{/dede:comments}
{dede:img ddimg='' text='图 1'}/uploads/allimg/c120411/13341231I59340-30LX.jpg{/dede:img}
{dede:img ddimg='' text='图 2'}/uploads/allimg/c120411/13341231N230Z-313612.jpg{/ded... | [
"winter2012102@gmail.com"
] | winter2012102@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.