blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f0216e89c610941eb73cd2ae3cb91680801d96ea | eb9c1dc78432e67d7fc89407652b605b177af97c | /stl/vector/vector_clear.cpp | 21d89ac1109e2e817d79bddab5c674ba9d25e5be | [] | no_license | raghu-yemmanuru/code4fun | 1a8e2550681abe60cf0b7077db11c2d453f3c0ba | 19422b93848b8b2c26fa7978f876b2a264c56471 | refs/heads/master | 2020-04-04T21:48:54.262098 | 2015-02-24T22:19:28 | 2015-02-24T22:19:28 | 29,117,492 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 522 | cpp | #include <iostream>
#include <vector>
using namespace std;
class Widget {
public:
Widget() {
cout << "Constructed " << this << endl;
}
~Widget() {
cout << "Destructed " << this << endl;
}
};
int main() {
vector<Widget*> v;
for (int i = 0; i < 5; i++) {
v.push_back(new ... | [
"raghavendradatt@gmail.com"
] | raghavendradatt@gmail.com |
1dfcd5cb921751cd24fda5a80a08cae82299202a | 040078fa17e66a74b30efd635328dfd1c37c41e2 | /1137.cc | 936914dd0cc08ab0ad6bb4b069e1698cb74584f8 | [] | no_license | mosthandsomeman/PAT_A | 80d4ef654a796a5dc47db170529ff98d6b45b32a | e8fb5c3bc1df4013ba0e9bd70e01131794a339cd | refs/heads/master | 2020-04-14T20:17:48.373130 | 2019-01-07T10:08:13 | 2019-01-07T10:08:13 | 164,088,515 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,456 | cc | //#include<cstdio>
//#include<cstdlib>
//#include<vector>
//#include<cstring>
//#include<algorithm>
//#include<map>
//#include<iostream>
//#include<string>
//#include<cmath>
//using namespace std;
//int P, M, N, score;
//struct Node
//{
// char id[24];
// int P, Gm, Gf, G;
//};
//vector<Node*> vec;
//map<string, Node*>... | [
"fuzhichao@binghuoshan.com"
] | fuzhichao@binghuoshan.com |
db07b2e16a991d650b3b85fe6734e94fa5d96ff7 | 90517ce1375e290f539748716fb8ef02aa60823b | /solved/c-e/document-analyzer/lightoj/analyzer.cpp | 6f58b294ad249c4ce1c21bbb671355260ae947b0 | [
"Unlicense",
"LicenseRef-scancode-public-domain"
] | permissive | Code4fun4ever/pc-code | 23e4b677cffa57c758deeb655fd4f71b36807281 | 77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90 | refs/heads/master | 2021-01-15T08:15:00.681534 | 2014-09-08T05:28:39 | 2014-09-08T05:28:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,622 | cpp | #include <cctype>
#include <cstdio>
#include <cstring>
#include <set>
#include <vector>
using namespace std;
#define MAXLINE 100
#define MAXWORD 10
#define MAXNWORDS 50000
#define Zero(v) memset((v), 0, sizeof(v))
typedef unsigned char uch;
typedef unsigned int u32;
typedef pair<int, int> II;
struct Reader... | [
"leonardo@diptongonante.com"
] | leonardo@diptongonante.com |
920f86f1bbca2233e5ce76c772059234edf3b95d | e0cd22a3dbf1589cee37c33374607ed2ce66e95e | /cpp/opensourcesrcs/vcf/include/graphics/Polygon.h | ccb00389a289c6e6e6d0dccc3ec443476c45accd | [] | no_license | CodeOpsTech/DesignPatternsCpp | 1335402e2c88a4b8715430210ec153af7bb733be | 2c67495ffdc65443fae98b2879f7b608e3562876 | refs/heads/master | 2021-01-11T19:19:48.498940 | 2017-07-19T02:52:56 | 2017-07-19T02:52:56 | 79,355,314 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,874 | h | /**
*Copyright (c) 2000-2001, Jim Crafton
*All rights reserved.
*Redistribution and use in source and binary forms, with or without
*modification, are permitted provided that the following conditions
*are met:
* Redistributions of source code must retain the above copyright
* notice, this list of conditions and ... | [
"ganesh@codeops.tech"
] | ganesh@codeops.tech |
075a0df4fccb03abc7265209019fe6772d02401f | 6adaa27bb61f5e580942998b871188054f5ce0fe | /HProf/profiler/profiler.h | b5ad5a8e03931c906dfaf12b30d6aa4db5f610b1 | [
"MIT"
] | permissive | DeweyTaylor/Toolkit | 9966534e8690d10c8ff40964af7e482ecf94d5a8 | e9166b171956abf06bf963bc3b0399ce9a62317b | refs/heads/master | 2021-01-20T06:03:42.741545 | 2017-05-02T00:25:22 | 2017-05-02T00:25:22 | 89,835,688 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,163 | h | // profiler.h
// (c) 2010-2017 James Dewey Taylor
// 20 June 2010 : profiler section started
// 29 April 2017 : ported to Haiku and generalized
// Note: This section is based on the concepts described in Game Developer
// Magazine, December 2002: Inner Product, Interactive Profiling, Part 1
#ifndef __PROF... | [
"DeweyTaylor@users.noreply.github.com"
] | DeweyTaylor@users.noreply.github.com |
c3ac9c94e9c327c6fcd754227b2382c73a359fa4 | b9d25b94a6ed2e9021a4f8174614872b0bfb303c | /test/class_name_test.cpp | ed608c0825a9c84f8f97c6bea2843114ee1f50e4 | [
"BSD-3-Clause"
] | permissive | PickNikRobotics/memory_leak | cc0fda29e05da2d83cd4d839219c571ecd0ab4fb | 8757fbadbbaf5d892b9b19dfd587239c9d48487d | refs/heads/master | 2020-07-27T14:17:27.284240 | 2019-09-17T19:00:03 | 2019-09-17T19:00:03 | 209,120,433 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,087 | cpp | /*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2019, PickNik LLC
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditi... | [
"mikeblautman@github.com"
] | mikeblautman@github.com |
8220e704a78cb09c0aede53cc1a712334d0a01d1 | 1fb827b1f8925ad3af50087db79921caa46f634e | /chrome/browser/vr/service/browser_xr_device.cc | a6e6ebaf2bc9a34dc52790218de714520ed35c14 | [
"BSD-3-Clause"
] | permissive | zhanfang/chromium | 3ec94d5b277cdfa07bba2f27a2ec68f96759c3aa | a1aca6ba1633043bac831c28cdd6c7da4bbeed21 | refs/heads/master | 2022-12-01T12:09:09.834764 | 2018-06-13T05:16:33 | 2018-06-13T05:16:33 | 137,167,141 | 2 | 0 | null | 2018-06-13T05:36:37 | 2018-06-13T05:36:37 | null | UTF-8 | C++ | false | false | 4,497 | cc | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/vr/service/browser_xr_device.h"
#include "chrome/browser/vr/service/vr_display_host.h"
#include "device/vr/vr_device.h"
namespa... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
1d2fe7a7ac60981cde6cfb15d2fe084fc72c8a01 | e722790a5a3066b196e8b8b958f90870b58e0e81 | /src/searchstack.hpp | a5434c64ede9ed938b96193c8953446c16852f5f | [
"MIT"
] | permissive | whackashoe/ataxx-engine | 392a1f844ca24b0ef9930afadccf19cbc3d6714a | a6360549a69ca862be4058a5e21ecf2b872938d0 | refs/heads/master | 2021-01-25T14:57:12.560453 | 2018-02-10T17:33:44 | 2018-02-10T17:33:44 | 123,741,163 | 0 | 0 | null | 2018-03-03T23:47:34 | 2018-03-03T23:47:34 | null | UTF-8 | C++ | false | false | 227 | hpp | #ifndef SEARCHSTACK_HPP_INCLUDED
#define SEARCHSTACK_HPP_INCLUDED
#include "move.hpp"
typedef struct
{
int ply;
#ifdef KILLER_MOVES
Move killer;
#endif
#ifdef NULLMOVE
bool nullmove;
#endif
} searchStack;
#endif
| [
"Twipply@gmail.com"
] | Twipply@gmail.com |
a64d7ca8435815c57236237b45631c67e3cc07b5 | 600df3590cce1fe49b9a96e9ca5b5242884a2a70 | /components/webdata/common/web_data_service_base.cc | 3418eb4dc8dbea5d8b9adffa14f608f661fd0e8a | [
"BSD-3-Clause"
] | permissive | metux/chromium-suckless | efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a | 72a05af97787001756bae2511b7985e61498c965 | refs/heads/orig | 2022-12-04T23:53:58.681218 | 2017-04-30T10:59:06 | 2017-04-30T23:35:58 | 89,884,931 | 5 | 3 | BSD-3-Clause | 2022-11-23T20:52:53 | 2017-05-01T00:09:08 | null | UTF-8 | C++ | false | false | 1,871 | 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 "components/webdata/common/web_data_service_base.h"
#include "base/bind.h"
#include "base/single_thread_task_runner.h"
#include "base/stl_ut... | [
"enrico.weigelt@gr13.net"
] | enrico.weigelt@gr13.net |
6e3a6b16d25ad31f397eec2aa6a03c463174f14a | b89c1ee3232b7680f723e591166207930d7b3c29 | /Exception/gamestartexception.hpp | c06b2011160daa06db38f0ab5c2a026b7488a6dd | [] | no_license | RaphaelWW/schafkopf-base-engine | efc6c81d214d4eb5b4d93d38ae55106cd96ecf13 | c756d7604690f692ba65340de78c16eb2e1c67c5 | refs/heads/master | 2021-05-20T11:11:32.909741 | 2020-04-03T16:07:10 | 2020-04-03T16:07:10 | 252,268,418 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 470 | hpp | /*
* nogamedecision.hpp
*
* Created on: Sep 30, 2019
* Author: raphael
*/
#ifndef EXCEPTION_GAMESTARTEXCEPTION_HPP_
#define EXCEPTION_GAMESTARTEXCEPTION_HPP_
#include <exception>
#include <string.h>
using namespace std;
class GameStartException: public exception {
public:
GameStartException(string msg) ... | [
"raphael.wild@tum.de"
] | raphael.wild@tum.de |
f65d6e6ee149c08702e27a90e8300c08309786d7 | 578ddde49416381e23a5a464187352d914f26bfb | /Uno1.0.ino | 45325ed2abee02f3ffb3f258fc3b6e52aae9bce1 | [] | no_license | Martin837/AIS | 2360a65bd0aefd6bdc09eebb93e319e964553334 | 6eef3e2ad4691fe4ed2224bf625fd1b69cd66ecf | refs/heads/main | 2023-07-21T08:08:32.095582 | 2021-08-08T02:36:53 | 2021-08-08T02:36:53 | 393,815,556 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,948 | ino | #include <SoftwareSerial.h>
#include <Adafruit_Sensor.h>
#include <ArduinoJson.h>
#include <DHT.h>
//?sensores
#define Sensor1 A0
#define Sensor2 A1
#define Sensor3 A2
#define Sensor4 A3
#define Sensor5 A4
int Dht11 = 8;
int Ws = 3;
//?variables
float h1 = 0;
float h2 = 0;
float h3 = 0;
float h4 = 0;
float h5 = 0;
fl... | [
"noreply@github.com"
] | Martin837.noreply@github.com |
e81b892b9ce92bc11ffff2212ddc253a0bc74fc6 | 0827ed8fce48247b81af7f0332f9a4d96f5fab42 | /csis252/examples/inheritance/squareType.cpp | c7296804fadcfc8e79cfaff1e2c79bc55c8f6ff6 | [] | no_license | rosskyl/MSUM-C-C-Classes | 7b5ffa1c2789603a045665f76af3f8ef86d36b44 | f28462cbf20ef55579cbc6b1b4fc799250dd60f2 | refs/heads/master | 2021-01-21T14:56:49.851471 | 2017-05-19T16:36:56 | 2017-05-19T16:36:56 | 91,825,664 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 115 | cpp | #include "squareType.h"
void squareType::setDimension(double side)
{
rectangleType::setDimension(side,side);
}
| [
"rosskyl@mnstate.edu"
] | rosskyl@mnstate.edu |
0c823b6a9015c09f920ba607e27d4ab1efbf9f9b | b415e8d193c8a6a4fa74488a360fb1e94edef343 | /sharpIR/sharpIR.ino | 2c5a2bba80ef4cdc920deaad8b2a2e2b759bdd30 | [] | no_license | nitinvinayak/arduino-basic-codes | 9ae1a184a4dc910e49e599d051b9a6c1a5b4d997 | 702e69c18f63f9fc01406ca6f43cd4fc1bca230e | refs/heads/master | 2020-03-18T15:10:25.159133 | 2018-12-01T09:52:35 | 2018-12-01T09:52:35 | 134,891,055 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 474 | ino | #define sensor A0 // Sharp IR GP2Y0A41SK0F (4-30cm, analog)
void setup() {
Serial.begin(9600); // start the serial port
pinMode(2,OUTPUT);
}
void loop() {
digitalWrite(2,HIGH);
// 5v
float volts = analogRead(sensor)*0.0048828125; // value from sensor * (5/1024)
int distance = 13*pow(volts, -1); // worked... | [
"noreply@github.com"
] | nitinvinayak.noreply@github.com |
d1977af1d5018517e305464d44eae85c4939b962 | cbe1d6e16e9798129f1dc1867a90d55ab8c923c8 | /src/Timer.h | d5a893dbba6fbd6c7f61b4c4c330121540e6f904 | [] | no_license | COM8/proto-assignments | d330823f4566f878f3ec7c4aad3a5c6595d352e7 | ffbfc02529db087238f4b47014aace89166a26cd | refs/heads/master | 2021-06-16T17:37:04.873868 | 2019-10-02T07:53:44 | 2019-10-02T07:53:44 | 129,932,857 | 0 | 5 | null | 2019-10-02T07:53:46 | 2018-04-17T16:18:39 | C++ | UTF-8 | C++ | false | false | 740 | h | #pragma once
#include <mutex>
#include <thread>
#include <chrono>
#include <atomic>
#include "TimerTickable.h"
#include "Logger.h"
#include "Consts.h"
enum TimerState {
t_stop,
t_run,
t_reset,
};
class Timer {
public:
Timer(bool tick, unsigned int intervallMS, TimerTickable *tT, int identifier);
... | [
"sauter.fabian@mailbox.org"
] | sauter.fabian@mailbox.org |
8a1b48ed219dc636ec7c134fbca6b68e1c8794d6 | b07a8d45a10b8c99a355803e3e4228e34bcb0d02 | /src/ofApp.cpp | bace0a126ff650a97849a2168ef5344dfaacf8bd | [] | no_license | yutatoga/lovePulse | f48ee0fbba8611ee1ca48f17beb32cd332ac1954 | 0a02976294ca660ce777149191e2621e3666822d | refs/heads/master | 2021-01-02T09:13:39.391114 | 2014-10-25T13:13:14 | 2014-10-25T13:13:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,350 | cpp | #include "ofApp.h"
//--------------------------------------------------------------
void ofApp::setup(){
ofBackground(0,0,0);
ofEnableSmoothing();
ofSetVerticalSync(true);
fbo.allocate( ofGetWidth(), ofGetHeight(), GL_RGBA32F_ARB, 8);
image.loadImage("c_background_black_300.jpg");
rectangleImage.set(0, 0, ... | [
"yuta.toga@gmail.com"
] | yuta.toga@gmail.com |
488668a5f02255889ce93b41c63ab47be4515a72 | ff7ae135bd7ca88a43589b57bb80bedc72b77fc7 | /spdlog/details/os.h | dddc5ad6acb3a71e1ce1e9ce5b97eefd41769bdf | [
"MIT"
] | permissive | parvmor/da | 4341ddaf5b99c5216a17799c18a08ad842d0189c | 4bd2f0a7ac63b2022513ddeb5487983a4e3fa7bd | refs/heads/master | 2020-08-22T15:03:30.901634 | 2019-12-13T16:19:40 | 2019-12-13T16:19:40 | 216,422,071 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,139 | h | // Copyright(c) 2015-present, Gabi Melman & spdlog contributors.
// Distributed under the MIT License (http://opensource.org/licenses/MIT)
#pragma once
#include <ctime> // std::time_t
#include "spdlog/common.h"
namespace spdlog {
namespace details {
namespace os {
spdlog::log_clock::time_point now() SPDLOG_NOEXCEP... | [
"wiedeflo@gmail.com"
] | wiedeflo@gmail.com |
7ed17013197cfcc23e5d19d1b5e8b9523402b970 | d4e96aa48ddff651558a3fe2212ebb3a3afe5ac3 | /Modules/Filtering/QuadEdgeMeshFiltering/test/itkLaplacianDeformationQuadEdgeMeshFilterWithSoftConstraintsTest.cxx | a0155ac1b3311b47231001482a53acf07af33b36 | [
"SMLNJ",
"BSD-3-Clause",
"LicenseRef-scancode-free-unknown",
"LicenseRef-scancode-mit-old-style",
"LicenseRef-scancode-other-permissive",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-warranty-disclaimer",
"NTP",
"IJG",
"GPL-1.0-or-later",
"libtiff",
"BSD-4.3TAHOE",
"... | permissive | nalinimsingh/ITK_4D | 18e8929672df64df58a6446f047e6ec04d3c2616 | 95a2eacaeaffe572889832ef0894239f89e3f303 | refs/heads/master | 2020-03-17T18:58:50.953317 | 2018-10-01T20:46:43 | 2018-10-01T21:21:01 | 133,841,430 | 0 | 0 | Apache-2.0 | 2018-05-17T16:34:54 | 2018-05-17T16:34:53 | null | UTF-8 | C++ | false | false | 4,369 | cxx | /*=========================================================================
*
* Copyright Insight Software Consortium
*
* 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
*
* ... | [
"ruizhi@csail.mit.edu"
] | ruizhi@csail.mit.edu |
f23a65eee3c23715d2a8bc31b17900227a9ebdee | 173152aebdc0ffde5bbb7cfb9745762f3e14e3bc | /src/camera.cpp | 3e4fe03693444ecb049083d78eee0053f23fcc32 | [
"MIT"
] | permissive | TimQuelch/renderer | c50ed34da06a95c626cad8df333876f9058054a6 | 4e542e737071b2d165b9a5ab444939243719ca67 | refs/heads/master | 2020-08-17T13:39:23.956004 | 2019-12-19T08:12:12 | 2019-12-19T08:12:12 | 215,674,134 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,254 | cpp | #include "camera.h"
#include <random>
#include <stdexcept>
#include <fmt/format.h>
namespace renderer {
Camera::Camera(Vec const& eye, Vec const& lookAt, Vec const& up, double fov)
: eye_{eye}
, axis_{Axis::fromZY(lookAt - eye, up)}
, planeDist_{0.5 / tan(degToRad(fov) / 2)} {}
auto ... | [
"tim@quelch.name"
] | tim@quelch.name |
9b983381222bb13ab4ee87ab6b3bc323e3413661 | 215111e92a3dfc535ce1c1ce25a35fb6003ab575 | /cf/neps/e.cpp | b855c3ee71c1a42841b7310c4d672fd833bab6af | [] | no_license | emanueljuliano/Competitive_Programming | 6e65aa696fb2bb0e2251e5a68657f4c79cd8f803 | 86fefe4d0e3ee09b5766acddc8c78ed8b60402d6 | refs/heads/master | 2023-06-23T04:52:43.910062 | 2021-06-26T11:34:42 | 2021-06-26T11:34:42 | 299,115,304 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 370 | cpp | #include <bits/stdc++.h>
using namespace std;
#define _ ios_base::sync_with_stdio(0);cin.tie(0);
#define endl '\n'
#define f first
#define s second
#define pb push_back
typedef long long ll;
typedef pair<int, int> ii;
const int INF = 0x3f3f3f3f;
const ll LINF = 0x3f3f3f3f3f3f3f3fll;
int main(){ _
int n; cin >> n... | [
"emanueljulianoms@gmail.com"
] | emanueljulianoms@gmail.com |
28181c4cf0debf56a69f996ae660b0d65d2cc7c8 | e5c6bbe97f6ef41271e7f9006adf24284dccff0d | /Ships Class/Ships Class/Ship.hpp | 42bfff45715770b366d797329b441200a4698bab | [] | no_license | anazeneli/fordham-cs2 | 941a9c5c06cb13643edfaeff79c824825c96cf82 | 4e5ef20fde251a6d19d6ba7f818f28baf70ca4bc | refs/heads/master | 2021-01-12T01:21:11.238268 | 2017-01-20T00:11:03 | 2017-01-20T00:11:03 | 78,373,534 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,153 | hpp | //
// Ship.hpp
// Ships Class
//
// Created by Ana Zeneli on 12/2/16.
// Copyright © 2016 Ana Zeneli. All rights reserved.
//
#ifndef Ship_hpp
#define Ship_hpp
#include <stdio.h>
#include <iostream>
#include <string>
using namespace std;
/*
Design a Ship class that has the following members:
• A member variable... | [
"anazeneli1@Anas-Air.home"
] | anazeneli1@Anas-Air.home |
90345e96f2a165826c03ab92479c534fffe7778e | 822927ee8b2cb458d161f99eaa2cefce6234924e | /SoundFX.h | f2863b1fd2701768bbcfc48c92eb83ec914da162 | [] | no_license | polus314/mister-roboto | 8ed1ca966639b2f3a0eca1446dccb459323727be | 86c41b289b6ea89b28f5c98386b4c640835543af | refs/heads/master | 2020-04-07T04:40:24.548378 | 2017-03-11T00:26:18 | 2017-03-11T00:26:18 | 51,494,297 | 0 | 0 | null | 2016-04-29T03:00:00 | 2016-02-11T04:37:56 | C++ | UTF-8 | C++ | false | false | 2,187 | h | //-----------------------------------------------------------------------------
// Project: Mister Roboto
//
// Purpose: This class provides a convenient interface for playing the sounds
// music I have for the game.
//-----------------------------------------------------------------------------
#ifndef SOUND... | [
"jppolecat@gmail.com"
] | jppolecat@gmail.com |
7f5cf38e18646f6c948e0f9526881cf8304cf52e | 028d5493934abc77587914009c03d21b9db9bbfd | /基于QT的企业合同管理系统的设计与实现/code/ContractManagement/welcome.h | 3a7d062284ffe67325c9450d0e6059cb38cb30ce | [] | no_license | 18847138124/20151104780_kongdejing | bd103ae252cab656cc60bb1bddd1222f901eb603 | 7e8cd148ec702861758eb1a918682c529b2af549 | refs/heads/master | 2020-04-01T08:39:23.688304 | 2019-03-20T09:06:14 | 2019-03-20T09:06:14 | 153,040,950 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 843 | h | #ifndef WELCOME_H
#define WELCOME_H //防止声明冲突
#include <QDialog> //对话框
//命名空间
namespace Ui {
class Welcome;
}
//欢迎页面
class Welcome : public QDialog
{
Q_OBJECT
public:
//客户端类型
//枚举两种
enum ClientType {
Apply, //申请端
Check //审核端
};
//QWidge *parent表示父类窗口 =0表示它的标志位
// explic... | [
"18847138124@163.com"
] | 18847138124@163.com |
bd4e55151ef25b574f14bd2c746a4109e4092aaf | 82a3c45e7a5d27812e9226af0feccdd50bf11dfb | /NewTrainingFramework/Texture (2019_10_09 07_33_18 UTC).cpp | 6893ed3fcb71cfc6543ad9f9c9fe29eeb48b6d49 | [
"MIT"
] | permissive | Stefania12/GameloftGameEngine | abea777a9ea46c660a0f0c9c2648805f67339d53 | 00555504d48e905fc3e7593cdf4806992f58fcd0 | refs/heads/master | 2020-09-05T10:11:34.428471 | 2019-11-06T19:44:15 | 2019-11-06T19:44:15 | 220,068,377 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,597 | cpp | #include "stdafx.h"
#include "Texture.h"
#include "TextureResource.h"
void getFacePixelArray(char* source, char* destination, int height, int width, int offset, int startx, int nr_bytes)
{
for (int i = startx; i < startx + height / 3; i++)
memcpy(destination + (i - startx) * nr_bytes * width / 4, source + i * width... | [
"stefania.damian1207@gmail.com"
] | stefania.damian1207@gmail.com |
fa7280271e00bc62be735432ec9e178e229809d5 | b3c94e765603de4df6b1dbdb6849fdc164b8294a | /Qt5-C-PlusPlus-Programming-Cookbook/Chapter 2/ButtonAnimationGroup/mainwindow.cpp | 54739a7d779e6680872053b6a6c86fb21d46797b | [] | no_license | Abd-Elrazek/Books-Cpp | 9e056cc34c81d77f7c0d639ec677750deed22f6b | a7300a9ec3e0e2cbf973bc52defc92d823aa9246 | refs/heads/master | 2020-04-18T10:33:16.158063 | 2018-09-27T07:38:55 | 2018-09-27T07:38:55 | 167,470,897 | 1 | 0 | null | 2019-05-25T17:16:00 | 2019-01-25T02:22:00 | C++ | UTF-8 | C++ | false | false | 1,579 | cpp | #include <QPropertyAnimation>
#include <QParallelAnimationGroup>
#include "mainwindow.h"
#include "ui_mainwindow.h"
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
ui->setupUi(this);
QPropertyAnimation *FirstAnimation = new QPropertyAnimation(ui->FirstButton, "g... | [
"noreply@github.com"
] | Abd-Elrazek.noreply@github.com |
cb8e05522ffdb88b4210e71f895a46b1b37412b4 | 8ae7a23f05805fd71d4be13686cf35d8994762ed | /mame150/src/emu/machine/6821pia.h | bc6cbecd78589c9cd29f4b1b5b1a60643cf49396 | [] | no_license | cyberkni/276in1JAMMA | fb06ccc6656fb4346808a24beed8977996da91b2 | d1a68172d4f3490cf7f6e7db25d5dfd4cde3bb22 | refs/heads/master | 2021-01-18T09:38:36.974037 | 2013-10-07T18:30:02 | 2013-10-07T18:30:02 | 13,152,960 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,664 | h | /**********************************************************************
Motorola 6821 PIA interface and emulation
Notes:
* get_port_b_z_mask() gives the caller the bitmask that shows
which bits are high-impendance when reading port B, and thus
neither 0 or 1. get_output_cb2_... | [
"dan@van.derveer.com"
] | dan@van.derveer.com |
1c658756ba674ba6476c6276a562669a08cf085f | e42a3102609ca259626a71d1be6fa5adfcf78979 | /GINnJUCE/src/Toggle.cpp | a3e85b126acd414c8c798358f5d6bcf52decd676 | [] | no_license | adamszaruga/GINnJUCE-Example | bde878151234f4ccef5fde979ce8cec692cf34ab | 0c2ecdd2259c7fdd4bec27f8b684c095a6c5dfc1 | refs/heads/master | 2021-06-27T14:58:12.172258 | 2017-09-12T21:33:34 | 2017-09-12T21:33:34 | 103,317,955 | 6 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,584 | cpp | /*
==============================================================================
This file was auto-generated by the GINnJUCE Transpiler. You're welcome!
==============================================================================
*/
#include "Toggle.h"
Toggle::Toggle() {
initializeText();
initializePath... | [
"adam@users-MacBook-Air.local"
] | adam@users-MacBook-Air.local |
41952bc519219a15ce173687e66b60f974bba275 | 67f631e4215a3a91cdec95ad22714af769d01d64 | /assn1.cpp | 180230b53f5db99519ef2974cae2849e7ad3135a | [] | no_license | abiramrnair/Simple-Assignments | 6e60e1e1c4a29781fb8ccb50455e539033dc70d1 | 646f109140088b71f1129c00cae451603ffafb2b | refs/heads/master | 2021-10-28T15:24:52.970443 | 2018-11-20T00:26:31 | 2018-11-20T00:26:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,404 | cpp | #include <iostream>
using namespace std;
// Define some functions
double calcAverage(char*values[], int sz) { // Function 'A'
cout << "Average" << endl; // Prints out the name
for (int i = 0; i < sz; i++) { // Prints out each term of the input
cout << atof(values[i]) << " ";
}
cout << endl;
double s... | [
"noreply@github.com"
] | abiramrnair.noreply@github.com |
d04458d3199da849ae84a0c4b9cb7504464eac77 | 0dae7744c9461082a402ad413b112bc734d3fee9 | /src/scenes/angleLineScene/angleLineScene.h | 956a921652c52381c560e5d6ad70f2944bacc59a | [] | no_license | ma286/sketches | 7df1226fb5abed06610f29255166bd847c6a4f03 | 37c2dc6163d0454eeb56127f86705c3e22add05a | refs/heads/master | 2021-04-18T22:19:08.372157 | 2013-06-23T11:40:34 | 2013-06-23T11:40:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 766 | h | #pragma once
#include "ofMain.h"
#include "angleLengthLine.h"
#include "baseScene.h"
class angleLineScene : public baseScene {
public:
void setup();
void update();
void draw();
void keyPressed (int key);
void keyReleased(int key);
void mouseMoved(int x, int y );
void mouseDragged(int x, int y, int ... | [
"zach@openframeworks.cc"
] | zach@openframeworks.cc |
c677508dc156f759918a71fe030fa8dda9b08662 | a5a1213414c839c8807ae9326fcfb3d94a93557c | /projects/Final/src/main.cpp | a82391feab999549e67c009864338242af9ea8ef | [] | no_license | DashingCats/Final_CG | 83d6b4cb3e3fe001dada4101764a09554bd08ccc | 8059d8b07898551dd180db9db8555e3872a4a14a | refs/heads/main | 2023-04-10T14:20:32.848788 | 2021-04-25T20:51:02 | 2021-04-25T20:51:02 | 359,630,878 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,725 | cpp | //Just a simple handler for simple initialization stuffs
#include "Utilities/BackendHandler.h"
#include <filesystem>
#include <json.hpp>
#include <fstream>
#include <Texture2D.h>
#include <Texture2DData.h>
#include <MeshBuilder.h>
#include <MeshFactory.h>
#include <NotObjLoader.h>
#include <ObjLoader.h>
#include <Ver... | [
"taylor.horsman@ontariotechu.net"
] | taylor.horsman@ontariotechu.net |
0c439216280d3038a41f0affb8e66dac68508cd4 | 39dd8539a44d9ae1b333697aa8cfd92db1387b8f | /jetpack/src/main.cpp | a478ec7fc4a0076738aa5384ec3b61339d316e11 | [] | no_license | arnavkapoor/OpenGL_Jetpack | ae54acb650b24005a37f44dad74c7223d0313ace | 922cfda944728b75f977935e4e7e6d4fb6c6541d | refs/heads/master | 2020-04-16T23:53:34.084711 | 2019-01-26T12:26:03 | 2019-01-26T12:26:03 | 166,029,538 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,159 | cpp | #include "main.h"
#include "timer.h"
#include "player.h"
#define debug(x) cerr << #x << " is " << x << endl;
using namespace std;
GLMatrices Matrices;
GLuint programID;
GLFWwindow *window;
/**************************
* Customizable functions *
**************************/
Ball ball1;
Floor base;
Magnets magnet;
vect... | [
"arnavk805@gitlab.com"
] | arnavk805@gitlab.com |
9e67ab671fa37a550ee240685d8039944fffae56 | 17e8b775ec28c774857919b8df957145adf2e606 | /spoj/hotels.cpp | ecd9252774670c0509e17b491738fbb4f7399485 | [] | no_license | chamow97/Competitive-Coding | 30b5acc77d51207c55eca91b8da161d80a3fbfab | 8f2d8a1ca6881dbde9c75735240d4e4f681e0138 | refs/heads/master | 2021-04-28T21:40:05.294842 | 2019-09-15T13:25:59 | 2019-09-15T13:25:59 | 77,766,905 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,614 | cpp | //template by chamow
#include<bits/stdc++.h>
/*-------------------------------------------------------- */
using namespace std;
/*-------------------------------------------------------- */
#define rep(i,val,n) for(ll i=val;i<n;i++)
#define per(j,val,n) for(ll j=val;j>=n;j--)
#define pb push_back
#define pi 3.14157
#... | [
"chamowstudios@outlook.com"
] | chamowstudios@outlook.com |
e0eab323b90828fc7984861bc05f5cc2c402fa86 | 5791b78c64fc4076330af128b950e5cc544e333b | /windows/pw6e.official/CPlusPlus/Chapter02/HelloVectorGraphicsPath/HelloVectorGraphicsPath/MainPage.xaml.cpp | 36e7c850068f37e7393ba6119d69588e10304943 | [
"MIT"
] | permissive | nnaabbcc/exercise | 509e2c63389fec768ca07153844b71b864d63a20 | b7ebb55adf9a75ed223555128d77e0f2548450b5 | refs/heads/master | 2023-02-26T07:52:40.093958 | 2023-02-22T01:12:56 | 2023-02-22T01:12:56 | 55,337,514 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,102 | cpp | //
// MainPage.xaml.cpp
// Implementation of the MainPage class.
//
#include "pch.h"
#include "MainPage.xaml.h"
using namespace HelloVectorGraphicsPath;
using namespace Platform;
using namespace Windows::Foundation;
using namespace Windows::Foundation::Collections;
using namespace Windows::UI::Xaml;
us... | [
"nnaabbcc.zhao@gmail.com"
] | nnaabbcc.zhao@gmail.com |
37c1e572c9ad70869c1b1759da75dcfad92c32d9 | 87f3fe3687cd59328f45c6b9c25102a27cf64778 | /Swapping_1.cpp | fc14390c31fae9ee920bb04ff3cf1e3d196cbdab | [] | no_license | HemantSrivastava01/Cpp-Programs | c36d5828c4d76889e18320079149f5ab1a11fd51 | 8d1c52a6665fb3bbe741a8d856d5e4cd84d30643 | refs/heads/main | 2023-03-05T22:22:07.587362 | 2021-02-24T14:30:00 | 2021-02-24T14:30:00 | 341,922,171 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 390 | cpp | //program for swapping values between two variables without
//using 3rd variable
#include<iostream>
using namespace std;
main(){
int a,b;
cout<<"enter value of a : ";
cin>>a;
cout<<"enter value of b : ";
cin>>b;
cout<<"values of a & b before swapping is : "<<a<<","<<b<<endl;
a=a+b;
b=a-b;
a=a-b;
... | [
"noreply@github.com"
] | HemantSrivastava01.noreply@github.com |
7671c56c31a70a5065562691623c63671c6ca860 | 04b1803adb6653ecb7cb827c4f4aa616afacf629 | /media/audio/android/audio_track_output_stream.cc | 1012622b8884b1e1f7252e3a18b8268131fb79e1 | [
"BSD-3-Clause"
] | permissive | Samsung/Castanets | 240d9338e097b75b3f669604315b06f7cf129d64 | 4896f732fc747dfdcfcbac3d442f2d2d42df264a | refs/heads/castanets_76_dev | 2023-08-31T09:01:04.744346 | 2021-07-30T04:56:25 | 2021-08-11T05:45:21 | 125,484,161 | 58 | 49 | BSD-3-Clause | 2022-10-16T19:31:26 | 2018-03-16T08:07:37 | null | UTF-8 | C++ | false | false | 6,163 | cc | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "media/audio/android/audio_track_output_stream.h"
#include <cmath>
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "base/logging... | [
"sunny.nam@samsung.com"
] | sunny.nam@samsung.com |
68b16f438f36229838b691b4d627fa221036267c | 1dd9cd30ae46b0f4b5bf79770d72d6049adb3b56 | /Hackerrank/number_of_subarrays_of_given_length_and_given_sum_subarray_division.cpp | fb69496d555b03aab81399babc30a0c0f5003b20 | [] | no_license | yashsaxena972/Competitive-coding | 1c553b32eb467c45dec5ed5341b6ab5d73bcac0b | 688bd317ccbc061d18015779528d0683298aeeed | refs/heads/master | 2023-02-01T21:00:45.493123 | 2020-12-20T16:26:39 | 2020-12-20T16:26:39 | 289,275,577 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,600 | cpp | // Sub-array Division or Count of subarrays having given length and given sum
/*
Given a chocolate bar, two children, Lily and Ron, are determining how to share it.
Each of the squares has an integer on it.
Lily decides to share a contiguous segment of the bar selected such that:
The length of the segment mat... | [
"40518300+yashsaxena972@users.noreply.github.com"
] | 40518300+yashsaxena972@users.noreply.github.com |
1a53afc89fd4e33bd496a79ca386e7f04c9009fa | ef7157cf22f84b16e5b764890d59a5c4ef10c70e | /app.h | 2f16bb5ef739c85d6c979b350ee2bbb8ec0d9611 | [] | no_license | nathanczh/DRosc-root | bb77e75bf6b7c2174049f156a138066c74ffecf5 | 379c2cfa59f95d4dab7ea5edef96e8bfe2a224e1 | refs/heads/master | 2020-07-24T11:48:16.537940 | 2019-12-18T17:34:15 | 2019-12-18T17:34:15 | 207,914,502 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,250 | h | #ifndef APP_H
#define APP_H
#include <utility>
#include <iostream>
#include <fstream>
#include <cmath>
#include <TH1D.h>
#include <TGraph.h>
#include <TTree.h>
#include <TTreeReader.h>
#include <TTreeReaderValue.h>
#include <TTreeReaderArray.h>
#include <TCanvas.h>
#include <TString.h>
#include <TObject.h>
#include <... | [
"nathan.chan.zh@gmail.com"
] | nathan.chan.zh@gmail.com |
a99a0667f7858a0c3c58ac77f94f5ca0108b4e49 | 6141ca74d015eb03a39cdc73ed6844c4cbb9815e | /archive-patcher/src/main/java/com/google/archivepatcher/generator/bsdiff/wrapper/bsdiff_jni.cc | aa5a85b7cc7ccff1c377173da26cfa5f6a114b86 | [] | no_license | EvilMouth/DiffPatchRecord | 9dc50955fa1b41fef9fd50cd5cd18b30f1499387 | d4423751ac9f20f351b8eeb697fc6a5c69134a63 | refs/heads/master | 2023-01-08T08:04:54.204546 | 2020-10-27T06:31:18 | 2020-10-27T06:31:18 | 279,252,866 | 11 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 6,465 | cc |
// Copyright 2017 Google LLC. 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 applicabl... | [
"izyhang@gmail.com"
] | izyhang@gmail.com |
6f20cfabf8b3b07760d71ee352eaf3d91e776bb6 | 01d767e6e0c237a2688aed222153ab80d2640b79 | /668-kth-smallest-number-in-multiplication-table/668-kth-smallest-number-in-multiplication-table.cpp | 0a1ee282ca117602af916470c70ab29b3bea37ea | [] | no_license | Samiatrix/Leetcode-Problems | 75669ec7a11ccfaa61737c84acc7d704c6cd5767 | 529704d47206ccc574af7fa79df85edafcd768db | refs/heads/master | 2022-06-29T05:34:08.326534 | 2022-06-24T10:58:00 | 2022-06-24T10:58:00 | 239,309,504 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 558 | cpp | class Solution {
public:
int countLessThanOrEqualToMid(int n, int m, int mid){
int count = 0;
for(int i=1;i<=n;i++){
count += min((mid/i), m);
}
return count;
}
int findKthNumber(int m, int n, int k) {
int l = 1, r = m*n;
int ans = -1;
whil... | [
"37403386+Samiatrix@users.noreply.github.com"
] | 37403386+Samiatrix@users.noreply.github.com |
283a78d4ec133f91343a5d0afcd8de6063fbffa3 | 50e400043b373d3ccfe4140b13407b21cb38181b | /app_files/libraries/GFX_Library_for_Arduino/src/databus/Arduino_ESP32SPI.h | 44a098336986e3586a36c2476697d997dce15104 | [] | no_license | gizTM/my-arduino-source-files | 4b60e9ecb895e722bb8f3996135877b80c11ee13 | 4f9d17a8e21a03042a8eec445d4bfacc3a08c126 | refs/heads/master | 2021-06-03T14:13:49.355317 | 2021-04-26T18:13:19 | 2021-04-26T18:13:19 | 136,066,369 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,673 | h | /*
* start rewrite from:
* https://github.com/espressif/arduino-esp32.git
*/
#ifdef ESP32
#ifndef _ARDUINO_ESP32SPI_H_
#define _ARDUINO_ESP32SPI_H_
#include "soc/spi_struct.h"
#include "soc/dport_reg.h"
typedef volatile uint32_t *PORTreg_t; ///< PORT register type
#include "Arduino_DataBus.h"
#define SPI_DEFAULT... | [
"tharinee_fang@hotmail.com"
] | tharinee_fang@hotmail.com |
b1ef34cce16e5721a7515effbaa77b1946979a8c | b3c2f39c37a466b349eda2a0f2cb296ae809d33e | /minisat/simp/SimpSolver.cc | 9d62c54c098587b0116a76bcdbc9d38690002eb3 | [
"MIT"
] | permissive | mvdwerve/minisat | 0851f4040285530cd1f3a9e50f9fa56421b80b6d | 1a584c5a2e2e3a60148b33768a5e6a691536a508 | refs/heads/master | 2021-07-09T21:07:32.560746 | 2017-10-03T16:53:32 | 2017-10-03T16:53:32 | 104,076,179 | 0 | 0 | null | 2017-09-19T13:07:57 | 2017-09-19T13:07:57 | null | UTF-8 | C++ | false | false | 23,002 | cc | /***********************************************************************************[SimpSolver.cc]
Copyright (c) 2006, Niklas Een, Niklas Sorensson
Copyright (c) 2007-2010, Niklas Sorensson
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
associated documenta... | [
"mvdwerve@outlook.com"
] | mvdwerve@outlook.com |
55bf1b0b83d59137cdbe6e6e859d7eeafc9574a2 | 702e6bba478747234b34fad37b37c78f888b7818 | /Paper4最新1128/server/source/event/Event list.cpp | 58b77060ecfa30095f53f89c245110a30ce5bc67 | [] | no_license | 2015ECCSSPaperProject/MAIN | f18b3525f3fa6dda371302b50d72b5a08016baad | b106502de5f2e7977badc56e767268036282f221 | refs/heads/master | 2021-01-13T00:37:06.767556 | 2016-02-24T09:51:12 | 2016-02-24T09:51:12 | 43,874,999 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,131 | cpp |
#include "Event list.h"
#include "Event.h"
Event_list::Event_list() : root(nullptr)
{}
Event_list::~Event_list()
{
if (root)
Deleat_all_node( root );
}
void Event_list::push(Event *in)
{
root = new Node(in, nullptr, root);
if (root->next)
root->next->back = root;
}
void Event_list::U... | [
"ridley.skirmisher@gmail.com"
] | ridley.skirmisher@gmail.com |
9df203289729517bfe6cf6696ecc70122965a6ba | 8567438779e6af0754620a25d379c348e4cd5a5d | /content/browser/frame_host/frame_tree_node_blame_context_unittest.cc | 7f90717427493d54279ff6ba0d0572782ab1e849 | [
"BSD-3-Clause"
] | permissive | thngkaiyuan/chromium | c389ac4b50ccba28ee077cbf6115c41b547955ae | dab56a4a71f87f64ecc0044e97b4a8f247787a68 | refs/heads/master | 2022-11-10T02:50:29.326119 | 2017-04-08T12:28:57 | 2017-04-08T12:28:57 | 84,073,924 | 0 | 1 | BSD-3-Clause | 2022-10-25T19:47:15 | 2017-03-06T13:04:15 | null | UTF-8 | C++ | false | false | 9,222 | cc | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/browser/frame_host/frame_tree_node_blame_context.h"
#include "base/memory/ptr_util.h"
#include "base/run_loop.h"
#include "base/test/tr... | [
"hedonist.ky@gmail.com"
] | hedonist.ky@gmail.com |
91ca9875328533b9e827ba7457b60e94d5df0e1b | c3106e8b2d46dc5c23dd1797b00462f2873dd321 | /Codeforces/Contest954/A.Diagonal_Walking.cpp | efd38e030971b180c102ead7815f57ae0f086eb0 | [] | no_license | cppaymurat/Codeforces_contests | 00dfa66b6b3ce60566c044633ba3a4bd731356fb | 2e900f372af6c67b07f8700a60baa0bdb24d9b2e | refs/heads/main | 2023-05-25T07:41:23.063186 | 2021-06-06T14:26:06 | 2021-06-06T14:26:06 | 374,211,344 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 449 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
int n;
string str;
cin>>n;
cin>>str;
string save = str;
int k = str.find("UR");
int c = 0;
int ans1 = n;
int ans2 = n;
for(int i = 0; i < str.length(); i++)
{
if (str[i] == 'U' && str[i + 1] == 'R' && i + 1 < str.length())
{
ans1--;
i++;
... | [
"cppaymurat@gmail.com"
] | cppaymurat@gmail.com |
b272922eb039f3cf9e7b2a39591d862cf571c7e2 | 19999e0f98e2077e8207e54350fb701a5a04c22e | /Placement/subPlacement.cxx | 4355cecd944809548836a613d820be9ec2a54962 | [
"MIT"
] | permissive | wangjiaqingll/UMICH-Physical-Design-Tools | e9e26977554e585e181be6394f6b2428ac9105d1 | fa0d990fc9def762e3a2843707a7d8a4784d2f8b | refs/heads/master | 2022-11-13T11:05:36.106620 | 2020-07-13T06:35:26 | 2020-07-13T06:35:26 | 277,409,848 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,193 | cxx | /**************************************************************************
***
*** Copyright (c) 1995-2000 Regents of the University of California,
*** Andrew E. Caldwell, Andrew B. Kahng and Igor L. Markov
*** Copyright (c) 2000-2002 Regents of the University of Michigan,
*** Saurabh N... | [
"wangjiaqing.ll@qq.com"
] | wangjiaqing.ll@qq.com |
670ab8519fdce99ba6c442f032af7b45d05fd1b6 | b53795b88ab0201e48c5dc5737e97dfd27e07b22 | /source/client/source/eterLib/GrpScreen.cpp | 24bd73e07033d3abab3b59bb576a6c24279a13d3 | [] | no_license | davidkm2/globalmetin | 9cc63395974eb74b5784a1bf5e733622c7303aa4 | d1a21b549c68e311416544e03ca6218351e12d2f | refs/heads/main | 2023-05-27T08:10:08.506239 | 2021-05-24T01:57:37 | 2021-05-24T01:57:37 | 370,181,109 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 25,262 | cpp | #include "StdAfx.h"
#include "GrpScreen.h"
#include "Camera.h"
#include "StateManager.h"
DWORD CScreen::ms_diffuseColor = 0xffffffff;
DWORD CScreen::ms_clearColor = 0L;
DWORD CScreen::ms_clearStencil = 0L;
float CScreen::ms_clearDepth = 1.0f;
Frustum CScreen::ms_frustum;
void CScreen::RenderLine3d(flo... | [
"davidkm2012@gmail.com"
] | davidkm2012@gmail.com |
df1a53295f99ee5f3cb78c07223de4f5b3dfeaf9 | 12d8ebc3ae6c59de8e2050e35df260d113704ef5 | /source/shared/cgdlCStringUtils.cpp | fe3b4f0fde52823b03531aaa379a0a7c2ce9ddb0 | [
"MIT"
] | permissive | graveman82/cgdl | 46f7b4d61e3cc463d2dc4e31cdcd44808469a259 | 6418de44aab4e3b98adf197d54401081c2d61f3f | refs/heads/master | 2023-08-14T09:34:12.070346 | 2021-10-13T08:41:41 | 2021-10-13T08:41:41 | 415,200,550 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,077 | cpp | /*
//-----------------------------------------------------------------------------
MIT License
Project: CGDL (Common Game Development Library)
Copyright (c) 2021 Marat Sungatullin (aka graveman[82], aka MrSung[82])
Permission is hereby granted, free of charge, to any person obtaining a copy
of thi... | [
"MrSungWork"
] | MrSungWork |
6ae6993e51d702134ccb6faa3cb240427f5bc72f | 9f59296d69ad77f192b24ee64d3e20425e125d28 | /Plugins/SceneFusion/Source/SceneFusion/Private/Testing/sfDeleteActivity.h | acafba78fcf5460692db0fd647b94eb96cc47f8e | [] | no_license | Carp3d/SPARAJJ_World | 67420f60500f2ca2bdaca627a6b1bc20857a1bc9 | 7fbb6bb2cc039c855c52f419137fb535d35dd1a9 | refs/heads/master | 2022-12-18T23:33:34.085627 | 2020-09-26T18:24:26 | 2020-09-26T18:24:26 | 238,057,306 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 492 | h | #pragma once
#include "sfBaseActivity.h"
/**
* Activity that deletes random actors from the level.
*/
class sfDeleteActivity : public sfBaseActivity
{
public:
/**
* Constructor
*
* @param const FString& name of activity.
* @param float weight the determines how likely this activity is to... | [
"57542114+nyxxaltios@users.noreply.github.com"
] | 57542114+nyxxaltios@users.noreply.github.com |
4bfed7d03d5884b41fc17a7458215896031e4250 | 47250118d472ff8ae6af5af9d889a7b2206efa5e | /libif2k/old/if2k_win32install_expertmain.cpp | a1b3ce5d2ebb0f345dfe9328328ea4b46ede7073 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | jdkoftinoff/if2kv2 | 383d043419689a3c7716d2fe20fcb3442e5af2c8 | 167631c34b684001c2d5b762bdfd3e45e2699cad | refs/heads/master | 2016-09-05T16:54:09.544832 | 2015-04-25T18:30:33 | 2015-04-25T18:30:33 | 34,580,580 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,126 | cpp | #if JDK_IS_WIN32
#include "jdk_world.h"
#include "jdk_bindir.h"
#include "wninstall.h"
#include "jdk_string.h"
#include "jdk_settings.h"
#include "jdk_util.h"
#include "jdk_lz.h"
#include "jdk_httprequest.h"
#include "jdk_dynbuf.h"
#include "if2k_config.h"
#include "if2k_win32install_expert.h"
#include "if2k_win32inst... | [
"none@none"
] | none@none |
f0e208bd6604aa39c010b0840cfcce73d632e5d1 | 1c52a71a1d6851842a13ff193771aed24e46318c | /codeforces/722-B/722-B-21096995.cpp | 803526be3c3294001f3e502fb890e6719017aab0 | [] | no_license | nimxor/competitive_progeamming | d19654b94478aa59ff2103b4433e613f1fdf5ff6 | 7caf1353a2e8fc3d423cc9711228fbb4fd1e9a97 | refs/heads/master | 2021-01-19T03:28:52.056161 | 2017-04-05T14:02:33 | 2017-04-05T14:02:33 | 87,314,559 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 928 | cpp | #include<bits/stdc++.h>
using namespace std;
#define ll long long
#define mset(m,v) memset(m,v,sizeof(m))
#define pb push_back
#define pob pop_back
#define pof pop_front
#define pf push_front
#define mp make_pair
#define fi first
#define se second
#define pi 3.1415926535897932384
#define mod 1000000007
#de... | [
"shubhamgupta190496@gmail.com"
] | shubhamgupta190496@gmail.com |
f38fd3cc36bd43ecbab1e3fbdc5220fa3e42c2a5 | 0eef83063c67480b41ec88146fd62ad126b4160b | /3rdparty/glslang/SPIRV/GlslangToSpv.cpp | 05165a60c724a035ea2d64b9a39366d2a728bf0a | [
"BSD-2-Clause",
"MIT",
"LicenseRef-scancode-free-unknown"
] | permissive | Crunkle/bgfx | 4d081b7e1d8d10cd914778dd06a0b62afb382f6b | c87d8afd16d676a3f952568e595c17101ed424e8 | refs/heads/master | 2020-03-25T02:53:16.479256 | 2018-08-02T22:35:13 | 2018-08-02T22:35:13 | 143,311,916 | 0 | 0 | BSD-2-Clause | 2018-08-02T15:17:36 | 2018-08-02T15:17:35 | null | UTF-8 | C++ | false | false | 294,987 | cpp | //
// Copyright (C) 2014-2016 LunarG, Inc.
// Copyright (C) 2015-2016 Google, Inc.
// Copyright (C) 2017 ARM Limited.
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
//
// Redistribut... | [
"branimirkaradzic@gmail.com"
] | branimirkaradzic@gmail.com |
79535cf2db93e0614a056a4cdee42143c6d36941 | 84b74c86448c41b85d9d8ab3fa008798277f7cee | /src/v2/model/boorusite.cpp | 65369f7cef2652ccfb272cf8e578f6c9e87cc5d1 | [] | no_license | glade0lus/QBooru | 41c253142b62d732db43d7faf98c716b04b142f3 | 76f9079df54b0aaf9cb2ff4625a0fcaff101e860 | refs/heads/master | 2021-07-10T04:40:13.725663 | 2018-11-21T21:02:47 | 2018-11-21T21:02:47 | 91,212,932 | 1 | 1 | null | 2021-04-02T18:06:37 | 2017-05-14T01:39:07 | C++ | UTF-8 | C++ | false | false | 1,957 | cpp | #include "boorusite.h"
BooruSite::BooruSite()
{
}
BooruSite::BooruSite(Json::Value obj)
{
init(obj["name"].asString(), API::getAPIFromID(obj["api"].asInt()), obj["url_main"].asString(), obj["url_search"].asString(), obj["url_show"].asString(), obj["url_login"].asString(), obj["login_required"].asBool());
}
Boor... | [
"florent.uguet@gmail.com"
] | florent.uguet@gmail.com |
23ab48973f6d1c81a75cc3817db554141c39e383 | 5a87eaac41c3341c52fb01f347eb991b9aaffe95 | /apue/chapter8/8.10.1.cpp | 277574cfe5939b8d1b3b640faea280a55c9d0663 | [] | no_license | TTLIUJJ/MyLearning | 031cd457379a403a526478048604ccf00308b0fb | 1682796cb9f8da59e6c87e6e015aa4e12bbeab2a | refs/heads/master | 2021-01-17T17:48:21.252858 | 2017-03-25T15:10:48 | 2017-03-25T15:10:48 | 70,613,108 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 710 | cpp | #include <iostream>
#include <sys/wait.h>
#include "apue.h"
using namespace std;
char *env_init[] = {"USER=unknown", "PATH/tmp", "NULL"};
int main()
{
pid_t pid;
if((pid = fork()) < 0){
cerr << "Fork() Error" << endl;
return -1;
}
else if(pid == 0){
if(execle("/bin/echo", "echo", "myargl", "My Arg2",
... | [
"TTLIUJJ@GMAIL.COM"
] | TTLIUJJ@GMAIL.COM |
60f8bf90b4145b774e27932d1f634ae482d31942 | c7f3db94cc3d69cd9a2ae24aa3c69cd767b28672 | /must_rma/src/externals/GTI/modules/comm-strategy/CStratSimpleUp.h | 5380a152230b0ab9a2aec1200985f873fe3dd6a0 | [] | no_license | RWTH-HPC/must-rma-correctness22-supplemental | 10683ff20339098a45a35301dbee6b31d74efaec | 04cb9fe5f0dcb05ea67880209accf19c5e0dda25 | refs/heads/main | 2023-04-14T20:48:36.684589 | 2022-08-10T20:28:43 | 2022-11-18T03:33:05 | 523,105,966 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,640 | h | /* This file is part of GTI (Generic Tool Infrastructure)
*
* Copyright (C)
* 2008-2019 ZIH, Technische Universitaet Dresden, Federal Republic of Germany
* 2008-2019 Lawrence Livermore National Laboratories, United States of America
* 2013-2019 RWTH Aachen University, Federal Republic of Germany
*
* See the L... | [
"schwitanski@itc.rwth-aachen.de"
] | schwitanski@itc.rwth-aachen.de |
21aa6c63cfb2d5ce974065e1da2558e6a3a5bcee | d4d4e9c9b22bdbc7af03e79af3559e6effe4f63e | /CodeJam/qualification_round/b.cpp | ae9d32afacc12b68073d7ae9b42f7efd1e45645f | [] | no_license | deeepeshthakur/CodeFiles | ea8d9c4a2b7a21c853ba8fc953c532e74576a791 | 3c9f08770a2628fa6eaef28fff212bfa1db96d16 | refs/heads/master | 2021-07-09T20:08:30.258607 | 2020-07-06T03:50:57 | 2020-07-06T03:50:57 | 160,020,105 | 2 | 1 | null | 2020-07-06T03:44:02 | 2018-12-02T06:26:50 | C++ | UTF-8 | C++ | false | false | 1,290 | cpp | #include<bits/stdc++.h>
#define F first
#define S second
#define pb push_back
#define mp make_pair
#define full(a) a.begin(),a.end()
#define rfull(a) a.rbegin(),a.rend()
using namespace std;
const double pi=acos(-1.0);
const double pii=2*pi;
const double eps=1e-6;
const long long MOD=1e9+7;
void solve(int test_case){... | [
"deeepeshthakur@gmail.com"
] | deeepeshthakur@gmail.com |
8e4fa644aef79e934c3284c88254d1a38bbb4398 | dbe71f422219752454925871cf27df8c84da312d | /cpp01.cpp | 07806c26f98811e8dc41d8a2771b38cdda7be553 | [] | no_license | tsp1998/CPP | 8e1ee8f2ea746416123db23bcdfca3827960ffbf | 44d110574a84032bcdfe3c2ee9f09bb7b060d21d | refs/heads/master | 2023-03-27T22:07:15.887860 | 2021-03-28T07:00:21 | 2021-03-28T07:00:21 | 326,348,172 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 263 | cpp | //show the output
/*
Tandale Shubham Parmeshwar
Programmer
SKNSCOE,Korti
Email-tsp@outlook.in
*/
#include <iostream>
using namespace std;
public
class s
{
s1()
{
cout << "hello"
<< "this is Java programming" << endl;
}
int main()
{
s o;
o.s1();
} | [
"shubham.tandale@qualitiasoft.com"
] | shubham.tandale@qualitiasoft.com |
98c32412e2567ea896497aaa75d950632d16555a | 636394fc4967123179dd2dc935f437e735c6d38a | /export/windows/obj/src/flixel/input/FlxSwipe.cpp | b26e49be9df85378d854340fcd5f7b7d75b70c3d | [
"MIT"
] | permissive | arturspon/zombie-killer | 865e6ef3bdb47408f9bfea9016f61bf19b2559c7 | 07848c5006916e9079537a3d703ffe3740afaa5a | refs/heads/master | 2021-07-18T16:44:26.556092 | 2019-05-04T13:56:08 | 2019-05-04T13:56:08 | 181,805,463 | 0 | 1 | MIT | 2021-07-16T23:18:46 | 2019-04-17T02:50:10 | C++ | UTF-8 | C++ | false | true | 12,798 | cpp | // Generated by Haxe 4.0.0-rc.2+77068e10c
#include <hxcpp.h>
#ifndef INCLUDED_95f339a1d026d52c
#define INCLUDED_95f339a1d026d52c
#include "hxMath.h"
#endif
#ifndef INCLUDED_flixel_FlxG
#include <flixel/FlxG.h>
#endif
#ifndef INCLUDED_flixel_FlxGame
#include <flixel/FlxGame.h>
#endif
#ifndef INCLUDED_flixel_input_FlxSw... | [
"artursponchi@gmail.com"
] | artursponchi@gmail.com |
2869f8c6a07b3a7ae848495111ed78acbcb3a33e | 3122ac39f1ce0a882b48293a77195476299c2a3b | /clients/cpp-qt5-qhttpengine-server/generated/server/src/models/OAIBranchImpllinks.h | 1ff159f7cd9af6fe72d385fbf5fead171f8a7ed8 | [
"MIT"
] | permissive | miao1007/swaggy-jenkins | 4e6fe28470eda2428cbc584dcd365a21caa606ef | af79438c120dd47702b50d51c42548b4db7fd109 | refs/heads/master | 2020-08-30T16:50:27.474383 | 2019-04-10T13:47:17 | 2019-04-10T13:47:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,565 | h | /**
* Swaggy Jenkins
* Jenkins API clients generated from Swagger / Open API specification
*
* OpenAPI spec version: 1.1.1
* Contact: blah@cliffano.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually... | [
"cliffano@gmail.com"
] | cliffano@gmail.com |
455a32c061addc02b2803abe03f6846d799ea549 | 1f77f63fc4bcf538fc892f6a5ba54058367ed0e5 | /src/csalt/src/userfunutils/BoundData.cpp | d3d5a4c31ec4da8e400840b0320e0a626f453dc9 | [
"Apache-2.0"
] | permissive | ChristopherRabotin/GMAT | 5f8211051b620562947443796fa85c80aed5a7cf | 829b7c2c3c7ea73d759c338e7051f92f4f2f6f43 | refs/heads/GMAT-2020a | 2022-05-21T07:01:48.435641 | 2022-05-09T17:28:07 | 2022-05-09T17:28:07 | 84,392,259 | 24 | 10 | Apache-2.0 | 2022-05-11T03:48:44 | 2017-03-09T03:09:20 | C++ | UTF-8 | C++ | false | false | 12,207 | cpp | //------------------------------------------------------------------------------
// BoundData
//------------------------------------------------------------------------------
// GMAT: General Mission Analysis Tool
//
// Copyright (c) 2002 - 2020 United States Government as represented by th... | [
"christopher.rabotin@gmail.com"
] | christopher.rabotin@gmail.com |
52ffd96ebd6bf457225a6c148c49c357930f38ea | 33d88cf70ad9f56d2833b150b932ab07d08e9b6e | /graphs/cheapest_flights_within_k_stops.cpp | 89c03b76e32408a14e0a4a43a9bc9cf9b650df86 | [] | no_license | sanyamdtu/interview_questions | 386c33fd8a72ff22a73cfb4c3b1d4d730695cc63 | 157880e9d83009db455eec1a370010ea7b494ea0 | refs/heads/main | 2023-08-14T21:43:26.330843 | 2021-10-02T06:18:46 | 2021-10-02T06:18:46 | 315,205,280 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 884 | cpp |
class Solution
{
public:
struct comp
{
bool operator()(vector<int> &a, vector<int> &b)
{
return (a[0] > b[0]);
}
};
int findCheapestPrice(int n, vector<vector<int>> &arr, int u, int v, int k)
{
vector<vector<pair<int, int>>> g(n);
for (auto i : ar... | [
"sanyamexam@gmail.com"
] | sanyamexam@gmail.com |
3c9ad27907604e4e20c6db4d867861cbbb59b24f | 6e6d9526d20b54522f152519ecf0167622219006 | /docker/Distributed-Mining/gen-cpp/WorkerService_types.h | 57d2527ddf6987f0f4593f075e2dacf19d5d3897 | [] | no_license | dream-lab/DiPETrans | a46bc94d25da14cd8bf7563e9967ef146ff003ea | 1d0b1a6849e55643a23f089323def42fa6e6b09d | refs/heads/master | 2023-03-09T20:12:43.692829 | 2021-02-21T10:24:09 | 2021-02-21T10:24:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 1,454 | h | /**
* Autogenerated by Thrift Compiler (0.12.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
#ifndef WorkerService_TYPES_H
#define WorkerService_TYPES_H
#include <iosfwd>
#include <thrift/Thrift.h>
#include <thrift/TApplicationException.h>
#include <thrift/TBase.h>
#inclu... | [
"skmonga.hbk@gmail.com"
] | skmonga.hbk@gmail.com |
dce6de421c539ef9246017f9d84b0a99a2b96e57 | f44a83522f95801a5609ae527396a50ea9c713e7 | /practise/lcs.cpp | 6f425f30e480b132e91f2f3270bc90b5114d63c5 | [] | no_license | ngk123/algorithms | c89e021ee258dc7762f6b73b67a64b92f9bd5bcb | 7e2bcc9b62a885f5a86ba121fe5a22badb4f9c05 | refs/heads/master | 2021-01-20T00:27:21.185896 | 2017-04-23T08:58:42 | 2017-04-23T08:58:42 | 89,129,321 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,697 | cpp | #include <vector>
#include <list>
#include <map>
#include <set>
#include <deque>
#include <queue>
#include <stack>
#include <bitset>
#include <algorithm>
#include <functional>
#include <numeric>
#include <utility>
#include <sstream>
#include <iostream>
#include <iomanip>
#include <cstdio>
#include <cmath>
#include <cst... | [
"khadenilesh92@gmail.com"
] | khadenilesh92@gmail.com |
ad5718acc0318347b15f60abe93019ed6bb2f808 | 395d1860e82bc75ccc04b91c4b9a8fa46276d9bb | /Source/Animation/Animation/Playback/Multithreaded/SampleAndCombine/hkaAnimationSampleAndCombineJobs.h | 4e666c155c464fc47e6549bde2e71a62ced25928 | [] | no_license | Hakhyun-Kim/projectanarchy | 28ba7370050000a12e4305faa11d5deb77c330a1 | ccea719afcb03967a68a169730b59e8a8a6c45f8 | refs/heads/master | 2021-06-03T04:41:22.814866 | 2013-11-07T07:21:03 | 2013-11-07T07:21:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,958 | h | /*
*
* 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 ... | [
"joel.van.eenwyk@havok.com"
] | joel.van.eenwyk@havok.com |
dc86cfb44168ecb489ad68e0f11fd34660d4658b | 37221af35b41dcd209e7ec076c50047cb35af348 | /app/src/main/cpp/vins_system/system.cc | 1c8a943a567beea6f605a64a2fa221292867c41c | [] | no_license | euwen/VINS_Honor | e08e3b433eda3f7ba0c94f1dcc6a5287d784e816 | d13bf81ec407325c0078fac57ce8ae30d546eea1 | refs/heads/master | 2022-10-03T21:59:12.451488 | 2020-06-04T14:34:40 | 2020-06-04T14:34:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,676 | cc | #include "system.h"
System* System::instance = nullptr;
ASensorEventQueue* System::accSensorEventQueue = nullptr;
ASensorEventQueue* System::gyrSensorEventQueue = nullptr;
System::System() {
//LOGI("System Constructor");
this->instance = this;
}
System::~System() {
LOGI("System Destructor");
}
void Syste... | [
"clearcumt@163.com"
] | clearcumt@163.com |
18bd3412d11bd14b3b74bb7ebe01020d52c576ec | 6cd5be1764cbbeb29854b43c6970ff832e859d74 | /locomoto.h | daf5099a5f9c984f4bfc3de61b65a44de46308a2 | [] | no_license | EndianaJones/Robbot | de4d2e9547b185c54df3b0222464b6f869760b07 | e98c42a1ac7d1401c5aee18bedfd2a85dee7deba | refs/heads/master | 2021-05-06T15:07:05.955361 | 2017-12-08T05:06:22 | 2017-12-08T05:06:22 | 113,533,430 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,167 | h | #ifndef LOCOMOTOR_H_INCLUDED
#define LOCOMOTOR_H_INCLUDED
#include "std_lib_facilitie.h"
using namespace std;
class locomotor {
private:
double part_max_speed; // in MPH
double part_power; //in watts
int part_battery_comp;
string part_name;
int part_number;
... | [
"noreply@github.com"
] | EndianaJones.noreply@github.com |
46f6337aa1620c42b287f44605dbcddf8ec5d382 | 2f078361c5890e46fdebbc85db1649484513f0d9 | /UVaProblems/graph_theory/min_span_tree/variants/10048/k.cpp | d6af1951cdf0b60de4481f142b6cb70016e37cc7 | [] | no_license | joseg4570/OJ_problems | 6bdcb29d8e52ef56024c53f105ed6f00cce60bea | c60d3dc0e569cb5955d7b60b94e9e551a37f0023 | refs/heads/master | 2021-01-11T10:19:49.866093 | 2016-10-31T19:33:31 | 2016-10-31T19:33:31 | 72,462,656 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,692 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
#include <cstring>
using namespace std;
#define x first
#define y second
#define NMAX 105
typedef pair<int,int> ii;
typedef pair<int,ii> edge;
typedef vector<edge> ve;
typedef vector<int> vi;
typedef vector<ii> vii;
typedef vector<vii> graph;
graph G;
vi vis... | [
"joseg4570@gmail.com"
] | joseg4570@gmail.com |
74df38e9739d9a07794a89107774767456dc3711 | 471ab22889d52ff4027dee2902ffc6edfae8e23b | /inference/cc/src/Config.cc | a50c9f6d12faff4e39d35b50c94a630728a7516d | [] | no_license | SunYanCN/etagger | bd664ac83f2fbf8bdc2d66d25442c6d04316f18b | 27143071868fce80d71661ccfb6fd83be7f955f6 | refs/heads/master | 2021-08-28T11:33:01.800372 | 2021-08-22T10:45:27 | 2021-08-22T10:45:27 | 240,457,337 | 0 | 0 | null | 2021-08-22T13:55:46 | 2020-02-14T08:03:38 | Python | UTF-8 | C++ | false | false | 164 | cc | #include "Config.h"
/*
* public methods
*/
Config::Config()
{
}
Config::Config(int word_length)
{
this->word_length = word_length;
}
Config::~Config()
{
}
| [
"hazzling@gmail.com"
] | hazzling@gmail.com |
f3d6dc30f1599512b14fb06812f86917a236287c | 0fd7bfc4effe067c2887e2e29e08e9bfa4446398 | /Source/Plugins/PulsePalOutput/PulsePalOutputEditor.cpp | a5ee04bce64a47463a629a87c12fe4bf1335464c | [] | no_license | priyanjitdey94/plugin-GUI | baf4c17d9a50a8457fb047375f32672b7fa8d4bc | c1665986aac79888515b75a8a851211b1fb4c516 | refs/heads/master | 2021-01-17T17:54:01.994930 | 2016-04-07T18:28:27 | 2016-04-07T18:28:27 | 53,115,629 | 1 | 0 | null | 2016-03-04T07:17:38 | 2016-03-04T07:17:38 | null | UTF-8 | C++ | false | false | 5,321 | cpp | /*
------------------------------------------------------------------
This file is part of the Open Ephys GUI
Copyright (C) 2014 Open Ephys
------------------------------------------------------------------
This program is free software: you can redistribute it and/or modify
it under the term... | [
"aacuelo@teleco.upv.es"
] | aacuelo@teleco.upv.es |
41407c4f5d876dcb8c3043ee6d5af4fc9fe27312 | 4e49f2b456882ba8643907a196f86b3062004243 | /MFCTeeChart/MFCTeeChart/TeeChar/circulargauge.h | 7779480bac2b1530fabf25237941c2fa9677cada | [] | no_license | 772148702/Artificial-Intelligence | d4616acf13a38658fc38e71874091b4a0596f6ac | 3b2c48af7a88adc2d2fab01176db7c811deda1d1 | refs/heads/master | 2018-08-29T19:14:37.293494 | 2018-07-06T15:16:10 | 2018-07-06T15:16:10 | 108,261,921 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,739 | h | // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
// NOTE: Do not modify the contents of this file. If this class is regenerated by
// Microsoft Visual C++, your modifications will be overwritten.
// Dispatch interfaces referenced by this interface
class CTeeShape;
class CFramedBorde... | [
"772148702@qq.com"
] | 772148702@qq.com |
712b4660454db4ed82e181a8b1f73b3f2562a80a | 69e201ccaab52f8cdbc8ac3da0634f2cb49fdccf | /cap2/Scopy2.cpp | 0047d6390ab744b3b1b69a4b89d77f7bfd648b19 | [] | no_license | sebassdc/pensar-cpp | c05dae0da227e827d6ab03115ffe039c1fe2831f | 81468397c578c746629ac6707154fd17ebb6f431 | refs/heads/master | 2020-04-04T17:19:23.033347 | 2018-11-04T19:18:44 | 2018-11-04T19:18:44 | 156,116,148 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 373 | cpp | // Copy one file to another, a line at time
#include <string>
#include <iostream>
#include <fstream>
using namespace std;
int main() {
ifstream in("Scopy.cpp"); // Open for reading
ofstream out("Scopy2.cpp"); // Open for writing
string s;
while(getline(in, s)) { // Discards newline char
out << s << "\n"; ... | [
"sebassdc@gmail.com"
] | sebassdc@gmail.com |
7493bff9f1160a4db0963f5764de60cb28b891e5 | 75cc8a6c2e0e19dc8e76cd3bdf6618cb1929e5ec | /leetcode C/leetcode38CountAndSay.cpp | 63787697e1d044bffd5b28437249e6a7db27d003 | [] | no_license | candyqinlibo/leetcode | 859ac3ad40ca4800d4bcc18f5f8ecae167c46e30 | 6a1709785c67f3c6552760d0b04f19a2384c3961 | refs/heads/master | 2020-06-04T02:46:55.731991 | 2015-12-15T10:00:44 | 2015-12-15T10:00:44 | 41,775,221 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,541 | cpp | // leetcode38CountAndSay.cpp : 定义控制台应用程序的入口点。
//
#include "stdafx.h"
#include "string.h"
#include "malloc.h"
char* countAndSay(int n){
if (n == 1) return "1";
char *cur = (char*)malloc(2*sizeof(char));
char* tmp;
cur[0] = '1';
cur[1] = 0;
int len, idx, j, count;
for (int i = 1; i < n;i++)
{
len = strlen(cu... | [
"gao.hzy@unearby.com"
] | gao.hzy@unearby.com |
515bb9360b6c181675fa012ed1575fc9f04b32e1 | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/git/new_hunk_7360.cpp | cab72366541fba147452ed11e4c3c91a7e0844b1 | [] | no_license | ccdxc/logSurvey | eaf28e9c2d6307140b17986d5c05106d1fd8e943 | 6b80226e1667c1e0760ab39160893ee19b0e9fb1 | refs/heads/master | 2022-01-07T21:31:55.446839 | 2018-04-21T14:12:43 | 2018-04-21T14:12:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 298 | cpp | git diff expect.err output.err
'
cat > expect <<EOF
boolean: 0
integer: 0
string: (not set)
arg 00: --quux
EOF
test_expect_success 'keep some options as arguments' '
test-parse-options --quux > output 2> output.err &&
test ! -s output.err &&
git diff expect output
'
test_done
| [
"993273596@qq.com"
] | 993273596@qq.com |
8f400307eebbb349fd0039ec2ae059ae80b5b53c | 58fc843305fe9f745677d195ca9c0277a24e77f1 | /src/tools/properties.cpp | dd3f5320b23d51ebd725383eae3870cabcc14d35 | [
"MIT"
] | permissive | gionellef/occa | 61fc79555d027215ab2f2834bf286bf55e5ad8e5 | d7fa75a9d5e422f3c80a694acdd2097a10056911 | refs/heads/master | 2022-08-16T01:32:36.835014 | 2020-05-22T03:10:25 | 2020-05-22T03:10:25 | 265,815,861 | 0 | 0 | MIT | 2020-05-21T10:08:17 | 2020-05-21T10:08:16 | null | UTF-8 | C++ | false | false | 1,382 | cpp | #include <occa/io/utils.hpp>
#include <occa/tools/properties.hpp>
#include <occa/tools/string.hpp>
namespace occa {
properties::properties() {
type = object_;
initialized = false;
}
properties::properties(const properties &other) {
type = object_;
value_ = other.value_;
// Note: "other" mig... | [
"dmed256@gmail.com"
] | dmed256@gmail.com |
08028dc2c5306b438ffd197779a8cda0138a253c | d43e19bd4670a90a7a6751b3fb8cf5d479db61a7 | /UnrealArcheryShooter/Source/UnrealArcheryShooter/Public/Weapon/Widget/WeaponShopGrid.h | fca8010433f82dfc61e3484469389654d6261e6d | [
"MIT"
] | permissive | Prastiwar/UnrealArcheryShooter | 819899a19dacd10c12b6b58f15bc3c3c77f24146 | 45dd74f762ef413bb857ce8d66d7d8cee9aae564 | refs/heads/master | 2020-03-29T07:19:06.681474 | 2018-12-30T17:48:51 | 2018-12-30T17:48:51 | 149,660,495 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 872 | h | // Authored by Tomasz Piowczyk. MIT License. Repository: https://github.com/Prastiwar/UnrealArcheryShooter
#pragma once
#include "ItemGrid.h"
#include "WeaponShop.h"
#include "WeaponShopItem.h"
#include "WeaponShopGrid.generated.h"
class AUnrealArcheryShooterGameMode;
UCLASS()
class UNREALARCHERYSHOOTER_API UWeapon... | [
"tomasz.piowczyk@gmail.com"
] | tomasz.piowczyk@gmail.com |
b16d43b53c8919aabbffb3652ce3dfb8ab2289dd | 88c6f71aa484af0da734b95f417a5dfca1c0ca59 | /ComputeArea.cc | 710763bdce0e895a6c31e33b90fda760ebf9e5aa | [] | no_license | jas0ns/StupidLeetcode | 59025700aec955eb035f919faa13283a83d0abe1 | a3540ef5110e9782a9478aeb1945f8b3ee2b2154 | refs/heads/master | 2021-01-09T20:11:48.663636 | 2016-08-09T09:43:18 | 2016-08-09T09:43:18 | 64,645,959 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 511 | cc | #include <iostream>
using namespace std;
class Solution {
public:
int computeArea(int A, int B, int C, int D, int E, int F, int G, int H) {
int l, r, t, b, w, h;
if (C < E || A > G) return 0;
if (B > H || D < F) return 0;
l = A > E ? A - E : E - A;
r = C > G ? C - G : G - C;
t = D > H ? D - ... | [
"jasons_toy@foxmail.com"
] | jasons_toy@foxmail.com |
5b691791b2d3c5f476ae686ffc617368fe17ba59 | 9cfecad20b7d064822f34fd1890c3dfc3abf7eb5 | /Prototypes/7 Step/ButtonInteraction/ArduinoClient/LightBarrier.cpp | 296117a27742e61bdbd60eaddd545c4ad37aadbf | [] | no_license | hnnswldschtz/DataMatters | bd1dabcc19411ef6ef72d8a8a26bca8b6a31215e | bfaa74f5916bfbef908eea7877156844afa51962 | refs/heads/master | 2021-01-07T06:50:10.545529 | 2019-10-01T12:34:21 | 2019-10-01T12:34:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 605 | cpp | #include "LightBarrier.h"
LightBarrier::LightBarrier(int pin, int amountHoles){
_lightBarrierPin = pin;
pinMode(_lightBarrierPin, INPUT);
digitalWrite(_lightBarrierPin, HIGH);
_oldValue = digitalRead(_lightBarrierPin);
_counter = 0;
_notification = amountHoles * 2;
}
boolean LightBarrier::notification... | [
"christopherheiden9@gmail.com"
] | christopherheiden9@gmail.com |
5eb0144f642f8fd9f77f9441707987dc2a53609b | a22df522dda3adafee053a2bb76d2365e7d079a7 | /BOOV_PROJECT.cpp | f0d6332bc0f6f1f209d2313c21e923a4719b9dc6 | [] | no_license | MoustafaRoushdy/BOOV-Game | 907b8b112f7f015c838c8903ee1f88a54e9afe3c | 5d3c1134cc5bff3d7fe7178c4954225cb02b346f | refs/heads/main | 2023-07-30T18:31:17.682431 | 2021-09-18T18:57:50 | 2021-09-18T18:57:50 | 407,651,923 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,906 | cpp | // BOOVproject.cpp : This file contains the 'main' function. Program execution begins and ends there.
//
#include <iostream>
#include "BOOV.h"
#include <ctime>
#include"gorg.h"
using namespace std;
int main()
{
srand(static_cast<unsigned>(time(0)));
//getting the boov's health
int health = 0 ;
... | [
"noreply@github.com"
] | MoustafaRoushdy.noreply@github.com |
bbf3318a23b3f40037ecd8c5e874ec02299f7bd9 | 0deb58e0bf0241596b381e97d1998dcec8788fa1 | /lab07/lab07.cpp | 1d505becb5b122e79731c97a3753727fb81ed37d | [] | no_license | botanegg/computationLabs | 24f29539002e8e5a02cc3a1c361046ffbd4d658f | ed34f7f74bf4af3b6f7f2ab0dfb99b598ade7949 | refs/heads/master | 2021-01-02T08:51:32.250142 | 2017-12-11T16:08:00 | 2017-12-12T00:39:57 | 24,266,304 | 0 | 1 | null | 2017-12-12T00:39:58 | 2014-09-20T15:29:23 | C++ | UTF-8 | C++ | false | false | 4,038 | cpp | #include <iostream>
#include <cmath>
#include <vector>
#include <float.h>
using namespace std;
//General
double f(double x);
double a = 0;
double b = 3.1415926;
//2
double formulaTrapeze(double a, double b, int m);
double formulaSimpson(double a, double b, int m);
void ruleRunge();
//3
double formulaGauss(double a... | [
"botankras@gmail.com"
] | botankras@gmail.com |
03456dc0b3fa3d3421b9b5aed6591a2244ab1d84 | fb75f312fa0a0a733364dc0f3429a2d5563e3ee3 | /SwordToOffer/Interview.cpp | 687d18e243984e37b89bbd61e993ad058eb01a34 | [] | no_license | neuwyq/GHCXX | 2ade656b932eb5f9da3a8f9c57618ad3cb3b8871 | eb9f806d250d752be793260993f48fb83bbcd0b2 | refs/heads/master | 2020-04-09T18:12:17.521607 | 2018-12-05T10:55:56 | 2018-12-05T10:55:56 | 160,504,745 | 1 | 0 | null | 2018-12-05T10:57:46 | 2018-12-05T10:57:46 | null | UTF-8 | C++ | false | false | 4,553 | cpp | //
// Created by GH on 2018/11/26.
//
#include "Interview.h"
bool duplicate(int numbers[], int length, int *duplicate) {
if (numbers == nullptr || length <= 0)
return false;
for (int i = 0; i < length; ++i) {
if (numbers[i] < 0 || numbers[i] >= length)
return false;
}
for... | [
"784558153@qq.com"
] | 784558153@qq.com |
e63f31cc224324b9924c2e79bcf8226813500404 | a909df0ba2abf695df4a7d15350312d4c6463c48 | /Kattis/simonsays.cpp | 0617b4a967b59d72fcf27c9fd4659071fe5bea81 | [] | no_license | SayaUrobuchi/uvachan | 1dadd767a96bb02c7e9449c48e463847480e98ec | c213f5f3dcfc72376913a21f9abe72988a8127a1 | refs/heads/master | 2023-07-23T03:59:50.638063 | 2023-07-16T04:31:23 | 2023-07-16T04:31:23 | 94,064,326 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 330 | cpp | #include <stdio.h>
#include <iostream>
#include <string>
char buf[1048576];
int main()
{
int n, i;
std::string s;
while (std::cin >> n)
{
std::getline(std::cin, s);
for (i=0; i<n; i++)
{
std::getline(std::cin, s);
if (sscanf(s.c_str(), "Simon says%[^\n]", buf) == 1)
{
puts(buf);
}
}
}
re... | [
"sa0726866@gmail.com"
] | sa0726866@gmail.com |
cbef264a1e0daca1a303d500f768c8538310788a | 665b72d4f1751cca0bcb18ec7ed2ba4d413a409b | /steeringseek.h | 00f277c6fb2becec55f200208c3f06e32d21df93 | [] | no_license | bizcocho-man/utad-ai-pathfinding-navmesh | 1645d7a003f13c949dd3bcb65ae909a9c20a4383 | c7f2f368861ef411fd14b77c6865265b5a0716c5 | refs/heads/master | 2022-05-13T21:59:54.268329 | 2018-01-26T12:22:02 | 2018-01-26T12:22:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 472 | h | #ifndef __STEERINGSEEK_H__
#define __STEERINGSEEK_H__
#include "steering.h"
class SteeringSeek : public Steering
{
public:
SteeringSeek();
~SteeringSeek();
virtual USVec2D GetSteering(Character* character, const USVec2D& target);
virtual float GetAngularSteering(Character* character, float targetRotation) { retu... | [
"shielderjohn@gmail.com"
] | shielderjohn@gmail.com |
75ec73037b18d0fc163f92054be222a916579182 | ccc8189650a214778bc9e446d4e1fc76cd1d606c | /src/tasks/spherical_wave/include/parser_spherical_wave.h | dfa52684fa733e9663e722f881684558c2bf5ab8 | [] | no_license | PanovaElena/ParallelFourierSolvers2 | bc64a9294fbcf879e0d37a0502acf291e2539855 | 427835108a4c862e2509cf5c9226da3d563a0be9 | refs/heads/master | 2022-03-09T09:32:30.505699 | 2020-06-03T14:54:35 | 2020-06-03T14:54:35 | 211,049,627 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,433 | h | #pragma once
#include <map>
#include "task_parser.h"
#include "spherical_wave.h"
#include "mask.h"
#include "filter.h"
#include "field_solver.h"
class ParserSphericalWave : public TaskParser {
public:
void help(TaskParameters& p1, Task task) override {
TaskParser::help(p1, task);
ParametersForSphe... | [
"alyona-gra98@yandex.ru"
] | alyona-gra98@yandex.ru |
cecd75a1da224f7df07b604ee4804c64621ced45 | 1cd3aa337bf0455bc53847a11d4b97ceaf6eb3e7 | /MeanMax/Player.cpp | f9ae0d033e36faad7abe7437528bef9de25e740e | [
"Apache-2.0"
] | permissive | Namerian/CodinGame | 2132bf80200856df2f65c0848ee1b12dcf4564a8 | e0779f51e5fd2c7823ae38ab361c00533f2e54e5 | refs/heads/master | 2021-01-19T23:25:16.654681 | 2018-04-22T22:09:57 | 2018-04-22T22:09:57 | 88,977,352 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,029 | cpp | #include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <cmath>
//=============================================================
struct Vehicle
{
int unitId;
int unitType;
int player;
float mass;
int radius;
int x;
int y;
int vx;
int vy;
int extra;
... | [
"patrickmonville@hotmail.com"
] | patrickmonville@hotmail.com |
00dbebcc8462a3e730cf75bb1f07bc95660cc2eb | 7e791eccdc4d41ba225a90b3918ba48e356fdd78 | /chromium/src/components/arc/ime/arc_ime_bridge.h | 65b67f8b7d764cdd1458a6bedfed8c2b52c80dc6 | [
"BSD-3-Clause"
] | permissive | WiViClass/cef-3.2623 | 4e22b763a75e90d10ebf9aa3ea9a48a3d9ccd885 | 17fe881e9e481ef368d9f26e903e00a6b7bdc018 | refs/heads/master | 2021-01-25T04:38:14.941623 | 2017-06-09T07:37:43 | 2017-06-09T07:37:43 | 93,824,379 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,874 | h | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_ARC_IME_ARC_IME_BRIDGE_H_
#define COMPONENTS_ARC_IME_ARC_IME_BRIDGE_H_
#include "base/macros.h"
#include "components/arc/ime/arc_ime_i... | [
"1480868058@qq.com"
] | 1480868058@qq.com |
680a7aa435ceef1e4ab14f8703ba00d4cc2fc5a7 | ca0a9c00eda752b70a10a7d449c39593a0a5a8f7 | /Arrays/Repeat and Missing number.cpp | 5853a669a40392aa3b5553d2349133318a287174 | [] | no_license | faizm4765/Problem-Solving-IB-Series | 31fc3e254c8bda8d265cc403cd4cf614e75664d7 | 69610a6350755ac91f5f81d38c90ce46d0cb14c2 | refs/heads/master | 2023-03-16T20:24:27.400797 | 2021-02-28T14:02:38 | 2021-02-28T14:02:38 | 263,027,964 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 877 | cpp | /* You are given a read only array of n integers from 1 to n.
Each integer appears exactly once except A which appears twice and B which is missing.
Return A and B.
*/
----------------------------------------------------------------------------------------------------------------------
vector<int> Solution::repeat... | [
"noreply@github.com"
] | faizm4765.noreply@github.com |
b7251d896585ff83cb79604c8142d8cca9ad0767 | 018397d645693256d64c23b8e5e861b523a7181a | /utility/source/shader.cpp | a9f5bb13b63d969d0098207251f5ca093aed7e0d | [
"MIT"
] | permissive | evertonantunes/OpenGLPlayground | 9e2934856e4e8140b8887bef4b1b54fb3dba577f | 1a7a9caaf81b250b90585dcdc128f6d55e391f7e | refs/heads/master | 2020-05-02T14:39:51.554530 | 2019-05-13T14:40:55 | 2019-05-13T14:40:55 | 178,017,602 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,519 | cpp | #include "shader.hpp"
#include <iostream>
#include <fstream>
using namespace application::opengl;
Shader::Shader()
{
_totalShaders=0;
_shaders[VERTEX_SHADER]=0;
_shaders[FRAGMENT_SHADER]=0;
_shaders[GEOMETRY_SHADER]=0;
_attributeList.clear();
_uniformLocationList.clear();
}
Shader::~Shader()
... | [
"everton.oliveira@pixeon.com"
] | everton.oliveira@pixeon.com |
0ca84a324910185d9187590bbd571a544f05c132 | 663f36cfff3bfaf9ad64bba430e648b0dadc0f99 | /dependencies/OIS/src/extras/LIRC/OISLIRCRingBuffer.h | eb896cfd6cf2060786be20d583b89b0b0d2beb6c | [
"Apache-2.0"
] | permissive | LiberatorUSA/GUCEF | b579a530ac40478e8d92d8c1688dce71634ec004 | 2f24399949bc2b2eb20b3f445100dd3e141fe6d5 | refs/heads/master | 2023-09-03T18:05:25.190918 | 2023-09-02T17:23:59 | 2023-09-02T17:23:59 | 24,012,676 | 9 | 15 | Apache-2.0 | 2021-07-04T04:53:42 | 2014-09-14T03:30:46 | C++ | UTF-8 | C++ | false | false | 7,776 | h | #include "OISConfig.h"
#ifdef OIS_LIRC_SUPPORT
/*
The zlib/libpng License
Copyright (c) 2005-2007 Phillip Castaneda (pjcast -- www.wreckedgames.com)
This software is provided 'as-is', without any express or implied warranty. In no event will
the authors be held liable for any damages arising from the use of t... | [
"liberatorusa@9712d391-321d-0410-84f4-d6a0ebf28296"
] | liberatorusa@9712d391-321d-0410-84f4-d6a0ebf28296 |
52b534bc649748a2a262e28a811466f68beb5298 | daf28dc6c26d812e0d0e36294390a3d33ac0afae | /src/Grudinsky/spectral_test_grudinsky.cpp | 05cb869d47d95aeb96039dc9a4220e1a7aaf0bb9 | [] | no_license | Ashes17b/NIST_tests | 2dd8746cc367219305744f5aac2218a4d0d11700 | dfe9281dfeea5fc19da1ffa35346e585aa050b6a | refs/heads/master | 2020-05-25T17:01:18.487951 | 2019-06-08T17:12:54 | 2019-06-08T17:12:54 | 187,899,547 | 0 | 0 | null | 2019-06-08T16:55:57 | 2019-05-21T19:19:02 | C++ | UTF-8 | C++ | false | false | 3,500 | cpp | #include "../libraries/spectral_test_grudinsky.hpp"
namespace spectral_test {
void Spectral_test_grudinsky::read(std::string filename) {
if (filename.empty())
std::cerr << "Filename is undefined" << std::endl;
else
std::cout << "Read from(Spectral_test Grudinsky) " << filen... | [
"vadimlisai@gmail.com"
] | vadimlisai@gmail.com |
ec39a3d27a32aaf22c50a3101eb7f42b728c1c9b | c8af3e63519bdba8ff56e46e69634aaa81922954 | /数论/题目/集合中的质数/未命名3.cpp | f5573153dd2687ef8b8ea2fc8bf91c79136f8f01 | [] | no_license | HexQwQ/Hp1 | 2fb8b4b0abeb1b63734d8366199b3f74833a77d2 | 414c96d1e901076ff27fe192b355bbdaab367130 | refs/heads/master | 2020-08-11T19:48:46.703445 | 2019-10-12T09:28:17 | 2019-10-12T09:28:17 | 214,617,458 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 636 | cpp | #include<bits/stdc++.h>
using namespace std;
int n,prim[233];
bool book[233];
long long m, ans = 0;
bool dfs(long long x,int f,int p){
if( x <= m/prim[p] ) ans += m/x/prim[p]*f;
else return false;
for(int i=p+1;i<=n;i++)
{
book[i] = true;
bool flag = dfs(x*prim[p],f*(-1),i);
book[i] = false;
if( flag ==... | [
"56310759+HexQwQ@users.noreply.github.com"
] | 56310759+HexQwQ@users.noreply.github.com |
5d0a59567017329ca0dbe7efe04425e5054c8f0c | 06f62d82a03116144ff4de343a99b579254aff56 | /cpp/mindalpha/s3_sdk_filesys.cpp | a8797c74eb0b62911b193758bc9732f2e6e9d7a3 | [
"Apache-2.0"
] | permissive | zyclove/MindAlpha | 10aa7fd6d47261347850fd5e19399686aaeb99c6 | 69f599f89ba82688d692accfd9283444a2de7403 | refs/heads/main | 2023-07-04T06:34:32.599825 | 2021-07-27T05:37:23 | 2021-07-27T05:37:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,812 | cpp | //
// Copyright 2021 Mobvista
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | [
"huaidong.xiong@mobvista.com"
] | huaidong.xiong@mobvista.com |
23df45c4dee91c0e7061e61c0c5f1b8f5d4d30b0 | e9131b2caef47532e0d502e82a5aa5373c0986f2 | /Stack.cpp | 29c8c9f8d9ea6eae0553e4950b4f368505cf9ecf | [] | no_license | jonchan1997/cs36300-spring2019-composition | ac3e4373b5ca164b061361725ef47d9b303c12bf | ceea4016e6f9b2dac6289612993364fdc6236457 | refs/heads/master | 2020-08-04T02:39:25.814059 | 2019-09-30T23:12:59 | 2019-09-30T23:12:59 | 211,974,380 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,246 | cpp | // $Id: Stack.cpp 827 2011-02-07 14:20:53Z hillj $
// Honor Pledge:
//
// I pledge that I have neither given nor received any help
// on this assignment.
#include "Stack.h"
//
// Stack
//
template <typename T>
Stack <T>::Stack (void): Array<T>()
{
}
//
// Stack
//
template <typename T>
Stack <T>::Stack (const St... | [
"youngjon@iupui.edu"
] | youngjon@iupui.edu |
c41c142679c7dce44fd5387f2a742443a60d4601 | 0b7a7ebe4abe8de84470792a6c76f6fca60859ba | /compileShit/cpl.cpp | 12be3dbe0a8b0b690370211c5e09400a6eb3a1e4 | [] | no_license | waxvapour/Bamboo | 922368e2a06f944431298daac3359d36d9ccf60f | 4d9fe50f261a467ff64222ec0efc40a9a47ca943 | refs/heads/master | 2023-02-23T16:18:00.086063 | 2021-01-28T12:49:31 | 2021-01-28T12:49:31 | 266,579,144 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 205 | cpp | #include<iostream>
using namespace std;
// main function -
// where the execution of program begins
int main()
{
// prints hello world
cout<<"Hello World";
return 0;
}
| [
"waxvapour@gmail.com"
] | waxvapour@gmail.com |
dfa5503bdc4f6e6282f9722e7f850f5aac1209e5 | 89b7e4a17ae14a43433b512146364b3656827261 | /testcases/CWE124_Buffer_Underwrite/s02/testcases.h | 4c59ceccca21d01d14595df1a06cd085a1e6efb5 | [] | no_license | tuyen1998/Juliet_test_Suite | 7f50a3a39ecf0afbb2edfd9f444ee017d94f99ee | 4f968ac0376304f4b1b369a615f25977be5430ac | refs/heads/master | 2020-08-31T23:40:45.070918 | 2019-11-01T07:43:59 | 2019-11-01T07:43:59 | 218,817,337 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 79,081 | h | // NOTE - eventually this file will be automatically updated using a Perl script that understand
// the naming of test case files, functions, and namespaces.
#ifndef _TESTCASES_H
#define _TESTCASES_H
#ifdef __cplusplus
extern "C" {
#endif
// declare C good and bad functions
#ifndef OMITGOOD
/* BEGIN-AUTOGENERATED-C... | [
"35531872+tuyen1998@users.noreply.github.com"
] | 35531872+tuyen1998@users.noreply.github.com |
9564849eb1bb6555e761ed1d0fae47bece19060f | 57c0bdd62e75990fc1821ab5cf568be478075c6d | /deprecated/SSKT/nodes_sskt_2/nodes_sskt_2.ino | 14a610248e1be33cdb5a074db530e565222ba125 | [
"MIT"
] | permissive | yang-sec/CAN-SessionKey | 9c19702a8390a69a0787f6f33b9947d4287a6621 | 3435dcc33e5e9fbb262c6271ba5dc805f2a34599 | refs/heads/master | 2023-04-25T15:25:57.859281 | 2021-05-08T16:20:49 | 2021-05-08T16:20:49 | 288,497,465 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,068 | ino | //SKDC protocol, ECU nodes
//Shanghao Shi
//Protocol Implemention for ACSAC2020-Session key Distribution Make Practical for CAN and CAN-FD Message Authentication
#include <SPI.h>
#include "mcp_can.h"
#include <SHA256.h>
#include <GF256.h>
/* PLEASE CHANGE TO SEE DIFFERENT SETUPS */
// Keep it the the same with the ... | [
"yangshaw@umich.edu"
] | yangshaw@umich.edu |
755f3f5aea9114bfbc59fa6052019be6c110149a | 931f59b124ded93b002158a699474369f3ced983 | /Application/Application/Main.cpp | d5ea988fd3455ee383c9b8380d99181dadfe3347 | [] | no_license | CS340GroupFour/CabAndWeather | e0af8817d807a3ff2253fb6da2d59a8865e8a647 | 8be4194a53a98066052ab80bfbc7fc6cf6d8dc90 | refs/heads/main | 2023-05-10T14:02:02.004855 | 2021-05-26T01:57:58 | 2021-05-26T01:57:58 | 354,462,885 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,790 | cpp | #include "sortWeather.h"
#include "sortCab.h"
#include "cabAndWeather.h"
#include "UserInterface.h"
#include <string>
#include <vector>
#include <iostream>
ostream & operator<< (ostream& out, const Cabs& c) {
out << c.getDistance() << " " << c.getTime() << " " << c.getCabBrand() << " " << c.getCityDest() << "" << ... | [
"noreply@github.com"
] | CS340GroupFour.noreply@github.com |
1580a55432b9293e641e959107c7b439053c60bf | d79508660fa6ce1199a6a0c42c021f68d0a2fe1d | /Game/src/Box.h | 98f299b9426a8a882fc20f37c98e5fe62e52eb29 | [
"CC0-1.0"
] | permissive | DanielParra159/EngineAndGame | 702ddd14bf15d4387046837e506b10eb837dda27 | 45af7439633054aa6c9a8e75dd0453f9ce297626 | refs/heads/master | 2020-04-04T16:40:34.796899 | 2017-11-25T21:52:56 | 2017-11-25T21:52:56 | 62,506,317 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 832 | h | #ifndef _GAME_BOX_H_
#define _GAME_BOX_H_
#include "Types.h"
#include "Logic/IGameObject.h"
namespace graphics
{
class Mesh;
}
namespace game
{
class Box : public logic::IGameObject
{
public:
enum eBoxType
{
eWall, eCoin
};
private:
eBoxType mBoxType;
public:
Box... | [
"dani.parra.90@gmail.com"
] | dani.parra.90@gmail.com |
cf9a17af482d53f5d72aaec8f13afe812ec06bad | 758184348fc9c09bd021dbf318bb6859640b06d4 | /02/BetterFraming.cpp | 7e1421f5aec532641560a704320a10718b279989 | [] | no_license | limkokholefork/AcceleratedCPP | 716c275c493dbf59ce4af467cf9fe5ba1cfa5104 | 735af96fed0c1baef6c84649f8d3ac426c82d3f9 | refs/heads/master | 2021-11-10T15:46:27.778544 | 2016-05-10T14:15:07 | 2016-05-10T14:15:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,853 | cpp | // solution to 2-4
#include <iostream>
#include <string>
// say what standard-library names we use
using std::cin;
using std::cout;
using std::endl;
using std::string;
int main()
{
// ask for the person's name
cout << "Please enter your first name: ";
// read the name
string name;
cin >> name... | [
"smshdwll@gmail.com"
] | smshdwll@gmail.com |
01d6ce0a26b21fbca1d08c074faf23398aed2661 | ccf2b344aac357dcdb7bf8e6be6b0791080d9d96 | /externals/sfzCore/include/sfz/math/Matrix.hpp | 7118172ed8ac2dc8bfbcc7d030590a21d9febc2b | [
"LicenseRef-scancode-khronos",
"MIT",
"Zlib",
"LicenseRef-scancode-unknown-license-reference",
"BSL-1.0"
] | permissive | ambigeV/Linear-Genetic-Programming-Cuda | fa087fb5033db490299d9477459af749ce5d629a | 8d078318d240993619c01126905a821bbf0a9d23 | refs/heads/master | 2020-04-28T00:43:07.226540 | 2017-02-19T09:15:29 | 2017-02-19T09:15:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,015 | hpp | // Copyright (c) Peter Hillerström (skipifzero.com, peter@hstroem.se)
//
// This software is provided 'as-is', without any express or implied
// warranty. In no event will the authors be held liable for any damages
// arising from the use of this software.
//
// Permission is granted to anyone to use this software for ... | [
"peter@hstroem.se"
] | peter@hstroem.se |
da654647c16c6ba94eabe4ed28365db04dca849e | 46895d63002f3ca7d2e37c9654aea5b145225c8b | /FYP - Comparison between two AI/FYP - Comparison between two AI/Track.cpp | 83a785b1dc5aca20824fefe1ebc9eeb8d3e8e5bc | [] | no_license | ClionaHayden/FYP-AIComparision | b08c11340c4ec59bef9d8e83fc3e10fc56b7a472 | 039efa6ce65be9ab88995018d8fb9a0d50bedffd | refs/heads/main | 2023-04-22T02:49:59.693256 | 2021-05-04T16:41:17 | 2021-05-04T16:41:17 | 310,625,184 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,483 | cpp | #include "Track.h"
#define PI 3.14159265359
Track::Track() :
m_drawBoundry{ false },
m_car{ Vector2f(100.0f, 450.0f), 50.0f },
m_ReinforcementCar{ Vector2f(150.0f, 450.0f), 50.0f },
m_inputTimer{ seconds(1) },
m_lap{ false },
m_lapNum{ 0 },
m_raycastTime(seconds(0.1)),
m_colisionTimer(Time::Zero)
{
setup();
}... | [
"c00225401@itcarlow.ie"
] | c00225401@itcarlow.ie |
a6b61c5189573ccbd7d2e4c6ec58a35099b6145c | ba4db75b9d1f08c6334bf7b621783759cd3209c7 | /src_main/dx9sdk/Utilities/Source/Maya/DXMNodeAdapter.cpp | 1080c0e5e7d9d39a618b1b90fa1c8bd6f74c72a6 | [] | no_license | equalent/source-2007 | a27326c6eb1e63899e3b77da57f23b79637060c0 | d07be8d02519ff5c902e1eb6430e028e1b302c8b | refs/heads/master | 2020-03-28T22:46:44.606988 | 2017-03-27T18:05:57 | 2017-03-27T18:05:57 | 149,257,460 | 2 | 0 | null | 2018-09-18T08:52:10 | 2018-09-18T08:52:09 | null | UTF-8 | C++ | false | false | 1,008 | cpp | #include "pch.h"
DXMNodeAdapter::DXMNodeAdapter()
{
Node= NULL;
CallbackState= false;
}
DXMNodeAdapter::~DXMNodeAdapter()
{
}
DXMNode* DXMNodeAdapter::GetNode()
{
return Node;
}
DXMGraph* DXMNodeAdapter::GetGraph()
{
return GetNode()->GetGraph();
}
DXMGraphAdapter* DXMNodeAdapter::... | [
"sean@csnxs.uk"
] | sean@csnxs.uk |
d85f28baedebaa2b6c0ec55cd3a319a6b393b514 | e61cce6a5bec4c31501c8627769518432db1ae3f | /Arduino/siramsis-nodemcu.ino | e71f9dbf8c1421e2188d55e1a19cb036d38393ce | [] | no_license | Syah4kram/siramsis.github.io | 15e5efd2d42fda3cece3935fa09163d4fb93e6de | 1bd8a77be317420f5e8255417be14c2907501e92 | refs/heads/master | 2023-06-03T05:00:21.167469 | 2021-06-21T10:40:07 | 2021-06-21T10:40:07 | 334,867,489 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,237 | ino | #include <ESP8266WiFi.h>
#include <Wire.h>
#include <WiFiClient.h>
#include <ArduinoJson.h>
const int ldrPin = A0;
const int laserPin = 17;
const int RELAY_PIN = 5;
const int rainPin = 4;
int valve_status = 0;
int fog_status = 0;
int rain = 0;
int ldrStatus = 0;
int fog_status_before = 0;
int isFogTim... | [
"noreply@github.com"
] | Syah4kram.noreply@github.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.