Dataset Viewer (First 5GB)
Auto-converted to Parquet Duplicate
id
stringlengths
64
64
content
stringlengths
500
100k
language
stringclasses
29 values
path
stringlengths
4
333
repo
stringlengths
5
116
license
stringclasses
15 values
size
int64
500
100k
lines
int64
26
8.06k
source
stringclasses
1 value
d4abed26965ce820be4448a470a57c09d3ce1dc19e9a0b19bc7d78c63b7eba52
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, [ ...
JavaScript
test/unit/resource/accounts.js
burninggarden/burninggarden
isc
886
49
codeparrot/github-code
cead04aa72b48af97ada2eb5478e768253d307949b8d0740d36fcd1987eb6284
/* * 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...
C
usual/json.c
markokr/libusual
isc
38,477
1,786
codeparrot/github-code
91e092c0afa7eb5db2557ceb2dab027810c684ddfd9a1918fe03c7b18bbdfb14
/* 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, ...
C
xmlrpc-c/src/xmlrpc_build.c
arssivka/naomech
isc
12,744
421
codeparrot/github-code
723192278bdb31856bf418716c16771b0e4325271231f1b274acfdb076f8bdc2
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...
JavaScript
application/lib/angular2/test/core/compiler/dynamic_component_loader_spec.js
denzp/pacman
isc
13,760
311
codeparrot/github-code
c64b9c0c1187b898d8ed839b73d4f62e326de56fb5f8bc1f8d946c2da3da79b3
/* * 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. ...
C++
distrho/src/DistrhoPluginLV2export.cpp
DanielAeolusLaude/DPF-NTK
isc
16,790
406
codeparrot/github-code
3c7bdec3d173663e4c6bb5acc29fa44ffd2878804ea24a3edec53e998b243f27
// 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...
JavaScript
lib/assets/javascripts/moe-legacy/notes.js
rhaphazard/moebooru
isc
21,067
737
codeparrot/github-code
c0474fa8cb7053c9de4d0c9d05642e1fc7013bf7081cd448784876abb653ae3d
// Copyright (c) 2021 The Decred developers // Use of this source code is governed by an ISC // license that can be found in the LICENSE file. package indexers import ( "context" "fmt" "sync" "sync/atomic" "github.com/decred/dcrd/blockchain/v4/internal/progresslog" "github.com/decred/dcrd/database/v3" "github...
GO
blockchain/indexers/indexsubscriber.go
decred/dcrd
isc
10,267
391
codeparrot/github-code
3e151da99f529e1a74e20ce488c2defa0d8e604fe5e8f9de2f7b56c79b3eb096
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: {...
JavaScript
test/dJSON.spec.js
bsander/dJSON
isc
3,391
148
codeparrot/github-code
840f56b0068f79c949231ae621616bab909706941666643242cbaefd0b73875b
#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...
C
mp3.c
kdhp/play
isc
2,590
131
codeparrot/github-code
a3b7607333b8456c0691a1b56c3659fa5b47ff0efbf9e5aabdcd8fa75b8396ff
/* * 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...
C
worker/deps/openssl/openssl/crypto/whrlpool/wp_block.c
ibc/MediaSoup
isc
34,797
786
codeparrot/github-code
d9537f45c40ed11184d76dc40120fe72967adc22b28bd58493dda8f453d065f7
/** * 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...
Java
src/main/java/land/face/strife/managers/CombatStatusManager.java
TealCube/strife
isc
2,828
78
codeparrot/github-code
26227153a1d50fccc1d2ee7ba2650a9a88d5631a752d9cbc3acd04cac0b4fcbd
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...
Python
philo/models/fields/__init__.py
ithinksw/philo
isc
4,971
150
codeparrot/github-code
7864086ea08ea0c24c0a25b7ab18264da695856e2a212364f7921953d3a7f325
/*- * builtin.c * This file is part of libmetha * * Copyright (c) 2008, Emil Romanus <emil.romanus@gmail.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...
C
src/libmetha/builtin.c
nicholaides/Methanol-Web-Crawler
isc
6,361
246
codeparrot/github-code
b72e5d51f610aa81ee3fdb6421c17a7cfb914d8667a8d5570a038c72364b387b
<?php /** * Time Controller * * @package Argentum * @author Argentum Team * @copyright (c) 2008 Argentum Team * @license http://www.argentuminvoice.com/license.txt */ class Time_Controller extends Website_Controller { /** * Creates a new time block on a ticket */ public function add($ticket_id) { ...
PHP
application/controllers/admin/time.php
la5942/argentum-invoice
isc
1,554
67
codeparrot/github-code
9faf1b6396c256079bd6ad000c4e38bb5f2c387fd982e8065b863ed1ea0a8a3e
var fusepm = require('./fusepm'); module.exports = fixunoproj; function fixunoproj () { var fn = fusepm.local_unoproj("."); fusepm.read_unoproj(fn).then(function (obj) { var inc = []; if (obj.Includes) { var re = /\//; for (var i=0; i<obj.Includes.length;i++) { if (obj.Includes[i] === '*') { inc....
JavaScript
lib/fixunoproj.js
bolav/fusepm
isc
752
37
codeparrot/github-code
7a1c468395eb44022135217711a3905f6fef39089d8195bfb2dded7610d30d33
const defaults = { base_css: true, // the base dark theme css inline_youtube: true, // makes youtube videos play inline the chat collapse_onebox: true, // can collapse collapse_onebox_default: false, // default option for collapse pause_youtube_on_collapse: true, // default option for pausing yo...
JavaScript
script.js
rlemon/se-chat-dark-theme-plus
isc
4,901
145
codeparrot/github-code
End of preview. Expand in Data Studio

No dataset card yet

Downloads last month
12