Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed
Error code:   DatasetGenerationError
Exception:    TypeError
Message:      Couldn't cast array of type
struct<content_hash: string, timestamp: string, source: string, line_count: int64, max_line_length: int64, avg_line_length: double, alnum_prop: double, repo_name: string, id: string, size: string, binary: bool, copies: string, ref: string, path: string, mode: string, license: string, language: list<item: struct<name: string, bytes: string>>, symlink_target: string>
to
{'content_hash': Value(dtype='string', id=None), 'timestamp': Value(dtype='string', id=None), 'source': Value(dtype='string', id=None), 'line_count': Value(dtype='int64', id=None), 'max_line_length': Value(dtype='int64', id=None), 'avg_line_length': Value(dtype='float64', id=None), 'alnum_prop': Value(dtype='float64', id=None), 'repo_name': Value(dtype='string', id=None), 'id': Value(dtype='string', id=None), 'size': Value(dtype='string', id=None), 'binary': Value(dtype='bool', id=None), 'copies': Value(dtype='string', id=None), 'ref': Value(dtype='string', id=None), 'path': Value(dtype='string', id=None), 'mode': Value(dtype='string', id=None), 'license': Value(dtype='string', id=None), 'language': [{'name': Value(dtype='string', id=None), 'bytes': Value(dtype='string', id=None)}]}
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 2011, in _prepare_split_single
                  writer.write_table(table)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 585, in write_table
                  pa_table = table_cast(pa_table, self._schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2302, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2261, in cast_table_to_schema
                  arrays = [cast_array_to_feature(table[name], feature) for name, feature in features.items()]
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2261, in <listcomp>
                  arrays = [cast_array_to_feature(table[name], feature) for name, feature in features.items()]
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 1802, in wrapper
                  return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks])
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 1802, in <listcomp>
                  return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks])
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2122, in cast_array_to_feature
                  raise TypeError(f"Couldn't cast array of type\n{_short_str(array.type)}\nto\n{_short_str(feature)}")
              TypeError: Couldn't cast array of type
              struct<content_hash: string, timestamp: string, source: string, line_count: int64, max_line_length: int64, avg_line_length: double, alnum_prop: double, repo_name: string, id: string, size: string, binary: bool, copies: string, ref: string, path: string, mode: string, license: string, language: list<item: struct<name: string, bytes: string>>, symlink_target: string>
              to
              {'content_hash': Value(dtype='string', id=None), 'timestamp': Value(dtype='string', id=None), 'source': Value(dtype='string', id=None), 'line_count': Value(dtype='int64', id=None), 'max_line_length': Value(dtype='int64', id=None), 'avg_line_length': Value(dtype='float64', id=None), 'alnum_prop': Value(dtype='float64', id=None), 'repo_name': Value(dtype='string', id=None), 'id': Value(dtype='string', id=None), 'size': Value(dtype='string', id=None), 'binary': Value(dtype='bool', id=None), 'copies': Value(dtype='string', id=None), 'ref': Value(dtype='string', id=None), 'path': Value(dtype='string', id=None), 'mode': Value(dtype='string', id=None), 'license': Value(dtype='string', id=None), 'language': [{'name': Value(dtype='string', id=None), 'bytes': Value(dtype='string', id=None)}]}
              
              The above exception was the direct cause of the following exception:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1529, in compute_config_parquet_and_info_response
                  parquet_operations = convert_to_parquet(builder)
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1154, in convert_to_parquet
                  builder.download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1027, in download_and_prepare
                  self._download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1122, in _download_and_prepare
                  self._prepare_split(split_generator, **prepare_split_kwargs)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1882, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 2038, in _prepare_split_single
                  raise DatasetGenerationError("An error occurred while generating the dataset") from e
              datasets.exceptions.DatasetGenerationError: An error occurred while generating the dataset

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.

text
string
meta
dict
/* eslint-disable no-unused-expressions */ import { expect } from 'chai'; import Store from '../src/Store'; import { flaxs } from '../src/Flaxs'; describe('Store', () => { const mockStore = new Store({ testMethod: () => true, }, ({ actionType }) => { switch (actionType) { case 'ADD_TEST': ret...
{ "content_hash": "afe6aee03fb0bcba79e5ffed1a59c3ef", "timestamp": "", "source": "github", "line_count": 176, "max_line_length": 92, "avg_line_length": 30.15340909090909, "alnum_prop": 0.5924250989259469, "repo_name": "jcperez-ch/flaxs", "id": "8adef836c58fd786de7bdf3e9bd100b75a00917c", "size": "530...
Imports System Imports System.Reflection Imports System.Runtime.InteropServices ' General Information about an assembly is controlled through the following ' set of attributes. Change these attribute values to modify the information ' associated with an assembly. ' Review the values of the assembly attributes <Asse...
{ "content_hash": "f31f9d32a8a90c9c2390b423c9a93e34", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 83, "avg_line_length": 33.64705882352941, "alnum_prop": 0.7482517482517482, "repo_name": "prashantkakde31/Catalyst", "id": "73b0be54a87d2003199ffe70ef2fe3d2210b7bbe", "size...
''' Work with Libraries - show persons and communities with maxUsed biggr 80% Author: Christoph Stoettner Mail: christoph.stoettner@stoeps.de Documentation: http://scripting101.org Version: 5.0.1 Date: 09/19/2015 License: Apache 2.0 ''' execfile("filesAdmin.py") import sys nor...
{ "content_hash": "b140ca018863f5070189234a642b9939", "timestamp": "", "source": "github", "line_count": 48, "max_line_length": 296, "avg_line_length": 34.770833333333336, "alnum_prop": 0.6213301378070701, "repo_name": "stoeps13/ibmcnx2", "id": "e2d40c9e1683febd35f321c3f44e4d0173598276", "size": "16...
namespace asio { namespace ip { template <typename Elem, typename Traits, typename InternetProtocol> std::basic_ostream<Elem, Traits>& operator<<( std::basic_ostream<Elem, Traits>& os, const basic_endpoint<InternetProtocol>& endpoint) { asio::ip::detail::endpoint tmp_ep(endpoint.address(), endpoint.port()); ...
{ "content_hash": "8390b20861454cdc7e1750cce17a9b1b", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 73, "avg_line_length": 27.1875, "alnum_prop": 0.6620689655172414, "repo_name": "ASMlover/study", "id": "09f0e5772189db63d2c90e76db161abe8ff0f576", "size": "1515", "binary...
package com.github.ambry.tools.perf.rest; import com.codahale.metrics.Counter; import com.codahale.metrics.Histogram; import com.codahale.metrics.JmxReporter; import com.codahale.metrics.Meter; import com.codahale.metrics.MetricRegistry; import com.codahale.metrics.Snapshot; import com.github.ambry.commons.SSLFactory...
{ "content_hash": "ae2b58bdbf3a4af2300aaaa9593e771b", "timestamp": "", "source": "github", "line_count": 680, "max_line_length": 120, "avg_line_length": 43.536764705882355, "alnum_prop": 0.6961324100658672, "repo_name": "pnarayanan/ambry", "id": "45f48b886bb55af5dd67edfc2956209cc1f2163a", "size": "3...
FROM vitess/k8s AS k8s FROM debian:stretch-slim # Set up Vitess environment (just enough to run pre-built Go binaries) ENV VTROOT /vt # Prepare directory structure. RUN mkdir -p /vt/bin && mkdir -p /vtdataroot # Copy certs to allow https calls COPY --from=k8s /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-cer...
{ "content_hash": "9de9ef9895ab0780e7c2b4883e82a1fb", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 85, "avg_line_length": 28.38095238095238, "alnum_prop": 0.7214765100671141, "repo_name": "enisoc/vitess", "id": "f1fab9bceb4204f51a07264e714e7959986f54d8", "size": "596", ...
import {MessengerClient} from 'pandora-messenger'; import {ObjectConsumer} from './object-proxying/ObjectConsumer'; import {HubClient} from './hub/HubClient'; export interface Location { initialization?: boolean; appName?: string; processName?: string; pid?: string; clientId?: string; } export interface Sel...
{ "content_hash": "433b5ca44cf420fd4d6935a4d0efe09d", "timestamp": "", "source": "github", "line_count": 127, "max_line_length": 113, "avg_line_length": 21.763779527559056, "alnum_prop": 0.7145441389290883, "repo_name": "midwayjs/pandora", "id": "d32aa37f0c24b9dcdabc919226abb091fc6fd2a7", "size": "2...
<?php declare(strict_types = 1); namespace KoolKode\BPMN\Test; use KoolKode\BPMN\ManagementService; use KoolKode\BPMN\Delegate\DelegateTaskRegistry; use KoolKode\BPMN\Delegate\Event\TaskExecutedEvent; use KoolKode\BPMN\Engine\ProcessEngine; use KoolKode\BPMN\Engine\VirtualExecution; use KoolKode\BPMN\History\Histo...
{ "content_hash": "1a5bd8d3531587e9652237f62fa7d4f3", "timestamp": "", "source": "github", "line_count": 320, "max_line_length": 153, "avg_line_length": 33.9625, "alnum_prop": 0.5909090909090909, "repo_name": "koolkode/bpmn", "id": "2daf803bf6a8e772179d90b6e291aedbe6c62c64", "size": "11099", "bina...
def pages(domo): '''Page Docs: https://developer.domo.com/docs/domo-apis/pages ''' domo.logger.info("\n**** Domo API - Page Examples ****\n") # Create a page page = domo.pages.create('New Page') domo.logger.info("Created Page {}".format(page['id'])) # Create a subpage subpage = domo.pa...
{ "content_hash": "a0ebec1b7c8916b1a1e645ea7b2375a4", "timestamp": "", "source": "github", "line_count": 54, "max_line_length": 79, "avg_line_length": 38.833333333333336, "alnum_prop": 0.5956127801621364, "repo_name": "domoinc/domo-python-sdk", "id": "b6926d0fae7ade517d79df8dc51bfb9dea5537bd", "size...
var solve_quad = require('../Modules/quad.js'); var fs = require ('fs'); exports.test_any = function(test){ var any_input = require('any_input.json'); test.equals(JSON.stringify({"x":"Any"}),JSON.stringify(solve_quad.fujeclypse(any_input.a,any_input.b,any_input.c))); test.done() } exports.test_none = function(test...
{ "content_hash": "847c6c3fcd7ddd4ad740d3215885a3d8", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 133, "avg_line_length": 35.03703703703704, "alnum_prop": 0.686046511627907, "repo_name": "thebravoman/software_engineering_2016", "id": "63ec1d8448b0a7410e9f95d697d1c6daf30bf...
package msa.rehearsal.base; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v7.app.AppCompatActivity; import android.widget.Toast; import msa.rehearsal.RehearsalApp; import msa.rehearsal.injector.HasComponent; import msa.rehearsal.injector.components.ApplicationComponent...
{ "content_hash": "3bc1b355155ac33809ba1a51e0a1d3a0", "timestamp": "", "source": "github", "line_count": 53, "max_line_length": 90, "avg_line_length": 30.79245283018868, "alnum_prop": 0.7549019607843137, "repo_name": "abeemukthees/Arena", "id": "47697ad341598f2024a5b2a3c4f7842ac845b9d9", "size": "22...
<!DOCTYPE HTML> <html> <head> <title>main curl test file</title> <script> curl = { paths: { curl: '../src/curl/' } }; </script> <script src="../dist/curl-kitchen-sink/curl.js"></script> <script type="text/javascript"> curl( [ 'stuff/three', 'css!stuff/base', 'text!stuff/template.html' ] ).t...
{ "content_hash": "1bb44bbff87d7d737ac3c3aa85644789", "timestamp": "", "source": "github", "line_count": 49, "max_line_length": 106, "avg_line_length": 19.428571428571427, "alnum_prop": 0.6186974789915967, "repo_name": "pchaussalet/dr_devops", "id": "94b5cbc346598c6b05a9a47200624772b2902f08", "size"...
package gov.hhs.fha.nhinc.subscription.repository.dialectalgorithms.simple; import gov.hhs.fha.nhinc.subscription.repository.roottopicextractor.IRootTopicExtractionStrategy; import gov.hhs.fha.nhinc.subscription.repository.roottopicextractor.RootTopicExtractorHelper; import gov.hhs.fha.nhinc.subscription.repository.s...
{ "content_hash": "842680014f52eb98f9f43b252b06cecf", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 120, "avg_line_length": 44.10344827586207, "alnum_prop": 0.8037529319781079, "repo_name": "sailajaa/CONNECT", "id": "0887d24a61379cab6663d735d496ded4de214ae1", "size": "297...
using System; using System.Collections.Generic; using System.Linq; using FluentAssertions; using NUnit.Framework; using Nest.Tests.MockData.Domain; namespace Nest.Tests.Integration.Core.TermVectors { [TestFixture] public class MultiTermVectorsTests : IntegrationTests { [Test] public void MultiTermVectorsTest()...
{ "content_hash": "409c7de28ccbc8ab9d2914389ed70fb6", "timestamp": "", "source": "github", "line_count": 70, "max_line_length": 116, "avg_line_length": 25.042857142857144, "alnum_prop": 0.6833998859098688, "repo_name": "ststeiger/elasticsearch-net", "id": "929af3c0b79b853f1ff2a721292f03ba4dc36165", ...
package com.mobilepetroleum.radialencapsulation; import classycle.util.StringPattern; import java.util.regex.Pattern; class StringPatterns { static StringPattern exclude(String... excludes) { Pattern[] patterns = new Pattern[excludes.length]; for (int i = 0, excludesLength = excludes.length; i <...
{ "content_hash": "b4342c14d3858e326c22aaed16cd4733", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 84, "avg_line_length": 26.13888888888889, "alnum_prop": 0.5749202975557917, "repo_name": "MobilePetroleum/radial-encapsulation-maven-plugin", "id": "6e57e39c18787f30a803c5e8b...
This project is a part of the Electron ecosystem. As such, all contributions to this project follow [Electron's code of conduct](https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md) where appropriate.
{ "content_hash": "901f4a6d78dbd7fadd563e2f62cddc89", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 99, "avg_line_length": 71.66666666666667, "alnum_prop": 0.8, "repo_name": "maxogden/electron-packager", "id": "8c48a630ac040bfc2e3d709e5da4512e47b50821", "size": "234", "b...
/* ================================================================================ Name: Luis Regus ID: 00264958 Created: 1/31/14 Description: This program determines if a costumer has exceeded the credit limit on a charge account. usage: This program asks the user for the account number, beginn...
{ "content_hash": "cf04eb064da055a34ede07c018f5a2a4", "timestamp": "", "source": "github", "line_count": 98, "max_line_length": 271, "avg_line_length": 24.285714285714285, "alnum_prop": 0.5676470588235294, "repo_name": "lmregus/Portfolio", "id": "f740b4d717d0ebd5b990c8d64380943a939954c9", "size": "2...
define([ './Point', './Line', './util/MathUtil', 'underscore', 'utility/Class', 'utility/Setter' ], function(Point, Line, MathUtil, _, Class, Setter) { var Edge = Line.extend({ _init: function(pointA, pointB) { this._super([pointA, pointB]); this.pointA = this.points[0]; this.pointB...
{ "content_hash": "3b302e39e73c1e4b14301f0486fdd439", "timestamp": "", "source": "github", "line_count": 176, "max_line_length": 99, "avg_line_length": 29.960227272727273, "alnum_prop": 0.5850559453821355, "repo_name": "urbanetic/subdiv", "id": "adbae726b2552641c34604722b09193b40a7de0e", "size": "52...
Advanced Puppet Tutorial Files for Cascadia 2015 Slides: http://goo.gl/V6BcCi Tutorial Questions: http://goo.gl/du4Hqi
{ "content_hash": "eb4c4ae841c1357a9da7f2c72314fa54", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 48, "avg_line_length": 24.2, "alnum_prop": 0.7851239669421488, "repo_name": "uphillian/cascadia2015", "id": "82fbc8bc54d90b22013b40ccb860a389c448eac5", "size": "136", "bin...
var _ = require('../util') var Dep = require('./dep') var arrayMethods = require('./array') var arrayKeys = Object.getOwnPropertyNames(arrayMethods) /** * Observer class that are attached to each observed * object. Once attached, the observer converts target * object's property keys into getter/setters that * coll...
{ "content_hash": "39dd643d70db6f1ce944ccf1d4af6d2c", "timestamp": "", "source": "github", "line_count": 206, "max_line_length": 59, "avg_line_length": 20.684466019417474, "alnum_prop": 0.6176953766721427, "repo_name": "satriashp/e-rapor", "id": "190b3e22c2af1f53968ba617a9c147028c8b6850", "size": "4...
package org.scalajs.testsuite.javalib.util import java.{util => ju} import org.scalajs.testsuite.javalib.util.concurrent.CopyOnWriteArrayListFactory import scala.reflect.ClassTag trait CollectionsSynchronizedListTest extends CollectionsOnListTest { def originalFactory: ListFactory def factory: ListFacto...
{ "content_hash": "1ed6ad6b867b410945cad01bc4abcbd6", "timestamp": "", "source": "github", "line_count": 47, "max_line_length": 90, "avg_line_length": 29.06382978723404, "alnum_prop": 0.8096632503660323, "repo_name": "gzm0/scala-js", "id": "4cf77dc8fcd9c8bdaa72b97a43d0e2a2a77c4488", "size": "1638", ...
package Pre_competition_dev; public enum NavBugState { DIRECT,BUGGING,CLOCKWISE,ANTI_CLOCKWISE,UNREACHABLE }
{ "content_hash": "15ae5f88ea65c7af663d4c0893317e1e", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 52, "avg_line_length": 23.2, "alnum_prop": 0.7844827586206896, "repo_name": "3urningChrome/Battlecode_Arena", "id": "3e0878f0da2d99cdfab95ab0b4900d9ee8e983cb", "size": "116"...
\section{Our technique} We suggest a \clos{}-based \emph{protocol} defining the set of operations on a first-class environment. This protocol contains around $40$ generic functions. The details of the proposed protocol can be found in the appendix of this paper. The protocol has been implemented as part of the \sic...
{ "content_hash": "a91e0b911d236f36466f7485902c2fc3", "timestamp": "", "source": "github", "line_count": 109, "max_line_length": 71, "avg_line_length": 48.85321100917431, "alnum_prop": 0.7885446009389672, "repo_name": "vtomole/SICL", "id": "a78b371d61e89556599652f2540a9c53ed6a321b", "size": "5325", ...
/** * @file utility/list.c * Fichier implémentant une liste en utilisant la mise en oeuvre par pointeur. * @author Hector Basset * @date 12 décembre 2014 */ //librairies du système #include <stdlib.h> #include <string.h> //librairies utilitaires #include "boolean.h" #include "list.h" typedef struct ListElement ...
{ "content_hash": "c6bde7a91e95fa2f669d78bad9cc443a", "timestamp": "", "source": "github", "line_count": 237, "max_line_length": 89, "avg_line_length": 23.189873417721518, "alnum_prop": 0.6610262008733624, "repo_name": "AyHeYo/ProjetRoguelike", "id": "f51721fb3ede6609d1ce9341dec757b6c04fe7b3", "size...
'use strict'; exports.cart = require('./cart'); exports.cartItem = require('./cart_item'); exports.user = require('./my_cart');
{ "content_hash": "36294989974ef1197197e9c97337e95c", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 42, "avg_line_length": 25.8, "alnum_prop": 0.6589147286821705, "repo_name": "apigee-127/phrixus", "id": "1dba206144648ec94df2aa99b25c00aa64a0232d", "size": "129", "binary"...
<?php namespace Lolautruche\PaylineBundle\Tests\Event; use Lolautruche\PaylineBundle\Event\PaymentNotificationEvent; use Lolautruche\PaylineBundle\Payline\PaylineResult; use PHPUnit\Framework\TestCase; use Symfony\Component\HttpFoundation\Response; class PaymentNotificationEventTest extends TestCase { public f...
{ "content_hash": "f5a0c40dae5057bac569a53f547e5dbe", "timestamp": "", "source": "github", "line_count": 134, "max_line_length": 69, "avg_line_length": 32.43283582089552, "alnum_prop": 0.5149562816382881, "repo_name": "lolautruche/LolautruchePaylineBundle", "id": "6e1f4c9de5eceb9fac1e885542c3a53e59d2e...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>tactician-stdlib: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstra...
{ "content_hash": "bad06cb7c86a5ed5763170ab9a7b2367", "timestamp": "", "source": "github", "line_count": 192, "max_line_length": 159, "avg_line_length": 41.348958333333336, "alnum_prop": 0.5709787126842172, "repo_name": "coq-bench/coq-bench.github.io", "id": "a42ef00d1a5d6130d86c0eb9aae09526bdf1c569",...
using System; using System.Reflection; namespace ceenq.com.Core.Extensions { public static class TypeExtensions { public static bool IsIEnumerable(this PropertyInfo property) { Type inter; Type type = property.PropertyType; inter = type.GetInterface("System.C...
{ "content_hash": "f818a94bc7d21f32c7944c19ee2c73f2", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 137, "avg_line_length": 36.87096774193548, "alnum_prop": 0.6097987751531059, "repo_name": "bill-cooper/catc-cms", "id": "02504cd816aacfca4603a346464ba229f3814e4c", "size": ...
set -x set -euvo pipefail apt-get update apt-get install build-essential git -y cd /opt/ NODE_ENV=production PACKAGE=meteor-spk-0.3.0 PACKAGE_FILENAME="$PACKAGE.tar.xz" CACHE_TARGET="/host-dot-sandstorm/caches/${PACKAGE_FILENAME}" # Fetch meteor-spk tarball if not cached if [ ! -f "$CACHE_TARGET" ] ; then curl ...
{ "content_hash": "690d4ead2ef8e56a6206b59970a5cc1b", "timestamp": "", "source": "github", "line_count": 51, "max_line_length": 122, "avg_line_length": 35.666666666666664, "alnum_prop": 0.7383177570093458, "repo_name": "yuyixg/Rocket.Chat", "id": "97913ab6281bae1eb8d4cb45c8fb51e3e8cb9cec", "size": "...
## Data retrieval / Finders Finder methods are intended to query data from the database. They do *not* return plain objects but instead return model instances. Because finder methods return model instances you can call any model instance member on the result as described in the documentation for [*instances*](http://d...
{ "content_hash": "62cfaa9dad05adee356851c386859f2b", "timestamp": "", "source": "github", "line_count": 659, "max_line_length": 380, "avg_line_length": 29.104704097116844, "alnum_prop": 0.6248175182481752, "repo_name": "oss92/sequelize", "id": "e92c53b86116796a57f2807bee4ea3b066ac26d8", "size": "19...
package androidpath.ll.eventbusdemo.Models; import java.util.List; /** * Created by Le on 2015/5/27. */ public class Event { /** * Loading List */ public static class ItemListEvent { private List<Item> items; public ItemListEvent(List<Item> items) { this.items = items;...
{ "content_hash": "9f8c2752c3d2b6bfc2869ff62016f87c", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 48, "avg_line_length": 17.333333333333332, "alnum_prop": 0.5576923076923077, "repo_name": "LLin233/Le-Android-Demo-Stack", "id": "eadc6ab3d3d2255cab875c860541821b2ee1c0ca", ...
// Node packages. import fs from 'fs' import path from 'path' // Project packages. import { moveAsset, walk, readYamlMetaData } from '@bldr/media-manager' import * as log from '@bldr/log' /** * Rename a media asset after the `id` in the meta data file. * * @param filePath - The media asset file path. */ function ...
{ "content_hash": "0532f05f9016e0cc9281fc2edcfb404e", "timestamp": "", "source": "github", "line_count": 63, "max_line_length": 74, "avg_line_length": 24.444444444444443, "alnum_prop": 0.6331168831168831, "repo_name": "JosefFriedrich-nodejs/baldr", "id": "aeb726976004a6d4b75f72b6ac23d2869bcdcc4c", "...
package io.moquette.server; import org.eclipse.paho.client.mqttv3.IMqttDeliveryToken; import org.eclipse.paho.client.mqttv3.MqttCallback; import org.eclipse.paho.client.mqttv3.MqttMessage; import java.util.concurrent.*; /** * Used in test to collect all messages received asynchronously by MqttClient. */ public cl...
{ "content_hash": "fa37beedbe24680cb41bb02573464287", "timestamp": "", "source": "github", "line_count": 93, "max_line_length": 92, "avg_line_length": 26.956989247311828, "alnum_prop": 0.6118867171918628, "repo_name": "windbender/moquette", "id": "d8103634e62e55c430adcf4875409fb0e2e56572", "size": "...
var cookieFactory = defaultCookieFactory; var StateSource = require('../stateSource'); class CookieStateSource extends StateSource { constructor(options) { super(options); this._isCookieStateSource = true; this._cookies = cookieFactory(this.context); } get(key) { return this._cookies.get(key); ...
{ "content_hash": "21d192ae7435d5d4cc9286cdcaf33547", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 50, "avg_line_length": 20.03125, "alnum_prop": 0.6895475819032761, "repo_name": "oliverwoodings/marty", "id": "52ed21a5c8f75f466975749706a2afa717c6c6e9", "size": "641", "...
from tempest.api.volume import base from tempest import config from tempest.lib import decorators CONF = config.CONF # NOTE(zhufl): This inherits from BaseVolumeAdminTest because # it requires force_tenant_isolation=True, which need admin # credentials to create non-admin users for the tests. class AbsoluteLimitsTes...
{ "content_hash": "1cb3debccc02d648deb929c1e85b933b", "timestamp": "", "source": "github", "line_count": 42, "max_line_length": 72, "avg_line_length": 37.23809523809524, "alnum_prop": 0.6962915601023018, "repo_name": "masayukig/tempest", "id": "00a3375458d21539ed2462b46f521e71febadb8f", "size": "220...
local Application = dofile(_G.spoonPath.."/application.lua") return Application:new("Home")
{ "content_hash": "2e48abbe1423fd7309549792ec0e83d1", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 60, "avg_line_length": 31, "alnum_prop": 0.7526881720430108, "repo_name": "eggcaker/dotfiles", "id": "bf524a89ea6d022155e6f45f6964e96b0dfd0cc7", "size": "93", "binary": fa...
/** * Created by WangGuoyan on 2017/2/23. */ $(function () { var jsCheck = isInclude("ibcpLayer.js") == false ? function () { document.write(getRootPath() + "/WebUI/Public/ibcpLayer.js"); } : true; }); //判断js/css是否存在 function isInclude(name) { var js = /js$/i.test(name); var es = document.getElementsByTa...
{ "content_hash": "655dde829967d3f6ff803ec4dbf403d5", "timestamp": "", "source": "github", "line_count": 46, "max_line_length": 79, "avg_line_length": 28.82608695652174, "alnum_prop": 0.6538461538461539, "repo_name": "15292137182/era", "id": "55e4a0dd14dc41c3b97dc8c4372fc84c71f7616c", "size": "1462"...
#ifndef PCL_SAMPLE_CONSENSUS_MODEL_PERPENDICULARPLANE_H_ #define PCL_SAMPLE_CONSENSUS_MODEL_PERPENDICULARPLANE_H_ #include <pcl/sample_consensus/sac_model_plane.h> #include <pcl/common/common.h> namespace pcl { /** \brief SampleConsensusModelPerpendicularPlane defines a model for 3D plane segmentation using addit...
{ "content_hash": "817536db5a5da2e4a2fdd812e7e91310", "timestamp": "", "source": "github", "line_count": 154, "max_line_length": 160, "avg_line_length": 44.98051948051948, "alnum_prop": 0.6601703479139599, "repo_name": "stfuchs/pcl", "id": "43e7d0e1c942cc46e77d69e89a395e36b3bccca1", "size": "8719", ...
#define EIGEN_USE_THREADS #if TENSORFLOW_USE_SYCL #define EIGEN_USE_SYCL #endif #include "tensorflow/core/kernels/dense_update_ops.h" #include "tensorflow/core/framework/op_kernel.h" #include "tensorflow/core/framework/register_types.h" #include "tensorflow/core/kernels/assign_op.h" #include "tensorflow/core/lib/cor...
{ "content_hash": "c5b66ea2c6e0a3ec111403442b2bded7", "timestamp": "", "source": "github", "line_count": 155, "max_line_length": 80, "avg_line_length": 40.29677419354839, "alnum_prop": 0.579891130323407, "repo_name": "DCSaunders/tensorflow", "id": "baa8f830919110eeff360dda54895909d243ecff", "size": ...
var Parser = require('../lib/parser').Parser; var PubSub = require('../'); module.exports = { setUp: function (callback) { callback(); }, tearDown: function (callback) { // clean up callback(); }, testParser: function (test) { test.expect(4); var n = 1; var parser = new Parser('\n', function (ch...
{ "content_hash": "18bb16a02f33b3a30b170d042f27fd43", "timestamp": "", "source": "github", "line_count": 234, "max_line_length": 60, "avg_line_length": 14.679487179487179, "alnum_prop": 0.6026200873362445, "repo_name": "x25/pub-sub-js", "id": "1cd538fa261996250aa860942d0050f84f216f28", "size": "3435...
OUT= sequential parallel SHAREDOBJS= shared.o SEQOBJS= sequential.o $(SHAREDOBJS) PAROBJS= parallel.o thread.o $(SHAREDOBJS) TESTOBJS= test.o $(SHAREDOBJS) CFLAGS+= -Wall all: CFLAGS+= -O2 all: $(OUT) verify: CFLAGS+= -DVERIFY verify: $(OUT) debug: CFLAGS+= -g -DDEBUG debug: $(OUT) vdebug: CFLAGS+= -g -DDEBUG -DV...
{ "content_hash": "f749dc7bdef26bd4dff762fe0ef71329", "timestamp": "", "source": "github", "line_count": 49, "max_line_length": 50, "avg_line_length": 17.46938775510204, "alnum_prop": 0.7009345794392523, "repo_name": "a-krebs/parallel-matrix", "id": "c913fcf96885f17f92430c0a2dacc9a0073114d6", "size"...
python ./scripts/check_python.py [ $? -ne 0 ] && exit 1 SAMPLES=" datatypes_conf.xml.sample reports_wsgi.ini.sample tool_conf.xml.sample universe_wsgi.ini.sample tool-data/alignseq.loc.sample tool-data/annotation_profiler_options.xml.sample tool-data/annotation_profiler_valid_builds.txt.sample tool-data/binned_scores....
{ "content_hash": "29b52aedb9d3505c281d98108481b3eb", "timestamp": "", "source": "github", "line_count": 57, "max_line_length": 53, "avg_line_length": 23.56140350877193, "alnum_prop": 0.7431124348473567, "repo_name": "volpino/Yeps-EURAC", "id": "07dc090b20c68b744ce1a37a66f2e230596f465b", "size": "13...
var express = require('express'); var path = require('path'); var Page = require('./../model/Page'); var Parse = require('./../core/parse'); var pages = require('./../core/pages'); var router = express.Router(); router.param('domain', function(req, res, next, domain) { if (pages.get(domain)) { next(); ...
{ "content_hash": "e766a2b6bd1b2ffd11bd06d70d7b659b", "timestamp": "", "source": "github", "line_count": 62, "max_line_length": 65, "avg_line_length": 25.419354838709676, "alnum_prop": 0.5215736040609137, "repo_name": "olivierlesnicki/singlepage.io", "id": "cc3b8825afc3065c2eef50caf35bbccee939a87a", ...
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical" tools:ignore="contentDescription"> <Rela...
{ "content_hash": "fb5faf87904f18b0685c4a8c2c5a8b4a", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 72, "avg_line_length": 32.13333333333333, "alnum_prop": 0.7219917012448133, "repo_name": "sundayliu/android-demo", "id": "3702188f0c8deaffa7a3fb30e7b04f42f02676f1", "size":...
package pl.touk.sputnik.processor.codenarc; import pl.touk.sputnik.configuration.Configuration; import pl.touk.sputnik.configuration.GeneralOption; import pl.touk.sputnik.processor.ReviewProcessorFactory; import org.junit.Test; import static org.junit.Assert.*; import static org.mockito.Matchers.eq; import static or...
{ "content_hash": "1281766a982f86d1d3fccb43a9088ba2", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 96, "avg_line_length": 34.1764705882353, "alnum_prop": 0.7633390705679862, "repo_name": "platan/sputnik", "id": "b5120e866463c1be3ad9ec94ac1974c1567f8603", "size": "1162", ...
layout: post title: "Path To Inspiration" category: posts --- Design in any web project can be a long and arduous process. Here's a collection of links to help you. Enjoy! ## Concept <h5>These sites are good to get a general idea of possible layouts and style paths to take.</h5> * [TheBestDesigns](http://www.thebe...
{ "content_hash": "9fd4302f6332db2355bef1858e7b1a0b", "timestamp": "", "source": "github", "line_count": 86, "max_line_length": 144, "avg_line_length": 64.79069767441861, "alnum_prop": 0.7304379038047379, "repo_name": "roachhd/roachhd.github.io", "id": "e12377fb4f9f53326435f44611ac4b19b2acb801", "si...
 #pragma once #include <aws/groundstation/GroundStation_EXPORTS.h> #include <aws/core/utils/memory/stl/AWSString.h> namespace Aws { namespace GroundStation { namespace Model { enum class ContactStatus { NOT_SET, AVAILABLE, AWS_CANCELLED, AWS_FAILED, CANCELLED, CANCELLING, COMPLETED, ...
{ "content_hash": "4c537d27b228eb613fa06dc2e718df10", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 85, "avg_line_length": 18.743589743589745, "alnum_prop": 0.7277701778385773, "repo_name": "aws/aws-sdk-cpp", "id": "6c8a3f2cee574bb34847803ab9641ff9e186f506", "size": "850"...
End of preview.

No dataset card yet

Downloads last month
3