hexsha stringlengths 40 40 | size int64 7 1.05M | ext stringclasses 13
values | lang stringclasses 1
value | max_stars_repo_path stringlengths 4 269 | max_stars_repo_name stringlengths 5 108 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 9 | max_stars_count float64 1 191k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 4 269 | max_issues_repo_name stringlengths 5 116 | max_issues_repo_head_hexsha stringlengths 40 40 | max_issues_repo_licenses listlengths 1 9 | max_issues_count float64 1 77k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 4 269 | max_forks_repo_name stringlengths 5 116 | max_forks_repo_head_hexsha stringlengths 40 40 | max_forks_repo_licenses listlengths 1 9 | max_forks_count float64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 7 1.05M | avg_line_length float64 1.21 653k | max_line_length int64 6 990k | alphanum_fraction float64 0.01 1 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6577079424087467dfb544b8d563874f3a5262b1 | 1,162 | cc | C++ | Projects/Grafeo/attic/grafeo_20091012_qt/app/mainwindow.cc | fredmorcos/attic | 0da3b94aa525df59ddc977c32cb71c243ffd0dbd | [
"Unlicense"
] | 2 | 2021-01-24T09:00:51.000Z | 2022-01-23T20:52:17.000Z | Projects/Grafeo/attic/grafeo_20091012_qt/app/mainwindow.cc | fredmorcos/attic | 0da3b94aa525df59ddc977c32cb71c243ffd0dbd | [
"Unlicense"
] | 6 | 2020-02-29T01:59:03.000Z | 2022-02-15T10:25:40.000Z | Projects/Grafeo/attic/grafeo_20091012_qt/app/mainwindow.cc | fredmorcos/attic | 0da3b94aa525df59ddc977c32cb71c243ffd0dbd | [
"Unlicense"
] | 1 | 2019-03-22T14:41:21.000Z | 2019-03-22T14:41:21.000Z | #include "mainwindow.h"
#include <QFileDialog>
MainWindow::MainWindow(QWidget *parent):
QMainWindow(parent)
{
setupUi(this);
tabWidget->removeTab(0);
}
void MainWindow::changeEvent(QEvent *e)
{
QMainWindow::changeEvent(e);
switch (e->type()) {
case QEvent::LanguageChange:
retranslateUi(this);
break;
defau... | 19.366667 | 70 | 0.72031 |
65773eb4d3d4009263fbd5df2240e268355ac09a | 309 | cpp | C++ | Decorator Pattern/Decorator Pattern/HouseBlend.cpp | mrlegowatch/HeadFirstDesignPatternsCpp | 436ee8f0344b6a2ccfef6dcfa216a16a6ca7b482 | [
"MIT"
] | 43 | 2018-07-17T21:53:21.000Z | 2022-03-23T13:15:06.000Z | Decorator Pattern/Decorator Pattern/HouseBlend.cpp | mrlegowatch/HeadFirstDesignPatternsCpp | 436ee8f0344b6a2ccfef6dcfa216a16a6ca7b482 | [
"MIT"
] | null | null | null | Decorator Pattern/Decorator Pattern/HouseBlend.cpp | mrlegowatch/HeadFirstDesignPatternsCpp | 436ee8f0344b6a2ccfef6dcfa216a16a6ca7b482 | [
"MIT"
] | 14 | 2019-04-10T13:01:07.000Z | 2022-03-08T13:19:14.000Z | //
// HouseBlend.cpp
// Decorator Pattern
//
// Created by Kevin Lee on 2/13/18.
// Copyright © 2018 Brian Arnold. All rights reserved.
//
#include "HouseBlend.hpp"
std::string HouseBlend::getDescription() const {
return "House Blend Coffee";
}
double HouseBlend::cost() const {
return 0.89;
}
| 17.166667 | 55 | 0.673139 |
657b0bd920f85fed566616a0e8c1eec48f75ca6c | 9,204 | cc | C++ | tests/nonsmoke/functional/CompileTests/vxworks_tests/pond.cc | ouankou/rose | 76f2a004bd6d8036bc24be2c566a14e33ba4f825 | [
"BSD-3-Clause"
] | 488 | 2015-01-09T08:54:48.000Z | 2022-03-30T07:15:46.000Z | tests/nonsmoke/functional/CompileTests/vxworks_tests/pond.cc | WildeGeist/rose | 17db6454e8baba0014e30a8ec23df1a11ac55a0c | [
"BSD-3-Clause"
] | 174 | 2015-01-28T18:41:32.000Z | 2022-03-31T16:51:05.000Z | tests/nonsmoke/functional/CompileTests/vxworks_tests/pond.cc | WildeGeist/rose | 17db6454e8baba0014e30a8ec23df1a11ac55a0c | [
"BSD-3-Clause"
] | 146 | 2015-04-27T02:48:34.000Z | 2022-03-04T07:32:53.000Z | // Example code from VX Works
#ifndef CPU
// DQ: changed defalt from Sparc to PPC
// #define CPU 10
#define CPU 91
#endif
#include "vxWorks.h"
#include "taskLib.h"
#include "vxwSemLib.h"
// Control the number of creatures in the pond
#define MAX_FLIES 5 // The initial number of flies
#define MAX_FROGS 2 // Same... | 18.631579 | 107 | 0.479791 |
657b6e05c0b450096ec97900a9be50fd856371f9 | 10,078 | cpp | C++ | eX0/src/PolyBoolean/pbpolys.cpp | shurcooL/eX0 | 425cdd4bace184bef3b63efa0867add4e469e291 | [
"MIT"
] | 54 | 2015-03-09T08:38:12.000Z | 2021-06-20T15:54:57.000Z | eX0/src/PolyBoolean/pbpolys.cpp | shurcooL/eX0 | 425cdd4bace184bef3b63efa0867add4e469e291 | [
"MIT"
] | 7 | 2015-03-02T21:03:54.000Z | 2017-12-21T06:06:00.000Z | eX0/src/PolyBoolean/pbpolys.cpp | shurcooL/eX0 | 425cdd4bace184bef3b63efa0867add4e469e291 | [
"MIT"
] | 10 | 2015-03-11T06:38:38.000Z | 2021-05-10T04:35:33.000Z | // pbpolys.cpp - basic operations with vertices and polygons
//
// This file is a part of PolyBoolean software library
// (C) 1998-1999 Michael Leonov
// Consult your license regarding permissions and restrictions
//
// fix: 2006 Oct 2 Alexey Nikitin
// PLINE2::Prepare / left middle point from 3 points on the s... | 21.261603 | 78 | 0.513991 |
6583b3d93fb5f4885db405c9f64563c26ccf25f8 | 5,709 | hpp | C++ | sources/SceneGraph/Animation/spAnimationJoint.hpp | rontrek/softpixel | 73a13a67e044c93f5c3da9066eedbaf3805d6807 | [
"Zlib"
] | 14 | 2015-08-16T21:05:20.000Z | 2019-08-21T17:22:01.000Z | sources/SceneGraph/Animation/spAnimationJoint.hpp | rontrek/softpixel | 73a13a67e044c93f5c3da9066eedbaf3805d6807 | [
"Zlib"
] | null | null | null | sources/SceneGraph/Animation/spAnimationJoint.hpp | rontrek/softpixel | 73a13a67e044c93f5c3da9066eedbaf3805d6807 | [
"Zlib"
] | 3 | 2020-02-15T09:17:41.000Z | 2020-05-21T14:10:40.000Z | /*
* Animation bone header
*
* This file is part of the "SoftPixel Engine" (Copyright (c) 2008 by Lukas Hermanns)
* See "SoftPixelEngine.hpp" for license information.
*/
#ifndef __SP_ANIMATION_BONE_H__
#define __SP_ANIMATION_BONE_H__
#include "Base/spStandard.hpp"
#include "Base/spInputOutputString.hpp"
#inclu... | 29.890052 | 156 | 0.602207 |
65871db5c93f24650df9b1659e5d6c4b4852db33 | 5,497 | cpp | C++ | atcoder/marathon/rcl-contest-2020-qual/b.cpp | knuu/competitive-programming | 16bc68fdaedd6f96ae24310d697585ca8836ab6e | [
"MIT"
] | 1 | 2018-11-12T15:18:55.000Z | 2018-11-12T15:18:55.000Z | atcoder/marathon/rcl-contest-2020-qual/b.cpp | knuu/competitive-programming | 16bc68fdaedd6f96ae24310d697585ca8836ab6e | [
"MIT"
] | null | null | null | atcoder/marathon/rcl-contest-2020-qual/b.cpp | knuu/competitive-programming | 16bc68fdaedd6f96ae24310d697585ca8836ab6e | [
"MIT"
] | null | null | null | #include <algorithm>
#include <iostream>
#include <vector>
#include <chrono>
#include <random>
#include <tuple>
#include <utility>
#include <queue>
#include <cstdio>
#include <iomanip>
const int dr[4] = {-1, 1, 0, 0};
const int dc[4] = {0, 0, -1, 1};
int N, M;
std::vector<std::vector<int>> board, conn, tunnel;
std::... | 26.814634 | 108 | 0.458978 |
658aabb1147a7a406e2f86a21215a02bc2ec3809 | 2,304 | cpp | C++ | ctable.cpp | Rescator7/Hearts | e72e46c5a1f90a0a553bf5527ee9a5aabf5154d7 | [
"MIT"
] | 13 | 2018-11-19T00:11:52.000Z | 2022-03-31T20:01:49.000Z | ctable.cpp | Rescator7/Hearts | e72e46c5a1f90a0a553bf5527ee9a5aabf5154d7 | [
"MIT"
] | 3 | 2019-10-22T18:46:03.000Z | 2022-03-31T18:16:48.000Z | ctable.cpp | Rescator7/Hearts | e72e46c5a1f90a0a553bf5527ee9a5aabf5154d7 | [
"MIT"
] | 2 | 2020-10-12T11:34:11.000Z | 2021-01-21T07:12:56.000Z | #ifdef ONLINE_PLAY
#include "ctable.h"
#include "define.h"
#include "ui_ctable.h"
CTable::CTable(QWidget *parent) :
QWidget(parent),
ui(new Ui::CTable)
{
ui->setupUi(this);
ui->tableWidget->setEditTriggers(QAbstractItemView::NoEditTriggers);
setWindowTitle(tr("Tables list"));
setAttribute( Qt::WA_Qu... | 20.756757 | 100 | 0.608073 |
658b5f4b6f51da51cea226963cb6731dd35d2f88 | 13,245 | cpp | C++ | 01_Develop/libXMCocos2D-v3/Source/3d/C3DScene.cpp | mcodegeeks/OpenKODE-Framework | d4382d781da7f488a0e7667362a89e8e389468dd | [
"MIT"
] | 2 | 2017-08-03T07:15:00.000Z | 2018-06-18T10:32:53.000Z | 01_Develop/libXMCocos2D-v3/Source/3d/C3DScene.cpp | mcodegeeks/OpenKODE-Framework | d4382d781da7f488a0e7667362a89e8e389468dd | [
"MIT"
] | null | null | null | 01_Develop/libXMCocos2D-v3/Source/3d/C3DScene.cpp | mcodegeeks/OpenKODE-Framework | d4382d781da7f488a0e7667362a89e8e389468dd | [
"MIT"
] | 2 | 2019-03-04T22:57:42.000Z | 2020-03-06T01:32:26.000Z | #include "3d/Base.h"
#include "3d/C3DScene.h"
#include "3d/C3DVector3.h"
#include "3d/C3DRenderNode.h"
#include "3d/C3DCamera.h"
#include "3d/C3DLight.h"
#include "3d/C3DSprite.h"
#include "3d/C3DStaticObj.h"
#include "3d/C3DBatchModel.h"
#include "3d/C3DMaterial.h"
#include "3d/MaterialParameter.h"
#include "3d/C3DRe... | 20.598756 | 156 | 0.588373 |
6590b799fd04541ed819819c4b6bac8f524eba26 | 687 | cpp | C++ | src/script_interface/DropSourceAction.cpp | kbuffington/foo_jscript_panel | 8e8375c109595b18e624e8709ee6d84effba66b4 | [
"MIT"
] | 15 | 2020-02-20T19:39:54.000Z | 2022-02-06T10:03:00.000Z | src/script_interface/DropSourceAction.cpp | kbuffington/foo_jscript_panel | 8e8375c109595b18e624e8709ee6d84effba66b4 | [
"MIT"
] | 1 | 2020-04-26T04:02:44.000Z | 2020-04-26T04:02:44.000Z | src/script_interface/DropSourceAction.cpp | kbuffington/foo_jscript_panel | 8e8375c109595b18e624e8709ee6d84effba66b4 | [
"MIT"
] | 2 | 2020-04-24T11:09:45.000Z | 2021-05-21T08:41:39.000Z | #include "stdafx.h"
#include "DropSourceAction.h"
DropSourceAction::DropSourceAction() {}
DropSourceAction::~DropSourceAction() {}
void DropSourceAction::FinalRelease() {}
STDMETHODIMP DropSourceAction::get_Effect(UINT* p)
{
if (!p) return E_POINTER;
*p = m_effect;
return S_OK;
}
STDMETHODIMP DropSourceAction:... | 16.756098 | 64 | 0.756914 |
6590d71a0949a66233120069104b8f4dc05e9e49 | 991 | cpp | C++ | UVa/11241.cpp | tico88612/Solution-Note | 31a9d220fd633c6920760707a07c9a153c2f76cc | [
"MIT"
] | 1 | 2018-02-11T09:41:54.000Z | 2018-02-11T09:41:54.000Z | UVa/11241.cpp | tico88612/Solution-Note | 31a9d220fd633c6920760707a07c9a153c2f76cc | [
"MIT"
] | null | null | null | UVa/11241.cpp | tico88612/Solution-Note | 31a9d220fd633c6920760707a07c9a153c2f76cc | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
double T=-999999,D=-999999,H=-999999;
double dohum(double tt,double dd){
double ee=6.11*exp(5417.7530*((1/273.16)-(1/(dd+273.16))));
double hh=(0.5555)*(ee-10.0);
return tt+hh;
}
double dotemp(){
double ee=6.11*exp(5417.7530*((1/273.16)-(1/(D+273.16))));
double hh=(0.5... | 19.057692 | 60 | 0.565086 |
6594a2eb329a534b7fef1a53777d488e87f37a03 | 76,327 | cpp | C++ | source/ff.graphics/source/draw_device.cpp | spadapet/ff_game_library | f1bf00f90adde66c2c2aa35b109fe61b8d2c6352 | [
"MIT"
] | null | null | null | source/ff.graphics/source/draw_device.cpp | spadapet/ff_game_library | f1bf00f90adde66c2c2aa35b109fe61b8d2c6352 | [
"MIT"
] | null | null | null | source/ff.graphics/source/draw_device.cpp | spadapet/ff_game_library | f1bf00f90adde66c2c2aa35b109fe61b8d2c6352 | [
"MIT"
] | null | null | null | #include "pch.h"
#include "depth.h"
#include "draw_device.h"
#include "graphics.h"
#include "matrix.h"
#include "matrix_stack.h"
#include "palette_data.h"
#include "shader.h"
#include "sprite_data.h"
#include "sprite_type.h"
#include "target_base.h"
#include "texture.h"
#include "texture_view_base.h"
#include "transfor... | 40.024646 | 212 | 0.595844 |
65997a849b40b9899b50f9d4c9f7a8950fea29fe | 2,425 | cpp | C++ | piLibs/src/libLog/piXmlLogger.cpp | fossabot/arctic | f3f6e1051b7209020cdaec69ad1f1edbd1acb522 | [
"MIT"
] | 6 | 2021-03-27T01:54:55.000Z | 2021-12-15T22:50:28.000Z | piLibs/src/libLog/piXmlLogger.cpp | fossabot/arctic | f3f6e1051b7209020cdaec69ad1f1edbd1acb522 | [
"MIT"
] | null | null | null | piLibs/src/libLog/piXmlLogger.cpp | fossabot/arctic | f3f6e1051b7209020cdaec69ad1f1edbd1acb522 | [
"MIT"
] | 3 | 2020-07-15T13:27:02.000Z | 2021-04-19T01:12:02.000Z | #include <stdio.h>
#include <malloc.h>
#include <string.h>
#include "piXmlLogger.h"
namespace piLibs {
piXmlLogger::piXmlLogger() :piLogger()
{
}
piXmlLogger::~piXmlLogger()
{
}
static void printHeader(FILE *fp, const piLogStartInfo *info)
{
fwprintf(fp, L"<?xml version=\"1.0\"?>\n");
fwprintf(fp, L"<?xml-stylesh... | 28.869048 | 135 | 0.621031 |
659bfcb3b3d2eda72683ba09bc7e8f7416d3b963 | 481 | cpp | C++ | Online Judges/URI/2482/main.cpp | AnneLivia/URI-Online | 02ff972be172a62b8abe25030c3676f6c04efd1b | [
"MIT"
] | 64 | 2019-03-17T08:56:28.000Z | 2022-01-14T02:31:21.000Z | Online Judges/URI/2482/main.cpp | AnneLivia/URI-Online | 02ff972be172a62b8abe25030c3676f6c04efd1b | [
"MIT"
] | 1 | 2020-12-24T07:16:30.000Z | 2021-03-23T20:51:05.000Z | Online Judges/URI/2482/main.cpp | AnneLivia/URI-Online | 02ff972be172a62b8abe25030c3676f6c04efd1b | [
"MIT"
] | 19 | 2019-05-25T10:48:16.000Z | 2022-01-07T10:07:46.000Z | #include <iostream>
#include <map>
using namespace std;
int main()
{
int qtdI, qtdP;
string s, idioma;
map<string,string>m;
cin >> qtdI;
cin.ignore();
while(qtdI--) {
getline(cin,idioma);
getline(cin,s);
m.insert(make_pair(idioma,s));
}
cin >> qtdP;
cin.ign... | 17.178571 | 58 | 0.511435 |
659e17ea59230014ef413980bf7ee3a01f858a09 | 14,781 | hpp | C++ | include/boost/hana/fwd/type.hpp | josephwinston/hana | a8586ec1812e14e43dfd6867209412aa1d254e1a | [
"BSL-1.0"
] | null | null | null | include/boost/hana/fwd/type.hpp | josephwinston/hana | a8586ec1812e14e43dfd6867209412aa1d254e1a | [
"BSL-1.0"
] | null | null | null | include/boost/hana/fwd/type.hpp | josephwinston/hana | a8586ec1812e14e43dfd6867209412aa1d254e1a | [
"BSL-1.0"
] | null | null | null | /*!
@file
Forward declares `boost::hana::Type` and `boost::hana::Metafunction`.
@copyright Louis Dionne 2015
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
#ifndef BOOST_HANA_FWD_TYPE_HPP
#define BOOST_HANA_FWD_TYPE_HPP
#i... | 36.9525 | 100 | 0.610987 |