Dataset Viewer
Auto-converted to Parquet Duplicate
doc_id
stringlengths
16
16
text
stringlengths
200
100k
source_dataset
stringclasses
1 value
repo_name
stringlengths
5
109
path
stringlengths
3
991
language
stringclasses
17 values
license
stringclasses
7 values
7a0b2f6360a31103
'use strict'; const TYPE = Symbol.for('type'); class Data { constructor(options) { // File details this.filepath = options.filepath; // Type this[TYPE] = 'data'; // Data Object.assign(this, options.data); } } module.exports = Data;
github-code-clean
mshick/velvet
core/classes/data.js
JavaScript
isc
edace00116b54651
function collectWithWildcard(test) { test.expect(4); var api_server = new Test_ApiServer(function handler(request, callback) { var url = request.url; switch (url) { case '/accounts?username=chariz*': let account = new Model_Account({ username: 'charizard' }); return void callback(null, [ ...
github-code-clean
burninggarden/burninggarden
test/unit/resource/accounts.js
JavaScript
isc
d445d29220a05375
/* * Read and write JSON. * * Copyright (c) 2014 Marko Kreen * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "A...
github-code-clean
markokr/libusual
usual/json.c
C
isc
143ae9abd9390e40
angular.module('appTesting').service("LoginLocalStorage", function () { "use strict"; var STORE_NAME = "login"; var setUser = function setUser(user) { localStorage.setItem(STORE_NAME, JSON.stringify(user)); } var getUser = function getUser() { var storedTasks = localStorage.getIte...
github-code-clean
pikachumetal/cursoangular05
app/loginModule/services/localstorage.js
JavaScript
isc
0606fb13d0cfca32
/* Copyright information is at end of file */ #include "xmlrpc_config.h" #include <stddef.h> #include <stdlib.h> #include <stdarg.h> #include <string.h> #include "stdargx.h" #include "xmlrpc-c/base.h" #include "xmlrpc-c/base_int.h" #include "xmlrpc-c/string_int.h" static void getString(xmlrpc_env *const envP, ...
github-code-clean
arssivka/naomech
xmlrpc-c/src/xmlrpc_build.c
C
isc
f36b4ab639a638a0
/* ISC license. */ #include <bearssl.h> #include <s6-networking/sbearssl.h> int sbearssl_skey_to (sbearssl_skey const *l, br_skey *k, char *s) { switch (l->type) { case BR_KEYTYPE_RSA : sbearssl_rsa_skey_to(&l->data.rsa, &k->data.rsa, s) ; break ; case BR_KEYTYPE_EC : sbearssl_ec_skey_to...
github-code-clean
skarnet/s6-networking
src/sbearssl/sbearssl_skey_to.c
C
isc
5bef7eb98680cef5
/* * The MIT License * Copyright (c) 2012 Matias Meno <m@tias.me> */ @-webkit-keyframes passing-through { 0% { opacity: 0; -webkit-transform: translateY(40px); -moz-transform: translateY(40px); -ms-transform: translateY(40px); -o-transform: translateY(40px); trans...
github-code-clean
sauban/angular-boilerplate
vendor/dropzone/dropzone.css
CSS
isc
56f9f6b6b2779566
/* eslint-disable no-console */ const buildData = require('./build_data'); const buildSrc = require('./build_src'); const buildCSS = require('./build_css'); let _currBuild = null; // if called directly, do the thing. buildAll(); function buildAll() { if (_currBuild) return _currBuild; return _currBuild = P...
github-code-clean
kartta-labs/iD
build.js
JavaScript
isc
1aa7ade1842be7ca
// // RCWorkspaceCache.h // // Created by Mark Lilback on 12/12/11. // Copyright (c) 2011 . All rights reserved. // #import "_RCWorkspaceCache.h" @interface RCWorkspaceCache : _RCWorkspaceCache //if multiple values are to be set, it best to get properties, set them, and then call setProperties //each call to setPr...
github-code-clean
wvuRc2/rc2client
source/rc2/model/RCWorkspaceCache.h
C
isc
5e6349336be63408
function LetterProps(o, sw, sc, fc, m, p) { this.o = o; this.sw = sw; this.sc = sc; this.fc = fc; this.m = m; this.p = p; this._mdf = { o: true, sw: !!sw, sc: !!sc, fc: !!fc, m: true, p: true, }; } LetterProps.prototype.update = function (o, sw, sc, fc, m, p) { ...
github-code-clean
damienmortini/dlib
node_modules/lottie-web/player/js/utils/text/LetterProps.js
JavaScript
isc
454c8c5a5cc48376
/*! * DASSL solver library description */ #include "libinfo.h" extern void _start() { _library_ident("DAE solver library"); _library_task("interfaces to generic IVP solver"); _library_task("operations on data for included solvers"); _library_task("DASSL solver backend"); _library_task("RADAU solver backend")...
github-code-clean
becm/mpt-solver
modules/daesolv/libinfo.c
C
isc
506b7dea98f21d93
System.register(["angular2/test_lib", "angular2/src/test_lib/test_bed", "angular2/src/core/annotations_impl/annotations", "angular2/src/core/annotations_impl/view", "angular2/src/core/compiler/dynamic_component_loader", "angular2/src/core/compiler/element_ref", "angular2/src/directives/if", "angular2/src/render/dom/dir...
github-code-clean
denzp/pacman
application/lib/angular2/test/core/compiler/dynamic_component_loader_spec.js
JavaScript
isc
1ff1ce7033c24289
--- name: Dreadnought type: AV speed: 15cm armour: 3+ cc: 4+ ff: 4+ special_rules: - walker notes: | Armed with either a Missile Launcher and Twin Lascannon, or an Assault Cannon and Power Fist. weapons: - id: missile-launcher multiplier: 0–1 - id: twin-lascannon multiplier: 0–1 - id: ...
github-code-clean
dsusco/tp.net-armageddon.org
_site/_units/dreadnought.md
Markdown
isc
11ca64c2f8221823
/* * DISTRHO Plugin Framework (DPF) * Copyright (C) 2012-2014 Filipe Coelho <falktx@falktx.com> * * Permission to use, copy, modify, and/or distribute this software for any purpose with * or without fee is hereby granted, provided that the above copyright notice and this * permission notice appear in all copies. ...
github-code-clean
DanielAeolusLaude/DPF-NTK
distrho/src/DistrhoPluginLV2export.cpp
C++
isc
12b8e5c1beb5abb6
// The following are instance methods and variables var Note = Class.create({ initialize: function(id, is_new, raw_body) { if (Note.debug) { console.debug("Note#initialize (id=%d)", id) } this.id = id this.is_new = is_new this.document_observers = []; // Cache the elements this.ele...
github-code-clean
rhaphazard/moebooru
lib/assets/javascripts/moe-legacy/notes.js
JavaScript
isc
339a2e39292a6e31
# Limit rozbieżności **Ostrzeżenie! Ustawienie granicy rozbieżności nie powinno być zmieniane.** Zwiększenie granicy rozbieżności może spowodować znaczny spadek wydajności. Limit rozbieżności określa ilość adresów, które portfel wygeneruje i przeprowadzi prognozy, aby określić wykorzystanie. Domyślnie, limit rozbieżn...
github-code-clean
decred/decrediton
app/i18n/docs/pl/InfoModals/GapLimit.md
Markdown
isc
823c3aa50264813c
enum asmop { ASNOP = 0, ASSTB, ASSTH, ASSTW, ASSTL, ASSTM, ASSTS, ASSTD, ASLDSB, ASLDUB, ASLDSH, ASLDUH, ASLDSW, ASLDUW, ASLDL, ASLDS, ASLDD, ASADDW, ASSUBW, ASMULW, ASMODW, ASUMODW, ASDIVW, ASUDIVW, ASSHLW, ASSHRW, ASUSHRW, ASLTW, ASULTW, ASGTW, ASUGTW, ASLEW, ASULEW, ASGEW, ASUGEW...
github-code-clean
k0gaMSX/scc
cc2/target/qbe/arch.h
C
isc
746cecccce756b89
describe('dJSON', function () { 'use strict'; var chai = require('chai'); var expect = chai.expect; var dJSON = require('../lib/dJSON'); var path = 'x.y["q.{r}"].z'; var obj; beforeEach(function () { obj = { x: { y: { 'q.{r}': { z: 635 }, q: {...
github-code-clean
bsander/dJSON
test/dJSON.spec.js
JavaScript
isc
c683c06046051087
/* * 94 shifted lines of 72 ASCII characters. */ static const char *characters[] = { "!\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefgh", "\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghi", "#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`...
github-code-clean
ibara/chargend
chargend.h
C
isc
44dbc6d790900c2d
#include <stdarg.h> #include <stddef.h> #include <stdlib.h> #include <string.h> #include <fcntl.h> #include <unistd.h> #include <errno.h> #include <sys/endian.h> #include <sysexits.h> #include <mpg123.h> #include "audio.h" #include "mp3.h" struct mp3 { mpg123_handle *h; int fd; int first; int rate; int chann...
github-code-clean
kdhp/play
mp3.c
C
isc
0988bd3ca1e336e4
/* * Copyright 2005-2019 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the OpenSSL license (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy * in the file LICENSE in the source distribution or at * https://www.openssl.org/source/lice...
github-code-clean
ibc/MediaSoup
worker/deps/openssl/openssl/crypto/whrlpool/wp_block.c
C
isc
1c5136f05a2a0648
/** * The MIT License Copyright (c) 2015 Teal Cube Games * * 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 rights to use, copy, modi...
github-code-clean
TealCube/strife
src/main/java/land/face/strife/managers/CombatStatusManager.java
Java
isc
f9af363d378e1a74
-- Section: Internal Functions -- Group: Low-level event handling \i functions/pgq.batch_event_sql.sql \i functions/pgq.batch_event_tables.sql \i functions/pgq.event_retry_raw.sql \i functions/pgq.find_tick_helper.sql -- \i functions/pgq.insert_event_raw.sql \i lowlevel/pgq_lowlevel.sql -- Group: Ticker \i functio...
github-code-clean
mpihlak/skytools-dev
sql/pgq/structure/func_internal.sql
SQL
isc
5b6a19438d2f57d9
#AtaK ##The Atari 2600 Compiler Kit AtaK, pronounced attack, is a collection of programs built to aid in the development of Atari 2600 programs. ##Programs(Planned/Developing): * AtaR(ah-tar), The **Ata**ri 2600 Assemble**r** * AtaC(attack), The **Ata**ri 2600 **C** Compiler ##Universal Features: * Programmed ...
github-code-clean
Gip-Gip/AtaC
README.md
Markdown
isc
1b76bc7c6af02c83
/* Copyright (c) 2016, 2021 Dennis Wölfing * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR D...
github-code-clean
dennis95/dennix
libc/src/stdio/printf.c
C
isc
b2683a32c21e588a
from django import forms from django.core.exceptions import ValidationError from django.core.validators import validate_slug from django.db import models from django.utils import simplejson as json from django.utils.text import capfirst from django.utils.translation import ugettext_lazy as _ from philo.forms.fields im...
github-code-clean
ithinksw/philo
philo/models/fields/__init__.py
Python
isc
End of preview. Expand in Data Studio

universo-codigo

Código com licença permissiva (MIT, Apache-2.0, BSD-2/3, ISC, Unlicense, CC0) filtrado de codeparrot/github-code-clean, para o grupo "codigo" do pré-treino do MBP (mistura v4 do giovanimds/universo-brasileiro). Cada linha guarda repo_name, path e license do arquivo de origem: a licença e o aviso de copyright de cada arquivo valem para ele. Filtros: linguagem, tamanho, arquivos gerados ou minificados, duplicatas exatas (build_code_corpus.py no repositório ai-labs).

Relatório da construção: build.json.

Downloads last month
84