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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b4839835e3d88d9dace058cec1763c9cad7a1f1d | ec9d278be872a4202dd918512c55ba317e93b65e | /homework/02.Per-fragment Phong Shading/Camera.cpp | d936a357a1852c30e1426dd3df83da5b7730796c | [] | no_license | hyungoo-kang-kmucs/graphics | 7f43fcddf87ca9c05132d0f56c334b894a1f176f | 4aae1d873c456401ab5f5010ad72a5d41ed2c2af | refs/heads/master | 2020-04-30T14:45:29.957317 | 2019-05-23T04:26:27 | 2019-05-23T04:26:27 | 176,901,227 | 0 | 0 | null | 2019-03-21T08:24:31 | 2019-03-21T08:24:30 | null | UTF-8 | C++ | false | false | 906 | cpp | #include "Camera.h"
#include "transform.hpp"
const Camera::vec3 Camera::center_position() const
{
return vec3(position_[0] + front_dir_[0],
position_[1] + front_dir_[1],
position_[2] + front_dir_[2]);
}
// TODO: fill up the following functions properly
void Camera::move_forward(float delta)
{
position_ += del... | [
"noreply@github.com"
] | hyungoo-kang-kmucs.noreply@github.com |
932c663aaba9275596621c5082e57fba21ca836a | e7f4c25dc251fd6b74efa7014c3d271724536797 | /test/encodings/unicode_group_S_u_encoding_policy_substitute.re | 119d99810ebcba551da8fb5e96f0442d8eaf8dab | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | permissive | nightlark/re2c | 163cc308e9023b290e08cc82cc704a8ae5b90114 | 96104a652622c63ca2cc0b1d2b1d3dad8c34aae6 | refs/heads/master | 2023-08-08T18:35:31.715463 | 2023-07-21T21:23:56 | 2023-07-21T21:29:45 | 100,122,233 | 1 | 0 | null | 2017-08-12T15:51:24 | 2017-08-12T15:51:24 | null | UTF-8 | C++ | false | false | 8,344 | re | // re2c $INPUT -o $OUTPUT -u --encoding-policy substitute
#include <stdio.h>
#define YYCTYPE unsigned int
bool scan(const YYCTYPE * start, const YYCTYPE * const limit)
{
__attribute__((unused)) const YYCTYPE * YYMARKER; // silence compiler warnings when YYMARKER is not used
# define YYCURSOR start
S:
/*!re2c
re2c:... | [
"skvadrik@gmail.com"
] | skvadrik@gmail.com |
5919291e78afd731ec9ed4108904d7182a5af82a | 756953bd7487da84962013ed4efc19a5ed2561a5 | /src/modules/mmnetwork.cpp | 20e14a4458025579829ceeb0e73c5c960b69b427 | [] | no_license | Dummiesman/mm2hook | a4ade067fdc981ea4accde5dbfeb7653b2b5247f | 511c96a24b88f3210791dd8ea668fb377b02c4f5 | refs/heads/master | 2023-08-19T05:39:17.219544 | 2023-08-10T15:32:00 | 2023-08-10T15:32:00 | 93,969,666 | 2 | 0 | null | 2017-06-10T22:53:27 | 2017-06-10T22:53:27 | null | UTF-8 | C++ | false | false | 51 | cpp | #include <modules\mmnetwork.h>
using namespace MM2; | [
"aaro4130@gmail.com"
] | aaro4130@gmail.com |
d28db5ca2d50f2ba57c7303635c979beb841a8a6 | a607d5ed2d93f569a9f5fef5904194235b08daa2 | /test/OpenSpaceToolkit/Physics/Units/Derived/Angle.test.cpp | 5690a9a78fab9c088b8bf985733c21e8f90d94c4 | [
"MPL-2.0",
"BSL-1.0",
"Apache-2.0"
] | permissive | verstaen/open-space-toolkit-physics | da353fc122aa341787612ac7e405d7a11915b622 | ca55011fd0de9aadacad84317fdce06985e5dbd8 | refs/heads/master | 2021-02-18T21:02:43.657790 | 2020-11-06T15:29:41 | 2020-11-06T15:29:41 | 245,236,749 | 0 | 0 | Apache-2.0 | 2020-03-05T18:18:38 | 2020-03-05T18:18:37 | null | UTF-8 | C++ | false | false | 49,473 | cpp | ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// @project Open Space Toolkit ▸ Physics
/// @file OpenSpaceToolkit/Physics/Units/Derived/Angle.test.cpp
/// @author Lucas Brémond <... | [
"lucas.bremond@gmail.com"
] | lucas.bremond@gmail.com |
dafa9466c6391714feadc8c4c8761ba6ef590b35 | b9412984b1cf9be86620d43aeddd96f567ea9a57 | /07OOP_18040206HanDaeHyun/Chapter(7-10)/Chapter(7-10).cpp | ed9a22c88c165f66aaf8208e1ffc9b468e03b99b | [] | no_license | Daeja/techwing | cfbfb82268b7f0f33408fac972bdab73eef00da3 | ee7a5ce36a2e2dbe0c2fd4f97e7989aaec8b457b | refs/heads/master | 2020-03-13T04:34:18.945374 | 2018-04-25T07:20:59 | 2018-04-25T07:20:59 | 130,965,732 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 7,436 | cpp | #include <iostream>
#include <typeinfo>
#include "CMyString.h"
#include "CStack.h"
using namespace std;
/********************************************************************************
AUTHOR : 한대현
NAME : swapValues
PARAMS : [IN ] T T1, T T2
[OUT] void
COMMENTS : 템플릿 자료형을 활용한 스왑 함수
**************************... | [
"hyunx5@naver.com"
] | hyunx5@naver.com |
2fe8f63d46e76a1b766f927c462284eb2f7c813d | ef4a6746c64cd967094a02d5172c1679d08b37de | /3.2 c project, aduino start/Arduino/sketch_dec19a/sketch_dec19a.ino | ad5df7c76ba632e0c15387ea4a64d3bce6f94701 | [] | no_license | cladren123/multicampus2 | 6dae63975ff8692b859f8c22c1704a2792b438d8 | b44332596d39b3b1e8d94fb4962e8d0dddd0f735 | refs/heads/master | 2023-03-26T04:17:03.825033 | 2021-03-26T12:58:14 | 2021-03-26T12:58:14 | 341,168,146 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 183 | ino | void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
Serial.print("Hello World!!");
}
void loop() {
// put your main code here, to run repeatedly:
}
| [
"gold3987@naver.com"
] | gold3987@naver.com |
a0aa096ef2e347b58e8d221aba32089b0c172c0d | a01eaed695583aad70bd7e1da1af0ec736c7bf22 | /nativeLib/org.apache.qpid/include/qpid/framing/ClusterConnectionRetractOfferBody.h | f7409ad104e66f10d0691164b65498366a1bd60b | [] | no_license | SeanTheGuyThatAlwaysHasComputerTrouble/awips2 | 600d3e6f7ea1b488471e387c642d54cb6eebca1a | c8f8c20ca34e41ac23ad8e757130e91c77b558fe | refs/heads/master | 2021-01-19T18:00:12.598133 | 2013-03-26T17:06:45 | 2013-03-26T17:06:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,720 | h | #ifndef QPID_FRAMING_CLUSTERCONNECTIONRETRACTOFFERBODY_H
#define QPID_FRAMING_CLUSTERCONNECTIONRETRACTOFFERBODY_H
/*
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copy... | [
"root@lightning.(none)"
] | root@lightning.(none) |
b7a26a4973455eaccbd7f7b09a01f39c5e5ce422 | 7e36880b77ab4351e5cddd6adb54c846fcdb3fed | /arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/arm-linux-gnueabihf/include/c++/4.8.3/ext/vstring_fwd.h | c8c86016061108f0f8b6be667dc8b48fc88039fa | [] | no_license | occidens/tools | aa5c3dabbade6bcaa10cb49967865fb4535801c2 | 172999c595b3ec4573b419854e973e6f26463ae7 | refs/heads/master | 2021-01-18T09:46:48.028765 | 2014-04-16T14:53:11 | 2014-04-16T14:53:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,217 | h | // <vstring.h> Forward declarations -*- C++ -*-
// Copyright (C) 2005-2013 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library 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 Soft... | [
"popcornmix@gmail.com"
] | popcornmix@gmail.com |
8e7edcf2ef8f4c9f4659932534a2628ab2c96428 | 18f0ad99e21e2e35126f8c3c28079d358fa2129a | /DSP-G1_Trellis_Synth/DSP-G1_Trellis_Synth.ino | 74df2e869f7c37c7a2dade22ebe3b71213d811ef | [
"MIT"
] | permissive | ladyada/Adafruit_Learning_System_Guides | 9bf18dfa35941e0cbecbb3c2d02b4fa3cb79744f | 6d76801878cbf65132ccea950dc47ae842c73dcd | refs/heads/master | 2023-08-20T20:30:42.910576 | 2022-01-10T20:28:11 | 2022-01-10T20:28:11 | 115,837,894 | 13 | 2 | MIT | 2020-03-31T23:23:45 | 2017-12-31T02:34:47 | C | UTF-8 | C++ | false | false | 23,664 | ino | #include <MIDI.h>
#include "Adafruit_Trellis.h"
//use Trellis 0-11 and 16-27 as input for notes.
//use Trellis 12-15 and 28-31 for input to modes, sequencer, patches
//six potentiometers as CC value input
//rotary switch to choose banks of CC numbers for knobs
//John Park for Adafruit Industries
MIDI_CREATE_DEFAULT_I... | [
"jp@jpixl.net"
] | jp@jpixl.net |
41cbb19f9eba3e86abbaaf2f5d861a8e70278146 | 727d95073476de0623a287e27d68e9de2015cceb | /view/search_widget.h | ae42d99056dabfa3adbb26d5cd47667a29c8969f | [
"MIT"
] | permissive | Marco305/Qontainer | fdec1e44e26fc34caadd8294f9e984729d12d5b2 | 2325088f3b7d0d90348809586839c59e2dc98188 | refs/heads/master | 2021-05-17T13:51:07.267452 | 2020-03-28T13:51:48 | 2020-03-28T13:51:48 | 250,806,962 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,060 | h | #ifndef SEARCHWIDGET_H
#define SEARCHWIDGET_H
#include <QGroupBox>
#include <QLineEdit>
#include <QCheckBox>
#include <QDateEdit>
#include <view/field/type_combo_box.h>
#include <view/field/gender_buttons.h>
#include <view/field/birth_date_search.h>
#include <view/field/spin_box_search.h>
#include <view/field/double_... | [
"siragna.marco@gmail.com"
] | siragna.marco@gmail.com |
59e15fdf41d16c4d9a7c648a3108d200c25ef0f6 | b6c1c4817858cfbd52b44ce2905461347134d743 | /src/rpcmining.cpp | 9e1b6798b770d2e26c3d467176937d6b1db01145 | [
"MIT"
] | permissive | nubescoin/nubescoin | bf5b68bee8c0238d3b406a75d90e2124167d30eb | e576dea0fd1872520d0b169f094e92791a41e944 | refs/heads/master | 2021-07-15T18:32:33.316545 | 2017-10-19T15:47:49 | 2017-10-19T15:47:49 | 107,476,496 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,105 | cpp | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "main.h"
#include "db.h"
#include "init.h"
#include "bitcoinrpc.h"
using name... | [
"nubes339@gmail.com"
] | nubes339@gmail.com |
a6a3c19eb1f153ef2c78dff0e580d42c7d949c3d | 387549ab27d89668e656771a19c09637612d57ed | /DRGLib UE project/Source/FSD/Private/IconGenerationCharacter.cpp | 8961cf0f085d7191ab47eab8f2eb83e14bf6d445 | [
"MIT"
] | permissive | SamsDRGMods/DRGLib | 3b7285488ef98b7b22ab4e00fec64a4c3fb6a30a | 76f17bc76dd376f0d0aa09400ac8cb4daad34ade | refs/heads/main | 2023-07-03T10:37:47.196444 | 2023-04-07T23:18:54 | 2023-04-07T23:18:54 | 383,509,787 | 16 | 5 | MIT | 2023-04-07T23:18:55 | 2021-07-06T15:08:14 | C++ | UTF-8 | C++ | false | false | 413 | cpp | #include "IconGenerationCharacter.h"
#include "Components/SkeletalMeshComponent.h"
AIconGenerationCharacter::AIconGenerationCharacter() {
this->OrigBaseMaterial = NULL;
this->Mesh = CreateDefaultSubobject<USkeletalMeshComponent>(TEXT("CharacterMesh0"));
this->BodyMesh = CreateDefaultSubobject<USkeletalMesh... | [
"samamstar@gmail.com"
] | samamstar@gmail.com |
eb127af6f8b814ab03c6aea8b408341bc4a58254 | a980ba973c6365b2b2f11a1af443191596ded453 | /lib/Secrets/interactionrequest_p.h | 1ae3480107a3b84f14ef1f3cc6dafae998e6df89 | [
"LicenseRef-scancode-free-unknown",
"BSD-3-Clause"
] | permissive | sailfishos/sailfish-secrets | 44f724f1470e7b4bbfbd4c0ab4cb481cbc54f2e0 | 303687d1e4e71cf741b6aec3b35dd78c033b1ede | refs/heads/master | 2023-04-07T06:44:07.878773 | 2023-03-21T10:41:41 | 2023-03-21T10:41:41 | 109,001,458 | 27 | 16 | BSD-3-Clause | 2023-08-31T14:14:11 | 2017-10-31T13:43:11 | C++ | UTF-8 | C++ | false | false | 1,068 | h | /*
* Copyright (C) 2018 Jolla Ltd.
* Contact: Chris Adams <chris.adams@jollamobile.com>
* All rights reserved.
* BSD 3-Clause License, see LICENSE.
*/
#ifndef LIBSAILFISHSECRETS_INTERACTIONREQUEST_P_H
#define LIBSAILFISHSECRETS_INTERACTIONREQUEST_P_H
#include "Secrets/secretsglobal.h"
#include "Secrets/secretman... | [
"chris.adams@jollamobile.com"
] | chris.adams@jollamobile.com |
25cff727807c8fa7e37bd6fd7dead89c61b341ae | 612d802d187d8dfe3d6fdfa160dbf334caecc72d | /RTProtocol.cpp | 68223ecdb226a4acb553c8a552d87863cef895ef | [
"MIT"
] | permissive | kristianmk/qualisys_cpp_sdk | af9f9c78ffeb231e7432119fc952ad8cf4b71140 | 06c01cbac0f11c8438f86e37c2870687f8564dec | refs/heads/master | 2020-04-17T08:10:56.141126 | 2019-01-15T16:38:35 | 2019-01-15T16:38:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 155,112 | cpp | #include "RTProtocol.h"
#include "Markup.h"
#include "Network.h"
#include <float.h>
#include <iphlpapi.h>
#include <cctype>
#include <thread>
// import the internet protocol helper library.
#pragma comment(lib, "IPHLPAPI.lib")
#pragma warning(push)
#pragma warning(disable : 4244)
#include <algorithm>
#pragma warning( p... | [
"lars.nilsson@qualisys.se"
] | lars.nilsson@qualisys.se |
5eb88065fb04ce18ce49f57564112d9c363a508f | 70418d8faa76b41715c707c54a8b0cddfb393fb3 | /13052.cpp | 7f25a050a1e90526dd3c9bca0cba3f9d8856494c | [] | no_license | evandrix/UVa | ca79c25c8bf28e9e05cae8414f52236dc5ac1c68 | 17a902ece2457c8cb0ee70c320bf0583c0f9a4ce | refs/heads/master | 2021-06-05T01:44:17.908960 | 2017-10-22T18:59:42 | 2017-10-22T18:59:42 | 107,893,680 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 357 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
int testcase, cases = 0;
scanf("%d", &testcase);
while (testcase--)
{
int A, B;
double p, q;
scanf("%d %d", &A, &B);
if (A == 0 && B == 0)
p = q = 0;
else if (B % 2 == 0)
p = 1, q = 0;
else
p = 0, q = 1;
printf("Case %d: %.3lf %.3lf... | [
"yleewei@dso.org.sg"
] | yleewei@dso.org.sg |
5406bc43f39f0e160202ee742922f9aa67ecebec | f819d6e972a5cf26ad0d13b2be482a353d3cfeb9 | /Doc/Sinkhold_DocPJ/Sinkhold_Doc/AWP_Weapons.cpp | dcf04c13320c277326c5c5e7a60e0046ac4e9de6 | [] | no_license | Sandwich33/Sinkhole4_9 | b317dc2ca75879597197c4db1c2983ac7c677e48 | 72d0cb90ea6b8ba39966fd23e9b31b1ef8d65be1 | refs/heads/master | 2021-01-21T15:26:23.278122 | 2016-08-11T09:17:25 | 2016-08-11T09:17:25 | 53,466,519 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 44 | cpp | #include "stdafx.h"
#include "AWP_Weapons.h" | [
"edragon33@gmail.com"
] | edragon33@gmail.com |
dc0277a9a72b259fd3577b39cb817780476ade7b | e5010e873ef995693036e3a99cc78bfdfba7eff6 | /build/build-DeviceToolBox-unknown-Debug/ui_ConfigDialog.h | 0f7ff988cefd8f6b4c1a701859f46c306f6c4c14 | [] | no_license | halukasama/DLTools | 85f03ca966fb866d1462d51902381ed199f1ec57 | 43c76ee8680044561529f7f415e65cc0a9af8071 | refs/heads/master | 2021-07-09T20:18:35.914240 | 2017-10-10T18:32:13 | 2017-10-10T18:32:13 | 106,455,953 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,842 | h | /********************************************************************************
** Form generated from reading UI file 'ConfigDialog.ui'
**
** Created by: Qt User Interface Compiler version 5.6.2
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
**************************************... | [
"jlwangtat@gmail.com"
] | jlwangtat@gmail.com |
90c14a59c54ad7a3e1710777f296178933dc5828 | 2cf5e1f2c1d7acaf0f2f9f1f939994d06b494b11 | /src/hash/sha256.cpp | 58e5cd89bc549f7d10f290361691a90644932a7d | [
"MIT"
] | permissive | solosTec/crypto | b3ba5436788719a219b15d212e8db5c744c195d6 | 32d6d68fed185f7c437d4f1764c72b50721ca466 | refs/heads/master | 2023-08-31T02:07:40.666856 | 2021-02-12T10:08:34 | 2021-02-12T10:08:34 | 213,223,655 | 0 | 1 | MIT | 2022-08-22T05:30:41 | 2019-10-06T18:42:48 | C++ | UTF-8 | C++ | false | false | 945 | cpp | /*
* The MIT License (MIT)
*
* Copyright (c) 2017 Sylko Olzscher
*
*/
#include <crypto/hash/sha256.h>
#include <openssl/crypto.h> // OPENSSL_cleanse
namespace cyng
{
namespace crypto
{
sha256::sha256()
: ctx_()
{
SHA256_Init(&ctx_);
}
bool sha256::update(std::string const& str)
{
return... | [
"CmdPirx@gmail.com"
] | CmdPirx@gmail.com |
4d54f6f3dd2f1431c6b83a166a67ae1d686b4dc2 | 92e7a96c196e563b70f78db321680d830af80a53 | /InstitutionalTrading/Client/CltPresentation/ReportDataProviderFactory.h | f341bbee23fb289e83ecf414ad65788a52ba699a | [] | no_license | alexfordc/zq | 513723341132dd2b01f5ca3debb567b2fd31c033 | a0b05b7416fe68784e072da477e8c869097584e2 | refs/heads/master | 2021-05-25T14:19:37.317957 | 2018-02-24T05:57:23 | 2018-02-24T05:57:23 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,252 | h |
#pragma once
#include "AbstractReportDataProvider.h"
#include "AccountHodeReportDP.h"
#include "AccountInterestReportDP.h"
#include "AccountTradesReportDP.h"
#include "Singleton.h"
namespace ReportDataProvider
{
public interface class IReportDataProviderFactory
{
public:
virtual IReportDataProvider^ CreateDataPro... | [
"w.z.y2006@163.com"
] | w.z.y2006@163.com |
83c4bcb17f190660c0dab4d01aac8f729765cb3f | ebe1eaf68b4ebe941e564ecaf536a06d625e1eda | /Engine/include/XSEIImage.h | 44cd916cb404ac7c1836fdafa6174c523aa81c14 | [] | no_license | przemyslaw-szymanski/x-source-engine | 54a23e9ad740f7ab1b4a439f87733c366233eb58 | 1afa8c0dea628b6a252ee40aef39c31ec99d3c97 | refs/heads/master | 2020-12-24T15:41:01.851654 | 2015-08-07T14:37:12 | 2015-08-07T14:37:12 | 13,867,990 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,251 | h | #ifndef XSE_IIMAGE_H
#define XSE_IIMAGE_H
#include "XSEIResource.h"
#include "XSERenderSystemCommon.h"
namespace XSE
{
namespace Resources
{
class XST_API IImage : public IResource
{
friend class CImageManager;
public:
enum class CHANNEL : u32
{
RED,
GREEN,
BLUE,
ALPHA,
... | [
"przemek.p.szymanski@gmail.com"
] | przemek.p.szymanski@gmail.com |
5518b3dff98d36f34f5c381c28a0bde3b6aed9b4 | a1ed68a597f95370af7003d81f553f6790fa01a2 | /uml/cpp.source/Pattern.cpp | 80864cb7eb3e7e6672c20582e93cb1722c5d4ba1 | [] | no_license | Sighter/remeta2 | 46ee956ec86379a05c11f9b94ec9e91b7017edcf | 927f2bc1f0ad5362a95ed200c447ed1e68e693a5 | refs/heads/master | 2016-09-06T04:10:05.302854 | 2015-02-07T14:59:11 | 2015-02-07T14:59:11 | 2,132,918 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22 | cpp | #include "Pattern.h"
| [
"sighter@resource-dnb.de"
] | sighter@resource-dnb.de |
2f348e6341911475b6c609f12706907ef3d602ba | 92e4b8185fc2a86d6b5920e84941a14dc31a5a57 | /starwars/Camera.cpp | 3787ad36aeb01208298e647a46649c0692c85792 | [] | no_license | iph/Graphics | 31761cd346e7480e3fae7f68cb2eb6ca3f99da54 | b6ac1445fb27ac1acec9cd88844e841e57bb0c3a | refs/heads/master | 2020-06-05T05:30:14.753092 | 2012-10-16T21:28:13 | 2012-10-16T21:28:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,975 | cpp | #include "Camera.h"
Camera::Camera(GLfloat * pos, GLfloat * at, GLfloat * up_i): camLocation(pos[0], pos[1], pos[2]),
lookAt(at[0],at[1],at[2]),
up(up_i[0], up_i[1], up_i[2]){}
void Camera::translate(float xpos, float ypos, float zpos){
camLocation.x += xpos;
camLocation.y += ypos;
camLocation.z += zpos;
//cout ... | [
"seanmyers0608@gmail.com"
] | seanmyers0608@gmail.com |
b1dcf48a396840f12abd4db2e97322439745a88f | 1576d13faa16eca786afac8a62111fa4d92fc499 | /cpp/2014/bomberman/GDL-library/doxygen/.svn/text-base/Model.cpp.svn-base | f5652525dad3ca529a976ff78cc6884a8f252d25 | [] | no_license | LeBAD420/EpiHistory | 7b47796df513227faa332839a521977befc2d110 | 6fb2354ce74af4242f1ef93689cddb85b8a5f4b7 | refs/heads/master | 2020-06-14T10:09:56.390302 | 2013-08-01T15:44:57 | 2013-08-01T15:44:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,038 | /*
**
**
*/
#include <vector>
#include <iostream>
#include <GL/gl.h>
#include <GL/glu.h>
#include "Assert.hpp"
#include "ModelImpl.hpp"
#include "Model.hpp"
namespace gdl
{
Model::Model()
: Resource<ModelImpl>(NULL)
{
}
Model::Model(ModelImpl* impl)
: Resource<ModelImpl>(impl)
{
}
Model::~Mod... | [
"quentin.pidoux@epitech.eu"
] | quentin.pidoux@epitech.eu | |
08e50157ca1c2b74b6f9794ce40b6c378183567b | ebe1e922d0237f8bf79d018cab7ff9878fcd2101 | /Vidu/dem_so_dong_cua_tep.cpp | c5012b4343658087d3287bebf3e54b8c92b5e87a | [] | no_license | BinhMinhs10/dev-C- | b79d1ea314c314e1dea8c4fef4c8e7d489285deb | 7100683517bdde4840545fa4c7f8ececd5eff618 | refs/heads/master | 2021-04-15T18:33:05.080965 | 2018-03-23T16:17:09 | 2018-03-23T16:17:09 | 126,510,397 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 126 | cpp | #define EOF-1
#define EOL 0x0A
int ch,dem;
ch=getchar();
while ((ch=getchar()) != EOF)
while ((ch=getchar()) != EOL)
dem++;
| [
"nguyenbinhminh07101997@gmail.com"
] | nguyenbinhminh07101997@gmail.com |
f687435ad8566b16b12c7b9cd2490a6c7b234422 | 596e587664f0ea8f9e8ca8b04b238f4dcd84fc55 | /dfmux/src/HardwareMap.cxx | ebcf80cc8a475b911aac2b848ba964c5cf4f6e60 | [
"BSD-2-Clause"
] | permissive | JohnChood2/spt3g_software | 44c049aba80967a17582e6f916eede682bdb498a | 9e9491df790a15f2ed61e366db639386e7cf6bba | refs/heads/master | 2020-03-23T10:47:35.573109 | 2018-06-27T22:52:47 | 2018-06-27T22:52:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,838 | cxx | #include <arpa/inet.h>
#include <sstream>
#include <pybindings.h>
#include <dfmux/HardwareMap.h>
#include <container_pybindings.h>
std::string DfMuxChannelMapping::Description() const
{
std::ostringstream s;
s <<
"IP: " << ((ntohl(board_ip) >> 24) & 0xff) << "." <<
((ntohl(board_ip) >> 16) & 0xff) << "."... | [
"nwhitehorn@berkeley.edu"
] | nwhitehorn@berkeley.edu |
13e38310fcb3d1070918aff62d94ff728af5f711 | b70ce6c518e9d890c22d17cd2e7af992a12cc0e0 | /External/json-3.5.0/Inc/json/json.hpp | 3a2bbf21e00e4af80a76630dc632e7c7d1639cb4 | [
"MIT",
"Zlib",
"BSL-1.0",
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | nicolasgustafsson/WonderMake | 6266e18ffe83e8aec6d8641f3ceda9c2c5519fd5 | 27a08637d01dcf0d14ee2fac90db46a267112013 | refs/heads/master | 2023-08-16T22:24:38.558935 | 2022-01-03T09:58:02 | 2022-01-03T09:58:02 | 159,575,762 | 5 | 0 | MIT | 2023-09-06T12:29:38 | 2018-11-28T22:50:28 | C++ | UTF-8 | C++ | false | false | 714,449 | hpp | /*
__ _____ _____ _____
__| | __| | | | JSON for Modern C++
| | |__ | | | | | | version 3.5.0
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
SPDX-License-Identifier: MIT
Copyright (c) 2013-2018 Niels Lohmann <http:/... | [
"itsarabbit@gmail.com"
] | itsarabbit@gmail.com |
3643064c2083113827057ff602c1a977958212b3 | 2a3ddf6a2db5bce9fd401b2f97f919da4b2cc026 | /SFEngine/Source/Headers/Actor/Player.h | 13a9e81a34d8cd0d311901532be9b3c10b435fdd | [
"Zlib",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | croemer/EECS581Project | 87e05a975d8ab003f236aae1185bbaabffc84f1a | 2209050e1fc3e614928018950faf1da44605c842 | refs/heads/master | 2021-01-19T20:23:18.682056 | 2017-02-26T16:59:39 | 2017-02-26T16:59:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,304 | h | #ifndef SFENGINE_PLAYER_H
#define SFENGINE_PLAYER_H
#include "Actor.h"
namespace Engine
{
class Player : public GenericActor
{
public:
TYPEDEF_PARENT_CLASS(Engine::GenericActor);
Player();
Player(const std::string &texfile, const std::string &texID);
Player(const Player &p);
virtual ~Player... | [
"kurt_slagle@yahoo.com"
] | kurt_slagle@yahoo.com |
ae5372a03d8e613e0724fcf4022260304c177928 | 7fa30033e7338ae66464a9862d5375121619e62f | /pointerpractice.cpp | b5aac73a31697b5fbaf84714daba9e77de58c020 | [] | no_license | nick82632/Practice_Code | 984c23ce5e46fb598b64a7d83f6ce0313b794515 | eb7e6e447ff45b4aed5bea852cbb92a6c247d000 | refs/heads/master | 2022-12-19T13:45:56.320660 | 2020-09-26T08:08:04 | 2020-09-26T08:08:04 | 209,308,874 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,122 | cpp |
#include <iostream>
#include <typeinfo>
int main()
{
const int i = 42;
auto j = i;
const auto &k = i;
auto *p = &i;
const auto j2 = i, &k2 = i;
std::cout << "i is " << typeid(i).name() << "\n";
std::cout << "j is " << typeid(j).name() << "\n";
std::cout << "k is " << typeid(k).name() << "\n";
... | [
"noreply@github.com"
] | nick82632.noreply@github.com |
d589ad51b809577eafea781ab7fbc37c46cb1096 | f1bdc307a5f545efa3097ca62d7c5b8d84722f3a | /clase pila.cpp | a7937d89f66f73f60ce53ee09fbac211510ed6c1 | [] | no_license | camilo11/AutoPila | 1fb5e045a4154597b999c164ebd726b5dbd11e68 | 769288b34a21b8faddd6fac004056383e5e74190 | refs/heads/master | 2021-07-10T10:08:20.776244 | 2017-10-11T23:07:10 | 2017-10-11T23:07:10 | 105,074,545 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 995 | cpp | using namespace std;
struct nodo{
char a;//campo donde se almacenara el caracter
struct nodo *sgte;
};
typedef struct nodo *Puntero;
class Pila{
public:
Pila(void);
void Apilar(char );
int Desapilar(void );
bool PilaVacia(void);
void MostrarPila(void);
... | [
"noreply@github.com"
] | camilo11.noreply@github.com |
1f8a5599a13b636f004b9d2e7c5bf0b7be268cf7 | 0688ed4fbbbd19613cc453c568af75ba59ae5144 | /libraries/mojingsdk/src/main/cpp/Base/MojingAllocator.h | d075b1d3e9e072744316e6a8b3e9fbae4dd23835 | [] | no_license | playbar/testplayer | 49c068e53a5b93768b4d46f4f9b8d2bb739ff7fe | b4869ed9193739ab48c067cd51b4f5084943e924 | refs/heads/master | 2021-05-07T03:37:09.438661 | 2017-11-20T03:38:59 | 2017-11-20T03:38:59 | 110,958,488 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,059 | h | #ifndef MJ_Allocator_h
#define MJ_Allocator_h
#include "MojingTypes.h"
#include <pthread.h>// pthread_mutex_ XXXX
#include <map>
using namespace std;
//-----------------------------------------------------------------------------------
// ***** Disable template-unfriendly MS VC++ warnings
#if defined(MJ_CC_MSVC)
// ... | [
"hgl868@126.com"
] | hgl868@126.com |
867e3b8ba71cf71016ca8669fa7d29c7dea353d0 | 31adbc5f508fd9585931022fd46d65f29533a851 | /DynamicPointPaths.cpp | 18a06a6bc694d3a22d800a4808e05161640badb3 | [] | no_license | Tape09/aimasa2 | b51314121b4de02bc7b8d71c0c5ed74d5d275c49 | db30bf60e6dbb7b2f1678e7ea2d7e371b425595f | refs/heads/master | 2021-01-20T15:19:19.629180 | 2017-03-25T01:46:08 | 2017-03-25T01:46:08 | 82,805,435 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,167 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "aimasa2.h"
#include "DynamicPointPaths.h"
DynamicPointPaths::DynamicPointPaths(FVector pos0_, FVector vel0_, FVector pos1_, FVector vel1_, float v_max_, float phi_max_, float L_car_, float a_max_) {
pos0 = pos0_;
pos1 = pos1_;... | [
"tapeworm09@hotmail.com"
] | tapeworm09@hotmail.com |
d7d40693971e4d5efdfcbaa532c2ad932df32aa7 | 2f89b19631984f8fe47f8e1468668865583bfb85 | /ABC/■100/71-80/ABC_077/ABC077_B.cpp | e4aa96ff92a8a5a02469484feb8683f02f1b47e8 | [] | no_license | masakinihirota/2019pg | 29e6ded7a043d0e061c714feeebf9439d171bbc3 | 0d7e3fda329bf610de19e6e019ca0ea2954b3155 | refs/heads/master | 2020-09-22T11:30:05.244365 | 2020-01-13T01:46:17 | 2020-01-13T01:46:17 | 225,169,649 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,101 | cpp | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define ld long double
#define ull unsigned long long int
#define rep(i, n) for (int i = 0; i < (int)(n); i++) // (i, 10) i=0~i=9まで
#define repr(i, n) for (int i = n; i >= 0; i--) // (i, 10) i=10~i=0まで
#define FOR(i, m, n) for (int i = m; i < n; i... | [
"masakinihirota@gmail.com"
] | masakinihirota@gmail.com |
caf4df208c7fcb92cca1f97d2d2f5608d39d1196 | 1a45d284d29ee041f5dae9693a318264bebe3513 | /idastarsolver.h | 80914c0912c3c87092d84dd04152eee7dc79fc1f | [] | no_license | KsaneK/QtPuzzleGame | ad99c961d99a208fb25ad4431d46bc3eaa07f7dd | d5dc1fe61a7f9676a80209bc66212231f28acee3 | refs/heads/master | 2023-04-04T04:33:44.372526 | 2021-04-16T14:33:23 | 2021-04-16T14:33:23 | 339,517,379 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,040 | h | #ifndef IDASTARSOLVER_H
#define IDASTARSOLVER_H
#include "solver.h"
#include <vector>
#include <chrono>
struct TimeoutException : public std::exception
{
const char * what () const throw ()
{
return "Nie udało się znaleźć rozwiązanie w przeciągu 10 sekund";
}
};
class IDAStarSolver : public Solve... | [
"xaneqtv@gmail.com"
] | xaneqtv@gmail.com |
9003f3363285818e28b192e75baa6730f78ebb98 | 4cf6f78ee72ac34eb0ba79f27a6b2a530881f435 | /Core/Input.cpp | 04a054497302e6fc6b63cba71c84c825c93a6f9d | [] | no_license | TVChatten/SavePrybist | 33dedaf64f2fd85edc20bf583073d91bdf740370 | f17478f801c7e4aa44f0be5429f5b7d480d8fd4a | refs/heads/master | 2020-04-22T02:10:18.445591 | 2019-02-10T23:34:16 | 2019-02-10T23:34:16 | 170,035,405 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,962 | cpp | #include "Input.h"
void Input::init()
{
Uint8* keyboard = SDL_GetKeyState(&numKeys);
keys = new bool[numKeys];
prevKeys = new bool[numKeys];
for(int i = 0; i < numKeys; i++)
{
keys[i] = keyboard[i];
prevKeys[i] = false;
}
SDL_GetMouseState(&mouseX, &mouseY);
for(int ... | [
"nessa071390@gmail.com"
] | nessa071390@gmail.com |
11bfeb48acd17d7179c1174b8e7feb0c42d31601 | 33b567f6828bbb06c22a6fdf903448bbe3b78a4f | /opencascade/OpenGl_GraphicDriverFactory.hxx | aede5bd28991ff9fc5554d98b4116d1a9fbe2553 | [
"Apache-2.0"
] | permissive | CadQuery/OCP | fbee9663df7ae2c948af66a650808079575112b5 | b5cb181491c9900a40de86368006c73f169c0340 | refs/heads/master | 2023-07-10T18:35:44.225848 | 2023-06-12T18:09:07 | 2023-06-12T18:09:07 | 228,692,262 | 64 | 28 | Apache-2.0 | 2023-09-11T12:40:09 | 2019-12-17T20:02:11 | C++ | UTF-8 | C++ | false | false | 1,628 | hxx | // Copyright (c) 2021 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GNU Lesser General Public License version 2.1 as published
// by the Free Software Foundation, with special ... | [
"noreply@github.com"
] | CadQuery.noreply@github.com |
31650fbac130fd3595eeafe557216d878cd4de36 | 75bd815c782d58c808b0257855bc1e8c7655035b | /Arrays/Form_biggest_number.cpp | f81bc099dc9ae0094bae8aa1d79dc1b810cd0f42 | [] | no_license | divyanshudob/CodingBlocks-HackerBlocks_Solutions | 6fbb77c5d7181b52927a9e30da38043e3c9d74f1 | dab9e0058d18c8e0ca337a4537bdabb4d5d6bc4c | refs/heads/main | 2023-07-17T22:44:39.668693 | 2021-08-12T03:02:43 | 2021-08-12T03:02:43 | 380,254,907 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 480 | cpp | #include<bits/stdc++.h>
using namespace std;
bool comparator(string s1,string s2)
{
string xy= s1.append(s2);
string yx= s2.append(s1);
return xy>yx;
}
int main() {
int t;
cin>>t;
while(t--)
{
int n;
cin>>n;
string a[n];
for(int i=0;i<n;i++)
{
... | [
"noreply@github.com"
] | divyanshudob.noreply@github.com |
cf68bc3f9ac09aa1b68dfaad23a0cba20bcbcbb1 | f2d58acf31902d1b8d6e9643e63551adb62140a3 | /elbow/63/uniform/functionObjects/functionObjectProperties | 972ee6b10b7c6111fa643c71632f5b872b4e1fa9 | [] | no_license | maruthiprasanna/OpenFOAMLearning | 9858326cc93068cce96702e18d7dc6b5e1972429 | 13ddba113e66ef21beec155222511f3f7b80e365 | refs/heads/main | 2023-09-04T13:01:10.180676 | 2021-10-17T17:10:59 | 2021-10-17T17:10:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 938 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2106 |
... | [
"maruthi.prasanna3222@gmail.com"
] | maruthi.prasanna3222@gmail.com | |
d331ff2b4787cc6e4d2895857200af02b0efcc65 | afa53fe23d84296c3202ac1329f4ce55020f9e0d | /Source/GameTaskEditor/Private/Node/GameTaskGraphNode_Event.cpp | 251245d258d739461c43f63e7520637305de25e0 | [] | no_license | 977908569/GameTask | 70d40f4bc1677be66c20ad0301332e8f8b896741 | 0cb7a5f97ee1eb0b28596f906c49117f56dcb7c7 | refs/heads/main | 2023-01-31T23:56:45.499708 | 2020-12-11T09:52:02 | 2020-12-11T09:52:02 | 309,542,809 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,430 | cpp | #include "GameTaskGraphNode_Event.h"
#include "GameTaskEvent.h"
#define LOCTEXT_NAMESPACE "GameTask"
UGameTaskGraphNode_Event::UGameTaskGraphNode_Event(const FObjectInitializer& ObjectInitializer)
: Super(ObjectInitializer)
{
bIsSubNode = true;
}
FText UGameTaskGraphNode_Event::GetNodeTitle(ENodeTitleType::Type Tit... | [
"977908569@qq.com"
] | 977908569@qq.com |
38e6e1e5ecfece1a34c6bad67392b36f605dfb0d | 022fc9ba04da929835cdab0ae6bfca45cb1da1f8 | /UnitTestHcMgr/ConstantEntryTest.cpp | 189178dd2f05fd35bf533c085145a74380a68478 | [] | no_license | JoaoFelipe/hcmgr | 075330989caa0e3eb56c857569057d3a337c3ccb | 8e9bf83942a001fcd405cb871d5dae4b93f172e0 | refs/heads/master | 2021-01-01T18:11:46.137415 | 2012-12-10T00:59:50 | 2012-12-10T00:59:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,637 | cpp | #include "stdafx.h"
#include "CppUnitTest.h"
#include <string>
#include "..\hcmgr\UnboundEntry.h"
#include "..\hcmgr\BoundEntry.h"
#include "..\hcmgr\ConstantEntry.h"
#include "..\hcmgr\SymbolValueEntry.h"
#include "..\hcmgr\PredicateEntry.h"
#include "..\hcmgr\SymbolTable.h"
#include "..\hcmgr\SubstitutionList.h"
#inc... | [
"joaofelipenp@gmail.com"
] | joaofelipenp@gmail.com |
8142ae3504e269f7bf6390cff06bd2d0aecd861c | 24004e1c3b8005af26d5890091d3c207427a799e | /Win32/NXOPEN/NXOpen/BlockStyler_CurveCollector.hxx | dd3c1e440a01f8794932982d2a5f823eb33a3cc3 | [] | 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 | 16,074 | hxx | #ifndef NXOpen_BLOCKSTYLER_CURVECOLLECTOR_HXX_INCLUDED
#define NXOpen_BLOCKSTYLER_CURVECOLLECTOR_HXX_INCLUDED
//--------------------------------------------------------------------------
// Header for C++ interface to JA API
//--------------------------------------------------------------------------
//
// Source Fil... | [
"1075087594@qq.com"
] | 1075087594@qq.com |
56f98865d9f285703919573ecfef6c3827e870f3 | 0cb85cd0c88a9b9f0cca4472742c2bf9febef2d8 | /external/edk/src/IFind.cpp | 35e761671f1662ccf019049542b18b45a93ad903 | [] | no_license | seth1002/antivirus-1 | 9dfbadc68e16e51f141ac8b3bb283c1d25792572 | 3752a3b20e1a8390f0889f6192ee6b851e99e8a4 | refs/heads/master | 2020-07-15T00:30:19.131934 | 2016-07-21T13:59:11 | 2016-07-21T13:59:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,299 | cpp | // --ifind.c------------------------------------------------------------------
//
// Module containing FIND functions for various folders.
//
// Copyright (C) Microsoft Corp. 1986 - 2000. All Rights Reserved.
// -----------------------------------------------------------------------------
#include "stdafx.h"
... | [
"idrez.mochamad@gmail.com"
] | idrez.mochamad@gmail.com |
1cd966daca930c5db4b24216a8785cdbe7dff685 | f34b8a5215a2192e1f39589ecee9383aa0698736 | /sort.cpp | 97fd82cdb5f1e7172a6123b8c0535ce4b5559fd3 | [] | no_license | adammorton11/3sorts | 9899ce4ad2095be22a8e91e2c8149833ae180a74 | 1986dcc25b5537e41fa7e5bf1e1c7ec0b30bc9b5 | refs/heads/master | 2021-01-02T09:07:41.746487 | 2015-03-06T00:25:05 | 2015-03-06T00:25:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,768 | cpp | #include <iostream>
#include <string> // The string class: pg 131
#include <vector> // The vector class: pg 1012
#include "sort.hpp"
using std::string;
using std::vector;
template <typename T> void sort(T *a, T *aux, int lo, int hi);
template <typename T> void sort(vector<T> &a, T *aux, int lo, int hi);
template <... | [
"Maverick@Adams-MacBook-Pro.local"
] | Maverick@Adams-MacBook-Pro.local |
7adf28ed8b4383c76e12905a1fa74d2b57f09d04 | b69ccb24f09c3d4a51dc965bee6554e22f22497b | /dynet/dynet/training.h | 36e56a6815c6122b557e17d503bf28372cce126e | [
"Apache-2.0"
] | permissive | LorraineWuu/Mantidae | c466569c79a286bf8e71cdbf6978854345ce312d | ea2683b9865ec0ed555e93c4eb27edb6890336e5 | refs/heads/master | 2021-01-23T07:51:18.486937 | 2017-03-28T01:07:17 | 2017-03-28T01:07:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,218 | h | /**
* \file training.h
* \defgroup optimizers
* \brief Training procedures
*
* The various trainers are defined here.
* All trainers are structures inheriting from the `Trainer` struct.
*
*
*/
#ifndef DYNET_TRAINING_H_
#define DYNET_TRAINING_H_
#include <vector>
#include <boost/serialization/export.hpp>... | [
"vhoang2@student.unimelb.edu.au"
] | vhoang2@student.unimelb.edu.au |
a10ee9f418b526c17405a88a4513bb636a04ffdd | 54d919fd0a506e732a32dad848fa6dfa1e0fc193 | /src/core/callback.cpp | 49f8b6a75f74052eeb027859c0c4cf95ed202865 | [
"MIT"
] | permissive | t03cut4/chunkwm | f0372aca93207e31b14a8a9f8935adf414e9b06f | 4313772bf5a25c2ce4340b70ec7579c6b94a4044 | refs/heads/master | 2020-03-19T19:13:49.212180 | 2018-06-09T23:36:50 | 2018-06-09T23:36:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,281 | cpp | #include "config.h"
#include "plugin.h"
#include "wqueue.h"
#include "state.h"
#include "clog.h"
#include "dispatch/carbon.h"
#include "dispatch/workspace.h"
#include "dispatch/event.h"
#include "../common/accessibility/window.h"
#include "../common/misc/assert.h"
#include <stdio.h>
#include <pthread.h>
#define int... | [
"aasvi93@hotmail.com"
] | aasvi93@hotmail.com |
66ee7bff0f302796af826a87b2df9f2f697dfc05 | ac2732913ca89a14ac92ab6e516701bd3ac277eb | /Assignment_7/assn_7.cpp | ef9f7868e272eca26262301f6d685a724bc87585 | [] | no_license | kundankabra/Object-Oriented-Programming | c414e45b22a574280dc138fd431492dd361afc67 | d92c13078f2bb061cf42410bcac10b364177c5e9 | refs/heads/master | 2023-01-22T21:59:18.545706 | 2020-12-07T15:03:48 | 2020-12-07T15:03:48 | 225,531,991 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 941 | cpp | #include<iostream>
#include<list>
using namespace std;
void display(list<int> &l)
{
list<int>::iterator itr;
for(itr=l.begin();itr!=l.end();++itr)
{
cout<<*itr<<"\t";
}
cout<<endl;
}
int main()
{
list <int> l1;
list<int> l2(5);
int no,value;
cout<<"Enter the no of elements in list 1: ";
cin>>no;
cout<<"Enter the... | [
"kundan.21810729@viit.ac.in"
] | kundan.21810729@viit.ac.in |
f100bf598793b975a47c81e07d17b931a0590fca | 3943f4014015ae49a2c6c3c7018afd1d2119a7ed | /final_output/output_recur_large_cp/laguerre_formula_-10000.000000_10000.000000/8-19.cpp | 2a774955d23c476c27862aec1dc31a5194ffe04f | [] | no_license | Cathy272272272/practicum | 9fa7bfcccc23d4e40af9b647d9d98f5ada37aecf | e13ab8aa5cf5c037245b677453e14b586b10736d | refs/heads/master | 2020-05-23T10:10:15.111847 | 2019-06-08T00:23:57 | 2019-06-08T00:23:57 | 186,689,468 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,307 | cpp | #include <iostream>
#include <stdio.h>
#include <assert.h>
#include <math.h>
extern "C" {
#include "quadmath.h"
}
#ifndef IFT
#define IFT float
#endif
#ifndef OFT
#define OFT __float128
#endif
template <class _Real>
_Real __libcpp_generalized_laguerre_recurrence(unsigned __n,_Real __x) {
if (__n == 0u)
re... | [
"cathyxu@Cathys-MacBook-Pro.local"
] | cathyxu@Cathys-MacBook-Pro.local |
8925eadacc7aff0b22efc4c6f7efea79399eb9cb | 7bbf74f5114cf2298bc2f6c6ce01269fb255fca9 | /4-5/studi.h | 40d5b52e712ba6c5cb7292e6f67132d2ba5b30ea | [] | no_license | Helagoes/OOP_BJM | 1267c0d594d6f9a3680080070156c4265d1ff8d5 | f1632905eb8dba652ac8d0795cf454e587216826 | refs/heads/master | 2020-05-01T09:12:37.467816 | 2019-06-19T12:35:24 | 2019-06-19T12:35:24 | 177,394,672 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 698 | h | #ifndef _STUDI
#define _STUDI
#include <cstdlib>
#include <iostream>
#include <stdexcept>
#include <fstream>
class studi {
public:
bool in(std::string, size_t);
//getter
long g_matnr() const { return this->matnr; }
std::string g_vorname() const { return this->vorname; }
std::string g_nachname() const { return th... | [
"noreply@github.com"
] | Helagoes.noreply@github.com |
8c2d504668574875eb82246b19a522010cb71ada | bdbbc611761582b173c08a2cae6a9a355feaee9a | /C++ Project/class_construct_test/b.cpp | 1eabed370d93fcba667aa35cbef87348e60c31ad | [] | no_license | lssxfy123/C-study | a79f043fab25d597c3bc19748600857e3ee3f9de | e88632838251dfb3947d2dd95423c66f409ee80e | refs/heads/master | 2022-02-05T02:30:46.475740 | 2022-01-23T14:00:59 | 2022-01-23T14:00:59 | 41,584,370 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 463 | cpp | #include "b.h"
#include <iostream>
// 注意,这里构造函数的形参应定义为引用类型,如果定义为普通类型的i,
// 用其初始化引用ref后,构造函数执行完毕后,i会析构掉,引用ref的值就会是未知的随机数
B::B(int& i):ten(10), ref(i), a(i)
{
std::cout << "调用B构造函数" << std::endl;
}
B::~B()
{
}
void B::PrintValue()
{
std::cout << ten << std::endl;
std::cout << ref << std::endl;
}
| [
"liushenshenxfy@126.com"
] | liushenshenxfy@126.com |
5cf33c0d130190c230369a0b65f3cfce3c2435aa | d203c7d37391ad12209d279368de397660b1b9a3 | /8.c | b96f62302b65628c03c08d1a88b280e09a36b6df | [] | no_license | baswojuvishal/c-programming-3 | 8e2adf75e490ccf94fee66fdef1543c027ad0c30 | 23b5da87a955e825321f51c40ffb0bdaa8c18a23 | refs/heads/master | 2020-09-28T14:55:02.676157 | 2019-12-09T06:28:41 | 2019-12-09T06:28:41 | 226,800,574 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 114 | c | #include<stdio.h>
int main()
{
int a=10,b=10;
printf("a<<2=%d",a<<2);
printf("b>>2=%d",b>>2);
return 0;
}
| [
"noreply@github.com"
] | baswojuvishal.noreply@github.com |
d8eb25c20dcc5d173b72602c11b12369d5d28ea1 | 1f5079b24785a0e6a8bef1f15e1bca939e94ba56 | /Dev/C++/Mascaret/src/Tools/Network/HttpServer/httpResponse.cpp | 460bf00699b3a98fdb2f8e8e7bed90985ca60623 | [] | no_license | querrec/Mascaret | 7d5d0628dfb93226a602f79a7a974c14a60a88e8 | c71eba3667b3e3fa8a0b18a1f40219aee358c968 | refs/heads/master | 2021-01-17T08:12:10.024097 | 2016-04-14T13:27:52 | 2016-04-14T13:27:52 | 25,727,699 | 0 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 2,998 | cpp | #include <boost/asio.hpp>
#include <boost/date_time/posix_time/posix_time.hpp>
#include <boost/date_time/time_facet.hpp>
#include "httpServer/httpResponse.h"
#include <sstream>
using std::string;
using std::map;
using std::ostringstream;
HttpResponse::HttpResponse()
{
_isCommited=false;
reset();
}
HttpResponse::~H... | [
"querrec@querrecPortable.(none)"
] | querrec@querrecPortable.(none) |
9f891c0dbc4bf1e3e04e86200d63b60eb4260f9a | 73cfd700522885a3fec41127e1f87e1b78acd4d3 | /_Include/boost/spirit/home/classic/iterator/position_iterator_fwd.hpp | c67c6aef05f9dfff4fee3b2a6132462b409a9a38 | [] | no_license | pu2oqa/muServerDeps | 88e8e92fa2053960671f9f57f4c85e062c188319 | 92fcbe082556e11587887ab9d2abc93ec40c41e4 | refs/heads/master | 2023-03-15T12:37:13.995934 | 2019-02-04T10:07:14 | 2019-02-04T10:07:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,223 | hpp | ////////////////////////////////////////////////////////////////////////////////
// position_iterator_fwd.hpp
/*=============================================================================
Copyright (c) 2006 Tobias Schwinger
Copyright (c) 2002-2006 Hartmut Kaiser
http://spirit.sourceforge.net/
Di... | [
"langley.joshua@gmail.com"
] | langley.joshua@gmail.com |
6ebb8a93881130abe0db76a771373fb47afc3482 | bc3f4abb517829c60f846e5cd9787ac61def945b | /cpp_boost/boost/boost/geometry/algorithms/detail/buffer/buffer_inserter.hpp | eac044b7a84b56cedae354827db624d868ddab09 | [] | no_license | ngzHappy/cpc2 | f3a7a0082e7ab3bd995820384c938ef6f1904a34 | 2830d68fec95ba0afeabd9469e919f8e6deb41b3 | refs/heads/master | 2020-12-25T17:24:17.726694 | 2016-08-08T13:40:06 | 2016-08-08T13:40:07 | 58,794,358 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 32,670 | hpp | // Boost.Geometry (aka GGL, Generic Geometry Library)
// Copyright (c) 2012-2014 Barend Gehrels, Amsterdam, the Netherlands.
// Use, modification and distribution is subject to the Boost Software License,
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifn... | [
"819869472@qq.com"
] | 819869472@qq.com |
15994e722495a3f88fbd71dc9135441f8c9b7fa7 | c07a44016da3ae7920d581754ea07cab54d4e6e9 | /22- Trie Data Structure/maxXorpair.cpp | 3156559f8a5bae832d97026c251a4f2a4714de88 | [
"MIT"
] | permissive | zee-bit/C-plus-plus-Algorithms | 4f8cced9695bb9e430a789767bd56dcebc6a7caf | e8351f6b54aebf6e61cbf7869fd40d19ab3b370e | refs/heads/master | 2023-02-04T05:39:05.769862 | 2020-10-02T09:22:25 | 2020-10-02T09:22:25 | 300,564,794 | 0 | 0 | MIT | 2020-12-25T19:16:55 | 2020-10-02T09:27:02 | null | UTF-8 | C++ | false | false | 1,486 | cpp | #include<iostream>
#include<math.h>
using namespace std;
class trieNode{
public:
trieNode *left;
trieNode *right;
};
void insert(int n, trieNode*head){
trieNode *curr= head;
for(int i=31; i>=0;i--){
int bit= (n>>i)&1;
if(bit==0){
if(curr->left==NULL){
curr->left= new trieNode();
... | [
"dev.18715@knit.ac.in"
] | dev.18715@knit.ac.in |
a22053207b4e0d911187a957959022a5a4a877ed | 8878071b2e73220de8d5407c16af657902e4aae1 | /GitTest_01/GitTest_01/main.cpp | 4a02f24fc704543e3cbe2dccd457885a10d5e25a | [] | no_license | liujun1994/ZTSS- | 0462f64015a602ac29180b53d1089d336bff3346 | 9fe28636bb1a513a59907e4b18eb164dede0fd72 | refs/heads/master | 2021-07-17T21:54:44.969781 | 2017-10-25T07:09:28 | 2017-10-25T07:09:28 | 108,227,746 | 0 | 0 | null | 2017-10-25T07:09:53 | 2017-10-25T06:15:10 | C++ | UTF-8 | C++ | false | false | 392 | cpp | //
// main.cpp
// GitTest_01
//
// Created by Admin on 17/10/25.
// Copyright © 2017年 Admin. All rights reserved.
//
#include <iostream>
using namespace std;
int main(int argc, const char * argv[]) {
// insert code here...
cout << "Hello, World!\n";
cout<<"这是分支一的皂搓"<<endl;
//删除分支1
//合拼分支1
... | [
"523274522@qq.com"
] | 523274522@qq.com |
a0db5124715ce358be59342d2c43b9c59ea93c9e | 1ceda244af2ad34061469872691406a2c09c1a89 | /Hourly.cpp | 1ee37aacc5a89abe589d107ec188dbdf1682b69e | [] | no_license | klingz1/KlingsLandscapingSoftware | a5e1f48aaa190f018ae0dbc512f989c765952946 | d6c284aa844438b32f576e6ef59f0ff82c2f792d | refs/heads/master | 2020-05-18T08:10:41.561002 | 2013-10-08T04:05:14 | 2013-10-08T04:05:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 340 | cpp | #include "Hourly.h"
Hourly::Hourly(string da, double pr, string des, Customer* cust, bool pa, double amtPa, string hrs, double ra) : Job(da, pr, des, cust, pa, amtPa)
{
hours = hrs;
rate = ra;
}
string Hourly::toString()
{
ostringstream os;
os << Job::toString() << ", " << hours << ", " << rate;
r... | [
"klingz1@zack---1312435.(none)"
] | klingz1@zack---1312435.(none) |
3ef914d3e97bf4b2495c067c93e377bd1644802b | e818e0604894788b8e161c61fbc1051fe1eb9c04 | /LINKED LIST/ll queue as ll.cpp | 2eb37d5af81e279ebab11a702aaaa14ce75ea3ab | [] | no_license | RamanjaneyuluErni/Data-Structures | bae1c14241df78eeaa9677a8115ca8529948dc05 | db868bc0708231ec20211350365dd692f4b7769d | refs/heads/master | 2020-03-25T06:59:00.985824 | 2018-08-04T14:32:00 | 2018-08-04T14:32:00 | 143,535,335 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,428 | cpp | #include<iostream>
using namespace std;
struct queue{
int sice;
int front;
int rear;
int element[20];
};
int dequeue(struct queue &q)
{if(q.front==-1)
{cout<<"queue is empty\n";}
else
{ int t;
t=q.element[q.front];
if(q.front==q.rear)
{q.front=-1;q.rear=-1;}
else
... | [
"noreply@github.com"
] | RamanjaneyuluErni.noreply@github.com |
273fcd94bf9e7e0de9e45b7466b2e4573ba69ffb | 0da8c897503c7cfd48ef0295a65ca2d2d892af4f | /lib/algorithms/flow/unit_flow.h | 36e55abc2941618c3a9f48f00a466b7018e9576d | [
"MIT"
] | permissive | c-goetz/VieCut | 77c233a31e2e1d2b17a97ae58e3d01a0dcddcb3a | b187f0638aee31aa2cd691f890853afb6ea9d837 | refs/heads/master | 2020-07-19T04:36:52.759870 | 2019-09-04T14:17:48 | 2019-09-04T14:17:48 | 206,374,906 | 0 | 0 | MIT | 2019-09-04T17:28:57 | 2019-09-04T17:28:56 | null | UTF-8 | C++ | false | false | 5,979 | h | /******************************************************************************
* unit_flow.h
*
* Source of VieCut.
*
******************************************************************************
* Copyright (C) 2017 Alexander Noe <alexander.noe@univie.ac.at>
*
* Published under the MIT license in the LICENSE ... | [
"alexander.noe@univie.ac.at"
] | alexander.noe@univie.ac.at |
5c7ff3f74da320534de868baea6ef3b5eea42797 | 10add2fa4572990f6cba06e7d0817f6965d8cfa0 | /Math/计算方法/PB18111697_王章瀚_1/PB18111697_王章瀚_1/PB18111697_王章瀚_1.cpp | 4d5c4eb0e8506ac99ddc98618ea7cab21d1927f0 | [
"MIT"
] | permissive | LearnerM/USTC-CS-Resources | 0d2a156480ebbee8bbd7080b3026e745c52ac892 | 8dae043524f236e894c3e81f51f7701f0de23968 | refs/heads/master | 2023-06-11T09:52:08.590845 | 2021-07-04T05:30:50 | 2021-07-04T05:30:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 726 | cpp | #include "pch.h"
#include <iostream>
#include <stdio.h>
#include <cmath>
using namespace std;
// 设置允许截断误差值
const double TRUNCATION_ERROR = 1e-13;
// 计算在允许截断误差下的k应计算到多少位
const double MAX_K = 1/pow(2*TRUNCATION_ERROR, 0.5) + 1;
// x及x的个数
const int X_NUM = 7;
const double array_x[] = { 0.0, 0.5, 1.0, pow(2, 0.5), 10.0,... | [
"hankzhwang@gmail.com"
] | hankzhwang@gmail.com |
89d21cf961b723988f7e42a49df8738ffaa02fdb | c591b56220405b715c1aaa08692023fca61f22d4 | /syeda reeha quasar/milestone 6/all prime numbers from 1 to n.cpp | 912ce9a82a53154dbd7691e86dd1380f7cf33898 | [] | no_license | Girl-Code-It/Beginner-CPP-Submissions | ea99a2bcf8377beecba811d813dafc2593ea0ad9 | f6c80a2e08e2fe46b2af1164189272019759935b | refs/heads/master | 2022-07-24T22:37:18.878256 | 2021-11-16T04:43:08 | 2021-11-16T04:43:08 | 263,825,293 | 37 | 105 | null | 2023-06-05T09:16:10 | 2020-05-14T05:39:40 | C++ | UTF-8 | C++ | false | false | 268 | cpp | #include<iostream>
using namespace std;
int main ()
{
int num , i,end, isprime ;
cout<<"print all prime numbers from 1 to n"<<endl;
cin >>end;
for(i=2; i<=end;i++)
{
isprime=1;
for(num=2; num<=i/2;num++)
{
if(i%num==0)
isprime=0;
}
if(isprime==1)
cout<<i<<endl;
}
}
| [
"reeha.saba@gmail.com"
] | reeha.saba@gmail.com |
fe05875edd60a263dcb0a5990692db3a112b15a7 | aa4bdcdf47e15ec43b073e602ca15e7e8dc916b0 | /BipartiteUnionFind.cpp | 70fc1ab820848057c100726ef3cdde5f4f91e812 | [] | no_license | newpolaris/algorithm | dbd51d036f4f892702403200919efb872aa92ec6 | 70e7fdc96811da7cda681cb96d7b5041d7932c76 | refs/heads/master | 2021-01-12T17:16:36.359070 | 2019-11-24T17:29:34 | 2019-11-24T17:29:34 | 71,535,310 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,890 | cpp | #include <iostream>
#include <string>
#include <vector>
#include <map>
using namespace std;
struct BipartiteUnionFind {
vector<int> parent, rank, enemy, size;
BipartiteUnionFind(int n)
: parent(n), rank(n, 0), enemy(n, -1), size(n, 1)
{
for (int i = 0; i < n; i++)
parent[i] = i;
}
int find(int u) {
i... | [
"newpolaris@gmail.com"
] | newpolaris@gmail.com |
092ac17711a1b4d7c6a230c6069fcd435381d678 | 040eab433f00786ec34142f242c0735e8c19fd9c | /samples/batcat/src/MyApp.hpp | 473207ce3e67e765f296bad9ce74f788ed48c6aa | [
"Zlib"
] | permissive | MORTAL2000/crogine | d7c73f174dfd7b1cf89ee693f98c7ecd41bb11f4 | 488b46dc3f706def8fdae30346c248f01c95b49c | refs/heads/master | 2020-12-20T20:52:56.810085 | 2020-01-24T15:41:32 | 2020-01-24T15:41:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,565 | hpp | /*-----------------------------------------------------------------------
Matt Marchant 2017
http://trederia.blogspot.com
crogine test application - Zlib license.
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 us... | [
"matty_styles@hotmail.com"
] | matty_styles@hotmail.com |
8ba727dfa61e72c939322c529222caec589e5b7f | b12bcb039791d3523a410522403230f5404fd8de | /DesignPattern/Learning-010/BMW.h | f4e7a8692215f1c1340c34cb40c9ac559a7f969c | [] | no_license | cool-cola/leetcode | dee3bde66661d467c5a9bed4d59f765f83e9ad77 | a8b9eb879a2e88d1ce7dce71baccee1ad772a797 | refs/heads/master | 2021-01-11T03:05:27.480822 | 2017-03-09T07:54:11 | 2017-03-09T07:54:11 | 71,098,116 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 220 | h | #pragma once
#include <iostream>
//#include "Car.h"
class CCar;
class CBMW : public CCar
{
public:
CBMW() {}
virtual ~CBMW() {}
virtual void driverV() override
{
std::cout << "Driving BMW..." << std::endl;
}
}; | [
"1173573041@qq.com"
] | 1173573041@qq.com |
0ccdd12286d4a26471c96ecb079e3d91d9069c98 | de33200cd65614455b30bacaa6a5b209cbabf114 | /baekjoon/2661.cpp | 4d8280df9500e7f54409c3ba6c0ed0a0dc69069b | [] | no_license | DongOnee/algorithm | 4b3367ea5e6346d44dbaa66328057654596b9ab2 | 662352f9fcfafdaa66b00af1806eeea2cf7ff0d1 | refs/heads/master | 2022-03-14T06:48:37.097846 | 2022-03-04T06:34:42 | 2022-03-04T06:34:42 | 138,333,071 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,323 | cpp | /**
* 19.2.12.
*/
#include <cstdio>
#include <string>
using namespace std;
string s;
int len;
bool chk()
{
int chk_len = len/2;
int size=0;
while(size<chk_len)
{
size +=1;
string subs1 = s.substr(len-size, size);
string subs2 = s.substr(len-size*2, size);
... | [
"dongwon5520@gmail.com"
] | dongwon5520@gmail.com |
4791dcd6631fd1a53fc7c943b0fef9b5887ba90c | c83e3f54a7b012396aef1a634cd87adb75ec2e1c | /2B/zad_1_8_str_29.cpp | c9deef0e5f32df03c2803feac042fc96c3c0159e | [] | no_license | JakubMazurek/zsk | 83acfe6c416aaf0fc5db6507bce6877c58ccbc20 | 0fe46ce98495a60ab88bd9a162802aeb34f25f9f | refs/heads/master | 2021-08-14T17:28:45.266562 | 2017-11-16T10:25:25 | 2017-11-16T10:25:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 291 | cpp | #include <iostream>
#include <cstdlib>
#include <cmath>
#include <ctime>
using namespace std;
int main()
{
int n, s, i;
cout<<"Podaj n: ";
cin>>n;
s=1;
i=3;
while(i<=n+2){
s=s*i;
i=i+1;
}
cout<<s<<endl;
system("pause");
return 0;
}
| [
"zskgit@gmail.com"
] | zskgit@gmail.com |
840110cc3566b5012e2b78042a449a39a3db9d5d | c4ff0549531983342b89b4ccafab46632ecd4bc5 | /Polinomials/Poly.h | c1427d92b72abf1424af47b1a7130678492c84d0 | [] | no_license | tom1322s/OOPC | 30187a4a851869ed014e41f3a86fdf181418c870 | a1e38b6ab585c503c915ec7b0a2c2c36c30f45b1 | refs/heads/master | 2022-03-29T00:36:41.387526 | 2020-01-19T19:27:12 | 2020-01-19T19:27:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 683 | h | //
// Created by maciek on 01/11/2019.
//
#pragma once
#include <map>
#include <iostream>
#include <functional>
class Poly {
private:
std::map<unsigned int, double, std::greater<>> data;
public:
Poly();
Poly(double src);
//Poly(const Poly& src);
double& operator [] (unsigned int key);
double operator () (double... | [
"mpodsedkowski@gmail.com"
] | mpodsedkowski@gmail.com |
bcdb88745bf65a263b463e48a35eea69d47ed107 | 23017336d25e6ec49c4a51f11c1b3a3aa10acf22 | /csc3750/prog8/Light.cpp | 20cf3049b2400d72bc2ca2773bb698d7cc7d1a89 | [] | no_license | tjshaffer21/School | 5e7681c96e0c10966fc7362931412c4244507911 | 4aa5fc3a8bbbbb8d46d045244e8a7f84e71c768f | refs/heads/master | 2020-05-27T19:05:06.422314 | 2011-05-17T19:55:40 | 2011-05-17T19:55:40 | 1,681,224 | 1 | 1 | null | 2017-07-29T13:35:54 | 2011-04-29T15:36:55 | C++ | UTF-8 | C++ | false | false | 537 | cpp | /** Class provided by Dr. Boshart. */
#include "Light.h"
Light::Light()
{
location = new Vertex(0, 0, 0);
color = new Color(1.0, 1.0, 1.0);
}
Light::~Light()
{
delete location;
delete color;
}
void Light::setLocation(Vertex* l)
{
Vertex* temp = location;
location = l;
delete t... | [
"tjshaffer21@gmail.com"
] | tjshaffer21@gmail.com |
c19b633db944ebff0f61d834c7e522d9068e5776 | 9e34e84c20760a9a37512c675074974ac7e56275 | /more-source/2010-2011/kbtu_lksh/finalcontest/i.cpp | 05b81d04ea12d0cb592a6c6746230f4f0e328514 | [] | no_license | Slava/competitiveProgramming | 2b7f26bf24143b459c6e2625ef1ea343a926bb76 | b68391720b9f9efc4162a66ca07d9448cffc1453 | refs/heads/master | 2021-01-21T12:40:40.053352 | 2020-01-06T19:21:45 | 2020-01-06T19:21:45 | 9,552,080 | 8 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 985 | cpp | #define file "I"
#include <cstdio>
#include <algorithm>
#include <utility>
#include <iostream>
#include <cstdlib>
using namespace std;
#define mp make_pair
#define f first
#define s second
pair<int, pair<int,int> >a[1000010];
int n, m, p[1010], ans;
int get(int x) {
if (p[x] != x)
p[x] = g... | [
"slava@meteor.com"
] | slava@meteor.com |
e07b7c7cf0c52b327e89e1a4426e65d396d9d24d | d5fb06cb16884ca739ce4f921bba521ee544ccbd | /Algorithms and Data Stuctures/2 term/Lab 6/Source.cpp | b7aa48c048008548a4a4463728d7b8a7688b9d5a | [] | no_license | SYaroslav2/KPI | adcfe30e3e445f174b11178847627af8c3ea3c50 | f6538fe6c72450e6a95803a363d01a648e6b354d | refs/heads/main | 2023-05-31T03:24:17.546377 | 2021-06-16T09:23:19 | 2021-06-16T09:23:19 | 377,416,185 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,863 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <conio.h>
#include <math.h>
typedef struct list
{
float inf;
struct list *link;
};
struct list * init(float a)
{
struct list *lst;
lst = (struct list*)malloc(sizeof(struct list));
lst->inf = a;
lst->link = NULL;
return (lst);
}
struct list ... | [
"noreply@github.com"
] | SYaroslav2.noreply@github.com |
164d899eecc86b50639574038aa1baf1497f76c3 | a24ddbfdf20dfa041d12eef4e88e7f4ca23bf09b | /jni/src/TextRenderer.cpp | 982f7dbd0184b56651e10dfa5f54b56c24b2faf2 | [] | no_license | gra3/Project-Kona | 34421647a21638b1f623ca7fe101b410e6cf839b | 837193490d14f470faba5a2fdc6795a4facb8bc5 | refs/heads/master | 2021-06-11T06:49:42.157297 | 2017-01-07T03:55:46 | 2017-01-07T03:55:46 | 78,257,302 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,362 | cpp | #include "TextRenderer.h"
TextRenderer::TextRenderer()
{
}
TextRenderer::TextRenderer( SDL_Renderer* renderer, std::string fontName ):
renderer( nullptr ),
surface( nullptr ),
texture( nullptr),
font( nullptr ),
fontName( fontName )
{
this->renderer = renderer;
}
TextRenderer::~TextRenderer()
{
TTF_CloseFo... | [
"gra3@zips.uakron.edu"
] | gra3@zips.uakron.edu |
07c72438d0a9d3bf0a9efa00585e0eaf4afe9890 | 48977d8586d355ea5c7ed5ddc65d6126ae3f3ecc | /proyecto.h | 26ca6b8c3ad8423004588f7ae422aa0ac6c607cb | [] | no_license | EdwinGeul01/Read-bmp-cpp | 71fe4a8a0a3cdfe6f3655765e6cea2b298953f56 | c0282866f50cef6ea099480239bd21db7c3abde8 | refs/heads/master | 2022-09-07T20:56:21.098020 | 2020-02-18T00:03:53 | 2020-02-18T00:03:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 492 | h | #ifndef PROYECTO_H
#define PROYECTO_H
#include <QMainWindow>
#include <stdio.h>
#include <string.h>
#include <iostream>
QT_BEGIN_NAMESPACE
namespace Ui { class proyecto; }
QT_END_NAMESPACE
class proyecto : public QMainWindow
{
Q_OBJECT
public:
proyecto(QWidget *parent = nullptr );
~proyecto();
private ... | [
"edwingeul01@gmail.com"
] | edwingeul01@gmail.com |
6476d1e2fc426792bb8b90fea5b28b8f28897de1 | f37662e0bffbcb703d20caf5b051454eafdca65b | /Review/THK/Framework111/Reference/Headers/Graphic_Device.h | fdbe5de596300e942307244bc6a93acf145c1989 | [] | no_license | TeaHoonJJang/SR_TEST | 2851f222999673acd35a0c5d8b2822ecd9e47431 | e3da5845cce19909dfd4439508b428c466210a14 | refs/heads/main | 2023-01-10T00:49:05.443033 | 2020-11-17T09:07:19 | 2020-11-17T09:07:19 | null | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,345 | h | #pragma once
#ifndef __GRAPHIC_DEVICE_H__
#include "Base.h"
class ENGINE_DLL CGraphic_Device final : public CBase
{
DECLARE_SINGLETON(CGraphic_Device)
private:
CGraphic_Device();
virtual ~CGraphic_Device() =default;
public:
LPDIRECT3DDEVICE9 Get_Device() { return m_pDevice; }
public:
HRESULT R... | [
"rlaxogns5755@naver.com"
] | rlaxogns5755@naver.com |
c44a048fd981bdc303f2974652703c9aa3ce5b61 | 691ef71d083ab1faa59487c683e6a7329f365a68 | /Eudora71/Eudora/SpellDialog.h | 102b7c37ce9691851b0affddb89e804fa166854f | [] | no_license | radtek/eudora-win | 6313d935fe650b39c54c7934e767c28425b29b93 | 37c39ac8e27d2ab0f11ed867c998b3106e69c1d7 | refs/heads/master | 2023-03-16T18:36:37.976634 | 2018-09-07T08:55:38 | 2018-09-07T08:55:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,176 | h | #if !defined(AFX_SPELLDIALOG_H__4056D7B2_08FF_11D1_9818_00805FD2F268__INCLUDED_)
#define AFX_SPELLDIALOG_H__4056D7B2_08FF_11D1_9818_00805FD2F268__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// SpellDialog.h : header file
//
#define SpellCheck_DLL_ FALSE
#include "ssce.h"
#define SpellChec... | [
"peter@conglomo.co.nz"
] | peter@conglomo.co.nz |
b60f80c29a2246d705cbb4a5f39761fed988f425 | 7ad1e8409d23ef82022a28fe58242d0736109530 | /leetcode/027_Remove-Element/RemoveElement.cpp | fc67152668087e8ca259318ed15e02bc0df4af8d | [
"MIT"
] | permissive | chasingegg/Online_Judge | c96900f4ab8c93bf5863776408c3d47952632b1b | 8a3f4b5b207cbeda921c743a527a25bf9c7b6248 | refs/heads/master | 2021-05-20T17:42:17.597158 | 2020-12-09T09:37:40 | 2020-12-09T09:37:40 | 83,519,213 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 427 | cpp | #include <iostream>
#include <vector>
using namespace std;
class Solution {
public:
int removeElement(vector<int>& nums, int val) {
int n = nums.size();
if (n == 0) return 0;
int i = 0;
while (i < nums.size()) {
if (nums[i] == val) {
nums.erase(nums.begin... | [
"gaoc96@qq.com"
] | gaoc96@qq.com |
cba4362a77273384f0f226536843b4eb9517af85 | f8b043b42b0be6159db8099e8289cd4fd671722d | /UPDATEIT.cpp | 8458d19662f41335a6278b6cce29e53e59c7b0fc | [] | no_license | priyanshu-28/Spoj-Solutions | 251c332f7d7292fa45af73ec01acd3349a43913a | 78a2104ddc73cf315245645640242825dc92b7af | refs/heads/master | 2023-03-20T05:34:55.257835 | 2017-04-25T13:45:22 | 2017-04-25T13:45:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 776 | cpp | #include<bits/stdc++.h>
using namespace std;
void BIT(vector< int > &arr,int index,int n,int val)
{
index=index+1;
while(index<=n)
{
arr[index]+=val;
index+=index&(-index);
}
}
void update(vector< int > &arr,int s,int e,int n,int val)
{
BIT(arr,s,n,val);
BIT(arr,e+1,n,-val);
}
int find(vector< int > &arr,int ... | [
"Vengatesh"
] | Vengatesh |
822afe51fee6e1ec68ec0604b8122572ebb40ed9 | 21fe9ddd8ba3a3798246be0f01a56a10e07acb2e | /v8/src/arm/lithium-arm.cc | 0a76150ddc4ce720e9c69bb68c319008a78776d6 | [
"bzip2-1.0.6",
"BSD-3-Clause"
] | permissive | yong/xruby2 | 5e2ed23574b8f9f790b7df2ab347acca4f651373 | ecc8fa062c30cb54ef41d2ccdbe46c6d5ffaa844 | refs/heads/master | 2021-01-20T11:26:04.196967 | 2011-12-02T17:40:48 | 2011-12-02T17:40:48 | 2,893,039 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 74,065 | cc | // Copyright 2011 the V8 project authors. 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 li... | [
"yong@intridea.com"
] | yong@intridea.com |
9e3520371ca50ddecd704337797928644f2fe705 | 45cca9d2f309faeb94ded9f5e5adfc45d3d70d3f | /heap/main.cpp | 88eb23e01ac6d3e0ee8b4cf37b3be23559a2dc23 | [] | no_license | Temp1ar/ReliableHeap | 495acd6064803a1e7b51a8f6d95fb6481262c98e | b3125d309b8c1e03721c0ffa1c6a9c0b81b723db | refs/heads/master | 2021-01-01T19:24:30.423854 | 2012-05-22T12:40:01 | 2012-05-22T12:40:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,071 | cpp | #include <iostream>
#include <cstdlib>
#include <list>
#include <cassert>
#include <functional>
template<class T, class Comparator = std::less<T>>
class Heap
{
class Node
{
public:
Node(T value, Node* parent = 0, Node* left = 0, Node* right = 0)
: value_(value)
, parent_(parent)
, left_... | [
"alexey.korovin@spbau.se"
] | alexey.korovin@spbau.se |
fad19bcb8bd37e9b9f31d5e6e14bec32b1e38662 | a86542fa6fcabff33a9c052a18467acd3edc5fed | /server_CV.cpp | 19bc01856aa98edcdb63fe077c890431788ea001 | [] | no_license | srhodes9115/OpenCV | 1075c9693e55ea3781de695108b0de2e88a54569 | b44680e8f04bf377f9d09ff8e9b8936486b9b1a1 | refs/heads/master | 2021-01-19T08:45:18.759299 | 2017-04-08T23:17:15 | 2017-04-08T23:17:15 | 87,669,860 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,026 | cpp | /* THIS PROGRAM OPENS THE WEBCAM USING OPENCV, ALLOWS USER TO DRAG A LINE USING MOUSE */
#include <iostream>
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/opencv.hpp"
#include <stdio.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <sys/ioctl.h>
#include <net/if.h>
#include <unistd.h>
#include <st... | [
"shannon.rhodes@espn.com"
] | shannon.rhodes@espn.com |
023dd853e4af0ef2a6ac8836148815b8e433bb5e | cf8ddfc720bf6451c4ef4fa01684327431db1919 | /SDK/ARKSurvivalEvolved_DinoColorSet_Dunkleosteus_Ocean_classes.hpp | b51f51867b90259392cb5f99cba9f0eb7d543c3e | [
"MIT"
] | permissive | git-Charlie/ARK-SDK | 75337684b11e7b9f668da1f15e8054052a3b600f | c38ca9925309516b2093ad8c3a70ed9489e1d573 | refs/heads/master | 2023-06-20T06:30:33.550123 | 2021-07-11T13:41:45 | 2021-07-11T13:41:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 861 | hpp | #pragma once
// ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_DinoColorSet_Dunkleosteus_Ocean_structs.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Classes
//-----------------------------------------... | [
"sergey.2bite@gmail.com"
] | sergey.2bite@gmail.com |
bac8fb9afc8f143eee22974701acbf1aebf5b6e7 | 2aae847f4b9d9a9663ea74bc555bed68af42f4fc | /CLabel.h | ac8d9766313106abd8c182bc6d26bdb103579364 | [] | no_license | ggaglianone/Console-Line-Editor | 25e5f7085585f6fde0ff9b88111e81cbe858fd68 | 5c6e6f23df1f4b562b2bdf03f20883b02b9e82ff | refs/heads/master | 2020-12-25T18:23:26.747945 | 2014-09-14T03:59:16 | 2014-09-14T03:59:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 416 | h | #ifndef _GG_CLABEL_H_
#define _GG_CLABEL_H_
#include "cfield.h"
namespace cio{
class CLabel : public CField {
void allocateAndCopy(const char*);
int fieldLenght;
public:
CLabel(const char* str, int row, int col, int len = -1);
CLabel(int row, int col, int len);
CLabel(const CLabel& clb);
~CLabel();
void draw(int bo... | [
"ggaglianone@myseneca.ca"
] | ggaglianone@myseneca.ca |
28df7a92c68ad94d72e71c0e680a84928dd635ac | 1854c32b4021107a96a2e2ca7ab9c8988647f4df | /jni/DiagnoseBase/source/SendFrame.cpp | a404e0a815dea703118cb388d2a4f0d41c395cc7 | [] | no_license | dgtal/Diagnose | 9d5eaffd6211193c0aab57afc4e3cbb3fe8d3683 | 4c05655c60716f973878fc6fd9c1f855a2e2a2d6 | refs/heads/master | 2021-01-13T08:57:53.939906 | 2015-12-16T03:23:08 | 2015-12-16T03:23:08 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 11,009 | cpp | /******************************************************************************
Copyright (c) 2005, AUTOBOSS Inc.
All rights reserved.
文件名称:SendFrame.cpp
文档标识:007汽车诊断平台详细设计说明书(诊断分册)
摘 要:汽车通信命令类。
历史记录:
----------------------------------------------------------------------------
时 间 作者 版本号 操 作... | [
"1695981713@qq.com"
] | 1695981713@qq.com |
a50dbb6ccff1c95783588ad5379ac51ebb03bf6c | 120a3dee111731efdd4d5c546d0922101452e41b | /v8/src/isolate.cc | e20cd1a6ef4169598d8f47a4b93097c8d15d4eb9 | [
"BSD-3-Clause",
"SunPro",
"bzip2-1.0.6"
] | permissive | wenber/soure-think | f4ab32971fddf372da252afa25e28c7b768e0b08 | 667b9e4016690a8032217ceca513b21893722c82 | refs/heads/master | 2020-04-12T06:21:06.252671 | 2016-12-13T06:06:58 | 2016-12-13T06:06:58 | 58,983,053 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 106,498 | cc | // Copyright 2012 the V8 project 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 "src/isolate.h"
#include <stdlib.h>
#include <fstream> // NOLINT(readability/streams)
#include <sstream>
#include "src/ast/ast.h"
#include ... | [
"liuming@kuaishou.com"
] | liuming@kuaishou.com |
cfefc658aa63d07d767f2980a026aee7ea5aafc4 | 3792b3bb6446a0f40e9e1d4ce0873f94f41a85fe | /samples/test.cc | f1d8c3e3880d3d88e2ca21f8c1d582902223733a | [] | no_license | mismayil/rpc | 7d3addd4119d3b0fee247d4028cb3f8a4e4eda55 | dc7deca8c82403def17a41432c2bc29ed0a6eaab | refs/heads/master | 2021-01-21T15:21:54.391504 | 2018-03-01T02:04:56 | 2018-03-01T02:04:56 | 54,075,365 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 75 | cc | #include <iostream>
using namespace std;
int main() {
delete NULL;
}
| [
"mismayil@uwaterloo.ca"
] | mismayil@uwaterloo.ca |
7b6dc4187a55de7260730cf5383bdb71d97469d9 | b1c3093282dceadd3e367ae14af633ed39957fd6 | /dump/APTDUMP.CPP | b76abbacb909d8984b6040fbe214b1cbd4e0c333 | [
"CC0-1.0",
"LicenseRef-scancode-public-domain"
] | permissive | nmathewson/aptor1995 | 23c00f21646f601faa6e2a82b701f1fd489b4d52 | 8858d7ba871d9263eca302e7ca9e15b005c54d99 | refs/heads/master | 2020-06-06T09:51:11.644133 | 2013-08-29T01:45:09 | 2013-08-29T01:45:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,786 | cpp | ///////////////////////////////////////////////////////////////////////////
/// Filename: APTDUMP.CPP ///
/// Long filename: APTOR .apx dumping file ///
/// File type: C ++ code ///
/// Project:... | [
"nickm@torproject.org"
] | nickm@torproject.org |
507aeae68f0446b0ecfec910ec6637d33cbabd35 | 9a0af9a2a1fb9aba567f392bbf7ac0e9601f5f9f | /FinalProject2/New/include/PizzaFromMenu.h | a3ebe43fbfa0e775a436530c3904d6423d637ce0 | [] | no_license | omars08/three.weeks | 9f920ea063efa1709326ab880242df4a8a211249 | 7ab2a308dd17d86bed5b5b5adb1e438d52a0e570 | refs/heads/master | 2021-08-28T14:49:29.439861 | 2017-12-12T13:49:15 | 2017-12-12T13:49:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 203 | h | #ifndef PIZZAFROMMENU_H
#define PIZZAFROMMENU_H
class PizzaFromMenu
{
public:
PizzaFromMenu();
virtual ~PizzaFromMenu();
protected:
private:
};
#endif // PIZZAFROMMENU_H
| [
"sindridan@gmail.com"
] | sindridan@gmail.com |
881ca26fca9e71b5f6ca61a74f2f20408219a0a8 | 8236d6101d21f50dda499c4ead7862c922885aee | /Arduino/ADC_DAC_Timer/ADC_DAC_Timer.h | 1966e6b209fd710b5b4360f568ef381cffc9cdcf | [
"MIT"
] | permissive | manasdas17/NightcoreThis | fdd498dc39ad870b7439e3bdaf63fa3e4fa97b56 | fce141ad69f159e4cd4d9e741c6603761d882411 | refs/heads/master | 2021-01-22T09:04:10.071096 | 2016-01-30T11:27:52 | 2016-01-30T11:27:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 408 | h | /*
ADC_DAC_Timer.h - Library for running ADC and DAC at a specified sample rate on the Ardunio Due
Created by Robert FK Triggs, July 30th 2014
Released into the public domain.
*/
#ifndef ADC_DAC_Timer_h
#define ADC_DAC_Timer_h
#include "Arduino.h"
class ADC_DAC_Timer
{
public:
ADC_DAC_Timer();
void set_s... | [
"brecht.carlier@student.ap.be"
] | brecht.carlier@student.ap.be |
388cf8c2acb3b247403143df6a134f3ee3f78915 | 79eb83cc3e7f4324ad3f7e56f094384ee494a7a9 | /Async/AsyncResource.h | 814fa53b26ea8a8076056b88848e30359fffe055 | [] | no_license | JiaoMing/Blackcat | 4a32ab2ec1abc356a4494ec9177ad0b3128d575b | 95fa6f74429ead752741cbff3debca8bb0cbdb6e | refs/heads/master | 2020-04-15T11:08:28.111536 | 2014-11-13T08:40:57 | 2014-11-13T08:40:57 | 30,082,134 | 0 | 4 | null | 2015-01-30T17:10:54 | 2015-01-30T17:10:53 | null | UTF-8 | C++ | false | false | 547 | h | #ifndef __ASYNC_RESOURCE_H__
#define __ASYNC_RESOURCE_H__
#include "cocos2d.h"
using namespace cocos2d;
typedef CCScene* (*SEL_SceneHandler)();
#define scene_selector(_SELECTOR) (SEL_SceneHandler)(&_SELECTOR)
class AsyncResource
{
public:
AsyncResource();
~AsyncResource();
static AsyncResource *s... | [
"380050803@qq.com"
] | 380050803@qq.com |
43788ab30a627e091e6b30b47d221c889e698501 | f2825e96de42b553eb974c97b55b5834946d1f64 | /musci/login.cpp | 72a90715107e4e60c606454ac3ee3677dbcc6da2 | [] | no_license | GYSml/QT | afce7102abf6ffec10c153903071826a483bba3b | 965a1fb2456f52c242ac19fa613a222dab455d57 | refs/heads/master | 2021-01-01T04:45:55.196646 | 2016-05-14T11:36:04 | 2016-05-14T11:36:04 | 56,762,352 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 373 | cpp | #include "login.h"
#include "ui_login.h"
Login::Login(QWidget *parent) :
QDialog(parent),
ui(new Ui::Login)
{
ui->setupUi(this);
resize(300,200);
}
Login::~Login()
{
delete ui;
}
void Login::on_pushButton_3_clicked()
{
exit(0);
}
void Login::on_pushButton_4_clicked()
{
this->setWindowFl... | [
"1358121691@qq.com"
] | 1358121691@qq.com |
aa87359be2add5f9ebcc52bb78e217f987a0d3f7 | 0bf5a4f159e45546ec3e9b094608e3e4439608a7 | /PAT/Basic Level/1032. 挖掘机技术哪家强.cpp | 355c34479b6dc85a010784a7f31b8b0c1ffaa911 | [
"ICU"
] | permissive | richenyunqi/CCF-CSP-and-PAT-solution | 4178694c8b213cf2aeb51f0846e99e7d47863d4a | 4e12e2dbe9a3822e357ba98799d82700f46beb24 | refs/heads/master | 2023-09-02T12:49:32.328292 | 2022-05-14T08:37:48 | 2022-05-14T08:37:48 | 162,964,774 | 668 | 118 | null | 2022-05-14T08:39:08 | 2018-12-24T07:45:38 | C++ | UTF-8 | C++ | false | false | 373 | cpp | #include <bits/stdc++.h>
using namespace std;
using gg = long long;
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
array<gg, (gg)1e5 + 5> h{};
gg n;
cin >> n;
while (n--) {
gg a, b;
cin >> a >> b;
h[a] += b;
}
auto i = max_element(h.begin(), h.end());
c... | [
"csjiangfeng@gmail.com"
] | csjiangfeng@gmail.com |
768db8256f8fb273fd81b04ccb371b755f3602b8 | fbf49ac1585c87725a0f5edcb80f1fe7a6c2041f | /SDK/Sub_Npc003_01_classes.h | a736f29c134c5b8ae32f47fd74a41e00d4b8a5cc | [] | no_license | zanzo420/DBZ-Kakarot-SDK | d5a69cd4b147d23538b496b7fa7ba4802fccf7ac | 73c2a97080c7ebedc7d538f72ee21b50627f2e74 | refs/heads/master | 2021-02-12T21:14:07.098275 | 2020-03-16T10:07:00 | 2020-03-16T10:07:00 | 244,631,123 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,576 | h | #pragma once
// Name: DBZKakarot, Version: 1.0.3
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
// Classes
//---------------------------------------------------------------------------
// BlueprintGeneratedClass Sub_Npc00... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
ab1717146ef83de5b2e4d80270d0335ec7f48216 | 95f374301236308e4c3820e0deb5b02a1baa7f91 | /rymobile/frameworks/runtime-src/Classes/LuaAssert/ry_Util.h | 3d1c4da6708920bab345a3b45545256c63a83e0b | [] | no_license | aywlcn/510Game | 53f02b1a07818ad3661f1b2c0c8d52791b355b05 | 653490b2e0246fb7f37864a164d65236ab05a410 | refs/heads/master | 2020-07-04T05:04:27.937878 | 2019-08-13T23:19:36 | 2019-08-13T23:19:36 | 202,165,219 | 0 | 0 | null | 2019-08-13T14:45:44 | 2019-08-13T14:45:43 | null | UTF-8 | C++ | false | false | 433 | h | //
// ry_Util.hpp
// GloryProject
//
// Created by chunyong chen on 2017/9/15.
//
//
#ifndef ry_Util_hpp
#define ry_Util_hpp
#include "cocos2d.h"
USING_NS_CC;
int register_all_RyUtil();
class ryUtil {
public:
static ryUtil* getIns();
std::string getSign1(const char* userid, const char* key, co... | [
"81663573@qq.com"
] | 81663573@qq.com |
5fce89b2b1f962e5e648dd2d67c1ad80fd79da99 | 91078848badd7c00cbe92065e81b13b67a4908d0 | /Vector.h | dd9ffbda3563a82121c05af0db30e09b5302b037 | [] | no_license | sschepis/ArdUtils | ba6e254d9eb8a26c03de72e454c2a3a0f5aecb1b | 700fc747eb21599e5a7f52bb935f624299f42001 | refs/heads/master | 2020-04-21T11:46:55.381051 | 2019-02-17T09:57:54 | 2019-02-17T09:57:54 | 169,538,467 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,274 | h | template<typename Data>
class Vector {
size_t d_size; // Stores no. of actually stored objects
size_t d_capacity; // Stores allocated capacity
Data *d_data; // Stores data
public:
Vector() : d_size(0), d_capacity(0), d_data(0) {
d_data = NULL;
resize();
};
Vector(Vector const &other... | [
"sschepis@blockchainfoundry.co"
] | sschepis@blockchainfoundry.co |
1bf32c7283123900c56a6f941d6f1b9fd01a532a | cfa14e948602283e8e7dd1b033c9bac79cfcf64f | /q4.cpp | df248cb79be3fb2978425872fb7818cce5a0a502 | [] | no_license | PPL-IIITA/ppl-assignment-manasi-mds | aa15679287ed57e6936fd0b32fa0ec05eb238fe0 | 169a9c0fead568e547548780a561013669738d25 | refs/heads/master | 2021-01-21T06:27:01.565794 | 2017-04-09T21:46:11 | 2017-04-09T21:46:11 | 83,233,886 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 549 | cpp | #include<iostream>
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#include "couple.h"
using namespace std;
void readfile(gift **g,couple c[]);
int breakup(gift **g, couple c[], couple br[],int m);
void re_pair(gift **g,couple c[],couple br[],int m,int brindex);
int main()
{
FILE *fc;
gift **g;
int m;
f... | [
"manasi.mds@gmail.com"
] | manasi.mds@gmail.com |
325297d1a5ba4dcbe7e52881cf360201ef092622 | 184bcf7925e6718b3021946581576f8cae80526b | /CF/zDiv2/1082/B.cpp | ea2a4e52bd5a957c7a7f62fe10756b75fbdd9621 | [] | no_license | iPhreetom/ACM | a99be74de61df37c427ffb685b375febad74ed9a | f3e639172be326846fe1f70437dcf98c90241aa0 | refs/heads/master | 2021-06-14T08:11:24.003465 | 2019-09-13T22:54:34 | 2019-09-13T22:54:34 | 142,748,718 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,144 | cpp | // fyt
#include<bits/stdc++.h>
#define int long long
#define double long double
#define endl '\n'
using namespace std;
int a[212345][3];
signed main(){
ios::sync_with_stdio(false),cin.tie(0),cout.tie(0);
int n;
string s;
cin>>n;
cin>>s;
int cnt = 0;
int mx = 0;
int num = 0;
int l = -1;
int r = 0;
int ind... | [
"iPhreetom@gmail.com"
] | iPhreetom@gmail.com |
bfe7c8edc983c336ef13bd1361bd1c7f514b7c8e | d29e0771d4de64c4cb3f7fc869d6a89d10bef14c | /cbi/cbi.ino | c3e2f876caef2d395d969d58bdd634263cedfc53 | [
"MIT"
] | permissive | nad2000/Arduino-with-C-and-ASM | ff94d8e4b884431b7c27094316dfb752775ba63e | eaa547bcb8721c2b5357587eade791e860cd05d4 | refs/heads/master | 2020-04-25T13:53:30.079126 | 2019-02-28T04:35:39 | 2019-02-28T04:35:39 | 172,822,820 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 506 | ino | void setup() {
Serial.begin(9600);
asm("sbi 0x04, 5"); // seting PIN for output
asm("rjmp START");
}
void loop() {
static int count=0;
asm("sbi 0x05, 5"); // set bit immediately
delay(100);
asm("cbi 0x05, 5"); // clear bit immediatedly
delay(100);
asm("rjmp SKIP");
asm("START:");
asm("sbi 0x05,... | [
"nad2000@gmail.com"
] | nad2000@gmail.com |
ccf35774a5f7c9ede63991c7db42c4e486ccd7d1 | 1c444bdf16632d78a3801a7fe6b35c054c4cddde | /include/bds/unmapped/BiomeRegistry.h | 744d988710a5283531d7a98698e471b593e89b65 | [] | no_license | maksym-pasichnyk/symbols | 962a082bf6a692563402c87eb25e268e7e712c25 | 7673aa52391ce93540f0e65081f16cd11c2aa606 | refs/heads/master | 2022-04-11T03:17:18.078103 | 2020-03-15T11:30:36 | 2020-03-15T11:30:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,213 | h | #pragma once
#include "IEntityRegistryOwner.h"
#include <string>
#include <functional>
#include <memory>
class BiomeRegistry : public IEntityRegistryOwner {
public:
class BiomeParent;
virtual void getEntityRegistry(); // _ZN13BiomeRegistry17getEntityRegistryEv
~BiomeRegistry(); // _ZN13BiomeRegistryD2E... | [
"honzaxp01@gmail.com"
] | honzaxp01@gmail.com |
0a69d259f798de3fbb061f55fe4e23c24754e931 | 777a75e6ed0934c193aece9de4421f8d8db01aac | /src/Providers/UNIXProviders/VLANFor/UNIX_VLANFor_HPUX.hxx | 69332aab9eac5732120316857e74957a230094bc | [
"MIT"
] | permissive | brunolauze/openpegasus-providers-old | 20fc13958016e35dc4d87f93d1999db0eae9010a | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | refs/heads/master | 2021-01-01T20:05:44.559362 | 2014-04-30T17:50:06 | 2014-04-30T17:50:06 | 19,132,738 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 109 | hxx | #ifdef PEGASUS_OS_HPUX
#ifndef __UNIX_VLANFOR_PRIVATE_H
#define __UNIX_VLANFOR_PRIVATE_H
#endif
#endif
| [
"brunolauze@msn.com"
] | brunolauze@msn.com |
971738345c9dd88c1543a994f186b15a71a76828 | 4e179ff01fafa327786c8096a4ff1e1492ccdaaf | /Engine/Graphics.h | 6ee911f4bd03f3d97edd93242fb00dde9b286f56 | [] | no_license | Aescosaurus/Jump-Framework | ed680ec57ef04c6831ac423322877eb65fc1adef | 859f2460301c25f2fe3f5c789678b7cee429282a | refs/heads/master | 2020-03-14T08:21:20.556961 | 2018-05-13T06:31:39 | 2018-05-13T06:31:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,779 | h | /******************************************************************************************
* Chili DirectX Framework Version 16.07.20 *
* Graphics.h *
* Copyright 2016 PlanetChili <http://www.planetchili.net> *
* *
* This file is part of The Chili DirectX... | [
"michaelbuslik@hotmail.com"
] | michaelbuslik@hotmail.com |
da5b6a58575d7ca5379d1bdcade5024cbc9275d6 | 005cb1c69358d301f72c6a6890ffeb430573c1a1 | /Pods/Headers/Private/GeoFeatures/boost/preprocessor/repetition/enum.hpp | f75690686eb9f20a32a1b3109f0ee8b89f89f304 | [
"Apache-2.0"
] | permissive | TheClimateCorporation/DemoCLUs | 05588dcca687cc5854755fad72f07759f81fe673 | f343da9b41807694055151a721b497cf6267f829 | refs/heads/master | 2021-01-10T15:10:06.021498 | 2016-04-19T20:31:34 | 2016-04-19T20:31:34 | 51,960,444 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 80 | hpp | ../../../../../../GeoFeatures/GeoFeatures/boost/preprocessor/repetition/enum.hpp | [
"tommy.rogers@climate.com"
] | tommy.rogers@climate.com |
3776bcf3a2ab0620551257000e30861cc441c5d1 | cfeac52f970e8901871bd02d9acb7de66b9fb6b4 | /generated/src/aws-cpp-sdk-ram/source/model/SetDefaultPermissionVersionRequest.cpp | 9faa75c5c783b80f7df5d23779b3b5cce66503e0 | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | aws/aws-sdk-cpp | aff116ddf9ca2b41e45c47dba1c2b7754935c585 | 9a7606a6c98e13c759032c2e920c7c64a6a35264 | refs/heads/main | 2023-08-25T11:16:55.982089 | 2023-08-24T18:14:53 | 2023-08-24T18:14:53 | 35,440,404 | 1,681 | 1,133 | Apache-2.0 | 2023-09-12T15:59:33 | 2015-05-11T17:57:32 | null | UTF-8 | C++ | false | false | 1,021 | cpp | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/ram/model/SetDefaultPermissionVersionRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::RAM::Model;
using namespace Aws::Utils::Json;
us... | [
"github-aws-sdk-cpp-automation@amazon.com"
] | github-aws-sdk-cpp-automation@amazon.com |
b5bee412f6a49aaf467409e881fe9cdcc01240b7 | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/com/rpc/midl/codegen/cgvisitor.hxx | 4651dbb151ac9cdb80b0ed6215af43807dc0603a | [] | no_license | jjzhang166/WinNT5_src_20201004 | 712894fcf94fb82c49e5cd09d719da00740e0436 | b2db264153b80fbb91ef5fc9f57b387e223dbfc2 | refs/heads/Win2K3 | 2023-08-12T01:31:59.670176 | 2021-10-14T15:14:37 | 2021-10-14T15:14:37 | 586,134,273 | 1 | 0 | null | 2023-01-07T03:47:45 | 2023-01-07T03:47:44 | null | UTF-8 | C++ | false | false | 20,624 | hxx | /*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Copyright (c) 1999-1999 Microsoft Corporation
Module Name:
cgvisitor.hxx
Abstract:
classes and templates for visitors
Notes:
History:
mzoran Nov-24-1999 Created.
-----------------------------... | [
"seta7D5@protonmail.com"
] | seta7D5@protonmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.