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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
515ac229e9a479bfa7eb96aac0ffe7990996286e | 50feccbbf3cadba23459bcc03de0bc9268fdcb17 | /src/slg/cameras/perspective.cpp | 45234e242e57bb6f103e65cf8798320b009e1c94 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | fangguanya/LuxCore | c8b9dfd855c2ed831d44ad6a080c5dc9735198ba | 32b117b1343285a3c64d3427a77865790421f946 | refs/heads/master | 2020-12-14T21:28:59.965211 | 2020-01-18T11:26:26 | 2020-01-18T11:26:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,218 | cpp | /***************************************************************************
* Copyright 1998-2018 by authors (see AUTHORS.txt) *
* *
* This file is part of LuxCoreRender. *
* ... | [
"dade916@gmail.com"
] | dade916@gmail.com |
c7e57f3b9257f287c1094e974071de3f8443d772 | 36184239a2d964ed5f587ad8e83f66355edb17aa | /.history/hw3/ElectoralMap_20211021212912.cpp | 132f8868aaf60200d8ae9f29133ba469f53432d9 | [] | no_license | xich4932/csci3010 | 89c342dc445f5ec15ac7885cd7b7c26a225dae3e | 23f0124a99c4e8e44a28ff31ededc42d9f326ccc | refs/heads/master | 2023-08-24T04:03:12.748713 | 2021-10-22T08:22:58 | 2021-10-22T08:22:58 | 415,140,207 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,805 | cpp | #include<iostream>
#include<map>
#include<set>
#include<random>
#include<time.h>
#include<cmath>
#include<stdlib.h>
#include"ElectoralMap.h"
#define num_district 3
#define num_enum 4
#define one_person 1
//int Candidate::id = 0;
int ElectoralMap::count_district = 0;
int Election::ids = 0;
std::vector<int> Election::... | [
"70279863+xich4932@users.noreply.github.com"
] | 70279863+xich4932@users.noreply.github.com |
3762b80829cd563eb38f827f628ec52ffc2025da | 826190b57160614302f95b41f26a45c294427b3a | /random_int.cpp | 94c6ae956051406229d757126dc74a355ee35b04 | [] | no_license | tranminhnhat1005/zigzag-ball-opengl | 356309aac68035dec712c66ff15e58010fd3597b | 52363532617daf65431e65f17fae8f6d9e89c501 | refs/heads/master | 2023-02-23T13:31:41.988783 | 2021-02-01T09:47:11 | 2021-02-01T09:47:11 | 334,893,470 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 360 | cpp | // random_float.cpp
// random_intt.cpp
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
/// <summary>
/// get a random integer number between "min" and "max"
/// </summary>
/// <param name="min"></param>
/// <param name="max"></param>
/// <returns></returns>
int int_rand(int min, int max) {
int range = max - ... | [
"tranminhnhat1005@gmail.com"
] | tranminhnhat1005@gmail.com |
1dd31aa5f1a02106cbece4286ac9241453f1239c | 34b22618cc53750a239ee7d3c98314d8e9b19093 | /framework/core/cguicontrols/src/Gui/ScrollMsg.cpp | 20e18a329f947e354723495827b9ff5fe11be304 | [] | no_license | ivan-kits/cframework | 7beef16da89fb4f9559c0611863d05ac3de25abd | 30015ddf1e5adccd138a2988455fe8010d1d9f50 | refs/heads/master | 2023-06-12T05:09:30.355989 | 2021-07-04T09:00:00 | 2021-07-04T09:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 927 | cpp | #include "cgui/Messages/ScrollMsg.h"
using namespace CGui;
ScrollMsg::ScrollMsg( GuiObjectPtr _spScrollBar, Float32 f32ScrollPosition, Unsigned32 u32ScrollOffset, ScrollBar::Orientation eOrientation )
: GuiMessageTemplate( _spScrollBar ),
m_f32ScrollPosition( f32ScrollPosition ),
m_u32ScrollOffset( u32ScrollOffs... | [
"dev@oeing.eu"
] | dev@oeing.eu |
d65786df1beaa5c20263c8d7dc9d6909313c529d | 66b67162a88f69006391f8343f9340b450b600ed | /paddle/fluid/operators/math/jit_kernel_blas.cc | 36a50f20434f313e93bfa3dd2c9d46963024caf7 | [
"Apache-2.0"
] | permissive | siju-samuel/paddle | aa3967f3fe1bedb9d1308401e545d992930ea99f | 6b344bdd8dfe2f3b38a7305fee373ed3d7f3d396 | refs/heads/master | 2021-07-12T00:58:34.661872 | 2018-11-20T05:05:16 | 2018-11-20T05:05:16 | 130,810,081 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,816 | cc | /* Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agr... | [
"sijusamuel@gmail.com"
] | sijusamuel@gmail.com |
1c426c341e1ac47b2b988ffdaac7ebc27462731c | 476098a50e8ddb5bfcd545c913bfc83dc314e767 | /source/engine/util/ECSUtil/ECSUtil.cpp | fe0a38510fb5777e0674e043cfca17b7c302eefc | [
"MIT"
] | permissive | compix/CUDA-Path-Tracer | 30ed5c6425733381d3e8cad327ec117fc739292b | 55e43358e61f9024335beb7831833cb88c108f4a | refs/heads/master | 2023-02-08T14:37:31.549485 | 2023-02-01T16:25:55 | 2023-02-01T16:25:55 | 95,319,260 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,000 | cpp | #include "ECSUtil.h"
#include <engine/ecs/ecs.h>
#include <engine/resource/ResourceManager.h>
#include <engine/util/math.h>
#include <engine/rendering/Material.h>
#include <engine/rendering/renderer/MeshRenderer.h>
#include <engine/util/util.h>
#include "engine/rendering/lights/DirectionalLight.h"
#include "engine/rend... | [
"wladimirkroeker@gmail.com"
] | wladimirkroeker@gmail.com |
7e9025ffcb995d4fbdbe04bbdf8022e33378ef70 | b9f43344267fe8f6446f193a80888a0dbaf1eb0a | /src/Map.cpp | 40520adc5b00eb3682705d33d0cd31b20e6afddd | [] | no_license | Dieter97/PacMan | 6018175537d3a9ab3688dc8f98736f34102592b4 | befd39dd0ef21fc885dbf2ca2cd3a2cf7d29f794 | refs/heads/master | 2021-03-30T18:04:23.907697 | 2018-06-17T20:44:59 | 2018-06-17T20:44:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,343 | cpp | //
// Created by dieter on 7/03/18.
//
#include "../include/logic/Map.h"
#include "../include/Types.h"
using namespace logic;
Map::Map(int width, int height) {
MAP_HEIGHT = height;
MAP_WIDTH = width;
//Dynamically fill array with empty (abstract) tiles
tileMap = new Tile **[MAP_WIDTH];
for(int i=... | [
"dieter.balemans@hotmail.com"
] | dieter.balemans@hotmail.com |
f6df604626b081dc31fca097bf47fa67abbf2849 | 3f8c7e94075e9cbad086199a3d40aff0bbb5826a | /mappers/tags/release-4-2/src/Hardware/Sound/s_MMC5.h | 0c6fe6e2f9d698bc4c263c5d9d13dc24f789db6b | [] | no_license | parasyte/nintendulator | d89f57324eb7c05e2bfcca3c378cae3793c59d56 | 693886064e96ca7043dd7848c444f1299a89591e | refs/heads/master | 2021-01-01T17:04:56.876950 | 2014-09-10T21:41:40 | 2014-09-10T21:41:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 407 | h | /* Nintendulator Mapper DLLs
* Copyright (C) 2002-2010 QMT Productions
*
* $URL$
* $Id$
*/
#ifndef S_MMC5_H
#define S_MMC5_H
namespace MMC5sound
{
void Load (void);
void Reset (RESET_TYPE);
void Unload (void);
void Write (int,int);
int Read (int);
int MAPINT Get (int);
int MAPINT Sav... | [
"quietust@users.noreply.github.com"
] | quietust@users.noreply.github.com |
bfbb62a6b66328628e67b16ced7b1fc7bda7bca3 | efb87e4ac44f9cc98eab0dc162266fa1b99b7e5a | /UVA/UVA 11243.cpp | 8645bd252a21f65ce19488de59c268b02d409846 | [] | no_license | farmerboy95/CompetitiveProgramming | fe4eef85540d3e91c42ff6ec265a3262e5b97d1f | 1998d5ae764d47293f2cd71020bec1dbf5b470aa | refs/heads/master | 2023-08-29T16:42:28.109183 | 2023-08-24T07:00:19 | 2023-08-24T07:00:19 | 206,353,615 | 12 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,350 | cpp | /*
Author: Nguyen Tan Bao
Status: AC
Idea:
- Based on https://github.com/quangloc99/CompetitiveProgramming/blob/master/UVA/11243.cpp
- Figure: https://github.com/farmerboy95/CompetitiveProgramming/blob/master/UVA/UVA%2011243_Figure.cpp
- Binary search side length of the desired squa... | [
"jerry.stone.manutd@gmail.com"
] | jerry.stone.manutd@gmail.com |
9a3d2209470d4a8c5d85df587acedd1f2de6f23b | 43c8089fed0642fb228efb9162280951c7e389c4 | /libcef_dll/cpptoc/set_cookie_callback_cpptoc.h | c1baf1bd8a9c4134375484871d7e0f30d20b0ba2 | [
"MIT"
] | permissive | Steveb-p/brick | 369e1618e03ab6df1042bd8f3942305a34d33302 | 82d4b54806ab30504c5a38386663d0d1b7c99150 | refs/heads/master | 2020-08-11T18:23:18.570244 | 2020-05-14T08:30:57 | 2020-05-14T08:30:57 | 214,607,683 | 1 | 1 | MIT | 2019-10-12T08:17:43 | 2019-10-12T08:17:43 | null | UTF-8 | C++ | false | false | 1,281 | h | // Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights
// reserved. Use of this source code is governed by a BSD-style license that
// can be found in the LICENSE file.
//
// ---------------------------------------------------------------------------
//
// This file was generated by the CEF translato... | [
"buglloc@yandex.ru"
] | buglloc@yandex.ru |
37a070c35bac03c39dfdb439f8880e90e5fad08e | 637fcd60a4e2a98ebbeaaa9551554a13e1ebfdba | /quad/ctrl/paparazzi/sw/airborne/fms/libeknav/libeknav_from_log.cpp | cf05c5c3571e4859e605dfd5a61a55f79bee830b | [] | no_license | zoomx/lxyppc-tetrix | b7079c07aee9b85a34207245f526e1613fdb0498 | 884027f37594f9f006f88d634c4392a60c482491 | refs/heads/master | 2021-01-10T21:04:54.219013 | 2015-05-10T08:45:33 | 2015-05-10T08:45:33 | 35,362,463 | 12 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,704 | cpp |
#include "libeknav_from_log.hpp"
// NOTE: This in the headfile?
struct LtpDef_d current_ltp;
// NOTE-END
unsigned int entry_counter;
FILE* ins_logfile; // note: initilaized in init_ins_state
//useless initialization (I hate C++)
static basic_ins_qkf ins = basic_ins_qkf(Vector3d::Zero(), 0, 0, 0,
... | [
"lxyppc@gmail.com@a1e0bfe9-9f80-e943-2008-5ec03726fcf4"
] | lxyppc@gmail.com@a1e0bfe9-9f80-e943-2008-5ec03726fcf4 |
0d26436df9dbfd5a46808729040fad49a24d4258 | 91a882547e393d4c4946a6c2c99186b5f72122dd | /Source/XPSP1/NT/multimedia/directx/dxvb/dx7vb/d3drmwrapobj.h | bea207abef0c69e840291c2cdae6476688f3e083 | [] | no_license | IAmAnubhavSaini/cryptoAlgorithm-nt5src | 94f9b46f101b983954ac6e453d0cf8d02aa76fc7 | d9e1cdeec650b9d6d3ce63f9f0abe50dabfaf9e2 | refs/heads/master | 2023-09-02T10:14:14.795579 | 2021-11-20T13:47:06 | 2021-11-20T13:47:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,299 | h | //+-------------------------------------------------------------------------
//
// Microsoft Windows
//
// Copyright (C) Microsoft Corporation, 1998 - 1998
//
// File: d3drmwrapobj.h
//
//--------------------------------------------------------------------------
// d3drmWrapObj.h : Declaration of the C_dxj_Di... | [
"support@cryptoalgo.cf"
] | support@cryptoalgo.cf |
168c642e47f1d3674a65809c3795ac9bcd8de1e9 | 0287ab2c353b5bf81354ba05bc2d2da35526915c | /source/hash/hash_table.h | f82c2b2558e91fa784fdb24d7b1b95a6330089c1 | [] | no_license | andres-arana/degree-7506-tp | 3c0b90cfd745dad3bc33fa86f4b168198762b4a0 | e5da8b563e42e9955d39933f6f708c6a869936d5 | refs/heads/master | 2020-04-04T01:50:22.600965 | 2012-08-05T15:26:24 | 2012-08-05T15:26:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,771 | h | /******************************************************************************
* hash_table.h
* Declaraciones de la clase hash::hash_table
******************************************************************************/
#ifndef __HASH_HASH_TABLE_H_INCLUDED__
#define __HASH_HASH_TABLE_H_INCLUDED__
#include "../comm... | [
"andres.arana@braintag.com.ar"
] | andres.arana@braintag.com.ar |
ec420c84a7cb64e1561b4bbce22c55aaed6dbda3 | 451da728b7dc3cce884543e961a086fbb9fc0076 | /2018/12/mxchip-screen-serial/Device/device.ino | 1d6105586eda66c8904ffe410d63f4fc78f8ddab | [] | no_license | chyld/captains-log | 628834c34c7ea76d7f7e82ebdc8546e018d6b937 | 6eb60ebc8b3f6fa2df20085802adbdafa815c115 | refs/heads/master | 2021-12-09T13:04:48.473496 | 2021-12-04T22:31:20 | 2021-12-04T22:31:20 | 113,895,598 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 426 | ino | #include "AZ3166WiFi.h"
void setup()
{
// initialize screen
Screen.init();
Screen.print(0, "Screen Initilization");
}
int i = 0;
void loop()
{
// create a message
char message[100];
sprintf(message, "i: %d", i);
i += 1;
// send message to screen
Screen.print(0, "Screen Serial");
Screen.print(1, ... | [
"chyld.medford@gmail.com"
] | chyld.medford@gmail.com |
f8327547b3602a2250f055b2f42ce3723311a834 | 9482a4174e82fd5e250db98319225fa718953810 | /src/NestedNode.hpp | 5367a61c4d17811c310ed2294dfaf423a7993fe9 | [] | no_license | erow/NestedNode | 55d277db4b2d7f12b5af4fd7408d1cf9c4157a22 | c33a0fc6a79b6cc2e55bd52492ec3b5a17ee1de8 | refs/heads/master | 2021-04-26T22:57:06.653994 | 2018-03-05T10:10:06 | 2018-03-05T10:10:06 | 123,901,335 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,009 | hpp | #pragma once
#include "Require.hpp"
#include "Types/Type.h"
#include <list>
#include "ArduinoJson.h"
namespace Json=ArduinoJson;
namespace NestedNode {
typedef int(*MSGHANDLER)(MSG);
void print(MSG msg);
class Node1;
class Party {
public:
Party() {
}
Node1* master=nullptr;
DynamicJsonBuffer buffer;
MSGHA... | [
"clouderow@gmail.com"
] | clouderow@gmail.com |
5da74bd239228e6aa8ebf78bb1aec5d4ddc1d486 | 54f352a242a8ad6ff5516703e91da61e08d9a9e6 | /Source Codes/AtCoder/arc091/A/2184213.cpp | 5dc283e29c44271336ece0035a84650682af3f96 | [] | no_license | Kawser-nerd/CLCDSA | 5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb | aee32551795763b54acb26856ab239370cac4e75 | refs/heads/master | 2022-02-09T11:08:56.588303 | 2022-01-26T18:53:40 | 2022-01-26T18:53:40 | 211,783,197 | 23 | 9 | null | null | null | null | UTF-8 | C++ | false | false | 301 | cpp | #include <iostream>
int main() {
long long int n, m;
std::cin >> n >> m;
if (n == 1) {
if (m == 1) std::cout << 1 << std::endl;
else std::cout << m - 2 << std::endl;
}
else {
if (m == 1) std::cout << n - 2 << std::endl;
else std::cout << (n - 2) * (m - 2) << std::endl;
}
} | [
"kwnafi@yahoo.com"
] | kwnafi@yahoo.com |
1123e2729027cc1deef96102aa419b4e86fbdf5f | 2cc483158b99654bb702ccb0b62189c81a099b96 | /DOMJUDGE/Ejercicio 41/main.cpp | 382188793a7ddf803cf54bf42985740a31b5b517 | [] | no_license | nievesnu/ED | 065c6a308cf1d3bfcd0737fa3013e17fbe6f55fa | e4b1ee0e82202a77ca8f0634f2afa3fb4ba092d2 | refs/heads/main | 2023-06-05T19:48:40.902353 | 2021-07-01T11:50:07 | 2021-07-01T11:50:07 | 357,537,858 | 0 | 0 | null | null | null | null | ISO-8859-2 | C++ | false | false | 3,027 | cpp | //Álvaro Miguel Rodríguez Mateos
//A63
#include <iostream>
#include <fstream>
#include <string>
#include <sstream>
#include <set>
#include <unordered_map>
#include <functional>
using namespace std;
struct tProblema {
int tiempo = 0;
int intentos = 0;
bool resuelto = false;
string veredicto;
};
st... | [
"nievesnu@ucm.es"
] | nievesnu@ucm.es |
2c5303ce53fad8abef3af37f7c14471dee594495 | ac227cc22d5f5364e5d029a2cef83816a6954590 | /applications/physbam/physbam-lib/Public_Library/PhysBAM_Solids/PhysBAM_Solids/Solids_Evolution/FRACTURE_EVOLUTION_CLUSTER_3D.cpp | 3933e0c58a3c7718021aa9f67a5b4ba1d224d51d | [
"BSD-3-Clause"
] | permissive | schinmayee/nimbus | 597185bc8bac91a2480466cebc8b337f5d96bd2e | 170cd15e24a7a88243a6ea80aabadc0fc0e6e177 | refs/heads/master | 2020-03-11T11:42:39.262834 | 2018-04-18T01:28:23 | 2018-04-18T01:28:23 | 129,976,755 | 0 | 0 | BSD-3-Clause | 2018-04-17T23:33:23 | 2018-04-17T23:33:23 | null | UTF-8 | C++ | false | false | 9,233 | cpp | //#####################################################################
// Copyright 2006-2007, Rachel Weinstein.
// This file is part of PhysBAM whose distribution is governed by the license contained in the accompanying file PHYSBAM_COPYRIGHT.txt.
//####################################################################... | [
"quhang@stanford.edu"
] | quhang@stanford.edu |
efb859010cf2ed392989f3cefccbebdc97dcd6a1 | fa845ce3d9b2fa47033c732407d0f6c37b250fdd | /arduino_code/libraries/ros_lib/robot_localization/SetDatum.h | b3ce76edb6e1c26b1a8c05fc353116c7ecbae451 | [] | no_license | EENX15-21-26/chase | 1a2442ac9e4c43b18db487d9bed230d60277ad99 | 59fe078dfedccd8775ae5330e6cb5e8c8f511981 | refs/heads/main | 2023-05-09T03:50:44.110428 | 2021-05-26T06:56:11 | 2021-05-26T06:56:11 | 366,950,704 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,627 | h | #ifndef _ROS_SERVICE_SetDatum_h
#define _ROS_SERVICE_SetDatum_h
#include <stdint.h>
#include <string.h>
#include <stdlib.h>
#include "ros/msg.h"
#include "geographic_msgs/GeoPose.h"
namespace robot_localization
{
static const char SETDATUM[] = "robot_localization/SetDatum";
class SetDatumRequest : public ros::Msg
... | [
"logi.sigurdarson@gmail.com"
] | logi.sigurdarson@gmail.com |
cae82b8a56b73768d42a7a30cb3a3a68ca16cd11 | dbb2af336d4c2ebbc69921b5e741a7d5aa366a09 | /lab4_binary_search_tree.h | d5b4510e0172cdc976a159975e155852b9eca7ad | [] | no_license | rmjgangl/Lab04 | 9d6b25d1ae0cf2df0e014485bf0d25f55c31b5e4 | 013344d8606a976af6b0940d8c2d678179cba0a3 | refs/heads/master | 2020-04-29T09:52:20.327727 | 2019-03-30T20:09:23 | 2019-03-30T20:09:23 | 176,041,453 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,690 | h | #ifndef LAB4_BINARY_SEARCH_TREE_H
#define LAB4_BINARY_SEARCH_TREE_H
#include <string>
using namespace std;
// PURPOSE: Models a Binary Search Tree of Task Items
class BinarySearchTree {
protected:
// PURPOSE: Models a single Task Item as a Tree Node
struct TaskItem {
int priority; // normal values ar... | [
"noreply@github.com"
] | rmjgangl.noreply@github.com |
eda288ed6d59ba2b4571c6bfc75a3ef7bd6651bc | df0b61fb9e345cd312c193975cc1af2d96cc2efc | /include/LearningMPC/spline.h | 01f6d569af2c66c284e2bfebd44af49b947893fe | [] | no_license | yuwwang123/LearningMPC | 2e5f5b6083391ea55bb82eac30c18c35fb4d6a7f | 8fbb67aab8b74501651142eee0e751852a419e25 | refs/heads/master | 2022-03-12T19:20:17.276936 | 2022-02-23T06:30:35 | 2022-02-23T06:30:35 | 251,392,038 | 33 | 12 | null | 2020-05-07T02:13:01 | 2020-03-30T18:21:50 | C++ | UTF-8 | C++ | false | false | 16,809 | h | //
// Created by yuwei on 11/19/19.
//
#ifndef SRC_SPLINE_H
#define SRC_SPLINE_H
#endif //SRC_SPLINE_H
/*
* spline.h
*
* simple cubic spline interpolation library without external
* dependencies
*
* ---------------------------------------------------------------------
* Copyright (C) 2011, 2014 Tino Kluge (ttk... | [
"wyw907@gmail.com"
] | wyw907@gmail.com |
45f6eb082c63354737c27fb9a9aad754434c7570 | 02c1aa99af5788e953d85bdd3d19ac9d4d498749 | /module02/EX02/IFT3100H18_DrawCursor/src/application.h | 8d6093effecef1f4830b76ab855098802e39f0b9 | [
"MIT"
] | permissive | Masam121/IFT3100H18 | 30fd6cb37ab909f04c054410f4df4187a21dff38 | 585692cb28bd7484948ca10bc9babb6139c940e1 | refs/heads/master | 2020-03-07T19:48:30.513667 | 2018-03-29T18:14:29 | 2018-03-29T18:14:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 551 | h | // IFT3100H18_DrawCursor/application.h
// Classe principale de l'application.
#pragma once
#include "ofMain.h"
#include "renderer.h"
class Application : public ofBaseApp
{
public:
Renderer renderer;
bool is_verbose;
void setup();
void draw();
void mouseMoved(int x, int y);
void mouseDragged(int x, in... | [
"philippe.voyer@ift.ulaval.ca"
] | philippe.voyer@ift.ulaval.ca |
b71504ac3e86edbc1242280be9ed2f0d2775233c | 24e81a0fc8781dfa8f7d30a9c4f2075a58a1b5a3 | /main.cpp | c199fc087857cd7d982828afa90a2be2e3376fcb | [] | no_license | philyang18/CPP-Sieve-of-Eratosthenes | 15e43f8e5585e474d46658487f0b92ef32b9b7de | 7cb6b5bb68b644ddcaa2d2eac032b88d68cf955e | refs/heads/master | 2020-08-19T07:07:10.474865 | 2019-10-17T21:53:39 | 2019-10-17T21:53:39 | 215,892,177 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,024 | cpp | // ITP 365 Spring 2018
// HW1 - Sieve of Eratosthenes
// Name: Phillip
// Email: yangphil@usc.edu
// Platform: Mac
#include <iostream>
#include <string>
#include "sieve.hpp"
#include "gwindow.h"
#include "vector.h"
#include "strlib.h"
int main(int argc, char** argv)
{
// Create a 500x500 window
GWin... | [
"phillip3000@sbcglobal.net"
] | phillip3000@sbcglobal.net |
bf27f1ed4e4782db2d6fca613e9e126ee919ebcd | 78c2654e8821490c0c9689c62081a395eef8f439 | /AbandonedGolangVersion/MainPrj/moc.h | 98ca2259bae3964436b97f300639c273d300c71e | [
"MIT"
] | permissive | SomebodyLuo/RobotArmHost | 0f337242fa956b69a38be7d4e78447f65f8a0fbc | e93a100dfbc2e672665bef46f13ffa284034f95e | refs/heads/main | 2023-06-07T00:06:49.033736 | 2021-06-20T19:14:08 | 2021-06-20T19:14:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,960 | h |
#pragma once
#ifndef GO_MOC_5d80a6_H
#define GO_MOC_5d80a6_H
#include <stdint.h>
#ifdef __cplusplus
class PathPainter5d80a6;
void PathPainter5d80a6_PathPainter5d80a6_QRegisterMetaTypes();
extern "C" {
#endif
struct Moc_PackedString { char* data; long long len; void* ptr; };
struct Moc_PackedList { void* data; lon... | [
"1020401660@qq.com"
] | 1020401660@qq.com |
18b65e040ebf9daa7a25f4056550b4203f9fd04f | 04b1803adb6653ecb7cb827c4f4aa616afacf629 | /rlz/chromeos/lib/rlz_value_store_chromeos.h | c796817a9233f43eeb92cb630534d829e635ea34 | [
"BSD-3-Clause"
] | permissive | Samsung/Castanets | 240d9338e097b75b3f669604315b06f7cf129d64 | 4896f732fc747dfdcfcbac3d442f2d2d42df264a | refs/heads/castanets_76_dev | 2023-08-31T09:01:04.744346 | 2021-07-30T04:56:25 | 2021-08-11T05:45:21 | 125,484,161 | 58 | 49 | BSD-3-Clause | 2022-10-16T19:31:26 | 2018-03-16T08:07:37 | null | UTF-8 | C++ | false | false | 3,062 | h | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef RLZ_CHROMEOS_LIB_RLZ_VALUE_STORE_CHROMEOS_H_
#define RLZ_CHROMEOS_LIB_RLZ_VALUE_STORE_CHROMEOS_H_
#include <stddef.h>
#include <stdint.h>
#i... | [
"sunny.nam@samsung.com"
] | sunny.nam@samsung.com |
3d2e0be679ffbee319832772d1fa960d14bb1e23 | b012b15ec5edf8a52ecf3d2f390adc99633dfb82 | /releases/moos-ivp-14.7.1/ivp/src/lib_behaviors-marine/BHV_Waypoint.h | 411a3071cf2e7f572e0263314be260aeda124187 | [] | no_license | crosslore/moos-ivp-aro | cbe697ba3a842961d08b0664f39511720102342b | cf2f1abe0e27ccedd0bbc66e718be950add71d9b | refs/heads/master | 2022-12-06T08:14:18.641803 | 2020-08-18T06:39:14 | 2020-08-18T06:39:14 | 263,586,714 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,054 | h | /*****************************************************************/
/* NAME: Michael Benjamin, Henrik Schmidt, and John Leonard */
/* ORGN: Dept of Mechanical Eng / CSAIL, MIT Cambridge MA */
/* FILE: BHV_Waypoint.h */
/* DATE: Nov 2004 (original version - many ch... | [
"zouxueson@hotmail.com"
] | zouxueson@hotmail.com |
911d0a11351fcfcab8fe6a2634c2424958fa054b | 110e29f092c5651106da826bd531bd73a1a8973f | /GraphicsRenderer.hpp | d4498ea981d39db6ccc9ed16386b54ff7d44f695 | [] | no_license | Forxnat/3DGameEngine | 84baacd036a8c37d735d3dcad41d3ebf92863821 | 8834a4385bf1877c06f4da1148c67b00a26c06ab | refs/heads/master | 2021-01-18T08:47:28.317920 | 2015-02-16T22:15:26 | 2015-02-16T22:15:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 684 | hpp | #ifndef GRAPHICSRENDERER_HPP
#define GRAPHICSRENDERER_HPP
//3DGameEngine
#include "Scene.hpp"
enum RETURNVALUE
{
CLOSE,
RESTARTGRAPHICS,
NONE,
};
/*! The mediator between winapi and SFML */
class GraphicsRenderer
{
private:
HWND* _hwnd; //!< WinAPI hwnd
Scene _scene; //!< The scene
sf::RenderWindow... | [
"LGriggles@outlook.com"
] | LGriggles@outlook.com |
2b4ce5a616c7ddc594c2cdb77285e2212b85c875 | 992a1b10cbd35a421b7e0c1643c20d22f880fa3c | /SP2.cpp | 3d948ea45b5ab10384d9528cc5b824719da342ed | [] | no_license | Luke-Avnaim/SP2-Experiment | f61818d6076da38a5865ce4a08e5e0e3edebea07 | 9fb453ba7fb6cbac7fbc9f4bc7119fe4b6572b46 | refs/heads/master | 2021-01-15T20:57:23.123273 | 2012-11-06T18:45:54 | 2012-11-06T18:45:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,065 | cpp | // File: SP2.cpp
#include "SP2.h"
#include <fstream>
#include <iostream>
#include <string>
#include <queue>
#include <map>
//#include <boost/lexical_cast.hpp>
using namespace std;
//begin
int SP2::Run(queue<string> q, map<string, int> sym,
map<string, int> lit, int lc)
{
//output header record to object f... | [
"themagicpickle@gmail.com"
] | themagicpickle@gmail.com |
5613c14a0d0fe7c550538ca9ff20173f5d0e39b7 | 679c395df8624d93d740bf206484697124a1c8f6 | /source/Test.h | 86ec849ed8a540c30db23f6e0aa66393e60c299c | [] | no_license | ggjsap2016-team11/project | 83e8e4a7c9cb02b42f4e665ba0b1bd3a0cdc498c | 07874c5fb62b78529e5ffd316e423535fa000aeb | refs/heads/master | 2021-01-10T11:23:33.076878 | 2016-01-30T01:33:30 | 2016-01-30T01:33:30 | 50,696,388 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 492 | h | #pragma once
#include "Observer.h"
#include "Subject.h"
#include "DxLib.h"
class Dog : public Subject
{
public:
Dog(){}
~Dog()
{
Subject::~Subject();
}
void hoge()
{
Subject::UpdateObserver();
DrawString(250,240 - 32, "Baw!", GetColor(255, 255, 255));
}
};
class SmallDog : public Observer
{
public:
Sma... | [
"mio041100505@gmail.com"
] | mio041100505@gmail.com |
a98759dda5158c78521b0e198fb719e8fdb50d60 | 98eb6c6b571308f08c12eb4bc09ad4b61c055bab | /CxAODTools/CxAODTools/.svn/text-base/VHbb1lepEvtSelection.h.svn-base | 16f1bb6b2c6855f4cb4085a83366c228d67343ac | [] | no_license | abrennan87/Arturo_CxAODframework | 8f1b2a18a267acc573dbd7f937bd134f38672eb4 | 04ba03c6589a9f6b7af6d1da7059541bbd0093bb | refs/heads/master | 2016-09-05T20:31:03.558531 | 2015-04-14T08:55:37 | 2015-04-14T08:55:37 | 33,920,956 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,267 | #ifndef CxAOD__VHbb1lepEvtSelection_H
#define CxAOD__VHbb1lepEvtSelection_H
#include <vector>
#include "VHbbEvtSelection.h"
// structure holding kinematics of the result
struct ResultVHbb1lep
{
bool pass;
const xAOD::Electron* el;
const xAOD::Muon* mu;
const xAOD::MissingET* met;
std::vector<const xAOD::Je... | [
"mia.brennan87@gmail.com"
] | mia.brennan87@gmail.com | |
93bda88e4d6168de2769a2dcda8150acf1e6fa29 | 2247202d2dde98383c7a64eaa7ec5064f1e82d0a | /mdl/operation.h | b89f27170f6f40360a478b233851f48f3bb3bc87 | [
"Apache-2.0"
] | permissive | arturoar3nas/FK701SHKA | 3d9c1c12ab1219e34f7bcf7fcb4a9819d43d5cbc | 24b1746e818d3bf017ec6fb0d26238fd38f01446 | refs/heads/master | 2021-04-15T09:05:52.524259 | 2017-09-17T20:55:24 | 2017-09-17T20:55:24 | 94,571,307 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 746 | h | #ifndef OPERATION_H
#define OPERATION_H
#include <QString>
class Operation
{
public:
Operation();
QString price() const;
void setPrice(const QString &price);
QString input() const;
void setInput(const QString &input);
float quanty() const;
void setQuanty(float quanty);
float priceGroup... | [
"noreply@github.com"
] | arturoar3nas.noreply@github.com |
c30b26d52d46bb5f576cdc4e5c00f0f02cd1b4ae | 26ad4cc35496d364b31396e43a863aee08ef2636 | /SDK/SoT_Title_HC_MasterHunterOfPondies_classes.hpp | a2eab11732556db0346a168ed790a126fb29e089 | [] | no_license | cw100/SoT-SDK | ddb9b19ce6ae623299b2b02dee51c29581537ba1 | 3e6f12384c8e21ed83ef56f00030ca0506d297fb | refs/heads/master | 2020-05-05T12:09:55.938323 | 2019-03-20T14:11:57 | 2019-03-20T14:11:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 772 | hpp | #pragma once
// Sea of Thieves (1.4) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "SoT_Title_HC_MasterHunterOfPondies_structs.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Classes
//---------------------------------------------------------------... | [
"igromanru@yahoo.de"
] | igromanru@yahoo.de |
6dbe36f30e1684db7fe150978ae9ec613f189f4d | 890d5719b7589d6ef8f58314ceefff04bef35869 | /src/IO/glTF/GLTFAnimation.h | defc9ad38cd66d84a5e3d3918b8e0998e82d8012 | [] | no_license | dave316/PhotonRenderer | 41cb9f4a359a13bd35ddd72b2f912a412bb4f75c | 872915ff3953c875895dca1f0f45374689c8c25c | refs/heads/master | 2022-08-27T13:04:40.022348 | 2022-06-25T08:53:47 | 2022-06-25T08:53:47 | 192,708,942 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,607 | h | #ifndef INCLUDED_GLTFANIMATION
#define INCLUDED_GLTFANIMATION
#pragma once
typedef unsigned int uint;
#include "BinaryData.h"
#include <Graphics/Animation.h>
#include <Graphics/Skin.h>
#include <rapidjson/document.h>
#include <string>
#include <vector>
namespace json = rapidjson;
namespace IO
{
namespace glTF
{... | [
"david.mandl42@gmail.com"
] | david.mandl42@gmail.com |
5bd989c6a973e662d30141ed210f6b92c34d9778 | 49913c88fa8310d81d1d1355e8eb5a04fe928c4d | /src/Game.cpp | 46bce3ff81a203f228bd83e239789c787e603dbf | [] | no_license | Magoninho/PolkaDotGameCpp | 75feb4d0aa46446d237178669b41846c3ce76f47 | 02445d3761a10f4a1d9aad4efb6274c3f3ebcfbb | refs/heads/main | 2023-04-25T03:34:13.014313 | 2021-05-18T21:24:27 | 2021-05-18T21:24:27 | 343,453,427 | 11 | 1 | null | 2021-03-12T20:06:20 | 2021-03-01T14:54:37 | C++ | UTF-8 | C++ | false | false | 4,914 | cpp | /*
* Game.cpp
*
* Created on: 28 de fev. de 2021
* Author: magoninho
*/
#include "Game.h"
Game::Game()
: window(sf::VideoMode(WIDTH, HEIGHT), "Polka Dot Game!"),
player(sf::Vector2f(50.f, 50.f))
{
// initializing music files
if (!deathSong.openFromFile("Media/Audio/death.ogg"))
std::cout << "fai... | [
"magoninhogamer@gmail.com"
] | magoninhogamer@gmail.com |
906274bc16184c97edd4f7d755f6e159e978b6c6 | 58958463ae51c6af762ade55e53154cdd57e9b71 | /OpenSauce/Halo2/Halo2_Xbox/Memory/1.00/_EngineLayout.AI.inl | 065688b25244734afc0e53e8451f6ba7a2dd0efb | [] | no_license | yumiris/OpenSauce | af270d723d15bffdfb38f44dbebd90969c432c2b | d200c970c918921d40e9fb376ec685c77797c8b7 | refs/heads/master | 2022-10-10T17:18:20.363252 | 2022-08-11T20:31:30 | 2022-08-11T20:31:30 | 188,238,131 | 14 | 3 | null | 2020-07-14T08:48:26 | 2019-05-23T13:19:31 | C++ | UTF-8 | C++ | false | false | 1,814 | inl | /*
Yelo: Open Sauce SDK
Halo 2 (Xbox) Edition
See license\OpenSauce\Halo2_Xbox for specific license information
*/
//////////////////////////////////////////////////////////////////////////
// AI.cpp
#if __EL_INCLUDE_FILE_ID == __EL_AI_AI
namespace AI
{
DATA_PTR(AI_INITIALIZE_FOR_NEW_MAP_MOD, 0x441... | [
"kornman00@gmail.com"
] | kornman00@gmail.com |
f83d93ba1dde8af91196a141bfd10f9d01c2f4cf | 06bed8ad5fd60e5bba6297e9870a264bfa91a71d | /libPr3/logixng/actionwarrantxml.cpp | c9ec61025be4ffd0fb75667b8e97a3c64a8dd4c9 | [] | no_license | allenck/DecoderPro_app | 43aeb9561fe3fe9753684f7d6d76146097d78e88 | 226c7f245aeb6951528d970f773776d50ae2c1dc | refs/heads/master | 2023-05-12T07:36:18.153909 | 2023-05-10T21:17:40 | 2023-05-10T21:17:40 | 61,044,197 | 4 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 7,196 | cpp | #include "actionwarrantxml.h"
#include "instancemanager.h"
#include "jmriconfigurexmlexception.h"
#include "logixng/actionwarrant.h"
#include "logixng/defaultdigitalactionmanager.h"
#include "logixng/parserexception.h"
#include "warrantmanager.h"
/**
* Handle XML configuration for Warrant objects.
*
* @author Bob Ja... | [
"allenck@windstream.net"
] | allenck@windstream.net |
d1f28f2c1ff0db9daed78e979f840b38c44418b9 | 45f35abd5d7616cbfe4981e9d1ab65a25c47cb96 | /StateGotoPoint.cpp | 5e4bd30dd31c7d562fd66a338df6c6db3f64df1e | [] | no_license | stevenssq/free-fsm | 2bef3e354d19d50c58d3ac109265aeb44b404377 | 2bab29f5d4dba8b53537c9a56e248b3722ff70ef | refs/heads/master | 2022-11-18T07:13:36.675901 | 2020-07-20T09:18:25 | 2020-07-20T09:18:25 | 281,068,473 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 481 | cpp | #include <unistd.h>
#include "StateGotoPoint.h"
StateGotoPoint::StateGotoPoint(State *parent) :
State(parent)
{
}
StateGotoPoint:: ~StateGotoPoint()
{
}
void StateGotoPoint::onEntry(std::string paraP)
{
dzlog_info("StateGotoPoint::onEntry()");
parentM->postEvent("finished");
sleep(1);
}
void State... | [
"noreply@github.com"
] | stevenssq.noreply@github.com |
613b30ef192f6daf62e30c4efd445575cd140fea | 84bcd0e9bb7f49f31a13785bd9f6807c898e9e6b | /src/mnemonics/lojban.h | 412531a23077069fd86229185144dc63a701f338 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | masari-project/masari | 1e0c991bd7db9f54aafbdb80d8a0c2af29bf182c | ff71f52220858b84a4403dab9a14339bcad57826 | refs/heads/master | 2023-04-09T21:11:30.777413 | 2022-10-08T23:05:32 | 2022-10-08T23:05:32 | 102,456,758 | 94 | 99 | NOASSERTION | 2022-10-09T23:32:17 | 2017-09-05T08:40:47 | C++ | UTF-8 | C++ | false | false | 28,531 | h | // Copyright (c) 2014-2018, The Monero Project
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are
// permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain the above copyright notice, this li... | [
"thaer.khawaja@gmail.com"
] | thaer.khawaja@gmail.com |
db853c8bb7b5fe28689a7c241db84f90a49916ca | 3c1db75e0f0bb35d188a06095d9af73109a1b770 | /airxonix/Helicopter.cpp | 0e4398b5c825ff149d9d09de0e8e09debb30035d | [] | no_license | mor94/AirxonixGame | 90154dcd4060d59331e33ea3e620e16a78bd3d30 | 0e7aa569a0b8f67c6160627126f980480fece7a9 | refs/heads/master | 2022-09-27T01:18:01.998357 | 2020-06-03T11:16:25 | 2020-06-03T11:16:25 | 269,061,157 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,947 | cpp | #include "Helicopter.h"
//=======================================================================================
//constructor
Helicopter::Helicopter()
:DynamicObject(Media::instance().getTexture(t_helicopter))
, m_life(LIFES),m_speed(SPEED), emptyArea(false),closeArea(false),canMove(false)
,dir(t_wait),m_score(0... | [
"mormatityahu@gmail.com"
] | mormatityahu@gmail.com |
dfa583caa50f568f7fb8564822298e11b77f1540 | 313c4f5e3c9808056e6e18c88ab09ff9a312e25e | /1874.cpp | 9dea6f158e72dc43dcc1988cd9ffc70c01c36b2a | [] | no_license | HyangRim/Algorithm_Back | b8b1f28a0fc08da55b0cda260cded7323093fd8e | ddd8d5d1880ab81f2cdd42294a71ad41cc79a6a2 | refs/heads/master | 2021-11-24T20:02:54.163135 | 2021-11-03T00:20:31 | 2021-11-03T00:20:31 | 236,210,628 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 464 | cpp | #include <stdio.h>
void main() {
int stack[100000]; char res[200000];
int i, n, k, stkIdx = 0, resIdx = 0, max = 0; scanf_s("%d", &n);
while (n--) {
scanf_s("%d", &k);
if (k > max)
for (i = max; i < k; i++) {
stack[stkIdx++] = i + 1;
res[resIdx++] = '+';
}
else
if (stack[stkIdx - 1] != k) {
... | [
"eyiuta1@gmail.com"
] | eyiuta1@gmail.com |
f5615167b3c9c25c41d3c93572f38fd961eb7849 | a18c30c7fe4437cbff5ce63c66bdb191164da977 | /src/cmp/TriggerFastMov.cpp | b37a674b0fcf873f03e1abc9ea18ae40cca8abf2 | [] | no_license | Boruha/Cyborgeddon | f6c1b648457a1dfadd8daa16217df4efae038c3e | 3e1d8b786a4a6b78827a99a71dee1eba3563bd6f | refs/heads/master | 2022-12-12T02:09:31.288680 | 2020-06-16T13:16:54 | 2020-06-16T13:16:54 | 296,373,186 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 316 | cpp | #include <cmp/TriggerFastMov.hpp>
#include <ostream>
#include <glm/gtx/string_cast.hpp>
std::ostream& operator<<(std::ostream& os, const TriggerFastMov& cmp) {
cmp.print(os, cmp.getName())
<< "\n\tPosition: " << glm::to_string(cmp.position)
<< "\n\tVelocity: " << glm::to_string(cmp.velocity);
return os;
} | [
"mateo1198@gmail.com"
] | mateo1198@gmail.com |
607eed4e8fc80f6af3c6dddbbc6dede513f8649d | 271dba50ba7bec0d5ab90b34e1d257ac41c0315c | /MSJ_DirectX_2D/MyMiddleware/NPC_SmallSpirit.h | 04d0d399ff18b65e00a386020de254a317f809ef | [] | no_license | KkyuCone/DirectX2D_MSJ_PO | 1db315c678a7c719ce6785cfb3bf1323c4403894 | e2cbab3c19a72ac554d51f864ede598dc7ad043a | refs/heads/master | 2020-08-16T06:53:42.034043 | 2019-10-16T06:25:25 | 2019-10-16T06:25:25 | 215,470,526 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 465 | h | #pragma once
#include <Script.h>
#include "NPCState.h"
#include <SpriteRenderer2D.h>
#include <Animation2D.h>
class NPC_SmallSpirit : public NPCState, public Script
{
private:
Vector4 OriginScale;
private:
My_PTR<SpriteRenderer2D> m_Renderer;
My_PTR<Animation2D> m_Animation;
public:
void SetDir(std::wstring _Di... | [
"praesentia05@naver.com"
] | praesentia05@naver.com |
5d4e11f52932e11cb989b2ec7e9af4f63290bf42 | fb7efe44f4d9f30d623f880d0eb620f3a81f0fbd | /third_party/WebKit/Source/core/animation/CSSNumberInterpolationType.h | 05061766355767f3b08ccaae7f804d58bc95eef0 | [
"BSD-2-Clause",
"LGPL-2.1-only",
"LGPL-2.0-only",
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer",
"GPL-2.0-only",
"LicenseRef-scancode-other-copyleft",
"BSD-3-Clause"
] | permissive | wzyy2/chromium-browser | 2644b0daf58f8b3caee8a6c09a2b448b2dfe059c | eb905f00a0f7e141e8d6c89be8fb26192a88c4b7 | refs/heads/master | 2022-11-23T20:25:08.120045 | 2018-01-16T06:41:26 | 2018-01-16T06:41:26 | 117,618,467 | 3 | 2 | BSD-3-Clause | 2022-11-20T22:03:57 | 2018-01-16T02:09:10 | null | UTF-8 | C++ | false | false | 2,121 | h | // 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.
#ifndef CSSNumberInterpolationType_h
#define CSSNumberInterpolationType_h
#include "core/animation/CSSInterpolationType.h"
namespace blink {
class CSSN... | [
"jacob-chen@iotwrt.com"
] | jacob-chen@iotwrt.com |
2a08f88f1c3010cf533e44c9a007d96c54542650 | ca1c3806da3f199e8dfcd9c00ae2d6b0b0f1fa74 | /BOJ/backtrack백트랙킹/9663nqueen.cpp | cef910d20e59e6c89ea63ed7a4b37084ef8b1c6c | [] | no_license | seohl16/acmicpc | 46ada4de6db1e500c4bd05958f57d28b422b64c7 | 1ef334707bf42913c79c7e9d92a760f6f07f1f36 | refs/heads/master | 2023-03-26T11:34:16.485699 | 2021-03-27T05:47:52 | 2021-03-27T05:47:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 774 | cpp | #include <iostream>
using namespace std;
int board[16];
int cnt;
void print_board(int n)
{
for (int i = 0; i < n; i++)
cout << board[i] << " ";
cout << "\n";
}
int is_attackable(int lev, int n)
{
int nowy = board[lev];
int nowx = lev;
//print_board(n);
for (int i = 0; i < lev; i++)
{
if (board[i] == now... | [
"selim@student.42seoul.kr"
] | selim@student.42seoul.kr |
c2a5b0062c08fa8c6cd0b962e90f3eab16091dcd | f313c6df81673cfb79c478359d00aad4a38d4c54 | /sb-movie-demo-ps2/SB04_Multi_Sku/Engine/Core/x/xFunctionGenerator.cpp | f189b067ce756eedc2124df756ea7cdb5484bd09 | [] | no_license | seilweiss/dwarfdb | 2ee1a1d748d83f6d14413bd58312c99059af99bc | 9afc2132cd69f11ed6e69bd4b2b67805bc1828b9 | refs/heads/main | 2023-08-14T23:48:48.254038 | 2021-10-07T05:40:50 | 2021-10-07T05:40:50 | 414,475,004 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,018 | cpp |
void xFunctionGenerator_Init(xBase& data, xDynAsset& asset);
void HandleEvent(uint32 toEvent, float32* toParam);
void Update(float32 dt);
void FunctionGeneratorEventWrapper(xBase* from, xBase* to, uint32 toEvent, float32* toParam, xBase* toParamWidget, uint32 toParamWidgetID);
// xFunctionGenerator_Init__FR5xBaseR... | [
"32021834+seilweiss@users.noreply.github.com"
] | 32021834+seilweiss@users.noreply.github.com |
f77d0aee503487d624dc808d7dcb7f007020f65d | 88ae8695987ada722184307301e221e1ba3cc2fa | /third_party/webrtc/modules/congestion_controller/goog_cc/delay_based_bwe_unittest.cc | 278dd3ea75204f396c547ceb037cd5b904252364 | [
"Apache-2.0",
"LGPL-2.0-or-later",
"MIT",
"GPL-1.0-or-later",
"BSD-3-Clause",
"LicenseRef-scancode-google-patent-license-webrtc",
"LicenseRef-scancode-google-patent-license-webm",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | iridium-browser/iridium-browser | 71d9c5ff76e014e6900b825f67389ab0ccd01329 | 5ee297f53dc7f8e70183031cff62f37b0f19d25f | refs/heads/master | 2023-08-03T16:44:16.844552 | 2023-07-20T15:17:00 | 2023-07-23T16:09:30 | 220,016,632 | 341 | 40 | BSD-3-Clause | 2021-08-13T13:54:45 | 2019-11-06T14:32:31 | null | UTF-8 | C++ | false | false | 12,415 | cc | /*
* Copyright (c) 2016 The WebRTC 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 in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | [
"jengelh@inai.de"
] | jengelh@inai.de |
ccf66568fa415c2f06da50f7b1745c84cde5b0a9 | fec81bfe0453c5646e00c5d69874a71c579a103d | /blazetest/src/mathtest/operations/svecsvecadd/AliasingTest.cpp | 8107c9e0ff3f20ec6b9c7b04beebb545c94d9b3e | [
"BSD-3-Clause"
] | permissive | parsa/blaze | 801b0f619a53f8c07454b80d0a665ac0a3cf561d | 6ce2d5d8951e9b367aad87cc55ac835b054b5964 | refs/heads/master | 2022-09-19T15:46:44.108364 | 2022-07-30T04:47:03 | 2022-07-30T04:47:03 | 105,918,096 | 52 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 17,594 | cpp | //=================================================================================================
/*!
// \file src/mathtest/operations/svecsvecadd/AliasingTest.cpp
// \brief Source file for the sparse vector/sparse vector addition aliasing test
//
// Copyright (C) 2012-2020 Klaus Iglberger - All Rights Reserved
//... | [
"klaus.iglberger@gmail.com"
] | klaus.iglberger@gmail.com |
eca605ed44a4a98ef23b995c64178a14ffddcf7f | 69dd4bd4268e1c361d8b8d95f56b5b3f5264cc96 | /GPU Zen2/03_Shadows/02_Parallax-Corrected Cached Shadow Maps/Demo/Src/Core/Rendering/PreCompile.h | d0a783605a992a40d7794b3423ab0774056355ca | [
"MIT"
] | permissive | AnabaenaQing/Source-Code_ShaderX_GPU-Pro_GPU-Zen | 65c16710d1abb9207fd7e1116290336a64ddfc86 | f442622273c6c18da36b61906ec9acff3366a790 | refs/heads/master | 2022-12-15T00:40:42.931271 | 2020-09-07T16:48:25 | 2020-09-07T16:48:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 465 | h | #define SAFE_RELEASE(x) if(x) { (x)->Release(); (x) = NULL; }
#define NOMINMAX
#define _CRT_SECURE_NO_WARNINGS
#include "tbb/include/tbb/tbb.h"
#define _CRTDBG_MAP_ALLOC
#include <stdlib.h>
#include <crtdbg.h>
#include <stdint.h>
#include <stdarg.h>
#include <stdio.h>
#include <algorithm>
#include <string>
#include... | [
"IRONKAGE@gmail.com"
] | IRONKAGE@gmail.com |
1ec23e6aa4d00a9bfd4b6b07469abcadb95cf11a | b925ea55d4c80b9c353522c34e817bc877b840a4 | /src/idlib/math/interpolation_method.hpp | 0806d39de98fdf0ead6e10f5a69f44f3330357ba | [] | no_license | Zefz/idlib | 8126f14e3d31acadb6edee924eaee6d93207e045 | acd024fb36cd0d65c49eab1dae57ab1edf193283 | refs/heads/master | 2021-01-20T07:24:24.477291 | 2017-09-16T13:43:22 | 2017-09-16T13:43:22 | 101,536,828 | 0 | 0 | null | 2017-08-27T07:28:43 | 2017-08-27T07:28:43 | null | UTF-8 | C++ | false | false | 1,026 | hpp | // Copyright Michael Heilmann 2016, 2017.
//
// This file is part of Idlib.
//
// Idlib 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 License, or
// (at your option) any later versi... | [
"michaelheilmann@primordialmachine.com"
] | michaelheilmann@primordialmachine.com |
39b70ff474dec60d1fa4fbd76e336685a70a3582 | fa19eeea29e45e82c365099a054bf4d4d33435b6 | /AI_basics_(FCL, C++)/NeuronWeb/Exercise4/NeuronWeb.cpp | b48a9bd1855629accda27473b27d06100ea45582 | [] | no_license | DabicD/Studies | a58994dc088a29af9953fe6626f48689e3d514e3 | efdbb293d6d08a1166428b18beef67e203fc0c7b | refs/heads/main | 2023-04-26T02:06:36.154274 | 2021-05-26T08:07:21 | 2021-05-26T08:07:21 | 352,647,335 | 0 | 0 | null | null | null | null | IBM852 | C++ | false | false | 5,072 | cpp | #include<iostream>
#include<cmath>
using namespace std;
double beta = 0.5;
double f(double s)
{
return 1 / (1 + exp(-beta * s));
}
int main()
{
double w[2][36] = { {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0},{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0... | [
"noreply@github.com"
] | DabicD.noreply@github.com |
6b69971661470c45709a25b304156aa9fe4c8925 | 27d2f4de99ad53d8a2d1472f80b50518a67223d7 | /CompilingCustomSolver/mixerVesselAMI2D/processor0/0.8/phi | 1fc529fc490d8b2933b181ee5de8f0bf0f44a7d5 | [] | no_license | samech-git/OpenFOAM_Tutorials | 6f6f92530e77de4471b2d3101397cfb80ce3dd26 | 0664fb03bf0ad704750eb4a2326b850f04b093ba | refs/heads/master | 2021-05-28T22:01:26.859393 | 2015-05-05T12:47:17 | 2015-05-05T12:47:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,366 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.1 |
... | [
"rlee32@gatech.edu"
] | rlee32@gatech.edu | |
e4d2c47d4d3c9c97dac7ce4854be9c6c606d2c4f | 0b472fce7b920d5b6e301dc1e26169ae6f08b070 | /744 Find Smallest Letter Greater Than Target/FindSmallestLetterGreaterThanTarget.cpp | efc93692364a39e43a684b5a9a3cb41b02155d93 | [] | no_license | davidchai21/leetcode-solutions | 5cf9ff520910c8f28a300e3041e78c075c93e624 | 3b0b29e269214dd9c2660ddd81d73b4c96fdcb50 | refs/heads/master | 2021-01-19T09:04:49.975016 | 2018-02-06T06:14:16 | 2018-02-06T06:14:16 | 87,719,872 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 398 | cpp | class Solution {
public:
char nextGreatestLetter(vector<char>& letters, char target) {
if (target>=letters.back()) return letters[0];
int left=0;
int right=letters.size()-1;
while (left<right) {
int mid=left+(right-left)/2;
if (letters[mid]<=target) left=mid+1... | [
"rchai@email.wm.edu"
] | rchai@email.wm.edu |
f66eafdfe1ce3a15ef20217faf85e7a4a086fc1e | 02a7a13981e8a10e393f86752715df2764389ca1 | /87_Scramble_String.cpp | c39282cbc1164a1ba56745ac1401c52505662199 | [] | no_license | lylalala/leetcode | 7d05f85fa279ffd87632208eb422945ab1e980a5 | 9c647fa9866512195f5d3c4b1e37c9181e209e9a | refs/heads/master | 2021-01-21T04:46:40.958853 | 2016-06-21T06:17:56 | 2016-06-21T06:17:56 | 44,017,653 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 907 | cpp | class Solution {
public:
bool isScramble(string s1, string s2) {
int len=s1.length();
if(len!=s2.length()) return false;
bool*** dp=new bool**[len];
for(int i=0;i<len;i++){
dp[i]=new bool*[len];
for(int j=0;j<len;j++)
dp[i][j]=new bool[len];
... | [
"liuyang070424@163.com"
] | liuyang070424@163.com |
45465f8d9e0ec9525dacee631b2972e4bd7458aa | d3efe1f3e2b548e45959d29366a95e5d936cb7c6 | /src/foreign_if/server/expose_sparse.cc | 38f68510f0e9dcd5bf25e22ba8104602f750dd62 | [
"BSD-2-Clause",
"Apache-2.0"
] | permissive | wmeddie/frovedis | 79c114114cd1b7166ba875769eb56c830ceb18ff | c134e5e64114799cc7c265c72525ff98d06b49c1 | refs/heads/master | 2020-05-23T01:12:14.455929 | 2019-06-12T01:16:38 | 2019-06-12T01:16:38 | 186,584,815 | 0 | 0 | BSD-2-Clause | 2019-05-14T09:00:13 | 2019-05-14T09:00:13 | null | UTF-8 | C++ | false | false | 2,322 | cc | #include "exrpc_data_storage.hpp"
#include "short_hand_sparse_type.hpp"
using namespace frovedis;
void expose_frovedis_sparse_matrix_functions() {
// --- frovedis crs data ---
expose(load_local_data<S_LMAT1>); //spark
expose((create_and_set_data<S_MAT1,S_LMAT1>)); //spark
expose(create_crs_from_local_coo_stri... | [
"t-araki@dc.jp.nec.com"
] | t-araki@dc.jp.nec.com |
e7af527c4432c5a326c85396f0eb635eed90f2a0 | 5660c03943019632f7b498d2fe8b757b62d3fbc4 | /core/readOBJ.h | 1cdb239b18633bd39ad14d8e9a32900056dfad50 | [] | no_license | jingma-git/physics | c89ea12309ccab5180a18c76e040717f45e21932 | 5a81bf41e328602482897b8042e1b4ab07d8035a | refs/heads/master | 2023-09-04T02:08:23.248270 | 2021-11-11T03:33:06 | 2021-11-11T03:33:06 | 339,983,916 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,978 | h | #pragma once
#include <Eigen/Dense>
namespace egl
{
template <typename Scalar, typename Index>
bool readOBJ(
const std::string obj_file_name,
std::vector<std::vector<Scalar>> &V,
std::vector<std::vector<Scalar>> &TC,
std::vector<std::vector<Scalar>> &N,
std::vector<std::... | [
"11921154@zju.edu.cn"
] | 11921154@zju.edu.cn |
3afd89dde81da829a8591ea97c71f7a61b0105ea | d40efadec5724c236f1ec681ac811466fcf848d8 | /tags/fs2_open_3_6_10_RC1/code/network/multiui.cpp | 46c846bead169e08597473c90cba4bedd8c14c4d | [] | no_license | svn2github/fs2open | 0fcbe9345fb54d2abbe45e61ef44a41fa7e02e15 | c6d35120e8372c2c74270c85a9e7d88709086278 | refs/heads/master | 2020-05-17T17:37:03.969697 | 2015-01-08T15:24:21 | 2015-01-08T15:24:21 | 14,258,345 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 309,461 | cpp | /*
* Copyright (C) Volition, Inc. 1999. All rights reserved.
*
* All source code herein is the property of Volition, Inc. You may not sell
* or otherwise commercially exploit the source or things you created based on the
* source.
*
*/
/*
* $Logfile: /Freespace2/code/Network/MultiUI.cpp $
* $Revision: 2.47.... | [
"Goober5000@387891d4-d844-0410-90c0-e4c51a9137d3"
] | Goober5000@387891d4-d844-0410-90c0-e4c51a9137d3 |
90b1f009787f773810a4f78f961a4f7f0bd809c6 | 05f254d5cb7e399bc02a274f63d68ce89d7a8a6b | /examples/simple-conv/train_z7.cpp | 7a2186672f1100a37e4460b0a592227314b7d96c | [
"BSD-3-Clause"
] | permissive | Royzon/tiny-dnn-fpga | cc31d78af78bb79e146c02da585c2ea54a3dcecb | c1e297d9f943046c5e94e010448af9da2624a2e5 | refs/heads/master | 2022-03-29T16:00:05.369513 | 2019-12-27T13:00:39 | 2019-12-27T13:00:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,228 | cpp | /*
Copyright (c) 2013, Taiga Nomi and the respective contributors
All rights reserved.
Use of this source code is governed by a BSD-style license that can be found
in the LICENSE file.
*/
#include <stdint.h>
#include <fcntl.h>
#include <unistd.h>
#include <sys/mman.h>
volatile int *dnn_addr;
volatile... | [
"tom01h@gmail.com"
] | tom01h@gmail.com |
9da7fe4766ee44fbe71ff99e9cb5a45a369de5b5 | 30c466f97d276032719365f8f0d7e73f0d423add | /Practica 2/FUENTES/specific_genetic.cpp | ff322c501193878293335d13fba79836361b5994 | [] | no_license | EloyBG97/Metaheuristicas | 014a71e307e13b6b70dd43b7c4f7bfc1302abbca | 175b9554e5bf60f2bed52857db981ff990c1e3d4 | refs/heads/master | 2021-03-27T11:02:00.199324 | 2018-06-12T13:32:55 | 2018-06-12T13:32:55 | 122,239,527 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,164 | cpp | #include<specific_genetic.h>
#include <chrono>
using namespace std;
using namespace std::chrono;
using namespace std;
//Cruce BLX / Generacional
individuo_genetico AGG_BLX(const muestra &Tr, const unsigned int & seed) {
const size_t M = 30;
const float Pc = 0.7;
const unsigned N_CRUCES = Pc * M;
const unsigne... | [
"eloybg97@correo.ugr.es"
] | eloybg97@correo.ugr.es |
60bc108c6d9c0b6343289473852f3480e0a28df2 | 9ac4885b30acce4e368658fd9cf2fe17a9d181b7 | /abc084_a/main.cpp | 55ec9099748e92f7dafa909e6cbd435a95bb113c | [] | no_license | ziyuu-japan/learn_c_plusplus | 06f8cfaec4d143fc4e01bf174d19fa3dd503f1fc | a84d52b9cf133016bd768feaeec4951f3aa620ce | refs/heads/master | 2021-01-16T05:26:40.063583 | 2020-03-12T14:15:32 | 2020-03-12T14:15:32 | 242,990,524 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 114 | cpp | #include <bits/stdc++.h>
using namespace std;
int main(){
int m;
cin >> m;
cout << 24 + 24 - m << endl;
}
| [
"furutain@yahoo.co.jp"
] | furutain@yahoo.co.jp |
040ebeb9607c350e7f2c7ee047792659fd2b8286 | 95a43c10c75b16595c30bdf6db4a1c2af2e4765d | /codecrawler/_code/hdu1859/16209381.cpp | f6dce94494147243ad6001dad3081cd9f2ec96d5 | [] | no_license | kunhuicho/crawl-tools | 945e8c40261dfa51fb13088163f0a7bece85fc9d | 8eb8c4192d39919c64b84e0a817c65da0effad2d | refs/heads/master | 2021-01-21T01:05:54.638395 | 2016-08-28T17:01:37 | 2016-08-28T17:01:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 630 | cpp | #include <iostream>
using namespace std;
int main()
{
int x,y,max_x,min_x,max_y,min_y;
while(cin >> x >> y)
{
if(!x && !y)
break;
max_x = min_x = x;
max_y = min_y = y;
while(cin >> x >> y)
{
if(!x && !y)
break;
if(x... | [
"zhouhai02@meituan.com"
] | zhouhai02@meituan.com |
7adfc04befeb1570a920d2c1403fc89cc6d7e4cf | 00c9198bc6fe6d3ee37cf710715a67a492d38947 | /pkgs/R3Surfels/R3SurfelViewer.cpp | 4d894ac0674a7530577dfc24020c4a01b2d22adc | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | mingzailao/gaps | 48f8cff6d728b8069d558c5575247e9f693e5ed0 | 516a25f04e616b8386130102a4a63e513e60b0ae | refs/heads/master | 2023-03-19T10:18:41.236627 | 2021-03-05T00:55:24 | 2021-03-05T00:55:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 84,877 | cpp | /* Source file for the surfel scene viewer class */
////////////////////////////////////////////////////////////////////////
// Include files
////////////////////////////////////////////////////////////////////////
#include "R3Graphics/R3Graphics.h"
#include "R3Surfels/R3Surfels.h"
//////////////////////////////... | [
"funk@cs.princeton.edu"
] | funk@cs.princeton.edu |
aa6268a7eec6e0196dc860b10e24a5a5690b42dd | 781998d032fb72be6dbff09b3e22cc380fca803a | /MFC_Tool/MFC_Tool.h | be9eb1c4e299a10521efc0d6baa73877cfc19377 | [] | no_license | ILoveMilktea/Cookie-Nom | 28069aa6e8a8fd46e10e7bf676fff6c66346c41a | 762b06f50978b64ac9bc40dab4a72d351495211e | refs/heads/main | 2023-01-13T11:54:40.557553 | 2020-11-24T14:13:42 | 2020-11-24T14:13:42 | 315,599,692 | 1 | 0 | null | null | null | null | UHC | C++ | false | false | 622 | h |
// MFC_Tool.h : MFC_Tool 응용 프로그램에 대한 주 헤더 파일
//
#pragma once
#ifndef __AFXWIN_H__
#error "PCH에 대해 이 파일을 포함하기 전에 'stdafx.h'를 포함합니다."
#endif
#include "resource.h" // 주 기호입니다.
// CMFC_ToolApp:
// 이 클래스의 구현에 대해서는 MFC_Tool.cpp을 참조하십시오.
//
class CMFC_ToolApp : public CWinApp
{
public:
CMFC_ToolApp();
// 재정의입니... | [
"43364424+ILoveMilktea@users.noreply.github.com"
] | 43364424+ILoveMilktea@users.noreply.github.com |
8c9a80f96297999f25d9a2b8f53a9d94d4550821 | abfa73ea0cd44c80f7b7b2e30530c092cc300cdc | /mbed-client/mbed-client/m2msecurity.h | 7cd4042142055a9cb25befa7c0ab8292869f1a38 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | ccli8/mbed-cloud-client | fcaf39a331af5087479e944f57befd76f95bb5f0 | 7e45d92cf759d62c2d881bd7be318c807d8a47c2 | refs/heads/master | 2021-12-24T02:01:43.671951 | 2021-06-17T13:49:57 | 2021-06-17T13:49:57 | 139,409,609 | 0 | 0 | Apache-2.0 | 2018-07-02T07:53:05 | 2018-07-02T07:53:05 | null | UTF-8 | C++ | false | false | 11,595 | h | /*
* Copyright (c) 2015 ARM Limited. All rights reserved.
* SPDX-License-Identifier: Apache-2.0
* 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... | [
"teemu.takaluoma@arm.com"
] | teemu.takaluoma@arm.com |
4d3089a7b2d550112814dc32fefc85479ee0bdb1 | 40f73a14d163a8cc33dfde92f1109743d9ecdbe2 | /nandincpp/Product of the Last K Numbers.cpp | 807c813d70690e2d7a2cdefbd938123a7cd8791e | [] | no_license | pravirtual/Leetcode | dc83d09f6fc15f24e05e8fca7546e2f003f45c37 | 7f754f38e507b7f4aaeb267b05873437b1ca5bcf | refs/heads/master | 2023-08-28T07:52:59.019305 | 2021-10-29T14:21:01 | 2021-10-29T14:21:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 675 | cpp | class ProductOfNumbers {
vector<int> v;
public:
ProductOfNumbers() {
v.push_back(1);
}
void add(int num)
{
if(num == 0)
{
v.clear();
v.push_back(1);
}
else
v.push_back(num*v.back());
}
int... | [
"noreply@github.com"
] | pravirtual.noreply@github.com |
9158320fede16440bed24b3a6a6921f9422f02ff | 1f6ed4c03ed117f3440f3d48c95d4a0c3a70ebbd | /YAPOG/include/YAPOG/Graphics/Texture.hpp | 4ea8320825ab99b79659e67c6128030eb48cbc2e | [] | no_license | hackerlank/YAPOG | d2aa8b1dcc9231049bd8a5d27107c9cc32616094 | 93f5a9d00b14ae1343ff5666617ffc1b14c87ec2 | refs/heads/master | 2020-06-13T09:40:57.312506 | 2013-04-23T11:03:24 | 2013-04-23T11:03:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,324 | hpp | #ifndef YAPOG_TEXTURE_HPP
# define YAPOG_TEXTURE_HPP
# include <SFML/Graphics/Texture.hpp>
# include <SFML/Graphics/Sprite.hpp>
# include <SFML/Graphics/Rect.hpp>
# include "YAPOG/Macros.hpp"
# include "YAPOG/Graphics/ISpatial.hpp"
# include "YAPOG/Graphics/IDrawable.hpp"
# include "YAPOG/Game/Factory/IIDLoadable.hpp... | [
"cloute_j@epita.fr"
] | cloute_j@epita.fr |
a59a773e915d8796457a01f44de02762d5a8c626 | 80e7e44267875656aae85e7eb1d024db699fa299 | /src/communication/include/communication/serial.h | 7c2d813415b5a2db8aea1b511ecc822999420c9b | [] | no_license | ashishact/URC15OBC | 61ea2be7b27065129326c1fb2d669cbb7b4934cc | baaa2b9ed8f252cba3a5568b563d27bfebf59372 | refs/heads/master | 2020-12-24T14:57:31.968883 | 2015-03-28T17:48:11 | 2015-03-28T17:48:11 | 28,278,645 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,803 | h | /*!
* \file serial/serial.h
* \author William Woodall <wjwwood@gmail.com>
* \author John Harrison <ash.gti@gmail.com>
* \version 0.1
*
* \section LICENSE
*
* The MIT License
*
* Copyright (c) 2012 William Woodall
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this... | [
"act.jnv@gmail.com"
] | act.jnv@gmail.com |
866c07b69435475d815174c03b7d41229cd36218 | 4dfa6232cf91f1c04d50809915078dc71fb371b4 | /dnn/src/x86/elemwise/fma_util/fma_util.h | d10dcb83753f8a6bdb18f13fca2955bc86f27afa | [
"LicenseRef-scancode-generic-cla",
"Apache-2.0"
] | permissive | hookex/MegEngine | 81c0539a3247873bdabe0e6f22e265e22249e98a | 47fd33880d2db3cae98c55911bb29328cdd5d7e4 | refs/heads/master | 2022-08-01T02:04:06.431689 | 2020-05-22T11:10:17 | 2020-05-22T11:10:17 | 250,200,281 | 1 | 0 | NOASSERTION | 2020-03-26T08:22:39 | 2020-03-26T08:22:39 | null | UTF-8 | C++ | false | false | 3,414 | h | /**
* \file dnn/src/x86/elemwise/fma_util/fma_util.h
* MegEngine is Licensed under the Apache License, Version 2.0 (the "License")
*
* Copyright (c) 2014-2020 Megvii Inc. All rights reserved.
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on... | [
"megengine@megvii.com"
] | megengine@megvii.com |
bf92aad264e19bfc78f59be075db6a67ec03de5c | 26d3df4594960f2d12d4c674310e87e70c2b3389 | /sprout/iterator/string.hpp | 1b810e58c5d9d0130c9f24ffee832d8699ebba75 | [
"BSL-1.0"
] | permissive | VD-15/Sprout | e2ff06c2ec6515ea70dee0d410955db8cd1d9dc9 | f85f3de543353e746f5c1440e909488592b37ae7 | refs/heads/master | 2022-12-22T05:05:15.528416 | 2020-09-28T13:40:42 | 2020-09-28T13:40:42 | 298,625,230 | 0 | 0 | null | 2020-09-25T16:29:32 | 2020-09-25T16:29:32 | null | UTF-8 | C++ | false | false | 657 | hpp | /*=============================================================================
Copyright (c) 2011-2019 Bolero MURAKAMI
https://github.com/bolero-MURAKAMI/Sprout
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.tx... | [
"bolero.murakami@gmail.com"
] | bolero.murakami@gmail.com |
ad452d260a6b08a47ffa6593dc41ed7851864687 | e763b855be527d69fb2e824dfb693d09e59cdacb | /aws-cpp-sdk-support/source/model/DescribeAttachmentRequest.cpp | 9e4947a717faa01ed34314b3d1c1e9b1c6659060 | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | 34234344543255455465/aws-sdk-cpp | 47de2d7bde504273a43c99188b544e497f743850 | 1d04ff6389a0ca24361523c58671ad0b2cde56f5 | refs/heads/master | 2023-06-10T16:15:54.618966 | 2018-05-07T23:32:08 | 2018-05-07T23:32:08 | 132,632,360 | 1 | 0 | Apache-2.0 | 2023-06-01T23:20:47 | 2018-05-08T15:56:35 | C++ | UTF-8 | C++ | false | false | 1,391 | cpp | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | [
"henso@amazon.com"
] | henso@amazon.com |
45ef3e5c938196cf62edf2077c502ffd4afa9baa | 129f39703b10b5684825ce8626d3a4e908970fad | /source/slang/slang-ir-lower-reinterpret.cpp | 689cc85052e3d12ae3e8ef77c595d7d879081d60 | [
"MIT",
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-public-domain"
] | permissive | shader-slang/slang | 80f417524c9e023ff6e4f4b0210964bf46c76278 | f94b2f7a328a898c5e3dc1389d08e0b7ce6e092e | refs/heads/master | 2023-08-19T03:17:26.436967 | 2023-08-18T19:48:46 | 2023-08-18T19:48:46 | 93,882,897 | 1,269 | 117 | MIT | 2023-09-14T20:57:11 | 2017-06-09T17:42:49 | C++ | UTF-8 | C++ | false | false | 2,731 | cpp | #include "slang-ir-lower-reinterpret.h"
#include "slang-ir.h"
#include "slang-ir-insts.h"
#include "slang-ir-layout.h"
#include "slang-ir-any-value-marshalling.h"
#include "slang-ir-any-value-inference.h"
namespace Slang
{
struct ReinterpretLoweringContext
{
TargetRequest* targetReq;
DiagnosticSink* sink;
... | [
"noreply@github.com"
] | shader-slang.noreply@github.com |
c7b109845a904efe3d6f1258bff458e19958565a | f9f54c110fa422408e95deb077bbe594f8aec960 | /epikjjh/baekjoon/2096.cpp | eb19689e35286cf07b609e83b03f86c794111af3 | [
"MIT"
] | permissive | 15ers/Solve_Naively | 39f9dc0e96aef7d957dde33cd1353dd7671aeb9c | 23ee4a3aedbedb65b9040594b8c9c6d9cff77090 | refs/heads/master | 2021-07-07T23:56:10.231601 | 2020-09-10T08:55:44 | 2020-09-10T08:55:44 | 184,999,228 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 631 | cpp | #include <bits/stdc++.h>
using namespace std;
int main(){
ios::sync_with_stdio(0),cin.tie(0);
int n,dp_min[3]={0},dp_max[3]={0},cur_min[3]={0},cur_max[3]={0};
cin >> n;
for(int i=0;i<n;i++){
for(int j=0;j<3;j++){
cin >> cur_max[j];
cur_min[j] = cur_max[j];
cur_max[j] += max(dp_max[1],(j==1)?max(dp_max[... | [
"epikjjh@gmail.com"
] | epikjjh@gmail.com |
fe117f378a7261115631faf2eaada131041255e5 | 39d5ceedca263f68a4b0ad1e1f7d3d155463660e | /dialationExample/src/ofApp.cpp | 3991166942c838df17e3edee98b1eeccfa946afb | [] | no_license | ofZach/RTP_SFPC_spring19 | 1c134ca4e09e8dd6288f38ae64fe277670a0bbd1 | a316a0cb2abac35a25b2c116d7e73a9063d0a68a | refs/heads/master | 2020-04-29T18:07:05.911349 | 2019-11-22T14:59:33 | 2019-11-22T14:59:33 | 176,314,938 | 5 | 1 | null | 2019-11-22T14:59:34 | 2019-03-18T15:25:44 | Makefile | UTF-8 | C++ | false | false | 6,022 | cpp | #include "ofApp.h"
void ofApp::dilateImage(ofImage & src, ofImage & dst){
// we assume that src and dst have same size...
// also they are greyscale
for (int i = 0; i < src.getWidth(); i++){
for (int j = 0; j < src.getHeight(); j++){
ofColor me = src.getColor(i,j);
... | [
"zach@sfpc.io"
] | zach@sfpc.io |
daff26a32631a12102399018fd081371040435af | e98db42b7dd6f1bfffe684b976402bbce1b615f7 | /1028 Trailling zeroes I.cpp | a98ece91cada8fe91c396e3034a3619853960464 | [] | no_license | Shaykat/LightOJ | 274506393bb43d48cbc3b3d314f6149cbe4f13d3 | cbd62054629b0a482a14cfc49400ac6909ace03b | refs/heads/master | 2021-01-11T02:09:17.514424 | 2017-11-27T21:49:34 | 2017-11-27T21:49:34 | 70,826,832 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,126 | cpp | #include<bits/stdc++.h>
using namespace std;
// input output
#define pf printf
#define sf(n) scanf("%d", &n)
#define sfl(n) scanf("%lld", &n)
#define sfc(n) scanf("%c", &n)
#define sff(a,b) scanf("%d %d", &a, &b)
#define sfff(a,b,c) scanf("%d %d %d", &a, &b, &c)
#define INP f... | [
"shaykat2057@gmail.com"
] | shaykat2057@gmail.com |
d9060172742ca726cb98f71eafe8c573df588105 | 535fba63208fccb763bb967dd9823aa72c9d32f6 | /2.线性表/LinkList_6.cpp | dc3bb16362cfe1cecc3fda224e9c579ffcdd96eb | [] | no_license | baiyucraft/DS_study | cfcbc62e47e944d867c990e7ef97c217543de022 | 154b9e48fa0f11a9e8cffd07ae2c490d81ab5db0 | refs/heads/master | 2022-12-07T20:55:01.680510 | 2020-08-16T14:09:13 | 2020-08-16T14:09:13 | 271,198,081 | 2 | 1 | null | null | null | null | GB18030 | C++ | false | false | 1,006 | cpp | #include <stdio.h>
#include "LinkList.h"
// 用直接插入排序,遍历结点并插入
void SortLinkList(LinkList& L) {
// 取头结点与第一个结点构成新链表
LNode* p = L->next;
// 保存p的后继结点,防止断链
LNode* r = p->next;
// 寻找新链表中要插入的前驱解=结点pre
LNode* pre;
// 成新链表
p->next = NULL;
// p指向第二个结点开始遍历
p = r;
while (p != NULL) {
// 保存p的后继结点
r = p->next;
pre = ... | [
"1047852821@qq.com"
] | 1047852821@qq.com |
6d699981bf7e0a0843b5da6ec1c7b5f1a44f4d6f | 8cb094497f87a560278c648cf352b5928cad7534 | /src/applications/xBitTorrent/BTTrackerMsg_m.h | 13b7e39b19d0079db3586b561ea85cadd8452be1 | [] | no_license | hyperonex/INET-OverSim-20101019 | 6c0d1e82fce0cd500de15a93b715f22ba9cccac0 | 834dc8d7f1568c8a5502d335b920110ade9cf911 | refs/heads/master | 2021-01-10T10:13:37.395998 | 2016-01-04T06:47:50 | 2016-01-04T06:47:50 | 48,978,036 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,218 | h | //
// Generated file, do not edit! Created by opp_msgc 4.1 from applications/xBitTorrent/BTTrackerMsg.msg.
//
#ifndef _BTTRACKERMSG_M_H_
#define _BTTRACKERMSG_M_H_
#include <omnetpp.h>
// opp_msgc version check
#define MSGC_VERSION 0x0401
#if (MSGC_VERSION!=OMNETPP_VERSION)
# error Version mismatch! Probably this... | [
"achraf_g@yahoo.fr"
] | achraf_g@yahoo.fr |
22cc6ae79cde49e4871b79a6c37b625289712313 | d5e3a8b1082380425d3e3234b8943551b20c7a8b | /Project5/Project5/bst.h | 8699f7363313e914b7ed647aa832dae08176354c | [] | no_license | sdulaney/SMC-CS-20A | c921a2fc4231017497be73f59de2700692cd32a7 | fd55ca7ee46ac3342e9f967b650b08d6c82f1d6c | refs/heads/master | 2020-03-26T09:29:47.876100 | 2019-01-01T03:35:17 | 2019-01-01T03:35:17 | 144,751,464 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,588 | h | #ifndef BINARYSEARCHTREE_H
#define BINARYSEARCHTREE_H
#include<functional>
class BinarySearchTree {
public:
// Public Interface Functions: All of these are implemented
BinarySearchTree();
~BinarySearchTree();
void printInorder();
void printPostorder();
void printPreorde... | [
"sdulaney@users.noreply.github.com"
] | sdulaney@users.noreply.github.com |
4e88a9cdc3a011d8485aa30ca557e8323ec6cb15 | c6c6cf2a0d4289b582711c9a644ae14aa4dc74c3 | /src/qt/bitcoinunits.cpp | d98b70a06472a073115ed6374e99cac67d279d89 | [
"MIT"
] | permissive | animuscoin/nexol | 13ccdcfd5f367b52aceec3920ffb3604faf4ec84 | f1018c95c69b43577ca1191938a7193f45aa1296 | refs/heads/master | 2020-03-20T06:40:17.063467 | 2018-06-13T18:38:56 | 2018-06-13T18:38:56 | 137,256,274 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,702 | cpp | // Copyright (c) 2011-2015 The Bitcoin Core developers
// Copyright (c) 2014-2018 The Nexol Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "bitcoinunits.h"
#include "chainparams.h"
#include "primitives/... | [
"support@nexolcore.com"
] | support@nexolcore.com |
af44bff80cfc19a37f9c5931fbf95f0fd38688d0 | 0e0dae718251c31cbe9181ccabf01d2b791bc2c2 | /SCT2/tags/M_SCT_19_RELEASE_2_3/test-plugins/org.yakindu.sct.generator.cpp.test/gtests/TimedTransitionsTest/TimedTransitionsTest.cc | 6e832b35708f069ab25858ee1b0a2aae367c1623 | [] | no_license | huybuidac20593/yakindu | 377fb9100d7db6f4bb33a3caa78776c4a4b03773 | 304fb02b9c166f340f521f5e4c41d970268f28e9 | refs/heads/master | 2021-05-29T14:46:43.225721 | 2015-05-28T11:54:07 | 2015-05-28T11:54:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 793 | cc | /**
* Copyright (c) 2014 committers of YAKINDU and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
*... | [
"a.muelder@googlemail.com"
] | a.muelder@googlemail.com |
82d6bd34dd872426cdda276d9658adfb039172c9 | 21f302a6e9fc8b3f386f3e399aa1f53f942b55eb | /sk_app/unix/glx/GLWindowContextGLX.h | a78f0b5c7004bd83035ff8d3da58f86ab79b62ce | [
"MIT"
] | permissive | fredlee12345678/react-native-skia | 3901382a3e01abcb6b62dc62bac48c7a78557d46 | 8abe6a9a6df882927de8e340316bd31f93b96953 | refs/heads/main | 2023-05-14T10:31:53.796480 | 2021-05-31T08:20:28 | 2021-05-31T08:20:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,382 | h |
/*
* Copyright 2016 Google Inc.
* Copyright (C) 1994-2021 OpenTV, Inc. and Nagravision S.A.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef GLWindowContextGLX_DEFINED
#define GLWindowContextGLX_DEFINED
#include "include/gpu/gl/GrGLInterface.h"
... | [
"noreply@github.com"
] | fredlee12345678.noreply@github.com |
30fb34056f9e701923e51dfc8966fce5866e8f7f | 2b56d77925d4d5f94b565d197dcba592bf274de3 | /code/src/editor/windows_sys/base/win32/controls/list_view_ctrl_win32.cpp | 38c89fefa50f766caad91f6afb4c36d66c47fa8d | [] | no_license | waylandyutany/Alien_3.0 | aa3608d971adb766dc8979bb5bf9064aa7666078 | f55d0eb8d7a92510e041f893d93b4f8567847360 | refs/heads/master | 2020-08-08T14:53:09.458434 | 2019-10-09T07:56:37 | 2019-10-09T07:56:37 | 213,852,356 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 466 | cpp | #include "stdafx.h"
#if defined(AE_EDITOR) && (defined(AE_PLATFORM_WIN32) || defined(AE_PLATFORM_WIN64))
#include "list_View_ctrl_win32.h"
namespace ae { namespace windows_sys { namespace win32 {
C_ListViewCtrl_Win32::C_ListViewCtrl_Win32(C_Window_Win32& control) :
C_BaseCtrl_Win32(control)
{
}
} } } // namespac... | [
"spirith@post.sk"
] | spirith@post.sk |
82a6619b084e64a3c006ffd14b3da96bc446d7fb | c976488393968d2872ec601962e318a1745860e7 | /K Diablo 2/Inc/object_manager.inl | fcc11a28cd4b43733472e416229337c4ac124032 | [] | no_license | kwangminy27/K-Diablo-2 | 542dfa608fcf73f23ab0e187887eae1830906030 | 4dcf7e487213b46b8f17e217a65e30a9df5da8c6 | refs/heads/master | 2020-03-27T19:07:14.489540 | 2018-09-15T10:35:08 | 2018-09-15T10:35:08 | 146,966,870 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,061 | inl | #pragma once
#include "layer.h"
using namespace std;
template<typename T>
bool ObjectManager::CreatePrototype(string const& _tag, shared_ptr<Scene> const& _scene)
{
if (_FindPrototype(_tag))
return false;
if (!_scene)
return false;
auto prototype = unique_ptr<Object, function<void(Object*)>>{ new T, [](Obje... | [
"kwangminy27@outlook.com"
] | kwangminy27@outlook.com |
91fd9703c4eef50af6a557898d12240278f4e66b | 1dbed0f84a670c787d2217d97ae3984401c7edb3 | /la/2040.cpp | 62218032b19e6f58675cf3c82f90280398cac7d4 | [] | no_license | prprprpony/oj | 311d12a25f06e6c54b88bc2bcd38003f7b6696a9 | 84988be500c06cb62130585333fddd1a278f0aaa | refs/heads/master | 2021-07-13T16:03:54.398841 | 2021-03-27T14:19:52 | 2021-03-27T14:19:52 | 46,796,050 | 9 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,001 | cpp | #include<bits/stdc++.h>
using namespace std;
const int N = 5487;
bool vis[N];
pair<int,int> pre[N];
int a[10];
void print(int v)
{
if (pre[v].first)
print(pre[v].first);
putchar(pre[v].second | 48);
}
int main()
{
int n,m;
while (scanf("%d%d",&n,&m) == 2) {
for (int i = 0; i < m; ++i)
... | [
"3254tg89@gmail.com"
] | 3254tg89@gmail.com |
8757c309abf406ed1c12e99ed9bd57de90a22c30 | 560f68ef199a55007efbe1e4d52478b988cfa096 | /C++/kokeilua_2018/1.1/main.cpp | 4427220f21b331e634b3b8018c2a4c0303054cec | [] | no_license | flexSealSealedmyLife/julkisetVainC | 41f26332226cdd633f19dc6f9f342ef5148878ce | 4a93fa85dfc48920153a8d20b81fbe7560420227 | refs/heads/master | 2020-04-30T17:57:21.509675 | 2019-03-24T14:28:54 | 2019-03-24T14:28:54 | 176,995,779 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 3,449 | cpp | #include "henkilot.h"
#include <iostream>
#include <vector>
//using namespace std;
int main () {
int valinta, valinta2, tyoMiasNumero, lukumaara, ika, kouluMiasNumero = 0;
std::string hetu, etunimi, sukunimi = "baa baa senkin lammas";
float gibMoney = 0;
std::vector<henkilot *> VectorOfObjects; //he... | [
"tuo.kuusela@gmail.com"
] | tuo.kuusela@gmail.com |
9bb0ea44b6d2e8f028b62df5148268004a4a98ca | 3b38bddcfc848da4f20915aba94bd75b291c4181 | /leetcode/top-interview-questions/easy/climbing-stairs.cpp | 7b7d3a122b7f7a5f0ed84939a1b5312956bf06ac | [] | no_license | rksharma95/coding | 4592c9768c73c43560ce1b14a31cb9782d82fbca | cc8dbebe897b76bc314355b1c11d41d511e015fa | refs/heads/master | 2023-06-24T07:50:35.283754 | 2021-07-27T13:07:23 | 2021-07-27T13:07:23 | 373,204,267 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 360 | cpp | /*
the solution is simple DP soltion
implementatin follows bottom-up approach
time complexity: O(n)
space complexity: O(n)
*/
int climbStairs(int n) {
int dp[n+1];
//base case
if(n==0 || n==1){
return 1;
}
dp[0] = 1;
dp[1] = 1;
for(int i=2; i<=n; i++){
dp[i] = dp[i-1] +... | [
"nikhilrk13jan@gmail.com"
] | nikhilrk13jan@gmail.com |
ee68667faab4a6868df15915c77887000368adba | 698f5bbe4415a69fc2de336c9bad62e7a0e8e939 | /Zaratustra/word_search.cpp | 415c5e762d73531e18e37212ed7c525a2d485b2a | [] | no_license | Kartezjan/Zaratustra | cfe9a3403c5917b74cdb320a0ac5742ccc2bc40b | 99a8957964890144ec12fdf681c0e2342c37296e | refs/heads/master | 2021-01-16T22:11:34.758399 | 2016-07-28T21:46:05 | 2016-07-28T21:46:05 | 63,797,487 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,370 | cpp | #include "word_search.h"
bool match_words(wstring sentence, vector<wstring> &word_list) {
bool found = false;
wstringstream wss(sentence);
wstring buffer;
locale::global(locale(""));
auto& f = use_facet<ctype<wchar_t>>(locale());
while (wss >> buffer) {
f.tolower(&buffer[0], &buffer[0] + buffer.size());
for... | [
"endless.journey0@gmail.com"
] | endless.journey0@gmail.com |
c86ff56ae281b5a8bf6f67959daca7a3720e22d7 | 7c3bb9218664e2ba5b74520beeebde4f68021967 | /src/dram_interface.h | cb1898faf73be471b7116ef5e83fdb632e98c04d | [] | no_license | iniverno/dnn-sim | 48216596049cc3763a9dd4782a780ff85a34940a | 58fe05387fa59795311cf87d3e997018ca39bf4d | refs/heads/master | 2021-01-23T20:00:49.649435 | 2015-07-15T21:37:58 | 2015-07-15T21:37:58 | 39,174,107 | 0 | 0 | null | 2015-07-16T03:18:55 | 2015-07-16T03:18:55 | null | UTF-8 | C++ | false | false | 1,750 | h | ////////////////////////////////////////////////////////
////////////////////////////////////////////////////////
////////////////////////////////////////////////////////
// Tayler Hetherington
// 2015
// dram.h
// DRAM interface. Current version implements a simple
// interface with a fixed latency access.
///////////... | [
"tayler.hetherington@gmail.com"
] | tayler.hetherington@gmail.com |
ba342aa4ff42721a229fd73ba655f27a53bd57ff | f90d9e130aa819f4ac9064d3af023524a1f9af1c | /Exception_Handling/Example2/Exceptionhandlig2.cpp | 635f5e1da71a5a7bb2ae65a06e5c309430dc8771 | [] | no_license | sravanti298/CPP | 3380b5f04be384e2c1df3a492965ddb94471a46e | ad679bbb31dce43fa847339b3a3cc6e1b1e30e37 | refs/heads/master | 2021-05-01T22:54:50.914754 | 2018-03-16T13:29:08 | 2018-03-16T13:29:08 | 120,925,149 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 637 | cpp | #include <iostream>
using namespace std;
int main()
{
int a,b;
cout << "Enter 2 numbers: ";
cin >> a >> b;
try
{
if (b != 0)
{
float div = (float)a/b;
if (div < 0)
throw 'e';
cout << "a/b = " << div;
}
... | [
"noreply@github.com"
] | sravanti298.noreply@github.com |
8a5ce87d06dac4595c6d77778457701167114662 | c33dd14594984213ad534399e6899c3d0f145dcb | /2.Variabel o inmatning/Lektion 1/Övning 2.3/main.cpp | 783c0ff502b62f5f3c3600736a82b184a70b982e | [] | no_license | Osama9812/C-hp | a5a3162abae1c049820eacfe262d6581e73d2e65 | 5783726b79c6a8ce5c5ca3437f310a5082ceccf9 | refs/heads/master | 2021-01-25T13:28:48.112113 | 2018-05-08T08:40:55 | 2018-05-08T08:40:55 | 123,576,381 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 246 | cpp | #include <iostream>
using namespace std;
int main ()
{
int tal = -2147483648;
cout << "talet är: " << tal<< endl;
cout << "talets värde ökas med ett" << endl;
tal = tal-1;
cout<< "talet är nu:"<< tal << endl;
return 0;
}
| [
"osab1004@live.mark.se"
] | osab1004@live.mark.se |
44077ba55ebd2446decac51f6cd61a5bd2af6e2c | db885a3d57f41cd77bbab60857005507d7978129 | /URI_1073.cpp | 0656e765b8e9f374778f854e69246ef5bdd27310 | [] | no_license | Alpha00790/C-Codes_Array-Some-URI-Solutions | d2442b99eb003e0052079efdab894472a611380d | d4ec6823867b0002ad451c97e1a981023e4465e9 | refs/heads/main | 2023-02-20T09:16:24.282583 | 2021-01-22T06:45:55 | 2021-01-22T06:45:55 | 331,511,197 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 229 | cpp |
#include<bits/stdc++.h>
using namespace std;
int main(){
int n;
cin>>n;
int x = 1,y=2;
while(x<=n){
if(x%2==0){
cout<<x<<"^"<<y<<" = "<<x*x<<endl;
}
x++;
}
}
| [
"noreply@github.com"
] | Alpha00790.noreply@github.com |
12894cb555aeb4743cea7ad86e750ce1ae430a6c | 50378cc38cf083aa5b05f45ae43b87fd801548eb | /test/fastnctest.cpp | da953c2ae8d2a9927979e2987ac7e60c68087b41 | [] | no_license | Project-Sustain/nc2csv | 322d3552abb2b7c5429e77cc0bbe7fb4744deac9 | a9b1f244053d98af13bfd5f21eed1f48fdeb761e | refs/heads/master | 2023-08-26T19:02:05.195782 | 2021-11-09T04:37:07 | 2021-11-09T04:37:07 | 386,468,341 | 0 | 0 | null | 2021-08-05T23:06:42 | 2021-07-16T01:09:43 | C++ | UTF-8 | C++ | false | false | 1,448 | cpp | #include "doctest.h"
#include "../src/fastnc.h"
#include <sstream>
TEST_CASE("Can open a one-var netCDF file with default settings") {
FastNcFile f("../resources/tos_example.nc");
REQUIRE(f.basic_dims[0] == "time");
REQUIRE(f.basic_dims[1] == "lat");
REQUIRE(f.basic_dims[2] == "lon");
REQUIRE(f.w... | [
"psmith36@rams.colostate.edu"
] | psmith36@rams.colostate.edu |
e96c6210bddea753e02789596c75c516227f6578 | 14a2d61f3b4d881014f11ca19110ee748d9b667e | /UNO/UNO/Buffer.h | 9426b67243c7a3aea3880a75606df3762e025e8a | [] | no_license | arsereg/PROYECTO-DS | f0b56a87abe8594032e936230c512bb356df1922 | 59bee4609c07a7624911e1eaa3454fc9507eab44 | refs/heads/master | 2021-08-28T10:44:57.041228 | 2017-12-12T01:11:30 | 2017-12-12T01:11:30 | 113,876,899 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 727 | h | #pragma once
#include "ColaBuffer.h"
#include "Carta.h"
#include "Especial.h"
#include <iostream>
#include <string>
#ifndef BUFFER_H
#define BUFFER_H
using std::string;
using namespace std;
class Buffer
{
public:
Buffer();
~Buffer();
ColaBuffer* getColaBuffer(void);
void setColaBuffer(ColaBuff... | [
"contacto@ginomarin.com"
] | contacto@ginomarin.com |
5d921373409c9ae3f77173bfa7dcb308fdeba9e9 | c30d4130c348a2bcf9ab6f847a03fd1d0fed78b4 | /programming.in.th/1057.cpp | cfd41faf015eb932c61065a997ae1c94b11dca76 | [] | no_license | boyplus/competitive-programming | 6278c5f9c93ce830b62aa16ed4877dc82f5dd538 | 88ead4fddb09ac2ca658ad291c0fc6e8679eedda | refs/heads/master | 2022-11-07T05:31:34.004320 | 2020-06-28T16:09:58 | 2020-06-28T16:09:58 | 67,353,435 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,040 | cpp | #include <cstdio>
#include <vector>
#include <cstring>
using namespace std;
int n_file[3000],all=0;
vector<int> file[3000];
int count[3000],n;
bool chk_error = true;
void call(int);
int main()
{
int i,j,k,m,temp;
scanf("%d",&n);
for(i=1; i<=n; ++i)
{
scanf("%d",&n_file[i]);
for(j=0; j<n_... | [
"ict224bj@gmail.com"
] | ict224bj@gmail.com |
9d1be5c6bc983b95f54c2151f714a6f97327d488 | 7f62f204ffde7fed9c1cb69e2bd44de9203f14c8 | /DboClient/Client/NetPySideIconGui.h | 3b092e468df962e1b80dbcb3a9e6a0e40d479333 | [] | no_license | 4l3dx/DBOGLOBAL | 9853c49f19882d3de10b5ca849ba53b44ab81a0c | c5828b24e99c649ae6a2953471ae57a653395ca2 | refs/heads/master | 2022-05-28T08:57:10.293378 | 2020-05-01T00:41:08 | 2020-05-01T00:41:08 | 259,094,679 | 3 | 3 | null | 2020-04-29T17:06:22 | 2020-04-26T17:43:08 | null | UHC | C++ | false | false | 1,036 | h | #pragma once
// core
#include "ceventhandler.h"
#include "NtlSLEvent.h"
// presentation
#include "NtlPLGui.h"
// dbo
#include "SideIconGui.h"
/**
* \ingroup Client
* \brief PC방 NetPy 정보/알림및 상점용 사이드 아이콘
*
* \date 2009-04-20
* \author agebreak
*/
class CNetPySideIconGui : public CSideIconBase, public RWS::CEven... | [
"64261665+dboguser@users.noreply.github.com"
] | 64261665+dboguser@users.noreply.github.com |
7738ba270c08584113412d89d5a568d61e67d1d3 | f68c1a09ade5d969f3973246747466e4a540ff74 | /src/prod/src/Reliability/Failover/fm/FailoverManager.h | 6713982953ada06b027a3e72b08ca4e2c949d2d2 | [
"MIT"
] | permissive | GitTorre/service-fabric | ab38752d4cc7c8f2ee03553372c0f3e05911ff67 | 88da19dc5ea8edfe1c9abebe25a5c5079995db63 | refs/heads/master | 2021-04-09T10:57:45.678751 | 2018-08-20T19:17:28 | 2018-08-20T19:17:28 | 125,401,516 | 0 | 0 | MIT | 2018-03-15T17:13:53 | 2018-03-15T17:13:52 | null | UTF-8 | C++ | false | false | 25,430 | h | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
#pragma once
namespace Reliab... | [
"noreply-sfteam@microsoft.com"
] | noreply-sfteam@microsoft.com |
15e7262fb9d1aad563918345ad14bab865a73910 | c733ab88742549260ef092046207168fddc10445 | /mine/8/sstream.cc | 023a5564b3013ec22f4b6f2f6fa37311311736f1 | [] | no_license | sundongxu/CppPrimer-5E | b7cdc020f54cd8e6976ab34423a58ac4c77b6916 | de66515b9030d7ad45241f17fa1b2246b3d85b30 | refs/heads/master | 2021-04-12T08:52:35.512863 | 2018-04-02T08:17:49 | 2018-04-02T08:17:49 | 126,711,670 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,759 | cc | #include <iostream>
#include <fstream>
#include <sstream>
#include <string>
#include <vector>
using namespace std;
struct PersonInfo
{
string name;
vector<string> phones;
};
string format(const string &s) { return s; }
bool valid(const string &s)
{
// we'll see how to validate phone numbers
// in ch... | [
"371211947@qq.com"
] | 371211947@qq.com |
fdb1bdbf42a855029953deddc5b594b935cc83ae | 413469429ed05b95b83a453366f4492d7a902ce5 | /ListContainer/ListContainer/List.h | 066360351e268948a87842624eece8141934e710 | [] | no_license | Krzyrok/Cpp-CustomList | 003461c5e56e116183dbc3300dba7f9e740af35f | e87ec2e0268fc58cd6c258863c919e6349e5b341 | refs/heads/master | 2021-01-23T16:37:26.762679 | 2015-07-12T19:49:49 | 2015-07-12T19:49:49 | 38,967,232 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,896 | h | #ifndef LIST_HEADER
#define LIST_HEADER
#include "ListIterator.h"
#include "Functor.h"
#include "BinaryFunctor.h"
#include "CompareFunctor.h"
template<class Type, class Allocator = allocator<Type>>
class List
{
public:
typedef typename ListIterator<Type, Allocator> iterator;
typedef typename ConstListIterator<Type,... | [
"krzyrok@gmail.com"
] | krzyrok@gmail.com |
1d65b5b6261a1e3750d26793b6c076273db69cfd | 2bf8dbf569b37fcefdf4d6fbc365bc83dacad795 | /Source/TestingGrounds/Character/StdCharacter.h | 8cba9dc1f58866941151c71e87cb442c778f5d87 | [] | no_license | StickwormsUnrealCourse/TestingGrounds | c00d02858f3b5496c272b6ac8befaab74dc9167f | cc80d6f0b3c7d70017cbde52762ca68adee663e3 | refs/heads/master | 2021-01-01T18:31:16.239376 | 2017-08-12T15:24:52 | 2017-08-12T15:24:52 | 98,352,290 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,186 | h | #pragma once
#include "CoreMinimal.h"
#include "GameFramework/Character.h"
#include "StdCharacter.generated.h"
UCLASS()
class TESTINGGROUNDS_API AStdCharacter : public ACharacter
{
GENERATED_BODY()
public:
AStdCharacter();
protected:
virtual void BeginPlay() override;
public:
// virtual void Tick(float DeltaTi... | [
"davespreston@.com"
] | davespreston@.com |
313459b64e4b292547ddde2eb47547a6038529eb | 8cf32b4cbca07bd39341e1d0a29428e420b492a6 | /contracts/libc++/upstream/test/std/input.output/iostream.format/input.streams/iostreamclass/iostream.cons/streambuf.pass.cpp | 7a95740084667a39721d6286cf1c82beefe2f13e | [
"NCSA",
"MIT"
] | permissive | cubetrain/CubeTrain | e1cd516d5dbca77082258948d3c7fc70ebd50fdc | b930a3e88e941225c2c54219267f743c790e388f | refs/heads/master | 2020-04-11T23:00:50.245442 | 2018-12-17T16:07:16 | 2018-12-17T16:07:16 | 156,970,178 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,617 | cpp | //===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===---------------------------------... | [
"1848@shanchain.com"
] | 1848@shanchain.com |
3a474d3dd8cd51db543f7aae765e9a35c758f7ff | fcaf10e6e8020d9bdf832523d924ff566bfd6b95 | /sequence/unordered_array.cpp | fbe98e31c87e985a00e224eca89a04f1cd47b95b | [
"0BSD"
] | permissive | CPU-Code/-c_course | 08816e92941e4209556775e68315036b306b45f0 | ffd9241b6b6b4711ec76a828a1fd808290b67dc9 | refs/heads/master | 2022-11-21T21:05:50.073950 | 2020-07-26T08:49:53 | 2020-07-26T08:49:53 | 278,999,036 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,081 | cpp | /*
* @Author: cpu_code
* @Date: 2020-07-26 16:48:47
* @LastEditTime: 2020-07-26 16:49:28
* @FilePath: \-c_course\sequence\unordered_array.cpp
* @Gitee: https://gitee.com/cpu_code
* @Github: https://github.com/CPU-Code
* @CSDN: https://blog.csdn.net/qq_44226094
* @Gitbook: https://923992029.gitbook.io/cpucode/
... | [
"923992029@qq.com"
] | 923992029@qq.com |
cc289d5f6e23bbb522ff99a07722e320cf109b4c | e1e058e2f8bb6a7edf03d230fb79963349cdddf4 | /Game/PvPScreen.h | 54103189b2da2810b20e075c92e3a8f10fa18b77 | [] | no_license | Harumix/Game | ab0021c7d8770eacc464948ca9ee79d070833ed1 | 29e5fa796c74bb34836418ca633050d32effe885 | refs/heads/master | 2020-04-29T03:43:05.989444 | 2019-06-08T19:01:42 | 2019-06-08T19:01:42 | 175,821,035 | 0 | 1 | null | 2020-11-19T15:33:02 | 2019-03-15T13:01:14 | C++ | UTF-8 | C++ | false | false | 264 | h | #pragma once
#include <memory>
#include "Game.hpp"
class PvPScreen : public State
{
public:
PvPScreen(std::shared_ptr<GameBase> data);
void handleInput() override;
void update() override;
void draw() override;
private:
std::shared_ptr<GameBase> data_;
};
| [
"artur.jackowiak@op.pl"
] | artur.jackowiak@op.pl |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.