text
stringlengths
2
1.04M
meta
dict
module NLP class RIDCategory < Category def self.top_level [new(:PIERWOTNE),new(:WTORNE),new(:EMOCJE)] end def primary? root == :PIERWOTNE end def secondary? root == :WTORNE end def emotions? root == :EMOCJE end end end
{ "content_hash": "d5152d42f8990f37f23e9af7580437b9", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 49, "avg_line_length": 13.571428571428571, "alnum_prop": 0.5684210526315789, "repo_name": "knife/nlp", "id": "30bf5501087c0f818e316dca1a0274a66b9007b3", "size": "285", "b...
FactoryGirl.define do factory :user do name "User name" uid "1234567890" provider "social_network" oauth_token "token" oauth_expires_at Date.tomorrow end end
{ "content_hash": "a79718fbd8fe5b5b70e613c91c499643", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 34, "avg_line_length": 20.22222222222222, "alnum_prop": 0.6868131868131868, "repo_name": "andresilveira/gimme_a_break", "id": "494b5d25743910e8b28f066251391f604e52f0d9", "si...
/* all fields */ .x-form-field { margin: 0 0 0 0; } .ext-webkit *:focus { outline: none !important; } /* ---- text fields ---- */ .x-form-text, textarea.x-form-field { padding: 1px 3px; background: repeat-x 0 0; border: 1px solid; } textarea.x-form-field { padding: 2px 3px; } .x-form-text, .ext-ie .x-f...
{ "content_hash": "a4f53ff9fb3a4e40c9ed5f2db70297b6", "timestamp": "", "source": "github", "line_count": 482, "max_line_length": 126, "avg_line_length": 21.690871369294605, "alnum_prop": 0.6540411286465806, "repo_name": "csgf/glibrary-repo-browser-portlet", "id": "aff82352b6ae689c84cef10bbba00f64d0c33...
 #include <aws/billingconductor/model/DeletePricingRuleRequest.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::BillingConductor::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; DeletePricingRuleRequest::DeletePricingRuleRequest() : m_arnHasBeenSe...
{ "content_hash": "bf70559605efc8b0cdfbc4576651ca74", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 64, "avg_line_length": 16.78125, "alnum_prop": 0.7467411545623837, "repo_name": "cedral/aws-sdk-cpp", "id": "745781948fb32ee1bdc18b45583312dd93da18f9", "size": "656", "bi...
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { ChartsModule } from 'ng2-charts'; import { TechniquesChartComponent } from './techniques-chart.component'; import { SummaryCalculationService } from '../../summary-calculation.service'; import { BehaviorSubject } from 'rxjs/BehaviorSubj...
{ "content_hash": "3c54895aa67ba90bacb8fa109f4ed256", "timestamp": "", "source": "github", "line_count": 44, "max_line_length": 157, "avg_line_length": 32.34090909090909, "alnum_prop": 0.6725228390723823, "repo_name": "unfetter-discover/unfetter-ui", "id": "b2ab399ed5eff53dbb2ea4b66245c9fbb9e22252", ...
 (function (definition, window) { if (window.breeze) { definition(window.breeze); } else if (typeof require === "function" && typeof exports === "object" && typeof module === "object") { // CommonJS or Node var b = require('breeze'); definition(b); } else if (typeof define =...
{ "content_hash": "8e8e2588b83d7dbe5267b83caaafa5cc", "timestamp": "", "source": "github", "line_count": 416, "max_line_length": 122, "avg_line_length": 39.64182692307692, "alnum_prop": 0.6106361045418713, "repo_name": "JeremyNevill/firework-ng", "id": "dd3339d7fc8507cb0dab5036ade6d042f04e23fe", "si...
/** * A mixin for groups of Focusable things (Components, Widgets, etc) that * should respond to arrow keys to navigate among the peers, but keep only * one of the peers tabbable by default (tabIndex=0) * * Some examples: Toolbars, Radio groups, Tab bars, Panel headers, Menus */ Ext.define('Ext.util.FocusableCont...
{ "content_hash": "ab8a14cdc449a8c89264d29026b0dd1f", "timestamp": "", "source": "github", "line_count": 680, "max_line_length": 95, "avg_line_length": 36.669117647058826, "alnum_prop": 0.5194706236214157, "repo_name": "san4osq/bindformext", "id": "705a9dc892256de3b9561b976a84b3a003601a03", "size": ...
package com.udmurtlyk.extrainputmethod.dictionarypack; import android.app.DownloadManager; import android.app.DownloadManager.Query; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.os.Handler; import a...
{ "content_hash": "64c82cd1446e6c8cde1cb107af28d614", "timestamp": "", "source": "github", "line_count": 159, "max_line_length": 100, "avg_line_length": 43.0377358490566, "alnum_prop": 0.6048516732427298, "repo_name": "vorgoron/Multilang-Keyboard", "id": "14453c3ca01dc58a6b9414ab2ad97cc5447606b7", "...
package org.apache.geode.modules.util; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.spy; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; import java.util.HashSet; import org.junit.Before; import org.junit.Test; ...
{ "content_hash": "144f5a04bb9b05a1cf418ad462a16f6b", "timestamp": "", "source": "github", "line_count": 63, "max_line_length": 85, "avg_line_length": 33.15873015873016, "alnum_prop": 0.7740545715653423, "repo_name": "davinash/geode", "id": "f7e80c84e7211fc5fb945d8307f115bd37f5b014", "size": "2878",...
from __future__ import unicode_literals from django.contrib.auth.models import User from django.db import models class Book(models.Model): title = models.CharField(max_length=50) year = models.PositiveIntegerField(null=True, blank=True) author = models.ForeignKey(User, verbose_name="Verbose Author", rela...
{ "content_hash": "ff52bbf941f49eef32921c4b6394e2bf", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 141, "avg_line_length": 38.1875, "alnum_prop": 0.7242225859247136, "repo_name": "paulproteus/django", "id": "371c67061f2435e7dd0b4b2d4ad3773f2ca386e9", "size": "1222", "b...
/**************************************************************************** * os/arch/arm/src/imxrt/imxrt_start.c * * Copyright (C) 2018 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> * * Redistribution and use in source and binary forms, with or without * modification, are pe...
{ "content_hash": "dc3b8fdbb24b28e866357f67c062ccde", "timestamp": "", "source": "github", "line_count": 470, "max_line_length": 82, "avg_line_length": 31.65531914893617, "alnum_prop": 0.5977281892727517, "repo_name": "davidfather/TizenRT", "id": "9f810b0e6467a387aff7411a32657d7e5cb824d2", "size": "...
package com.oculusinfo.ml.distance; import static org.junit.Assert.assertTrue; import java.util.Collections; import org.junit.Test; import com.oculusinfo.ml.feature.spatial.GeoSpatialFeature; import com.oculusinfo.ml.feature.spatial.distance.SphericalCosineDistance; public class TestSphericalCosineDistance { do...
{ "content_hash": "3c5865af39420901ccac03c3c65dc458", "timestamp": "", "source": "github", "line_count": 360, "max_line_length": 94, "avg_line_length": 32.03055555555556, "alnum_prop": 0.7160697250888908, "repo_name": "unchartedsoftware/ensemble-clustering", "id": "84f0a4e7dcc91cb538692aa8a7d69d59cb8e...
external help file: AutomatedLab-help.xml Module Name: AutomatedLab online version: https://automatedlab.org/en/latest/AutomatedLab/en-us/Remove-LabAzureResourceGroup schema: 2.0.0 --- # Remove-LabAzureResourceGroup ## SYNOPSIS Remove a resource group ## SYNTAX ``` Remove-LabAzureResourceGroup [-ResourceGroupName] ...
{ "content_hash": "42edc458e1e53720fec48eea8e7c9e7a", "timestamp": "", "source": "github", "line_count": 72, "max_line_length": 315, "avg_line_length": 21.166666666666668, "alnum_prop": 0.7677165354330708, "repo_name": "AutomatedLab/AutomatedLab", "id": "fd968ccc474442aeadba941c5fdd8351c9a91e79", "s...
"use strict"; var Github = require("github"); var _ = require("lodash"); var Promise = require("bluebird"); var debug = require("debug")("github-todos:github"); var ask = require("../ask"); var config = require("../config"); /** * Format of an issue: * * type: String - "issue" * * number: Number * * url: St...
{ "content_hash": "c7d3e35a8e6c952b62224d97d5439423", "timestamp": "", "source": "github", "line_count": 290, "max_line_length": 170, "avg_line_length": 26.986206896551725, "alnum_prop": 0.6161512905698953, "repo_name": "naholyr/github-todos", "id": "682ee5359a862aff478b94ed7d01e37a006fadf8", "size"...
local CanvasTool = require("canvas.tools.CanvasTool") local CanvasPickPlane = require("canvas.tools.CanvasPickPlane") --------------------------------------------------------------------------------- -- -- @type SelectionTool -- --------------------------------------------------------------------------------- local S...
{ "content_hash": "3062af7425342054522c96b637a1fcac", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 81, "avg_line_length": 30.6, "alnum_prop": 0.5742296918767507, "repo_name": "RazielSun/juma-editor", "id": "8b988edca1fcf9da0b66965677a5d1a4fdd459de", "size": "1072", "bi...
<?php require_once("../includes/classService.php"); require_once("../includes/clientService.php"); if (!isset($_POST['submit'])) { ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>Book a client into class workflow</title> <link ...
{ "content_hash": "f27ae273e62a726d96497390e5de62cd", "timestamp": "", "source": "github", "line_count": 98, "max_line_length": 137, "avg_line_length": 32, "alnum_prop": 0.6600765306122449, "repo_name": "janeeats/mind-body-test", "id": "7fccf0a33a1bd7e51e77d062f030538663f39b4d", "size": "3136", "b...
<?php declare(strict_types=1); namespace Doctrine\Tests\Common\Collections\Expr; use Doctrine\Common\Collections\Expr\ExpressionVisitor; use Doctrine\Common\Collections\Expr\Value; use PHPUnit\Framework\TestCase; /** @covers \Doctrine\Common\Collections\Expr\Value */ class ValueTest extends TestCase { public f...
{ "content_hash": "60e71e6f298e50ff99101d6bd22fecf7", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 76, "avg_line_length": 25.4, "alnum_prop": 0.6321709786276716, "repo_name": "doctrine/collections", "id": "5a93294e4c21a0618a24e077575477a9725dd39e", "size": "889", "bina...
from django.contrib import admin from import_export.admin import ExportMixin from models import (Poll, PollComment, RadioPoll, RadioPollChoice, RangePoll, RangePollChoice, Vote) class RangePollChoiceInline(admin.StackedInline): """Poll Range Votes Inline.""" model = RangePollChoice e...
{ "content_hash": "33b382744f5ca2d1611017a9e1f0cc57", "timestamp": "", "source": "github", "line_count": 67, "max_line_length": 73, "avg_line_length": 27, "alnum_prop": 0.6976229961304589, "repo_name": "johngian/remo", "id": "5934a4dbf44ee1c339cb45c5607285147e6584ef", "size": "1809", "binary": fal...
cask 'firealpaca' do version :latest sha256 :no_check url 'http://firealpaca.com/download.php?os=mac&key=17813449013210197561d4f66c5aca8c' name 'Fire Alpaca' homepage 'http://firealpaca.com/' license :unknown # todo: change license and remove this comment; ':unknown' is a machine-generated placeholder ...
{ "content_hash": "85a0f543bb26bf068bab5b69221d87ee", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 115, "avg_line_length": 31.545454545454547, "alnum_prop": 0.7463976945244957, "repo_name": "gurghet/homebrew-cask", "id": "a6ed015e43b5f184943a06e8edac6e9af108dad8", "size"...
import React from 'react'; import { Router, Scene, ActionConst} from 'react-native-router-flux'; /** * Containers */ import Home from './containers/Home'; const routes = () => { return <Router> <Scene key='root' hideNavBar={true} > <Scene key='home' component={Home} title='Home' direction=...
{ "content_hash": "df9401c201f4882a2349105caa676fc4", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 82, "avg_line_length": 23.235294117647058, "alnum_prop": 0.610126582278481, "repo_name": "AWorkingApp/ReactNativeStarter", "id": "b331344738d122c69f51b01af0f6673e304bfee0", ...
package org.apache.flex.forks.batik.ext.awt.image.codec.jpeg; import java.awt.geom.Rectangle2D; import java.awt.image.BufferedImage; import java.awt.image.ColorModel; import java.awt.image.WritableRaster; import java.io.IOException; import java.io.InputStream; import org.apache.flex.forks.batik.ext.awt.image.Graphic...
{ "content_hash": "265efb16b5664896d37e6798395e796b", "timestamp": "", "source": "github", "line_count": 120, "max_line_length": 78, "avg_line_length": 42.78333333333333, "alnum_prop": 0.5385664199454616, "repo_name": "adufilie/flex-sdk", "id": "557a72f288652c1a99efddef1703218ef9cf7d94", "size": "59...
namespace autofill { class AutofillCountry; class PersonalDataManager; // A model for countries to be used to enter addresses. class CountryComboboxModel : public ui::ComboboxModel { public: using CountryVector = std::vector<std::unique_ptr<AutofillCountry>>; CountryComboboxModel(); ~CountryComboboxModel() ov...
{ "content_hash": "32645b6d05668dc805fcf8238bc8a775", "timestamp": "", "source": "github", "line_count": 44, "max_line_length": 79, "avg_line_length": 33.27272727272727, "alnum_prop": 0.7424863387978142, "repo_name": "endlessm/chromium-browser", "id": "fb00d1627956329a0f82c236609b4e330bc6fdf3", "siz...
package org.keycloak.authentication.authenticators.browser; import org.jboss.logging.Logger; import org.keycloak.authentication.AbstractFormAuthenticator; import org.keycloak.authentication.AuthenticationFlowError; import org.keycloak.authentication.AuthenticationFlowContext; import org.keycloak.events.Details; import...
{ "content_hash": "7fa0b8ff1890e7addf72e166ea5a05fa", "timestamp": "", "source": "github", "line_count": 164, "max_line_length": 171, "avg_line_length": 42.63414634146341, "alnum_prop": 0.6916475972540046, "repo_name": "gregjones60/keycloak", "id": "68b036fa182263e1998776809e6349b3b69c94b7", "size":...
using Aurora.EffectsEngine; using Aurora.Profiles; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Controls; namespace Aurora.Settings.Layers { public class PercentGradientLayerH...
{ "content_hash": "44f4c7e60ffae72a8b57020b682830d4", "timestamp": "", "source": "github", "line_count": 95, "max_line_length": 205, "avg_line_length": 37.294736842105266, "alnum_prop": 0.6164267569856055, "repo_name": "VoronFX/Aurora", "id": "faa437804ec8e9b6e5b0500c88d2b26959dad847", "size": "3545...
/** * Module dependencies. */ var express = require('express'), http = require('http'), https = require('https'), fs = require('fs'); var app = express(); // Modify as needed app.set('port', 3000); app.set('postssl', 3443); // Modify these to where your certs are var options = { key: fs.readFile...
{ "content_hash": "08e32d080f48c6a4cd0e1568443d55fd", "timestamp": "", "source": "github", "line_count": 70, "max_line_length": 89, "avg_line_length": 27.114285714285714, "alnum_prop": 0.6828240252897787, "repo_name": "lholmquist/generator-safari-push", "id": "036045edb17a04e2ab85af8b58d2776732b54676"...
<?xml version="1.0" encoding="utf-8"?> <config> <name>Comments</name> <params> <param name="enable_comments" type="radio" default="0" label="Enable comments" description="ENABLE_COMMENTING_SYSTEM"> <option value="1">JYES</option> <option value="0">JNO</option> </param> <param name="require_name_and_mail" ...
{ "content_hash": "8c80ef42a54a032bcdbcaf88aa4bca26", "timestamp": "", "source": "github", "line_count": 86, "max_line_length": 155, "avg_line_length": 57.68604651162791, "alnum_prop": 0.695021165087684, "repo_name": "notarget84/Grupo-Estudos-do-Pulmao", "id": "ca389f1cbc15b026f257f97fabe0657d58f7f384...
title: Weekday Abbreviations version: 1.0.0 signature: | // From 2.8.1 onward moment.locale('en', { weekdaysShort : String[] }); moment.locale('en', { weekdaysShort : Function }); // Deprecated in 2.8.1 moment.lang('en', { weekdaysShort : String[] }); moment.lang('en', { weekd...
{ "content_hash": "a1d53adb36637a523b7f0e155fb185db", "timestamp": "", "source": "github", "line_count": 38, "max_line_length": 72, "avg_line_length": 19.973684210526315, "alnum_prop": 0.619235836627141, "repo_name": "mibcadet/momentjs.com", "id": "38fa1318990aea9a44171f3fdf0a7898a80bd166", "size": ...
<!DOCTYPE html> <html> <!--[if lt IE 7]> <html lang="en" ng-app="rentfinds" class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> <!--[if IE 7]> <html lang="en" ng-app="rentfinds" class="no-js lt-ie9 lt-ie8"> <![endif]--> <!--[if IE 8]> <html lang="en" ng-app="rentfinds" class="no-js lt-ie9"...
{ "content_hash": "7910ac1f837258e17c246a96bbfa4f7d", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 110, "avg_line_length": 47.17948717948718, "alnum_prop": 0.5635869565217392, "repo_name": "marb61a/appartment_finder", "id": "2164d4b598a22b7131013fe653ae4f1aeacf6e03", "si...
using System; using System.Text; using System.Collections; using System.Collections.Generic; namespace Com.Aspose.Email.Model { public class MailServerFolder { public string Name { get; set; } public string Id { get; set; } public override string ToString() { var sb = new StringBuilder(); ...
{ "content_hash": "1059317b92860b82a685067fa7ff06c1", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 54, "avg_line_length": 25.38095238095238, "alnum_prop": 0.6228893058161351, "repo_name": "asposeemail/Aspose_Email_Cloud", "id": "1200b45a87423cd55d677ee2a2f528cf06ea851e", ...
package com.google.cloud.tasks.v2beta2.samples; // [START cloudtasks_v2beta2_generated_CloudTasks_ResumeQueue_async] import com.google.api.core.ApiFuture; import com.google.cloud.tasks.v2beta2.CloudTasksClient; import com.google.cloud.tasks.v2beta2.Queue; import com.google.cloud.tasks.v2beta2.QueueName; import com.g...
{ "content_hash": "3681bc79535e844a404ae2dae9aed731", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 100, "avg_line_length": 41.51428571428571, "alnum_prop": 0.7370956641431521, "repo_name": "googleapis/google-cloud-java", "id": "fca5488278b99962a98e1f0e26835352bfdf38e3", ...
using UnityEngine; namespace HutongGames.PlayMaker.Actions { [ActionCategory(ActionCategory.Convert)] [Tooltip("Converts a Bool value to a String value.")] public class ConvertBoolToString : FsmStateAction { [RequiredField] [UIHint(UIHint.Variable)] [Tooltip("The Bool variable to test.")] public FsmBool bo...
{ "content_hash": "0ed6d68534e766eeda4964081a65c61f", "timestamp": "", "source": "github", "line_count": 57, "max_line_length": 84, "avg_line_length": 22, "alnum_prop": 0.70414673046252, "repo_name": "omarrugu/EQ_elementos_de_quimica", "id": "dff950439603c0b596aeca603bb536f14bfbf5bc", "size": "1321"...
#include "soa/reference_type.hpp" #include "soa/table.hpp" #include "soa/dtable.hpp" #include "aosoa/table_array.hpp" #include "aosoa/table_vector.hpp" #include "aosoa/for_each_range.hpp" #include "aosoa/indexed_for_each.hpp" #include "aosoa/parallel_for_each_range.hpp" #include "aosoa/parallel_indexed_for_each.hpp...
{ "content_hash": "171de3a8ffb79d37ec540a7c5fddc6bb", "timestamp": "", "source": "github", "line_count": 226, "max_line_length": 140, "avg_line_length": 23.376106194690266, "alnum_prop": 0.6405451448040886, "repo_name": "ExaScience/arrow-street", "id": "f2553ce8bfb0988c4303110bbf664ef3d7665c67", "si...
namespace base { class SingleThreadTaskRunner; } namespace ui { /////////////////////////////////////////////////////////////////////////////// // A base class for all shell dialog implementations that handles showing a // shell dialog modally on its own thread. class SHELL_DIALOGS_EXPORT BaseShellDialogImpl { publi...
{ "content_hash": "8840de5605ecf906c2bb209b4447524d", "timestamp": "", "source": "github", "line_count": 80, "max_line_length": 80, "avg_line_length": 37.8625, "alnum_prop": 0.717068339385936, "repo_name": "endlessm/chromium-browser", "id": "4ee6b099d54166f15f274835edd28f54630de370", "size": "3519",...
package com.netsteadfast.greenstep.po.hbm; import java.util.Date; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; import javax.persistence.UniqueConstraint; import com.netsteadfast.greenstep.base.model.BaseEntity; import com.netsteadfast....
{ "content_hash": "d44a5a87f64a7a4e7d778cd5bf176fce", "timestamp": "", "source": "github", "line_count": 130, "max_line_length": 84, "avg_line_length": 19.56923076923077, "alnum_prop": 0.7169811320754716, "repo_name": "billchen198318/bamboobsc", "id": "3b1a114adb1a6548e46f14a1969b97095b67ecf6", "siz...
 #include <aws/lightsail/model/GetRelationalDatabasesRequest.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Lightsail::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; GetRelationalDatabasesRequest::GetRelationalDatabasesRequest() : m_pageTokenHa...
{ "content_hash": "e130b6ad929ccf0e145889bebe86149e", "timestamp": "", "source": "github", "line_count": 40, "max_line_length": 106, "avg_line_length": 21, "alnum_prop": 0.7738095238095238, "repo_name": "JoyIfBam5/aws-sdk-cpp", "id": "3516cad329536c970a9418394368fc2fd3050ed4", "size": "1413", "bin...
<!DOCTYPE html> <html> <head> <title>Simple Tasks</title> <link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" /> <link rel="stylesheet" type="text/css" href="resources/css/tasks.css"> <script type="text/javascript" src="../../ext-all.js"></script> <script src="app.js"></sc...
{ "content_hash": "061ab56875439e3927b727083d9aadb2", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 84, "avg_line_length": 25.571428571428573, "alnum_prop": 0.6201117318435754, "repo_name": "InnPad/Formall.NET", "id": "6d7482e6607e20c0ae44c7160b5fb5bb33cd7abf", "size": "3...
<?php namespace Magento\Sales\Model\Order\Invoice; use Magento\Framework\Api\AttributeValueFactory; use Magento\Sales\Api\Data\InvoiceItemInterface; use Magento\Sales\Model\AbstractModel; /** * @method \Magento\Sales\Model\ResourceModel\Order\Invoice\Item _getResource() * @method \Magento\Sales\Model\ResourceModel...
{ "content_hash": "1883cac95eac7eba4b254c88eca06a37", "timestamp": "", "source": "github", "line_count": 693, "max_line_length": 118, "avg_line_length": 26.32034632034632, "alnum_prop": 0.6144736842105263, "repo_name": "enettolima/magento-training", "id": "2e8b66e891e82c9e240b876957aedc9abf363f60", ...
package net.sf.farrago.type.runtime; /** * NullableValue is an interface representing a runtime holder for a nullable * object. * * @author John V. Sichi * @version $Id$ */ public interface NullableValue extends DataValue { //~ Static fields/initializers --------------------------------------------- ...
{ "content_hash": "a2d80919f9174b59cd542089ec01f807", "timestamp": "", "source": "github", "line_count": 44, "max_line_length": 80, "avg_line_length": 25.931818181818183, "alnum_prop": 0.5810692375109553, "repo_name": "julianhyde/luciddb", "id": "5e2b1a7c857c4b36c4a534da288a631aaafaec7a", "size": "1...
Savvy::render() array test --FILE-- <?php require dirname(__FILE__) . '/../test_framework.php.inc'; chdir(__DIR__); $savvy = new Savvy(); $array = array(1,2,3); $test->assertEquals('123', $savvy->render($array), 'render array'); $array = array(1,2,3); $test->assertEquals('123', $savvy->render($array, 'echostring.tpl....
{ "content_hash": "3f284e6ec2d710398f4b67378f373de4", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 113, "avg_line_length": 23.764705882352942, "alnum_prop": 0.6287128712871287, "repo_name": "unl/UNL_UCBCN_System", "id": "a049a9330242f049725daa353904709cb43c99c2", "size":...
"""Tests for the T9 model.""" from pynini.examples import t9 from absl.testing import absltest class T9Test(absltest.TestCase): t9: t9.T9 @classmethod def setUpClass(cls): super().setUpClass() lexicon = [ "the", "cool", "warthog", "escaped", "easily", "from", "baltimore", "zoo", "col...
{ "content_hash": "9cd3ec31a5360b3a9fe102026140589e", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 75, "avg_line_length": 21.03448275862069, "alnum_prop": 0.6360655737704918, "repo_name": "kylebgorman/pynini", "id": "3257ac269ef456c1d9c04717b4c56f5463c056ad", "size": "12...
if [ -e /usr/local/bin/ ]; then INSTALLTO='/usr/local/bin' else INSTALLTO='/usr/bin' fi install -m 755 encdir.sh $INSTALLTO/ install -m 755 decdir.sh $INSTALLTO/ install -m 755 encfile.sh $INSTALLTO/ install -m 755 decfile.sh $INSTALLTO/
{ "content_hash": "8bfbb107163f97057ec9878e0cd30ff9", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 37, "avg_line_length": 24.1, "alnum_prop": 0.7178423236514523, "repo_name": "cmd184psu/fs-tools", "id": "7e948d77bec236fbbc40f5ff03b6027cef65f338", "size": "252", "binary...
// // Copyright Microsoft Corporation. All rights reserved. // ericroz - Sept 2015 // using System; using System.Runtime.Serialization; namespace ProviderFactory.Speech.RxToProjectOxford.Exceptions { /// <summary> /// Exception thrown when initial silence in the audio exceeded the maximum limit. ...
{ "content_hash": "e6658e39edce618a61e005422b7400d4", "timestamp": "", "source": "github", "line_count": 51, "max_line_length": 101, "avg_line_length": 35.86274509803921, "alnum_prop": 0.6183706943685073, "repo_name": "jpoon/SpotifySearch", "id": "73835718ac913c6a464485cfb704229926d76d5d", "size": "...
package org.apache.hadoop.hive.conf; import java.util.ArrayList; import java.util.HashSet; import java.util.LinkedHashSet; import java.util.List; import java.util.Set; import java.util.concurrent.TimeUnit; import java.util.regex.Pattern; /** * validate value for a ConfVar, return non-null string for fail message ...
{ "content_hash": "b84d22d68955723bd97cc7cfcac10815", "timestamp": "", "source": "github", "line_count": 268, "max_line_length": 103, "avg_line_length": 27.809701492537314, "alnum_prop": 0.5847309808130954, "repo_name": "cschenyuan/hive-hack", "id": "04a305dbf15376c116ae660cdb8a42bc948ae6e3", "size"...
BOOST_AUTO_TEST_CASE(check_pbool) { vv::vm::machine vm{vv::vm::call_frame{}}; vm.pbool(false); const auto false_v = vm.top(); BOOST_CHECK_EQUAL(false_v.tag(), vv::tag::boolean); BOOST_CHECK(false_v.type() == vv::builtin::type::boolean); BOOST_CHECK_EQUAL(vv::value::get<vv::value::boolean>(false_v), false);...
{ "content_hash": "0d4e3eebda3144c4ca71754ef1135e03", "timestamp": "", "source": "github", "line_count": 212, "max_line_length": 100, "avg_line_length": 30.117924528301888, "alnum_prop": 0.6256851996867658, "repo_name": "jeorgun/Vivaldi", "id": "bb2ad328fc68585407c85be937850a28727c0ad3", "size": "67...
/* * ptf_id.hpp * * Created on: 2012-9-11 * Author: YH */ #ifndef PTF_ID_HPP_ #define PTF_ID_HPP_ namespace matrix { namespace platform { enum class PlatformID { Unix, Linux, Windows, MacOSX, Xbox, }; #if defined (__WINNT__) constexpr PlatformID kPlatformID = PlatformID::Windows; #elif defined(__li...
{ "content_hash": "a0bc9bf26650179b48f3dd2af48570a8", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 55, "avg_line_length": 15.17142857142857, "alnum_prop": 0.6741996233521658, "repo_name": "sy-yanghuan/Matrix", "id": "3ef6132f538fc7f89814018d67b58d00b40062bc", "size": "53...
package org.redisson.client.handler; import java.util.List; import java.util.Queue; import org.redisson.client.protocol.CommandData; import org.redisson.client.protocol.QueueCommand; import org.redisson.client.protocol.QueueCommandHolder; import io.netty.channel.ChannelDuplexHandler; import io.netty.channel.Channel...
{ "content_hash": "e87626f032e41f08f9c2148d3973641c", "timestamp": "", "source": "github", "line_count": 74, "max_line_length": 103, "avg_line_length": 33.33783783783784, "alnum_prop": 0.6299148763680583, "repo_name": "fengshao0907/redisson", "id": "056e31b35e0546d0aaf200555a453eda34471e56", "size":...
 #pragma once #include <aws/frauddetector/FraudDetector_EXPORTS.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <utility> namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace FraudDetector { namespace Model { /** ...
{ "content_hash": "3947fcccddd73b27e71ee2d267901e4b", "timestamp": "", "source": "github", "line_count": 138, "max_line_length": 139, "avg_line_length": 32.69565217391305, "alnum_prop": 0.6784131205673759, "repo_name": "awslabs/aws-sdk-cpp", "id": "317d8ed7df5942cb4db8c2c3a8826691f126b61d", "size": ...
<?php App::uses('Musicplayer', 'Musicplayer.Model'); /** * Musicplayer Test Case * */ class MusicplayerTest extends CakeTestCase { /** * Fixtures * * @var array */ public $fixtures = array( 'plugin.musicplayer.musicplayer', 'plugin.musicplayer.playlist' ); /** * setUp method * * @return void */ pub...
{ "content_hash": "7bfecfe3390552bf6a19a24b04ef96d0", "timestamp": "", "source": "github", "line_count": 41, "max_line_length": 70, "avg_line_length": 13.926829268292684, "alnum_prop": 0.6444833625218914, "repo_name": "zhkuskov/croogo_cms_2.0", "id": "45ff4ce8c026bac813a3102f9a76867d95e6c3d5", "size...
// Author: mmohabey@google.com (Megha Mohabey) // Unit-tests for FlushEarlyFlow. #include "pagespeed/automatic/flush_early_flow.h" #include "net/instaweb/http/public/http_cache.h" #include "net/instaweb/http/public/log_record.h" #include "net/instaweb/http/public/logging_proto_impl.h" #include "net/instaweb/http/p...
{ "content_hash": "5a83c6aea9346de2094c94b92a4ab900", "timestamp": "", "source": "github", "line_count": 1870, "max_line_length": 80, "avg_line_length": 41.97860962566845, "alnum_prop": 0.671859872611465, "repo_name": "wanrui/mod_pagespeed", "id": "7fe5d0db487a840a328a2cf7cd371a90fc7c87cf", "size": ...
package com.google.gson.functional; import com.google.gson.FieldAttributes; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.google.gson.JsonSyntaxException; import com.google.gson.reflect.TypeToken; import java.lang.reflect.Type; import java.util.HashMap; import java.util.LinkedHashMap; i...
{ "content_hash": "e914c8af7c484548fa029b4b8bda7918", "timestamp": "", "source": "github", "line_count": 128, "max_line_length": 86, "avg_line_length": 35.9765625, "alnum_prop": 0.6340933767643865, "repo_name": "bpiwowar/gson", "id": "249b51d328e2c5f062dd42d3b0b48cde37571895", "size": "5204", "bin...
package com.stockmanager.entities; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; @Entity public class Categoria { @Id @GeneratedValue(strategy=GenerationType.AUTO) private Long id; private String descricao; publi...
{ "content_hash": "aa2ade363ac48c2c4a2be6149d75fd10", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 50, "avg_line_length": 19.214285714285715, "alnum_prop": 0.7565055762081785, "repo_name": "FelipeOliver/StockManager", "id": "a2ea1924ad55c8ee4cb40228d9cecbc833080ce9", "si...
<?php namespace app\controllers\api; /** * This is the class for REST controller "CustomerController". */ use yii\filters\AccessControl; use yii\helpers\ArrayHelper; class CustomerController extends \yii\rest\ActiveController { public $modelClass = 'app\models\Customer'; }
{ "content_hash": "adb1e8e71d7e0861a05951eefd9e2b5c", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 61, "avg_line_length": 18.533333333333335, "alnum_prop": 0.7697841726618705, "repo_name": "fredyns/shippingweight", "id": "06aed64a830b6a92579f9b28b1700518a2545959", "size"...
%w( lexeme ).each do |file| require File.join(File.dirname(__FILE__), file) end require 'fileutils' module TracePreprocessor class DSL def initialize @lexemes = {} @code = "" workspace "~/.trace_preprocessor" end def init &block instance_eval &block end ...
{ "content_hash": "e889baf02196d2fc441fad4d31a2bb2f", "timestamp": "", "source": "github", "line_count": 60, "max_line_length": 89, "avg_line_length": 21.8, "alnum_prop": 0.6047400611620795, "repo_name": "mastedm/trace_preprocessor", "id": "176ba0a7170307cae35be0421d436c664bb0c324", "size": "1308", ...
package ca.uhn.fhir.tinder.util; import java.io.File; import java.io.FileOutputStream; import java.io.FileReader; import java.io.OutputStreamWriter; import ca.uhn.fhir.context.FhirContext; import ca.uhn.fhir.model.dstu2.composite.NarrativeDt; import ca.uhn.fhir.model.dstu2.resource.BaseResource; import ca.uhn.fhir.mo...
{ "content_hash": "9e4a29ce83bdc6ad5e633e200df2807e", "timestamp": "", "source": "github", "line_count": 37, "max_line_length": 97, "avg_line_length": 33.21621621621622, "alnum_prop": 0.7518307567127747, "repo_name": "cementsuf/hapi-fhir", "id": "950ce7c1b822888e03c0e14389f74ca99aed780d", "size": "1...
<?php /** * Filtra una cadena para que solo contenga numero enteros * * @category Kumbia * @package Filter * @subpackage BaseFilter */ class IntFilter implements FilterInterface { /** * Ejecuta el filtro * * @param string $s * @param array $options * @return int */ pu...
{ "content_hash": "293707fb20399d265a44eff534c0273a", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 58, "avg_line_length": 15.461538461538462, "alnum_prop": 0.582089552238806, "repo_name": "LionelBino/blion-web", "id": "f3e54b4ab0219a71d98ac9296498b13c4b36b809", "size": "...
package models.Entity; import controllers.Amphibious; import controllers.Arial; import controllers.Locomotion; import controllers.Terrestrial; import models.Equipment.Equipment; import models.Occupation.*; import models.StatContainer.*; import models.Inventory.*; import utilities.Direction.Direction; import utilitie...
{ "content_hash": "93f4ee9c17fe5e0280ff8734c62218f4", "timestamp": "", "source": "github", "line_count": 112, "max_line_length": 102, "avg_line_length": 35.767857142857146, "alnum_prop": 0.7019470793809286, "repo_name": "Iteration3/Project", "id": "f2a788865e7726fa90176bfce080c6ce8e2e8df9", "size": ...
require 'yaml' require 'rack/mock' require 'stringio' app = lambda { |env| req = Rack::Request.new(env) env["mock.postdata"] = env["rack.input"].read if req.GET["error"] env["rack.errors"].puts req.GET["error"] env["rack.errors"].flush end Rack::Response.new(env.to_yaml, req.GE...
{ "content_hash": "6caca5721d8e16e8486016d33c88f784", "timestamp": "", "source": "github", "line_count": 264, "max_line_length": 108, "avg_line_length": 34.24242424242424, "alnum_prop": 0.6462389380530974, "repo_name": "Waldixx/AppRails", "id": "cd144c6af63769395472d7cc40f03b64ba4fe725", "size": "90...
class non_copyable { int val; public: BOOST_THREAD_MOVABLE_ONLY(non_copyable) non_copyable(int v) : val(v){} non_copyable(BOOST_RV_REF(non_copyable) x): val(x.val) {} non_copyable& operator=(BOOST_RV_REF(non_copyable) x) { val=x.val; return *this; } bool operator==(non_copyable const& x) const {return val==...
{ "content_hash": "cfb8609be7ef7c690c2145f4fe81d319", "timestamp": "", "source": "github", "line_count": 434, "max_line_length": 89, "avg_line_length": 29.642857142857142, "alnum_prop": 0.5731830547998445, "repo_name": "hkernbach/arangodb", "id": "ba9c75b95bc279991cd7740b3d511953770d37a0", "size": "...
<span class="environment-features"> </span>
{ "content_hash": "4c1d835e76b40b323956dff7f1d23325", "timestamp": "", "source": "github", "line_count": 2, "max_line_length": 35, "avg_line_length": 22, "alnum_prop": 0.7272727272727273, "repo_name": "wildbits/lead", "id": "378dae6c3ec06c30a1d4d2b28eb5a79fcc7f4194", "size": "44", "binary": false,...
package github.orius123.orchapp.web.rest; import github.orius123.orchapp.Application; import github.orius123.orchapp.repository.UserRepository; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.boot.test.SpringApplicationConfiguration; import org.springframewor...
{ "content_hash": "5163e34ca546b89016b4b36cc44e70f7", "timestamp": "", "source": "github", "line_count": 59, "max_line_length": 86, "avg_line_length": 36.220338983050844, "alnum_prop": 0.7524567150210576, "repo_name": "orius123/slenkins", "id": "5b382b0d0778936193652ef9c2040045039458df", "size": "21...
import { Observable } from '../../internal/Observable'; import { skip } from '../../internal/patching/operator/skip'; Observable.prototype.skip = skip; declare module '../../internal/Observable' { interface Observable<T> { skip: typeof skip; } }
{ "content_hash": "ccb0a5962c64b32268966631676f51ba", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 61, "avg_line_length": 25.6, "alnum_prop": 0.671875, "repo_name": "IgorMinar/RxJS", "id": "54902a49a393649a7de25dfeb5e64bf48c869bd2", "size": "257", "binary": false, "c...
package com.navercorp.pinpoint.profiler; import com.navercorp.pinpoint.bootstrap.config.ProfilerConfig; import com.navercorp.pinpoint.bootstrap.instrument.DynamicTransformTrigger; import com.navercorp.pinpoint.common.util.Assert; import com.navercorp.pinpoint.profiler.instrument.InstrumentEngine; import com.navercor...
{ "content_hash": "88f8d4149305e0aae88e4ce2409ddf85", "timestamp": "", "source": "github", "line_count": 144, "max_line_length": 204, "avg_line_length": 49.69444444444444, "alnum_prop": 0.7122694242593628, "repo_name": "jiaqifeng/pinpoint", "id": "2cf6ef146384714637cff123a9cbd0d2050d3a0d", "size": "...
module.exports = { "extends": "./node_modules/stylelint-config-standard", "rules": { "color-hex-case": "upper", "selector-max-id": 1, "selector-pseudo-element-colon-notation": "single", "no-missing-end-of-source-newline": null, "color-hex-length": "long", "max-nes...
{ "content_hash": "951ff49717b423159080da54c76fae8c", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 59, "avg_line_length": 31.09090909090909, "alnum_prop": 0.5701754385964912, "repo_name": "stfalcon/fwdays", "id": "7b85ccb78fecce19539ca230e69daa00ea80b104", "size": "342",...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title>QueryLayer Tests</title> <!-- META TAGS --> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <!-- CSS --> <link rel="stylesheet" type="text/css" href="../../esri/...
{ "content_hash": "2ff869a251bc50ef5f7dd163ae836d24", "timestamp": "", "source": "github", "line_count": 72, "max_line_length": 90, "avg_line_length": 28.430555555555557, "alnum_prop": 0.5129457743038593, "repo_name": "keatonwalker/cell-tower-coverage", "id": "03143e201c7594cc9cd01b67ded65761f5530465"...
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext http://www....
{ "content_hash": "930c58c65d195b3148fe091ad2241830", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 426, "avg_line_length": 59.15151515151515, "alnum_prop": 0.6547131147540983, "repo_name": "mraszplewicz/springboottest", "id": "8c4908c53d61e0053760a1b7e49bfc9a1f3724d4", "...
/* Implementation of Boost.Python cross-module support. See root/libs/python/doc/cross_module.html for details. */ #ifndef CROSS_MODULE_HPP # define CROSS_MODULE_HPP # include <boost/python/class_builder.hpp> namespace boost { namespace python { struct BOOST_PYTHON_DECL import_error: error_already_set {}; stru...
{ "content_hash": "be47df6faa80f814eec0b8dbd60ce44e", "timestamp": "", "source": "github", "line_count": 321, "max_line_length": 135, "avg_line_length": 44.08411214953271, "alnum_prop": 0.668503992650696, "repo_name": "Ezeer/VegaStrike_win32FR", "id": "c6ac8c22b1ed7985d33de5e55cc8e2033761940b", "siz...
title: TICKscript Language Reference menu: kapacitor_1_3: name: TICKscript identifier: tick weight: 3 --- Kapacitor uses a DSL named `TICKscript`. The DSL is used to define the pipelines for processing data in Kapacitor. The TICKscript language is an invocation chaining language. Each script has a flat...
{ "content_hash": "845ccf8c4ca73e8b0cd047525f4720f3", "timestamp": "", "source": "github", "line_count": 59, "max_line_length": 168, "avg_line_length": 38.57627118644068, "alnum_prop": 0.7368189806678384, "repo_name": "influxdb/docs.influxdata.com", "id": "7623f1aa0f43aa3cc2b591d6312b58324dae4587", ...
/** _ __ __ _ (_) | \/ | (_) _ __ ___ ___ _ __ ___ _ __ ___ ___ _____| \ / | __ _ __ _ _ ___ | '__/ _ \/ __| '_ \ / _ \| '_ \/ __| \ \ / / _ \ |\/| |/ _` |/ _` | |/ __| | | | __/\__ \ |_)...
{ "content_hash": "45397aa31cfd3403f309a4921037be87", "timestamp": "", "source": "github", "line_count": 415, "max_line_length": 117, "avg_line_length": 31.92289156626506, "alnum_prop": 0.4889039855072464, "repo_name": "alvaro-prieto/responsiveMagic", "id": "ecee6e3cceee4af361600e29c05e0ffb17ddb382", ...
<?xml version="1.0" encoding="UTF-8"?> <serializer> <!-- This file has been generated by the EasyExtends bundle ( https://sonata-project.org/bundles/easy-extends ) @author <yourname> <youremail> --> <class name="Application\Sonata\TimelineBundle\Entity\ActionComponent" exclusion-policy="al...
{ "content_hash": "e90c49cc27c2c877af9e8583265f3006", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 160, "avg_line_length": 39.142857142857146, "alnum_prop": 0.6843065693430657, "repo_name": "bardius/BardisCMS", "id": "ecc8384a0a2987698f605cb079c7b9cd1eca3f26", "size": "5...
namespace blink { PaymentMethodChangeEvent::~PaymentMethodChangeEvent() = default; // static PaymentMethodChangeEvent* PaymentMethodChangeEvent::Create( ScriptState* script_state, const AtomicString& type, const PaymentMethodChangeEventInit* init) { return MakeGarbageCollected<PaymentMethodChangeEvent>(...
{ "content_hash": "e8090f38326f6cc4e81006d97c3046fd", "timestamp": "", "source": "github", "line_count": 45, "max_line_length": 75, "avg_line_length": 32.75555555555555, "alnum_prop": 0.6763907734056988, "repo_name": "ric2b/Vivaldi-browser", "id": "7e9ac72adadc4a2d06ff495fd23e47f4f8809c17", "size": ...
<!DOCTYPE HTML> <html> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"/> <title>QUnit - sap.ui.fl.PreprocessorImpl</title> <script src="../shared-config.js"></script> <script id="sap-ui-bootstrap" src="../../../../../resources/sap-ui-core.js" data-sap-ui-noconflict="true" dat...
{ "content_hash": "511d8653025e487be7df43e92eba5207", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 116, "avg_line_length": 36.55882352941177, "alnum_prop": 0.6210780370072405, "repo_name": "olirogers/openui5", "id": "111bfd448d28fe054b67414c700ef2b254e68708", "size": "12...
'use strict'; angular.module('request-duration.services', []) .factory('RequestDurationService', function ($http, $q) { return { getDurationReport: function (filter) { var deferred = $q.defer(); $http({ method: 'GET', url:...
{ "content_hash": "c85c685fdc9ab6a24965222b6259b3e6", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 66, "avg_line_length": 30.2, "alnum_prop": 0.46192052980132453, "repo_name": "alexey-chumakov/performance-analytics", "id": "26673406a12b756ce512c17204be3a8078efe4d9", "siz...
/** * */ package com.jolbox.bonecp; import static org.junit.Assert.*; import org.junit.Test; /** * @author Wallace * */ public class TestReplayLog { /** * Test method for {@link com.jolbox.bonecp.ReplayLog#ReplayLog(java.lang.Object, java.lang.reflect.Method, java.lang.Object[])}. */ @Test public voi...
{ "content_hash": "8ea4712487da64884b6fc75b09837f9a", "timestamp": "", "source": "github", "line_count": 42, "max_line_length": 130, "avg_line_length": 22.833333333333332, "alnum_prop": 0.6955161626694474, "repo_name": "squidsolutions/bonecp", "id": "99ffc7d882389782780f954f6132f6bb033cb81b", "size"...
namespace blink { void SVGImagePainter::paint(const PaintInfo& paintInfo) { ANNOTATE_GRAPHICS_CONTEXT(paintInfo, &m_renderSVGImage); if (paintInfo.phase != PaintPhaseForeground || m_renderSVGImage.style()->visibility() == HIDDEN || !m_renderSVGImage.imageResource()->hasImage()) return;...
{ "content_hash": "6f0b48578e206b7e968d38c8d9f25534", "timestamp": "", "source": "github", "line_count": 62, "max_line_length": 201, "avg_line_length": 50.33870967741935, "alnum_prop": 0.7081063761614868, "repo_name": "kurli/blink-crosswalk", "id": "719a75b27521a5f8aa2488539e37f43cb00e875d", "size":...
package org.apache.ambari.server.orm.entities; import java.io.Serializable; import javax.persistence.Column; import javax.persistence.Id; @SuppressWarnings("serial") public class ServiceDesiredStateEntityPK implements Serializable { private Long clusterId; @javax.persistence.Column(name = "cluster_id", nullab...
{ "content_hash": "90835e47e307b9bd71083ebabb84290a", "timestamp": "", "source": "github", "line_count": 55, "max_line_length": 118, "avg_line_length": 27.21818181818182, "alnum_prop": 0.698062792251169, "repo_name": "arenadata/ambari", "id": "3fa5289a2409793f71ec9f4564a77f5f8e8f57db", "size": "2302...
<?php interface Mob_Construccion_Interface { public function getByUsuario($idUsuario); public function processQueue($v, $timestampEnviado); public function getCostoConstruccion($v); public function sendMessageNoRecursos($v, $timestampEnviado); public function getTipoCola(); public function proc...
{ "content_hash": "54409717dff986d06005d64857eb3561", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 78, "avg_line_length": 34.18181818181818, "alnum_prop": 0.773936170212766, "repo_name": "rodsouto/vendetta-plus-legacy", "id": "150d318ae177adba1c8da202abae356ab542cd77", "...
license: > 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 "L...
{ "content_hash": "f2865f60bd61a0df2f4d7a1d8e4dd84c", "timestamp": "", "source": "github", "line_count": 78, "max_line_length": 81, "avg_line_length": 30.03846153846154, "alnum_prop": 0.6641058472044388, "repo_name": "drbeermann/cordova-docs", "id": "66253db499bd9ff16ee4ee4e720b3e053f784adb", "size"...
@class NewsBlurAppDelegate; @interface AddSiteViewController : UIViewController <UITextFieldDelegate, UITableViewDelegate, UITableViewDataSource, ASIHTTPRequestDelegate> - (void)reload; - (IBAction)addSite; - (void)autocompleteSite:(ASIHTTPRequest *)request; - (IBAction)doCancelButton; - (IBAction)doAddButton; - (NS...
{ "content_hash": "dd4ecd28e43a9053af4b5a9854443ff3", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 89, "avg_line_length": 40.138888888888886, "alnum_prop": 0.8207612456747405, "repo_name": "nriley/NewsBlur", "id": "2b94594636d5540a7358a736111c909c438677c6", "size": "1672...
from swgpy.object import * def create(kernel): result = Static() result.template = "object/static/space/debris/shared_death_star_debris_f.iff" result.attribute_template_id = -1 result.stfName("obj_n","unknown_object") #### BEGIN MODIFICATIONS #### #### END MODIFICATIONS #### return result
{ "content_hash": "7f0a652702aa367a26aba6da9d319e7c", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 78, "avg_line_length": 23.615384615384617, "alnum_prop": 0.6905537459283387, "repo_name": "obi-two/Rebelion", "id": "3262df0347889b464ed89f940627950e22998d6b", "size": "452...
package org.mifos.platform.questionnaire.service; import java.io.Serializable; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Locale; public class QuestionGroupInstanceDetail implements Serializable { private static final long serialVersionUID = -7157295411344619153L; private Qu...
{ "content_hash": "3af471fcd04702fd421ddb0732aad534", "timestamp": "", "source": "github", "line_count": 50, "max_line_length": 148, "avg_line_length": 29.92, "alnum_prop": 0.7292780748663101, "repo_name": "jpodeszwik/mifos", "id": "94ae9795e7c0e419509bd987bff42f7a7aa00db5", "size": "2269", "binar...
<!DOCTYPE html> <html> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"/> <title></title> <link rel="Stylesheet" href="css/analysis.css" /> <script type="text/javascript"> function init() { if (window.location.hash) { var parentDiv, nodes, i, ...
{ "content_hash": "87fd253cb62a28cdceb1aa6d4ee500d9", "timestamp": "", "source": "github", "line_count": 142, "max_line_length": 629, "avg_line_length": 70.20422535211267, "alnum_prop": 0.6200220684120774, "repo_name": "darklilium/Factigis_2", "id": "350ca6713235656364f0d095b3017020a9b1c20f", "size"...
module HsLayoutPre(layoutPre,PosToken) where import HsTokens import HsLexerPos {-+ This is an implementation of Haskell layout, as specified in section 9.3 of the revised Haskell 98 report. This module contains the layout preprocessor that inserts the extra &lt;n&gt; and {n} tokens. -} type PosToken = (Token,(Pos,St...
{ "content_hash": "d83f4c19c3a440bd1ed4a6d24b540c64", "timestamp": "", "source": "github", "line_count": 61, "max_line_length": 79, "avg_line_length": 30.081967213114755, "alnum_prop": 0.6201634877384197, "repo_name": "forste/haReFork", "id": "a272cdba4d526906d3584d67e0d868c0391d38a0", "size": "1835...
/** * Adds an icon to the ribbon bar on a classic page. * @param props The ribbon link information. */ export const RibbonLink: (props: ILinkInfo) => PromiseLike<HTMLAnchorElement>; /** * Adds an icon to the suite bar on a classic page. * If SharePoint Online is detected, then the icon will be rendered in the rib...
{ "content_hash": "2489edb0ad44d99c5f8182c0cf1f58bf", "timestamp": "", "source": "github", "line_count": 48, "max_line_length": 86, "avg_line_length": 21.75, "alnum_prop": 0.6561302681992337, "repo_name": "gunjandatta/sprest", "id": "9bc663788c945280f85477c449b9abd393173580", "size": "1044", "bina...
* Konzeptionsfehler * ursprünglich kooperativer Ansatz Ende der 60er Jahre * unvorhersehbare Entwicklung, insbesondere durch Kommerzialisierung * Programmierfehler * oft ungeprüfte Eingabe(puffer) * Stack-Overflow / Manipulation des Programmzeigers * Konfigurationsfehler (z.B. auf Webserver) * Falsc...
{ "content_hash": "63255a4435248df903af607edc6f364f", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 75, "avg_line_length": 40.84615384615385, "alnum_prop": 0.7702448210922788, "repo_name": "chefe/summaries", "id": "d15485d0bd51b0f06bd09c0813988cdc2156a4e0", "size": "1661"...
from __future__ import unicode_literals, print_function, division, absolute_import from pprint import pprint import threading import string import logging import multiprocessing from six.moves import queue import six import errors import settings import taskq import webservice import notifier logger = logging.getLo...
{ "content_hash": "ea3ac577c4e3cc5c922853709db76a92", "timestamp": "", "source": "github", "line_count": 174, "max_line_length": 134, "avg_line_length": 35.93103448275862, "alnum_prop": 0.5937300063979527, "repo_name": "bisphon/pontiac", "id": "eacb80d63cd06412fcb44e898d63aec359b568a2", "size": "625...
#include "mem/ruby/network/garnet/fixed-pipeline/Router_d.hh" #include "mem/ruby/network/garnet/fixed-pipeline/GarnetNetwork_d.hh" #include "mem/ruby/network/garnet/fixed-pipeline/NetworkLink_d.hh" #include "mem/ruby/network/garnet/fixed-pipeline/CreditLink_d.hh" #include "mem/ruby/network/garnet/fixed-pipeline/Input...
{ "content_hash": "1906642e3f15863d514620913944f29b", "timestamp": "", "source": "github", "line_count": 136, "max_line_length": 130, "avg_line_length": 33.5735294117647, "alnum_prop": 0.6187034603591766, "repo_name": "liangwang/m5", "id": "428ba3260900f086553143eb92a12fd2b43117dd", "size": "6152", ...
| Problem statement | Solution | |:-----------------------------|:--------------------------------:| | [Inheritance Introduction][] | [inheritance_introduction.cpp][] | | [Multi Level Inheritance][] | [multi_level_inheritance.cpp][] | | [Rectangle Area][] | [rectangle_area...
{ "content_hash": "959f2648b8de65d10f3edfa4350b2bb6", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 93, "avg_line_length": 60, "alnum_prop": 0.6269230769230769, "repo_name": "gshopov/competitive-programming-archive", "id": "056f8da75ea2a242e47e1deb5f22e44a61cc66b6", "size...
"""mysite URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.8/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-base...
{ "content_hash": "9ec9e90112dca57b658ce92a499343c7", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 77, "avg_line_length": 36.22727272727273, "alnum_prop": 0.6938519447929736, "repo_name": "mishka28/NYU-Python", "id": "80e7b0447250710397a6ecae103cb13aa21341e8", "size": "7...
using System; using Robust.Shared.Map; using Robust.Shared.Maths; namespace Content.Server.Atmos { public static class EntityNetworkUtils { public static Vector2i CardinalToIntVec(this Direction dir) { switch (dir) { case Direction.North: ...
{ "content_hash": "e7478f3a04021e4eea3dffb05b6ad8ba", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 113, "avg_line_length": 30, "alnum_prop": 0.5268817204301075, "repo_name": "space-wizards/space-station-14-content", "id": "1a00fe83b94c02a904379f457cc2d4376758d32b", "size...
<?xml version="1.0" encoding="UTF-8"?> <!-- ~ Copyright (c) 2012. Piraso Alvin R. de Leon. All Rights Reserved. ~ ~ See the NOTICE file distributed with ~ this work for additional information regarding copyright ownership. ~ The Piraso licenses this file to You under the Apache License, Version 2.0 ~ (the ...
{ "content_hash": "7c1e61d7bb813e81bd0867a286b29c4d", "timestamp": "", "source": "github", "line_count": 58, "max_line_length": 201, "avg_line_length": 37.89655172413793, "alnum_prop": 0.6524112829845314, "repo_name": "piraso/piraso", "id": "ca319199b9fa23134f55bc484ac6b45dead9dfdb", "size": "2198",...
'use strict'; var nodes = require('./nodes'); var lib = require('./lib'); var sym = 0; function gensym() { return 'hole_' + sym++; } // copy-on-write version of map function mapCOW(arr, func) { var res = null; for (let i = 0; i < arr.length; i++) { const item = func(arr[i]); if (item !== arr[i]) { ...
{ "content_hash": "ca1b9307fd861e9fb55a0fd26d933c2c", "timestamp": "", "source": "github", "line_count": 217, "max_line_length": 94, "avg_line_length": 24.571428571428573, "alnum_prop": 0.589834958739685, "repo_name": "devoidfury/nunjucks", "id": "aef6313011f8cf6c053bf6ae31563dae282560a7", "size": "...
<?xml version="1.0" encoding="utf-8"?> <doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping http://doctrine-project.org/schemas/orm/doctrine-mapping.xsd"> <e...
{ "content_hash": "d8462c6f01d6d9610c546b7c4cf3944c", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 276, "avg_line_length": 49.529411764705884, "alnum_prop": 0.6757719714964371, "repo_name": "x4devil/tourism.local", "id": "4bca9476b474075e950ea0338976a5f29c19b151", "size"...
module Shipit module Webhooks module Handlers module PullRequest class AssignedHandler < Shipit::Webhooks::Handlers::Handler params do requires :action, String requires :number, Integer requires :pull_request do requires :id, Integer ...
{ "content_hash": "8f6f03503398b452a538366ec0cb70b7", "timestamp": "", "source": "github", "line_count": 72, "max_line_length": 111, "avg_line_length": 28.875, "alnum_prop": 0.48677248677248675, "repo_name": "Shopify/shipit-engine", "id": "a93757b2c4fa502469127c7379bf40a647dabb3e", "size": "2110", ...
var src = null; var prev = null; var livetime = null; var msie = false; var stopped = false; var totStopped = false; var timer = null; var pr = 0; var liking = 0; var in_progress = false; var langSelect = false; var commentBusy = false; var last_popup_menu = null; var last_popup_button = null; var scroll_next = false; ...
{ "content_hash": "8a7ccb13de4d85e6c9e9928c7e00c234", "timestamp": "", "source": "github", "line_count": 1533, "max_line_length": 225, "avg_line_length": 28.756033920417483, "alnum_prop": 0.5983939387065309, "repo_name": "sasiflo/hubzilla", "id": "acb9b462f69f3b168d50f8d6aa745363cec00de2", "size": "...
#ifndef color_generic_place_blue #define color_generic_place_blue // ::color::place::blue<category_name>() // ::color::place::_internal::blue<category_name>::position_enum #include "../trait/index.hpp" namespace color { namespace place { namespace _internal { template< t...
{ "content_hash": "8ba62b355e97f773c65060b58e90cba5", "timestamp": "", "source": "github", "line_count": 46, "max_line_length": 102, "avg_line_length": 22.195652173913043, "alnum_prop": 0.5328109696376102, "repo_name": "dmilos/color", "id": "2185700dfa55d51fc29cbd93feb49843d5612b7f", "size": "1021",...
title: Object.prototype.propertyIsEnumerable localeTitle: Object.prototype.propertyIsEnumerable --- ## Object.prototype.propertyIsEnumerable Это заглушка. [Помогите нашему сообществу расширить его](https://github.com/freecodecamp/guides/tree/master/src/pages/javascript/standard-objects/object/object-prototype-property...
{ "content_hash": "02e14ea7fb68e54df38ccef783e1a7a4", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 202, "avg_line_length": 51.7, "alnum_prop": 0.8239845261121856, "repo_name": "otavioarc/freeCodeCamp", "id": "347731b85b69c7863f2b0514884afd26a50c4bba", "size": "653", "b...
#include "includes.h" #include "common.h" #include "common/ieee802_11_defs.h" #include "p2p_i.h" #include "p2p.h" static struct wpabuf * p2p_build_dev_disc_req(struct p2p_data *p2p, struct p2p_device *go, const u8 *dev_id) { struct wpabuf *buf; u8 *len; buf = wpabuf_alloc(100); if (buf =...
{ "content_hash": "055e9347c980835cc1dc95f17465e15b", "timestamp": "", "source": "github", "line_count": 323, "max_line_length": 104, "avg_line_length": 26.712074303405572, "alnum_prop": 0.6614510894761243, "repo_name": "execunix/vinos", "id": "86bae1a2c0db8c1f41ca23e43553abd4181e622d", "size": "884...
package utils import "sync" type queuenode struct { data interface{} next *queuenode } // A Queue is a go-routine safe FIFO (first in first out) data stucture. type Queue struct { head *queuenode tail *queuenode count int lock *sync.Mutex } // NewQueue creates a new pointer to a new queue. func NewQueue() ...
{ "content_hash": "1e9630c0c1fdaad83a2285f6635ba9de", "timestamp": "", "source": "github", "line_count": 85, "max_line_length": 72, "avg_line_length": 17.44705882352941, "alnum_prop": 0.6466621712744437, "repo_name": "bign8/pipelines", "id": "6d36fbda98dafc919377436bb1d18a655f462f6f", "size": "2682"...
<?php // autoload.php @generated by Composer require_once __DIR__ . '/composer' . '/autoload_real.php'; return ComposerAutoloaderInitdfcd7adf42024fd980ce2678c623269d::getLoader();
{ "content_hash": "8efe0d06c66d00277a982c3946de0ac5", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 75, "avg_line_length": 26.142857142857142, "alnum_prop": 0.7595628415300546, "repo_name": "ElPepe101/DistriTaxi", "id": "e5daf134a38a9d97e7609d818db1f15ed3fb98f5", "size": "...
/* */ "format cjs"; /** * Represents an object that is both an observable sequence as well as an observer. * Each notification is broadcasted to all subscribed observers. */ var Subject = Rx.Subject = (function (__super__) { function subscribe(observer) { checkDisposed(this); if (!this.i...
{ "content_hash": "e6a8a43d957dfbd382133133a1e82043", "timestamp": "", "source": "github", "line_count": 104, "max_line_length": 105, "avg_line_length": 31.528846153846153, "alnum_prop": 0.5806648368405002, "repo_name": "cfraz89/moonrock-js-starter", "id": "81bea31a7ad1cdd00af1c643ed680f6fc945aa7a", ...