blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 2 247 | content_id stringlengths 40 40 | detected_licenses listlengths 0 57 | license_type stringclasses 2
values | repo_name stringlengths 4 111 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringlengths 4 58 | visit_date timestamp[ns]date 2015-07-25 18:16:41 2023-09-06 10:45:08 | revision_date timestamp[ns]date 1970-01-14 14:03:36 2023-09-06 06:22:19 | committer_date timestamp[ns]date 1970-01-14 14:03:36 2023-09-06 06:22:19 | github_id int64 3.89k 689M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 25
values | gha_event_created_at timestamp[ns]date 2012-06-07 00:51:45 2023-09-14 21:58:52 ⌀ | gha_created_at timestamp[ns]date 2008-03-27 23:40:48 2023-08-24 19:49:39 ⌀ | gha_language stringclasses 159
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 7 10.5M | extension stringclasses 111
values | filename stringlengths 1 195 | text stringlengths 7 10.5M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ae61bd1ee18c6c0afb8b3ca2f6c8c4522ec26c36 | 7c1a2f169fe4a88b72baac39301afeb51a455857 | /bin/deltam_cr.hpp | 89e80e36cf3cf1f91622caa144f1ea7580500fc4 | [] | no_license | matteo-dc/riqed | 8b34317f6c6a601cc13468e77b43ee50ceaba617 | 31eba54c173e17a23ecd2cde9a65e35c3daeaea4 | refs/heads/master | 2022-12-29T17:29:55.042226 | 2018-05-02T16:19:44 | 2018-05-02T16:19:44 | 92,728,300 | 0 | 1 | null | 2018-02-05T13:41:23 | 2017-05-29T10:10:16 | C++ | UTF-8 | C++ | false | false | 52 | hpp | deltam_cr.hpp | #ifndef DELTAM_CR_HPP
#define DELTAM_CR_HPP
#endif |
f151e7071f60763d84f75d817fa784d93e92cc4e | dc2656823dcdf9df818402b1e539ea7741663a14 | /2_两数相加.cpp | 2dbc0395c922930a6a3b271a673889bf77efd4a0 | [] | no_license | Husaimawx/MyLeetcode | e1dab1191516188a204e9b7868cd129a0b1b4112 | eeb6dc934ad2b76b1aca79b43b9da494126c2aca | refs/heads/main | 2023-07-29T00:13:14.419480 | 2021-09-19T05:54:34 | 2021-09-19T05:54:34 | 408,043,526 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,687 | cpp | 2_两数相加.cpp | #include <iostream>
#include <string>
#include <stdlib.h>
using namespace std;
//Definition for singly-linked list.
struct ListNode {
int val;
ListNode *next;
ListNode(int x) : val(x), next(NULL) {}
};
class Solution {
public:
string* stdin_to_string(){
string stdin;
getline(cin,stdin);... |
e064b5757889d8e5d690f59ab83aa733d81f0014 | 701627009d06bf746544b48ed6ab1e1877e3cce7 | /Circuit/main.cpp | f46ba786c5d1fff26ecb36b599cbd70ba5377a55 | [] | no_license | d-robbins/CircuitSimulator | 1902dad9f0da4f6f43d4b33125d25b270b34bcab | bc601f5925c98b8d4addd3fc04f26f8b14d66da1 | refs/heads/main | 2023-04-23T19:08:53.457200 | 2021-05-05T17:42:55 | 2021-05-05T17:42:55 | 359,702,736 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,739 | cpp | main.cpp | #include <iostream>
#include <SFML/Graphics.hpp>
#include "Board.h"
#include "Component.h"
#include "Wire.h"
#include "Menu.h"
int main()
{
std::cout << sizeof(double) << std::endl;
sf::View view(sf::FloatRect(0, 0, 1280, 720));
sf::RenderWindow window(sf::VideoMode(1280, 720), "Circuit Sim");
windo... |
59f40ed9c1dd072e21c81809c7fc747efae0c7d0 | 230764d82733fac64c3e0eae1ce0a4030965dc4a | /aistreams/util/file_helpers.h | d7e70557f9bbbb325069cbcd864f4049cb9b1c1d | [
"Apache-2.0"
] | permissive | isabella232/aistreams | 478f6ae94189aecdfd9a9cc19742bcb4b4e20bcc | 209f4385425405676a581a749bb915e257dbc1c1 | refs/heads/master | 2023-03-06T14:49:27.864415 | 2020-09-25T19:48:04 | 2020-09-25T19:48:04 | 298,772,653 | 0 | 0 | Apache-2.0 | 2021-02-23T10:11:29 | 2020-09-26T08:40:34 | null | UTF-8 | C++ | false | false | 1,319 | h | file_helpers.h | /*
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
9d4891fe5868fea954b6b726c8da9c89809db2d9 | 2bb0725d62e75bfb901005610b8ee40fd0d9f40f | /OBI/2003/Elastico/elastico.cpp | a925359527301d47791143e87c4525f6c021ada9 | [] | no_license | geraldolsribeiro/contests | 623965ede4536ef9654866a1b991c8abf10369f0 | 5c41e07c1e54a48b15ab1816190ac571c8a35593 | refs/heads/master | 2021-01-21T21:05:13.464323 | 2017-03-09T18:35:18 | 2017-03-09T18:35:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,471 | cpp | elastico.cpp | /*****************************
* Elastico - Seletiva IOI 2003
*
* Autor: Vinicius J. S. Souza
* Data: 21/07/2010
* Tecnicas: programacao dinamica + geometria computacional
* Dificuldade: 7
*******************************/
#include<iostream>
#include<cstdio>
#include<algorithm>
#include<cmath>
using namespace std;
s... |
39a476398c5a2457c3869d96912d9b6d452db180 | 877fff5bb313ccd23d1d01bf23b1e1f2b13bb85a | /app/src/main/cpp/dir7941/dir7942/dir8062/dir8063/dir12766/dir12767/dir13029/dir15097/dir15260/dir15321/dir15524/dir15932/dir16377/file16432.cpp | 4270c4023e4323965d2b3b63856729c23c3c8c20 | [] | no_license | tgeng/HugeProject | 829c3bdfb7cbaf57727c41263212d4a67e3eb93d | 4488d3b765e8827636ce5e878baacdf388710ef2 | refs/heads/master | 2022-08-21T16:58:54.161627 | 2020-05-28T01:54:03 | 2020-05-28T01:54:03 | 267,468,475 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 115 | cpp | file16432.cpp | #ifndef file16432
#error "macro file16432 must be defined"
#endif
static const char* file16432String = "file16432"; |
d24bc5978acd74d1fa1eb2d73f9e60585474350d | fb360e279486848df52bbc0b50952f1e102fcd4d | /src/core/fuckmake.h | 60924deec0742186b6af991aecbdea0c1c8c34b6 | [
"MIT"
] | permissive | JeppeSRC/FuckMake | 70e586e2ac8187e56da7575ae83b143b880bac4b | 5d31a48353cc1744cd5dff4fd99f857ceb195890 | refs/heads/master | 2022-05-28T00:38:10.214563 | 2022-05-22T08:04:45 | 2022-05-22T08:20:10 | 196,611,082 | 8 | 1 | MIT | 2021-03-18T17:06:27 | 2019-07-12T16:26:42 | C++ | UTF-8 | C++ | false | false | 1,706 | h | fuckmake.h | #pragma once
#include <util/list.h>
#include <util/string.h>
#include <omp.h>
struct Variable {
String name;
String value;
};
struct Action {
String name;
List<String> actions;
};
struct Target {
String name;
List<String> targets;
};
class FuckMake {
private:
List<Variable> variable... |
c30d48f52055c8c41a41679738a58fea4a48eab8 | 3c085d2e66d7b6e54a41bebfef42cd7185414e05 | /RevisingQuadEquaHB.cpp | c9703cebb0366a3e80ce99f6b64972ad4515e7e4 | [] | no_license | Vortez2471/Coding-Blocks-Launchpad-II | 2424ef41490c400960da2d6c66f10915e779f486 | c7dd4f25de79f5a9fd9fec1e290f50bc824dec05 | refs/heads/master | 2020-07-04T20:13:11.315843 | 2019-08-14T18:07:31 | 2019-08-14T18:07:31 | 202,401,101 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 410 | cpp | RevisingQuadEquaHB.cpp | #include<iostream>
#include<bits/stdc++.h>
#include<algorithm>
using namespace std;
#define ll long long
void quad(ll a,ll b,ll c)
{
ll sum=b*b-4*a*c;
if(sum<0)
cout<<"Imaginary";
if(sum==0)
cout<<"Real and Equal\n"<<(-b/(2*a))<<" "<<(-b/(2*a));
else
cout<<"Real and Distinct\n"<<((-b-sqrt(sum))/(2*a))<<" "<<(... |
fe86bdfb867d100bbb788f9f81c6e944d6bc0a9e | fede625fdba4acf6c09c97d1a8a1f4f083818f81 | /source/util.cpp | 8e012d66004a72da5e95f150a8ac6e2a917d1d37 | [] | no_license | Stary2001/upd8er | c9ea4a62b8f8c1862f666e8faf7107e6e51c0860 | b7adf7da2473189364b84b9ae61f0e875565c3a9 | refs/heads/master | 2021-01-21T15:27:56.915976 | 2017-06-23T15:00:58 | 2017-06-23T15:00:58 | 91,847,296 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,644 | cpp | util.cpp | #include <fstream>
#include <3ds.h>
#include <stdlib.h>
#include <string.h>
#include "util.h"
Result util::file_sha256(std::string file, u8 *hash)
{
Result res;
std::ifstream f(file.c_str(), std::ios::in | std::ios::binary);
f.seekg(0, std::ios::end);
size_t file_sz = f.tellg();
f.seekg(0, std::ios::beg);
u8 *... |
25f96dcea248e382f6bf6c4ce7521f059879e584 | b0eb5f8c2656afa1a77e3dfb407d03025a9c1d84 | /D3D11/DisplacementMapping/Main/DisplacementMappingApp.cpp | f083e862f899d151d4917783d932ca3207bed357 | [] | no_license | mandragorn66/dx11 | ee1126d6487dfe0dac1c1d3aa945f39510a446f5 | 7807a73bd58011e1fc43dc3a4404ed4e9027bc39 | refs/heads/master | 2021-01-13T02:03:14.816972 | 2014-05-31T20:58:16 | 2014-05-31T20:58:16 | 35,515,523 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,816 | cpp | DisplacementMappingApp.cpp | #include "DisplacementMappingApp.h"
#include <DirectXColors.h>
#include <DirectXMath.h>
#include <DxErrorChecker.h>
#include <GeometryGenerator.h>
#include <MathHelper.h>
namespace
{
const float gMinTessellationFactor = 0.0001f;
const float gMaxTessellationFactor = 5.0f;
const float gTessel... |
1df570455de72c11d047b2d365a723d8bdfc8186 | 4bd79e21347c371725f3438eaf7f925670f61cfe | /src/parameter_controller.cpp | fce700507358d49bc48887d125565b4f709daac4 | [
"MIT"
] | permissive | liqiangnlp/WordRepresentation | a304b5a3ab560ab2c179454b525f1ade23db0b7a | b4de2c60eb79373a601ce904e1acb86577425e48 | refs/heads/master | 2021-01-19T23:25:35.511197 | 2017-03-03T10:14:45 | 2017-03-03T10:14:45 | 83,785,433 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,687 | cpp | parameter_controller.cpp | /*
* $Id:
* 0003
*
* $File:
* parameter_controller.cpp
*
* $Proj:
* WordRepresentation
*
* $Func:
* header file of control parameters
*
* $Version:
* 1.0.0
*
* $Created by:
* Qiang Li
*
* $Email
* liqiangneu@gmail.com
*
* $Last Modified by:
* 2012-12-04,09:56
*/
#include "parameter_controller.h... |
d5910c4af50dbcd192b79531f07dad838eb0adaa | be4b1a68e9a14b02c7ef9ab0809a0f3f018b8d49 | /Engine/Code/Engine/Renderer/MeshGenerator.cpp | 26855c7f1935b269d407a3bdcac2a58900d82426 | [] | no_license | rayray0117/EV1_Projects | 2df6bcc5ad23011ca7ee04fe8d4773f29bbfe890 | 4851a9d2c280757279a8c2929607593da52372e5 | refs/heads/master | 2021-09-14T03:44:39.343253 | 2018-05-07T20:12:11 | 2018-05-07T20:12:11 | 124,570,896 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,167 | cpp | MeshGenerator.cpp | #include "Engine/Renderer/MeshGenerator.hpp"
#include "../Core/EngineBase.hpp"
void MeshGenerator::TestVoxel(const Vector3& position, std::vector<Vertex3D>& vertexBuffer)
{
//Bottom (-Z)
vertexBuffer.push_back(Vertex3D(position + Vector3(0.f, 1.f, 0.f), Vector2(0.f, 0.f), Rgba(127, 127, 0)));
vertexBuffer.push_back... |
a3115da1ff27f58e14c8e7c7dc070db3a1a439ff | dfd413672b1736044ae6ca2e288a69bf9de3cfda | /chrome/common/json_value_serializer.cc | 1e739e6bde24e31c612bb7b00859f6710d1734d0 | [
"BSD-3-Clause"
] | permissive | cha63506/chromium-capsicum | fb71128ba218fec097265908c2f41086cdb99892 | b03da8e897f897c6ad2cda03ceda217b760fd528 | HEAD | 2017-10-03T02:40:24.085668 | 2010-02-01T15:24:05 | 2010-02-01T15:24:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,764 | cc | json_value_serializer.cc | // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/common/json_value_serializer.h"
#include "base/file_util.h"
#include "base/json/json_reader.h"
#include "base/json/json_writer.... |
f81f99c91c5a35b6d03804179f2c933e8c99410b | 781c0521d2c6144af49f0bf8f493ce1559a4f340 | /test/SanityTest.cpp | a97c8a2e73e5b2f59adfb247527dae67a006afbb | [
"Unlicense"
] | permissive | WebF0x/StrongAI | e165ae31e729627ee3b00df00a3a174be9ffcf74 | 970f95869782401988a33f8fe484c16bfd3b3d5b | refs/heads/master | 2020-04-15T16:57:10.500245 | 2016-09-02T15:34:21 | 2016-09-02T15:34:21 | 15,386,260 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,706 | cpp | SanityTest.cpp | #include "UnitTest++/UnitTest++.h"
#include <vector>
#include <exception>
SUITE( SanityTest )
{
TEST( check )
{
CHECK( true );
}
TEST( checkEqual )
{
const int expected = 42;
const int actual = 42;
CHECK_EQUAL( expected, actual );
}
TEST( checkClose )
... |
ac6f0ff7040a8be2c6c174c7824aedd9017473a8 | a451485f8045e7d7f364f7b92d0bfa468678c3ad | /grading/sphere.cpp | 48aa3b9b4fccc7f375f094cdfc25ed078f04d996 | [] | no_license | ChauAbdul786/CS130Project1 | 3d219d9c8845b2f89be98a9ebf4327784e3cc892 | 3b20c296a0210eda3213d2f47e5d2c33c512fbf6 | refs/heads/master | 2023-08-17T12:51:01.168870 | 2021-10-16T00:42:53 | 2021-10-16T00:42:53 | 416,557,837 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,661 | cpp | sphere.cpp | #include "sphere.h"
#include "ray.h"
// Determine if the ray intersects with the sphere
Hit Sphere::Intersection(const Ray& ray, int part) const
{ //(a) t^2 * dot(B, B) +
//(b) 2t * dot(B, A - C) +
//(c) dot(A - C, A - C) - r^2
//Where A = vec endpoint
// B = direction vector
// C = c... |
9509c00b4c8030648d8413672ff35ee60149040c | e94559835dec204537927865800f95b81a191b7f | /Tympan/geometric_methods/ConvexHullFinder/TYCalculParcours.cpp | 94f0037c4c77be02e93c421372ebd3a27b9833ec | [] | no_license | FDiot/code_tympan3 | 64530a3fc8a392cdbe26f478a9ea9ce03abab051 | cf4383c4a162962b68df470e2bf757ad534880b9 | refs/heads/master | 2022-04-07T10:54:05.711913 | 2019-10-24T13:27:42 | 2019-10-24T13:27:42 | 239,812,326 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 19,884 | cpp | TYCalculParcours.cpp | /*
* Copyright (C) <2012> <EDF-R&D> <FRANCE>
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
* This program is di... |
6b667f9626e4f31b2cc6c96d6629ff9d2cdd4a1d | 4e2670544e785abfd9e3691e5edbb86e86d2aa03 | /AdInfinitumSept14/SG.cpp | ea9303b5396279fd8acfb491daf6be31ad8039d3 | [] | no_license | Anmol2307/Hackerrank | f7eab0bc5baee70cd1a39ce1d32d6a8a17c2a700 | b39884b38948d1027e49b115e4338811654f4c19 | refs/heads/master | 2020-08-04T21:46:31.718524 | 2015-06-14T19:41:17 | 2015-06-14T19:41:17 | 19,476,257 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,687 | cpp | SG.cpp | #include <bits/stdc++.h>
using namespace std;
inline void inp(int &n ) {//fast input function
n=0;
int ch=getchar(),sign=1;
while( ch < '0' || ch > '9' ){if(ch=='-')sign=-1; ch=getchar();}
while( ch >= '0' && ch <= '9' )
n=(n<<3)+(n<<1)+ ch-'0', ch=getchar();
n=n*sign;
}
typedef unsigned l... |
f67caf02577d49888867eb3d1829bf4778d31a24 | 317f2542cd92aa527c2e17af5ef609887a298766 | /tools/target_10_2_0_1155/qnx6/usr/include/QtLocationSubset/qgeoboundingbox.h | 2cb7e58f72bca31e9f426cb388b0ba9d9841d695 | [] | no_license | sborpo/bb10qnx | ec77f2a96546631dc38b8cc4680c78a1ee09b2a8 | 33a4b75a3f56806f804c7462d5803b8ab11080f4 | refs/heads/master | 2020-07-05T06:53:13.352611 | 2014-12-12T07:39:35 | 2014-12-12T07:39:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,810 | h | qgeoboundingbox.h | /****************************************************************************
**
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the Qt Mobility Components.
**
** $QT_BEGIN_LICENSE:LGPL$
** No Comme... |
930ac568c56f80bf1bce9600e287f1e70d817bbf | fb3c1e036f18193d6ffe59f443dad8323cb6e371 | /src/flash/AVMSWF/api/flash/display/AS3Scene.h | 1c76f8ce8bd6cb7f629555e8bff942a324a7c130 | [] | no_license | playbar/nstest | a61aed443af816fdc6e7beab65e935824dcd07b2 | d56141912bc2b0e22d1652aa7aff182e05142005 | refs/heads/master | 2021-06-03T21:56:17.779018 | 2016-08-01T03:17:39 | 2016-08-01T03:17:39 | 64,627,195 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,458 | h | AS3Scene.h | #ifndef _AS3Scene_
#define _AS3Scene_
namespace avmplus{namespace NativeID{
class SceneClassSlots{
friend class SlotOffsetsAndAsserts;
public://Declare your STATIC AS3 slots here!!!
private:};
class SceneObjectSlots{
friend class SlotOffsetsAndAsserts;
public:
//Declare your MEMBER AS3 slots here!!!
privat... |
4bb94774c2c343e8aa58d08350fa9fa65f0186b3 | 5054030b328525f129b62a7975815b6ea815e500 | /main.cpp | ec4f393db6169158ca6de99a8c25a9d0875efb2a | [] | no_license | Babin6139/Linkedlist | bac32deeeeb2b94df9d79846c04555a9b6bf1030 | ea47048798fb64d75bccd6d2363dd17c00f72337 | refs/heads/master | 2020-09-20T19:46:27.108755 | 2019-11-27T23:36:29 | 2019-11-27T23:36:29 | 224,575,197 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 291 | cpp | main.cpp | #include <iostream>
#include "linked.h"
using namespace std;
int main(){
List l1;
l1.addToHead(1);
l1.addToHead(2);
l1.addToHead(4);
l1.addToHead(4);
l1.traverse();
Node* outputptr=new Node();
l1.retrieve(2,outputptr);
cout<<outputptr->info;
l1.add
}
|
2794003764594e641edeb4c65c57acc43e96d7b6 | 196c2e381d1119cb1481f41334e6c1af791aa06a | /BOJ/20. 분할정복/2263 트리의 순회.cpp | 2d88a8c7318b9a30a575b1164106bc7690be3627 | [] | no_license | YuSangBeom/algorithm | 5541d70422c8e5fa67c6fb1ef571dd184a093bdf | d31dbcf240a4dc24744ff5c4caf4ccf1db846119 | refs/heads/master | 2023-05-01T12:10:03.547130 | 2021-05-16T14:53:56 | 2021-05-16T14:53:56 | null | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 4,762 | cpp | 2263 트리의 순회.cpp | ////#include<iostream>
////#include<vector>
////#include<algorithm>
////
////using namespace std;
////
////vector<int> postorder, inorder;
////
////
//////struct TreeNode {
////// string label; //저장할 자료 (물론 꼭 문자열일 필요는 없다.)
////// TreeNode* parent; //부모 노드를 가리키는 포인터
////// vector<TreeNode*> children; //자손 노드들을 가리키는 포인터의... |
10afc645ab19e9752025f55d14dc4cdabe26e58f | e5a65c61cffefdd60494c79abc8ffc59113af688 | /gaspar/src/cs2604/huffman/decode.cpp | d2009ce3d6cc19035c831319df749ec3c87b00a3 | [] | no_license | kejadlen/college | f784b09d7352d4c1a021c083de93c181eb9c2244 | 8e044ac3201d26c2da5d0d87dc84c472858bdbda | refs/heads/master | 2023-01-06T03:38:52.669619 | 2012-02-12T23:36:04 | 2012-02-12T23:36:04 | 3,425,142 | 0 | 0 | null | 2022-12-31T16:33:35 | 2012-02-12T22:14:23 | TeX | UTF-8 | C++ | false | false | 289 | cpp | decode.cpp | #include "Huffman.cpp"
int main(int argc, char **argv) {
if(argc != 4) {
cout<<"decode needs three arguments: treefile, encodedmessagefile, messagefile"<<endl;
exit(0);
}
else {
Huffman *temp = new Huffman();
temp->decodeFile(argv[1], argv[2], argv[3]);
delete temp;
}
}
|
ddc43383db93cc3b9d1f0ee5ca383e4e75cc2597 | c8b39acfd4a857dc15ed3375e0d93e75fa3f1f64 | /Engine/Source/ThirdParty/IntelTBB/IntelTBB-4.0/src/tbb/tbb_main.cpp | b7a3219062581326837c2a59f30f5bb6a44a7e44 | [
"MIT",
"LicenseRef-scancode-proprietary-license"
] | permissive | windystrife/UnrealEngine_NVIDIAGameWorks | c3c7863083653caf1bc67d3ef104fb4b9f302e2a | b50e6338a7c5b26374d66306ebc7807541ff815e | refs/heads/4.18-GameWorks | 2023-03-11T02:50:08.471040 | 2022-01-13T20:50:29 | 2022-01-13T20:50:29 | 124,100,479 | 262 | 179 | MIT | 2022-12-16T05:36:38 | 2018-03-06T15:44:09 | C++ | UTF-8 | C++ | false | false | 8,946 | cpp | tbb_main.cpp | /*
Copyright 2005-2012 Intel Corporation. All Rights Reserved.
The source code contained or described herein and all documents related
to the source code ("Material") are owned by Intel Corporation or its
suppliers or licensors. Title to the Material remains with Intel
Corporation or its supplier... |
cacc4c547837c851760bed8441041cdeee704fd4 | 7395135e922f4780774b89140f4bee0bbd659994 | /src/pandas/dispatch.cc | 5cced21d24c4a94b37fdf298f86f3b9abeade8e3 | [
"BSD-3-Clause",
"LicenseRef-scancode-other-permissive",
"BSD-2-Clause"
] | permissive | femtotrader/pandas2 | 0c631fd0077421e9bc2b356625b3391696abb8ff | 10ba4cbde079367e72aa4e646d9f2be5ff3c2151 | refs/heads/pandas-2.0 | 2021-01-13T05:49:49.894393 | 2016-10-27T22:29:37 | 2016-10-27T22:29:37 | 72,233,768 | 0 | 0 | null | 2016-10-28T18:52:47 | 2016-10-28T18:52:47 | null | UTF-8 | C++ | false | false | 1,074 | cc | dispatch.cc | // This file is a part of pandas. See LICENSE for details about reuse and
// copyright holders
#include "pandas/dispatch.h"
#include "pandas/common.h"
namespace pandas {
#define MAKE_TYPE_CASE(NAME, CapName) \
case NAME: \
*out = new CapName##Type(); \
break;
Status primiti... |
d5121c5a9d80793cd28477fe0f8c72f3c2f17bdc | e83fd6a92810c746415a0648306ba2549d2df6ce | /src/Physics/SphereCollider.cpp | 81c7ed603276adba1b3d46a5cb8c6e8df5ec511f | [] | no_license | Craigspaz/Axle | e59906af68a9d9b7e3fc7902cb4b70d630b09811 | 9a37162e393dba9f1a5b5769a6d88cd59a3e4a37 | refs/heads/master | 2023-06-05T15:08:47.044512 | 2021-06-23T01:38:12 | 2021-06-23T01:38:12 | 114,414,532 | 0 | 0 | null | 2020-10-12T18:05:57 | 2017-12-15T21:59:07 | C | UTF-8 | C++ | false | false | 112 | cpp | SphereCollider.cpp | #include "Physics/SphereCollider.h"
SphereCollider::SphereCollider()
{
}
SphereCollider::~SphereCollider()
{
} |
54e64ccbcd77e8a60a21254ea3b637490847c60a | fa35fbd2bd6c5e169cceedf5e571154e857fa841 | /Busca.cpp | 81f7a807658f1ed5f0aa865b38f0be74bacd3087 | [] | no_license | feknows/estruturajean | 36a45e4b9acbedcf6dfa4fcb34b18e7c82c29173 | c2aa1e8c4fbb0b902f9a5b5bb042513531f36b80 | refs/heads/master | 2021-06-22T20:58:54.861511 | 2017-08-24T23:16:25 | 2017-08-24T23:16:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 366 | cpp | Busca.cpp | /* Algoritmo sequencial ou linear de Busca */
#include<stdio.h>
#include<conio.h>
#include<stdlib.h>
#include<string.h>
main(){
int vetor[6]={2,5,1,6,9,44};
int chave=9;
for(int i=0;i<6;i++){
if (vetor[i]==chave){
printf("\n\n Achado no indice %d",i);
// break; se tiver valor repetido ... |
cb04a987e9ae42dc72151af5f48b5fe494b95f50 | 23819413de400fa78bb813e62950682e57bb4dc0 | /Rounds/Round-659/a.cpp | cbff0fd0bcbcd1b5f52d408ea9e7a81e4bf87d6f | [] | no_license | Manzood/CodeForces | 56144f36d73cd35d2f8644235a1f1958b735f224 | 578ed25ac51921465062e4bbff168359093d6ab6 | refs/heads/master | 2023-08-31T16:09:55.279615 | 2023-08-20T13:42:49 | 2023-08-20T13:42:49 | 242,544,327 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 666 | cpp | a.cpp | #include<bits/stdc++.h>
using namespace std;
#define debug(x) cout<<#x<<" = "<<x<<endl;
int main() {
int t;
cin >> t;
while (t--) {
int n;
scanf("%d", &n);
vector <int> a(n);
for (int i=0; i<n; i++) {
scanf("%d", &a[i]);
}
vector <string> ans(n+1);
for (int i=0; i<n+1; i++) {
ans[i] = "";
if ... |
7ee378a256943dd1c7212dff42bb2a2f83649507 | 25ebfb3313fc4c816959d5546001652b5d4fa610 | /StreetFighter/ModuleScenerySelection.cpp | b35733d5caa6188643ee86f5f839ccdfa0de2ee9 | [] | no_license | N4bi/Street-Fighter | 21eb42d42992ea5683b4207dc1f09205f258c842 | 73a57aad7313d55d453d6032920d2af17174bf8d | refs/heads/master | 2016-09-05T14:46:47.022031 | 2015-06-12T04:35:23 | 2015-06-12T04:35:23 | 34,381,544 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,800 | cpp | ModuleScenerySelection.cpp | #include "Globals.h"
#include "Application.h"
#include "ModuleScenerySelection.h"
ModuleScenerySelection::ModuleScenerySelection(Application* app, bool start_enabled) : Module(app, start_enabled)
{
graphics = NULL;
//map
/* map.x = 50;
map.y = 50;
map.w = 150;
map.h = 150;*/
map.x = 405;
map.y = 426;
map... |
65e01f7087c27dd1c6f5aa1133b2686fca311fb6 | e3f4c50130dac43b07e19778b9c002a3b3c1c3ee | /ZigbeeEndpoint/Arduino/zb_motionsensor/zb_motionsensor.ino | 48c8b17dda08bce11ba02399a3495bc34c98a138 | [] | no_license | firefeather/SyntroZigbee | 44d22664800fe0f60e8d59e92fb05d75e94a5788 | 8de1168d3738a1d723cd868bf93f0f648ae84561 | refs/heads/master | 2020-12-06T19:13:44.537567 | 2013-05-09T12:24:05 | 2013-05-09T12:24:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,501 | ino | zb_motionsensor.ino | //
// Copyright (c) 2012 Pansenti, LLC.
//
// This file is part of Syntro
//
// Syntro 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 ... |
288538d2b9c8447df69c6e4e3ae5979171a0140e | 01104279b836ad0d787e5792ec24159d84516cee | /MyMFC/CDataDirectory.h | b92e3682f6a9e85f91a1dc2f596a169e18055179 | [] | no_license | keeplearning/MyHousekeeper | 3e019ee85bd781eae16f4c502b012d2e7a18e12f | 4706ccbf59669979c8df135929edae53c87cde7f | refs/heads/master | 2020-04-03T20:50:51.385523 | 2018-10-31T13:17:57 | 2018-10-31T13:17:57 | 155,560,376 | 8 | 6 | null | null | null | null | GB18030 | C++ | false | false | 741 | h | CDataDirectory.h | #pragma once
// CDataDirectory 对话框
class CDataDirectory : public CDialogEx
{
DECLARE_DYNAMIC(CDataDirectory)
public:
CDataDirectory(LPBYTE pBuff, IMAGE_NT_HEADERS *pNt, CWnd* pParent = nullptr); // 标准构造函数
virtual ~CDataDirectory();
// 对话框数据
#ifdef AFX_DESIGN_TIME
enum { IDD = IDD_DIRECTORY_DLG };
#endif
pro... |
6322ee5162407bbdf70ec05844ae3013634677a1 | 0ce9e3d0643571994e5d95e1182e6a31ac9728c2 | /data_acquisition/ptu/libs/vectornav/libvncxx/include/vn/sensorfeatures.h | 63322b98dbad80dcab6f9bc0dcb943c573bd2eed | [
"MIT"
] | permissive | HoliestCow/wind_daq | 78fddb2407b857fdfb1d843b995b64cd13c837f8 | 6a8b30ba6b14b3162f2fa3144b52cdf7ed17ec3a | refs/heads/master | 2021-01-19T19:16:49.840098 | 2020-01-06T18:02:17 | 2020-01-06T18:02:17 | 101,187,374 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,711 | h | sensorfeatures.h | #ifndef _VN_SENSORFEATURES_H_
#define _VN_SENSORFEATURES_H_
#include <string>
#include <vector>
#include "vn/sensors.h"
#include "vn/version.h"
namespace vn {
namespace sensors {
/// \brief Provides indication of what features are available for a given sensors.
class VnSensorFeatures
{
public:
/// \... |
a8b3701a2ec285c0c9dd7cc06e58c4c67a6635e4 | 88b130d5ff52d96248d8b946cfb0faaadb731769 | /documentapi/src/vespa/documentapi/messagebus/messages/getdocumentreply.cpp | 450f3bd23c91dbc5c8f33c249eed35fb61fca56c | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | vespa-engine/vespa | b8cfe266de7f9a9be6f2557c55bef52c3a9d7cdb | 1f8213997718c25942c38402202ae9e51572d89f | refs/heads/master | 2023-08-16T21:01:12.296208 | 2023-08-16T17:03:08 | 2023-08-16T17:03:08 | 60,377,070 | 4,889 | 619 | Apache-2.0 | 2023-09-14T21:02:11 | 2016-06-03T20:54:20 | Java | UTF-8 | C++ | false | false | 971 | cpp | getdocumentreply.cpp | // Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "getdocumentreply.h"
#include <vespa/documentapi/messagebus/documentprotocol.h>
#include <vespa/document/fieldvalue/document.h>
namespace documentapi {
GetDocumentReply::GetDocumentReply() :
Document... |
2b089ea343acb8e53376182fcc11f55f8f616ce6 | 0e6e81a3788fd9847084991c3177481470546051 | /Explore/Tencent/code by cpp/089_Gray Code.cpp | a7db415ba09adef5a3567b24af3b14260b2a3202 | [] | no_license | Azhao1993/Leetcode | 6f84c62620f1bb60f82d4383764b777a4caa2715 | 1c1f2438e80d7958736dbc28b7ede562ec1356f7 | refs/heads/master | 2020-03-25T19:34:30.946119 | 2020-03-05T14:28:17 | 2020-03-05T14:28:17 | 144,089,629 | 4 | 2 | null | 2019-11-18T00:30:31 | 2018-08-09T02:10:26 | C++ | UTF-8 | C++ | false | false | 1,808 | cpp | 089_Gray Code.cpp | #include<iostream>
#include<vector>
using namespace std;
/*
89. 格雷编码
格雷编码是一个二进制数字系统,在该系统中,两个连续的数值仅有一个位数的差异。
给定一个代表编码总位数的非负整数 n,打印其格雷编码序列。格雷编码序列必须以 0 开头。
示例 1:
输入: 2
输出: [0,1,3,2]
解释:
00 - 0 01 - 1 11 - 3 10 - 2
对于给定的 n,其格雷编码序列并不唯一。
例如,[0,2,3,1] 也是一个有效的格雷编码序列。
00 - 0 10 - 2 11 - 3 01 - 1... |
c0890386a99fb54a5920e9f1319b6e37a45b80a4 | f63024e68a0c8af63f7199c75eb54f48529efac4 | /BlinkSharp/Core/Prediction/RingPrediction.cpp | 11a160ebe9bd8481577a44fbedf672b83909fcf6 | [] | no_license | RekzaiSharp/BlinkSharp | d886281c2c8fea1b59b0b28af94d4712ff2eae6f | e76f0a990b595509a8f937ae874fe9ce16805b49 | refs/heads/master | 2021-10-24T20:30:09.529798 | 2019-02-02T16:34:11 | 2019-02-02T16:34:11 | 167,058,405 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,961 | cpp | RingPrediction.cpp | #include "RingPrediction.h"
#include "CirclePrediction.h"
RingPrediction::RingPrediction(SPrediction& engine)
: ISPredictionBase::ISPredictionBase(engine)
{
}
PredictionResult RingPrediction::GetPrediction(AIBaseClient *target, float width, float delay, float missile_speed, float range, bool collisionable, eSpellTy... |
901e3f1fb3df52171620630a40fc1c0f895ec235 | bb751d3609c078192a0f0b196035c7e758d53d71 | /src/math/random/random_manager.cpp | 881855f718db4b3f18a8e3b6a2824bf7b8f6214b | [] | no_license | ProfDru/C--Random-Particle-Generator | bdf3b839e4313021b9d01c8f83cffaf46a1ccb84 | 662a1f1a3af6dfe76ae8d4088a67a873d487711a | refs/heads/master | 2023-02-05T08:00:11.706604 | 2020-12-02T21:53:34 | 2020-12-02T21:53:34 | 296,649,177 | 1 | 0 | null | 2020-12-02T21:53:36 | 2020-09-18T14:46:28 | C++ | UTF-8 | C++ | false | false | 605 | cpp | random_manager.cpp | #include <math/random/random_manager.h>
#include <math/random/distributions/uniform.h>
#include <cmath>
#include <algorithm>
namespace rpg::math::random {
Generator GlobalRandom::rand_gen(RNG_Algorithm::DEFAULT);
std::unique_ptr<Distribution> GlobalRandom::dist =
std::unique_ptr<Distribution>(new Uniform(0, 1));
... |
b0335dc1d46e1ba64b990a8f7e631226ab1e1144 | 7dd74bd241150d0895921a6b96b768c319e9b580 | /Code/Testing/calatkGaussianBlurringTest.cxx | 532c32326c8f85d62f9c2163efac6ab720736464 | [
"Apache-2.0"
] | permissive | cpatrick/calatk | 71db343e16136ba32e41484c67ca081a9a359739 | 849c17919ac5084b5b067c7631bc2aa1efd650df | refs/heads/master | 2021-01-19T08:12:14.506068 | 2012-12-13T19:40:34 | 2012-12-13T19:40:34 | 7,138,608 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,766 | cxx | calatkGaussianBlurringTest.cxx | /*
*
* Copyright 2011, 2012 by the CALATK development team
*
* 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 a... |
74625ee10cdc0fd7e60d125b0c8376fb648ee051 | 49fae9a1403a2c33522c946047af1f4ef97b033e | /samples/embeeb/app/model/diskinfo.h | 2d8aaf2190ae398955b3c39751cac806b8f05dbe | [
"MIT"
] | permissive | blockspacer/oaknut | 7cd3bba921d40d712852033b8fee9a441a0bcf80 | 03b37965ad84745bd5c077a27d8b53d58a173662 | refs/heads/master | 2022-12-03T00:32:45.155903 | 2020-08-24T23:05:26 | 2020-08-24T23:05:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,058 | h | diskinfo.h | //
// Copyright © 2018 Sandcastle Software Ltd. All rights reserved.
//
#pragma once
#include "../app.h"
class DiskInfo : public Object, public ISerializeToVariant
{
public:
sp<class Game> _game;
string _title;
string _publisher;
string _mediaFilename;
string _mediaFileHash;
string _imageFilename;
string _p... |
c0a7c386c3394f0d014cd1e46f4272a7f36012fe | cb7ac15343e3b38303334f060cf658e87946c951 | /source/runtime/D3D11RHI/D3D11Shader.cpp | 76708bc91966e8c7410c6a4199e9ced5be515c1a | [] | no_license | 523793658/Air2.0 | ac07e33273454442936ce2174010ecd287888757 | 9e04d3729a9ce1ee214b58c2296188ec8bf69057 | refs/heads/master | 2021-11-10T16:08:51.077092 | 2021-11-04T13:11:59 | 2021-11-04T13:11:59 | 178,317,006 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,567 | cpp | D3D11Shader.cpp | #include "d3d11shader.h"
#include "D3D11DynamicRHI.h"
#include "Serialization/MemoryReader.h"
#include "D3D11Util.h"
#include "D3D11Resource.h"
#include "BoundShaderStateCache.h"
#include "D3D11ConstantBuffer.h"
namespace Air
{
template<typename TShaderType>
static inline void readShaderOptionalData(ShaderCodeReader&... |
b48a3d5d6ddd2edceba3939a44f1cba5c0e22edc | bf2ba1f3ccd60ef2174afe6ef0809a420e569b2f | /controls/analisys/linechart/IncrementalPlot.h | c72ffffd846052ceb96ec895300f24d723ff462d | [] | no_license | 38277105/30GroundN | e2ec2bbc7c18acf1239487781a85629cfad53a03 | ec44ecd3675387083c64aeb239ed7a8986dbb6d2 | refs/heads/master | 2023-08-21T05:35:36.823147 | 2021-10-29T06:03:50 | 2021-10-29T06:03:50 | 409,119,376 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,074 | h | IncrementalPlot.h | /*=====================================================================
QGroundControl Open Source Ground Control Station
(c) 2009, 2010 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
This file is part of the QGROUNDCONTROL project
QGROUNDCONTROL is free software: you can redistribute it and/or ... |
76850ec728a013121fdd9876e845bf58f2b29b72 | a5a99f646e371b45974a6fb6ccc06b0a674818f2 | /Alignment/SurveyAnalysis/plugins/SurveyInputCSCfromPins.cc | 861b9ca0af2f4283608d394722116d3a8c7a4851 | [
"Apache-2.0"
] | permissive | cms-sw/cmssw | 4ecd2c1105d59c66d385551230542c6615b9ab58 | 19c178740257eb48367778593da55dcad08b7a4f | refs/heads/master | 2023-08-23T21:57:42.491143 | 2023-08-22T20:22:40 | 2023-08-22T20:22:40 | 10,969,551 | 1,006 | 3,696 | Apache-2.0 | 2023-09-14T19:14:28 | 2013-06-26T14:09:07 | C++ | UTF-8 | C++ | false | false | 13,389 | cc | SurveyInputCSCfromPins.cc | #include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "Alignment/CommonAlignment/interface/SurveyDet.h"
#include "Alignment/MuonAlignment/interface/AlignableMuon.h"
#include "Alignment/CommonAlignment/interface/AlignableNavigator.h"
#include "FWCore/Framework/interface/EventSetup.h"
#include "Geometry/Reco... |
caab279a75371a0762b3ddcb105470ebed90f622 | 00fbd04b404e5aae9c1edb1ea3df68675e109867 | /Server/beaconshandler.cpp | cff9fb25b1469856a6f87f774ed01e4c23ee7322 | [] | no_license | ShellCode33/Aral | 2f533fa93e67a424abde3cae0a5311776c33bd21 | 1ab94eb2c7d0b8c263b7634ad18f91ef2fe19cf6 | refs/heads/master | 2021-09-02T10:42:33.013204 | 2018-01-02T00:44:16 | 2018-01-02T00:44:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,529 | cpp | beaconshandler.cpp | #include "beaconshandler.h"
using namespace std;
BeaconsHandler::BeaconsHandler(ClientsHandler &clients_handler) : Server(UDP), _clients_handler(clients_handler)
{
}
string BeaconsHandler::receive_string()
{
char buffer[BUFFER_SIZE];
memset(buffer, 0, BUFFER_SIZE);
struct sockaddr_in sender;
memset(... |
ac05dc3a18cda1eb26edcdc91f2f3745abd68221 | ffda80bd2f906bd0766ad68aeadd39d202f82925 | /include/cbt/nodes/context_t.hpp | b0e74ad0cd7865a010db3f8ba416b56b8022a425 | [] | no_license | taiyu-len/continuation-behavior-tree | 9f4690778324d0aa9d07f116151f01f4a51e5f9b | d0b52c2fd8ac24e3faa7fa29cbe8cbc83d85a963 | refs/heads/master | 2020-04-08T14:49:19.734927 | 2018-12-14T02:07:21 | 2018-12-14T02:30:48 | 159,453,329 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,472 | hpp | context_t.hpp | #ifndef CBT_NODES_CONTEXT_T_HPP
#define CBT_NODES_CONTEXT_T_HPP
#include "cbt/behavior.hpp"
#include <memory>
namespace cbt
{
namespace detail
{
template<typename T, typename F>
struct context_type
{
auto operator()() noexcept -> status;
static auto make(F) -> context_result<T>;
private:
context_type(F&& f): _reset(... |
d2018c075fa730e46ca2d001c3838751afef7920 | d5ce8cddb5d54d9c2b90f8d52ec3fd3499a51334 | /ELSys/TextManager.cpp | 5786575b0f9ebf0f073048faa85403b9062facd6 | [] | no_license | Elaviers/ELLib | 7a9adb92da1d96df9cc28f935be62e48bb98fb5b | 3c5d36d2d19438d32e9cf44fe5efeacb46aca51c | refs/heads/master | 2023-05-30T21:50:28.327148 | 2021-07-05T16:42:39 | 2021-07-05T16:42:39 | 286,592,944 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 467 | cpp | TextManager.cpp | #include "TextManager.hpp"
TextProvider* TextManager::_CreateResource(const Array<byte>& data, const String& name, const String& extension, const Context& ctx)
{
TextProvider* provider = new TextProvider();
provider->Set(String(data.begin(), data.GetSize()));
return provider;
}
void TextManager::_ResourceRead(Text... |
7b3a8d5868aa69b80bbc744312ea3b9d69637f1b | ef5504db423f7b0258d8bdefacb12236d76f2bb6 | /src/ztools/collect_matchine_info/collect_matchine_info_main.cpp | f2aa4aa7d8f4d618f8a1bece0b7da7435b6e1d4a | [] | no_license | tafchain/vprotocol | cc0fc6f7453072a6941af761bb79f1a33dca6127 | bd2b5b83046d8af7746617a130fb56be230ce4cc | refs/heads/master | 2023-06-02T12:44:19.228025 | 2021-06-17T07:49:42 | 2021-06-17T07:49:42 | 377,747,826 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 437 | cpp | collect_matchine_info_main.cpp | #include "ace/OS_main.h"
#include "ace/OS_NS_stdio.h"
#include "ace/OS_NS_time.h"
#include "dsc/dsc_license.h"
int ACE_TMAIN(int argc, ACE_TCHAR *argv[])
{
CDscLicense rLicense;
CDscString strHardware;
if( rLicense.getMatchineStr(strHardware) )
{
ACE_OS::printf("get local identifier failed!\n"... |
9e22d953f5b24909c8583725c8410250b9e21824 | 5437b207e5a4dd21acb2ea4254cb136afc58446d | /desiredSpeedCalculator.cpp | 90264ea1bf4de98baee64953278191102419790f | [] | no_license | KyleBjornson/sysc5104_a1 | 90e0d2730e7ea31f29f9b54b33e3e4190550f263 | 0a1e4c904700070fd7bd3f3c063746b4754ccad3 | refs/heads/master | 2020-04-03T03:45:02.093477 | 2018-11-03T01:54:23 | 2018-11-03T01:54:23 | 154,994,512 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,133 | cpp | desiredSpeedCalculator.cpp | /*******************************************************************
*
* DESCRIPTION: Atomic Model desiredSpeedCalculator
*
* AUTHORS: Ben Earle, Kyle Bjornson
*
* EMAIL: ben.earle@cmail.carleton.ca, kyle.bjornson@cmail.carleton.ca
*
* DATE: November 2nd, 2018
*
*****************************************************... |
9f2b5e6b9b579ac297ce8db8420d7de9a13e39a8 | 00dbe4fd5f00fab51f959fdf32ddb185daa8de30 | /P516.cpp | ceab8c578157c0067c1e44117ee5dd8824158bb3 | [] | no_license | LasseD/uva | c02b21c37700bd6f43ec91e788b2787152bfb09b | 14b62742d3dfd8fb55948b2682458aae676e7c14 | refs/heads/master | 2023-01-29T14:51:42.426459 | 2023-01-15T09:29:47 | 2023-01-15T09:29:47 | 17,707,082 | 3 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 2,369 | cpp | P516.cpp | #include <iostream>
#include <stdio.h>
#define PRIME_LEN 16400
class PrimeHandler {
bool primes[PRIME_LEN];
public:
void init() {
for(int i = 0; i < PRIME_LEN; ++i)
primes[i] = true;
// Sieve primes:
for(int i = 0; i*i < PRIME_LEN; ++i) {
if(!primes[i])
continue;
// Mark all uneven... |
a4869b8659fdecfe3aec904e8e8f097222ecdc69 | c8cb134531c883d7c389fecee63a99f67f19bc8a | /dstream/dsmain/DSFrame.cpp | ec45d200d9b70b736c8735860c9ddc9fac42ef54 | [
"MIT"
] | permissive | renzbagaporo/depthstream | ddced4bb41f9144b7dfcccc1dc92efae7b65b9df | 9ad0febf3e7c0af5ccfbdca2746ce24b353c76a1 | refs/heads/master | 2021-01-10T23:05:42.019805 | 2017-12-22T10:48:45 | 2017-12-22T10:48:45 | 115,082,722 | 12 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,773 | cpp | DSFrame.cpp | #include "DSFrame.h"
DSFrame::DSFrame(){}
DSFrame::~DSFrame(){}
DSFrame::DSFrame(const cv::String &left_frame_path, const cv::String &right_frame_path){
this->left_frame = cv::imread(left_frame_path);
this->right_frame = cv::imread(right_frame_path);
if (!(left_frame.data && right_frame.data)) throw DSException(s... |
cf8166c009e8ad379852f5a324e84e9e46dd65e0 | 53c4c607786fd3e5b33ed34e9e54c331f1902523 | /hh/xlib/src/mysql2/DBConnect.cpp | 3945fb82c5fae40692c94494af1356391c36e480 | [] | no_license | thereisnoposible/Shared | 7057d30de955900cf4c7dc706c9f619c57914469 | a7fdfb0cefed951609cb288a2e3be3f24cbedde4 | refs/heads/master | 2020-12-03T10:38:47.042091 | 2018-03-13T08:38:16 | 2018-03-13T08:38:16 | 68,799,603 | 0 | 1 | null | null | null | null | GB18030 | C++ | false | false | 3,763 | cpp | DBConnect.cpp |
#include "../include/mysql2/DBConnect.h"
#include "../include/mysql2/DBInterface.h"
#include "../include/mysql2/DBService2.h"
namespace xlib
{
//--------------------------------------------------------------------
DBConnect::DBConnect(const char* host, const char* user, const char* passwd, const char* db,
int32... |
6a2ea4bf721fcf4e63f3d0441d998abd2a850a11 | c7b270492e0348214dd9d65fa651280506d09bd8 | /final_version/ros_deneme/src/hectorquad/src/motionUtilities.hpp | c4629f75e4104b5e8e95e359f5fb3710756bcc97 | [] | no_license | erenerisken/drone_motion | 10f54eca3df9fdb2a4a56f9a3e0fc1194cc4987e | 727dcc5759963e5f84873557606b719cabdc5f1c | refs/heads/master | 2021-07-25T05:13:03.691489 | 2020-07-08T06:03:02 | 2020-07-08T06:03:02 | 196,026,836 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,901 | hpp | motionUtilities.hpp | #ifndef _MOTIONUTILITIES_HPP_
#define _MOTIONUTILITIES_HPP_
#include <ros/ros.h>
#include <iostream>
#include <vector>
#include <geometry_msgs/Vector3.h>
#include <algorithm>
#define FLOAT_EPSILON 0.001
#define EPSILON 0.1
#define QUAD_RADII 1.0
#define CLEARENCE 0.85 //(Coursera: Motion planning lecture)
#define QUA... |
2246f8573a289d7d2d5002d8d6624bce11062e00 | dfadd879ccc98bb99c45651a33c80c18181589d9 | /ZeroLibraries/Meta/LocalModifications.hpp | 2374eb2a64d401e00a2d3cb52bbec099d8d17d40 | [
"MIT"
] | permissive | zeroengineteam/ZeroCore | f690bcea76e1040fe99268bd83a2b76e3e65fb54 | 14dc0df801b4351a2e9dfa3ce2dc27f68f8c3e28 | refs/heads/1.4.2 | 2022-02-26T04:05:51.952560 | 2021-04-09T23:27:57 | 2021-04-09T23:27:57 | 148,349,710 | 54 | 27 | MIT | 2022-02-08T18:28:30 | 2018-09-11T16:51:46 | C++ | UTF-8 | C++ | false | false | 8,119 | hpp | LocalModifications.hpp | ///////////////////////////////////////////////////////////////////////////////
///
/// \file LocalModifications.hpp
///
/// Authors: Joshua Claeys
/// Copyright 2015-2016, DigiPen Institute of Technology
///
///////////////////////////////////////////////////////////////////////////////
#pragma once
namespa... |
0b26002354c5695c393bbbe8454a6ccbf4d55a6c | 5d3130f99f6aaf730bcd8a12f0fe6c22a3b334ba | /src/view/SimplestUI/SimplestUIMainMenu.hpp | 33bec901384a3a11b83448ab713b39f04171b751 | [] | no_license | Generall14/VendeurAssistant | 32b9e54dee259a9a34ea30bf93f9ce67f398ba7c | d0b720d2d81bc624820fe9893da65a6676057b6d | refs/heads/master | 2020-05-09T18:46:55.023272 | 2019-04-14T18:57:24 | 2019-04-14T18:57:24 | 181,354,875 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 187 | hpp | SimplestUIMainMenu.hpp | #ifndef SIMPLESTUIMAINMENU_HPP
#define SIMPLESTUIMAINMENU_HPP
#include "../../controller/State.hpp"
class SimplestUIMainMenu : public State
{
public:
virtual request Run();
};
#endif
|
01b1781026f7d38ae11b15caaa5608dfbdeaa54e | 38616fa53a78f61d866ad4f2d3251ef471366229 | /3rdparty/GPSTk/ext/lib/Procframe/SolverWMS.cpp | 9b0b6ee4dc558eff13d01d2efccb7372c66b0d8d | [
"MIT",
"GPL-3.0-only",
"LGPL-2.0-or-later",
"LGPL-3.0-only",
"LGPL-2.1-or-later",
"GPL-1.0-or-later"
] | permissive | wuyou33/Enabling-Robust-State-Estimation-through-Measurement-Error-Covariance-Adaptation | 3b467fa6d3f34cabbd5ee59596ac1950aabf2522 | 2f1ff054b7c5059da80bb3b2f80c05861a02cc36 | refs/heads/master | 2020-06-08T12:42:31.977541 | 2019-06-10T15:04:33 | 2019-06-10T15:04:33 | 193,229,646 | 1 | 0 | MIT | 2019-06-22T12:07:29 | 2019-06-22T12:07:29 | null | UTF-8 | C++ | false | false | 8,954 | cpp | SolverWMS.cpp | //============================================================================
//
// This file is part of GPSTk, the GPS Toolkit.
//
// The GPSTk is free software; you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published
// by the Free Software Foundation; ei... |
78bdec0944d7215a97e83f51a98f2e71b0ab7fcd | c9f21583f5ca62c1dca0193651f53a4875a1dbd3 | /unittest/audio_device_unit_test.cpp | 80222f0e3625584c0880cd283217130b5cd1b82f | [] | no_license | templeblock/audioengine | caab69096dd79a1930b0f0e63ad242a6b21e0e41 | 70e9e01fdded031b64f68dfe5d2176c5edcea075 | refs/heads/master | 2020-12-23T22:28:02.098191 | 2017-04-21T13:02:15 | 2017-04-21T13:02:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,042 | cpp | audio_device_unit_test.cpp | #include "header.h"
#include <algorithm>
#include <string>
#include <iostream>
#include <cctype>
//#include "dispatch_example.cpp"
// Example: main calls myfunc
extern int test_vcl( int argc, char* argv[] );
#include "base/asyntask.h"
void test_async_task()
{
AsynTask asyn_task;
for ( auto i : {5,2,3,3,1} )
... |
143599ed5bc735c2b8b55ee3ccae011e91191c64 | ead9b4e788bab8542a39215358e32c0df8a9533c | /SAS/OTDB/include/OTDB/OTDBcontrol.h | 26dc08a4898fdcb5ffad9f061be8ddcfb6f2181f | [] | no_license | iniyannatarajan/pyimager-olegs-mods | 34968740d47d8e38d65ff4005d215e6f87ea2a80 | 6218fdbed57c8c442238372cda408a69e91b2bb7 | refs/heads/master | 2022-11-12T21:50:18.539394 | 2015-08-18T09:30:25 | 2015-08-18T09:30:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,197 | h | OTDBcontrol.h | //# OTDBcontrol.h: Special connectiontype for events and actions.
//#
//# Copyright (C) 2002-2004
//# ASTRON (Netherlands Foundation for Research in Astronomy)
//# P.O.Box 2, 7990 AA Dwingeloo, The Netherlands, seg@astron.nl
//#
//# This program is free software; you can redistribute it and/or modify
//# it under... |
deee2be99f0a16cd605d3947cd7d7fe3ddb7c57d | 367dba59ad84e9a34f9794b4a46484a6b89b16be | /tools/Assembler/ShapeFunctions/FEBasis.cpp | 90a1312668092e79b51fe4f2e7ef692b35b611eb | [] | no_license | rickarkin/PyMesh-win | fea0842b0fd3ef98646809be19daf3b20bca659f | c16ba28ba1ebea8556d6761169685c2588978404 | refs/heads/master | 2021-01-21T01:43:30.563214 | 2016-08-18T08:58:44 | 2016-08-18T08:58:44 | 65,174,117 | 12 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,504 | cpp | FEBasis.cpp | /* This file is part of PyMesh. Copyright (c) 2015 by Qingnan Zhou */
#include "FEBasis.h"
using namespace PyMesh;
FEBasis::FEBasis(FEBasis::FEMeshPtr mesh) {
m_shape_func = ShapeFunction::create(mesh, "linear");
m_integrator = Integrator::create(mesh, m_shape_func);
}
Float FEBasis::evaluate_func(size_t ele... |
1691ee5ab9c817321f8cdc8cb816c7eb4420ab2e | bd58ce297dda9acd2bfa5dc2311f6598268c7caa | /Homework/Level 2/Section 2.4/Exercise 2/Exercise2.4.2/Exercise2.4.2/Exercise2.4.2.cpp | 5d2f3c5c4d4824263505f9777c286e96c2197bb9 | [] | no_license | songgaoxian/Advanced_C | b17c91fa6416306f48199926483474da0df92099 | 92b7d78a50e614c8f5bd121be7cef3476b345f9f | refs/heads/master | 2020-05-27T23:41:28.967920 | 2017-02-20T18:22:41 | 2017-02-20T18:22:41 | 82,583,567 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,738 | cpp | Exercise2.4.2.cpp | #include "C.h"
int main() {
/*
//for b)
//declare and initialize shared_ptr
std::shared_ptr<double> d(new double(2.2));
{ //display initial use count of d
cout << "Use ccount: ";
cout << d.use_count() << std::endl;
//create instance of C1 with d
C1 object1(d);
object1.print();
cout << "\n... |
34d35f7d017d248837b8afa34bd58528de23d39d | 40f61cb9296db754d2dfc38dcd84b71251a65a0f | /src/FindModuleInstance.h | 47b5e955663d8d0ffbc90e2ecb7085fdd94b146b | [
"NCSA",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | poena/systemc-clang | 99761d24f23b63672b724569e2de20fe8c923530 | e44e97794bb7f2413ce60d7623c36647ad242e29 | refs/heads/master | 2020-10-01T14:07:38.136166 | 2019-12-12T02:47:01 | 2019-12-12T02:47:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 706 | h | FindModuleInstance.h | #ifndef _FIND_MODULE_INSTANCE_H_
#define _FIND_MODULE_INSTANCE_H_
#include "clang/AST/DeclCXX.h"
#include "clang/AST/RecursiveASTVisitor.h"
#include "llvm/Support/raw_ostream.h"
namespace scpar {
using namespace clang;
using namespace std;
class FindModuleInstance : public RecursiveASTVisitor<FindModuleInstance> {
... |
89bdac79c524cf440521a0fda7b702c6637128b6 | 2944427265e7ac86292a1f0d51b770944656f59a | /mission/sdv.TANOA/dialog/clothing.hpp | a42af59f08081589c8b8ea1a8fcb95c0d3454abe | [
"CC0-1.0"
] | permissive | PC-Gamercom/pcg_tanoa | 939d0856c9aa2f16ea72771b756bc309b93030c0 | 36df0ebdcb5cc46af61536d9850b5f8c0c15265e | refs/heads/master | 2020-12-19T06:02:41.209072 | 2016-08-09T11:01:00 | 2016-08-09T11:01:00 | 61,654,721 | 14 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 2,952 | hpp | clothing.hpp | class Life_Clothing {
idd = 3100;
name= "Life_Clothing";
movingEnable = 1;
enableSimulation = 1;
//onLoad = "[] execVM 'core\client\keychain\init.sqf'";
class controlsBackground {
class Life_RscTitleBackground:Life_RscText {
colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(p... |
d61b8fffb2f38c16fa49e061e670126796d5fba2 | ea41b223a1956f7b474eafe2b6a30986f0493be8 | /SDK/杀机_StartScreen_parameters.hpp | c31b0c287e1cf2060a3dc87adac05df4776cfca4 | [] | no_license | Chazyboy775/Dead-by-Daylight-SDK | 0717a27f79fd4c9da76219894af3f9e2e8c69361 | 28253097481d359694b34dd852222fc75981977c | refs/heads/master | 2022-04-03T17:25:22.678211 | 2020-02-14T02:10:56 | 2020-02-14T02:10:56 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 1,228 | hpp | 杀机_StartScreen_parameters.hpp | #pragma once
// ÀèÃ÷ɱ»ú (4.22.3) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ɱ»ú_StartScreen_classes.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Parameters
//---------------------------------------------------------------------------
// F... |
5d0cc96676c35a7a0364f2433ef3aa7709b3154c | 2d5a7e8f3454b8577442a7d058768ea3086769ee | /homework/hw3-FrozenRouter-master/src/fibonacci.cpp | f884f12933c1c390ca8e4b7cec6e087eb02d303b | [] | no_license | LoveHRTF/ENGN-2912B | 3946517c604e360f88c17cff93e353628c22fa6e | 6650fbe5829a90c1ba790f0a625cdb07e76ebc4b | refs/heads/master | 2020-07-31T00:33:15.036055 | 2019-09-23T18:12:27 | 2019-09-23T18:12:27 | 210,418,342 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 332 | cpp | fibonacci.cpp | #include "fibonacci.h"
// TODO: Implement a recursive fibonacci function.
unsigned long long int fibonacci(int n){
unsigned long long int my_Fibonacci;
if (n == 0){
my_Fibonacci = 0;
} else if (n == 1){
my_Fibonacci = 1;
} else {
my_Fibonacci = fibonacci(n-2) + fibonacci(n-1);
}
return my_F... |
3029f1e21bee5e1f123c1dc0f8edc8019da11aae | c20c4812ac0164c8ec2434e1126c1fdb1a2cc09e | /Source/Source/Tools/SceneEditor/KListCtrl.h | 09931b572546cbf29d27de289f1695de4afec98d | [
"MIT"
] | permissive | uvbs/FullSource | f8673b02e10c8c749b9b88bf18018a69158e8cb9 | 07601c5f18d243fb478735b7bdcb8955598b9a90 | refs/heads/master | 2020-03-24T03:11:13.148940 | 2018-07-25T18:30:25 | 2018-07-25T18:30:25 | 142,408,505 | 2 | 2 | null | 2018-07-26T07:58:12 | 2018-07-26T07:58:12 | null | UTF-8 | C++ | false | false | 131 | h | KListCtrl.h | #pragma once
#include "afxcmn.h"
class KListCtrl : public CListCtrl
{
public:
afx_msg void OnPaint();
DECLARE_MESSAGE_MAP()
}; |
547405e39cfaf40d3b471de49cd378b7cb8a1699 | e0951f0c08fb24ce57d5b6fb3f364e314e94ac67 | /demo/2016.08.15-c-plus-plus/getting-started/function-default.cpp | f661b1da301da6ce93f306634181cf7966c6d0d0 | [] | no_license | chyingp/blog | 1a69ddcd8acbcf20c80995d274e81450c278f32f | 4fcfd719ed01f446d8f1eea721551e71db4909cf | refs/heads/master | 2023-08-27T00:23:18.260234 | 2023-07-27T15:50:03 | 2023-07-27T15:50:03 | 9,654,619 | 491 | 279 | null | 2023-01-12T23:53:47 | 2013-04-24T18:17:08 | null | UTF-8 | C++ | false | false | 252 | cpp | function-default.cpp | #include <iostream>
using namespace std;
// 基础:函数声明+定义
int getMax (int a, int b = 20) {
return a >= b ? a : b;
}
int main () {
int a = 20;
int max = getMax(a);
cout << "max is " << max << endl;
return 0;
} |
517d217de903775149450bf4c5801d01241d0c92 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/CMake/CMake-gumtree/Kitware_CMake_repos_basic_block_block_20232.cpp | 717083b2f45bd6813f2d18d32a369b43f08d2728 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 45 | cpp | Kitware_CMake_repos_basic_block_block_20232.cpp | {
SET_REQ_WIN32_ERROR(req, UV_EPERM);
} |
0cc69d96c53e8f5e2d6185f41ab0965cd13b74b4 | 4491a810f77d635620442c6ef5e70ade50eecbe8 | /file/[Tjoi 2013]松鼠聚会.cpp | c5985277c7eac1339b8c7f3f3d614c29f52dc917 | [] | no_license | cooook/OI_Code | 15473a3b7deafa365d20ae36820f3281884209bf | 45d46b69f2d02b31dcc42d1cd5a5593a343d89af | refs/heads/master | 2023-04-03T21:35:57.365441 | 2021-04-15T14:36:02 | 2021-04-15T14:36:02 | 358,290,530 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,348 | cpp | [Tjoi 2013]松鼠聚会.cpp | #include <bits/stdc++.h>
#define MAXN 100005
#define int long long
typedef long long ll;
int n,L[MAXN][2],R[MAXN][2],now,sum[MAXN];
template <typename _t>
inline _t read() {
_t x = 0, f = 1; char ch = getchar();
for (; !isdigit(ch); ch = getchar()) if (ch == '-') f = -f;
for (; isdigit(ch); ch = getchar(... |
d8680acf77e19d2791c4113d5cd30cd8fa156c20 | 9f2b6abc2913ed2d9794391897e1c22b4ed96681 | /Game/Object.h | 5b8776d51f2ede9667251452bdee17934a1b2ceb | [] | no_license | Kaktusowy500/Fly-Pigeon-Fly | d3489c5c0f659fcc91b169214dee31f27d62914e | 49f24974039d21d83fccad526d25ee3d055c5eba | refs/heads/main | 2023-04-19T14:55:54.605032 | 2021-05-09T18:34:57 | 2021-05-09T18:34:57 | 365,816,186 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 436 | h | Object.h | #pragma once
#include<SFML/Graphics.hpp>
class Object
{
// General class for game objects like obstacles and bonuses
sf::Sprite sprite;
float movementSpeed;
public:
Object(sf::Texture* texture, float x = 400, float y = 400, float widthScale =1.2, float heightScale =1.2);//position (left top corner cords)
virt... |
ecfecf6dea4dd98a92fee953fe3dd85eee139d98 | 99893eba68e6cd401a42576f57fe84bf5a0401d5 | /funcao_exemplo_HX711/funcao_exemplo_HX711.ino | 361811d955ea4b8ceda4ed2da6b821ef2b39f44f | [] | no_license | evans-picolo/ESP8266 | 374f867f10d0f06fee95ecc7d20c03a23c39c24f | 1be7943891c548c348a39a0ca9c82ff843d2413f | refs/heads/master | 2023-01-04T06:54:21.427163 | 2020-10-12T21:14:03 | 2020-10-12T21:14:03 | 283,371,374 | 0 | 0 | null | 2020-10-04T01:03:49 | 2020-07-29T01:50:52 | C++ | UTF-8 | C++ | false | false | 1,213 | ino | funcao_exemplo_HX711.ino | /*
Teste de função em C para funcionamento do CI HX711
Conversor AD para célula de carga
Eng. Wagner Rambo
Outubro de 2016
*/
// --- Mapeamento de Hardware ---
#define ADDO 5 //Data Out
#define ADSK 4 //SCK
// --- Protótipo das Funções Auxiliares ---
unsigned long ReadCount... |
d72bc32997d8de2312aa824b90eee5ce31e4c5be | 8a0a2fccd4f622a288a87cb29f8d040a40dfd2d6 | /src/calculator.cpp | c246e085f8ffe59ed5fd4a84d564c2fc8bb13533 | [] | no_license | plugosh/CalculatorQT | fae9eb21926a1b8af7b956d67f61139df905bb6b | 5f68f7d1b36d9d7f1ec7f58ac54ca9d48a3a22b7 | refs/heads/master | 2022-12-27T14:08:13.960228 | 2020-10-10T10:01:36 | 2020-10-10T10:01:36 | 286,767,065 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,526 | cpp | calculator.cpp | #include "calculator.h"
#include "ui_calculator.h"
#include <math.h>
Calculator::Calculator(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::Calculator)
{
ui->setupUi(this);
//SADFSADFASDFSA
ui->det2->setText(QString::number(0));
ui->Display->setText(QString::number(0));
ui->shi... |
070daeb7712af2fb9f1a6dbcd193e2d044a1a084 | efef952b7038a1c6222cb3428a1ddd5ef4dbc388 | /BO.cpp | b786493ed49a380bf53e41fdab7d16f806fc9445 | [] | no_license | shuhei-ut/sotsuron | e8bce1abe71be4aa78b2ff4da7ba7daa754af0a3 | fe583b2cc43068c1472a0d3787bc58b024bf2c7e | refs/heads/master | 2021-05-30T09:02:25.936725 | 2015-12-26T11:25:26 | 2015-12-26T11:25:26 | null | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 3,187 | cpp | BO.cpp | #include <iostream>
#include <Eigen/Dense>
#include <time.h>
#include "const.h"
#include "myfunc.h"
#include "obj.h"
#include "sev.h"
#include "argmax.h"
#include "debug.h"
using namespace std;
using namespace Eigen;
Eigen::VectorXd k(Eigen::VectorXd x){
if (t == 0){
//【起こり得ない状況】//
return VectorXd::Zero(1);
}
... |
9728473940cf4d7737b8ed2b96ecf0a9831f2787 | 06aca2ae0b2b1f66378b4ae52ba52fbc16c2be43 | /Pong/Balle.h | 1f4d49e336637ddb388c2d448303fbd87593b201 | [] | no_license | klaoude/Pong | 17ee2a88d40452e739d57da398420daa4139ddd5 | 1f6efa94d3690686edd8bf9a4de9a7185fe73066 | refs/heads/master | 2016-09-06T19:55:57.287304 | 2015-09-29T20:10:19 | 2015-09-29T20:10:19 | 21,369,165 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 347 | h | Balle.h | #pragma once
#include <SDL.h>
class Balle
{
public:
Balle();
Balle(int x, int y, SDL_Surface* surface);
~Balle();
void render(SDL_Surface* surface);
void moveR();
void moveL();
void moveDiago();
Uint32 getId();
SDL_Rect getRect();
private:
static Uint32 currentId;
Uint32 id;
SDL_Surface* ... |
03b62bbdf62d7d71f202c4330a729478cd96a46d | 2f1364cbbb9691c89a06c03c1e909c2371c93a35 | /Part_5_A_Playable _Game/Playable/bulletPool.h | 6e69bf2b09d5fc9e7cdb2a8d4a4b3fb943decfbe | [] | no_license | romitgodi/2D-Game-Design | 19d014cd1af568c3485149db5183856662a33fcb | 4a0639adeb53374218e675a5877821904287f93a | refs/heads/master | 2021-07-25T22:02:59.218441 | 2017-11-08T00:11:50 | 2017-11-08T00:11:50 | 105,484,188 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 847 | h | bulletPool.h | #ifndef _BULLETPOOL_H
#define _BULLETPOOL_H
#include <list>
#include "bullet.h"
class BulletPool {
public:
BulletPool(const std::string& );
BulletPool(const BulletPool& );
~BulletPool();
void draw() const;
void update( Uint32 ticks);
void shoot(const Vector2f& pos, const Vector2f& vel);
unsigned int bulle... |
eae29269a7d789f8c5bb1a367d2edd376ad45c5e | 5a25d05923d17dd56df81ae482ffe7c43c769cff | /Source/DungeonMathster/StartRoom.h | 4c3b392d1d41a71ddca1bd9787ceb5f08ced906f | [] | no_license | skypekitten9/Dungeon-Query | 2a9bfcd44308d2fbe0964e87c67165c98ebfbf95 | 16626605648e1fd18fc85194ec3bd11f6b28a8fd | refs/heads/master | 2023-04-03T12:09:50.566832 | 2021-04-15T15:24:37 | 2021-04-15T15:24:37 | 351,754,354 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,119 | h | StartRoom.h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Components/ActorComponent.h"
#include "Engine/TriggerBox.h"
#include "Components/TextRenderComponent.h"
#include "Door.h"
#include "Internationalization/Text.h"
#include "HighscoreSave.h"
#in... |
59ad5a5f7610628190b7d98ab868ac73122aed12 | 9f7d3ade04219b868c9041a0b58b85039e705b18 | /Stack/Stack/LinkedStack.h | ca430a6f4dffe0ef49bccbfe04a29723c2dcbe22 | [] | no_license | semerdzhiev/sdp-samples | afd6d514f093ea25bf604fffa3d101efd605e0da | 715ad17dde43a291520e82e71dc2c657a1609dc4 | refs/heads/master | 2021-12-12T13:58:22.754923 | 2021-12-05T22:10:13 | 2021-12-05T22:10:13 | 24,499,959 | 43 | 34 | null | 2021-10-04T05:48:00 | 2014-09-26T13:14:50 | C++ | UTF-8 | C++ | false | false | 5,650 | h | LinkedStack.h | /********************************************************************
*
* This file is part of the Data structures and algorithms in C++ package
*
* Author: Atanas Semerdzhiev
* URL: https://github.com/semerdzhiev/sdp-samples
*
*/
#pragma once
#include <exception>
///
/// An linked implementation of a FILO st... |
5a4374dac9b7cc831f3674f924fee688cb8dce51 | ba4fbf70e05754385cf29b7adc7a3948e5ab6c46 | /qsort_compiletime.cc | 4712d2e087bb66c4afb6bce190baae3566842f43 | [] | no_license | catterer/problems | db57ce2d2581ffd47ab94e92a39b9b17d9ab011b | 2da31fc0252a19985f0f739924a0325c4b78ab1e | refs/heads/master | 2023-03-10T09:14:41.864030 | 2023-02-26T09:54:23 | 2023-02-26T09:54:23 | 82,280,108 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,941 | cc | qsort_compiletime.cc | #include <iostream>
// template<typename T>
// class Writer;
// template<>
// class Writer<int> {
// public:
// static void write(int t) {
// std::cout << "i" << t << "\n";
// }
// };
// template<int i>
// class Writer<char[i]> {
// public:
// static void write(const char* c) {
// std::co... |
3156a14e29c1a9db31ac450a27f782135be15319 | f6f71cfb5ee9ee5604a969e3b5ad07ff88b922f8 | /Library/Alive.cpp | 946906ac5e14db64d6a78905f738a2d0844b1a3b | [] | no_license | paulmedok/Shop | 4ff4e6987fb6baf2a2773f552692e16a3ac861ed | f0d27167653ae0c3e06975a75d42c609e5486795 | refs/heads/master | 2016-09-05T16:57:07.147061 | 2015-09-03T09:40:59 | 2015-09-03T09:40:59 | 41,851,964 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 971 | cpp | Alive.cpp | #include "stdafx.h"
#include "Alive.h"
Alive::Alive(char* name, char* color, double price){
mPrice = price;
mName = name;
mColor = color;
}
Alive::Alive(const Alive &Right){
mPrice = Right.mPrice;
int nLength = strlen(Right.mName) + 1;
mName = new char[nLength];
memcpy(mName, Right.mName, sizeof(char)*nLength... |
37c3867b6cfc227ce6a90e329def9fc31b7c81d6 | 05db8a70a2134afc5c830b7f2af779647f643202 | /src/request/EzyRequestSerializer.cpp | d0f8f2fe190a9a4e09465243bcff2375a100299c | [] | no_license | youngmonkeys/ezyfox-server-cpp-client | a97699cb6494380e75d86c86ee4493471f52f986 | 1d55695eaaf855b01464604cd205ae6861e1bbf2 | refs/heads/master | 2023-07-21T19:36:32.775174 | 2023-07-09T06:58:55 | 2023-07-09T06:58:55 | 112,422,375 | 6 | 6 | null | 2023-07-10T15:02:37 | 2017-11-29T03:36:27 | C++ | UTF-8 | C++ | false | false | 316 | cpp | EzyRequestSerializer.cpp | #include "EzyRequestSerializer.h"
EZY_NAMESPACE_START_WITH(request)
entity::EzyArray* EzyRequestSerializer::serialize(int cmd, entity::EzyArray* data) {
auto array = entity::EzyArray::create();
array->addInt(cmd);
array->addItem(data);
array->retain();
return array;
}
EZY_NAMESPACE_END_WITH
|
143100446a8a53ef50e346e14252e42ec2458ad1 | 5ec18020303e8b3c5c383d780c1fa2ed42701f86 | /include/ts_extractor.h | e394d63ed9a4d3bc14d9c389eb4c7becdb3d086e | [] | no_license | seranu/TS2RAW | cc8e99ef8321e29783e2e1369610b887c737d7ff | 039bb4598cb28e8767e8620c89e25094197108f9 | refs/heads/master | 2021-07-19T08:44:34.878551 | 2017-10-25T19:24:09 | 2017-10-25T19:24:09 | 107,693,690 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 734 | h | ts_extractor.h | #ifndef _TS_EXTRACTOR_H_
#define _TS_EXTRACTOR_H_
#include <string>
#include "utils.h"
namespace ts2raw {
// class that can be used to separate video and
// audio data from input TS stream file
class TSExtractor {
public:
// Extract video and audio raw data from TS stream
// <aInputFilename> file path... |
3f13c0a641f0d049039671636bf33df1cad2a509 | 42ab733e143d02091d13424fb4df16379d5bba0d | /libs/utils/include/utils/ostream.h | cc4df031fae653497b9e7e144bac6b141b3b8028 | [
"Apache-2.0",
"CC0-1.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | google/filament | 11cd37ac68790fcf8b33416b7d8d8870e48181f0 | 0aa0efe1599798d887fa6e33c412c09e81bea1bf | refs/heads/main | 2023-08-29T17:58:22.496956 | 2023-08-28T17:27:38 | 2023-08-28T17:27:38 | 143,455,116 | 16,631 | 1,961 | Apache-2.0 | 2023-09-14T16:23:39 | 2018-08-03T17:26:00 | C++ | UTF-8 | C++ | false | false | 4,285 | h | ostream.h | /*
* Copyright (C) 2019 The Android Open Source Project
*
* 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 app... |
6927606e0424e027adc315936c41c1b3d5df4708 | bd0636c61421941ee9d44d3ded8941e94a1a9de8 | /sensorbug/sensorbug.h | f4ae0d5a1cb67d1abf0bb7b686862435ca9a7721 | [] | no_license | BluBugTwob/BluBug | 3a0305953747b73140b164996dc850ba92259c4e | 9277fd3fa3087f0f76ea3303d8874285c981dd8c | refs/heads/master | 2021-01-12T12:06:29.714143 | 2016-10-29T18:03:20 | 2016-10-29T18:03:20 | 72,300,848 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 510 | h | sensorbug.h | /*
sensor.h - Library for flashing sensor code.
Created by sathishkumar, july, 2016.
Released into the public domain.
*/
#ifndef sensorbug_h
#define sensorbug_h
#include "Arduino.h"
class sensorbug
{
public:
float sensor1();
float sensor2();
float sensor3();
float sensor4();
... |
5162cbe5305ba648ca824e458167f977ffe4316d | 2a980c53768d643eaee47bee14a1a9573696040b | /MatrixMultiplication/matrix.cpp | a694f9b045d774602c4d272af666e2836bdb584c | [] | no_license | hamedrq7/Strassen-s-Matrix-Multiplication | 1f5f415634e83760adf064f93d93e833fae04a23 | a6fb47f2702b624f923454765db94734e68ae249 | refs/heads/master | 2021-04-24T12:42:23.392175 | 2020-03-26T00:11:12 | 2020-03-26T00:11:12 | 250,119,874 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,274 | cpp | matrix.cpp | //
// Created by hamed on 3/24/2020.
//
#include "matrix.h"
#include <iostream>
#include <utility>
#include <vector>
using namespace std;
int matrix::getCols() {return this->cols;}
int matrix::getRows() {return this->rows;}
void matrix::setCols(int inputCols) {this->cols = inputCols;}
void matrix::setR... |
cb20552f975a56863c732e49b6e9cdf545681ba5 | afe2bab8d0e9a1a9fccae220d4d86053f0bf1a6a | /DVDLogoCoco/Classes/HelloWorldScene.cpp | ef27e4645888b74c6f5522874c7e40f7be8e47c4 | [] | no_license | ChaseVriezema/cocoDVDLogo | db841a912fa637dc495367304f0c60e9fe94ffc3 | 9fe2f6957b49b9e06aa95ac989437687ea0ad26a | refs/heads/master | 2021-01-24T02:17:13.448419 | 2018-02-25T14:13:46 | 2018-02-25T14:13:46 | 122,841,760 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,668 | cpp | HelloWorldScene.cpp | #include "HelloWorldScene.h"
#include "SimpleAudioEngine.h"
USING_NS_CC;
Scene* HelloWorld::createScene()
{
return HelloWorld::create();
}
// Print useful error message instead of segfaulting when files are not there.
static void problemLoading(const char* filename)
{
printf("Error while loading: %s\n", file... |
1825ed0d976f0e1e8ec8b105e664c58922a304b1 | 95a3e8914ddc6be5098ff5bc380305f3c5bcecb2 | /src/ControlsConfig_bin/controlsconfig_bin.h | ab22b0b1e3cd54123a8b09fe505b90470ab36d47 | [] | no_license | danishcake/FusionForever | 8fc3b1a33ac47177666e6ada9d9d19df9fc13784 | 186d1426fe6b3732a49dfc8b60eb946d62aa0e3b | refs/heads/master | 2016-09-05T16:16:02.040635 | 2010-04-24T11:05:10 | 2010-04-24T11:05:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 599 | h | controlsconfig_bin.h | #ifndef CONTROLSCONFIG_BIN_H
#define CONTROLSCONFIG_BIN_H
#include <QtGui/QMainWindow>
#include "ui_controlsconfig_bin.h"
class ControlsConfig_bin : public QMainWindow
{
Q_OBJECT
public:
ControlsConfig_bin(QWidget *parent = 0, Qt::WFlags flags = 0);
~ControlsConfig_bin();
protected:
void closeEvent... |
18124aa676c1620d165d289d26168e4bf589e43f | a24674ae7ed77dc1ea9ab9a6d47ba6e7ca014e97 | /N-QUEEN.cpp | 10b77531c9a472328779119130e989de083db4ed | [
"MIT"
] | permissive | VamsiKrishna04/Hacktoberfest-2021 | 2511c12e609ce5745a7e6d6e2fd4f44d112a5032 | e787ca5213bd21bd9e6ae55f918c0041f4664482 | refs/heads/main | 2023-09-03T10:48:29.002413 | 2021-10-30T15:25:49 | 2021-10-30T15:25:49 | 422,917,943 | 0 | 0 | MIT | 2021-10-30T15:24:56 | 2021-10-30T15:24:55 | null | UTF-8 | C++ | false | false | 1,681 | cpp | N-QUEEN.cpp | #include<bits/stdc++.h>
using namespace std;
bool issafe(int row, int col, vector<vector<char>> &pos, int n)
{
for(int i=row, j=col; i>=0 && j>=0;j--) if(pos[i][j]==1) return false;
for(int i=row, j=col; i>=0 && j>=0;i--,j--) if(pos[i][j]==1) return false;
for(int i=row, j=col; i<n && j>=0;i++,j--) i... |
c81517881ad45501c6063c64e117fd72a8093e85 | 010279e2ba272d09e9d2c4e903722e5faba2cf7a | /contrib/libs/zeromq/sources/src/io_thread.cpp | 8c394d4ae0ecaafabb1461002341ef39fba88c42 | [
"GPL-3.0-only",
"LGPL-3.0-only",
"LicenseRef-scancode-zeromq-exception-lgpl-3.0",
"Apache-2.0"
] | permissive | catboost/catboost | 854c1a1f439a96f1ae6b48e16644be20aa04dba2 | f5042e35b945aded77b23470ead62d7eacefde92 | refs/heads/master | 2023-09-01T12:14:14.174108 | 2023-09-01T10:01:01 | 2023-09-01T10:22:12 | 97,556,265 | 8,012 | 1,425 | Apache-2.0 | 2023-09-11T03:32:32 | 2017-07-18T05:29:04 | Python | UTF-8 | C++ | false | false | 3,022 | cpp | io_thread.cpp | /*
Copyright (c) 2007-2015 Contributors as noted in the AUTHORS file
This file is part of libzmq, the ZeroMQ core engine in C++.
libzmq is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License (LGPL) as published
by the Free Software Found... |
d60fbca4be405997b6959aa379e9b8423029403e | c385197459289938d6c22c4071dbab865f2a3e2c | /Queue.h | 5dc0f413ab9c15873c13b6e7bf7fb62ea79447e5 | [] | no_license | emekuns/EDS | d52224fce744636be0a9ce0f59984ea34bf9e0cc | 0242a29c0a6c142199472af1977e5dbfc16ac8e8 | refs/heads/master | 2021-01-10T12:37:11.448839 | 2016-03-01T19:49:37 | 2016-03-01T19:49:37 | 50,630,621 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 336 | h | Queue.h | /**** Queue interface */
#ifndef __QUEUE_H_INCLUDED__
#define __QUEUE_H_INCLUDED__
#include "Node.h"
class ListItem;
class Queue {
private:
Node *front;
Node *back;
int size;
public:
Queue();
int getSize();
bool isEmpty();
void enqueue(ListItem *item);
ListItem *getFront();
ListItem *dequeue();
}; // cla... |
0544bc976343c1afc35bb12d7ce3bf49dbb53d91 | bd96fe1bfbf98236d8457a5929433a2aae333fe1 | /Leuckart/LeetCode_010_RegularExpressionMatching.cpp | e28208621151e841fb8b7d85bce0671213ccfdf3 | [] | no_license | Alfeim/njuee_LeetCode_Solutions | 1879c99c8c999f08d97980acf10490da5ebeaaea | ed1a8f4dd90739c6359c71a1278efd811bafe354 | refs/heads/master | 2020-06-13T12:05:46.521182 | 2020-01-11T07:14:38 | 2020-01-11T07:14:38 | 194,647,358 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,924 | cpp | LeetCode_010_RegularExpressionMatching.cpp | /**************************************************
> File Name: LeetCode_010_RegularExpressionMatching.cpp
> Author: Leuckart
> Time: 2019-06-09 15:04
**************************************************/
#include <iostream>
#include <string>
#include <vector>
using namespace std;
class Solution
{
public... |
392a10914759f480b50c2c5c85f0ce251e0f1b4c | e7e245b6f266ab277997b06e9d334f62fd67494e | /FACTORIAL.CPP | ebeab6c81f59d0295eeb563d45506015bb936d83 | [] | no_license | amankumarkeshu/Spoj-Questions | 22c2ec58db9ca4ce02c106629018edc1633ecc5f | 29c9f16fb028979e7bfa5b7bf9091715290a0afd | refs/heads/master | 2020-03-28T17:51:49.314185 | 2019-04-17T10:06:24 | 2019-04-17T10:06:24 | 148,829,949 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,088 | cpp | FACTORIAL.CPP | #include<bits/stdc++.h>
#define fr(i,n) for(ll (i) = 0 ; (i) < (n) ; ++(i))
#define fr1(i,n) for(ll (i) = 1 ; (i) <= (n) ; ++(i))
#define frr(i,n) for(ll (i) = (n)-1 ; (i)>=0 ; --(i))
#define frab(i,a,b,c) for(ll (i) = a ; (i) <= (b) ; (i)+=(c))
#define vll vector<ll>
#define vvll vector< vll >
#define pll pair<ll ,ll ... |
efc2edc41c54b3ceba494bfa18fc4d95ce75ec3d | 98baa81e3fe7d0a4e8690673cf1cca03e7fb90c0 | /edge.cpp | 07e55f9cdabe3f3e0370b6d668b8c57273670930 | [] | no_license | yp6969/Generic_map | 7b0bdabf7812dfa9100436a236a63675206c3ae3 | 6af99eb4cd64c781eb537c1bf99f12ef4f32a0e6 | refs/heads/master | 2022-10-09T04:29:35.219197 | 2020-06-09T19:36:11 | 2020-06-09T19:36:11 | 269,088,893 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,657 | cpp | edge.cpp | //
// Created by Pinhas on 14/05/2020.
//
#include "edge.h"
edge::edge(unsigned int id , unsigned int number_of_neighbors) : id(id) , number_of_neighbors(number_of_neighbors){
neighbor = new unsigned int[number_of_neighbors+1];
neighbor[0] = id; // neighbor[0] is me !
carList = NULL;
}
edge::... |
96cae541d06edce613546fbd3db7d665cce2b52d | 1e5ce757067f157f53f3c499837f4cdab34e6acd | /examples/specific/typedef.h | a278b94f98951ed801c7bc9129dde510588beb30 | [
"BSD-3-Clause"
] | permissive | diegov/breathe | b745a5c46a4f09f364e8b057aeb1193be6e02e97 | 636510ab71e231ed928a6fb821d43bd2f54dcc0f | refs/heads/master | 2020-12-29T02:54:12.145004 | 2012-11-08T02:06:13 | 2012-11-08T02:06:13 | 6,589,800 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 234 | h | typedef.h |
class TypeDefTest {
};
/* A dummy typedef */
typedef TypeDefTest (*TypeDefTestFuncPtr)(void);
typedef void* (*voidFuncPtr)(float, int);
typedef void* voidPointer;
typedef float* floatPointer;
typedef float floatingPointNumber;
|
643d7786e430d73682162635b6cb156bda4715f1 | 69a70fcaf776db8094b803473a5dbcd2b418251b | /one_star/272 - TEX Quotes/uva272.cpp | 8e0d6e50cfb62bb8281f10bc34f671f8f6fd0031 | [] | no_license | chinghsiang0912/Uva_pratice | 6ea14fc7560e4cf5d105ff81ab8ce49e866f7ef5 | 274d90698a759929a9d942a0ad7609e16ac0022a | refs/heads/master | 2021-01-10T13:37:05.886779 | 2016-02-03T06:36:36 | 2016-02-03T06:36:36 | 49,492,747 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 417 | cpp | uva272.cpp | #include "stdio.h"
#include "stdlib.h"
int main(void){
char s[500];
int c=0;
while(gets(s)){
for(int i=0;i<500;i++){
if(s[i]=='\0'){break;}
if(s[i]=='\"'){
c++;
if(c%2==1)printf("``");
else printf("''");
}
... |
bb7d6f1d21478a5e09b178cf6d47067b83e7b206 | 5e7b47a5a1e059acf238adac3a115d472c9d16aa | /Cobertura.hpp | 2f11e3ea1f0812a2d2c6cd58a6a4017b9c653a0e | [] | no_license | brunorchaves/2021-1-exercicio-revisao-refatoracao | 27d523363b1021469c681885934a16e70055062a | 95f14896d47138a80b136f516e15ff8b7905ae44 | refs/heads/main | 2023-07-09T12:38:30.376759 | 2021-08-17T20:46:18 | 2021-08-17T20:46:18 | 397,284,920 | 0 | 0 | null | 2021-08-17T14:22:02 | 2021-08-17T14:22:01 | null | UTF-8 | C++ | false | false | 515 | hpp | Cobertura.hpp | #ifndef COBERTURA_HPP
#define COBERTURA_HPP
#include "Imovel.hpp"
#include "Cliente.hpp"
using namespace std;
#define TAXA_C_COBERTURA 10
class Cobertura : public Imovel {
public:
Cobertura()
{
tipo = "[Cobertura]";
taxaComissao = TAXA_C_COBERTURA;
}
double valor() {
... |
95fc40a4de32bc1bc23e8ec0106b9e3d7099bb2a | 8a3fce9fb893696b8e408703b62fa452feec65c5 | /MassMailer/MassMailer/MassMailer/App/Smtplist.h | d55af11f38910033922ef84822f1d44c5e1b8d75 | [] | no_license | win18216001/tpgame | bb4e8b1a2f19b92ecce14a7477ce30a470faecda | d877dd51a924f1d628959c5ab638c34a671b39b2 | refs/heads/master | 2021-04-12T04:51:47.882699 | 2011-03-08T10:04:55 | 2011-03-08T10:04:55 | 42,728,291 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 780 | h | Smtplist.h |
#pragma once
#include "../Public/Tools.h"
template < typename type, template<typename> class table>
class Property
{
private:
};
class SmtpList
{
typedef map<string,tagSmtp> MpSmtp;
private:
MpSmtp m_smtp;
void Load()
{
m_smtp.clear();
ifstream in("smtp.ini")... |
4f4585ea5322b9a940ea92600f9df4eb309d74c2 | 762e9bfa224f1f27d9491a2c9ff7045cd67f3cf2 | /qcsrc/common/gamemodes/gamemode/cts/_mod.inc | f60b8de4cfc4c7da886439a61d481ef4649cd1ea | [] | no_license | xonotic/xonotic-data.pk3dir | 3a8b29cfa8e1fae07ff8d6bef829a6946ec9f941 | 1a2350574ac7bf2bd44888e6ff03a1f4cb1f96b3 | refs/heads/master | 2023-08-31T04:40:24.920794 | 2023-08-28T05:23:19 | 2023-08-28T05:23:19 | 23,666,155 | 13 | 16 | null | 2022-01-17T14:46:18 | 2014-09-04T14:38:49 | C | UTF-8 | C++ | false | false | 229 | inc | _mod.inc | // generated file; do not modify
#include <common/gamemodes/gamemode/cts/cts.qc>
#ifdef CSQC
#include <common/gamemodes/gamemode/cts/cl_cts.qc>
#endif
#ifdef SVQC
#include <common/gamemodes/gamemode/cts/sv_cts.qc>
#endif
|
600a5d84a58484189c98597d53fc03e70a8c27c7 | a6316215cdcb43bc3b8d2d770bcc163c54966c41 | /Light/AmbientOccluder.cpp | cc287e259ca113f9b87f2337aad3c373b9e4937e | [] | no_license | Frank-Jan/raytracer | 7ca1bef2a7fb9d0c09cf1d4eb0d8e6d03943efaf | e8c2621cba59202e2fe661253b2ddb09b7a5d9cd | refs/heads/master | 2023-04-14T04:16:27.625364 | 2021-04-23T23:39:48 | 2021-04-23T23:39:48 | 360,160,280 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,293 | cpp | AmbientOccluder.cpp | #include "AmbientOccluder.h"
#include "Sampler.h"
#include "ShadeRec.h"
#include "world/SimpleWorld.h"
#include "Triangle.h"
AmbientOccluder::AmbientOccluder(const Color& c, FLOAT _ls) :
sampler(nullptr), color(c), ls(_ls)
{ }
AmbientOccluder::AmbientOccluder(FLOAT r, FLOAT g, FLOAT b, FLOAT _ls) :
sampler(nullptr),... |
47d8f728fc8e6fd315b817abbd1d0feb6fb8a6a1 | 6cb2a259ac1955eede3e9b11d24f48cbfd1ea114 | /primer/vector/vector_expression.cc | 60cdfd1339a6c53be6a5dc5b10bbf8301ade5f4e | [] | no_license | Doogplus/cplusplus-exercise | 4491a7981b1c15bc6ba32f2fef703c68daf69cb6 | cad9294854a600dfd551355c7fde8e301d067861 | refs/heads/master | 2021-06-12T14:08:53.414533 | 2017-04-06T11:39:02 | 2017-04-06T11:39:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,170 | cc | vector_expression.cc | #include <vector>
#include <assert.h>
#include <iostream>
using std::vector;
using std::cout;
using std::endl;
template<typename E>
class VecExpression {
public:
typedef vector<double> container_type;
// 类型名是指这里最终要指出的是个类型名,而不是变量。
// 例如container_type::size_type完全有可能是类container_type里
/... |
32a7e42f1adfdd81580f88c5fa3552a57bbdebbe | 3927f71571f5a9ced3af587d0791585c8070c6d3 | /codeforces/1237/c1/duipai.cpp | 60aa821a55b7019c6661defbc82a781ddb0c9737 | [] | no_license | lzh12139/MySolutions | 38805d49f8d150a22e949121aa1a90c536d446a1 | 15ad346fb76e08707e04ecd2da90871721c357fa | refs/heads/master | 2021-07-18T09:21:27.769268 | 2021-01-08T14:19:28 | 2021-01-08T14:19:28 | 231,051,033 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 873 | cpp | duipai.cpp | #include<bits/stdc++.h>
using namespace std;
int vis[2010];
int x[2010],y[2010],z[2010];
bool judge(int a,int b,int j,int c[]){
return min(c[a],c[b])<=c[j]&&c[j]<=max(c[a],c[b]);
}
int main(){
ifstream in("in.txt");
ifstream ans("out.txt");
int n;in>>n;
for(int i=1;i<=n;i++)in>>x[i]>>y[i]>>z[i];
... |
99d39638d85b71debc1326713302ec84f25a8226 | 417a9da2a5577b1386a6d99469fe83e6bc042acb | /src/detail/checknan.cpp | bb23606e512f621ef2be2e2144abe5181bc6d2c5 | [] | no_license | pdziekan/bicycles | 8a4b53a15439106766c1ccb1f0bb02516d72258f | 232ae864ef551de59841d9850e4ab7b1a307d81e | refs/heads/master | 2020-09-12T05:06:43.091626 | 2017-09-06T09:29:24 | 2017-09-06T09:29:24 | 66,357,308 | 0 | 1 | null | 2016-12-13T15:23:30 | 2016-08-23T10:28:10 | C++ | UTF-8 | C++ | false | false | 337 | cpp | checknan.cpp | #pragma once
#ifdef NDEBUG
#define nancheck(arr, name) ((void)0)
#else
#define nancheck(arr, name) {if(!std::isfinite(sum(arr))) {\
std::cout << "A not-finite number detected in: " << name << std::endl;\
std::cout << arr;\
ass... |
47407207155f7829f1dcd7c9190af46f964880a6 | 54f352a242a8ad6ff5516703e91da61e08d9a9e6 | /Source Codes/AtCoder/arc051/C/1098712.cpp | 7cb03f7973734de025c42cf8fd9bb1562a445aea | [] | 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 | 2,107 | cpp | 1098712.cpp | #include <string>
#include <queue>
#include <stack>
#include <vector>
#include <sstream>
#include <algorithm>
#include <deque>
#include <set>
#include <map>
#include <unordered_set>
#include <unordered_map>
#include <list>
#include <cstdio>
#include <iostream>
#include <cmath>
#include <climits>
#includ... |
59c99db0e36f8f98da57e7af3e3881aab64a7a94 | 9b775ad06355064e5eeb01d807b53cd309f2a866 | /Sorting/Selection Sort/C++/SelectionSort.cpp | bb32db6e17d5b0a036ba6fc6a4326df7155f8ca3 | [] | no_license | pratikjain04/ACM-ICPC-Algorithms | f29095b70a78e617f2f945ae2af10abc46e99df9 | a85c1b4dd4cf0f460844a629013c7f571cc46f99 | refs/heads/master | 2020-06-12T06:42:49.814246 | 2019-10-17T19:39:44 | 2019-10-17T19:39:44 | 194,222,848 | 3 | 2 | null | 2019-10-17T19:39:45 | 2019-06-28T06:50:52 | C++ | UTF-8 | C++ | false | false | 679 | cpp | SelectionSort.cpp | #include <bits/stdc++.h>
using namespace std;
void SelectionSort(int array[], int tam){
int i, j;
int menor, troca;
for(i = 0; i < tam-1; i++){
menor = i;
for(j = i+1; j < tam; j++){
if(array[j] < array[menor]){
menor = j;
}
}
if(i !=... |
df569fecd09c70f612327eb00f37680b88643f3e | 6ab9a3229719f457e4883f8b9c5f1d4c7b349362 | /timus/T1083.cpp | e01e4f280d980441505ec3eba7bf890cf549fd6d | [] | no_license | ajmarin/coding | 77c91ee760b3af34db7c45c64f90b23f6f5def16 | 8af901372ade9d3d913f69b1532df36fc9461603 | refs/heads/master | 2022-01-26T09:54:38.068385 | 2022-01-09T11:26:30 | 2022-01-09T11:26:30 | 2,166,262 | 33 | 15 | null | null | null | null | UTF-8 | C++ | false | false | 205 | cpp | T1083.cpp | #include <cstdio>
#include <cstring>
int main(void){
char f[32];
for(int n; scanf("%d%s", &n, f) == 2; ){
int r = 1, k = strlen(f);
while(n > 0) r *= n, n -= k;
printf("%d\n", r);
}
return 0;
}
|
40b18a7076281b6b63c56a5e5528e21a706444ea | af9f3ec2c6325092b77637ebd0a327e5b520b0f7 | /iOS/IncidentPlatform/IncidentPlatform/Dimension/MeshMd3.cpp | af8cf11891a64f84ca19147b18557826fdd72ac1 | [] | no_license | IncidentTechnologies/IncidentPlatform | eb270d9ff0018ea19fbe04c9595ebdce8974341f | da3d96c7a7ef35791f3f2fc55805f43875f41fe0 | refs/heads/master | 2021-06-11T06:29:34.117387 | 2017-03-06T03:20:31 | 2017-03-06T03:20:31 | 17,033,548 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,209 | cpp | MeshMd3.cpp | #include "MeshMd3.h"
#include <math.h>
#define PI 4.0*atan(1.0)
RESULT MeshMd3::LoadMesh() {
RESULT r = R_SUCCESS;
int BytesRead = 0;
FILE *file;
char TempPath[MD3_MAX_PATH];
int CurSurfaceOffset;
if(m_pszPath == NULL) {
file = fopen(m_pszFilename, "rb");
if(file == ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.