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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d28f04cc3c0c4cc1cc8bd922bdd87c3bd8972644 | b2bcd5b0bd819bc3422b2ce401d5f5d09e715a9f | /ModelDesignAll/ModelWatch/ModelWatch/ConcreateWatched.cpp | 623ce56cc72be2966484190925db614509ade422 | [] | no_license | zhangbin2020/jilu | 6190d5d70bb44fdd621e92b19d4c9508356407e2 | e8c89571798760eb8603557d04c42fb84d48ee61 | refs/heads/master | 2021-01-13T13:31:48.971493 | 2017-06-14T09:25:14 | 2017-06-14T09:25:14 | 72,628,227 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 117 | cpp | #include "ConcreateWatched.h"
ConcreateWatched::ConcreateWatched()
{
}
ConcreateWatched::~ConcreateWatched()
{
}
| [
"zhangbin7@BJXX-ZHANGBIN7.360buyAD.local"
] | zhangbin7@BJXX-ZHANGBIN7.360buyAD.local |
5260123d024d1f18082151a6124a1be65bbc51aa | 2d9ca6827adea3bf6220ccc756cc517b87d9f522 | /Bank.cpp | 63ce2109fb445fb689055ff7a54185ab0d97ec78 | [] | no_license | mayflaster/OperatingSystemsStructure-HW2 | 5352bbf0739b770bbe71866f8749a4e517b6d091 | 035e2637286743dc0fcf2305a1fde1c3bb2d8510 | refs/heads/master | 2022-04-24T02:58:24.548969 | 2020-04-19T14:17:16 | 2020-04-19T14:17:16 | 257,017,542 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,518 | cpp | //
// Created by mayfl on 10/12/2019.
//
#include "Bank.h"
#include <algorithm>
using namespace std;
vector<Account> accounts;
pthread_mutex_t printLock;
ofstream outputFile;
//ofstream testfile;
//ofstream testfile2;
pthread_mutex_t readLockBank;
pthread_mutex_t writeLockBank;
int BankReadCounter=0;
... | [
"noreply@github.com"
] | mayflaster.noreply@github.com |
c07f7c4b4005ff38f9c36d59bf2b4b5c9501879a | beaccd4ca566e9f7f112b98dfe3e32ade0feabcc | /course code/5th sem/CG/hai/spline/clamped_bspline/main.cpp | d03afbbcdd918f5bdd3beea65f6f1b4061afe94d | [] | no_license | maddotexe/Competitive-contest-programs | 83bb41521f80e2eea5c08f198aa9384cd0986cde | 4bc37c5167a432c47a373c548721aedd871fc6b7 | refs/heads/master | 2020-04-17T08:08:43.922419 | 2015-03-10T19:26:55 | 2015-03-10T19:26:55 | 31,177,844 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,089 | cpp | //------------------------------------------------------------
/// \file Main.cpp
/// \author Rob Bateman
/// \date 9-feb-2005
/// \brief This example will demonstrate how to clamp a curve
/// to it's end points. It is also the fundamental brigde
/// to be able to understand how the cox-de-boor
/// algorithm work... | [
"agarwal.shubham21@gmail.com"
] | agarwal.shubham21@gmail.com |
01be2c49d5988158431e282fa91037fa032c2d50 | 249e41c98f4d9fc9bb9c175e6f41475470845280 | /generated/crs.cpp | d693ea23b4a59f665d24497de8a3de09435b8186 | [] | no_license | burgrp/si-stm32f0x2 | 7923bcd5d4202a086ff5b36d116785e254863159 | 9e2821673ad6a3de2442e79dfbce805ab18ec14e | refs/heads/master | 2022-02-20T13:24:32.928216 | 2019-07-22T16:47:24 | 2019-07-22T16:47:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,351 | cpp | namespace target {
namespace crs {
namespace reg {
/**
control register
*/
class CR {
volatile unsigned long raw;
public:
__attribute__((always_inline)) void operator= (unsigned long value) volatile {
raw = value;
}
__attribute__((... | [
"pb@drake.cz"
] | pb@drake.cz |
cfc37e19a0fabadfd62db6eb0a3248f40b2f65fa | 917a3fa0c8f8e86639f0c1aa67ac96a51499b65e | /userinterface.cpp | f138347bcf959d74dee1853596d3fdff0ba7783e | [
"MIT"
] | permissive | jholownia/QTeacher | beae673092a7d6bebc95dc048e806aa3026bb3a9 | 8ea656b77a72df37232f68d36c18684065df54c3 | refs/heads/master | 2020-12-24T06:28:56.864940 | 2017-04-28T16:23:08 | 2017-04-28T16:23:08 | 31,479,818 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 64 | cpp | #include "userinterface.h"
UserInterface::UserInterface()
{
}
| [
"jan.holownia@gmail.com"
] | jan.holownia@gmail.com |
b84f84a504fff4d27df5390e5dbce3ccc0fe21b0 | 5da8d1499a8b407f7e969344edbaabb97d24d60e | /source/supreme/theater.cpp | ddd4e11501edf10ab788dd9242c7f6470658d62d | [
"MIT"
] | permissive | Hypexion/HamSandwich | 1f0f0ee870669f730482d387b245d37cce88dde3 | d14ad1e1b822ba936ea7edb8de4c8044fbe39001 | refs/heads/master | 2022-06-13T06:06:44.882717 | 2022-05-29T06:42:14 | 2022-05-29T06:42:14 | 189,471,423 | 0 | 0 | MIT | 2019-05-30T19:34:12 | 2019-05-30T19:34:12 | null | UTF-8 | C++ | false | false | 4,657 | cpp | #include "theater.h"
#include "sound.h"
#include "display.h"
#include "game.h"
#include "dialogbits.h"
#include "goal.h"
typedef struct movie_t
{
char title[32];
char filename[16];
word sound;
} movie_t;
movie_t movie[32]={
{"Asylum Welcome Mat","asylumys.flc",SND_TZONE},
{"Asylum Unwelcome Mat","asylumno.flc",S... | [
"tad@platymuus.com"
] | tad@platymuus.com |
d665e56cc82a022871a3de7b956b2d1a1b54986e | b15e85b650c73ba1e2bc844cedb884584e3e5705 | /Additive Scrambler/JuceLibraryCode/JuceHeader.h | 7518e599b2822a5c1fd36aac48761b277589e288 | [] | no_license | walkerdavis/256A-Additive-Scrambler | 47b5b922c7a3ecffe38033d12dd14ac49bc49e69 | b5fc2bd99cb3aef658d294f0aa7569d770a9cb88 | refs/heads/master | 2021-01-10T23:48:37.519383 | 2018-10-27T19:44:56 | 2018-10-27T19:44:56 | 70,094,665 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,693 | h | /*
IMPORTANT! This file is auto-generated each time you save your
project - if you alter its contents, your changes may be overwritten!
This is the header file that your files should include in order to get all the
JUCE library headers. You should avoid including the JUCE headers directly in
... | [
"noreply@github.com"
] | walkerdavis.noreply@github.com |
5b2e55638c04523b4ce08951ce24d7d8bbf7c8ec | 1a29e3fc23318be40f27339a749bbc3bdc59c0c3 | /codeforces/gym/102348/b.cpp | bd7fea2f170b68520147acf49d11eddba1623b56 | [] | no_license | wdzeng/cp-solutions | 6c2ac554f6d291774929bc6ad612c4c2e3966c9f | 8d39fcbda812a1db7e03988654cd20042cf4f854 | refs/heads/master | 2023-03-23T17:23:08.809526 | 2020-12-05T00:29:21 | 2020-12-05T00:29:21 | 177,706,525 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,080 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int, int> pii;
#define x first
#define y second
#define all(v) v.begin(), v.end()
#define ms(v) memset(v, 0, sizeof(v))
#define mss(v) memset(v, -1, sizeof(v))
const int N = 2e5 + 10;
vector<int> adj[N];
int col[N];
int vis[N];
vector<int... | [
"hyperbola.cs07@gmail.com"
] | hyperbola.cs07@gmail.com |
b1f839149fbe3fa67be0bf1ecd78754b0e9375ec | 2687c898e6039c5417551cf340d121ec1f57118e | /ports/klangfalter/source/Settings.cpp | 479cb3ab56de9d09140315382470529ac8e4f1c7 | [] | no_license | mcanthony/DISTRHO-Ports | 051f0d849da9e3f66ca6afdecffac77ddfd2606a | f1b57e23b85ba8bd98f216f2cfdce4fecdb9eb16 | refs/heads/master | 2021-01-22T15:22:37.807561 | 2015-10-02T10:25:10 | 2015-10-02T10:25:10 | 44,107,739 | 1 | 0 | null | 2015-10-12T13:02:13 | 2015-10-12T13:02:13 | null | UTF-8 | C++ | false | false | 4,912 | cpp | // ==================================================================================
// Copyright (c) 2012 HiFi-LoFi
//
// This 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, either version 3 of the L... | [
"falktx@gmail.com"
] | falktx@gmail.com |
61e46e4d6f05d084a9e56bb01b502ceb98571176 | 2e596e73f04389732bc864343f52f552d04a68aa | /moisture_sensor_3_sensors.ino | 1c90f65e2390657b02a2bbdd32aecf8a1d8bc339 | [] | no_license | mark-ross/Plant-Saver | 6ed16d21a5266d9ec1d716da2cacd04a4255b498 | 7d7c37cb3fa9b6701c85ee323fe52ac5946bdd9b | refs/heads/master | 2021-01-10T07:17:02.846695 | 2015-10-29T20:16:51 | 2015-10-29T20:16:51 | 45,208,044 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,672 | ino | // **** INCLUDES *****
#include "LowPower.h"
#include <Adafruit_NeoPixel.h>
#define PIN 4
#define N_LEDS 1
Adafruit_NeoPixel strip = Adafruit_NeoPixel (N_LEDS, PIN, NEO_GRB + NEO_KHZ800);
int m1 = A4;
int m2 = A1;
int m3 = A2;
int led = 13;
int pump = 2;
void setup() {
// put your setup code here, to run once:
... | [
"Mark@Mark-PC.berea.edu"
] | Mark@Mark-PC.berea.edu |
4f63eb3797fb21a07125a87a10c2ca5f2218b08f | 34591803cc990e0b90ba6edf4ffe7d87513f9dda | /LCDConsole.h | e330cffe501e341c7399eab4ac17ccb8ce63a0ec | [] | no_license | caoyuan96421/PushToGo-F429 | 2c4baba1cd591e0cdaa214aedfd2dcebd2c62887 | f3d2b064c1e34fac4dec2049cb3079c0cf44e28d | refs/heads/master | 2021-01-24T00:43:13.919220 | 2018-08-12T21:16:02 | 2018-08-12T21:16:02 | 122,775,446 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 3,690 | h | /*
* LCDStreamHandle.h
*
* Created on: 2018Äê2ÔÂ25ÈÕ
* Author: caoyuan9642
*/
#ifndef LCDCONSOLE_H_
#define LCDSTREAMHANDLE_H_
#include "mbed.h"
#include "LCD_DISCO_F429ZI.h"
class LCDConsole: public FileLike
{
protected:
static int* buffer; // The first 3 byets of each int contain its color, and last b... | [
"caoyuan96421@gmail.com"
] | caoyuan96421@gmail.com |
90bdb679e4d2a2af09af9b786090c41eb2cfde88 | d8ee682faf776c5b4646be702f8abbdecce8452d | /ui/vivaldi_browser_window.h | 33b0a15d2dd0b26f3ce20def7f4cb652f18b031c | [] | no_license | PatSpiegel/vivaldi | b14898f235dae66c1c5c4b5682898e75077054ea | 003f250c6c388d1a069c1794d7ec9b586e4827d2 | refs/heads/master | 2022-11-14T09:50:19.263539 | 2020-07-04T09:44:48 | 2020-07-04T09:44:48 | 276,650,379 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,560 | h | // Copyright (c) 2015 Vivaldi Technologies AS. All rights reserved.
#ifndef UI_VIVALDI_BROWSER_WINDOW_H_
#define UI_VIVALDI_BROWSER_WINDOW_H_
#include <memory>
#include <string>
#include <vector>
#include "base/compiler_specific.h"
#include "base/timer/timer.h"
#include "chrome/browser/ui/autofill/autofill_bubble_ha... | [
"kujuhe@gmail.com"
] | kujuhe@gmail.com |
58476f50684708ffc61268ef21df5e892f903e8c | b1b215c30ab90943646077c4407e2fe70e144015 | /cpp/stroustrup_exercises/tour_basics/vector/vector.cpp | 6f6bcf7dbb6518f48b07b187214a4304c94484eb | [] | no_license | Tigrolik/git_workspace | 7bba081a31054c6491e65bd3db0f7f50c6209af3 | 5bca3ead66e6a9ed69edc84bad9e6f0646ae9894 | refs/heads/master | 2021-01-01T03:55:32.498126 | 2016-06-10T16:42:25 | 2016-06-10T16:42:25 | 57,963,573 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,280 | cpp | #include "vector.h"
#include <iostream>
#include <stdexcept>
#include <exception>
Vector::Vector(std::size_t s): elem{new double[s]}, sz{s} {
// if (s < 0)
// throw std::length_error(0);
elem = new double[s];
sz = s;
}
Vector::Vector(std::initializer_list<double> lst): elem{new double[lst.size()]},
... | [
"ivan.martynov@lut.fi"
] | ivan.martynov@lut.fi |
6b302ccdf87385e539d660c452b29e1af863ba66 | b4aff90b636412db70a2e2e2ab819a24d65cba2b | /voipengine/voipsdk/webrtc/src/chromium/src/extensions/shell/renderer/shell_content_renderer_client.h | b86fa0e9e9babaac42adf5644626361495c2cdef | [] | no_license | brainpoint/voip_ios | 9a9aebba88b3c5bb17108d7ed87c702f23dc6f12 | 5205f896b9e60881f52c0b12b1c5188c9608d83e | refs/heads/master | 2020-12-26T04:37:38.258937 | 2015-04-14T16:16:31 | 2015-04-14T16:16:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,935 | 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.
#ifndef EXTENSIONS_SHELL_RENDERER_SHELL_CONTENT_RENDERER_CLIENT_H_
#define EXTENSIONS_SHELL_RENDERER_SHELL_CONTENT_RENDERER_CLIENT_H_
#include "base/comp... | [
"houxuehua49@gmail.com"
] | houxuehua49@gmail.com |
decabf7d205c282dee48958890326449b2dc8492 | 2e9dbb0172c83c4846531203d60de2f7cddab520 | /test_123003/PointcloudProcess.cpp | 31ee1dd9fb2459c03bfea8966910a4ca9805091e | [] | no_license | zhitaohu/structured_light_reconstructe | 561e024a20bcbb202379b697346e28f5d5b5bced | 54b0d30ca4f5ec4967162c8adbe72bf4193e13fc | refs/heads/master | 2022-04-02T11:49:54.486862 | 2020-01-18T08:03:55 | 2020-01-18T08:03:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,054 | cpp | #include "PointcloudProcess.h"
const char* pnts3D_pcdfilename = "../result/points3d.pcd";
const char* pnts3D_filtered_pcdfilename = "../result/points3d_filtered.pcd";
void savepointcloud(cv::Mat& pnts)
{
pcl::PointCloud<pcl::PointXYZ> cloud;
cv::Mat filterpnts3D(2000, 2000, CV_32FC1);
cloud.width = pnt... | [
"754037927@qq.com"
] | 754037927@qq.com |
c367dc5f909b92a1a06e29a73d630fd45307b2e7 | eb70e099057345f71fc3dc5c73bab3922a67e439 | /include/benlib/container_algo.hpp | e604831540e1473cd17761a2711cb0cec37398c3 | [] | no_license | blindley/benlib | 5a6410dccb2c4c041f23605ffc433eda29f26ff9 | 348c53b62208235b2c07362a63f7d5f99fd3d28b | refs/heads/master | 2021-01-22T01:54:44.428462 | 2013-03-11T17:02:00 | 2013-03-11T17:02:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,704 | hpp | #ifndef BEN_CONTAINER_ALGO_844
#define BEN_CONTAINER_ALGO_844
#include <algorithm>
#include <numeric>
#include <iterator>
namespace ben
{
template<typename C, typename T>
void RemoveAndErase(C & cont, const T & val)
{
auto new_end =
std::remove(std::begin(cont), std::end(cont), val);
cont.erase(new_... | [
"benjameslindley@gmail.com"
] | benjameslindley@gmail.com |
4e5f02391e372d61549d28dded23653836592e3c | 35103921573291fe901259875de6c017b926b1a0 | /competitions/codeforces/round54/meme_problem.cpp | 9912507c514deda989fa586ed8c7e091f1de7968 | [] | no_license | atlekbai/algorithms | 23f6caf30428d6928e2ca71930ccd10d8a3f20cc | 181b99752150a465c2afd0efc433b0ca115e8651 | refs/heads/master | 2020-04-07T21:44:54.744084 | 2019-03-01T15:03:08 | 2019-03-01T15:03:08 | 158,739,338 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,629 | cpp | // ************************************************************************** //
// //
// ::: :::::::: //
// meme_problem.cpp :+: :+: :+: ... | [
"tlekbalkai@gmail.com"
] | tlekbalkai@gmail.com |
71a045a9e20528c17bafc7225e4a4b4c58f9cb4f | 45d67a5c7a600315f7734c787d8a9938db4eaf60 | /Network Homework/SplitShaderDC.h | 7b8baf317b45b146b7649d89d58fd1702c070f19 | [] | no_license | joecatarata/OpenGL | fe3fc346bc6bf94aec3614231df8f08fa971ae3d | 76d7d6b4f51a6c56a60e8b2685284bd7fb7387d5 | refs/heads/master | 2021-08-28T15:12:45.321802 | 2017-12-12T14:58:22 | 2017-12-12T14:58:22 | 111,425,280 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 875 | h | #ifndef SPLIT_SHADER_DC_H
#define SPLIT_SHADER_DC_H
#include <iostream>
#include <fstream>
#include <string>
#include <GL/glew.h>
#include <glm/glm.hpp>
#define GLM_FORCE_RADIANS
#include <glm/gtx/transform.hpp>
#include <stdio.h>
#include <SFML/Graphics.hpp>
class SplitShaderDC{
public:
SplitShaderDC();
... | [
"joecatarata@gmail.com"
] | joecatarata@gmail.com |
db4f2eb231414431b83814bdb71ad3ad1cadd508 | 9d851f5315bce6e24c8adcf6d2d2b834f288d2b2 | /chipyard/tools/chisel3/test_run_dir/QueueCloneTester/202003062135265340303674098120120/VQueueCloneTester__Trace__Slow.cpp | 6c9f0d59d7d4248ad6a668de32de676aa3dee76a | [
"BSD-3-Clause"
] | permissive | ajis01/systolicMM | b9830b4b00cb7f68d49fb039a5a53c04dcaf3e60 | d444d0b8cae525501911e8d3c8ad76dac7fb445c | refs/heads/master | 2021-08-17T22:54:34.204694 | 2020-03-18T03:31:59 | 2020-03-18T03:31:59 | 247,648,431 | 0 | 1 | null | 2021-03-29T22:26:24 | 2020-03-16T08:27:34 | C++ | UTF-8 | C++ | false | false | 21,874 | cpp | // Verilated -*- C++ -*-
// DESCRIPTION: Verilator output: Tracing implementation internals
#include "verilated_vcd_c.h"
#include "VQueueCloneTester__Syms.h"
//======================
void VQueueCloneTester::trace (VerilatedVcdC* tfp, int, int) {
tfp->spTrace()->addCallback (&VQueueCloneTester::traceInit, &VQueue... | [
"ajithkumar.sreekumar94@gmail.com"
] | ajithkumar.sreekumar94@gmail.com |
e554021f20b71cd9fb97a796d4433ddee0ca706d | 83fe919d7d85983d23ec61704fb77c83aeb2668f | /src/main.cpp | a8e58fbac49f34c5d0fb299131d8826c26c92a76 | [] | no_license | adityaruplaha/AlgoSpeedTest | 87ac0fbc8fa0360326843e99545df91cc459afd5 | f85e69a71dd8a7448527687b1dadacf0a1b7d3a3 | refs/heads/master | 2020-04-28T09:31:24.212029 | 2019-04-09T06:14:13 | 2019-04-09T06:17:53 | 175,169,757 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 833 | cpp | #include <ctime>
#include <iostream>
#include <cassert>
#include "test_mgr.h"
using num = unsigned long long;
template <typename T1, typename T2>
num HCF(T1 a, T2 b)
{
static_assert(std::is_integral_v<T1> && std::is_integral_v<T2>);
assert(a & b);
if (a == b) { return a; }
num x = (a > b ? a : ... | [
"30696515+adityaruplaha@users.noreply.github.com"
] | 30696515+adityaruplaha@users.noreply.github.com |
ba1f34961c4ce01bab421dbed4a0f612abe4cbf5 | db19b65eb3d6f0bbfb790dc5294a17443736dc56 | /labs-old/fractals/fractals/fractals/function.h | e0f2e20ae495632a66b55e811a9bd3bd20a64644 | [] | no_license | AnissaFaik-r0671584/pvm_exercises_1718 | 887e90e277dc16e49b9e82fc68653be20101bf48 | f9eb8c754affa47adf6cb990737a1afaed060604 | refs/heads/master | 2020-03-19T12:46:05.281528 | 2018-06-07T22:52:09 | 2018-06-07T22:52:09 | 136,539,006 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 581 | h | #ifndef FUNCTION_H
#define FUNCTION_H
#include <functional>
#include <memory>
std::function<double(double)> linear(double x1, double y1, double x2, double y2);
std::function<double(double)> linear(double y1, double y2);
std::function<double(double)> easeInOut(double y1, double y2);
std::function<double(double)> const... | [
"anissa.faik@student.ucll.be"
] | anissa.faik@student.ucll.be |
8b8e7d3c25ecf6fc6fd1213eee696c1b862d15a1 | 711f9c743c8eddbe018decfcf4f27acebe641294 | /hellomap3/Nuti.framework/Versions/A/Headers/vectortiles/Mapnik/GeneratorUtils.h | 80eecd0021135611b41f97fadd20023f1a8aac05 | [
"BSD-2-Clause"
] | permissive | nutiteq/hellomap3d-ios | bb35b6599360b74357339f300a5b94e293bec9d3 | b9b6e8a2f756937fb5f15538c560cff1115688c3 | refs/heads/master | 2020-04-12T02:22:51.387210 | 2016-12-23T14:27:13 | 2016-12-23T14:27:13 | 21,323,638 | 15 | 9 | null | 2016-11-28T10:11:06 | 2014-06-29T13:20:51 | C | UTF-8 | C++ | false | false | 880 | h | /*
* Copyright 2014 Nutiteq Llc. All rights reserved.
* Copying and using this code is allowed only according
* to license terms, as given in https://www.nutiteq.com/license/
*/
#ifndef _NUTI_MAPNIK_GENERATORUTILS_H_
#define _NUTI_MAPNIK_GENERATORUTILS_H_
#include "Value.h"
#include "Expression.h"
#include "Trans... | [
"jaak@nutiteq.com"
] | jaak@nutiteq.com |
f4414bb5ba1ccc923eac4689beeacd9d139bca3a | 40da2190aca6e5ab3f27bb650a798d94000497ba | /klinSource/Sample/shader_m.h | c51672e9d3613495b031921d404ac55b9287ab31 | [] | no_license | LiuYiZhou95/CoolRender | e47a7deb501e82a6b7ca9a103acea0ba309c6dc5 | 8069e6f5d06eae7042d0f5544164bae1c1aec649 | refs/heads/master | 2020-08-07T16:55:38.770353 | 2019-10-08T02:34:50 | 2019-10-08T02:34:50 | 213,531,163 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,520 | h | //
// Created by B612 on 2019/9/18.
//
#ifndef SHADER_H
#define SHADER_H
#include <glm/glm.hpp>
#include <Context.h>
#include <string>
#include <fstream>
#include <sstream>
#include <iostream>
class ShaderTest
{
public:
unsigned int ID;
// constructor generates the shader on the fly
// -----------------... | [
"liuyizhou_action@163.com"
] | liuyizhou_action@163.com |
ac293a3f65477da78c1ec6dad301a1d6b629be2a | 5691b6a00201ae6551394cc0f600780b8ecbfd22 | /soj/2142.cpp | 6a4aece6f442122ca13012c1a720867e7332323e | [
"MIT"
] | permissive | huangshenno1/algo | 15c367ab41bb8bdb6bc133365cb285a7c568545a | 8a3c91fd11bcb6a6a830e963b1d5aed3f5ff787d | refs/heads/master | 2021-01-17T10:17:41.625025 | 2016-04-11T07:17:43 | 2016-04-11T07:17:43 | 29,778,231 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,271 | cpp | #include <cstdio>
#include <algorithm>
using namespace std;
const int maxn=100;
int n,ans,aa,bb;
int a[maxn],b[maxn],len;
void f(int ta,int tb,int i)
{
if (i>=len)
return;
if (ta+tb<=ans)
return;
if (ta>=0 && tb>=0 && ta+tb>ans)
ans=ta+tb;
f(ta,tb,i+1);
f(ta+a[i],tb+b[i],i+... | [
"huangshenno1@gmail.com"
] | huangshenno1@gmail.com |
2568647f98311dee68fefe5938f27b28d9b6385e | 04b0ed4a1ace87f9b08a64ae5b811bcb84b128df | /src/ofApp.cpp | 881fbda5f41c2418d6590f1b9be925c735465f07 | [] | no_license | NathanJewell/MouseParticle_OPENMP | db4f0efdc7190f2a9f17571e7a62b5ff2137fda1 | f3e79a3311b2018fe9b38c3453ed14be84f96725 | refs/heads/master | 2021-01-19T20:51:06.655282 | 2017-04-18T01:50:51 | 2017-04-18T01:50:51 | 88,568,878 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,118 | cpp | #include "ofApp.h"
#include <iostream>
#include <omp.h>
//--------------------------------------------------------------
void ofApp::setup(){
ofSetFrameRate(60);
ofSetFullscreen(1);
particleNumber = 5000;
upperLimit = 10000;
lowerLimit = 100;
mouseMass = 200;
gravityConstant = 3;
particl... | [
"nathanielx.jewell@gmail.com"
] | nathanielx.jewell@gmail.com |
4690c92ee4013ed7d7419211be7773b79dfc8891 | 01b490c883f07f0d447dded1c33c9481ae5c529f | /bbs_viewer/bbs_viewer.cpp | fff3f107f08afa2c0a2a2bcb0f6e43c54a4dea2f | [] | no_license | felippe-mendonca/is-matlab | bb2e586b029b95993bd5e8d401390415f22c8f3e | 9091dd31b7e8b3ea013a61ac948638c1825187f6 | refs/heads/master | 2021-01-25T04:35:18.439696 | 2017-07-13T01:16:41 | 2017-07-13T01:16:41 | 93,449,482 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,508 | cpp | #include <armadillo>
#include <boost/iterator/zip_iterator.hpp>
#include <boost/program_options.hpp>
#include <iomanip>
#include <iostream>
#include <is/is.hpp>
#include <is/msgs/camera.hpp>
#include <is/msgs/common.hpp>
#include <map>
#include <opencv2/core/core.hpp>
#include <opencv2/highgui.hpp>
#include <opencv2/im... | [
"mendonca.felippe@gmail.com"
] | mendonca.felippe@gmail.com |
052d15d22ba39bc04d0d68d3535354b67df4dea2 | d402415f799e1bc9c1c02f229be6d1fd014c1c37 | /virtualfuncvirtualfunction (1).cpp | f2243a8765b22a3297ff7000dd5f18fa0d5fdc5d | [
"MIT"
] | permissive | AmeyaDaddikar/c_and_cpp_files | c5e8b9d25b90308909d84501a17bae1eda10b103 | fc150e64e7d9b4a37d9a6acac6ef60325f75cdf9 | refs/heads/master | 2021-01-15T23:59:37.576673 | 2017-08-10T17:11:39 | 2017-08-10T17:11:39 | 99,946,964 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,349 | cpp | #include <iostream>
using namespace std;
class Person
{
private:
char name[20];
int age;
public:
virtual void getDetails();
virtual void showDetails();
};
class Student: public Person
{
private:
int marks;
public:
void getDetails();
void showDetails();
};
class Teacher: publi... | [
"noreply@github.com"
] | AmeyaDaddikar.noreply@github.com |
6c5e7ef07c0ea44ab5e710ee54d3b0a18ef65a9e | 218c6ae10980266e83592389a522fb5d7cecab21 | /queue/StaticQueue.h | 8fe2e93b696811693bd58a37456886a6f2ab26c2 | [] | no_license | TianLanhe/DSLibrary | 2abdd63ec3cd44a7358a64e86c3c5b3dd24659de | 3a2b24e2da169c9cba3d297900c99c242124bbe3 | refs/heads/master | 2021-04-30T08:16:23.418473 | 2018-09-16T06:14:17 | 2018-09-16T06:14:17 | 121,370,123 | 3 | 1 | null | null | null | null | GB18030 | C++ | false | false | 3,410 | h | #ifndef STATIC_QUEUE_H
#define STATIC_QUEUE_H
#include "Queue.h"
#include "../Allocator.h"
DSLIB_BEGIN
template < typename T, size_t N >
class StaticQueue : public Queue<T> {
public:
StaticQueue();
StaticQueue(const StaticQueue<T, N>&);
StaticQueue<T, N>& operator=(StaticQueue<T, N>);
~StaticQueue();
virtual ... | [
"849416763@qq.com"
] | 849416763@qq.com |
4676dfa0a662791aaf0154ddcbcd71bb073b0f08 | 13a1898185de7573fffe404fb0798a3aed4bdbb1 | /FriendshipGraph.h | 21e5710942861290f6197120866430115625d6ef | [] | no_license | t-seroff/SocialNetwork | ef1b8474c3ad23be932239a8cb942ff1cc5f288f | cf054849f3d99b9b5d7e0e8c5818174e3e14c41a | refs/heads/master | 2020-05-23T08:00:36.681398 | 2016-03-14T07:21:00 | 2016-03-14T07:21:00 | 80,485,419 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 506 | h | #ifndef FRIENDSHIPGRAPH_H
#define FRIENDSHIPGRAPH_H
#include <vector>
#include <string>
using namespace std;
#define TABLE_SIZE 211
struct graphNode{
string name;
int profileDataIndex;
graphNode* nextFriend;
};
class FriendshipGraph{
public:
FriendshipGraph();
void addPerson(string, int, vector<string>);
... | [
"Tristan.Seroff@gmail.com"
] | Tristan.Seroff@gmail.com |
ddfa07cded7fcd0addeb31482cfb0fde3b74fe4b | d74fc793835b2523efdda89744e4fcf3d260e78f | /sw/scheduling/include/kmeans.hpp | 1bfbb6e402c00a5c90abdfb7b0401f4a9a6d2944 | [] | no_license | pouya-haghi/Coyote | c0db500603b71441051e1ef010f83424d036233f | aab360e725c01f8fe283bfcc51a188a8bab7e578 | refs/heads/master | 2023-08-23T18:58:56.823434 | 2021-10-15T17:37:51 | 2021-10-15T17:37:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,645 | hpp | #include <iostream>
#include <random>
#include <stdio.h>
#include <string.h>
#include <chrono>
template <class T, class T2>
class Kmeans {
public:
Kmeans(T* points, uint32_t size, uint32_t dimensions, uint32_t k);
~Kmeans();
void run(uint32_t iter);
T2 getSSE();
double getRuntime();
void printCentr... | [
"dario.korolija@inf.ethz.ch"
] | dario.korolija@inf.ethz.ch |
cb663a173371c4084d1018652ad35b0966a8db1c | c1fe1493d4eaa436222e4835adc3112d0735b968 | /ctg/utils/observable_stub.hh | 46880f39d73b7ec7419033a6db97e2ef1a1adb42 | [] | no_license | ctgcoin/ctg-master | 52599e9af11677e34ac95828c09bfb668f5cda6c | 330298882fa0d2da9a495931f316f3caaf471338 | refs/heads/master | 2020-03-28T23:24:11.833003 | 2018-11-27T10:08:07 | 2018-11-27T10:08:07 | 149,287,321 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,672 | hh | /* vim: set sw=4 sts=4 et foldmethod=syntax : */
/*
* Copyright (c) 2016
*
* This file is part of the ctg project. ctg is free software;
* you can redistribute it and/or modify it under the terms of the GNU General
* Public License version 2, as published by the Free Software Foundation.
*
* ctg is distributed... | [
"support@ctgcoin.org"
] | support@ctgcoin.org |
8bcdcd5bb11119490ad985d4fc4776c13d0e7961 | f0ca96cfacdc5f01d4da9ddcd1820756457e2684 | /Slide.cpp | ee8f5ee8708397e06dfa9ee28881ef1cc30c862a | [] | no_license | AVGP/SLIDE | a409b9a63d6e2c803891f134c0b2819b59672ff7 | fd5060ae5036051c882ddd2a03129243d4559544 | refs/heads/master | 2021-01-01T18:23:50.806007 | 2010-10-26T03:04:25 | 2010-10-26T03:04:25 | 987,782 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,495 | cpp | #include "Slide.h"
Slide *Slide::instance = NULL;
Slide::Slide()
{}
Slide *Slide::getInstance()
{
if(instance == NULL)
{
instance = new Slide();
return instance;
}
else
{
return instance;
}
}
bool Slide::startUp(bool debug)
{
Logger::getInstance()->log((std::strin... | [
"avgp_2k@yahoo.de"
] | avgp_2k@yahoo.de |
b96749807ec2b56f4662dd492b1c9312961c5ff7 | f8d3250a0517008b5d418461c20f9a70caed6f33 | /ros_001/src/diffBot_odom.cpp | 22390df0c3e57214c6d8bc58aa2d386e564bb275 | [] | no_license | mina-sadek/ROS-dev2 | f5ccc875c53e5f3680c1d02fd448ce097fffb622 | d0339e0140e43d1e270729628e14b56071dd35af | refs/heads/master | 2021-05-11T02:56:03.161652 | 2021-03-10T09:08:45 | 2021-03-10T09:08:45 | 117,898,622 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 82 | cpp | #include "ros/ros.h"
//#include "nav_msgs/Odometry.h"
int main()
{
return 0;
}
| [
"noreply@github.com"
] | mina-sadek.noreply@github.com |
7db08bf1949a8e7d7c6dfa3964f6a90a8d785991 | 2fd6f1d6771374128b848fabbbd63efcdc1613c9 | /pseudo_fullscreen/stdafx.cpp | 2f30baaf5e0b41f4777a8b28f59d08c7b6290f7c | [] | no_license | Vorsaykal/pseudo_fullscreen | 2db6e1af27e225553e07c02c9fa5200cd7ed75c0 | 50b6f99c90b128335b022945989afabdeaa462ba | refs/heads/master | 2016-09-15T23:27:44.047787 | 2014-05-06T05:10:03 | 2014-05-06T05:10:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 296 | cpp | // stdafx.cpp : source file that includes just the standard includes
// pseudo_fullscreen.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
| [
"vorsaykal@gmail.com"
] | vorsaykal@gmail.com |
04f271450d44ad7b7dceba4a68aced6853f2c35b | 1b48b76992426b3b6411bbad2487cd66755f4dab | /src/texteditor/basehoverhandler.h | a12f478048a43ff0445cad190353851d9261f5bc | [] | no_license | OSLL/sca | db36814bdf0c3d575ced38562f9223cef4f2fce5 | 389a0a6973052abb1ae0e7d995f5d3c54fd72481 | refs/heads/master | 2020-05-07T11:12:12.329830 | 2014-03-10T10:03:06 | 2014-03-10T10:03:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,068 | h | /****************************************************************************
**
** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may us... | [
"exzo0mex@gmail.com"
] | exzo0mex@gmail.com |
080eb14c39a5cd3bcad8267fb299a150cee21f38 | d73095c6a0cddbc128fd736860f897c503504025 | /interface/src/showqueue.cpp | 1344fc028a864c885818aea6f0fb182a5d70980b | [] | no_license | longhao666/20180702jointMrapi | 5072a5dd3ac5c270c75685197e7f54c3d1b55938 | 29332c80fac02e360f4be8a1a673922cca9dd972 | refs/heads/master | 2020-03-22T03:18:49.053977 | 2018-06-19T05:57:11 | 2018-06-19T05:57:11 | 139,424,570 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,274 | cpp | #include "showqueue.h"
#include <iostream>
using namespace std;
ShowQueue::ShowQueue(int queueSize)
{
MaxLength = queueSize;
}
int ShowQueue::Count()
{
return data.size();
}
bool ShowQueue::IsEmpty()
{
return data.empty();
}
bool ShowQueue::DelHead()
{
if (IsEmpty()) {
return false;
} ... | [
"305902464@qq.com"
] | 305902464@qq.com |
8f7e2dc9231aaa232520ebfa698a61a12818c8dc | cd605e76b971ac5f49135cd2e2208df43ae1d68b | /2015/Spring 15/CSCI 2400/Homework/HW5/shlab-handout/tsh.cc | 45a143204e26834ad66a03614f2e4a7ec18b394a | [] | no_license | nisheshshukla/CU | 9645487500c8d951b8cf08950ede13fe60386dd1 | d7e1fad5683edcf97826c86ecf6e4f022364cca3 | refs/heads/master | 2021-05-29T14:52:11.620927 | 2015-09-28T19:14:49 | 2015-09-28T19:14:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,657 | cc | //
// tsh - A tiny shell program with job control
//
// Nishesh Shukla - nish3996 (101994823)
using namespace std;
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <ctype.h>
#include <signal.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <errno.h>
#include <string>... | [
"nish3996@colorado.edu"
] | nish3996@colorado.edu |
47e7936f2c30609741a90fe2cc750580c890ed51 | 32056891abf90fbc6c158ade4a714db8ed164cac | /Algorithm/Sources/Extra/Solutions/Programmers/[1차] 뉴스 클러스터링.cpp | fd8a2ae2f831b6335271eb95651e4551511a923a | [] | no_license | sfy1020/AlgorithmTutorial | 543454579b63ea5afc4c134cef78a60c4b8f154a | 3b6190b682ecf80086f4cfeb07b167f23c39c8b4 | refs/heads/master | 2023-05-07T07:44:30.874307 | 2021-06-02T18:45:43 | 2021-06-02T18:45:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,120 | cpp |
// [1차] 뉴스 클러스터링
// https://programmers.co.kr/learn/courses/30/lessons/17677
// 시행착오
// 1. a.size() == 0 && b.size() == 0 인 경우 예외처리 시에도 65536를 곱해줘야 함.
#include <iostream>
#include <vector>
#include <algorithm>
#include <string>
//#include "Utility.h"
//#include "Print.h"
using namespace std;
struct Utility
{
... | [
"insooneelife@naver.com"
] | insooneelife@naver.com |
062bebbf96ce9caeb57f941c92dec2d9f53cf159 | fc79fe29914d224d9f3a1e494aff6b8937be723f | /Libraries/Rim Physics/include/rim/physics/shapes/rimPhysicsCollisionShapeBase.h | 08577d08ff43f53bfe91c0023305b6876fd135ec | [] | no_license | niti1987/Quadcopter | e078d23dd1e736fda19b516a5cd5e4aca5aa3c50 | 6ca26b1224395c51369442f202d1b4c4b7188351 | refs/heads/master | 2021-01-01T18:55:55.210906 | 2014-12-09T23:37:09 | 2014-12-09T23:37:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,184 | h | /*
* rimPhysicsCollisionShapeBase.h
* Rim Physics
*
* Created by Carl Schissler on 11/28/09.
* Copyright 2009 Rim Software. All rights reserved.
*
*/
#ifndef INCLUDE_RIM_PHYSICS_COLLISION_SHAPE_BASE_H
#define INCLUDE_RIM_PHYSICS_COLLISION_SHAPE_BASE_H
#include "rimPhysicsShapesConfig.h"
#include "rimPhy... | [
"niti1987@gmail.com"
] | niti1987@gmail.com |
7ee9eab141b7c20f05ec94397b0d120106921522 | adaf72cf718777d3d50aefe3153a40e0c8e372a5 | /kite with LeapMotion/shared/inc/rx_jpeg.h | 247712be6a107c74a3a09f564ef62c9a413e8540 | [] | no_license | isliulin/OpenGL_projects | 28d82f399713a2f22938b4f3ce0aae21b9dceba9 | 31d21853210d0da5b6ea16b18d3a4f252f1bfbdd | refs/heads/master | 2021-06-22T03:53:03.701382 | 2017-08-23T04:32:27 | 2017-08-23T04:32:27 | null | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 3,877 | h | /*!
@file rx_jpeg.h
@brief JPEGファイル読み込み,書き出し
- libjpegを使用
- http://www.ijg.org/
@author Makoto Fujisawa
@date 2011-06
*/
// FILE --rx_jpeg.h--
#ifndef _RX_JPEG_H_
#define _RX_JPEG_H_
//-----------------------------------------------------------------------------
// インクルードファイル
//-----------------------... | [
"DonDracula@users.noreply.github.com"
] | DonDracula@users.noreply.github.com |
ac82e8bfd9e3990149d6d20db70512ff90eed88b | ccd818cfabdfbc6ddb61c636ded89ac53bf08aea | /Linked List Template/Passenger.h | fc685c92d7274477b6642295b9292b273939ce15 | [] | no_license | KDunc11/Linked_List | 3d4d04c619df354699d0773f339698f0534d2c37 | 0782658e2044a7774adb4ad6692e6f48d7a7a2fa | refs/heads/master | 2022-12-18T11:35:23.658470 | 2020-10-05T17:08:34 | 2020-10-05T17:08:34 | 301,481,842 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 444 | h | #pragma once
#include <string>
#include <iostream>
using namespace std;
class Passenger
{
public:
Passenger();
Passenger(const Passenger& p);
~Passenger();
string getName()const;
int getFlightNum()const;
bool operator==(const Passenger &pass); //Checks if two passenger instances have are equivalent
bool opera... | [
"kduncan@nnu.edu"
] | kduncan@nnu.edu |
00fa483854d2e0bc465a6d35cfdf7f79537b4897 | c3896990a874b05ca87d191e8184d168baf4a0f9 | /GRObservations/GRObservations/GRLocation.h | 0368cdb14880590c877c9f0d3b98a4199015a5e6 | [
"MIT"
] | permissive | maxitg/GammaRays | 5e3acaa3149612f21bdd61d6cd674e4b26a73a58 | ca391ee1dd7d44c7cfb425555286c9642f94a3b3 | refs/heads/master | 2021-01-13T02:11:27.185238 | 2019-02-05T17:17:38 | 2019-02-05T17:17:38 | 13,683,020 | 3 | 0 | MIT | 2019-02-05T17:17:39 | 2013-10-18T16:20:39 | Mathematica | UTF-8 | C++ | false | false | 905 | h | //
// GRCelestialSpherePoint.h
// GRObservations
//
// Created by Maxim Piskunov on 24.03.2013.
// Copyright (c) 2013 Maxim Piskunov. All rights reserved.
//
#ifndef __Gamma_Rays__GRCelestialSpherePoint__
#define __Gamma_Rays__GRCelestialSpherePoint__
#include <iostream>
#include <string>
#include <vector>
using... | [
"maxitg@gmail.com"
] | maxitg@gmail.com |
f6fa8afabd9d41a5e84bae33737aaecf4181fbbd | cdf414dba10e4a75007d90952630b9d381a165e4 | /emulators/gxemul/patches/patch-src_devices_dev__dreamcast__gdrom.cc | cf7c2bc433c276992d252ecaa785eae8a1e33bbc | [] | no_license | TyrfingMjolnir/pkgsrc | f46b8214ab27ad7f825b1b0f7232c3f9c8ba1b1c | 133d044ecb88b1de6cd08426b89ed5b3a058bd56 | refs/heads/trunk | 2020-12-28T09:30:15.386908 | 2014-10-05T22:23:08 | 2014-10-05T22:23:08 | 28,958,817 | 1 | 0 | null | 2015-01-08T09:31:08 | 2015-01-08T09:31:08 | null | UTF-8 | C++ | false | false | 2,465 | cc | $NetBSD: patch-src_devices_dev__dreamcast__gdrom.cc,v 1.1 2012/07/26 22:10:28 abs Exp $
Fake up a much more complete TOC based on real CD image.
Now works with NetBSD 4, 5 & 6 which would have previously failed.
Comment out some unusual sector subtractions which handled values in the
multigigabyte range.
--- src/dev... | [
"abs"
] | abs |
2cc7bf0bed917a9bbbfdbead34deb695b4a68a1a | bdc5de0a9eb501933f553dc44b314f6534050125 | /ContainerWithMostWater.cpp | e5ec8a8f5ab8beff9dba8c38ce5201ad47a323f8 | [] | no_license | gupenghu/LeetCode | 5e689ae91ca5eda92b60aa9eb828faf44bc8e8a6 | 912d0084733a02b43511d248543b5cb49c4923ea | refs/heads/master | 2020-12-24T19:18:29.830942 | 2017-05-19T10:30:50 | 2017-05-19T10:30:50 | 31,646,815 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 572 | cpp | class Solution {
public:
int maxArea(vector<int>& height) {
int result = 0;
int capacity = 0;
int start = 0,end = height.size() - 1;
while(start < end){
if(height[start] <= height[end]){
capacity = (end - start) * height[start];
result = re... | [
"806088082@qq.com"
] | 806088082@qq.com |
6e30830b4f4335e66c09eb0f4b1b897a926a0ac8 | 2e86b13ef98923eb45ee4da540b10f69f0f2f453 | /test/unit-src/eq_ilas.cc | 722c897c4a5e7746d44e9cf762489dd19e302e4f | [
"MIT"
] | permissive | pramodsu/ILA-Tools | 1dfd7e2282382a9f6870bf85deb77c460047b112 | e76bd90cf356ada8dd6f848fb377f57c83322c71 | refs/heads/master | 2020-03-18T21:16:35.249306 | 2018-08-17T07:23:59 | 2018-08-17T07:23:59 | 135,271,196 | 1 | 3 | MIT | 2018-08-13T06:47:10 | 2018-05-29T09:14:21 | C | UTF-8 | C++ | false | false | 7,625 | cc | /// \file
/// Source for constructing equivalent ILAs.
#include "../unit-include/eq_ilas.h"
namespace ila {
// Flat ILA 1:
// - no child-ILA
// - every computation is done in an increaing order of the index/address
InstrLvlAbsPtr EqIlaGen::GetIlaFlat1() {
auto ila = InstrLvlAbs::New("Flat_1");
// input variable... | [
"byhuang1992@gmail.com"
] | byhuang1992@gmail.com |
51b25fdc39e9e3a76623a8c5558bd967cfd8e55e | 39ff2c211bbab23b8721d6eb4446c7a07d35a412 | /Game.cpp | d5dd8dba8f01477f4c4aca99d1a57c71f9b787df | [] | no_license | jicehel/Breakout_v2 | 01970eef5ceecc21ee150e553b7e005dd16994ea | ebc1ebcd1e43d5b07c61df045dcd4a2ac79470d4 | refs/heads/main | 2023-08-05T04:10:56.477488 | 2021-09-13T21:57:42 | 2021-09-13T21:57:42 | 402,478,583 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 124,079 | cpp | #include <Gamebuino-Meta.h>
#include "Global.h"
const uint16_t CREDITS_DATA[] = {
// metadata
80, // frame width
64, // frame height
1, // frames
0, // frame loop
0xf81f, // transparent color
0, // 16-bits color mode
// colormap
0x10e5, 0x1... | [
"noreply@github.com"
] | jicehel.noreply@github.com |
1476e5c3e3ba6799d0c44645bdcbbc22f4dd34e1 | 9d56d75237e73860b3dbfdcfe84ae9f150d6551d | /src/ORBmatcher.h | 5d6c4936ed63eefdd1f452e2f2d75ffd4a76037b | [] | no_license | nonlinear1/gslam_orbslam | c8232807fef7a074421aa7d26c55bf223bd192fe | 8dcb97c49463105876dd2a79ede7f07c650ce674 | refs/heads/master | 2021-02-14T13:32:37.027288 | 2019-10-11T12:04:08 | 2019-10-11T12:04:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,723 | h | /**
* This file is part of ORB-SLAM.
*
* Copyright (C) 2014 Raúl Mur-Artal <raulmur at unizar dot es> (University of Zaragoza)
* For more information see <http://webdiis.unizar.es/~raulmur/orbslam/>
*
* ORB-SLAM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public Licen... | [
"zd5945@126.com"
] | zd5945@126.com |
6ab6d63a045332c8ad001e80491d1753de2520f5 | a4ccd04572bbf659ac3c0a57a983fdedc7ef6933 | /src/qt/bitcoinunits.cpp | f355fe3e825cab2763672ff4d731ea534978f244 | [
"MIT"
] | permissive | mammix2/MaiaCoin | 43ef05c0e39fc7013e3570028bec5bf959190460 | 09dd6a855a17967a2babf5de9c1842f86bc67020 | refs/heads/master | 2021-06-29T15:11:24.517927 | 2016-03-21T22:44:00 | 2016-03-21T22:44:00 | 21,301,700 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 4,287 | cpp | #include "bitcoinunits.h"
#include <QStringList>
BitcoinUnits::BitcoinUnits(QObject *parent):
QAbstractListModel(parent),
unitlist(availableUnits())
{
}
QList<BitcoinUnits::Unit> BitcoinUnits::availableUnits()
{
QList<BitcoinUnits::Unit> unitlist;
unitlist.append(BTC);
unitlist.append(mBT... | [
"unknown"
] | unknown |
ad7673608a51c8e68f342514dda2a999623e0b17 | 18d5ba86957e3e3bdcf5ee144d6cdce307409949 | /android_webview/browser/child_frame.cc | f51b7455f0836643cd814240da1db905b53489b1 | [
"BSD-3-Clause"
] | permissive | MichaelMiao/chromium | cf5021e77c7df85905eb9e6a5c5bfa9329c5f4ff | 00c406052433085e22fa4f73d990c8e4ff3320b3 | refs/heads/master | 2023-01-16T06:47:36.223098 | 2016-03-28T20:00:29 | 2016-03-28T20:02:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,099 | cc | // Copyright 2015 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 "android_webview/browser/child_frame.h"
#include <utility>
#include "cc/output/compositor_frame.h"
namespace android_webview {
ChildFrame::Ch... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
c91e06eddce708a08c128fd85840125ee4fba603 | 84eae8f15c2fe136b4e6599e3a4d23259cd0248b | /Classes/ImGUI/imgui_impl_glfw_win32.cpp | 3af101bb4e913da02e5189580ccd76438ab3c9c5 | [
"MIT"
] | permissive | maxkidd/HonoursProject | feb2d87eb0b61b09d8e655a78cc00ac92ac08e75 | cf478f100f56f41ffa9b30501ebe4afbf175f79a | refs/heads/master | 2021-06-18T01:38:59.686474 | 2017-04-24T12:44:46 | 2017-04-24T12:44:46 | 75,409,825 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,179 | cpp | // ImGui GLFW binding with OpenGL
// You can copy and use unmodified imgui_impl_* files in your project.
// If you use this binding you'll need to call 4 functions: ImGui_ImplXXXX_Init(), ImGui_ImplXXXX_NewFrame(), ImGui::Render() and ImGui_ImplXXXX_Shutdown().
// See main.cpp for an example of using this.
// https://... | [
"max.kidd@hotmail.co.uk"
] | max.kidd@hotmail.co.uk |
ac5c275e0a5d4c2af453e90de025dd863b3b4180 | 87b7ca8c59faf32b439d9050919cb80e9d867758 | /Android1/libs/tina/Classes/widget/GridCell.h | 265074fd8e7f1f634efc29c604c0466b133f1658 | [] | no_license | wjezxujian/Android_VS | 7e6e23d165032e21a141a63563eba05e3827bbed | 38f5f178a3b966f24f1c137e414448b5b51a6d2f | refs/heads/master | 2021-01-10T02:21:27.082548 | 2016-01-16T10:57:50 | 2016-01-16T10:57:50 | 49,628,674 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,222 | h | #pragma once
/****************************************************************************
功 能:GridView组件
============================================================================
Copyright (c) 2015 Tungway
创建者:董伟
创建日期:2015-03-08
最后修改者:董伟
最后修改日期:2015-03-08
*************************************************... | [
"jian.xu@dena.com"
] | jian.xu@dena.com |
f72d7568941a0d49617b7cb7ea31eb5f0349a8a8 | 7d1a96565a1b46eaa38770bc592f0f508ba659b3 | /NorthernSubregional2014/B.cpp | 1f5c8d75d877b05b0371e4fa8a09a3159ca5fb5c | [] | no_license | RubenAshughyan/Programming-olympiads | f09dff286677d65da19f0ba4c288aa6e97ba9fd5 | 2bc85f5e6dc6879105353d90e8417b73c0be2389 | refs/heads/master | 2021-09-26T17:18:47.100625 | 2021-09-13T09:58:41 | 2021-09-13T09:58:41 | 73,565,659 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,361 | cpp | #include<bits/stdc++.h>
//#include "rubo.h"
#define MP make_pair
#define PB push_back
#define in int
#define ll long long
#define ull unsigned long long
#define vc vector
#define SQ(j) (j)*(j)
//#define i first
//#define j second
//#define ld long double
#define dbl double
#define pll pair<long long,long long>
#defi... | [
"ruben.ashughyan@gmail.com"
] | ruben.ashughyan@gmail.com |
680488cff216ae0cb090d1381f3eb93edcc8e918 | 8cf763c4c29db100d15f2560953c6e6cbe7a5fd4 | /src/qt/qtbase/src/gui/accessible/qaccessiblebridge.cpp | 21cb0ef35ca96e4d3992169f96aebe5d50bc9c17 | [
"BSD-3-Clause",
"LGPL-2.0-or-later",
"LGPL-2.1-only",
"GFDL-1.3-only",
"Qt-LGPL-exception-1.1",
"LicenseRef-scancode-digia-qt-commercial",
"LGPL-3.0-only",
"GPL-3.0-only",
"LicenseRef-scancode-digia-qt-preview",
"LGPL-2.1-or-later",
"GPL-1.0-or-later",
"LicenseRef-scancode-unknown-license-refe... | permissive | chihlee/phantomjs | 69d6bbbf1c9199a78e82ae44af072aca19c139c3 | 644e0b3a6c9c16bcc6f7ce2c24274bf7d764f53c | refs/heads/master | 2021-01-19T13:49:41.265514 | 2018-06-15T22:48:11 | 2018-06-15T22:48:11 | 82,420,380 | 0 | 0 | BSD-3-Clause | 2018-06-15T22:48:12 | 2017-02-18T22:34:48 | C++ | UTF-8 | C++ | false | false | 4,286 | cpp | /****************************************************************************
**
** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtGui module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Licensee... | [
"ariya.hidayat@gmail.com"
] | ariya.hidayat@gmail.com |
295586525511245ec295a8015998bedb9f70c48c | f67cec68f5fc297c516ca03c68ebeb33afe74abd | /chp3/excercises/excercise3-9.cpp | d9002dcb7537fbfd380f1d37c91a0e322a61bcb3 | [
"MIT"
] | permissive | justinePrasad/PPC2nd | 78d10677ab4d4a87acfefd31dac10c7617ee6b4d | fc28c10dace8b46bd35abc9b62d1f56577035c19 | refs/heads/main | 2023-04-09T21:15:10.423891 | 2021-04-19T20:08:41 | 2021-04-19T20:08:41 | 346,185,074 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 442 | cpp | #include "../../../../std_lib_facilities.h"
int main()
{
string num;
cout << "Enter a number between 0-4 to be typed out\n";
cin >> num;
if ((num == "zero") || (num == "Zero"))
cout << "0";
else if ((num == "one") || (num == "One"))
cout << "1";
else if ((num == "two") || (num == "Two"))
cout << "2";
els... | [
"noreply@github.com"
] | justinePrasad.noreply@github.com |
f4d51128a8513dc10310bfa15a791698253205fd | 34e85672fad576629ad0531af9ee452861710428 | /src/GlobalConfig.cpp | 9a8819705e7db8e5f4680108683eccde90295a49 | [] | no_license | Boosting/stereo-gaze-tracker | d61b2a3ac490a231e7b8681937dd13c016188418 | eee2b7fed271fbec20cf12ecd913b869fab31cf3 | refs/heads/master | 2021-01-20T17:34:14.031358 | 2014-03-30T01:42:04 | 2014-03-30T01:42:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,026 | cpp | #include "wxprec.h"
#include "GlobalConfig.h"
#include "Parameter.h"
#include "GazeTracker.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
GlobalConfig* GlobalConfig::pInstance = 0;
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
/////////////////////////... | [
"krzysztof.jelski@pragmatists.pl"
] | krzysztof.jelski@pragmatists.pl |
51a3ddd28296a01959106450b61be35307fdb91b | e418b6a1ecf91b26f7f3e57f9b352ff05fe5e2e2 | /mainwindow.h | 8e26d54ff208dfc00dee56b2d62b718d521d26c9 | [] | no_license | mind-yi/six-in-a-row | 895f9bfb5e5d1d60ae84df66ae7f8642ff3d38d5 | 84db4dc7da92375aa02bac9d4dfced602891b8a1 | refs/heads/master | 2022-12-12T11:16:39.308218 | 2020-09-16T15:59:33 | 2020-09-16T15:59:33 | 292,240,692 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 951 | h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QPushButton>
#include <QDialogButtonBox>
#include <QTcpServer>
#include <QTcpSocket>
#include "p_pwindow.h"
#include "p_awindow.h"
#include "a_awindow.h"
#include "c_swindow.h"
namespace Ui {
class MainWindow;
}
class MainW... | [
"noreply@github.com"
] | mind-yi.noreply@github.com |
93893ece7152dbce535009ef37176e7991465212 | 395a3e5731ff6a2a4c97f2c215f27666ac0ad590 | /some test/stdafx.cpp | 7509bf034bab835fe31fc490e48df0bb16505513 | [] | no_license | Tronf92/some_test | 6adf24de55808301d27d0ccf56a3b2886c5787af | be2945c7bfffbcac03ed11fdde87ccc3f02a159c | refs/heads/master | 2021-08-22T23:27:35.010154 | 2017-12-01T17:07:19 | 2017-12-01T17:07:19 | 112,765,478 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 296 | cpp | // stdafx.cpp : source file that includes just the standard includes
// some test.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
| [
"ady.niko51@gmail.com"
] | ady.niko51@gmail.com |
a3166c44c22db495c1397ec958f65ddafa88a755 | d4c1fd70ef2f545d238bdbf34fac6fb8e45e2509 | /network_macro.h | eb32ad960b31478b555d1feda4113cbdb3f5ed0a | [] | no_license | fourseaLee/network | dcedc67615321b90a0d9ddee991b22610cf1240e | ff5d58558304b905d6e27ef126a132fc38272299 | refs/heads/master | 2020-08-20T06:12:43.277990 | 2019-10-18T09:36:39 | 2019-10-18T09:36:39 | 215,990,366 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,519 | h | #ifndef CONFIG_NETWORK_H
#define CONFIG_NETWORK_H
#include <stddef.h>
#include <stdint.h>
#include <string>
//! total number of buckets for tried addresses
#define ADDRMAN_TRIED_BUCKET_COUNT_LOG2 8
//! total number of buckets for new addresses
#define ADDRMAN_NEW_BUCKET_COUNT_LOG2 10
//! maximum allowed number of ent... | [
"913357989@qq.com"
] | 913357989@qq.com |
f63ea6bbab36d7bc65b8be5eb439f4eca4ee34f5 | 74af32d04639d5c442f0e94b425beb68a2544b3c | /LeetCode/Normal/900-999/974.cpp | 1c654144c0b3d22337ed7713f7b80e7e593936e1 | [] | no_license | dlvguo/NoobOJCollection | 4e4bd570aa2744dfaa2924bacc34467a9eae8c9d | 596f6c578d18c7beebdb00fa3ce6d6d329647360 | refs/heads/master | 2023-05-01T07:42:33.479091 | 2023-04-20T11:09:15 | 2023-04-20T11:09:15 | 181,868,933 | 8 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 508 | cpp | #include <bits/stdc++.h>
using namespace std;
class Solution
{
public:
int subarraysDivByK(vector<int> &A, int K)
{
int sum = 0;
int ans = 0;
vector<int> nums(K, 0);
for (auto num : A)
{
sum = (sum + num) % K;
sum = sum < 0 ? sum + K : sum;
... | [
"dlvguo@qq.com"
] | dlvguo@qq.com |
18e54b56b33b48b8172bab9bfa83e4667facce9a | 182bf23e20184ca21698de955dd3c6c2f87f8db0 | /HololensBuild/Il2CppOutputProject/Source/il2cppOutput/Microsoft.MixedReality.Toolkit.Demos.UX.Interactables_Attr.cpp | 89e04a03d3b9d1ad518c73b3d7d5e548cf362c01 | [] | no_license | DreVinciCode/Naruto_Rasenshuriken | d86ac7dd42a1cd07b166710822a061e1903fbc46 | a5e9b0e41f85aeb54321b82ff048be818c31db0b | refs/heads/main | 2023-07-05T10:48:23.515643 | 2021-08-05T01:28:45 | 2021-08-05T01:28:45 | 392,864,780 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 41,131 | cpp | #include "pch-cpp.hpp"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <limits>
#include <stdint.h>
// System.Char[]
struct CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34;
// System.Type[]
struct TypeU5BU5D_t85B10489E46F06CEC7C4B1CCBD0E01FAB6649755;
// UnityEngine.AddCompon... | [
"dre.vivero@gmail.com"
] | dre.vivero@gmail.com |
f3ead1a1fc5a97164dca90312f3bd20721705781 | 5456502f97627278cbd6e16d002d50f1de3da7bb | /ash/common/wm/maximize_mode/maximize_mode_event_handler.h | 1e7b1aaba0afcd276c9f39642531943eac8b6e63 | [
"BSD-3-Clause"
] | permissive | TrellixVulnTeam/Chromium_7C66 | 72d108a413909eb3bd36c73a6c2f98de1573b6e5 | c8649ab2a0f5a747369ed50351209a42f59672ee | refs/heads/master | 2023-03-16T12:51:40.231959 | 2017-12-20T10:38:26 | 2017-12-20T10:38:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,066 | 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 ASH_COMMON_WM_MAXIMIZE_MODE_MAXIMIZE_MODE_EVENT_HANDLER_H_
#define ASH_COMMON_WM_MAXIMIZE_MODE_MAXIMIZE_MODE_EVENT_HANDLER_H_
#include "ba... | [
"lixiaodonglove7@aliyun.com"
] | lixiaodonglove7@aliyun.com |
366dd2274cfbb52e43f4b97743d403550f3b56f7 | 094a3ce6199e6860f8a0ab512ba91042f8cfb4e6 | /sorts/partial_quicksort.cpp | b249446cfc76e6702dd08702fa6e3898bb4b3143 | [] | no_license | dziubamiol/sort_benchmark | b6193ee602df534c22e20b522e1697f97f5ef15e | 6da087b360c1709391981be5102490afd14417ac | refs/heads/master | 2022-06-01T21:31:10.546750 | 2020-05-05T09:14:52 | 2020-05-05T09:14:52 | 259,651,791 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 31 | cpp | #include "partial_quicksort.h"
| [
"dziubamiol@gmail.com"
] | dziubamiol@gmail.com |
32c4f6ba6ea4b55ab18c6d7226b6512a7381677e | cb31cdec03dea46e1e88ceaef48bff842a2adbc4 | /src/service/gemma_service.h | 406fc232b72b2bf71abc6a2f9e84f0820ae421c2 | [
"MIT"
] | permissive | baoxingsong/mlmm | d8b5882c7a211f7ad1dd65dd10caa45a68725f5a | 253de26654f7a107929045b80b415768cc180ca0 | refs/heads/master | 2021-01-25T14:55:25.747511 | 2018-09-26T11:42:54 | 2018-09-26T11:42:54 | 123,733,752 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 487 | h | //
// Created by song on 5/29/18.
//
#ifndef MLMM_CPP_GEMMA_SERVICE_H
#define MLMM_CPP_GEMMA_SERVICE_H
#include "../impl/impl.h"
#include "../model/model.h"
#include <map>
void gemma_test ( phenotype_impl & pi, Kinship_matrix_impl & k_i, Genotype & genotype, const double & man_l, const double & man_u );
void gemma_... | [
"songbaoxing168@163.com"
] | songbaoxing168@163.com |
de2cb9f0c57efbc07fe20d735cc547d894ebf6e7 | e223dd342629b52d71c0c822fa84c97e437d48a8 | /libnhttp/nhttp/server/extensions/http_vpath.hpp | 827b01c3591f1429335551b29ebc86b287ff9ac0 | [
"MIT",
"Unlicense"
] | permissive | jay94ks/libnhttp | e43d3ce46fc8c0d7ac3c302cf658f2af01448c69 | a244eb2d04c339454ef4831b43d1ab270ee7d13d | refs/heads/main | 2023-04-12T22:48:27.319614 | 2021-04-17T14:54:23 | 2021-04-17T14:54:23 | 356,216,874 | 5 | 1 | MIT | 2021-04-17T14:54:23 | 2021-04-09T09:39:31 | HTML | UTF-8 | C++ | false | false | 1,880 | hpp | #pragma once
#include "http_extension.hpp"
#include "../http_context.hpp"
#include "../http_link.hpp"
#include <stack>
namespace nhttp {
namespace server {
class http_vpath;
using http_vpath_ptr = std::shared_ptr<http_vpath>;
/**
* class http_path_tag.
* tag for marking the request is handled by.
*/
class ... | [
"jay94ks@gmail.com"
] | jay94ks@gmail.com |
19bdad378d977dd9e39b562d047f6438a2bcabb3 | f91f8fe4675dbc940b2388357e453eecb4441892 | /src/Chapter08/ch8-09-Geometry-Normal/RenderSystem.h | d7dd9b2315867d1395f8c1be778fc603f3334b9a | [] | no_license | byhj/OpenGL-Bluebook | a144b27bce9a1a1484b9dd19aa9bf6e617764d5d | e9137600d7ec15360cbf051420545dbec8deaddb | refs/heads/master | 2016-09-15T11:39:37.106518 | 2016-04-01T14:17:02 | 2016-04-01T14:17:02 | 33,667,598 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 326 | h | #ifndef RENDERSYSTEM_H
#define RENDERSYSTEM_H
#include "ogl/App.h"
#include "Geometry.h"
namespace byhj
{
class RenderSystem : public ogl::App
{
public:
RenderSystem();
~RenderSystem();
public:
void v_InitInfo();
void v_Init();
void v_Render();
void v_Shutdown();
private:
byhj::Geometry m_Geometry;
};
}
... | [
"476652422@qq.com"
] | 476652422@qq.com |
2adb521435c10a45264173d185703325abc08a5c | 93e7d91bb1d8e7a77ac746d13e79c7da07bd5ee4 | /src/wallet/init.cpp | abcf23e5e9e7d78c3429f74f62579a571b603c44 | [
"MIT"
] | permissive | escudonavacense/escudonavacense | a2eb699db715ef45010cba2707bc65b21a605eea | 2ec2abd9e3b4545e8a3bc2ec87d797d021459141 | refs/heads/master | 2020-12-29T19:37:40.480469 | 2020-02-06T16:00:32 | 2020-02-06T16:00:32 | 238,708,341 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,776 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2017 The Bitcoin Core developers
// Copyright (c) 2020 The EscudoNavacense Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <wallet/init.h... | [
"achury.daniel1@gmail.com"
] | achury.daniel1@gmail.com |
d276cd931696c634eb4c93711f4eca893ecfce56 | a6dd54cb560dddccef0b2233fa2990f25e818c7b | /Live Archive/5756.cpp | 223e66c547f16bed5ba4aa128e5efb59eed11a44 | [] | no_license | renzov/Red_Crown | ec11106389196aac03d04167ad6703acc62aaef6 | 449fe413dbbd67cb0ca673af239f7d616249599a | refs/heads/master | 2021-07-08T04:56:22.617893 | 2021-05-14T18:41:06 | 2021-05-14T18:41:06 | 4,538,198 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,131 | cpp | #include <iostream>
#include <cstdio>
#include <algorithm>
#include <set>
#include <cstring>
#include <cstdlib>
#include <cctype>
#include <map>
#include <string>
#include <sstream>
#include <vector>
#include <queue>
#include <stack>
#include <cmath>
#include <climits>
#define repn( i , a , b ) for( int i = ( int ) a ... | [
"gomez.renzo@gmail.com"
] | gomez.renzo@gmail.com |
350bb22845424a92f260aff8ef1d528ae75234f8 | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/anomaly/src/pruner_mean.cpp | dc72ffa2bdb87dfabaf925f374c99868a624c4c1 | [] | no_license | akhikolla/testpackages | 62ccaeed866e2194652b65e7360987b3b20df7e7 | 01259c3543febc89955ea5b79f3a08d3afe57e95 | refs/heads/master | 2023-02-18T03:50:28.288006 | 2021-01-18T13:23:32 | 2021-01-18T13:23:32 | 329,981,898 | 7 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,126 | cpp | #include "Functions_mean.h"
#include <math.h>
#include <stdlib.h>
#include <stdio.h>
namespace anomalymv
{
void pruner_mean(struct orderedobservationlist_mean *list, int ii, int p, int l, int minseglength, int maxseglength, double totalpenalty)
{
double threshold;
threshold = totalpenalty + list[ii].optimalcost;
... | [
"akhilakollasrinu424jf@gmail.com"
] | akhilakollasrinu424jf@gmail.com |
728952189693c42c993518566838e6af9951a3c1 | 40e716042bcb224a7e8cddfe5aac31fcfd23a64a | /cocos2dx_lizi_1/游戏完成/Classes/MagicMatrixSprite.h | beb79d0d9761505dca9274d7385cccac2657830f | [] | no_license | wuxuanjian/cocos2d | 23e27f109cf6044c323904adddf7b2c6f224380d | d79784550e3889b8fbe024f20b5ae03d820bdde5 | refs/heads/master | 2021-01-25T05:22:02.509034 | 2014-03-13T05:47:11 | 2014-03-13T05:47:11 | 17,437,864 | 4 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 1,729 | h | #ifndef __MAGICMATRIX_SPRITE_H__
#define __MAGICMATRIX_SPRITE_H__
#include "cocos2d.h"
#include "DefenderGameLayer.h"
//此类是魔法矩阵
class MagicMatrixSprite:public cocos2d::CCNode{
public:
MagicMatrixSprite();
~MagicMatrixSprite();
CC_SYNTHESIZE(float,hurt,Hurt);// 伤害值
CC_SYNTHESIZE(bool,avail,Avai... | [
"xuanj_love@163.com"
] | xuanj_love@163.com |
f7b3e4d4acce9354965865b5c34349fa43f368fc | ec17c220a74fa60bf0e0bd1e6adbb618906f2033 | /Pre-Launch/src/util.h | 014a8384e112e6b0af4ee7d2cf7cb7a0ef4aeb8b | [
"MIT"
] | permissive | RedOakCoin/RedOakTestNet | bcd4781d48bdfba4e11f0a569c3301015f3a47d6 | 4dab88e391c15be6c3a8d66d5b5e6f6ec57acd0b | refs/heads/master | 2021-04-12T04:30:07.089007 | 2014-10-11T21:03:37 | 2014-10-11T21:03:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,498 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Copyright (c) 2011-2012 redoakcoin Developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_UTIL_H
#define BIT... | [
"RedOakCoin@Gmail.Com"
] | RedOakCoin@Gmail.Com |
9790698a0ee9ee80ca016b0b08fed62e475ae853 | 85c9c3d2738191d0674265940b207a5d42b57070 | /src/tcp_server_win.cpp | 4fce836fb794786c8da0988d625c4319d6bf4742 | [] | no_license | Sophie-Williams/hexagon-game-bot | 0ed7aecd0276e8f53afd465a8dd7aa2d12c32d39 | 1724e971630d21a91f167d65558b6d0d27096a1a | refs/heads/master | 2020-05-19T15:39:03.568627 | 2017-12-23T00:42:37 | 2017-12-23T00:42:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,569 | cpp | #include "winsock2.h"
#include "windows.h"
#include "conio.h"
#include "iostream"
#include "hexagon_bot.h"
#pragma comment(lib,"wsock32.lib")
void tcp_server(int **hexag, int port) {
setlocale(LC_ALL, "RUSSIAN");
WSADATA WsaData;
SOCKADDR_IN serverAddr;
SOCKET Socket;
char msgStr[32] = "You are connected to the ... | [
"sfaxi19@gmail.com"
] | sfaxi19@gmail.com |
7ae6b8914c15c3e41d0ae5bed7d4093afbe6c3b6 | e11b3e40cd7f202a23e8d5567693e2a9de57abc1 | /中本's 後期課題/XFileDraw/Slider.cpp | 6b9d2f4e1ccdf347ef029fdd8987f686d2e72ee0 | [] | no_license | Kasugai0083/Library | b6525c905a74f0d85373e9507c20f8e69ebdd340 | 857543da88dfe12c86c9735893f1b0bbd82f16f1 | refs/heads/master | 2020-12-28T16:24:41.531527 | 2020-02-18T12:56:15 | 2020-02-18T12:56:15 | 238,405,104 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 2,785 | cpp | #include "Slider.h"
void UpdateSliderNextValue(float next_value, Slider& out_slider)
{
// 値を更新する
out_slider.NextValue = max(out_slider.MinValue, min(next_value, out_slider.MaxValue));
// 今の値と新しい値の差を出して、速度を算出する
float distance = fabsf(out_slider.CurrentValue - out_slider.NextValue);
// 移動にかかるフレーム数
float moev_fra... | [
"kasugai0083@gmail.com"
] | kasugai0083@gmail.com |
261e42d0f28c43820f53505b5fb5c90f49492c65 | aa724c497cde712c028cfa5da379b928fcf7c476 | /modules/html/element/HTMLPreElement.cpp | f85935112cdafb5e8d3cd143315e4e252094657f | [] | no_license | Softnius/Newtoo | 9368cfe197cbc26b75bd3b6b33b145c1f4c83695 | e1562adbb5e59af088163c336292821686b11ef0 | refs/heads/master | 2020-03-30T07:50:07.324762 | 2018-09-29T14:29:37 | 2018-09-29T14:29:37 | 150,969,651 | 8 | 1 | null | 2018-09-30T13:28:14 | 2018-09-30T13:28:13 | null | UTF-8 | C++ | false | false | 835 | cpp | #include "HTMLPreElement.h"
namespace Newtoo
{
HTMLPreElement::HTMLPreElement()
{}
HTMLPreElement::HTMLPreElement(DOMString aNamespace, DOMString qualifiedName, DOMString aPrefix)
:HTMLElement(aNamespace, qualifiedName, aPrefix)
{}
CSSStyleDeclaration HTMLPreElement::userAgentStyle()
... | [
"flightblaze@gmail.com"
] | flightblaze@gmail.com |
879c342bdbd2e5cfb0e6839b68d8427d3e8a5ec3 | a665c2ef9dd3301155a044332318c685e5f610d8 | /test/storage.cpp | 7b26a8889c8b5e833266d9ca6bbb2e0b2a2589d4 | [] | no_license | Semisonic/IQOptionTestTask | 2054a70189cc494ceaf801d28c973a59edb691f2 | a0cfd2a25583b9e25708a21d958248f00fc14fca | refs/heads/master | 2021-05-05T15:17:12.277989 | 2018-02-13T16:32:20 | 2018-02-13T16:32:20 | 117,302,922 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,203 | cpp | #include "storage.h"
#include <list>
#include <map>
#include <random>
#include <set>
#include <iostream>
#include "name_generator.h"
struct FullUserDataEx : public FullUserData {
bool ratingReceived {false};
std::list<monetary_t> winningsHistory;
std::list<std::string> nameList;
};
constexpr int historyL... | [
"Semisonic.Tovaroved@gmail.com"
] | Semisonic.Tovaroved@gmail.com |
ab1ee89f2285c50d52353a294f2b80408088beb1 | 85e7114ea63a080c1b9b0579e66c7a2d126cffec | /SDK/SoT_ALK_ThirdPerson_Male_Thin_classes.hpp | 1f60a59039557036775fcb3c393d18ce27f7810a | [] | 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 | 748 | hpp | #pragma once
// Sea of Thieves (1.2.6) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "SoT_ALK_ThirdPerson_Male_Thin_structs.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Classes
//------------------------------------------------------------------... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
776ff96e84d2e5fc96bb539d97adbc1a644f13d2 | 35582bebdf88791210a59a8a90e1bc41c953c833 | /src/ivaOnvif/OnvifMan.cpp | 6be6728e5f655252ae659c9eca235fa758b4404e | [] | no_license | layerfsd/iva_4_tk1 | 57cd4ba26cc318084e2bf898c5778d90cd071d21 | 1cb888dc83b2814ff0d28e163b5ca9b30a157576 | refs/heads/master | 2021-04-28T16:19:48.962452 | 2017-09-05T02:58:30 | 2017-09-05T02:58:30 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 21,137 | cpp | #include "OnvifMan.h"
#include <sys/stat.h>
#include <sys/types.h>
#include <assert.h>
#include "oal_log.h"
#include "oal_time.h"
#include "mq_master.h"
#include "libonvif2.h"
#include "dahua3dposition.h"
#include "hik3dposition.h"
#include "uniview3dposition.h"
#include "tiandy3dposition.h"
#include "proxy3dposition... | [
"libozjw@163.com"
] | libozjw@163.com |
836d055bd7961a10661e9e332b98b1244663a4ad | 31287dccda1fa0be67d87c61175fc7e9206134e8 | /QtBook/Paint/NinePatchPainter/Widget.cpp | 6a4f8f496293011b2d6b2fce41ce9d9a2a37a9e4 | [] | no_license | xtuer/Qt | 83c9407f92cef8f0d1b702083bb51ea29d69f18a | 01d3862353f88a64e3c4ea76d4ecdd1d98ab1806 | refs/heads/master | 2022-06-02T02:32:56.694458 | 2022-05-29T13:06:48 | 2022-05-29T13:06:48 | 55,279,709 | 15 | 13 | null | null | null | null | UTF-8 | C++ | false | false | 561 | cpp | #include "Widget.h"
#include "NinePatchPainter.h"
#include <QPixmap>
#include <QPainter>
Widget::Widget(QWidget *parent) : QWidget(parent) {
pixmap.load(":/rounded-rectangle.png"); // 加载背景图
ninePatchPainter = new NinePatchPainter(pixmap, 25, 25, 25, 25);
}
Widget::~Widget() {
delete ninePatchPainter;
}
... | [
"biao.mac@icloud.com"
] | biao.mac@icloud.com |
ceee68d313245a21f0c9515d07512a083a578aaa | c53b534cab860ace88dafe46b645af5d9b1cde1b | /firstWidgetsApp/mainwindow.cpp | 1d35740acc81f4986f6c5cb34c626ad47af036f5 | [] | no_license | lmd-luxoft/labwork-dmitrii-od-ua | 9fb1f7a9f8ddca7d74ea54bcfd2c277ffd5139d7 | 109fd8fdc17df162e0d4c5ec68db78047c9f9926 | refs/heads/main | 2023-03-08T12:16:18.403401 | 2021-02-18T07:50:12 | 2021-02-18T07:50:12 | 339,017,972 | 0 | 0 | null | 2021-02-15T08:57:48 | 2021-02-15T08:57:44 | null | UTF-8 | C++ | false | false | 223 | cpp | #include "mainwindow.hpp"
#include "ui_mainwindow.h"
MainWindow::MainWindow(QWidget *parent)
: QMainWindow(parent)
, ui(new Ui::MainWindow)
{
ui->setupUi(this);
}
MainWindow::~MainWindow()
{
delete ui;
}
| [
"dmelnichenko@luxoft.com"
] | dmelnichenko@luxoft.com |
e26cec26055f20b51d00053f4cee90d1da1529e9 | b4803e8dbacb16bde18818a51cc57bfa1341779c | /src/OclExample.cpp | 6dde1aa447fef9c705704b212db5daac93f3b55e | [] | no_license | HustStevenZ/OclExample | 97dbec79c72bb7042f31d37c3f4befd944b1fd83 | 3aa4f47a0d5ab0d8eda1915d8c1bde945f0d05ae | refs/heads/master | 2020-04-06T09:03:56.023997 | 2016-08-31T11:39:21 | 2016-08-31T11:39:21 | 63,135,775 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 494 | cpp | //
// Created by Sanqian on 16/7/7.
//
#include <cstdio>
#include <QApplication>
#include <QWidget>
#include <src/gui/ImageFilterExampleWidget.h>
#include <src/gui/MainWidget.h>
int main(int argc, char **argv) {
QApplication app(argc, argv);
// ImageFilterExampleWidget widget;
// widget.show();
QSurfac... | [
"sanqianzhao@gmail.com"
] | sanqianzhao@gmail.com |
d09535735cb6a9581a373cb43cf99b386b7ff2f1 | cb28c1f3444ea3535cfdde13b395ff43647278d0 | /lab7.1/lab7.1/stdafx.cpp | 59fb78ef54b619d8b06e982592a4e85134b8afda | [] | no_license | Artikx9/OOP | d042724ab0f98c1d951665b4cc2608a8bcd5632a | c7ee5db6bf26e07320b6f69da830f6d7585fb7f4 | refs/heads/master | 2020-07-02T10:42:52.255015 | 2016-11-25T17:04:57 | 2016-11-25T17:04:57 | 67,342,580 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 570 | cpp | // stdafx.cpp: исходный файл, содержащий только стандартные включаемые модули
// lab7.1.pch будет предкомпилированным заголовком
// stdafx.obj будет содержать предварительно откомпилированные сведения о типе
#include "stdafx.h"
// TODO: Установите ссылки на любые требующиеся дополнительные заголовки в файле STDAFX.H
... | [
"artikx9@bk.ru"
] | artikx9@bk.ru |
4ba8665bfcd202eee58e1491c0aa5020f6f48dd1 | fe5dab7a18950f46410cdf986e7b98343cf2b6c3 | /Source/UE4Shooter/Public/Pickup/PickupSniperRifle.h | c258efad28bc048a1b6cc67db619e08cc7008ba8 | [] | no_license | horinoh/UE4Shooter | 4330c79bfb6aa09aa9f2ebae9a9e7bc55dd22a92 | 0a90049147f3a8eed8a3291f9b6dd6e35d327b73 | refs/heads/master | 2021-07-12T05:59:56.219967 | 2021-04-11T14:07:19 | 2021-04-11T14:07:19 | 43,068,291 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 321 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "Pickup/ShooterPickup_Ammo.h"
#include "PickupSniperRifle.generated.h"
/**
*
*/
UCLASS()
class UE4SHOOTER_API APickupSniperRifle : public AShooterPickup_Ammo
{
GENERATED_BODY()
public:
APickupSniperRifle();
};... | [
"development@horino.sakura.ne.jp"
] | development@horino.sakura.ne.jp |
e79dd34840fe86f3d860df83dd12805b0d215e0a | 6bcedad6b2cf784e01be82d25d76c58abe712d32 | /s19616/IsThatRealPrime.cpp | e4f10e637e4d4e5a76f07791f535c7f41537759d | [
"MIT"
] | permissive | Xaules/prg-benchmark | 1ff2817344fc84c0f3a3501527bc7669e86ab80d | be149e5ee59567b59795a799880b51ed1bec8832 | refs/heads/master | 2020-04-07T12:05:11.375160 | 2018-11-20T08:15:28 | 2018-11-20T08:15:28 | 158,353,830 | 0 | 0 | MIT | 2018-11-20T08:14:29 | 2018-11-20T08:14:28 | null | UTF-8 | C++ | false | false | 1,201 | cpp | #include<iostream>
#include<vector>
#include<algorithm>
#include<stdio.h>
using namespace std;
vector<unsigned long int> calkowite;
bool is_prime(unsigned long int x){
int t = sqrt(x);
if(x>=2 && x<49){
if((x%2!=0 && x%3!=0 && x%5!=0) || (x==2) || (x==3) || (x==5)) return true;
else r... | [
"noreply@github.com"
] | Xaules.noreply@github.com |
f7d803cf971e16844b4e19040f1f08e051a43294 | ca8db0d7d14682f86d7e639c2e3a6728b8d64b36 | /Finalexam/Finalexam/LIGHT.h | 8a4c5ef627b1ae1e48ab3d571f5a9273f8b565de | [] | no_license | ClanguageBronze/SecondComputerGrapics | f7808408736f50eeaa3ecc65f5750ae34170beba | 785b25079463e191358d0530b971e45c9628987e | refs/heads/master | 2021-08-30T13:37:14.566908 | 2017-12-18T05:12:28 | 2017-12-18T05:12:28 | 111,249,184 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 334 | h | #pragma once
#include"define.h"
class LIGHT {
float xPos;
float yPos;
float zPos;
float Alpha;
GLfloat Ambient_light[4];
GLfloat Diffuse_light[4];
GLfloat Specular_light[4];
GLfloat Light_Pos[4];
GLfloat specref[4];
public:
LIGHT(float, float, float, float);
~LIGHT();
void Init();
void M_FLIGHTING();
voi... | [
"leedongsu97@gmail.com"
] | leedongsu97@gmail.com |
37fb3c76b90a3b86a85d2c4ca9829a218e661e9f | 24004e1c3b8005af26d5890091d3c207427a799e | /Win32/NXOPEN/NXOpen/Weld_WeldPointExitBuilder.hxx | d62fb11793c111a9fe2ddfcf35536f8df724359e | [] | no_license | 15831944/PHStart | 068ca6f86b736a9cc857d7db391b2f20d2f52ba9 | f79280bca2ec7e5f344067ead05f98b7d592ae39 | refs/heads/master | 2022-02-20T04:07:46.994182 | 2019-09-29T06:15:37 | 2019-09-29T06:15:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,123 | hxx | #ifndef NXOpen_WELD_WELDPOINTEXITBUILDER_HXX_INCLUDED
#define NXOpen_WELD_WELDPOINTEXITBUILDER_HXX_INCLUDED
//--------------------------------------------------------------------------
// Header for C++ interface to JA API
//--------------------------------------------------------------------------
//
// Source File:... | [
"1075087594@qq.com"
] | 1075087594@qq.com |
848e2b122780a5d5663f76135a87b2c673764472 | d8525d3811d22c90f69baa2c7654de19f4d39dd6 | /src/Util.cpp | 29097f19cff477edb433994749cd049e1996031b | [] | no_license | No0ot/Game2005-A3-Tulip-Chizhov | f454a152bf7a91cdea715996b48853ea2e994757 | 9f3a0cfae62b9ce16dbbe287b747338c87563ec2 | refs/heads/master | 2023-01-22T10:07:47.007414 | 2020-11-28T01:23:39 | 2020-11-28T01:23:39 | 312,340,772 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,747 | cpp | #include "Util.h"
#include <glm/gtc/constants.hpp>
#include <glm/gtx/norm.hpp>
#include <SDL.h>
#include "Renderer.h"
const float Util::EPSILON = glm::epsilon<float>();
const float Util::Deg2Rad = glm::pi<float>() / 180.0f;
const float Util::Rad2Deg = 180.0f / glm::pi<float>();
Util::Util()
= default;
Util::~Util()... | [
"tulip.chris@gmail.com"
] | tulip.chris@gmail.com |
edd3c242b4233e5527a4d7ddc4dd622eb1d6a85c | b97d3f30ec8a3ddf3cb1ba45b7b32f811732dc67 | /client_src/Client_manager.h | 76ed22c8c34310efe82a7b373112785307c15115 | [] | no_license | DamianGanopolsky/Taller-Pages | 5fca64412a46ce30f8c37c3e6f64bd490cb2ad15 | dfed425e78ad32e844c4b046824f1e7d53715210 | refs/heads/main | 2023-01-18T18:10:04.526930 | 2020-11-23T23:00:45 | 2020-11-23T23:00:45 | 309,974,027 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 407 | h | #ifndef CLIENT_SRC_CLIENT_MANAGER_H_
#define CLIENT_SRC_CLIENT_MANAGER_H_
#include <string>
#include "../common_src/Socket.h"
class Client_Manager{
private:
const char* ip;
const char* port;
Socket socket;
public:
Client_Manager(const char* ip_argv,const char* port_argv):\
ip(ip_argv),port(port_argv){
}
vo... | [
"damian98dgg@gmail.com"
] | damian98dgg@gmail.com |
0b55931041e381b14fe62e98a313e3081cbfec71 | fab545b4ed9ec1459d60bc45fcab24257c53d9a2 | /GV__simpleObjectFindings.cpp | 345da080dbbf9bc2284a1c4cd7f4138f23603e55 | [] | no_license | pcsrk/Glyph-Visualization | 3475bbeb6b136005afd80222d233a154ca978193 | 0d6e72b561f643263af802d0f4114c9369be15dd | refs/heads/master | 2021-01-18T07:59:04.889090 | 2015-02-26T14:21:23 | 2015-02-26T14:21:23 | 30,707,909 | 0 | 0 | null | 2015-02-26T14:21:23 | 2015-02-12T15:10:55 | C | UTF-8 | C++ | false | false | 10,872 | cpp | /*
* GV__simpleObjectFindings.cpp
* sampleDBobjectViewer
*
* Created by mue on 17.10.06.
* Copyright 2006 __MyCompanyName__. All rights reserved.
*
*/
#include "GV__simpleObjectFindings.h"
//------------------------------------------------------------------------------------
//----------------------------... | [
"mue@Heimos-MacBook-Pro-4.local"
] | mue@Heimos-MacBook-Pro-4.local |
83dbe324ea9def813b8c44f9c634b8796ef0a19e | 572f4d54e9dfee60e7d342a7a70cf91f4bc70649 | /homework/project/1_4/countdown.cpp | 85a70df4dbb92d125703e8e663e59fdb713a7865 | [] | no_license | Sergei39/TP-homework-AlandSD | bad5f90d89d65ca567fa8665df0250c74d8e0a6a | 99201a4ee2cee43ce3ed3cc495e69e451b33dd81 | refs/heads/master | 2023-06-11T01:10:59.853828 | 2021-07-07T11:37:44 | 2021-07-07T11:37:44 | 303,781,189 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 955 | cpp | #include "countdown.h"
int interaction_user(){
int num = 0;
int kill = 0;
std::cout << "Input number people and k: " << std::endl;
std::cin >> num >> kill;
if (num == 0)
return 0;
std::cout << "Result: " << std::endl;
std::cout << found_number(num, kill);
}
int found_number(int n... | [
"3shishkin39@mail.ru"
] | 3shishkin39@mail.ru |
3a8e2cf82616406948dfc002c680ff3d7b114dfa | e7f58e9244ed038cb0f5f2a2275ba9c38388c747 | /src/Sort.cpp | 4b20f989283dde7baea51bf2ac8010b064d40b23 | [
"MIT"
] | permissive | cwbriones/sort | c5aa3e963e3a9dd76ae95297fa1eecad64feae81 | 1f7042d821ecb3eeec9d8b703c17369f6019b8c8 | refs/heads/master | 2020-04-21T19:36:25.937347 | 2013-08-30T23:41:43 | 2013-08-30T23:41:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,089 | cpp | /*
* Copyright (C) 2013 Christian Briones
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, p... | [
"cwbriones@gmail.com"
] | cwbriones@gmail.com |
7baafef6b3e1620bc5ae4a140047401dbe179e7f | 82815230eeaf24d53f38f2a3f144dd8e8d4bc6b5 | /Airfoil/wingMotion/wingMotion2D_pimpleFoam/2.06/meshPhi | fd44635cca8bbb2b0c89a17675dddafa1daa1d0a | [
"MIT"
] | permissive | ishantja/KUHPC | 6355c61bf348974a7b81b4c6bf8ce56ac49ce111 | 74967d1b7e6c84fdadffafd1f7333bf533e7f387 | refs/heads/main | 2023-01-21T21:57:02.402186 | 2020-11-19T13:10:42 | 2020-11-19T13:10:42 | 312,429,902 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 287,012 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1912 |
... | [
"ishantamrakat24@gmail.com"
] | ishantamrakat24@gmail.com | |
e56589c9bce74d7be5754177359e4648c6024ede | f4931003612c8cdfa12777c771de5e26c3a40010 | /lyrebird-vis/polygon.h | cac5980424b53ed4d2ac2aaed4609bfd2937d435 | [
"BSD-2-Clause"
] | permissive | simonsobs/lyrebird | f5b7f6be2d62f00f51ad6139e0c8bb77ebe1d944 | e504ad73a5e4f144ff31d1177d03c2c2ec9ea8c8 | refs/heads/master | 2023-02-11T08:27:41.802476 | 2022-05-17T14:06:24 | 2022-05-17T14:06:24 | 145,595,127 | 0 | 1 | NOASSERTION | 2022-03-11T16:53:10 | 2018-08-21T17:09:45 | C++ | UTF-8 | C++ | false | false | 692 | h | #pragma once
#include <vector>
#include "glm/glm.hpp"
class Triangle{
public:
Triangle(glm::vec2 p0,
glm::vec2 p1,
glm::vec2 p2
);
void get_AABB(glm::vec2 & min_aabb, glm::vec2 & max_aabb);
void apply_transform(glm::mat4 trans);
bool is_inside(glm::vec2 p);
private:
void set_AABB();
glm::v... | [
"you@example.com"
] | you@example.com |
72b75e4e44204bf02476d5a7618a3522db05a400 | 29215cb70bf3134e039b7beed34380121b934415 | /lib/Infer/ConstantSynthesis.cpp | 73a321ed7285ceff4c20f566179e21d4ac3609b1 | [
"Apache-2.0"
] | permissive | jmcabandara/souper | e64e7b7a6a42b86d4818f5d3fabc8e2ba06311ee | c490eff970bcf9f447cf2e344a139024719e8f18 | refs/heads/master | 2020-05-09T17:38:01.384643 | 2019-04-12T02:02:26 | 2019-04-12T02:02:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,721 | cpp | // Copyright 2019 The Souper 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 ap... | [
"regehr@cs.utah.edu"
] | regehr@cs.utah.edu |
4ba8ff5ec2521be57a34586c96f60fee37ec53a5 | 30150c1a4a99608aab496570e172bdce4c53449e | /012_datatypes_floating.cpp | 1c4d39df41f264960712c6cc89b4512915eafa6a | [] | no_license | gergokutu/cplusplus-tutorials | 88334ba9b1aa8108109796d69ab5e8dd94da62c6 | 11e9c15f6c4e06b8e97ce77a732aec460d0251eb | refs/heads/master | 2020-09-04T17:46:03.954635 | 2020-01-14T11:44:15 | 2020-01-14T11:44:15 | 219,837,606 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,336 | cpp | #include <iostream>
// how many significant digits a datatype is trustworthy to
#include <float.h>
using std::cout;
using std::endl;
int main()
{
// 3 types of floating-point numbers in c++
// use at least 1 place the floating-point number (10.0)
// not to have integer division
// 2.5 instead of 2!!!
float ... | [
"gergo.kutu@gmail.com"
] | gergo.kutu@gmail.com |
b1587e6d9ce783e3b5df6bc2278be76d6715f1f9 | d939ea588d1b215261b92013e050993b21651f9a | /iotvideo/src/v20201215/model/EditFirmwareRequest.cpp | cc29293e67d0e9282f6a903d3b71d79c6c8aeae9 | [
"Apache-2.0"
] | permissive | chenxx98/tencentcloud-sdk-cpp | 374e6d1349f8992893ded7aa08f911dd281f1bda | a9e75d321d96504bc3437300d26e371f5f4580a0 | refs/heads/master | 2023-03-27T05:35:50.158432 | 2021-03-26T05:18:10 | 2021-03-26T05:18:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,894 | cpp | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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
... | [
"tencentcloudapi@tenent.com"
] | tencentcloudapi@tenent.com |
383d08fb17218ca96c9ff60ea68bac8ef9e3c6a5 | 163b7a026b7afc54c7251cc22f4ad923aa9c66d9 | /prob 28.cpp | a0ee361b479060568425cfb19eaf6556c5a5224b | [] | no_license | Susree/lab-3 | e95c9bce905355eb22c0e14c130adb0511103790 | b254746f16c7f6508dac64ff390cd7d0e9187074 | refs/heads/master | 2021-01-22T10:51:01.770879 | 2017-09-15T15:06:39 | 2017-09-15T15:06:39 | 102,341,484 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 399 | cpp | #include <iostream>
using namespace std;
/*Program to print sum of all even numbers from 1 to n*/
int main()
{
int i=1,sum=0,n=0;
cout<<"Program to print sum of all even numbers from 1 to n";
cout<<"\n \nEnter the limiting value of n: ";
cin>>n;
while(i<=n)
{
if(i%2==0)
sum+=i;
i++;
}
cout<... | [
"noreply@github.com"
] | Susree.noreply@github.com |
1b8a4d3aea7809042aab285f09642e23c105da92 | 082441fee234fed91c508ed42bc03d666c3c9000 | /Client.Console/Client.Console.cpp | d0375c465b25f972312915e058aebc8e2c3392e6 | [] | no_license | JuntaoWu/InterlockProtocol | 35d92f85b82fc9b5c568da7f471247a624d6fffd | ad9c7b18e7858f66a8975b9c26222af649d6ed86 | refs/heads/master | 2021-01-10T15:56:34.752783 | 2016-01-11T23:03:00 | 2016-01-11T23:03:00 | 49,389,528 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,291 | cpp | // Client.Console.cpp : Defines the entry point for the console application.
//
#include "LoggingClient.h"
#include <iostream>
using namespace std;
int main(int argc, char *argv[])
{
cout << "Press Enter to start." << endl;
cin.get(); //get enter key.
u_short logger_port = argc > 1 ? atoi(argv[1]) : 0;
const cha... | [
"wujuntaocn@live.cn"
] | wujuntaocn@live.cn |
98bb432970da87ff9085ef08eb64cfdb9a7f22be | 30f17239efb0852b4d645b6b4a61e019e7d4ad66 | /extensions/MolSimAPI/plugin/TpsSimulationPluginMolSimAPI.cpp | c97ede358274c76c540aa5fac418a0a8ff967b8c | [] | no_license | mfhossam1992/libtps | ac0a2de9857f968d7155419d510510f610748126 | 983d4651455b8f99c1e24f19756f0fea2c5eac50 | refs/heads/master | 2020-11-26T07:20:02.857443 | 2013-01-24T18:31:25 | 2013-01-24T18:31:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,141 | cpp | /*
LibTPS -- A Transition Path Sampling Library
(LibTPS) Open Source Software License Copyright 2012 The Regents of the
University of Michigan All rights reserved.
LibTPS may contain modifications ("Contributions") provided, and to which
copyright is held, by various Contributors who have granted The Regents of the
U... | [
"aaron.s.keys@gmail.com"
] | aaron.s.keys@gmail.com |
75e26865a402da7705f9b797caabb17c68c4caa8 | 10ddfb2d43a8ec5d47ce35dc0b8acf4fd58dea94 | /C++/permutation-in-string.cpp | daaf56889ff37ad08bac630e3488f306745116e7 | [
"MIT"
] | permissive | kamyu104/LeetCode-Solutions | f54822059405ef4df737d2e9898b024f051fd525 | 4dc4e6642dc92f1983c13564cc0fd99917cab358 | refs/heads/master | 2023-09-02T13:48:26.830566 | 2023-08-28T10:11:12 | 2023-08-28T10:11:12 | 152,631,182 | 4,549 | 1,651 | MIT | 2023-05-31T06:10:33 | 2018-10-11T17:38:35 | C++ | UTF-8 | C++ | false | false | 593 | cpp | // Time: O(n)
// Space: O(1)
class Solution {
public:
bool checkInclusion(string s1, string s2) {
vector<int> counts(256);
for (const auto& c : s1) {
++counts[c];
}
for (int i = 0, l = s1.length(); i < s2.length(); ++i) {
if (counts[s2[i]]-- > 0) {
... | [
"noreply@github.com"
] | kamyu104.noreply@github.com |
9a3564ff84f9cd853dd711be1118d4998c49f62f | 5d4ff76a00fcf8919786ac4f0f3196a0c3aa1885 | /Vs_2/Turtle_Cnt_Arduino_vs2.ino | c9c2b9108e7e7bbaec768b3c978afe732620bc45 | [] | no_license | DiegoGiFo/Turtle_Cnt_Arduino | 2147f2a8d94445d41913f4e3a5d0512b503e9239 | 21f816c807d62372a03a87a8ba433a57291ec47f | refs/heads/master | 2021-01-25T13:35:28.682218 | 2018-03-12T11:43:47 | 2018-03-12T11:43:47 | 123,588,428 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,820 | ino | #include <LiquidCrystal.h>
#include <ros.h>
#include <turtlesim/Pose.h>
#include <geometry_msgs/Twist.h>
ros::NodeHandle nh; // allows to create publisher/subscriber
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
geometry_msgs::Twist movements;
const int BtPin1 = 6;
const int BtPin2 = 7;
const int BtPin3 = 8;
const int BtP... | [
"diego.gibellofoglio@gmail.com"
] | diego.gibellofoglio@gmail.com |
4c0d9b6be2779e60b889286b7dda5705a99c0688 | bd1fea86d862456a2ec9f56d57f8948456d55ee6 | /000/067/735/CWE122_Heap_Based_Buffer_Overflow__cpp_CWE129_listen_socket_34.cpp | 9f721f4312ed3106f7706082fc702018c2e934c5 | [] | no_license | CU-0xff/juliet-cpp | d62b8485104d8a9160f29213368324c946f38274 | d8586a217bc94cbcfeeec5d39b12d02e9c6045a2 | refs/heads/master | 2021-03-07T15:44:19.446957 | 2020-03-10T12:45:40 | 2020-03-10T12:45:40 | 246,275,244 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 9,535 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE122_Heap_Based_Buffer_Overflow__cpp_CWE129_listen_socket_34.cpp
Label Definition File: CWE122_Heap_Based_Buffer_Overflow__cpp_CWE129.label.xml
Template File: sources-sinks-34.tmpl.cpp
*/
/*
* @description
* CWE: 122 Heap Based Buffer Overflow
* BadSource: listen_socke... | [
"frank@fischer.com.mt"
] | frank@fischer.com.mt |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.