blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 2 247 | content_id stringlengths 40 40 | detected_licenses listlengths 0 57 | license_type stringclasses 2
values | repo_name stringlengths 4 111 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringlengths 4 58 | visit_date timestamp[ns]date 2015-07-25 18:16:41 2023-09-06 10:45:08 | revision_date timestamp[ns]date 1970-01-14 14:03:36 2023-09-06 06:22:19 | committer_date timestamp[ns]date 1970-01-14 14:03:36 2023-09-06 06:22:19 | github_id int64 3.89k 689M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 25
values | gha_event_created_at timestamp[ns]date 2012-06-07 00:51:45 2023-09-14 21:58:52 ⌀ | gha_created_at timestamp[ns]date 2008-03-27 23:40:48 2023-08-24 19:49:39 ⌀ | gha_language stringclasses 159
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 7 10.5M | extension stringclasses 111
values | filename stringlengths 1 195 | text stringlengths 7 10.5M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
591b796a77ece19db9ed1b2670d4160de7ababcb | 98c9087c563688a690dda6d3f06b45edbb6650fc | /sem1/hw9/hw9.1/hw9.1/hashtable.h | fd9a3f473d4514fba6632e90af4c1de23986d530 | [
"Apache-2.0"
] | permissive | Daria-Donina/spbu1stYear | 0d80bed8ba4597bd65dcec76354a2d37df61c6fe | 8853fb65c7a0ad62556a49d12908098af9caf7ed | refs/heads/master | 2020-03-30T04:37:32.773000 | 2019-04-14T13:29:51 | 2019-04-14T13:29:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 648 | h | hashtable.h | #pragma once
#include <fstream>
namespace hashTable
{
struct HashTable;
//Create hash table
HashTable *createHashtable();
//Print content of a hash table
void printHashTable(HashTable *hashTable);
//Delete hash table
void deleteHashTable(HashTable *hashTable);
//Load factor of a hash table
float loadFacto... |
732e725b6b9b240253cb31b4f757e02773216bcb | 2ba220de6f1279bb7e52234149aa9da13f796c09 | /src/actions/action.hpp | 87880393ca0a52965fefd711719f9859011c8548 | [] | no_license | marblefactory/Server | b19abfef8ecf179200996d13b393abf368723185 | 9d19db11e2ef8cb7727047a431ddfb1416eb50b1 | refs/heads/master | 2021-08-20T09:01:56.131000 | 2017-11-28T17:50:03 | 2017-11-28T17:50:03 | 112,361,812 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 759 | hpp | action.hpp | //
// action.h
// EngineCommandSet
//
// Created by Albie Baker-Smith on 14/11/2017.
// Copyright © 2017 Albie Baker-Smith. All rights reserved.
//
#ifndef action_h
#define action_h
#include "action_visitor.hpp"
#include "../objects/object.hpp"
// Parent class for other actions, e.g. movement, interaction, etc
c... |
e7e3e7303e6d487b9511479ac2d4aed54235f0ef | 0f41e546cf59b389e6e657980ea1019a811b1c54 | /hdu/guess_number.cpp | 8f15d504163d379621cc4fbf80d1eacc2de4eebb | [] | no_license | aim-for-better/acm | ef23964e02016361e9dd70cff2520cb86a57f3f4 | 6d4d939b811bb00b3f148b74f3d3b3720b61bf97 | refs/heads/master | 2020-07-18T03:53:15.455000 | 2017-10-30T14:26:52 | 2017-10-30T14:26:52 | 73,922,672 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,813 | cpp | guess_number.cpp | #include <iostream>
#include<cstdio>
#include<cstring>
using namespace std;
const int maxn=105;
struct Node{
int a;
int b; //the number of that a has equal with the dst number
int c; //the number in the right position
};
Node node[maxn];
int realNum[5];
int guessNum[5];
bool judge(int real,int j){
... |
b5f9d75f4028469d045311662abb5c0433473786 | 3fa05bd3be30fe7d8b7b7df08e49bbb87403c30b | /src/site.h | b43632fe64a09c3cb724296f9a9b1dce55a84301 | [] | no_license | joebradly/kMC | e50aaa3a4183e88c1600c59b9780040c6bd077c5 | 3e7b138fc07bb36c6242cde1059bb1fa6f96743c | refs/heads/master | 2020-12-26T18:47:19.358000 | 2014-03-24T19:12:55 | 2014-03-24T19:12:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,646 | h | site.h | #pragma once
#include "particlestates.h"
#include <vector>
#include <set>
#include <sys/types.h>
#include <armadillo>
#include <assert.h>
#include <libconfig_utils/libconfig_utils.h>
using namespace arma;
namespace kMC
{
class KMCSolver;
class Reaction;
class DiffusionReaction;
class Boundary;
class Site
{
pu... |
7c1f40cf9eb376f9293a37e8311a60e4ca800c3f | d96ebf4dac46404a46253afba5ba5fc985d5f6fc | /third_party/highway/hwy/tests/compress_test.cc | 1ff457a46438f7cec7814de3acf9f61e939d24eb | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | marco-c/gecko-dev-wordified-and-comments-removed | f9de100d716661bd67a3e7e3d4578df48c87733d | 74cb3d31740be3ea5aba5cb7b3f91244977ea350 | refs/heads/master | 2023-08-04T23:19:13.836000 | 2023-08-01T00:33:54 | 2023-08-01T00:33:54 | 211,297,165 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,969 | cc | compress_test.cc | #
include
<
stdio
.
h
>
#
include
<
string
.
h
>
#
include
<
array
>
#
undef
HWY_TARGET_INCLUDE
#
define
HWY_TARGET_INCLUDE
"
tests
/
compress_test
.
cc
"
#
include
"
hwy
/
foreach_target
.
h
"
#
include
"
hwy
/
highway
.
h
"
#
include
"
hwy
/
tests
/
test_util
-
inl
.
h
"
HWY_BEFORE_NAMESPACE
(
)
;
namespace
hwy
{
nam... |
e68018f06b6d5ed5bca0da4be7839e84f88c7673 | 7dd7c2bc755c9b7a94d2c1deac5a121a58fedba6 | /MazeTest/MazeTest/BombedWall.h | 633134666318b829e6bc8958d7488594eb405482 | [] | no_license | wizardeye/DP | 2ada6afcd33bc2b7bfc929d84c5ee593e0bc027d | 7584919e1724a529b557637a41e67c33b8f03d08 | refs/heads/master | 2021-09-14T05:55:51.793000 | 2018-05-09T00:34:53 | 2018-05-09T00:34:53 | 120,073,638 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 544 | h | BombedWall.h | //
// BombedWall.h
// MazeTest
//
// Created by air seok on 2018. 2. 5..
// Copyright © 2018년 seok ki. All rights reserved.
//
#ifndef BombedWall_h
#define BombedWall_h
#include "Wall.h"
class BombedWall: public Wall
{
public:
BombedWall(): Wall() {}
BombedWall(const BombedWall& other): Wall(other) {
... |
4933a45d1480b3240b158e88c463216d1d86d184 | 15d4bc5b838d54f42e43367da1cf8ad484370ef0 | /include/yarrr/inventory.hpp | 65cad501bc31f77e84d85332556c5ad7ef89c0f6 | [] | no_license | PeterHajdu/libyarrr | f5e9324704b03f156cb445cc8d6729f536044edc | 4625b4f784da4b2dfdb036ed91d3b7c300be3890 | refs/heads/master | 2021-05-04T12:52:47.940000 | 2015-05-19T09:23:10 | 2015-05-19T09:23:10 | 120,302,008 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 491 | hpp | inventory.hpp | #pragma once
#include <yarrr/object.hpp>
#include <yarrr/item.hpp>
#include <vector>
namespace yarrr
{
class Inventory : public ObjectBehavior
{
public:
add_polymorphic_ctci( "yarrr_inventory" );
Inventory();
Inventory( const Id& id );
virtual Pointer clone() const override;
void register_item... |
067b232ac57028c7b073137127f4aee1f9d7e78c | 0ad1ae62f8c58d52436c10754551a5e6166aab8e | /src/driver/base/client.hpp | 92e4ddd12d5943ffd47fcac94db69fe836790362 | [
"Apache-2.0"
] | permissive | shrayolacrayon/mongo-cxx-driver | 2145e42d7edc4e4ae7884d065523fa16b6705603 | 16762309288814f287dc12e96a587279e79c84f3 | refs/heads/master | 2021-05-28T10:47:41.236000 | 2014-12-08T15:16:08 | 2014-12-08T15:16:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,441 | hpp | client.hpp | // Copyright 2014 MongoDB 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 agreed to in wri... |
3e9390b6c53bfd01755ccfbda78bfcb61b66816a | 2eaf198cab76506045fcc4d312abd12afc9fc713 | /src/ripple/app/tx/impl/AMMCreate.cpp | 0c6874953a34c1f5fce882030ddf9ec5e3464579 | [
"LicenseRef-scancode-free-unknown",
"ISC"
] | permissive | XRPLF/rippled | 26c378a72f65dde2ee9427a8a106505a60a3303d | 300b7e078a4bc511f30b74509d416e5081ec3650 | refs/heads/develop | 2023-08-31T00:07:03.935000 | 2023-08-21T23:22:59 | 2023-08-21T23:23:06 | 2,724,167 | 267 | 126 | ISC | 2023-09-14T21:57:05 | 2011-11-07T04:40:15 | C++ | UTF-8 | C++ | false | false | 12,353 | cpp | AMMCreate.cpp | //------------------------------------------------------------------------------
/*
This file is part of rippled: https://github.com/ripple/rippled
Copyright (c) 2023 Ripple Labs Inc.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby grante... |
1ad665b2f853805c09589a540e555ec0bdaad341 | 850da8bdc25f529e49264753242e0a94bf97eb2d | /TConfigFile.cpp | 80b938cd61ff99cdffdaab936480411a080f3976 | [] | no_license | marcoafo/SupportCPP | 8d34bade585eefdde69bd42a1a5b0579a18ed263 | 9910b2107cafcfa41bd7ffda89ccf176b513ddb4 | refs/heads/master | 2021-01-23T17:30:28.162000 | 2015-04-02T00:02:30 | 2015-04-02T00:02:30 | 33,277,673 | 0 | 0 | null | null | null | null | ISO-8859-2 | C++ | false | false | 3,419 | cpp | TConfigFile.cpp | #include <fstream>
#include "TConfigFile.h"
//---------------------------------------------------------------------------
/*!
* \brief Remove escape characters (\r, \n e \t) from both sides of a string.
* \param Expression String to be trimmed (from both sides).
* \return Return the string without escape charact... |
3f0227a0f456d05c92c84d6b7f7d634d9909f8b4 | d508027427b9a11a6bab0722479ee8d7b7eda72b | /3rd/include/3dsmax2010sdk/IContainerManager.h | cced1ed7e6d9374d34e40b387b7fd546d24b7af1 | [] | no_license | gaoyakun/atom3d | 421bc029ee005f501e0adb6daed778662eb73bac | 129adf3ceca175faa8acf715c05e3c8f099399fe | refs/heads/master | 2021-01-10T18:28:50.562000 | 2019-12-06T13:17:00 | 2019-12-06T13:17:00 | 56,327,530 | 5 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 2,537 | h | IContainerManager.h | /*****************************************************************************
FILE: IContainerManager.h
DESCRIPTION: Describes the interface for global container functionality.
CREATED BY: Nicolas Léonard
HISTORY: July 9th, 2008 Creation
Copyright (c) 2008, All Rights Reserved.
****************************... |
0d3d554da08a931c084700464608070f96b434a1 | d29af0b8935a3690c00dcb7d81c8dbfdb71ecef2 | /src/ui/wxWidgets/ComparisonGridTable.h | cb8724d61f48ff29fafe107038aaa890239b45d1 | [
"Artistic-2.0",
"MIT"
] | permissive | pwsafe/pwsafe | fde24362cb54f1266feb83348e880f65a90b5ff9 | 0a4a8870b040eebed63907be6fbf2222fef096b3 | refs/heads/master | 2023-08-08T17:14:38.584000 | 2023-07-17T00:12:48 | 2023-08-07T09:32:17 | 40,989,540 | 713 | 197 | NOASSERTION | 2023-09-06T12:44:11 | 2015-08-18T18:16:11 | C++ | UTF-8 | C++ | false | false | 4,984 | h | ComparisonGridTable.h | /*
* Copyright (c) 2003-2023 Rony Shapiro <ronys@pwsafe.org>.
* All rights reserved. Use of the code is allowed under the
* Artistic License 2.0 terms, as specified in the LICENSE file
* distributed with this code, or available from
* http://www.opensource.org/licenses/artistic-license-2.0.php
*/
/** \file Compa... |
ee3592f2807cc36259f459e12d02a37b1d95e9cf | 32f5397d60e07cc75703ac3ebf40f251d7ef1614 | /src/vulkan/VulkanContext.h | 2033f842ebc764db0b3700f89dbc7f9d34a30bcf | [] | no_license | Denis-chen/OculusTest | 17a4bd1d1fad4495ac855104617ab89fe3000da5 | 72eaf596f92d86caadb4179e21504dbd0dbc7684 | refs/heads/master | 2021-01-12T05:23:17.945000 | 2016-11-05T20:24:20 | 2016-11-05T20:24:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,148 | h | VulkanContext.h | #pragma once
#include <memory>
#include "VulkanFwd.h"
using namespace std;
namespace vulkan
{
class VulkanContext //TODO: enumerate extensions, layers for device and instance
{
private:
VkInstance instance;
unique_ptr<VulkanDebug> debug;
VkDevice device;
... |
e9413307e1fca6741b622af5b43493692edacfda | 2fd7255b5a0c34b00fc968bafd47fa46559cf24a | /VJUDGE/Daffodil Individual Rated Contest 2019-07-05/c.cpp | e3168fe8e134308a0812ab8d54891db1f3d69f2e | [] | no_license | bappi2097/ACM-Problem-Solving | 61d7439ccead5f781aa209615f8abe4ef6cf5f43 | c9d83dd0f0dbe9b5d666c932ead369287ac76651 | refs/heads/master | 2022-10-21T02:06:28.954000 | 2020-06-15T07:16:32 | 2020-06-15T07:16:32 | 271,226,280 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 204 | cpp | c.cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int s,x;
cin>>s>>x;
int i=1;
for(i=1;1;i++)
{
if(s/x==0)break;
s/=x;
}
cout<<i<<endl;
return 0;
}
|
5c79fb870c3930a476d2e877c20aa1f18b323097 | 7bce4c933163d766c75099cbb90ae6b81158730a | /priority.cpp | 85079233d356986466d0008b4cd9540677b99b01 | [] | no_license | richaharish/everything | 47debaaa354125462845bae6c285c89b45a08dd3 | 06c5b5ab92b2809eadcae58939b75736433ede93 | refs/heads/master | 2021-06-30T12:00:48.360000 | 2017-09-20T13:17:15 | 2017-09-20T13:17:15 | 104,182,134 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,174 | cpp | priority.cpp | #include<iostream>
#include"schedule.h"
//priority non preemptive
using namespace std;
int schedule::priority()
{
int index,index1;
char stop='n' ;
int i=0;
while(stop == 'n')
{
cout<<"Enter the process id ,arrival time ,burst time and priority "<<endl;
cin>>pid[i];
... |
0c030bcab2bbfe31d35292d7442f641020c98620 | 3e903c662c0237c9313f22b2760e9e4d71ac939c | /Ennemy.h | fa9b81579a489f03e0075552d5fca296d9977127 | [] | no_license | amandaSalander/sylcraft | 2998c449be8ba6abc35cf26977f67f0422e3b38e | e831c23d2247014d942ea54b303816821ac59100 | refs/heads/master | 2020-04-05T20:43:04.513000 | 2018-12-14T19:16:23 | 2018-12-14T19:16:23 | 157,192,717 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 672 | h | Ennemy.h | //
// Created by amanda on 22/11/18.
//
#ifndef PROJECT_1_ENNEMY_H
#define PROJECT_1_ENNEMY_H
#include <fstream>
#include "Element.h"
class Ennemy : public Element{
private:
int stamina;
int attackEffect;
int defenseEffect;
int max_stamina;
int margin_detection;
int margin_attack;
public:
... |
22044fce7b82e448d527807702ef3865d3b8bfa3 | 9eab75ac8109b4cd6968718252cf949dd54ff8f4 | /others/TLE1_1.cpp | 6e48929312b4b8638c67d629993a593b41dbcee9 | [] | no_license | tymefighter/CompetitiveProg | 48131feca6498672c9d64787a27bea20597e5810 | f867d53c6f1b307d8f2d323a315974b418abd48d | refs/heads/master | 2021-06-09T14:09:16.186000 | 2021-05-17T14:17:14 | 2021-05-17T14:17:14 | 186,087,058 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,560 | cpp | TLE1_1.cpp | #include<iostream>
#include<cstdio>
#include<map>
#include<vector>
#include<string>
#include<utility>
using namespace std;
class segmentTree
{
private:
vector<int> seg, arr;
int n;
public:
segmentTree(const vector<int> &a)
{
n = a.size();
arr = a;
seg.resize(4*n);
constructTree(a, 0, n-1, 0);
... |
7ebc00a3ad9b2da54df14af7bb405cc47e1830a1 | 7e319798fef54d6e079948eee165feba883db5f0 | /IOAble.h | 34471f1e7cab4fabc0c20f1d3de00da3d835675f | [] | no_license | dharamoghariya/COVIDApplication | 2a43cff47b6488ec40716803a17f4f368b8001c0 | 2ab6af1727d44418f1c681ed37b4e3cd023f2e24 | refs/heads/master | 2023-02-12T12:46:10.566000 | 2021-01-12T18:28:20 | 2021-01-12T18:28:20 | 328,865,986 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,281 | h | IOAble.h | /*
Name: Dhara Moghariya
Student Number: 161449194
Email: dmoghariya@myseneca.ca
Section: NAA
Date: November 15, 2020
-----------------------------------------------------------
Final Project Milestone 2
Module: IOAble
Filename: IOAble.h
Version 0.9
Revision History
----------------------... |
9019d2cc698aed3b33f87c9a02df41e1d10f500a | 72bb6deb4a8657fc494777847e356c328fe8550d | /plane-ZJU-online/include/plane_segmentation.h | 681940c92dbcb13ee207745afdda2928c879a3f8 | [] | no_license | rising-turtle/study | daafeac486e274af47268e9c7d66feacd3476a44 | 76b414d0a47692f997539b34b356c34a3528f34d | refs/heads/master | 2021-12-09T07:23:41.800000 | 2021-12-02T19:34:44 | 2021-12-02T19:34:44 | 90,572,871 | 2 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,550 | h | plane_segmentation.h | # ifndef PLANE_SEGMENTATION_H_
#define PLANE_SEGMENTATION_H_
#include <vector>
#include <Eigen/Dense>
class PlaneSegmentation
{
private:
public:
PlaneSegmentation();
~PlaneSegmentation();
inline void setAngularThreshold (double angularThreshold)
{
angularThreshold_ = angularThreshold;
}
i... |
9f4e104f6b8a4316ec044418ebf0530ebb913cff | de8315ca5cbc2afe96334134ef6de36dc5d8fe3d | /BA/BA.cpp | 892165a79b38e6637ad0a8e3c76f3cd3249952eb | [] | no_license | toniortiz/RGBD-Mapping | ab071d335bdc44aeab3bf8cbbb92a3a545429a46 | 60206bebd4b1399210be0624e23e56320a24330c | refs/heads/master | 2020-07-18T04:44:54.090000 | 2019-09-03T22:34:06 | 2019-09-03T22:34:06 | 206,177,899 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,695 | cpp | BA.cpp | #include "BA.h"
#include "Core/Feature.h"
#include "Core/Frame.h"
#include "Core/PinholeCamera.h"
#include <g2o/core/block_solver.h>
#include <g2o/core/optimization_algorithm_levenberg.h>
#include <g2o/core/robust_kernel_impl.h>
#include <g2o/core/solver.h>
#include <g2o/core/sparse_optimizer.h>
#include <g2o/solvers/c... |
7da240b870e8ec4a21dc23fe637e5903e5694240 | 320e20dd92c0c9968f838c5ea201644598ff114c | /tools/lli/ChildTarget/Unix/ChildTarget.inc | 67a24ece96526e23b8c1035ad34b208d0ce7e490 | [
"NCSA"
] | permissive | big-tool-brewery/llvm | 509262f3c97616844b7379105f2a66ccd70348bd | 03b94a460d9cfd86e438cd88596d93c63fc3c3e0 | refs/heads/master | 2021-01-24T19:08:54.452000 | 2014-01-23T15:05:45 | 2014-01-23T15:05:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,366 | inc | ChildTarget.inc | //===- ChildTarget.inc - Child process for external JIT execution for Unix -==//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... |
a95f6b4dcbc1fdeed0eeaac7e4105b4c3aec2f58 | 50dd5445581091995ce4a5b7c1887a234e84393a | /fluffelwatch/mainwindow.cpp | f1e69be514f85321d286e5cbd587d1d3e688028e | [
"MIT"
] | permissive | Schallaven/fluffelwatch | 5fe0e7f7d9a2148c9469bc0c4b757ba615067f69 | 3bbf909c9482d6f83281193aa858da3a0dc88bd6 | refs/heads/main | 2023-03-14T12:00:54.102000 | 2021-03-07T00:02:40 | 2021-03-07T00:02:40 | 308,924,940 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,759 | cpp | mainwindow.cpp | #include "mainwindow.h"
#include "ui_mainwindow.h"
MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) {
/* Setup UI with a border less window and an action context menu */
ui->setupUi(this);
setWindowFlags(Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint);
setupCon... |
End of preview. Expand in Data Studio
README.md exists but content is empty.
- Downloads last month
- 4