Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Could not read the parquet files: timed out
Error code:   FileSystemError

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

blob_id
string
directory_id
string
path
string
content_id
string
detected_licenses
list
license_type
string
repo_name
string
snapshot_id
string
revision_id
string
branch_name
string
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
star_events_count
int64
fork_events_count
int64
gha_license_id
string
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
string
src_encoding
string
language
string
is_vendor
bool
is_generated
bool
length_bytes
int64
extension
string
content
string
download_error
string
9b6b1ec168b70a357f4e47169b73b0f2e0538b9b
6565182c28637e21087007f09d480a70b387382e
/code/901.股票价格跨度.cpp
61b63105d48efcafe008368d50a272d85d3e8c15
[]
no_license
liu-jianhao/leetcode
08c070f0f140b2dd56cffbbaf25868364addfe53
7cbbe0585778517c88aa6ac1d2f2f8478cc931e5
refs/heads/master
2021-07-17T05:54:58.228000
2020-08-17T07:03:52
2020-08-17T07:03:52
188,854,718
1
1
null
null
null
null
UTF-8
C++
false
false
792
cpp
/* * @lc app=leetcode.cn id=901 lang=cpp * * [901] 股票价格跨度 */ class StockSpanner { public: StockSpanner() { } int next(int price) { if(_i == 0 || price < _prices.back()) { _dp.push_back(1); } else { int j = _i - 1; ...
null
376f659de9de4170c19135d4e5e6f4fa7d95e938
bc33abf80f11c4df023d6b1f0882bff1e30617cf
/CPP/other/李泉彰/hhh.cpp
0e114bad33f893d5b9c3e166e74c22c9172ffe76
[]
no_license
pkuzhd/ALL
0fad250c710b4804dfd6f701d8f45381ee1a5d11
c18525decdfa70346ec32ca2f47683951f4c39e0
refs/heads/master
2022-07-11T18:20:26.435000
2019-11-20T13:25:24
2019-11-20T13:25:24
119,031,607
0
0
null
2022-06-21T21:10:42
2018-01-26T09:19:23
C++
UTF-8
C++
false
false
6,060
cpp
#include <stdio.h> #include <iostream> using namespace std; int qipan[15][15] = { 0 }; int times = 0; int print(); bool is_win(int x, int y, int flag); bool is_near(int x, int y); bool AI_set(int flag); int calc_value(int x, int y, int flag, int depth, int _max_value); int qixing(int x, int y); int main(int argc, ch...
null
f974d4af50705dd6f63c51d6d7a1ee1c85bf7cd3
414c6adb394c3c7ef4b80ab9b62cfc238ff726e2
/tutorial/spinny/main.cc
39f9f8736922a4b8a41c9e0c1c9d1bf851f0a4b6
[]
no_license
akeley98/vkme
68ca6db6c246fe8b4a25a3fb0982ff2552d8ef9b
1b8e7df2a8290a0cc7bd97bf82c88a6eeff40be1
refs/heads/master
2022-12-23T19:53:47.583000
2020-09-29T05:34:32
2020-09-29T05:34:32
291,925,536
0
0
null
null
null
null
UTF-8
C++
false
false
11,670
cc
#include "window.hh" #include "render.hh" #include "util.hh" using namespace myricube; // Absolute path of the executable, minus the -bin or .exe, plus -data/ // This is where shaders and stuff are stored. std::string data_directory; std::string expand_filename(const std::string& in) { if (data_directory.size() ...
null
694381b4055f06ae7dad5f6a5f7b6abd76cc1bb2
4ca2b9af703d0a9066fdbf7ac45fd7c5f25a72ea
/proton-c/bindings/cpp/include/proton/codec/decoder.hpp
3dc6d570d2c4b11fdffda5c5c32b4e67cdd0ed71
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
gberginc/qpid-proton
23847cc2a6b7014f021baff27089ea727bfa28e0
9eaca615c5f5aa97d89d1b87471d81bff7237df0
refs/heads/master
2021-01-16T17:58:30.964000
2017-08-10T12:27:43
2017-08-10T12:27:43
100,028,035
0
0
null
2017-08-11T12:13:02
2017-08-11T12:13:02
null
UTF-8
C++
false
false
7,621
hpp
#ifndef PROTON_CODEC_DECODER_HPP #define PROTON_CODEC_DECODER_HPP /* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file *...
null
aad85aa770183929d8ccd9df0aacf59df35f147f
465a87bdead9aee133a7b36b0c2e826ece517cbb
/ARStudy(Image processing)/ARStudy/main.cpp
5ebb0f7ee747397046be8ca1b609d9d04b460e5c
[]
no_license
kshy9598/ARStudy
a5b55f3808d1e64cc96ee3e9266e4f4c23c3d611
c55ce51cb595f677eb07549203d0032430a90aef
refs/heads/master
2020-06-29T05:20:21.879000
2016-12-08T16:22:03
2016-12-08T16:22:03
74,446,922
0
1
null
null
null
null
UHC
C++
false
false
4,927
cpp
#include <iostream> #include <fstream> #include <cmath> #include "opencv2\highgui\highgui.hpp" #include "opencv2\opencv.hpp" #pragma comment(lib, "opencv_world300d.lib") const double PI = 3.14159265; using namespace std; using namespace cv; bool bLBDown = false; // 마우스 버튼 눌렀는지 체크 bool checkDrag; // 드래그가 이루어졌는지 체크 ...
null
b8319da5f12cfbbbd8ce6c9a50bab4c69b92531e
c4a320a9519cd63bad9be9bcfc022a4fcab5267b
/TETRIS_VS/TETRIS_VS/LobbyBoard.cpp
4e7ef9e1f59c43158f02345d8f894a183007f43e
[]
no_license
shield1203/TETRIS_VS
79dc3d8db0a1107352e46e69a96482a49490a290
3f67f0436674a10f9d37a98286a1f3531e6f7730
refs/heads/master
2020-12-22T00:11:37.323000
2020-03-05T15:28:32
2020-03-05T15:28:32
236,593,352
0
0
null
null
null
null
UTF-8
C++
false
false
401
cpp
#include "stdafx.h" #include "LobbyBoard.h" #include "InputSystem.h" #include "PacketManager.h" LobbyBoard::LobbyBoard() { m_packetManager = PacketManager::getInstance(); m_inputSystem = new InputSystem(); } LobbyBoard::~LobbyBoard() { SafeDelete(m_inputSystem); } void LobbyBoard::Update() { m_inputSystem->Chec...
null
bba7327fa47b292b7a2a12379dbea888640a0e70
58790459d953a3e4b6722ed3ee939f82d9de8c3e
/my/PDF插件/sdkDC_v1_win/Adobe/Acrobat DC SDK/Version 1/PluginSupport/PIBrokerSDK/simple-ipc-lib/src/pipe_win.h
4625bef0dc76752fdcc7b3a4966d087839cbd12f
[]
no_license
tisn05/VS
bb84deb993eb18d43d8edaf81afb753afa3d3188
da56d392a518ba21edcb1a367b4b4378d65506f0
refs/heads/master
2020-09-25T05:49:31.713000
2016-08-22T01:22:16
2016-08-22T01:22:16
66,229,337
0
1
null
null
null
null
UTF-8
C++
false
false
1,659
h
// Copyright (c) 2010 Google 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...
null
8a96e354acf08b5427cf3791a514286b61b32365
ddbc8b916e028cf70467928d3be17506713baeff
/src/Setup/unzip.cpp
c2b062c3bb714c756f317e2995e1129180774b39
[ "MIT" ]
permissive
Squirrel/Squirrel.Windows
e7687f81ae08ebf6f4b6005ed8394f78f6c9c1ad
5e44cb4001a7d48f53ee524a2d90b3f5700a9920
refs/heads/develop
2023-09-03T23:06:14.600000
2023-08-01T17:34:34
2023-08-01T17:34:34
22,338,518
7,243
1,336
MIT
2023-08-01T17:34:36
2014-07-28T10:10:39
C++
UTF-8
C++
false
false
145,049
cpp
#include "stdafx.h" #include "unzip.h" // THIS FILE is almost entirely based upon code by Jean-loup Gailly // and Mark Adler. It has been modified by Lucian Wischik. // The modifications were: incorporate the bugfixes of 1.1.4, allow // unzipping to/from handles/pipes/files/memory, encryption, unicode, // a windowsis...
null
cbee84c2e52dc1341528f8254aaf41ac321f936c
2869112fdc836e565f9fe68e290affc1e223c1d8
/pythran/pythonic/include/__builtin__/set/isdisjoint.hpp
10ac38270e03ff35d15b79143e6164321a7b5afb
[ "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
coyotte508/pythran
ab26e9ddb9a9e00e77b457df316aa33dc8435914
a5da78f2aebae712a2c6260ab691dab7d09e307c
refs/heads/master
2021-01-15T10:07:09.597000
2015-05-01T07:00:42
2015-05-01T07:00:42
35,020,532
0
0
null
2015-05-04T07:27:29
2015-05-04T07:27:29
null
UTF-8
C++
false
false
621
hpp
#ifndef PYTHONIC_INCLUDE_BUILTIN_SET_ISDISJOINT_HPP #define PYTHONIC_INCLUDE_BUILTIN_SET_ISDISJOINT_HPP #include "pythonic/utils/proxy.hpp" #include "pythonic/types/set.hpp" namespace pythonic { namespace __builtin__ { namespace set { template<class T, class U> bool ...
null
ab5bc031413c9ef1306cacfd08a9878b7b902ed5
35e79b51f691b7737db254ba1d907b2fd2d731ef
/AtCoder/ABC/007/D.cpp
1f7d6ef9dd955d37b91e67aebfabda6b728594c7
[]
no_license
rodea0952/competitive-programming
00260062d00f56a011f146cbdb9ef8356e6b69e4
9d7089307c8f61ea1274a9f51d6ea00d67b80482
refs/heads/master
2022-07-01T02:25:46.897000
2022-06-04T08:44:42
2022-06-04T08:44:42
202,485,546
0
0
null
null
null
null
UTF-8
C++
false
false
1,189
cpp
#include <bits/stdc++.h> #define chmin(a, b) ((a)=min((a), (b))) #define chmax(a, b) ((a)=max((a), (b))) #define fs first #define sc second #define eb emplace_back using namespace std; typedef long long ll; typedef pair<int, int> P; typedef tuple<int, int, int> T; const ll MOD=1e9+7; const ll INF=1e18; int dx[]={1, ...
null
End of preview.

The Stack v2 — materialized source code

Upstream dataset:

bigcode/the-stack-v2

Exact upstream commit:

e565caa3a78c2423bd374333a472b049eb090e47

Primary source-content endpoint:

https://softwareheritage.s3.amazonaws.com/content/{blob_id}

Configurations

  • TypeScript
  • Swift
  • Ruby
  • Rust
  • Go
  • Shell
  • Jupyter_Notebook
  • HTML
  • Python
  • Java
  • JavaScript
  • C
  • C++
  • C-Sharp
  • PHP
  • SQL
  • Markdown

Added columns

  • content: decoded source content
  • download_error: null on successful materialization

An isolated missing or unavailable Software Heritage object does not stop the full materialization. Its original Stack v2 metadata row is retained with content = null.

Failure records are stored under _failures/<language>-shards-<first>-<last>/failures-<index>.jsonl, aligned with the finalized Parquet shard index.

Objects recovered through the Software Heritage archive API after an S3 failure are recorded under:

_recoveries/<language>/

New bucketed recovery records are stored under _recoveries_sharded/.

Reproducibility

All upstream metadata comes from the exact commit above.

Successful source blobs are SHA-1 verified against their blob_id.

Machine-readable source provenance is stored in:

provenance.json

Final layout metadata and cached source layouts are stored under:

_layout/

Individual materializer run configurations are stored under:

_runs/

Per-language or per-partition checkpoints are stored under:

_state/

The finalized Parquet layout is data/<language>-shards-<first>-<last>/train-<index>.parquet, with at most 8000 files per leaf directory. Legacy data/<language>/ and data_sharded/<language>/<partition>/... paths were atomically folded into this single layout after a checksum and checkpoint audit.

Materialization was distributed across multiple workers. Historical per-partition checkpoints and audit records retain their part-<index>-of-<count> tags for reproducibility; finalized Parquet paths no longer include worker partitions.

Known default languages are assigned using both raw bytes and file counts from the language_stats.csv snapshot identified in each run manifest. This balances content-transfer volume and the number of individual Software Heritage HTTP requests while preserving the configured language order within each worker.

Partition layouts are locked under _partitioning/. Do not change a language's partition count after its first run; choose a new destination repo if a different layout is required.

Parquet shards are uploaded in batches of up to 16. Each batch, its advanced checkpoint, and its associated failure/recovery audit files are committed atomically. Hub uploads use 2 concurrent file transfer(s) per worker and finite HTTP timeouts so a stalled transfer can be retried by the worker launcher.

Downloads last month
238,864