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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
109321dc6423bc3cfd6ea783c552779003bba622 | b22588340d7925b614a735bbbde1b351ad657ffc | /athena/LArCalorimeter/LArROD/src/LArRawChannelBuilderStatistics.cxx | a17eb145d56858e83d54ee0f4dc0a090c401804a | [] | no_license | rushioda/PIXELVALID_athena | 90befe12042c1249cbb3655dde1428bb9b9a42ce | 22df23187ef85e9c3120122c8375ea0e7d8ea440 | refs/heads/master | 2020-12-14T22:01:15.365949 | 2020-01-19T03:59:35 | 2020-01-19T03:59:35 | 234,836,993 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,309 | cxx | /*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
#include "LArROD/LArRawChannelBuilderStatistics.h"
#include <iostream>
LArRawChannelBuilderStatistics::LArRawChannelBuilderStatistics(unsigned int nerr,
unsigned short bitpat):
m_N_errors(nerr),
m_bit_pattern(bitpat),
... | [
"rushioda@lxplus754.cern.ch"
] | rushioda@lxplus754.cern.ch |
0b526be1574cfe2fb20a9fd29df42c589f4076ea | 2b027e4b2043a17471282b008f205dd2ac221281 | /src/BabyFeed/controller/mainscreen.h | 5c04de2a013a07eb03ca2f46c5a50cb22323498b | [] | no_license | hmiguellima/babyfeed | cd93bcfd7e62b5429089b42b2804fad4588b73c1 | 162ecf24c742dedd5e856638db3bcb1ba187063e | refs/heads/master | 2020-04-07T16:25:37.174103 | 2019-02-17T16:33:16 | 2019-02-17T16:33:16 | 158,528,732 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,879 | h | #ifndef MAINSCREEN_H
#define MAINSCREEN_H
#include "screen.h"
#include "model/eventmodel.h"
#include "model/event.h"
#include <QAbstractListModel>
#include <QModelIndex>
#include "model/baby.h"
#include <QHash>
#include <QDate>
#include "view/mainview.h"
#include <QDeclarativeView>
#include "model/nobaby.... | [
"hugo.lima@sky.uk"
] | hugo.lima@sky.uk |
ccb3992d0ea97f4b53b307a156fd48c54ca161d8 | f6b34e4f63012f445852fd910da3f05b4d6fc7fc | /src/gui/Palette.h | ab779960bbd2f269f524c4870487e0b6eb87aa00 | [] | no_license | AbdelrhmanIbrahim/rendering | d6803aae26650b866fb8536341e2494126d1f364 | 95961335148f2f2c8511b7553ae3dcf321b95751 | refs/heads/master | 2022-06-29T18:21:02.860770 | 2020-07-28T21:00:44 | 2020-07-28T21:00:44 | 213,078,036 | 0 | 0 | null | 2020-03-24T21:59:52 | 2019-10-05T22:10:49 | C | UTF-8 | C++ | false | false | 768 | h | #pragma once
#include <QWindow>
#include "app/Painter.h"
namespace gui
{
class Palette : public QWindow
{
Q_OBJECT
public:
explicit Palette(app::Painter painter, QWindow* parent = nullptr);
void painter_replace(app::Painter p);
~Palette();
protected:
bool even... | [
"abdoibrahim89@gmail.com"
] | abdoibrahim89@gmail.com |
038f2d2b2b3e6d960c0ad87edc4310696e8f1f9f | 9ff35738af78a2a93741f33eeb639d22db461c5f | /.build/Android-Debug/jni/app/Fuse.Internal.BlenderMap.cpp | 8f3c4ae9d7d94a691d8f65bf74a068953544e54f | [] | no_license | shingyho4/FuseProject-Minerals | aca37fbeb733974c1f97b1b0c954f4f660399154 | 643b15996e0fa540efca271b1d56cfd8736e7456 | refs/heads/master | 2016-09-06T11:19:06.904784 | 2015-06-15T09:28:09 | 2015-06-15T09:28:09 | 37,452,199 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,780 | cpp | // This file was generated based on 'C:\ProgramData\Uno\Packages\FuseCore\0.1.0\Internal\$.uno'.
// WARNING: Changes might be lost if you edit this file directly.
#include <app/Fuse.Internal.Blender__bool.h>
#include <app/Fuse.Internal.Blender__float.h>
#include <app/Fuse.Internal.Blender__float2.h>
#include <app/Fuse... | [
"hyl.hsy@gmail.com"
] | hyl.hsy@gmail.com |
27da2fb030d6a2cec983847efcf301e5a9235497 | fdc684f4ba109ba72dbf2a941f08923a7071c274 | /ZOJ/test.cpp | be4a11bb986d99bfa43c3999d09d1a2512db938f | [] | no_license | jeakeven/ZOJ_Code | d6e1e6ea904ac347d516878511ba67f0267dfb0b | 52cbd910ad93e45833b784186115f0734268b3e3 | refs/heads/master | 2021-01-10T08:58:00.373223 | 2015-12-24T09:15:58 | 2015-12-24T09:15:58 | 43,298,266 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 123 | cpp | #include <iostream>
using namespace std;
int main()
{
int a, b;
while(cin >> a >> b)
{
cout << a + b << endl;
}
} | [
"jiangtengfei007@163.com"
] | jiangtengfei007@163.com |
9950c080c4b4f36834e7a2fd2727085d21b8eede | 5caf31b6f9474d663f1d453855c695fb031d551c | /DS_과제3_2013104094_윤승우/Mail.cpp | 781bd08c8e385c451f270d4365806289b1c816b4 | [] | no_license | Aswoo/tgwing_Project | c9f75630a49d68df2c91232bf591f5a6929f0be2 | 3c8bb1439ed52473dd11438ab0a5a06f63b81193 | refs/heads/master | 2021-01-18T23:05:50.040442 | 2016-11-27T06:51:00 | 2016-11-27T06:51:00 | 72,630,562 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 3,511 | cpp | #include "Mail.h"
#define _CRT_NONSTDC_NO_WARNINGS
#pragma warning(disable : 4996)
// 송신자 키보드로부터 입력받고 설정
void Mail::SetSenderFromKB()
{
cout << "\tSender : ";
cin >> m_sSender;
}
// student address 키보드로부터 입력받고 설정
void Mail::SetAddressFromKB()
{
cout << "\tAddress : ";
cin >> m_sAddress;
}
// 수신자 키보드로부터 입력받고 설정... | [
"yhnu1919@naver.com"
] | yhnu1919@naver.com |
3482139e0463be19c9ddebb1a04689b3dc90749f | 5d3d185b87974ff1a50d3593271e4ddb36dfe74e | /thrift/lib/cpp2/transport/rocket/server/RocketStreamClientCallback.cpp | 929eed1946a5148a4a00337f21b6f24e5d1c5c51 | [
"Apache-2.0"
] | permissive | facebook-gad/fbthrift | 97b3830685dd79dea97f44f4d79bd70f441cf012 | dae604e520201a8bb53b9fdc1ec5a9301e28533c | refs/heads/master | 2020-06-12T16:10:53.714735 | 2019-06-28T22:11:59 | 2019-06-28T22:15:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,603 | cpp | /*
* Copyright 2018-present Facebook, Inc.
*
* 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 a... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
7e17dce47eeb0268300e2fc71cf09c06faed45a1 | 05ceb7bd2213fea402c2c563aa45f149aae2b049 | /inc/helper/Matrix.h | 6ed599098e4536eade8674a8c14599ef0dd860e0 | [
"MIT"
] | permissive | alexanderlerch/libACA | f114bd5d06ce36fa76083bded281364055b50d65 | 1b81f65a6d2a129fb43b8aa487df0645eb146f23 | refs/heads/main | 2023-05-23T01:09:46.110481 | 2022-09-12T18:38:02 | 2022-09-12T18:38:02 | 485,183,471 | 51 | 4 | MIT | 2022-06-17T19:18:47 | 2022-04-25T01:20:38 | C++ | UTF-8 | C++ | false | false | 29,691 | h | #if !defined(__ACA_Matrix_HEADER_INCLUDED__)
#define __ACA_Matrix_HEADER_INCLUDED__
#include <cassert>
#include <algorithm>
#include "Vector.h"
/*! \brief class with static functions for matrix operations, works with both float and double (functionality only added when needed)
*/
class CMatrix
{
public:
///////... | [
"alexander.lerch@gatech.edu"
] | alexander.lerch@gatech.edu |
be10ec2ec61fc7e9ad52754864383bfc554dcf51 | 7101b53574ad4e2338b05450b7f3448c50f61005 | /thirdparty/google/type/dayofweek.pb.cc | 95a9a2ebab8cee30f8828939028bbab70eab65a0 | [
"Apache-2.0"
] | permissive | kobeya/GVA-demo | 4d6af374ea95be32aee8214947600e6a3e8bd2c4 | 41a57bfff01ab0de2f56ddcd7611514e550472ff | refs/heads/master | 2022-08-07T00:52:39.986363 | 2020-06-01T16:10:09 | 2020-06-01T16:10:09 | 268,522,738 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 3,714 | cc | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/type/dayofweek.proto
#include "google/type/dayofweek.pb.h"
#include <algorithm>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/port.h>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/wire_f... | [
"347511974@qq.com"
] | 347511974@qq.com |
42b1dc43cbc8109e712b7f8cf9ff431318eec8a7 | 2f439dd0412d7ac7467b664839976d5aa0a51ec0 | /main.cpp | 198f1ac6812f70647b5b86d2fcb8f934e3c2ac73 | [] | no_license | lordbeerus0505/GreedyTSP | 598e24737b6610df20736379a757c5a38b7bcca6 | d85f220ea4360e7e452ac9491ea838af8d6c4e03 | refs/heads/master | 2021-04-15T17:15:06.542481 | 2018-03-26T09:54:50 | 2018-03-26T09:54:50 | 126,808,004 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,925 | cpp | #include <iostream>
#include <cstdio>
#include <cstring>
#include <vector>
#include <algorithm>
#include <cmath>
#include <unistd.h>
#include <time.h>
using namespace std;
#define INPUT_FILE_NAME "input.txt"
#define MAX_SIZE 1000
#define INF 0x7FFFFFFF
#define SAFETY_RANGE 10
struct edge
{
int vx, vy;
double cost;
... | [
"abhiram.natarajan@gmail.com"
] | abhiram.natarajan@gmail.com |
9b4756bfe521428a6343f674c8d22cf6ea7f6485 | f5357204a7758cacd85ddfe895e1417c59bd665f | /vtkm/worklet/testing/UnitTestScatterAndMaskWithTopology.cxx | b1229010b9c753cdc6d3fd870aac0ff652b5b744 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | yisyuanliou/VTK-m | 37b273d5302a6ef790a0257b521e6e04eec11afd | cc483c8c2319a78b58b3ab849da8ca448e896220 | refs/heads/master | 2022-12-09T11:28:54.228020 | 2020-09-10T09:26:36 | 2020-09-10T09:26:36 | 285,628,280 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,822 | cxx | //============================================================================
// Copyright (c) Kitware, Inc.
// All rights reserved.
// See LICENSE.txt for details.
//
// This software is distributed WITHOUT ANY WARRANTY; without even
// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
// PURP... | [
"y002783@gmail.com"
] | y002783@gmail.com |
6c6b206d91406ed2153a681ecaed0e30f21ec513 | 0666caf761729b08b723ff1ff7388a383f20b1aa | /RoundRobin/RoundRobin.cpp | 43b32741e60676aff8fba1d4f6f881345ef672bd | [] | no_license | Shreyans121/OS-Codes | 57d508a9f5ced9183b7b924313d9de92d3d7e62a | 8269c0c08438eee7562be3cdb95c4fd8c76b3939 | refs/heads/master | 2023-05-28T08:18:40.308033 | 2021-05-26T13:46:57 | 2021-05-26T13:46:57 | 354,494,489 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,029 | cpp | #include<iostream>
using namespace std;
// Function to find the waiting time for all
// processes
void waitingTime(int processes[], int n,
int bt[], int wt[], int quantum)
{
// Make a copy of burst times bt[] to store remaining
// burst times.
int rem_bt[n];
for (int i = 0 ; i < n ; i++)
rem_bt[i]... | [
"jainshreyans121@gmail.com"
] | jainshreyans121@gmail.com |
680158ffed3ffb4e66f86777e66c92f44042c6ca | 92877323cd07c1954bed6fe4371285f21f77eb22 | /test/Refactor/Extract/return-correct-stl-type.cpp | f7b94449971060ebf7459e7ce508264db3c2c02f | [
"NCSA"
] | permissive | jrose-apple/swift-clang | 669f95c1775eec1b93615d347126d613700dfa7e | 97f6dd4d9e72b086c02f6b5564e0261d119d2d68 | refs/heads/stable | 2021-01-13T07:37:08.177040 | 2017-09-06T23:48:46 | 2017-09-06T23:48:46 | 71,524,462 | 0 | 0 | NOASSERTION | 2018-12-20T04:19:14 | 2016-10-21T02:59:25 | C++ | UTF-8 | C++ | false | false | 1,720 | cpp | namespace std {
struct Traits {
typedef char char_type;
};
template<typename TraitsType>
struct BasicString {
typedef typename TraitsType::char_type value_type;
value_type value() const;
const value_type *data() const;
};
template<typename TraitsType>
BasicString<TraitsType>
operator+(const BasicString<Trait... | [
"arphaman@gmail.com"
] | arphaman@gmail.com |
883b83fdf1eee4552690450ae8af16349ea16248 | e1542873ce686bb175fc113a384da9df10a9d1d4 | /src/sanity.cpp | b419872cd15c93a34acd6819c59cdb89096e2989 | [] | no_license | Celebio/vumeter | 4a3ef95009549873c8bcb3e68d245adaf74477ce | 80a527a895c7aeb6237f0e70bb6c04f38b71dfd2 | refs/heads/master | 2021-07-22T12:02:00.856707 | 2017-11-01T23:42:28 | 2017-11-01T23:42:28 | 106,172,802 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 124 | cpp | #include "sanity.hpp"
void Sanity::checkNoError(PaError err){
if (err != paNoError){
throw int(err);
}
}
| [
"on.celebi@gmail.com"
] | on.celebi@gmail.com |
64784e909d0805e5459ed2904f2b0ee2dbc46d4a | 4f0fc889b8f53a446d13bfc291858d3b882ffb66 | /libraries/chain/include/enudex/chain/custom_evaluator.hpp | 8fea980066f45435fc9cf7611a7d330abd84fec3 | [
"MIT"
] | permissive | hwlsniper/enudex-core | 8492c90a895c3c4459fac2e465e230efe2d306b9 | 6a01603557e1ab83446a492b4eec4cc3c446f1e0 | refs/heads/master | 2021-04-05T23:54:58.221979 | 2018-03-11T02:07:57 | 2018-03-11T02:07:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,652 | hpp | /*
* Copyright (c) 2015 Cryptonomex, Inc., and contributors.
*
* The MIT License
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the... | [
"admin@enumivo.org"
] | admin@enumivo.org |
6ce1e1e1c79d047ba897b53f83388225d9ec26d0 | f5348ab812621871a5d2861f22d36d27c8336233 | /Microcontroller_Code/add_these_to_library/Intensity/Intensity.h | 3d1895668c4757fc62964f9289ecbec80d720680 | [] | no_license | McCleanResearch/Optogenetic-Chemostat-Files | 1029456bc9ba694650b29b2f9e2cfc61708850b8 | f04129cdb7853b9bbe11f9e36f5802e55471ce2d | refs/heads/master | 2020-04-12T08:10:29.802411 | 2017-06-29T21:52:37 | 2017-06-29T21:52:37 | 60,361,683 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 485 | h | /*
Intensity.h - Library for turning on 0-64 LEDs on 8x8 array.
Created by Cameron J. Stewart, November 25, 2015.
Released into the public domain.
*/
#ifndef Intensity_h
#define Intensity_h
#include "Arduino.h"
class Intensity
{
public:
Intensity(int dataIn,int load, int clock);
void numLEDs(int num);... | [
"cameronstewart92@gmail.com"
] | cameronstewart92@gmail.com |
87ae50dc8fccdf067e120a0d0984a985569fdf70 | 052fcb282054628ec5cb23911a266a8c80eae3c1 | /3D_Engine/ResourceSceneLoader.h | 59c12bfde18d6abb2855e25139b2d1064823e3ac | [
"MIT"
] | permissive | AdrianFR99/3D-Game-Engine | 72397ae3f850ece7570dabd64787689993fbae40 | 4265bbcc28164d10e472ef83f233d41e7dc24441 | refs/heads/master | 2020-07-27T13:38:33.764275 | 2019-12-09T15:48:02 | 2019-12-09T15:48:02 | 209,108,914 | 0 | 0 | MIT | 2019-10-13T17:52:20 | 2019-09-17T16:52:28 | C++ | UTF-8 | C++ | false | false | 686 | h | #ifndef __IMPORTER_SCENE_H__
#define __IMPORTER_SCENE_H__
#include <vector>
#include "Globals.h"
class ResourceMeshLoader;
class ResourceTextureLoader;
struct aiNode;
struct aiScene;
class ComponentMaterial;
class Gameobject;
enum ExportFileTypes
{
MODEL,
SCENE
};
class SceneLoader
{
public:
SceneLoader();
... | [
"36264953+TheArzhel@users.noreply.github.com"
] | 36264953+TheArzhel@users.noreply.github.com |
178775350146ab254c4d2528de6e345c22529646 | 7d558e68292c1b6345e6f0af1f14927a60367718 | /Arith_262_HBR_270_QPR/Product_262_HBR.h | 2ac5b76d38444de3b2d05af8aa1af10adebba1f4 | [] | no_license | veinyyxy/IDP_OLD2 | e8c15c8cc0d0be62ea7c359b46b5285616ba2da1 | 4dbd439f5d01a78eb10a3da5792d609d0950ae2b | refs/heads/master | 2022-12-19T19:19:31.823314 | 2020-09-28T05:24:17 | 2020-09-28T05:24:17 | 299,151,464 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 553 | h | #ifndef _PRODUCT_262_HBR_H_
#define _PRODUCT_262_HBR_H_
#include "SingleProductBase.h"
class Product_262_HBR : public ProductBase
{
public:
Product_262_HBR();
~Product_262_HBR();
GHRESULT ConstructIt(gInt16 rardialCnt, gInt16 gateCnt);
PDBlock * GetPDBlock();
DILayer * GetLayer();
... | [
"veiny_yxy@163.com"
] | veiny_yxy@163.com |
1495d0974f98d3666d5e75a4e7a1e6510bb5ada2 | 3d64d8bc23e493989029fc620c7f46654c6a8dae | /utils/PackageGenerator/PackageGenerator.h | dd1d3fc7b16e5d040a57d6c78c23844d0b0bbf1e | [
"MIT"
] | permissive | FajraKatviro/FKFramework3 | 156cf4dba617ae0f57adc78ad8aa95bb7c24ce9c | 08163c7de25ab4242c2bb51fb69f486a20a7bf9b | refs/heads/master | 2021-01-17T08:28:02.620956 | 2017-10-15T00:00:57 | 2017-10-15T00:00:57 | 83,924,091 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 922 | h | #ifndef PACKAGEGENERATOR_H
#define PACKAGEGENERATOR_H
#include <QTextStream>
#include <QDir>
#include <QMap>
#include <QSize>
class QString;
class PackageGenerator{
public:
PackageGenerator(const QString& sourcePath,const QString& buildPath);
bool readSetting();
bool cleanImages(const bool excessiveOnly... | [
"fajrakatviro@gmail.com"
] | fajrakatviro@gmail.com |
967868b942fb4cfb0eae71bc29b732557d6b216f | d3c29a514db07257f24d87dc860eaa8cac6ba005 | /PluginData.h | 6b7724d4bfb2fca6e9aec1162761a2475b930727 | [] | no_license | minershock/DeborturousVlad | 97183d94f160cb904c9e61171e666bd6459f2f00 | 24c41d6b1b801674363df2f28e4de962de00d25d | refs/heads/master | 2021-01-17T16:16:46.237520 | 2016-10-20T15:07:00 | 2016-10-20T15:07:00 | 71,474,427 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,436 | h | #pragma once
#ifndef PluginData_h__
#define PluginData_h__
#include <Windows.h>
#include <vector>
#include <cstdint>
#include <algorithm>
#include <string>
#include <array>
#include <memory>
#include <thread>
#include <future>
#include "Vector.h"
#include "Color.h"
#include "LPPConstants.h"
class I... | [
"noreply@github.com"
] | minershock.noreply@github.com |
ca773a95c4c2282fa4b7cfea2d3cf8795e8a5a7f | 5d83739af703fb400857cecc69aadaf02e07f8d1 | /Archive2/fc/826771d0f6b8e7/main.cpp | 166d14f9158dc305c4a34b7f39bfe8da0dca8bb8 | [] | no_license | WhiZTiM/coliru | 3a6c4c0bdac566d1aa1c21818118ba70479b0f40 | 2c72c048846c082f943e6c7f9fa8d94aee76979f | refs/heads/master | 2021-01-01T05:10:33.812560 | 2015-08-24T19:09:22 | 2015-08-24T19:09:22 | 56,789,706 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,811 | cpp | #include <iostream>
#include <utility>
#include <tuple>
struct value
{
template <typename A1>
static constexpr decltype(auto) apply(A1&& a1) { return std::forward<A1>(a1); }
static constexpr int arity = 1;
};
template <typename T1, T1 value>
struct constant
{
static constexpr decltype(auto) a... | [
"francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df"
] | francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df |
26a105c77d4bf36ad47e77862219195f931ae67d | 1e4e18308d5d469555c87d3a48ff26fef78cb27a | /Oblig1/Transaksjon.h | b056d2446e7e9204ee8d714462e8b58432ffbf0f | [] | no_license | h181180/cpp-assignments | 832bf7a60cc84f6c57c8ea2f40fb5bf7a570129f | 4254e87414055d99b0eeb5b99750734acac45d49 | refs/heads/master | 2020-04-21T21:16:46.846999 | 2019-02-16T15:46:08 | 2019-02-16T15:46:08 | 169,873,899 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 489 | h | #include <iostream>
class Transaksjon
{
private:
int fraId, tilId;
double belop;
public:
Transaksjon(int f, int t, double b) : fraId{f}, tilId{t}, belop{b} {}
friend std::ostream& operator<<(std::ostream& stream, const Transaksjon& t);
};
inline std::ostream& operator<<(std::ostream& stream, con... | [
"adrsolheim2@gmail.com"
] | adrsolheim2@gmail.com |
fb2d9c8741fc9a7f006ec71524d86863832b27f7 | 70c33d372ee0a6e3c78cb423b14838cfef0395d4 | /include/dish2/record/write_selected_frames.hpp | c0deee971aa59aa2915761eccf250e86cbba02bc | [
"MIT"
] | permissive | mmore500/dishtiny | 3e077f0ef7324cc260bd6f0d0f49771d0751fd2d | bdac574424570fb7dc85ef01ba97464c6a8737cc | refs/heads/master | 2023-05-22T07:33:20.418326 | 2022-09-28T22:45:46 | 2022-09-28T22:46:09 | 122,763,244 | 32 | 6 | MIT | 2022-09-09T23:41:12 | 2018-02-24T17:34:33 | C++ | UTF-8 | C++ | false | false | 1,706 | hpp | #pragma once
#ifndef DISH2_RECORD_WRITE_SELECTED_FRAMES_HPP_INCLUDE
#define DISH2_RECORD_WRITE_SELECTED_FRAMES_HPP_INCLUDE
#include <chrono>
#include <future>
#include <mutex>
#include <utility>
#include "../../../third-party/Empirical/include/emp/tools/string_utils.hpp"
#include "../config/thread_idx.hpp"
#include ... | [
"mmore500.login+git@gmail.com"
] | mmore500.login+git@gmail.com |
d5cb2856743f04febe94857dad332ab44612fa04 | cb0d82f5a7296057c9659a539e5fad0d21db37bc | /Master/ClientConn.cpp | e4187b7594027bf23ef44cfa20872637dc61ea5e | [] | no_license | harborF/moosefs-cplus | 012a72c6e5315c60f18321e6a32f5bb18756cc4f | 77fe46695455e24d3a030f42e6660b4f4edff960 | refs/heads/master | 2021-03-10T10:11:13.974247 | 2020-03-11T01:20:56 | 2020-03-11T01:20:56 | 246,444,309 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,500 | cpp | #include "ClientConn.h"
#include "charts.h"
#include "ChartsData.h"
STSession* CClientConn::s_pSessHead=NULL;
CClientConn* CClientConn::s_pConnHead = NULL;
uint32_t CClientConn::s_SessSustainTime = 0;
int CClientConn::s_exiting = 0;
int CClientConn::s_starting= 0;
uint32_t CClientConn::s_RejectOld = 0;
void CClientC... | [
"1483@mapgoo.net"
] | 1483@mapgoo.net |
104ce7f4a49147581e411df15efd58f9e73a01f0 | 0f7ab05a7a0c7dc93a9ca0772aa3291faa69adc8 | /Inkscape/include/2geom-1.1.0/2geom/math-utils.h | ee923f57c3db3f9e546dc882b57b481491027d5f | [] | no_license | mmullerx4/mmullerx4.github.io | 9de6eb1ee044e3138c08e71103b2d3c846103ed8 | 40e9e4007f60aa31ad01f8a82f73b4538040c046 | refs/heads/main | 2023-06-06T23:54:12.998238 | 2021-06-23T17:12:01 | 2021-06-23T17:12:01 | 327,390,705 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,230 | h | /**
* \file
* \brief Low level math functions and compatibility wrappers
*//*
* Authors:
* Johan Engelen <goejendaagh@zonnet.nl>
* Michael G. Sloan <mgsloan@gmail.com>
* Krzysztof Kosiński <tweenk.pl@gmail.com>
* Copyright 2006-2009 Authors
*
* This library is free software; you can redistribute it and/... | [
"mmullerx4@gmail.com"
] | mmullerx4@gmail.com |
dbe15384a8c428ecdcc5b5dca2d7040b387de89c | a800feca39db1fee87e92e73b3174ae7f4f45feb | /trees/k-far.cpp | bc016bb63ff0d5d134e2ade43fbdf2f3afb2c28f | [] | no_license | manmeet0307/Pepcoding-IP | b0c057af1e36a5259accf53bd630ad9812f7bd81 | 322e761e92818b593d88494a06238f190f871547 | refs/heads/master | 2022-02-18T12:29:33.506662 | 2019-08-11T09:43:55 | 2019-08-11T09:43:55 | 256,763,022 | 1 | 1 | null | 2020-04-18T13:39:57 | 2020-04-18T13:39:57 | null | UTF-8 | C++ | false | false | 1,026 | cpp |
void kdown(node * root, int k ,node * blocker)
{
if(root == NULL || k<0 || root == blocker)
{
return ;
}
if(k == 0)
{
cout<<root->data<<" ";
return ;
}
kdown(root->left,k-1,blocker);
kdown(root->right , k-1 , blocker);
}
bool kfar(node* root, node* target , int ... | [
"simrankr361@gmail.com"
] | simrankr361@gmail.com |
e5d6efa4c9bdfc9f908624b1ec920eadb835b649 | 1fb50051f09802abc45e6e155d656d4153985be3 | /NoDetector.cc | b450f3bc5b5d0ca01519a12e7f5443f5e38572fe | [] | no_license | KieraninTehdas/EnergyDependence | 7e964f8bd71ba47a5fe5914506eeb1a1b9fbabeb | 2e29afa0edf74cd363ce67a4044fb49dfe8cdf68 | refs/heads/master | 2020-12-24T09:22:31.951663 | 2016-11-10T15:31:58 | 2016-11-10T15:31:58 | 73,299,689 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,758 | cc |
#include "DetectorConstruction.hh"
#include "ActionInitialization.hh"
#ifdef G4MULTITHREADED
#include "G4MTRunManager.hh"
#else
#include "G4RunManager.hh"
#endif
#include "G4UImanager.hh"
#include "FTFP_BERT.hh"
#include "G4StepLimiterPhysics.hh"
#include "G4VisExecutive.hh"
#include "G4UIExecutive.hh"
#include ... | [
"noreply@github.com"
] | KieraninTehdas.noreply@github.com |
f7766bf7b5d3f49933f0138e74689475ed555af4 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/httpd/gumtree/httpd_repos_function_1923_httpd-2.3.6.cpp | cf029d6d9ace85fb1c11548722589d94ebce1269 | [] | 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 | 6,300 | cpp | char *sed_compile(sed_commands_t *commands, sed_comp_args *compargs,
char *ep, char *endbuf, int seof)
{
int c;
int eof = seof;
char *lastep;
int cclcnt;
char bracket[NBRA], *bracketp;
int closed;
int neg;
int lc;
int i, cflg;
int iflag; /* used for non-ascii ch... | [
"993273596@qq.com"
] | 993273596@qq.com |
026646e5382980fbb91b2069744ffdbad57b008f | f00687b9f8671496f417672aaf8ddffc2fa8060a | /topcoder/657/ProblemSets.cpp | 0e9da16b2890564328a8de30e6690a9104701a25 | [] | no_license | kazi-nayeem/Programming-Problems-Solutions | 29c338085f1025b2545ff66bdb0476ec4d7773c2 | 7ee29a4e06e9841388389be5566db34fbdda8f7c | refs/heads/master | 2023-02-05T15:06:50.355903 | 2020-12-30T10:19:54 | 2020-12-30T10:19:54 | 279,388,214 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 4,038 | cpp | #include <vector>
#include <list>
#include <map>
#include <set>
#include <queue>
#include <deque>
#include <stack>
#include <bitset>
#include <algorithm>
#include <functional>
#include <numeric>
#include <utility>
#include <sstream>
#include <iostream>
#include <iomanip>
#include <cstdio>
#include <cmat... | [
"masum.nayeem@gmail.com"
] | masum.nayeem@gmail.com |
25c0c4e97c694712b829e3fae79c63223d1cdf59 | 3b4cc42d2ba298f26be27be178dab159b7d207aa | /content/browser/renderer_host/text_input_manager.h | b5fde7f6dc39b13ad404320995bc8d8376e57d88 | [
"BSD-3-Clause"
] | permissive | randdkim/chromium | 129932ec600b6a7a5c1223b46c86cd4aa1b1e961 | 625e2c8105ebb18772ac3cd939d9bbeef48cde56 | refs/heads/master | 2023-03-05T19:58:50.317361 | 2016-06-29T03:00:24 | 2016-06-29T03:02:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,979 | h | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_BROWSER_RENDERER_HOST_TEXT_INPUT_MANAGER_H__
#define CONTENT_BROWSER_RENDERER_HOST_TEXT_INPUT_MANAGER_H__
#include <unordered_map>
#incl... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
1a293a53f32e141a3c52862ef53690b5913fb50c | 9134638e7f8e5626153da587c1d27d5cae657dd8 | /seminar-homeworks/18-11-17/small-big-letters-numbers-symbols.cpp | f33248fb3bf975064b36165f457dfee79cb07a98 | [] | no_license | moiraxavier/informatics-1-course | fd5df5db10be562558cc17288968b873fda962d1 | 9701eb44e3fb3dcbae3d8e0d36d4140c9968ba00 | refs/heads/master | 2020-04-07T00:45:24.926925 | 2019-05-18T21:12:23 | 2019-05-18T21:12:23 | 157,917,181 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,293 | cpp | // Посчитать в введенной строке количество
// 1. маленьких букв
// 2. больших букв
// 3. цифр и их сумму
// 4. спец. сиволов
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <ctype.h>
// проверка символов строки на то, являются ли они маленькими буквами, большими буквами
// цифрами (тогда находим их... | [
"noreply@github.com"
] | moiraxavier.noreply@github.com |
4815a4c7bc21900a64c178d397f36d040afb6426 | 48fee5936689dfd02453d1e4d1160668077afa28 | /prj_Qt/aa2/main/dbase.cpp | 3ac3d1b7ded0fe597775f6297eae1890d578f802 | [] | no_license | roboturx/aa | 0996f1592685a810ff72886587a440ce711928b9 | 103870ab4a2b1335cdeb1ecdafecf26ce119e58c | refs/heads/master | 2023-04-13T08:24:07.648807 | 2023-04-11T14:44:49 | 2023-04-11T14:44:49 | 130,236,963 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 58,629 | cpp |
#include "main/globals.h"
#include "main/dbase.h"
#include "ui_dbase.h"
DBase::DBase(QWidget *parent) :
QWidget(parent),
ui( new Ui::DBase )
{
qDebug() << "mwmain.login.dbase constructor- 1210";
ui->setupUi(this);
ui->durum->append("Veri tabanı dosyaları kontrol ediliyor...");
}
DBase::~DBase()... | [
"roboturx@gmail.com"
] | roboturx@gmail.com |
b11b4b1ea7530f8cfbee3e30e29f4c6528b4f0d4 | 7d0f68fb588b8f15d4221bd7a1458465a808c76e | /OverlordEngine/SkinnedShadowMapMaterial.h | 4a297a7ceb4371534e48b41a32670799a87ad629 | [
"MIT"
] | permissive | Zakatos/Rift-Traveller | 8248c0fc62af2bb1cc02768bd1c522b72b2ad5b4 | cbce326e4c508f9342a4fa9904bfad2a9fcabb92 | refs/heads/master | 2020-03-31T22:18:53.908010 | 2018-10-11T15:34:24 | 2018-10-11T15:34:24 | 152,611,866 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 817 | h | #pragma once
#include "Graphics/Material.h"
#include "Graphics/TextureData.h"
class SkinnedShadowMapMaterial :public Material
{
public:
SkinnedShadowMapMaterial();
~SkinnedShadowMapMaterial();
void SetLight(XMFLOAT4X4 lightVP);
void SetWorld(XMFLOAT4X4 world);
protected:
void LoadEffectVariables() override;
vo... | [
"ameletiadis@yahoo.com"
] | ameletiadis@yahoo.com |
95cddcb4e88a0ffa7820f66a8ad802ec6ba9e899 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/CMake/CMake-gumtree/Kitware_CMake_repos_basic_block_block_10536.cpp | b7feae4eefa951d5fd1c38dc06274d0da4d83600 | [] | 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 | 13 | cpp | window = 4096 | [
"993273596@qq.com"
] | 993273596@qq.com |
26c401ff9018cf77d2bd1b35b07a676eeaf276af | daa0e9d968884202e2d4cc6769a8a1fe060e5e84 | /luas-keliling-lingkaran.cpp | 6ddf78b8e461cb59a5b0fa5eb45b84be3289362f | [] | no_license | Ankit1dubey/Hacktoberfest-Accepted | 03ecab59d10f934b8b5ed6f2d65c9a64692e2cff | cd2d8a55b7c62d8d56165a74e717ab4733bcdae7 | refs/heads/main | 2023-08-22T07:24:14.105087 | 2021-10-30T16:42:51 | 2021-10-30T16:42:51 | 422,935,434 | 2 | 0 | null | 2021-10-30T16:36:39 | 2021-10-30T16:36:39 | null | UTF-8 | C++ | false | false | 305 | cpp | #include <iostream>
using namespace std; //bellabeen
typedef float coba;
int main () {
coba jari;
coba luas;
coba kell;
coba phi = 3.14;
cout<<"Masukkan jari jari : ";
cin>>jari;
luas = phi*jari*jari;
kell = 2*phi*jari;
cout<<"Hasil luas : \n"<<luas;
cout<<"Hasil kell : \n"<<kell;
return 0;
} | [
"rootsquid@gmail.com"
] | rootsquid@gmail.com |
556f08390159e3a0658fd3934fe92e6970a5fc22 | 3795d26105e3e899f59660115f5ff1e089516130 | /Chapter20/exercises/20.19/Tree.h | 85f83a917848c2519f58cbce952426a513b04623 | [] | no_license | PythonYXY/Cpp-How-To-Program-9E | 1ecfce083e2c5bcf16d3780d7067d60572bf0d9f | d13359a839179e78715c89b0d8e27a28942c333f | refs/heads/master | 2021-05-03T07:26:39.202381 | 2018-02-07T11:59:34 | 2018-02-07T11:59:34 | 120,609,419 | 0 | 0 | null | 2018-02-07T11:58:57 | 2018-02-07T11:58:57 | null | UTF-8 | C++ | false | false | 4,324 | h | /*
* =====================================================================================
*
* Filename: Tree.h
*
* Description: Fig. 20.21 - Template Tree class definition
*
* Version: 1.0
* Created: 14/03/17 15:47:02
* Revision: none
* Compiler: gcc
*
* Aut... | [
"siidney.watson.work@gmail.com"
] | siidney.watson.work@gmail.com |
54e0714f5b7f5f652a486cd119bf007b4ea8a003 | 742a2930677e7466ac39e61e65a62fd7d67108f8 | /ABC Ackley.cpp | b501cef629788b0fbda3ac06c62127ee26116686 | [] | no_license | SandarbhYadav/Soft-Computing | bde3e1331d3bf0cf7b1f9415c9d655d78684b5fd | dd163cc1d0cb34a605ce30b0a5f6dd1c4b3a7458 | refs/heads/master | 2022-04-28T17:22:22.905758 | 2022-04-11T11:29:36 | 2022-04-11T11:29:36 | 238,899,078 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,890 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <time.h>
/* Control Parameters of ABC algorithm*/
#define NP 100 /* The number of colony size (employed bees+onlooker bees)*/
#define FoodNumber NP/2 /*The number of food sources equals the half of the colony size*/
#define limit 100 /*A food... | [
"noreply@github.com"
] | SandarbhYadav.noreply@github.com |
5b495aa2e8a52e0e6a6bf46aed0d60d428058559 | 24fbd76b0aa6923b423c250666bd2bf870cdb829 | /src/shared/state/TerrainTypeId.h | 835212fc3c56caa09b21ea78c48ae832e26f13ab | [] | no_license | ahmedbenhamouda/francoisbenhamouda | 30f021a98d8ec09e3e4c12b7554cc08bd6419c03 | 05265df14b58d0872cf4543f4b4763d8ef157888 | refs/heads/master | 2020-03-28T23:08:46.059922 | 2019-01-18T13:17:58 | 2019-01-18T13:17:58 | 149,278,504 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 334 | h | // Generated by dia2code
#ifndef STATE__TERRAINTYPEID__H
#define STATE__TERRAINTYPEID__H
namespace state {
enum TerrainTypeId {
plaine = 0,
foret = 1,
montagne = 2,
routeh = 3,
routev = 4,
routedu = 5,
routegu = 6,
routedd = 7,
routegd = 8
}... | [
"ahmed.ben-hamouda@ensea.fr"
] | ahmed.ben-hamouda@ensea.fr |
577334e2cc55aebc2916d7fcc05c3d8a7525ef1c | 2f309d79cff3b8f0118de853d9667461dc2777cc | /3DFitting/effect.cpp | 9b70019126e7e09d526e26ac101d7ab59e18ac9e | [] | no_license | alllenwang/opengl_clothes_3d | 3e0bd78256b156ed8c9a61bb234845f435e02ff9 | 4b37838e56e01d60a87ea0915bfaf5d7e8e14e86 | refs/heads/master | 2016-09-16T03:04:37.282191 | 2016-03-10T01:37:15 | 2016-03-10T01:37:15 | 20,688,131 | 2 | 2 | null | 2016-03-10T01:37:16 | 2014-06-10T14:21:04 | C++ | UTF-8 | C++ | false | false | 5,850 | cpp | #include "effect.h"
const GLfloat TimeStep = 0.2f;
const GLfloat shiftRange = 1.0f;
const GLfloat TensionCoefficient = 1.6f;
int stepCount = 0;
bool force1 = false;
bool force2 = false;
//M3DVector3f TotalDisplacement = {0.0f, 0.0f, 0.0f};
void initEnvironment() {
outFileClothModel();
inFileClothModel();
M3DVector... | [
"wangqi199204@gmail.com"
] | wangqi199204@gmail.com |
79f947a200ac95aa8eb37cb24283a8c57c1f3e3c | e10f35fe28878455372be47935c9012ea19147c3 | /Lab2/errors.h | c91c4ab52e73c321faaa8d16b293adb2b82e3da2 | [] | no_license | Inlucker/OOP | 5ce52ad66f77b0b41097ae2693efa81492a9e297 | 02d05b94f0bdf5b8702b8990682c48db25f51a3a | refs/heads/main | 2023-07-07T14:27:11.276612 | 2021-08-16T10:53:46 | 2021-08-16T10:53:46 | 348,507,319 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,555 | h | #ifndef ERRORS_H
#define ERRORS_H
#include <exception>
#include <string>
using namespace std;
class BaseError : public exception
{
public:
BaseError(string info, string filename, int line, const char *time, string error = "Error")
{
err_info = "\nError: " + error;
err_info = err_info + "\nTim... | [
"arseny707@mail.ru"
] | arseny707@mail.ru |
032c8372c713d7b6544070b237417cffe1cbaeca | 8f1b4b94a34e372b58fba6321c857de523a5d706 | /app/shape-flow/src/io/InputReader.cpp | dd812c6f5204f6000f8d521d9104e5ef22d46838 | [] | no_license | danoan/BTools | 701fe93373c08acc96908dd4d3fdaab3a5e6dc46 | f33bffe0607818752f7de1cb20daea92721da99a | refs/heads/master | 2021-11-04T04:34:31.234316 | 2021-11-01T15:24:39 | 2021-11-01T15:24:39 | 148,428,191 | 2 | 1 | null | 2020-09-15T11:18:53 | 2018-09-12T05:50:13 | C++ | UTF-8 | C++ | false | false | 3,174 | cpp | #include "io/InputReader.h"
namespace ShapeFlow{
InputData::InputData()
{
shape = Shape(ShapeType::Square);
gridStep = 1.0;
radius=3;
iterations=10;
sqWeight = 1.0;
lgWeight = 0.0;
levels=-1;
levelDefinition = LevelDefinition::LD_FartherFromCenter;
showIterations=false;
showProgress=false;
}
I... | [
"danoan2008@gmail.com"
] | danoan2008@gmail.com |
619feef637f218f916214937967c1c9ddf494ed0 | e514e7dea552d80bc31fcc2c0c1d8bbf5dca5308 | /deps/libssm_ref-0.6.6-r2263/common/ssm/ext/boost/preprocessor/array/elem.hpp | 897bbe87c5ae37aa03602a8a3a1fba62adc50f34 | [
"BSD-2-Clause",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | sandialabs/sirocco-release | 939875cc57726b5324532a555d9ee9709ea9b96d | 008c5e40c360053300e8f61e03e36c448287a193 | refs/heads/master | 2023-06-24T19:18:51.941605 | 2019-07-18T21:08:46 | 2019-07-18T21:08:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,338 | hpp | # /* **************************************************************************
# * *
# * (C) Copyright Paul Mensonides 2002.
# * Distributed under the Boost Software License, Version 1.0. (See
# * accompanying file LICENSE_1_0.txt... | [
"mlcurry@sandia.gov"
] | mlcurry@sandia.gov |
45641add8f1b9bb27b2191f48b3ccc852fe868f6 | 4f12a6d68f412031d28016caefe84a3c4cac25ed | /src/net/ringbuffer.cpp | 94ca721e610d1a2f5b9e6ca76049d7f3721c0d85 | [] | no_license | jeremywangjun/xserver | 267a38e27099f51041e3f4d332596f3017587198 | 8b0481b45e57daf3e5f62bcaff958f8ab9eee164 | refs/heads/master | 2020-07-07T12:49:06.847212 | 2018-09-18T08:37:49 | 2018-09-18T08:37:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,597 | cpp | #include "ringbuffer.h"
#include <sys/mman.h>
#include <stdlib.h>
#include <unistd.h>
#include "common/logger.h"
#define report_exceptional_condition() abort ()
RingBuffer::RingBuffer(unsigned long order){
create(order);
}
RingBuffer::~RingBuffer(){
free();
}
//Warning order should be at least 12 for Linu... | [
"sunbin728@126.com"
] | sunbin728@126.com |
1f1bd8dc6ffc9a19d8a2660aec8506ba1870c3be | d0d23d11a695bf2b8f16af3f3532cc117e9fffe3 | /source/opengl/framebuffer.cpp | 6ed1e9b141b8732f4b4f7b39be1c21871bc288f2 | [] | no_license | sh0/madj2 | 380a648063cadba6b8f269dfd75aec96cba53d8d | 6ee1ae974bfacee6e914e38ab93cb4426ecaa881 | refs/heads/master | 2020-05-29T12:32:09.485811 | 2016-01-12T19:17:05 | 2016-01-12T19:17:05 | 25,820,718 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,081 | cpp | /*
* MADJ project
* Copyright (C) 2016 Siim Meerits <siim@yutani.ee>
*/
// Internal
#include "opengl/framebuffer.hpp"
// Constructor and destructor
c_opengl_framebuffer::c_opengl_framebuffer(
int width, int height,
c_opengl_texture_2d::e_format format_color,
c_opengl_texture_2d::e_format format_depth
)... | [
"sh0@yutani.ee"
] | sh0@yutani.ee |
160f297d0191a0665309f37e6f1e41e07025b424 | b5882500b4e16b74c4d4f52ae5586bccb19137e9 | /src/collections/materials/lambertian.cpp | 462844f33ef59d042939f168244df4f2ef61ef00 | [
"MIT"
] | permissive | JakMobius/zeta_path_tracer | bd61660f74ecee0d780398190b8c565a7e5c17a4 | f17ac4e882319c6dd7dff545f7f1e1bf9cb045e1 | refs/heads/main | 2023-08-17T13:27:17.620558 | 2021-10-08T12:53:29 | 2021-10-08T12:53:29 | 405,775,221 | 0 | 0 | MIT | 2021-09-12T23:22:39 | 2021-09-12T23:22:39 | null | UTF-8 | C++ | false | false | 946 | cpp | #include "lambertian.h"
m_Lambertian::m_Lambertian(const Color &albedo_):
Material(),
albedo(new t_SolidColor(albedo_)),
to_affect_emitter(1)
{}
m_Lambertian::m_Lambertian(Texture *texture_):
Material(),
albedo(texture_),
to_affect_emitter(1)
{}
bool m_Lambertian::scatter(const Ray &, const HitRecord &hitrec, Color... | [
"maxim.gorishniy@gmail.com"
] | maxim.gorishniy@gmail.com |
2d8b4b32e8dcb713a57adb325d8a24e4197ad726 | 3a902c2e271fd09733549616561780719d940fc9 | /N-Puzzle v5/BoardArray2D.h | b0d7d9a29503db0f48cf91bf8c9ffdabaf414aca | [] | no_license | kaanbozdogan/OOP | 3e1d296acc033c5c8835ab67e98dd056f60f5301 | cdaac0c80e2569cf90b640865d1f742434d94e9e | refs/heads/main | 2023-04-04T00:20:41.863293 | 2021-04-08T16:41:42 | 2021-04-08T16:41:42 | 355,978,777 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 739 | h | #ifndef BOARDARRAY2D_H
#define BOARDARRAY2D_H
#include "BoardAbstract.h"
using namespace Bozdogan_CSE241_HW5;
class BoardArray2D : public AbstractBoard
{
public:
BoardArray2D();
BoardArray2D(const int& height, const int& width);
~BoardArray2D();
BoardArray2D(const BoardArray2D& other);
BoardArray2D& operator... | [
"noreply@github.com"
] | kaanbozdogan.noreply@github.com |
b8353e2146cc81e724dbaa802855cbf59b6a0b43 | 55f628b3f3cdff648f2878ed2d9bd79e9532d832 | /app_image_preview/src/main/jni/libcommon/GLHelper.cpp | b573492b580180c90f6d6381e56d799ef287c58a | [] | no_license | BetterDaZhang/AndroidMediaProjects | 82984e9dcd89fd418000eaad634f5d39fe4280af | ccbe430052161a4ee339a86f039dd3695b09eac9 | refs/heads/master | 2020-03-25T17:10:23.962143 | 2018-08-29T08:54:27 | 2018-08-29T08:54:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,334 | cpp | //
// Created by zhangjunling on 18-8-9.
//
#include "GLHelper.h"
#define LOG_TAG "GLHelper"
int GLHelper::compileShader(int type, const char * shaderCode) {
int shader = glCreateShader(type);
if (shader == 0) {
}
glShaderSource(shader, 1, &shaderCode, NULL);
glCompileShader(shader);
GLint... | [
"jizhang@renosdata.com"
] | jizhang@renosdata.com |
c63954382ea23cb220b39be8aa68ae298ed52187 | 119d21268419c53b3f7c1090b430fa7e6a568a82 | /cyber/transport/rtps/sub_listener.cc | ffd7dc4e9743f2ce16b554fb87172e952f156dac | [] | no_license | GoeSysWare/AiwSys | 4444af0e56cc340fdf6343a9765cdfacef2181c9 | 422c334eee782013d381972bd2e84afdf4f6b696 | refs/heads/master | 2022-06-13T22:28:02.464951 | 2020-06-23T02:29:55 | 2020-06-23T02:29:55 | 203,970,151 | 3 | 2 | null | 2022-06-02T21:45:55 | 2019-08-23T09:42:43 | C++ | UTF-8 | C++ | false | false | 2,522 | cc | /******************************************************************************
* Copyright 2018 The Apollo 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 Licens... | [
"guooujie@163.com"
] | guooujie@163.com |
17e54d01a796f439d8056af1ee6dad532ec88a70 | e9e36f85e172c77fc5f25d1124bce1d04ba66910 | /6_v_liu2.cpp | 7d9489ee828baf13aa12d6a9ff86a460b6ac3ef2 | [] | no_license | a550461053/GMCM2017 | 929d262b4d5346d71f0e01cc3266795d42d5a6d4 | f149f03b1bb623c9298a97f40aaccf6932b33e94 | refs/heads/master | 2021-09-06T10:17:56.972851 | 2018-02-05T12:46:20 | 2018-02-05T12:46:20 | 104,697,437 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,419 | cpp | #include <iostream>
#include <fstream>
#include <cmath>
using namespace std;
int get_distance(int x1,int x2,int y1,int y2)
{
return (sqrt(pow(abs(x2-x1),2)+ pow(abs(y2 - y1), 2)));
}
struct point1 {
int index;
int x;
int y;
};
#define num 20
point1 pre_arr[num];
point1 cur_arr[num];
//int num = 20;
float v_zhen;... | [
"a550461053@gmail.com"
] | a550461053@gmail.com |
75bfc82dd02f1d96f8e5ee62f0ea81ccafe10482 | 7923d84edbd6956d8e3e501bd0f88669b15c61ce | /src/algorithms/implementation/grading_students/grading_students.cpp | 7c74175b0aa8e1fab835385e82376f1615c9d579 | [
"MIT"
] | permissive | bmgandre/hackerrank-cpp | bbce1b912ee78b413408118b24a7373aa072e2fc | f4af5777afba233c284790e02c0be7b82108c677 | refs/heads/master | 2023-01-18T19:18:21.630856 | 2020-12-01T00:49:20 | 2020-12-01T00:49:20 | 105,839,527 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 689 | cpp | #include "grading_students.h"
#include <iostream>
#include <string>
#include <vector>
using namespace hackerrank::bmgandre::algorithms::implementation;
/// Practice>Algorithms>Implementation>Grading Students
///
/// https://www.hackerrank.com/challenges/grading
void grading_students::solve()
{
auto n = 0; // the num... | [
"bmg.andre@gmail.com"
] | bmg.andre@gmail.com |
42af255d71099a710766d663f4814a1fbe1e5a49 | 33086972828c89b04801dc6d8062b5e966224a7e | /Foundation/week-05/Practice/Matrix1_symmetric/Matrix1_tests/Matrix1Test.cpp | f4648110b35c82d061be5801d0c39a49cfa56213 | [] | no_license | green-fox-academy/zsofi777 | fdb896cda4b876d6a6df80e66fe60db59ff6fadd | 62cebc6556200c9d8bf0b3455f092ed235d2394c | refs/heads/master | 2020-05-09T14:50:16.367005 | 2019-09-22T12:58:01 | 2019-09-22T12:58:01 | 179,094,712 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 820 | cpp | #include "Matrix1.h"
#include <gtest/gtest.h>
#include <iostream>
TEST(isSymmetricFunction, isSymmetric)
{
// Arrange
std::vector<std::vector<int>> testInput{{1, 0, 1},
{0, 2, 2},
{1, 2, 5}};
// Act
bool result = is... | [
"kovagozsofia@gmail.comgit config --listk"
] | kovagozsofia@gmail.comgit config --listk |
e09ad899ecc9c8e6af9bc8517d23015d8ba4547f | b5be2561b90d9cbaf7136ef06630311e4c4e4582 | /Phong/bvh_node.h | d2ec56ce7d020b46b75f945ae83f7b9e1f042c96 | [] | no_license | TiffanyChou21/COSC-0035-CG | 60f1006ed04d3f202d144c49bb6ba9e484c8d1bf | 49639ea6699687c9bff16cb859d56d33ae2cead3 | refs/heads/master | 2020-08-29T00:53:36.492022 | 2020-01-06T16:35:25 | 2020-01-06T16:35:25 | 217,870,835 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,736 | h | #ifndef BVH_NODEH
#define BVH_NODEH
#include "hitable.h"
#include "hitable_list.h"
#include "aabb.h"
#include "drand48.h"
int box_x_compare(const void *a, const void *b)
{
aabb box_left, box_right;
hitable* ah = *(hitable**)a;
hitable* bh = *(hitable**)b;
if (!ah->bounding_box(0, 0, box_left) || !bh-... | [
"215370196@qq.com"
] | 215370196@qq.com |
ee2f2dc94d086cd334a91be608e6e96efeff24bd | 13e7214a3a105d84b7ce825083894ef0c9b0d022 | /HandGestureControl/HandGestureControl/removeNoise.cpp | 9d6b50faf383178373e5ccec517372a3bda908a2 | [] | no_license | Jackson2064/HandGestureControlSystem | 72529d4ba7dfe7d80f55bbec6398b8d0d03ff7fc | dc2b4b8b93e93b952733e5dfcfc692893671590d | refs/heads/master | 2021-01-01T04:40:37.526986 | 2016-04-29T18:32:42 | 2016-04-29T18:32:42 | 57,404,934 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,266 | cpp | #include "removeNoise.h"
#include "Colors.h"
#include <opencv2/opencv.hpp> //Contains: VideoCapture
#include <time.h>
#include <iostream>
#include <sstream>
#include <string>
#include <vector>
#include <opencv\highgui.h>
#include <opencv\cv.h>
#include <opencv2/opencv.hpp> //Contains: VideoCapture
using namespace cvfl... | [
"jackson.2064@osu.edu"
] | jackson.2064@osu.edu |
de8fdf58b555b310730446c214b16b0f114d5630 | 5d83739af703fb400857cecc69aadaf02e07f8d1 | /Archive2/3e/93b043398f5884/main.cpp | e8a932498bd58fdcad98e1ac36adc6a5c30784bf | [] | no_license | WhiZTiM/coliru | 3a6c4c0bdac566d1aa1c21818118ba70479b0f40 | 2c72c048846c082f943e6c7f9fa8d94aee76979f | refs/heads/master | 2021-01-01T05:10:33.812560 | 2015-08-24T19:09:22 | 2015-08-24T19:09:22 | 56,789,706 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 187 | cpp | struct Point
{
constexpr int size() const { return 1; }
};
void f(Point x)
{
constexpr auto z = x.size();
static_assert(z == 1, "");
}
int main()
{
Point p;
f(p);
} | [
"francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df"
] | francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df |
57a5e69a684735c39245a9e6b6ad7aa6963c3e56 | 472b5faa02549475fa82c483f04a68d78ae06379 | /project/src/raytrace_mpi.cpp | 71747d7cc054888fb863948badd48c6ab67a6758 | [] | no_license | SnehalChitnavis/parallel_cluster_programming | a1c49093feafb13ee53d7c76f323ce59220b87f3 | 5f216f0d4c9a8beea7525668673e475030c04c82 | refs/heads/master | 2020-03-11T21:02:27.248949 | 2018-04-19T18:21:53 | 2018-04-19T18:21:53 | 130,253,908 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,283 | cpp | //Jason Lowden
//October 26, 2013
//This file contains the implementation of a ray tracer that is to be used with MPI.
#include <ctime>
#include <iostream>
#include <ctime>
#include <string>
#include <sys/stat.h>
#include <mpi.h>
using namespace std;
#include "RayTrace.h"
#include "master.h"
#include "slave.h"
int m... | [
"noreply@github.com"
] | SnehalChitnavis.noreply@github.com |
472c7b3ed92ea24a10dac7641814f0c87278077d | 323788cf746237167c70f38117d3fbd26e92c041 | /sandbox/karel/src/nnet-cpubin/nnet-latgen-faster.cc | 93367617c519faafbadf65b07596439f1409bcef | [
"Apache-2.0",
"LicenseRef-scancode-public-domain"
] | permissive | zweiein/kaldi | 3cfc5d1fc66c1ca32c74f71171d4af2e2512f15c | 708448c693272af0d68c8e178c7b4ff836125acf | refs/heads/master | 2020-12-26T00:45:36.907011 | 2015-10-23T21:17:02 | 2015-10-23T21:17:02 | 46,313,562 | 0 | 1 | null | 2015-11-17T00:57:57 | 2015-11-17T00:57:57 | null | UTF-8 | C++ | false | false | 10,000 | cc | // nnet-cpubin/nnet-latgen-faster.cc
// Copyright 2009-2012 Microsoft Corporation
// Johns Hopkins University (author: Daniel Povey)
// 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 o... | [
"danielpovey@5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8"
] | danielpovey@5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8 |
fef8032e39d45f88fb66cfe8bcc68b777ff5bdb7 | 44a03bede7d20ed11e85b9d11dbdd2e6177ee565 | /src/xrGame/cta_game_artefact_activation.cpp | 1898b3b9626effc08e5ff2963af8ff3c3f0c68b8 | [] | no_license | RainbowZerg/X-Ray_Engine_1.5.1.0 | 4bdcd8b38208cb6b9b13d93aac356f685fdaa766 | 95d0f1cb8a3f1e072e5676911d28fbd624195afe | refs/heads/master | 2021-01-23T01:08:19.799158 | 2018-06-01T01:52:29 | 2018-06-01T01:52:29 | 85,878,409 | 8 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,104 | cpp | ////////////////////////////////////////////////////////////////////////////////
// Module : cta_game_artefact.cpp
// Created : 19.12.2007
// Modified : 19.12.2007
// Autor : Alexander Maniluk
// Description : Artefact object for Capture The Artefact game mode
////////////////////////////////////////////////////////... | [
"zloyzergo@gmail.com"
] | zloyzergo@gmail.com |
1d9e36a09a8dba51499b3f24071cec40c8ca3e21 | 8063e2740ccddef2ae8a7e6bb56dfb602a50cf37 | /cam/main.cpp | 9d126ed8b06d5b808bc1a898c9e6166cfb2197f7 | [] | no_license | raph38130/Tango_DS | 7c18614311b53577a6b6e354afe38f3ea101c15b | 52f46c50bfb98ec05f4478f5bb761c4290313dee | refs/heads/master | 2021-01-10T05:00:00.735884 | 2017-03-24T17:41:54 | 2017-03-24T17:41:54 | 44,541,183 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,433 | cpp | /*----- PROTECTED REGION ID(UsbCam::main.cpp) ENABLED START -----*/
static const char *RcsId = "$Id: $";
//=============================================================================
//
// file : main.cpp
//
// description : C++ source for the UsbCam device server main.
// The main rule is to in... | [
"rponsard@gmail.com"
] | rponsard@gmail.com |
d733864049ecc423adf77ba394a17fadcc99cd1d | 62a54fb10f71e07d45f2d447d3626c8e9eb406d7 | /ComplexoMatriz/Matriz/classMatrix.h | e5980528c3989e18e352202c3fb19fbf66a31885 | [] | no_license | dy-paiva/trabalho | 411211c01b406754ffffedcea649d8eb85a90b48 | 250c06c7dff0538a441a930c8aa4c37a3cce3a55 | refs/heads/master | 2020-12-24T15:41:14.360883 | 2015-09-29T20:51:02 | 2015-09-29T20:51:02 | 42,972,299 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 393 | h | #include <iostream>
#include <stdio.h>
#include <stdlib.h>
using namespace std;
class Matrix {
public:
Matrix(int, int);
int getLine();
int getColumn();
int getValue(int, int);
void setValue(int, int, int);
void print();
Matrix operator+(const Matrix&);
Matrix operator-(const Matrix&);
Matrix ope... | [
"dy-paiva@hormail.com"
] | dy-paiva@hormail.com |
74c4df671f89541e7706bebf6604275e85085253 | 0060f249b3059d2cc8a665d0dae7bd30bf21f180 | /task1/Source.cpp | 6ed928fa61677f9d70adc0171e47a322c521031b | [] | no_license | BaLLoNTV/UniversityAssignments-C | 577800bc651155e88206ee461fbbc21ec23613ae | ef820cf02eecde80c861bf2308b427df7b2a19e3 | refs/heads/master | 2021-07-13T14:02:36.556455 | 2021-04-18T07:37:00 | 2021-04-18T07:37:00 | 245,171,251 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,228 | cpp | #include "stdafx.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
typedef struct node {
char c;
struct node* next;
}node;
node* list_new() {
return (node*)malloc(sizeof(node));
}
void list_inserts(node** head, char c)
{
node* n = list_new();
n->... | [
"noreply@github.com"
] | BaLLoNTV.noreply@github.com |
deb74f3719bb93f7be95f625330027570551e277 | 661c9eeef9ec1e174b19fa3585c8f55c3fed678e | /inherit.cpp | 3b532f47a9898499fc79e1123520ce8266b66d23 | [] | no_license | SakibNoman/randomly-problem-solving | 4cd54867aa7ddb1d025ea25300a2e98973273942 | b51c3aa00d155aea6a5fad55090d813b35af947d | refs/heads/main | 2023-02-22T00:12:49.608116 | 2021-01-26T03:45:29 | 2021-01-26T03:45:29 | 332,961,493 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 348 | cpp | #include<iostream>
using namespace std;
//base class
class fish
{
public:
string variety="Catla\n";
void size()
{
cout<<"big catla\n";
}
};
//derived class
class myfish
{
public:
string name="Catla catla\n";
};
int main()
{
myfish myobj;
myobj.size();
cout<<myobj.variety<<" "<<m... | [
"skbnmn@gmail.com"
] | skbnmn@gmail.com |
dc2c65ef1c151b2be994133cabdc650ac501163f | fa2d3e50eeb35c4c562e56a1567fe73cbb683231 | /src/actuators/DigitalControl.h | 9dc415bd28e36acf2ac2ec2e06b0bc2a7463482c | [] | no_license | edunola13/arduino-basic-oo | cb21fc4f7ea03411032637ff4003bf74d4541064 | 6058d0bddf30bb7045c2707ef947aa4f7fe69b44 | refs/heads/master | 2021-07-01T17:13:03.076226 | 2020-08-16T00:58:16 | 2020-08-16T00:58:16 | 131,091,368 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 701 | h | #ifndef DigitalControl_h
#define DigitalControl_h
//#include "WConstants.h"
#include <Arduino.h>
#include <ComponentAbstract.h>
class DigitalControl: public ActuatorAbstract {
protected:
uint8_t pinD, state;
public:
//1 = Digital, 2 = PWM
uint8_t type = 1;
DigitalControl();
DigitalControl(uin... | [
"edunola13@hotmail.com"
] | edunola13@hotmail.com |
98bb598b73f4a97b304fb7fccd9c1cf00d3d0d3d | 36602c62f8313ab5064fe5d8cff97fba60c0c865 | /monHeart.ino | ff3e241dfb7e9aeb2ecb2388706831a5de297bbc | [] | no_license | mark-bloom/monHeart | 3ae4ede45944e1e9304d5c15187ec2bc2da327c2 | d77f466a1f479913c5876d2a12316f1ecc22e456 | refs/heads/master | 2020-09-26T07:30:11.304998 | 2019-12-05T23:04:38 | 2019-12-05T23:04:38 | 226,204,306 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,937 | ino | #include <FastLED.h>
// ** FastLED definitions **
#define LED_PIN 4
#define NUM_LEDS 150
#define BRIGHTNESS 128
#define LED_TYPE WS2812B
#define COLOR_ORDER GRB
CRGB leds[NUM_LEDS];
// ** Program definitions **
#define FADETIME 6000
// PULSE Definitions
#define PULSESPD 1 // def (1... | [
"noreply@github.com"
] | mark-bloom.noreply@github.com |
aac281719a285180123840f301174c931e4b7567 | 119ba245bea18df8d27b84ee06e152b35c707da1 | /unreal/branches/VisualDebugger/qrgui/umllib/uml_nodeelement.h | 718a1985a84caf62bbd17f8338fa33c3ce1a144b | [] | no_license | nfrey/qreal | 05cd4f9b9d3193531eb68ff238d8a447babcb3d2 | 71641e6c5f8dc87eef9ec3a01cabfb9dd7b0e164 | refs/heads/master | 2020-04-06T06:43:41.910531 | 2011-05-30T19:30:09 | 2011-05-30T19:30:09 | 1,634,768 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,996 | h | /** @file uml_nodeelement.h
* @brief class for an element object on a diagram
* */
#pragma once
#include <QKeyEvent>
#include <QGraphicsScene>
#include <QGraphicsSceneMouseEvent>
#include <QGraphicsSceneHoverEvent>
#include <QtGui/QWidget>
#include <QList>
#include "embeddedLinker.h"
#include "sdfrenderer.h"
#inc... | [
"ololo@ololo.org"
] | ololo@ololo.org |
f986a1f213a17f52ec478e7b3458283c1801b6c9 | 1fb827b1f8925ad3af50087db79921caa46f634e | /components/sync_bookmarks/synced_bookmark_tracker_unittest.cc | 2bf186914769c15ac4d2272bc1705bca2998ac07 | [
"BSD-3-Clause"
] | permissive | zhanfang/chromium | 3ec94d5b277cdfa07bba2f27a2ec68f96759c3aa | a1aca6ba1633043bac831c28cdd6c7da4bbeed21 | refs/heads/master | 2022-12-01T12:09:09.834764 | 2018-06-13T05:16:33 | 2018-06-13T05:16:33 | 137,167,141 | 2 | 0 | null | 2018-06-13T05:36:37 | 2018-06-13T05:36:37 | null | UTF-8 | C++ | false | false | 1,421 | cc | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/sync_bookmarks/synced_bookmark_tracker.h"
#include "components/bookmarks/browser/bookmark_node.h"
#include "testing/gmock/include/gm... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
49e56e7b0577d6a7ab9365ca8c24ece19e53425c | 5d7599dad2fc176eba07edbd6ab3751efde11137 | /Damas/Moviment.cpp | e23cf5f69fcfb70b8eaac3f3a7bd399639390c7f | [] | no_license | samerbuj/checkers | 5bb798adeda3322b8ccfefa3993db7467810d28e | bd4dd03ddb3f80ad5b34581c7ba0827f93dde43f | refs/heads/master | 2022-11-17T11:31:32.870667 | 2020-07-08T20:14:48 | 2020-07-08T20:14:48 | 278,182,667 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 82 | cpp | #include "Moviment.h"
Moviment::Moviment()
{
}
Moviment::~Moviment()
{
} | [
"noreply@github.com"
] | samerbuj.noreply@github.com |
8105499dd0a64008f674ec148cab788b50a27321 | b8f7e16f46381b4b9cbea872869bce0a79f9559d | /openr/kvstore/KvStore.cpp | 02b42b1bfaf3a07791eb25e3c10dbed91ec4ec83 | [
"MIT",
"LicenseRef-scancode-proprietary-license"
] | permissive | terrorizer1980/openr | 17520b30f762199e69df54b412a9f38dbde29ae2 | d896b804552cf2c48be489b4d22ce2614bdccd3a | refs/heads/master | 2023-04-07T04:20:09.765402 | 2020-08-16T12:54:46 | 2020-08-17T01:25:04 | 288,077,434 | 0 | 0 | MIT | 2023-04-04T01:47:11 | 2020-08-17T03:46:02 | null | UTF-8 | C++ | false | false | 115,828 | cpp | /**
* Copyright (c) 2014-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "KvStore.h"
#include <fb303/ServiceData.h>
#include <fbzmq/service/logging/LogSample.h>
#include <fbzmq/zmq/Zmq.h>
#include <f... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
0db2d1dbfa15b2ff1dff20963a650c84f3901928 | 24f26275ffcd9324998d7570ea9fda82578eeb9e | /device/bluetooth/dbus/bluetooth_gatt_characteristic_client.cc | 43a33b45106848a7ee9b59b6f3667e9256f0e66d | [
"BSD-3-Clause"
] | permissive | Vizionnation/chromenohistory | 70a51193c8538d7b995000a1b2a654e70603040f | 146feeb85985a6835f4b8826ad67be9195455402 | refs/heads/master | 2022-12-15T07:02:54.461083 | 2019-10-25T15:07:06 | 2019-10-25T15:07:06 | 217,557,501 | 2 | 1 | BSD-3-Clause | 2022-11-19T06:53:07 | 2019-10-25T14:58:54 | null | UTF-8 | C++ | false | false | 13,520 | cc | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "device/bluetooth/dbus/bluetooth_gatt_characteristic_client.h"
#include <stddef.h>
#include "base/bind.h"
#include "base/macros.h"
#include "ba... | [
"rjkroege@chromium.org"
] | rjkroege@chromium.org |
ec6c525714ad7718207281a8cd721e45669c21ea | 152478b348cb5b964f3d4e0485dc1d3eb3a9dcbe | /DMPlayGames/PluginFlowers.cpp | 5517375133890a787407855615fa7eba190f9030 | [
"MIT"
] | permissive | xfgryujk/DMPlayGames | 83a37e6acfd42ca2ef8df9143026008e31da6816 | 2e57335a5ecd7fe16210b657be80038721cbe3bd | refs/heads/master | 2021-03-27T10:53:39.821336 | 2017-09-22T09:44:58 | 2017-09-22T09:44:58 | 102,473,075 | 5 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 5,513 | cpp | #include "stdafx.h"
#include "PluginFlowers.h"
#include <algorithm>
using namespace std;
bool PluginFlowers::Start()
{
m_gameWindow = FindWindow(_T("systemω"), NULL);
if (m_gameWindow == NULL)
{
MessageBox(NULL, _T("找不到游戏窗口"), _T("弹幕玩游戏"), MB_ICONERROR);
return false;
}
DWORD pid = 0;
GetWindowThreadPro... | [
"xfgryujk@126.com"
] | xfgryujk@126.com |
1a390febe9a548d514355a021512c113b8eddff4 | 65a242cd1c027bfb5c76eb0a43c695d6985ef50b | /src/httpserver.cpp | 2a0f5fa599d643b670d79d99aa529a954a23715d | [
"MIT"
] | permissive | Eudoros/ODAC | fbf784335cadd1a24390e204318098496543fd92 | 6ebed5b5f23f96ea92db304229122d7551cd7b26 | refs/heads/master | 2020-04-27T02:22:47.795805 | 2019-03-07T03:30:42 | 2019-03-07T03:30:42 | 173,992,052 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,085 | cpp | // Copyright (c) 2015-2017 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <httpserver.h>
#include <chainparamsbase.h>
#include <compat.h>
#include <util.h>
#include <utilstrencodings.h>
#in... | [
"35166241+Eudoros@users.noreply.github.com"
] | 35166241+Eudoros@users.noreply.github.com |
89f3fc973215b7dd25c39abaa6cdfe2a6852f9f4 | e798958cdf9d5533fa0229a4381c92ea1409d804 | /Projects/Shader_DiffuseLight/FBXLoader/fbxsdk/core/base/fbxcharptrset.h | 2609866fe1df16e8fea0e3c89b3998de39664d7b | [] | no_license | wintergolem/WintersGit | 6285b4deba7146bf7b272cedbe28ec09a955422d | cf5665390980757d954446db063c8cbf0a5f7f0c | refs/heads/master | 2020-05-21T11:36:28.036400 | 2013-09-26T23:47:30 | 2013-09-26T23:47:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,168 | h | /****************************************************************************************
Copyright (C) 2012 Autodesk, Inc.
All rights reserved.
Use of this software is subject to the terms of the Autodesk license agreement
provided at the time of installation or download, or which otherwise accompanies... | [
"wintergolem@gmail.com"
] | wintergolem@gmail.com |
26e7b29447cb9c3e90e213da3245262d77373c2f | 2d3ed9770adc4023a39549b14a5b7f5ee744fa35 | /trunk/source-opt/lib/rose/include/edg/g++_HEADERS/hdrs1/ext/pb_ds/detail/trie_policy/node_metadata_selector.hpp | 81fdd3d239133aaa0528e4e5e2704c3a23a7c6cb | [
"Apache-2.0"
] | permissive | SFU-HiAccel/merlin-compiler | 7425d3e90e0c5e7c58e93f8f34a7e4d2f303e91a | f47241ccf26186c60bd8aa6e0390c7dd3edabb3c | refs/heads/main | 2023-07-05T05:13:54.819114 | 2021-08-21T04:40:18 | 2021-08-21T04:40:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 111 | hpp | /curr/software/merlin-deps/gcc4.9.4/include/c++/4.9.4/./ext/pb_ds/detail/trie_policy/node_metadata_selector.hpp | [
"hhu@xilinx.com"
] | hhu@xilinx.com |
587b81e41fb20bda56d74aa247a822bcc2e4107f | 6972e0a1332230059d3f0f5ae9cc548146445263 | /problems/0467/a.cpp | 90a54378c6c37282cb07d50b90587084898ae3ec | [] | no_license | imzaynb/codeforces | 7364ba453c465e241398e8548d4a43aa7c6e46c3 | b796d2d396204fb5db36f27d8692cf14c79a6376 | refs/heads/main | 2023-09-01T14:54:57.997652 | 2021-10-27T03:14:54 | 2021-10-27T03:16:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 442 | cpp | // Author: BaizaOP
// Date: 7/6/2021
// Problem Name: 467A George and Accommodation
// Problem Difficulty: 800
// Challenge: Summer 2021 Streak Challenge
// Number of attempts: 1
#include <bits/stdc++.h>
using namespace std;
int main()
{
int n; cin >> n;
int counter = 0;
for(int i = 0; i < n; i++)
{
... | [
"zayn.baig@gmail.com"
] | zayn.baig@gmail.com |
3fd833344b8071cf50f5133ad2d88403d311b719 | fdbdb21936086c93b4af95876cc8cd046925e905 | /src/Utils/Utils.hpp | ab6cf7e8e4800fad04a38733aa990fb444474e01 | [] | no_license | NextGenIntelligence/Varco | bc81b1d2e7109dead16eab46860dc6546fb0989e | 5d78d7251db2fe74017f82633a42375488a2ff8f | refs/heads/master | 2020-12-11T04:13:05.678074 | 2016-04-28T10:50:51 | 2016-04-28T10:50:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 552 | hpp | #ifndef VARCO_UTILS_HPP
#define VARCO_UTILS_HPP
namespace varco {
template<typename T>
auto isPointInsideRect(T x, T y, SkRect rect) {
SkScalar x_ = static_cast<SkScalar>(x);
SkScalar y_ = static_cast<SkScalar>(y);
if (rect.fLeft <= x_ && rect.fTop <= y_ && rect.fRight >= x_ && rect.fBottom >= y_)
... | [
"marco.diiga@gmail.com"
] | marco.diiga@gmail.com |
c582e67fa48cf29a0a008650fea2114e7f79bc15 | 592c10d3497cb1a869d217653591fbd580e940bc | /src/widget/imagethumbnailview.cpp | 685d973acb515ab67f0bd9b1b9debc60684e3fb8 | [
"Apache-2.0"
] | permissive | KeyYao/GestureImageCrop | 4886131a0ece4295e6010a79aac84f221e357362 | e1854db2971bb7170a8c58f66987b766390ed229 | refs/heads/master | 2020-04-03T19:10:33.895741 | 2018-11-05T09:20:34 | 2018-11-05T09:20:34 | 155,513,095 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,890 | cpp | #include "imagethumbnailview.h"
#include <QPainter>
#include <QImage>
#include <QDebug>
#include "../task/imagethumbnailloader.h"
#include "../task/loadimagethumbnailthread.h"
ImageThumbnailView::ImageThumbnailView(QQuickItem *parent) : QQuickPaintedItem(parent)
{
connect(this, SIGNAL(sourceChanged()), this, SLO... | [
"419228450@qq.com"
] | 419228450@qq.com |
330083bcbd7c5f378b95260c1b35bc369bbed16d | 9d7a8d3e8d5df680c32fa70c73ef7c2820986187 | /.history/D05/ex02/RobotomyRequestForm_20210310200606.hpp | d2c805b04a4b299dee3aa6aa685e9f9fee226225 | [] | no_license | asleonova/cpp | dc2d606e361ffdfa2013953f68bd0da4530f34bc | adfaecc238cdb63053b34b106869d3185204d73a | refs/heads/master | 2023-04-06T19:27:21.725162 | 2021-04-13T19:18:00 | 2021-04-13T19:18:00 | 337,834,070 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,588 | hpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* RobotomyRequestForm.hpp :+: :+: :+: ... | [
"dbliss@oa-d1.msk.21-school.ru"
] | dbliss@oa-d1.msk.21-school.ru |
74280e88faadbdeb1ea13c58970f2bd187f5a3cb | a5781fe7c136314dff819e9ee9faabe163adb43f | /attentive-phone-concept/Temp/il2cppOutput/il2cppOutput/Bulk_Generics_3.cpp | ef4914a6e76418fe33168725b608687f8cebb603 | [] | no_license | yiinan/attentive-phone-concept | 068766daea3aee420f7020b3f299a778394ffbb5 | f3bf9006f96949f8f6f913dad62f87fe46015ab0 | refs/heads/master | 2020-03-21T03:13:28.101358 | 2018-06-20T16:54:33 | 2018-06-20T16:54:47 | 138,042,322 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,365,451 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include <stdint.h>
#include "il2cpp-class-internals.h"
#include "codegen/il2cpp-codegen.h"
#include "il... | [
"xu1994lan@outlook.com"
] | xu1994lan@outlook.com |
101469028020f2a6086eb911a938c3ca581cb71d | e217eaf05d0dab8dd339032b6c58636841aa8815 | /IfcRoad/src/OpenInfraPlatform/IfcRoad/entity/include/IfcPersonAndOrganization.h | 149a5fcb1492d4ff3f037f885c8e337863c38820 | [] | no_license | bigdoods/OpenInfraPlatform | f7785ebe4cb46e24d7f636e1b4110679d78a4303 | 0266e86a9f25f2ea9ec837d8d340d31a58a83c8e | refs/heads/master | 2021-01-21T03:41:20.124443 | 2016-01-26T23:20:21 | 2016-01-26T23:20:21 | 57,377,206 | 0 | 1 | null | 2016-04-29T10:38:19 | 2016-04-29T10:38:19 | null | UTF-8 | C++ | false | false | 1,898 | h | /*! \verbatim
* \copyright Copyright (c) 2015 Julian Amann. All rights reserved.
* \author Julian Amann <julian.amann@tum.de> (https://www.cms.bgu.tum.de/en/team/amann)
* \brief This file is part of the OpenInfraPlatform.
* \endverbatim
*/
#pragma once
#include <vector>
#include <map>
#include <sstream>
#include... | [
"planung.cms.bv@tum.de"
] | planung.cms.bv@tum.de |
60515d4767a2b1d2148ae75765ce09c247c48ddb | 6d54a7b26d0eb82152a549a6a9dfde656687752c | /src/platform/Infineon/PSOC6/PlatformManagerImpl.h | 1fd01932ca45fd3530f2ea190b89da4dd4be7507 | [
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | project-chip/connectedhomeip | 81a123d675cf527773f70047d1ed1c43be5ffe6d | ea3970a7f11cd227ac55917edaa835a2a9bc4fc8 | refs/heads/master | 2023-09-01T11:43:37.546040 | 2023-09-01T08:01:32 | 2023-09-01T08:01:32 | 244,694,174 | 6,409 | 1,789 | Apache-2.0 | 2023-09-14T20:56:31 | 2020-03-03T17:05:10 | C++ | UTF-8 | C++ | false | false | 2,877 | h | /*
*
* Copyright (c) 2021 Project CHIP Authors
* Copyright (c) 2018 Nest Labs, Inc.
* 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
*
* ... | [
"noreply@github.com"
] | project-chip.noreply@github.com |
084c4d4a39189b3ebb111607fa129915a9e15261 | 21553f6afd6b81ae8403549467230cdc378f32c9 | /arm/cortex/Spansion/MB9AFB4xM/include/arch/reg/crc.hpp | d914b199617dee329c4f7e3f3eceeda0b9edc186 | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | digint/openmptl-reg-arm-cortex | 3246b68dcb60d4f7c95a46423563cab68cb02b5e | 88e105766edc9299348ccc8d2ff7a9c34cddacd3 | refs/heads/master | 2021-07-18T19:56:42.569685 | 2017-10-26T11:11:35 | 2017-10-26T11:11:35 | 108,407,162 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,816 | hpp | /*
* OpenMPTL - C++ Microprocessor Template Library
*
* This program is a derivative representation of a CMSIS System View
* Description (SVD) file, and is subject to the corresponding license
* (see "License.txt" in the parent directory).
*
* This program is distributed in the hope that it will be useful,
* bu... | [
"axel@tty0.ch"
] | axel@tty0.ch |
b688d25f5faeeb824bce8d625717574bba583181 | 17216697080c5afdd5549aff14f42c39c420d33a | /src/src/Share/ShareLib/LinuxPublic/ACE_wrappers/examples/Reactor/Proactor/test_proactor3.cpp | 8d6255201bf7f9b35d2356006c1da567dceacd9a | [
"MIT"
] | permissive | AI549654033/RDHelp | 9c8b0cc196de98bcd81b2ccc4fc352bdc3783159 | 0f5f9c7d098635c7216713d7137c845c0d999226 | refs/heads/master | 2022-07-03T16:04:58.026641 | 2020-05-18T06:04:36 | 2020-05-18T06:04:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 24,708 | cpp | // $Id: test_proactor3.cpp 81986 2008-06-16 18:33:50Z sowayaa $
// ============================================================================
//
// = LIBRARY
// examples
//
// = FILENAME
// test_proactor3.cpp
//
// = DESCRIPTION
// This program illustrates how the <ACE_Proactor> can be used to
/... | [
"jim_xie@trendmicro.com"
] | jim_xie@trendmicro.com |
6b420a9d6f46b03f8307b2efffd2dcd537564d78 | 84ac0f6981a5ca788e8ab15d66befb023f201c44 | /Prime Ring Problem.cpp | 9f92ab7c01a69e103362e137302061449bee1464 | [] | no_license | 827191466/ACM | 75d349c8438c79b44be5a3c7f01b53fba391e547 | 16a3f123bc3f9eac0ef83bfd3373e4ae3063eab9 | refs/heads/master | 2020-04-30T15:58:45.032935 | 2019-03-21T12:09:12 | 2019-03-21T12:09:12 | 176,935,284 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 821 | cpp | #include<iostream>
#include<cstring>
using namespace std;
int n;
int vis[20];
bool isPrime(int x){
int i;
if((!(x&1)&&x!=2)||x==1)
return false;
else if(x==2)
return true;
for(i=3;i*i<=x;i++){
if(x%i==0) return false;
}
return true;
}
void dfs(int *x,int dep){
int i;
if(dep==n){
if(isPrime(x[n-1]+x[0]))... | [
"827191466@qq.com"
] | 827191466@qq.com |
42719d1dbac7c9a7f9810dc2881640feba246a5f | e3b684338c71a731868a4b71fcc808c742ca4076 | /src/invalid_outpoints.json.h | 092b53884a2827c3d0f7ebb1084d72a2c6706070 | [
"MIT"
] | permissive | linnerg11/tym | 96a4ee61edfa890750d08a8469c07e10e42830b3 | 53f25d50d921cac562d9a8c9a07b04147948cad5 | refs/heads/master | 2023-01-27T23:05:59.775154 | 2020-12-03T21:12:03 | 2020-12-03T21:12:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 288,598 | h | // Copyright (c) 2018 The TimelockCoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef TimelockCoin_INVALID_OUTPOINTS_JSON_H
#define TimelockCoin_INVALID_OUTPOINTS_JSON_H
#include <string>
std::string LoadInv... | [
"marian@priv.profiweb.biz"
] | marian@priv.profiweb.biz |
b8b670be7bb51c82442ed1c91a06d92777749d16 | 4f473b31f7d51e1aaa94b65282aee31693afead4 | /Server/gameuser_machine.h | b78ca19c255303b01ac4d9a81a61859f4af027ce | [
"MIT"
] | permissive | kerwinzxc/asio-and-box2d-server | 91bd20ad15e864edf04f82b1984f38a641af9a2c | f597198143c7616b4ec10cbc93887fe80507b421 | refs/heads/master | 2020-03-27T04:24:56.275814 | 2014-09-22T09:11:11 | 2014-09-22T09:11:11 | null | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 6,495 | h | #pragma once
#include "def.h"
#include "event.h"
#include "body.pb.h"
#include "packet_encoder.h"
#include "query.h"
class gameuser_live;
class gameuser_idle;
class gameuser_move;
class gameuser_skill1;
class gameuser_skill2;
class gameuser_condition;// 상태이상 , stat 변경,
class gameuser_dead;
class gameuser_common;
c... | [
"sksk17@gmail.com"
] | sksk17@gmail.com |
3f85d5a5b1dfa157eab1a0ab0674578cdb4e328b | 89dedd7f3c7acc81d12e2bcb2e716f9af9e5fa04 | /chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc | 6ee78f1e416d1baf5f745db9917b07fa8dbc48dd | [
"BSD-3-Clause"
] | permissive | bino7/chromium | 8d26f84a1b6e38a73d1b97fea6057c634eff68cb | 4666a6bb6fdcb1114afecf77bdaa239d9787b752 | refs/heads/master | 2022-12-22T14:31:53.913081 | 2016-09-06T10:05:11 | 2016-09-06T10:05:11 | 67,410,510 | 1 | 3 | BSD-3-Clause | 2022-12-17T03:08:52 | 2016-09-05T10:11:59 | null | UTF-8 | C++ | false | false | 23,443 | cc | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/chromeos/policy/recommendation_restorer.h"
#include <memory>
#include <utility>
#include "ash/common/accessibility_types.h"
#in... | [
"bino.zh@gmail.com"
] | bino.zh@gmail.com |
c8afa863ebbc43ab5281b262be130a9c2c3c3ff7 | 4966569e329774f860aad428c92d4654d4c7414c | /src/qt/qrcodedialog.cpp | d07929c972e8af1a5c2c31e34eb28c4ff15c28bc | [
"MIT"
] | permissive | zvcoin/zcoin-project | 9344497a538ab3639f15e92af44ea43c4f73d7e3 | b35bc78478adb37110ed4ae6c76af594fa1c36fd | refs/heads/master | 2021-08-11T06:49:21.494321 | 2017-11-13T08:46:12 | 2017-11-13T08:46:12 | 109,981,806 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,343 | cpp | #include "qrcodedialog.h"
#include "ui_qrcodedialog.h"
#include "bitcoinunits.h"
#include "guiconstants.h"
#include "guiutil.h"
#include "optionsmodel.h"
#include <QPixmap>
#if QT_VERSION < 0x050000
#include <QUrl>
#endif
#include <qrencode.h>
QRCodeDialog::QRCodeDialog(const QString &addr, const QString &label, bo... | [
"coder@Super-iMac.local"
] | coder@Super-iMac.local |
608f8f9472a336c4c123c8f9b9cf61a64c0b3b08 | c68beb74878d334f46055633a0f0c4e32d6166aa | /1577. Number of Ways Where Square of Number Is Equal to Product of Two Numbers.cpp | b6ba30b16885fb647deaf29c7dd16f0c5377e999 | [] | no_license | ankitsharma1530/Weekly-Contest | 8eda6ac6fa0cc71fb7faa54fe4bf7d8305a10515 | cc3f5d4f87d548d4138363269fac6e5a2a922437 | refs/heads/main | 2023-07-06T20:16:49.465863 | 2021-08-15T16:44:10 | 2021-08-15T16:44:10 | 331,012,411 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,084 | cpp | class Solution {
public:
int numTriplets(vector<int>& nums1, vector<int>& nums2) {
unordered_map<long long int,int> mp1;
unordered_map<long long int,int> mp2;
for(auto i:nums1)
mp1[(long long int)i*i]++; //count of square of element of nums1
for(auto i:nums2)
... | [
"noreply@github.com"
] | ankitsharma1530.noreply@github.com |
9ed738a7b3012899abca6911ca4f01c741971757 | b2000dbdf0587c498fab2d70ba2f8db44a8b53dd | /Natsu2D/Sound/n2dSoundBufferImpl.h | 837fd9dd1eb8c2f7f8e3ab350632adfc4a64815e | [
"WTFPL"
] | permissive | akemimadoka/Natsu2D | 6b9dbba12079e9d90654276943e7e017a78a9ec4 | c1dd335642f3485470aebde165416a19a8751b4d | refs/heads/master | 2020-04-06T05:11:59.985230 | 2017-05-20T07:32:40 | 2017-05-20T07:35:37 | 45,473,140 | 11 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 880 | h | #pragma once
#include "../n2dSoundSys.h"
#include "OpenAL.h"
class n2dSoundBufferImpl
: public natRefObjImpl<n2dSoundBufferImpl, n2dSoundBuffer>
{
static nuInt GetBufferFormatEnum(BufferFormat format)
{
switch (format)
{
case BufferFormat::Mono8:
return AL_FORMAT_MONO8;
case BufferFormat::Mono16:
retu... | [
"jxhzq1996@126.com"
] | jxhzq1996@126.com |
7207f85b57847cf67e04ab776d3cbb1d44ae813a | 16451b68e5a9da816e05a52465d8b0d118d7d40c | /data/tplcache/bae608a951cf8364ef6bbc0b98b33cca.inc | fddeca05ff66132aad78e2bc85c9e8697c84897a | [] | no_license | winter2012/tian_ya_tu_ku | 6e22517187ae47242d3fde16995f085a68c04280 | 82d2f8b73f6ed15686f59efa9a5ebb8117c18ae5 | refs/heads/master | 2020-06-20T17:42:14.565617 | 2019-07-16T12:02:09 | 2019-07-16T12:02:09 | 197,184,466 | 0 | 1 | null | null | null | null | GB18030 | C++ | false | false | 1,212 | inc | {dede:pagestyle maxwidth='800' ddmaxwidth='150' row='3' col='3' value='2'/}
{dede:comments}图集类型会采集时生成此配置是正常的,不过如果后面没有跟着img标记则表示规则无效{/dede:comments}
{dede:img ddimg='' text='图 1'}http://img.qqsisi.com/allimg/111205/10-111205143302.jpg{/dede:img}
{dede:img ddimg='' text='图 2'}http://img.qqsisi.com/allimg/111205/10-111205... | [
"winter2012102@gmail.com"
] | winter2012102@gmail.com |
2680ab678d6a7acff39879832b83114f645483f7 | 1a97da77686c1a7ca8247ad401dd05ca5d6a1b79 | /ASG4/shape.cpp | c0c398a5388d7683a83ab63d3fa9058b50941cbc | [] | no_license | gita-vahdatinia/cmps-109 | 90c2b3c6b8614a41dc7da23a1c752c6bf64fc965 | 7bbf5bc7735091dccce8a0fbfa8b71f084ed6244 | refs/heads/master | 2022-12-09T14:00:12.961881 | 2015-02-01T07:32:21 | 2015-02-01T07:32:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,689 | cpp | // $Id: shape.cpp,v 1.7 2014-05-08 18:32:56-07 - - $
#include <cmath>
#include <typeinfo>
#include <unordered_map>
#include <libgen.h>
using namespace std;
#include "graphics.h"
#include "shape.h"
#include "util.h"
static unordered_map<void*,string> fontname {
{GLUT_BITMAP_8_BY_13 , "Fixed-8x13" },
{G... | [
"bambriz@ucsc.edu"
] | bambriz@ucsc.edu |
6c23668268b32b42cf9fee1210f1258daea2fd64 | e1f44d7946a63d3cbd23a5863f238302bc44b231 | /testing/src/TestCase.h | 5e798b9112573377ecbf435fa8263c99b7336c37 | [
"BSD-3-Clause"
] | permissive | frankencode/fluxkit | c3c89f64ce6274cafc1b4ba4b7a4b68449832e17 | 0436454f0791d8fddf8e0adc383ef7c54080245d | refs/heads/master | 2021-01-10T20:47:09.542803 | 2015-10-28T18:13:09 | 2015-10-28T18:13:09 | 565,413 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,310 | h | /*
* Copyright (C) 2007-2015 Frank Mertens.
*
* Use of this source is governed by a BSD-style license that can be
* found in the LICENSE file.
*
*/
#ifndef FLUXTESTING_TESTCASE_H
#define FLUXTESTING_TESTCASE_H
#include <flux/Object>
#include <flux/String>
namespace flux {
namespace testing {
class TestSuite;
... | [
"frank@cyblogic.de"
] | frank@cyblogic.de |
63450263dd7ef999e19a09173f9bcc39bbe87ff8 | e383ab8d27d8a65d12d37fce243673434e23be1a | /PracticeCode/MainElement1.cpp | 7e45b7121a0850979e05430bf0ab7de5d79ea601 | [] | no_license | dainslef/Notes | 76c9fc361fe569b5e9e18b26441fdd90859fa19e | 464f78e1f5af28073db336ec2e3f7366297f68d3 | refs/heads/master | 2023-09-03T15:29:29.490958 | 2016-01-07T10:03:44 | 2016-01-07T10:03:44 | 66,349,353 | 8 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,645 | cpp | /*
* 代码完成时间: 2014-11-25 01:48 AM
* 2013年硕士研究生计算机入学考试 第41题
* 设一个数组,数组中重复出现次数超过数组半数的元素称为主元素,找出数组中的主元素作为函数返回值,不存在主元素时返回值-1
* 标准答案的做法时间复杂度为O(n),空间复杂度为O(1),效率最高。
* 标准答案的算法思想是,由于主元素出现的次数一定大于数组的一半,因此设置计数器sum,在主元素出现时加1,未出现时减1,减到0就换另外的下个元素当example。如果存在主元素,则一定会有sum > 0,故只需要判断最后的example是否为主元素即可。
*/
/**
*
* @author dainsl... | [
"dainslef@live.cn"
] | dainslef@live.cn |
a8df0d17c096c3a5ebe7b98e9ae0d28578959797 | 0d2a0de1121bcb8b5ad4a097702f0653f7368f50 | /PrintPretty.cpp | da3d924147b5d47ccf422125bfbc7d314b08e319 | [] | no_license | jacobha-ghh81hc/HackerRankOnPi3B | 5752cda53789d84274b4ad1861a718a847f3f1ee | b2e8e556a2ba31339db2b2e98bbe23c5d7f6552d | refs/heads/master | 2023-03-19T09:13:18.129814 | 2021-03-11T16:26:22 | 2021-03-11T16:26:22 | 82,545,191 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 308 | cpp | #include <iostream>
#include <iomanip>
using namespace std;
int main() {
int T; cin >> T;
cout << setiosflags(ios::uppercase);
cout << setw(0xf) << internal;
while(T--) {
double A; cin >> A;
double B; cin >> B;
double C; cin >> C;
/* Enter your code here */
}
return 0;
} | [
"huygiap601@gmail.com"
] | huygiap601@gmail.com |
c0e81aacc140cc399460d3601a27a9172569898c | 21f95bd9de2794c041559dc690068906e7f53202 | /ULA_mips/main.cpp | 4dfd5191811dd945b61421e010523b41d78dce24 | [] | no_license | Thiago-AS/soc-modeling | 3f59d7ffce97b52ea7202f95deb59649960ff7ce | 30a98bcf743d9f019188e7bf708d41ada4a6c579 | refs/heads/master | 2020-03-07T23:40:23.037991 | 2018-05-15T23:26:15 | 2018-05-15T23:26:15 | 127,787,120 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 587 | cpp | #include "ula.h"
#include "ula_tb.h"
#include "system.h"
using namespace std;
int sc_main (int argc, char *argv[]) {
top *system;
system = new top("top");
sc_trace_file* trace_file = sc_create_vcd_trace_file("wave");
sc_trace(trace_file, system->A, "a");
sc_trace(trace_file, system->B, "b");
sc_trace(trace_fi... | [
"thiagos.araujo09@gmail.com"
] | thiagos.araujo09@gmail.com |
828fd767c16e7d6e4614cca1baba2102113d61e1 | be81f77592404e96e869d157acb6345027802282 | /tunerservice/tunerservice/jni/euinstallersat/inc/intf/IHsvChanlibPosixLight.h | 2a7352b73b6478bb1e5b18e4ac65d7187996abc8 | [] | no_license | GongHuixue/2k15_asta_app | a5f39ca515958ad38a50b6a42a46b3fdb0d86b09 | 99ee7b8795db43374a19b0b439e90c3a63866862 | refs/heads/master | 2021-01-24T20:01:59.468015 | 2018-08-26T03:29:39 | 2018-08-26T03:29:39 | 123,243,941 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,032 | h | #ifndef IHSVCHANLIBPOSIXLIGHT_H
#define IHSVCHANLIBPOSIXLIGHT_H
#include <intfparam.h>
#include <provreq.h>
class IHsvChanlibPosixLight
{
public:
virtual ~IHsvChanlibPosixLight(){}
virtual void* SemCreate(char * key)= 0;
virtual void SemRelease(void * fildes)= 0;
virtual void SemAcquire(void * fildes)= 0;... | [
"huixue.gong@tpv-tech.com"
] | huixue.gong@tpv-tech.com |
ef99b8cb7246afc486e873a28f6f70aba1f1bb46 | e0bd057f0749aa6424d1f0586fc8fc0659528d1e | /session7a/main.cpp | 5d393ab38cfdeb3ec60b1d68fe6e8e143b70b621 | [] | no_license | utec-cs1102-2019-2/ec1-BrayanGaMo12 | c2c1375f7635cbf2f1bdae0659333e84c8cc4b56 | db95f926d8d552ff7eaffef15b1394c66b242d62 | refs/heads/master | 2020-07-24T11:41:31.008581 | 2019-11-21T15:48:55 | 2019-11-21T15:48:55 | 207,911,138 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,254 | cpp |
#include <iostream>
#include <cstdlib>
#include <ctime>
using namespace std;
void imprimir(int filas, int columnas, int *matrix[]);
void imprimir2(int filas, int columnas, int *matrix[]);
int main() {
srand(time(nullptr));
int filas=0;
int columnas=0;
cout<<"Fila: \t";
cin>>filas;
cout<<"Column... | [
"55211796+BrayanGaMo12@users.noreply.github.com"
] | 55211796+BrayanGaMo12@users.noreply.github.com |
2f2c00b08d3cb6c76858d5cebf46bfa2d92256f3 | 7a2771889b0ddfc2af4df35d992903460606daec | /Sources/Elastos/Frameworks/Droid/Base/Core/inc/elastos/droid/app/CProfileTriggerHelper.h | 7f0a7ae058949512b99563748ada67bff2c57d7f | [
"Apache-2.0"
] | permissive | XilongPei/Elastos5 | a78b1a8e17a537344366c2feee36bd150f31e96e | 7aa447fa4ba65b063fc35f6a38a417fa9881e8c8 | refs/heads/master | 2021-01-16T23:07:28.038756 | 2016-04-03T09:12:39 | 2016-04-03T09:12:39 | 55,456,342 | 0 | 1 | null | 2016-04-05T00:53:39 | 2016-04-05T00:53:37 | null | UTF-8 | C++ | false | false | 722 | h | #ifndef __ELASTOS_DROID_APP_CPROFILE_TRIGGER_HELPER_H__
#define __ELASTOS_DROID_APP_CPROFILE_TRIGGER_HELPER_H__
#include "_Elastos_Droid_App_CProfileTriggerHelper.h"
#include "elastos/droid/app/Profile.h"
#include <elastos/core/Singleton.h>
namespace Elastos {
namespace Droid {
namespace App {
CarClass(CProfileTrig... | [
"zuo.huahua@kortide.com"
] | zuo.huahua@kortide.com |
7f4d6936e15729abba8662996af2a9f9aa34cd5c | 405542335aa8b8babad00a3e725319241938184b | /C++/CPPWorksheet1/main.cpp | 9e71f52daeab830e8c033893bc7a104728753d11 | [] | no_license | austinjhunt/320Code | f2efb9c172cca3be254bc0713dff53741f1a0597 | d41304079bca4b76c3fd9445971001da3a9a5121 | refs/heads/master | 2021-08-23T23:47:25.924594 | 2017-12-07T04:18:36 | 2017-12-07T04:18:36 | 113,383,736 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,758 | cpp | #include <iostream>
void swapFirstTwoElem(int myArray[]){
int temp = myArray[0];
myArray[0] = myArray[1];
myArray[1] = temp;
}
int sumAllElem(int myArray[], int length) {
int sum = 0;
for (int i = 0; i < length; i++ ) {
sum += myArray[i];
}
return sum;
}
int * incrementAll(int my... | [
"huntaj@g.cofc.edu"
] | huntaj@g.cofc.edu |
49111e70816227c905f1b78a4e706de471dbc050 | dd68e2d3645adfabecf28e8f8d6ecd54151953ff | /133-1 两地调度/12ms排序.cpp | f86a0f7f21c5fa6e7e678c6923c6cc257106eeee | [] | no_license | jimzh580/Leetcode-Weekly-Contest | b0566dcc618821febdbde6c61f44b58672637e09 | 5ba5ea8ae375a116faef385bf6f31c75baad9c57 | refs/heads/master | 2020-06-29T06:14:22.939696 | 2019-05-26T07:23:01 | 2019-05-26T07:23:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 735 | cpp | class Solution {
public:
int twoCitySchedCost(vector<vector<int>>& costs) {
int res=0,n=costs.size();
sort(costs.begin(),costs.end(),
[](vector<int>& a,vector<int> &b){return abs(a[0]-a[1])>abs(b[0]-b[1]);});
int a=n/2,b=a;
for(auto i:costs){
if(a>0&&b>0){
... | [
"1170804131@qq.com"
] | 1170804131@qq.com |
141ecb551bc604dccf7879a8a4fa91288cc5ac69 | ab240b143bc6e98efe5dfffd7e2308b6af051d19 | /src/client/interface/slotcontainer/hoticonslot.h | 61a4510025ba40d193af51754cdcd814a650b92d | [] | no_license | Garnet7/rose-next-classic | 4f23be6b7a8c80a445f9c533e109b9d1db48c5db | 9cc6190fa654957449bc3920a589e53bc6d58d3f | refs/heads/master | 2023-04-04T07:57:53.367306 | 2021-04-13T15:54:57 | 2021-04-13T15:54:57 | 397,771,393 | 1 | 0 | null | 2021-08-19T00:38:10 | 2021-08-19T00:38:10 | null | UHC | C++ | false | false | 544 | h | #ifndef _CHOTICONSLOT_
#define _CHOTICONSLOT_
#include "CHotICON.h"
class CIcon;
class CHotICONS;
/**
* CItemSlot과 같은 이유로 만들어진 단축창아이템 컨테이너 클래스
*
* @Author 이동현, 최종진
* @Date 2005/9/15
*/
class CHotIconSlot {
private:
public:
CHotIconSlot(void);
~CHotIconSlot(void);
void SetHotIcons(CHotICONS* pHot... | [
"ralphminderhoud@gmail.com"
] | ralphminderhoud@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.