Dataset Viewer
Auto-converted to Parquet Duplicate
repo
large_stringlengths
5
132
commit_id
large_stringlengths
7
7
rel_path
large_stringlengths
1
530
content
large_stringlengths
17
5.77M
⌀
blob_id
stringlengths
40
40
⌀
status
stringclasses
5 values
Mobile-Computing-Master/S1_MG_AutoTowerDefense
bed4d0a
AutoTowerDefense/Assets/Scripts/Core/UI/UiController.cs
using System; using System.Collections.Generic; using Core.Game; using Turrets; using Turrets.Utils; using UnityEngine; using UnityEngine.EventSystems; using UnityEngine.UI; using Touch = UnityEngine.InputSystem.EnhancedTouch.Touch; namespace Core.UI { public class UiController : MonoBehaviour { public...
0bf323cc8d4602041fa2af0bf2117ccde8f0c990
ok
mdekrey/3d-printer-journal
6b78571
2020-01/13/02-shelf-support-custom.md
# Print Model: https://www.thingiverse.com/thing:3716598 - Customized using the following settings: // Detail level $fn = 50; pin_depth = 6.25; pin_diameter = 6.25; support_thickness_upper = 2; support_thickness_lower = 1.4; support_thickness_taper_upper = 0; ...
cabd52b8e5738f7cc5ca1105f1795c868c61619c
ok
arlanady/tugasakhirweb
4e379fc
admin/update_laku.php
<?php include 'header.php'; $id=$_POST['id']; $tanggal=$_POST['tanggal']; $nama=$_POST['nama']; $harga=$_POST['harga']; $jumlah=$_POST['jumlah']; mysqli_query($connect, "update barang_laku set tanggal='$tanggal' nama='$nama', harga='$harga', jumlah='$jumlah' where id='$id'"); header("location:barang_laku.php"); ?>
6deac6a4edb58dea50756286dfafaca13f44e5b3
ok
lianghanwu1999/JavaSE
f837620
src/JavaSE/four集合/02Collection集合/Demo03集合Collection删除方法.java
package JavaSE.ElevenDay.集合.Collection集合; import java.util.ArrayList; import java.util.Collection; public class Demo03集合Collection删除方法 { /* * Collection接口方法 * boolean remove(Object o)移除集合中指定的元素 */ public static void main(String[] args) { function_003(); } private static void fu...
8014941d4166ea28fc335a89ca3905c80a54809b
ok
Ramotion/expanding-collection
0888558
Source/ExpandingViewController/CollectionView/PageCollectionView.swift
// // PageCollectionView.swift // TestCollectionView // // Created by Alex K. on 05/05/16. // Copyright © 2016 Alex K. All rights reserved. // import UIKit class PageCollectionView: UICollectionView { } // MARK: init extension PageCollectionView { class func createOnView(_ view: UIView, ...
5f920abb26ced54b626ef2208ad61493e312c46f
ok
jdm7dv/research
e9d3e34
verve patch/docs/book_code/inside-msbuild/Examples.Tasks/HelloWorld.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.Build.Utilities; using Microsoft.Build.Framework; namespace Examples.Tasks { public class HelloWorld : ITask { #region ITask Members public IBuildEngine BuildEngine { get; set; } public I...
365acfce49afe660d704a9ad98242b3cb54b84cc
ok
Edington42/SpaceInvaders
cb10435
SpaceInvaders/GameObjects/Shield/ShieldBrickFactory.cs
using SpaceInvaders.Composite; using SpaceInvaders.Sprite; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SpaceInvaders.GameObjects.Shield { public class ShieldBrickFactory { //Name of layer this fa...
d9e054534ed7076484d5a6adf409b59d60264e4d
ok
sark245/uima-uimaj
6a8cb85
uimaj-core/src/main/java/org/apache/uima/internal/util/Obj2IntIdentityHashMap.java
/* * 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 * to you under the Apache License, Version 2.0 (the * "License")...
b9669347f6913025bf4d0cb06c5747ef647c0e4a
ok
bearlord/esd-base
ea7c44b
src/ESD/Plugins/Actor/ActorCreateEvent.php
<?php /** * ESD framework * @author tmtbe <896369042@qq.com> */ namespace ESD\Plugins\Actor; use ESD\Core\Plugins\Event\Event; /** * Class ActorCreateEvent * @package ESD\Plugins\Actor */ class ActorCreateEvent extends Event { const ActorCreateEvent = "ActorCreateEvent"; const ActorCreateReadyEven...
7a3306049500cd34ac3e04696950a3cc06381afa
ok
SylviaSyp/test
38333c4
docs/tutorial/torch_dpp_nanogpt.md
# Master the Training of NanoGPT with DLRover Welcome to an exhaustive guide on how to train the `NanoGPT` model using DLRover. ## What's NanoGPT? NanoGPT is a specialized version of the famous GPT (Generative Pretrained Transformer) model. What makes it unique is its role in evaluating the scalability and elastici...
bc3f81f48598053a88ed5968fc92b63825958fd6
ok
ehaselwanter/poolparty
63de3c6
spec/poolparty/dependency_resolver/dependency_resolver_spec.rb
require File.dirname(__FILE__) + '/../spec_helper' describe "Resolution spec" do before(:each) do @dr = DependencyResolver.new({}) DependencyResolver.stub!(:new).and_return @dr end it "should have a tree_hash associated with the resolver" do @dr.properties_hash.should == {} end it "runs compil...
95692bed88588e285b7f4563a849c54be8cc157c
ok
poisonlogic/Village
375d025
Village/Map/MapStructures/BaseMapStructInstance.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Village.Core.DIMCUP; namespace Village.Map.MapStructures { public class BaseMapStructInstance<TDef> : BaseDimcupInstance<TDef>, IMapStructInstance<TDef> where TDef : MapStructDef { ...
802d1a1cbec7bb20fa9ccbb66c8d7c531a622389
ok
Igor-Men/symblog.dev
13fa4f8
src/Blogger/BlogBundle/Controller/PageController.php
<?php namespace Blogger\BlogBundle\Controller; use Blogger\BlogBundle\Entity\Enquiry; use Blogger\BlogBundle\Form\EnquiryType; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Symfony\Component\Validator\Mapping\ClassMetadata; use Symfony\Component\Validator\Constraints\NotBlank; use Symfony\Component\V...
46d6ecc785b4f1b785b42311296a6d3ab3a86b24
ok
dangthemen10/QuanLyNhanVienApi
91c6481
src/service/index.js
'use-strict'; const Sequelize = require('sequelize'); const Op = Sequelize.Op; const db = require('../models'); const User = db.user; const Employee = db.employee; const Group = db.group; const Project = db.project; const Department = db.department; const { badRequestException, notFoundException, unautho...
dacd7ef9467e724a7b47a23bfb18080a19964fa8
ok
digitalsigmaio/mediaplayer
95bd230
app/Events/NewTrack.php
<?php namespace App\Events; use App\Track; use Illuminate\Broadcasting\Channel; use Illuminate\Contracts\Broadcasting\ShouldBroadcastNow; use Illuminate\Queue\SerializesModels; use Illuminate\Foundation\Events\Dispatchable; use Illuminate\Broadcasting\InteractsWithSockets; class NewTrack implements ShouldBroadcastNo...
f443c26aac068da8301c00c01cad7b513032f704
ok
une/moodle-local_print
083cd32
test.php
<?php header("Content-Type: application/json"); require_once('../../config.php'); require_once('lib.php'); require_once('externallib.php'); require_login(); $files = optional_param("f",null,PARAM_CLEAN); $submissions = optional_param("s",null,PARAM_CLEAN); $extra = optional_param("assignments",null,PARAM_CLEAN); $as...
9c127e426875ddb0dfeb5d19cf1a2f575c837e9e
ok
Sanal2709/SDL2-triangle
4b8d60f
sdl2_util.cpp
#include "sdl2_util.h" #include "cmath" #include <vector> static SDL_Window * g_screen; static SDL_Renderer * g_renderer; extern volatile bool gShutDown; std::vector<PixelInfo> border1; std::vector<PixelInfo> border2; std::vector<PixelInfo> border3; int monitor_sdl_open(void) { /*Initialize the SDL*/ if(SDL_Ini...
7ae7ac341bbe686a3e679b4cec75f999a4d043be
ok
Alan-g/asso_sport_front
6ebb97b
src/app/page/inscription-recap/inscription-recap.page.ts
import { Component, OnInit } from '@angular/core'; import {LoginService} from '../../service/login.service'; import {ActivatedRoute, NavigationExtras, Router} from '@angular/router'; import {FormBuilder} from '@angular/forms'; import {Cours} from '../../class/Cours'; import {Adherent} from '../../class/Adherent'; impor...
cdb2c018b6613237e2589fb467a514075eca3adc
ok
csoap/Learn_UGUI
69f5fab
LoopScrollRect1/Assets/TestClick.cs
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class TestClick : MonoBehaviour { public GameObject ver; public InputField input; public void Click(){ var ls = ver.GetComponent<LoopScrollRect>(); int index = Convert.ToInt32(input.text); ...
b1c57ed0e8764b42335d4952cf3f3a239a1caa20
ok
tetherless-world/whyis
f573682
whyis/static/css/whyis.css
md-dialog.fullscreen-dialog { max-width: 100%; max-height: 100%; width: 100%; height: 100%; border-radius: 0; } h1 small, h2 small, h3 small, h4 small, h5 small, h6 small, .h1 small, .h2 small, .h3 small, .h4 small, .h5 small, .h6 small, h1 .small, h2 .small, h3 .small, h4 .small, h5 .small, h6 .s...
003d3cbcb527a02e08e97c9b4efb0f3572edabdb
ok_other_commit
goldirarollover/goldirarollover.github.io
fc4b21a
categories/Gold-IRA-Rollver-Arizona/Precious-Metals-IRA-Roll-over-Warning-See-Before-You-Buy-A-401k-To-Precious-Metals-IRA-for-Tonopah-AZ-.html
<!DOCTYPE HTML> <html lang="en"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <script src="https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3....
15c595e55388a923ff2ad4e02a486c5cda52bcd7
ok
nayoungwook/Scotch
1bf48b2
src/index.ts
import { Scotch, Camera, texture, render } from "./lib/scotch.js"; Scotch.initialize(); var bird = { position: {x: 0, y: 0}, rotation: 0, texture: texture("FlappyBird.png"), crop: {x: 0, y: 512 - 20, width:20, height:20}, timer: 0, gv: 0, update: function(){ this.timer += 0.3; ...
a2598ce4b20c6f1ac9b91b196f79d6d3b5a0afa6
ok
karanaso/es6-reactjs-redux-enzyme-BEE-Game
d2e07c4
Gulpfile.js
var gulp = require('gulp'); var source = require('vinyl-source-stream'); var streamify = require('gulp-streamify'); var browserify = require('browserify'); var uglify = require('gulp-uglify'); var babelify = require('babelify'); var concat = require('gulp-concat'); var rename = require('gulp-rename'); var plumber =...
8259e09cabbec99a507d98cb03a323b29d822c90
ok
mritzi/205112054_hostel_allotment
deb402b
hostel allotment_final/hostel allotment/login.vb
Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 'TODO: This line of code loads data into the 'Hostel_dbDataSet.hostel_detail' table. You can move, or remove it, as needed. Me.Hostel_detailTableAdapter.Fill(Me.Hostel_dbDataSet....
3eceb3148a67376255047d2d041bb7d0c895d379
ok
oletizi/vmpc-workspace
3a86bef
.ci/build-and-publish-ubuntu.sh
#!/bin/sh cd ~/git/vmpc-workspace git pull python3 build.py -c ninja cd build ninja -f build-Release.ninja vmpc2000xl_All cd ~/git/vmpc-binaries git pull ./copy_bin_ubuntu18_x86_64.sh git add linux git commit -m "Publish 0.4 Ubuntu x86_64" git push
c21fa92685e4482a66d126c9c6a5bd85e60fdcbe
ok
Movee-Ax/MoveeBlog
3a2b18f
sayhello/templates/index.html
{% extends 'base.html' %} {% block content %} <style> .btn { font-size: 12px; padding: 3px 5px; text-decoration: none; cursor: pointer; background-color: white; color: black; border: 1px solid #555555; border-radius: 5px; } .float-right { float: right; } .inline-form { dis...
1f30292d24d75c3c9a12acd1afb24f415743ed30
ok
deyakin/deyakin.github.io
ad23d11
webusb_adbinstaller/script/dragndrop.js
function handleFileSelectDnD(evt) { evt.stopPropagation(); evt.preventDefault(); var files = evt.dataTransfer.files; // FileList object. // files is a FileList of File objects. List some properties. var output = []; for (var i = 0, f; f = files[i]; i++) { output.push('<li><strong>', escape(f.name), '</strong>...
f3aa3e879bd2f12bde48babd8db912e3e6475fb6
ok
SiddharthTTN/link-sharing
a029324
src/main/java/com/ttn/linksharing/service/ResourceService.java
package com.ttn.linksharing.service; import com.ttn.linksharing.entity.Resource; import com.ttn.linksharing.entity.Topic; import com.ttn.linksharing.entity.User; import com.ttn.linksharing.repositories.ResourceRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereot...
73001b92fc031a1f00934384e8223c823dcdfa8f
ok
pomle/pomle
88652d4
sites/admin/system/element/CreateAdmin.inc.php
<? if( isset($_POST['register']) ) { try { \DB::autocommit(false); $username = $_POST['username']; $password = $_POST['password']; $passwordVerify = $_POST['passwordVerify']; \Operation\User::verifyUsername($username); \Operation\User::verifyPassword($password, $passwordVerify); $user...
7fc54463da56c6ff6a43aa9992c1dd60f9fce940
ok
megaJingHua/mega-works-fcuam-backend
968114c
src/imgslideshow/imgslideshow.service.spec.ts
import { Test, TestingModule } from '@nestjs/testing'; import { ImgslideshowService } from './imgslideshow.service'; describe('ImgslideshowService', () => { let service: ImgslideshowService; beforeEach(async () => { const module: TestingModule = await Test.createTestingModule({ providers: [ImgslideshowS...
6dd2fbb66afb2c4cb4dc864f26c640948458daf5
ok
k29/feb_long_challenge-2019
711d34c
DEPCHEF/code.cpp
#include<iostream> #include<cstdio> #include<vector> using namespace std; int main() { int t; scanf("%d", &t); // testcases while(t--) { //subcases int n; scanf("%d", &n); // intialise int att[100]; int def[100]; char temp; ...
ab1e9f93424d32127a1d586312bdbd896026ffc7
ok
snowowl78/website
8e064c4
src/scripts/lib/debounce.js
define('debounce', [], function () { // https://remysharp.com/2010/07/21/throttling-function-calls return function debounce(fn, delay) { var timer = null; return function () { var context = this; var args = arguments; clearTimeout(timer); timer = setTimeout(function () { f...
3322a5293ecfc50c7b905ebb74ee68a0109c8033
ok
EmilRosenov/Softuni.bg-Advanced
f35da02
12.DefiningClassesExercise/03.OldestFamilyMember/Family.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace DefiningClasses { class Family { //public List<Person> familyMembers { get; set; } List<Person> familyMembers = new List<Person>(); public void AddMemeber(Person me...
e83cedf30047a76648792e71a35deb209537349e
ok
czsth/Small-Talks
569e1eb
tree/tree.py
import os def listFile(filename, formats): fileList = os.listdir(filename) leng = len(fileList) for i, f in enumerate(fileList): print(formats, end='') if i == leng - 1: print('└─', end='') else: print('├─', end='') print(f, end='') ...
d7a36b16380f9551355eb60dd624edcfc59a24f3
ok
mosn/istio
c0cb536
pilot/pkg/bootstrap/validation.go
// Copyright Istio Authors // // 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...
54b5140391bd6f48f80eeaec4a7dc870bf50e9b7
ok
lizcconrad/clinical-trials
bd8c3df
AllPublicXML/NCT0169xxxx/NCT01698190.xml
<clinical_study> <!-- This xml conforms to an XML Schema at: https://clinicaltrials.gov/ct2/html/images/info/public.xsd --> <required_header> <download_date>ClinicalTrials.gov processed this data on May 29, 2018</download_date> <link_text>Link to the current ClinicalTrials.gov record.</link_text> ...
0eb538d50dca6426a5406cbc38044a21f62fedec
ok
isSaturn/OurBookStore
90f71f1
app/src/main/java/com/example/androidproject_coupon/OrderManagement/OderAdapter.java
package com.example.androidproject_coupon.OrderManagement; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.RelativeLayout; import android.widget.TextView; import ...
7a3a89c17eb83ebfd2266dc49126fd3b1770c460
ok
becore/csound-floss
139aebb
book/05-g-granular-synthesis.md
05 G. GRANULAR SYNTHESIS ======================== This chapter will focus upon granular synthesis used as a DSP technique upon recorded sound files and will introduce techniques including time stretching, time compressing and pitch shifting. The emphasis will be upon asynchronous granulation. For an introduction to sy...
5ff19dc8f0bccd7f3f7ce1b1bd30e8df243cbb42
ok
topdown/VVV-Dashboard
bd879c5
views/partials/themes.php
<?php /** * * PHP version 5 * * Created: 11/13/16, 11:10 AM * * LICENSE: * * @author Jeff Behnke <code@validwebs.com> * @copyright (c) 2016 ValidWebs.com * * dashboard * themes.php */ if ( isset( $_GET['host'] ) && isset( $_GET['get_themes'] ) ) { $close = '<a class="close" href="./">Close</a>...
dce064915143b3edeae14d7e47907501742244c5
ok
surrealdave/theholemod
bd2960e
src/main/java/pile/procedure/ProcedureTradeDealer.java
package pile.procedure; import pile.item.ItemTruffle; import pile.item.ItemSDGRAPP; import pile.item.ItemHydnellum; import pile.item.ItemDavecoin; import pile.item.ItemBlueteeth; import pile.ElementsThePile; import net.minecraftforge.items.ItemHandlerHelper; import net.minecraft.item.ItemStack; import ...
54efd00c368dfdc0a8d460cd90d2aff5558200f9
ok
mr-z-ro/Donorschoose-Dashboard
992ce47
static/js/charts.js
queue() .defer(d3.json, "/donorschoose/projects") .defer(d3.json, "static/geojson/us-states.json") .await(makeGraphs); function makeGraphs(error, projectsJson, statesJson) { // Clean the data var donorschooseProjects = projectsJson; var dateFormat = d3.time.format("%Y-%m-%d %H:%M:%S"); dono...
840094724ed5f5b925d5d00ff61592986029f9a3
ok
GoC-Spending/goc-spending-data
7071a39
generated-data/fin/6abab24def11c4ab894cb2a0f2e4ea8f.json
{ "uuid": "fin-8021948", "vendorName": "CLICK-INTO INC.", "referenceNumber": "8021948", "contractDate": "2008-09-24", "description": "1226 COMPUTER EQUIPMENT LARGE\/MEDIUM MAINFRAME COMPUTER", "extraDescription": "", "objectCode": "1226", "contractPeriodStart": "", "contractPeriodEnd...
86fb736a6ea068c499a37ee16188270fa09b88f3
ok
kleberapsilva/pay_flow
c7279b2
lib/presenter/config/app_routes.dart
import 'package:get/get.dart'; import '../modules/barcode_scanner/barcode_scanner_binding.dart'; import '../modules/barcode_scanner/barcode_scanner_page.dart'; import '../modules/home/home_binding.dart'; import '../modules/home/home_page.dart'; import '../modules/login/login_binding.dart'; import '../modules/login/log...
d8090db6bcd6a69ddd6be6b4f488d3fc0519fded
ok
End of preview. Expand in Data Studio

Nemotron-Pretraining-Code-v1-Real

File contents for the real-code subset of nvidia/Nemotron-Pretraining-Code-v1, whose release only includes repo, commit_id and rel_path metadata (Nemotron-Code-Metadata/). The synthetic subset is not included. Each data/part_NNNNNN.parquet corresponds to Nemotron-Code-Metadata/part_NNNNNN.parquet row for row.

Contents come from the Software Heritage archive, read from its public softwareheritage S3 bucket. Rows are first matched against bigcode/the-stack-v2, which gives each file's blob id: on (repo, path, commit); failing that, on (repo name, path, commit) under another owner, which finds forks at the same commit (The Stack v2 lists each file once); failing that, on (repo, path) at the commit The Stack v2 has (ok_other_commit, possibly a different version of the file). Rows The Stack v2 doesn't cover are resolved through the Software Heritage compressed graph (2026-06-04 export: origin, snapshot, commit, then path); when the commit isn't archived, the file comes from the head of the latest snapshot (ok_other_commit). Rows that neither route finds keep their metadata with a null content.

column type meaning
repo, commit_id, rel_path string copied from the metadata
content string file text; null unless status is ok or ok_other_commit
blob_id string SHA1 of the file (its key in the Software Heritage content bucket), null if unmatched
status string ok (file at the listed commit), ok_other_commit (same repo and path, another commit), unmatched (not found), missing (blob not in the archive bucket, or not the expected file), binary, too_large (over 20 MB), error

Filter on status == 'ok' for the exact files, or content IS NOT NULL to include other commits.

status rows share
ok 602,230,581 96.698%
ok_other_commit 20,460,856 3.285%
binary 60,434 0.010%
unmatched 42,402 0.007%
missing 1,213 <0.001%
too_large 10 <0.001%
total 622,795,496

Use is subject to the upstream NVIDIA Data Agreement for Model Training, The Stack v2 terms of use, and the licenses of the individual source files.

Downloads last month
1,156