text
stringlengths
2
1.04M
meta
dict
<?php $form=$this->beginWidget('bootstrap.widgets.TbActiveForm',array( 'id'=>'bidang-usaha-form', 'enableAjaxValidation'=>false, )); ?> <p class="help-block">Fields with <span class="required">*</span> are required.</p> <?php echo $form->errorSummary($model); ?> <?php echo $form->textFieldRow($model,'kod...
{ "content_hash": "8e5022624aa4d0b6cddbe1e69068b0aa", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 96, "avg_line_length": 34.88461538461539, "alnum_prop": 0.6251378169790518, "repo_name": "OpenThink-Labs/LoketPelangi", "id": "fd9961e5cee80b1b28808a6511037a60807c6c6f", "s...
module Tmdb class Movie < Struct def self.detail(id, filters={}) result = Resource.new("/movie/#{id}", filters).get create_new_instance_with_normalized_data(result) end def self.alternative_titles(id, filters={}) result = Resource.new("/movie/#{id}/alternative_titles", filters).get ...
{ "content_hash": "8cf22c5670a3457c51f2ff42beef6b5b", "timestamp": "", "source": "github", "line_count": 173, "max_line_length": 82, "avg_line_length": 24.653179190751445, "alnum_prop": 0.5927315357561548, "repo_name": "elfenars/themoviedb-api", "id": "5e4d8bf193e2f04f336c330821affb7ae7116541", "siz...
.class public interface abstract Lcom/airbnb/lottie/ImageAssetDelegate; .super Ljava/lang/Object; .source "ImageAssetDelegate.java" # virtual methods .method public abstract fetchBitmap(Lcom/airbnb/lottie/LottieImageAsset;)Landroid/graphics/Bitmap; .end method
{ "content_hash": "77031d39f71056e4e991fb368e08d185", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 98, "avg_line_length": 32.875, "alnum_prop": 0.8288973384030418, "repo_name": "BatMan-Rom/ModdedFiles", "id": "a3a148034947efe05c8a90f03187298b15e654ee", "size": "263", "b...
import Data.Acid import Control.Concurrent.STM.TVar import Control.Concurrent.STM.TQueue import Control.Monad (unless) import Data.Foldable (maximumBy) import Data.Function (on) import System.Environment (getArgs) import System.Exit (exitSuccess) import Network.Simple.TCP (serve, HostPreference (..)) import DataContr...
{ "content_hash": "f309e618eb26dffb972759657950343c", "timestamp": "", "source": "github", "line_count": 73, "max_line_length": 85, "avg_line_length": 28, "alnum_prop": 0.684931506849315, "repo_name": "TK009/sensorbox", "id": "a0f9c22d1f4ae36b207af27b0ecbcc7e15cc0acb", "size": "2045", "binary": fa...
SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
{ "content_hash": "b06b038aff13b52bd2afb3771af26797", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 10.23076923076923, "alnum_prop": 0.6917293233082706, "repo_name": "mdoering/backbone", "id": "2f7f30ee25990082feb3d8907c2e83e21b809664", "size": "212...
package com.geeksaga.light.agent.core; import com.geeksaga.light.agent.trace.Trace; import org.junit.Before; import org.junit.Test; import static org.hamcrest.CoreMatchers.*; import static org.hamcrest.MatcherAssert.assertThat; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; /** * @...
{ "content_hash": "4a38c6ef0d1ef1cbdfe2e4d3b1e28d50", "timestamp": "", "source": "github", "line_count": 66, "max_line_length": 101, "avg_line_length": 27.227272727272727, "alnum_prop": 0.7128547579298832, "repo_name": "geekflow/light", "id": "b3e178b18f1922de0aab64e68da58823ed32b80d", "size": "2389...
import { RenderingTestCase, moduleFor, styles, runTask } from 'internal-test-helpers'; import { set, get, computed } from '@ember/-internals/metal'; import { Component, htmlSafe } from '../../utils/helpers'; moduleFor( 'Helpers test: {{mut}}', class extends RenderingTestCase { ['@test a simple mutable bindin...
{ "content_hash": "9536875745890a98cc3b3882af8839a8", "timestamp": "", "source": "github", "line_count": 584, "max_line_length": 176, "avg_line_length": 31.41267123287671, "alnum_prop": 0.5723630417007359, "repo_name": "knownasilya/ember.js", "id": "78ca70f0d7c6b52588e04ff541a3958af7fdd3be", "size":...
"""A lexical analyzer class for simple shell-like syntaxes.""" # Module and documentation by Eric S. Raymond, 21 Dec 1998 # Input stacking and error message cleanup added by ESR, March 2000 # push_source() and pop_source() made explicit by ESR, January 2001. # Posix compliance, split(), string arguments, and # iterato...
{ "content_hash": "90cc7a13bc932bfc7174b4636829cc90", "timestamp": "", "source": "github", "line_count": 303, "max_line_length": 76, "avg_line_length": 37.48844884488449, "alnum_prop": 0.4921207852803944, "repo_name": "MalloyPower/parsing-python", "id": "f08391800b14f62dfeae12ff721ad4ba1b418d52", "s...
![MechanicTranslationalQSource picture](MechanicTranslationalQSource.svg) Mechanical Q-type source component. Allows explicit control of force, velocity, position and equivalent mass. #### Input Variables * **in_f** - Force variable input [Force] * **in_v** - Velocity variable input [Velocity] * **in_x** - Position v...
{ "content_hash": "0773dbda9a08ad57cb6003cca0f3acdc", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 109, "avg_line_length": 38.15384615384615, "alnum_prop": 0.6975806451612904, "repo_name": "Hopsan/hopsan", "id": "39b3f276862d660ecebc1caaa9707160e5c52908", "size": "512", ...
import logging class NewStyleLogMessage(object): def __init__(self, message, *args, **kwargs): self.message = message self.args = args self.kwargs = kwargs def __str__(self): args = (i() if callable(i) else i for i in self.args) kwargs = dict((k, v() if ...
{ "content_hash": "52c22ef357b66e801d4e924cef56c3d0", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 75, "avg_line_length": 30.914285714285715, "alnum_prop": 0.5730129390018485, "repo_name": "poffey21/edge", "id": "3b954ed7ab1cd61b6a34e7b648f1501a181848cb", "size": "1818",...
from django.utils.translation import ugettext_lazy as _ import horizon class NGVolumes(horizon.Panel): name = _("Volumes") slug = 'ngvolumes' permissions = ('openstack.services.volume',)
{ "content_hash": "37af6c9b3bb10737169b604ccd8b262a", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 55, "avg_line_length": 22.444444444444443, "alnum_prop": 0.7079207920792079, "repo_name": "wolverineav/horizon", "id": "1ab2c7619b43f7c1b6a75326e3483af03522784d", "size": "7...
package net.myanmarhub.collabra; import android.os.Bundle; import com.actionbarsherlock.app.SherlockFragmentActivity; import net.myanmarhub.collabra.util.Utils; /** * Tin Htoo Aung (Myanmar Hub) on 21/11/13. */ public class BaseFragmentActivity extends SherlockFragmentActivity { @Override protected void ...
{ "content_hash": "c92f9bbb384bb7ea4957cfb632ea0977", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 68, "avg_line_length": 23.857142857142858, "alnum_prop": 0.718562874251497, "repo_name": "Myanmar-Hub/collabra-devcon", "id": "8461499d9120540780afb266e99a7bf50521b559", "s...
from __future__ import division, print_function, unicode_literals import os from django.core.wsgi import get_wsgi_application from whitenoise.django import DjangoWhiteNoise PROJECT_NAME = os.path.dirname(os.path.abspath(__file__)).split('/')[-1] os.environ.setdefault('DJANGO_SETTINGS_MODULE', '{}.settings'.format(PR...
{ "content_hash": "41970580d0a968e457e4bbb6d8e37364", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 83, "avg_line_length": 34.583333333333336, "alnum_prop": 0.7759036144578313, "repo_name": "theeluwin/mashiro", "id": "1c5739ade96482213b6b81796f72f710a289525a", "size": "44...
<ul class="topul"> <li class="first"> <h2> UPDATES </h2> </li> </ul> <div class="journal-updates-sidebar"> <div class="journal-updates summary"> <div class="items hypothesis-in-progress-items grey-box"> <a href="#"><span class="date"></span> <span class="interviews">Hypotheses Being Tested...
{ "content_hash": "d4c809acff55316f27b0c8234d70850a", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 116, "avg_line_length": 35.48148148148148, "alnum_prop": 0.6179540709812108, "repo_name": "BullisEntrepreneurship/LeanLaunchLab", "id": "7e0ea4318034d180b0f603a940622e838a73c...
package com.amazonaws.services.chime.model.transform; import javax.annotation.Generated; import com.amazonaws.SdkClientException; import com.amazonaws.services.chime.model.*; import com.amazonaws.protocol.*; import com.amazonaws.annotation.SdkInternalApi; /** * GetUserSettingsRequestMarshaller */ @Generated("com...
{ "content_hash": "e0b71607d9e8b8d6147585f90ae2faec", "timestamp": "", "source": "github", "line_count": 47, "max_line_length": 156, "avg_line_length": 36.851063829787236, "alnum_prop": 0.7424942263279446, "repo_name": "jentfoo/aws-sdk-java", "id": "7e994e3b39fe50954d08231fe83b5ea6f948f8bb", "size":...
module TheComments # Cookies and View token for spam protection # include TheComments::ViewToken module ViewToken extend ActiveSupport::Concern included { before_action :set_the_comments_cookies } def comments_view_token cookies[:comments_view_token] end private def...
{ "content_hash": "671386c2e90ac7edbe45b7382a04ee45", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 128, "avg_line_length": 30.5, "alnum_prop": 0.6901639344262295, "repo_name": "Swuu/comments_page", "id": "9b770b15ef6e53aed9185c196f51dd2ae1e5fdfa", "size": "610", "binar...
<?php if(!defined('DS')){ define('DS',DIRECTORY_SEPARATOR); } if(!defined('ROOT')){ define('ROOT', realpath(dirname(__FILE__))); } $url=(isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off')?'https://'.dirname($_SERVER['HTTP_HOST'].$_SERVER['SCRIPT_NAME']).'/':'http://'.dirname($_SERVER['HTTP_HOST'].$_SERVER['SCRIP...
{ "content_hash": "9c1b1bdab2135eaa97deeecfaedd0589", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 202, "avg_line_length": 27.419354838709676, "alnum_prop": 0.6058823529411764, "repo_name": "ydk2/ymvc", "id": "132da84306b487b6ad3bfe1d591fc65e87d05f46", "size": "850", "...
References: * [Code](https://github.com/huggingface/datasets/blob/master/datasets/udhr) * [Huggingface](https://huggingface.co/datasets/udhr) Use the following command to load this dataset in TFDS: ```python ds = tfds.load('huggingface:udhr') ``` * **Description**: ``` The Universal Declaration of Human Ri...
{ "content_hash": "d0c8e967c6d381ee29183d0c41d28517", "timestamp": "", "source": "github", "line_count": 68, "max_line_length": 115, "avg_line_length": 23.426470588235293, "alnum_prop": 0.6057752667922159, "repo_name": "tensorflow/datasets", "id": "e6dcdf9ca3bea1aeb66a90ef532513b0e4e8e734", "size": ...
package org.lemsml.jlems.core.codger.metaclass; import java.util.ArrayList; import java.util.Collection; import java.util.HashSet; import org.lemsml.jlems.core.logging.E; public class MetaClass extends CodeUnit { public HashSet<String> dependencies = new HashSet<String>(); public ArrayList<MetaInterface> inte...
{ "content_hash": "e42823f3c1027f187c50c8924484ed14", "timestamp": "", "source": "github", "line_count": 257, "max_line_length": 77, "avg_line_length": 18.47859922178988, "alnum_prop": 0.6306590861233944, "repo_name": "LEMS/jLEMS", "id": "9179a53cd931cbbe54b094d95be90757c7fcf50d", "size": "4749", ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace ReverseProxy.Models { public class LogModel { public int Instance { get; set; } public string Message { get; set; } } public class LiveLogModel { public string Service { get; set;...
{ "content_hash": "d2157a8eb6fff35905db1404452ef5a5", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 43, "avg_line_length": 18.333333333333332, "alnum_prop": 0.6393939393939394, "repo_name": "AzureAD/availability-proxy-for-rest-services", "id": "ddcb64b01b549ff396d1d2fac3e60...
package pl.designpatterns.structural.extensionobjects; import java.util.EnumMap; import java.util.concurrent.ThreadLocalRandom; public class Sheep implements Expansible, Actions { private EnumMap<Extensions, Role> registeredRoles; public Sheep() { registeredRoles = new EnumMap<>(Extensions.class); ...
{ "content_hash": "cdd6ac6aed40de7c9f52e343dc15b6aa", "timestamp": "", "source": "github", "line_count": 56, "max_line_length": 78, "avg_line_length": 22.982142857142858, "alnum_prop": 0.6262626262626263, "repo_name": "vego1mar/JDP", "id": "c07cc6b2b3460cb93dc1dc506bdb5fd33b463935", "size": "1287", ...
export default class Basic { constructor(username, password) { this.username = username; this.password = password; } setupRequest() { return { opts: {auth: `${this.username}:${this.password}`} }; } }
{ "content_hash": "b035983ae200ab79ff5e9b1c5bcd7d0f", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 52, "avg_line_length": 16.692307692307693, "alnum_prop": 0.6451612903225806, "repo_name": "jay-ess/restinga-node", "id": "67b36afbc8623658e58b00bab1eb2329a43e8d8a", "size":...
export default function($log, $WPHCConfig, $document) { 'ngInject'; return { fontSize: localStorage.getItem("fontSize") || _.get($WPHCConfig, 'settings.parameters.defaultFontSize'), setFontSize: function(fontSize) { this.fontSize = fontSize; $log.info('setting font size'...
{ "content_hash": "7750b69b590dbb38901de2e4717b128e", "timestamp": "", "source": "github", "line_count": 53, "max_line_length": 112, "avg_line_length": 32.886792452830186, "alnum_prop": 0.40963855421686746, "repo_name": "pramttl/wordpress-hybrid-client", "id": "ffaed4691ef36da47032d0b69afe20cc189a2bd4...
namespace blink { class ContentSecurityPolicyTest : public ::testing::Test { public: ContentSecurityPolicyTest() : csp(ContentSecurityPolicy::create()) , secureURL(ParsedURLString, "https://example.test/image.png") , secureOrigin(SecurityOrigin::create(secureURL)) { } protected: ...
{ "content_hash": "8d0a709094e610d7e49fa9cc07180fd7", "timestamp": "", "source": "github", "line_count": 124, "max_line_length": 161, "avg_line_length": 51.96774193548387, "alnum_prop": 0.7937616387337058, "repo_name": "Workday/OpenFrame", "id": "def83c2074afc12cdb395d58887a54cc58670af2", "size": "7...
package test_filter_test import ( "encoding/xml" "io/ioutil" "path/filepath" "reflect" "strings" "testing" "github.com/bazelbuild/rules_go/go/tools/bazel_testing" ) func TestMain(m *testing.M) { bazel_testing.TestMain(m, bazel_testing.Args{ Main: ` -- BUILD.bazel -- load("@io_bazel_rules_go//go:def.bzl", "...
{ "content_hash": "4edb217cec7ea0766f340fc14dc73b7b", "timestamp": "", "source": "github", "line_count": 149, "max_line_length": 90, "avg_line_length": 24.241610738255034, "alnum_prop": 0.590531561461794, "repo_name": "bazelbuild/rules_go", "id": "091983566f5e4b2175ffd453f5b2da0d179de999", "size": "...
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.lang.annotation; import com.intellij.lang.ASTNode; import com.intellij.openapi.util.TextRange; import com.intellij.psi.PsiElement; import org.jetbrains.annot...
{ "content_hash": "182a55c30fdc493a82225ef341e8e5cd", "timestamp": "", "source": "github", "line_count": 221, "max_line_length": 158, "avg_line_length": 49.68778280542986, "alnum_prop": 0.7512066296330024, "repo_name": "consulo/consulo", "id": "e4b1f7396005ec5d25de779e5b84bce136b5754c", "size": "109...
use crate::spec::{RelroLevel, TargetOptions}; pub fn opts() -> TargetOptions { TargetOptions { os: "dragonfly".to_string(), dynamic_linking: true, executables: true, families: vec!["unix".to_string()], has_rpath: true, position_independent_executables: true, ...
{ "content_hash": "7ea8adca5340d061766f0cf909cc8089", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 47, "avg_line_length": 28, "alnum_prop": 0.5857142857142857, "repo_name": "graydon/rust", "id": "e13a640d4d2103678364a21810f2745518759615", "size": "420", "binary": false...
set -eux sed -i 's/^GSS/\#GSS/g' /etc/ssh/sshd_config echo "PermitRootLogin yes" >> /etc/ssh/sshd_config echo "UseDNS no" >> /etc/ssh/sshd_config yum -y update yum install -y tmux vim htop wget telnet tcpdump sed awk ssh httpd net-tools open-vm-tools systemctl enable httpd iptables -I INPUT -p tcp -m tcp --dport 22...
{ "content_hash": "3795709a25a914c0607bb8664496fda0", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 90, "avg_line_length": 30.285714285714285, "alnum_prop": 0.7216981132075472, "repo_name": "wido/cloudstack", "id": "30e6438de9e334aa2e7394fcaaf606c032ef2d14", "size": "1210...
package org.saddle.framework import org.saddle._ import org.specs2.matcher._ /** * A matcher for two numeric Mats that must be equal to within * a tolerance */ class BeCloseToMat[T: Numeric : ClassManifest](m: Mat[T], delta: T) extends Matcher[Mat[T]] { def apply[S <: Mat[T]](x: Expectable[S]) = { val num = ...
{ "content_hash": "6b5973d8d673947d129b274932102116", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 93, "avg_line_length": 28.25, "alnum_prop": 0.5979772439949431, "repo_name": "saddle/saddle", "id": "01988a3c0c37ef79c774c321a11103e68fea2b42", "size": "791", "binary": f...
#ifndef PG_LANGUAGE_D_H #define PG_LANGUAGE_D_H #define LanguageRelationId 2612 #define Anum_pg_language_oid 1 #define Anum_pg_language_lanname 2 #define Anum_pg_language_lanowner 3 #define Anum_pg_language_lanispl 4 #define Anum_pg_language_lanpltrusted 5 #define Anum_pg_language_lanplcallfoid 6 #define Anum_pg_lan...
{ "content_hash": "101a90c8dd6e25013a98b424cf2928ef", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 40, "avg_line_length": 24.17391304347826, "alnum_prop": 0.7823741007194245, "repo_name": "lfittl/pg_query.go", "id": "be461675fbd037fff2591f9b070b8fa2fb4a3da2", "size": "11...
require 'rails/all' require 'active_merchant' require 'acts_as_list' require 'awesome_nested_set' require 'cancan' require 'kaminari' require 'mail' require 'paperclip' require 'paranoia' require 'ransack' require 'state_machine' module Spree mattr_accessor :user_class def self.user_class if @@user_class.is_...
{ "content_hash": "4e7d16f04c3f4b7e7f7fe54fe1d32dc1", "timestamp": "", "source": "github", "line_count": 71, "max_line_length": 85, "avg_line_length": 25.845070422535212, "alnum_prop": 0.7449591280653951, "repo_name": "pudgecon/spree-inner-shop", "id": "6a086efbcd1dcd71af5df058bb5564d87ba6eedd", "si...
Settings =============== All settings must be put inside a dictionary named GOOGLE_ADDRESS in your settings.py API_KEY ~~~~~~~~~~~~~~~~ This is the Google Maps API key acquired through Google console. Default: `None` API_LANGUAGE ~~~~~~~~~~~~~~~~ The language which addresses will be requested in. Default: `en_US...
{ "content_hash": "1660cc7bbdc088bfc047952d2b23bc6b", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 243, "avg_line_length": 23.029411764705884, "alnum_prop": 0.6641123882503193, "repo_name": "leonardoarroyo/django-google-address", "id": "a37ff14815736b2aacb91ff69bc0055df7b1...
package org.sparkcommerce.profile.web.core.security; import org.sparkcommerce.common.extension.AbstractExtensionHandler; import org.sparkcommerce.common.extension.ExtensionResultHolder; import org.sparkcommerce.common.extension.ExtensionResultStatusType; import org.sparkcommerce.profile.core.domain.Customer; import o...
{ "content_hash": "be392559fee4b06b0ad3b921e4d73417", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 140, "avg_line_length": 39.888888888888886, "alnum_prop": 0.850974930362117, "repo_name": "akdasari/eclipse-workspace", "id": "0efb3058c3f48684df42be4760a5a0b74b8da3f1", "s...
<!DOCTYPE html> <!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]--> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>PyPI-Publisher (ppp) &mdash; ppp 0.0.4 documen...
{ "content_hash": "39864113783e1dce00348e1341d4186b", "timestamp": "", "source": "github", "line_count": 310, "max_line_length": 192, "avg_line_length": 33.29032258064516, "alnum_prop": 0.6348837209302326, "repo_name": "wdm0006/pypi-publisher", "id": "40b1b1f46efc828cdf036f8517afd9e8804f0980", "size...
/* $FreeBSD: releng/10.2/sys/net/if_stf.h 139823 2005-01-07 01:45:51Z imp $ */ /* $KAME: if_stf.h,v 1.5 2001/10/12 10:09:17 keiichi Exp $ */ /*- * Copyright (C) 2000 WIDE Project. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided t...
{ "content_hash": "0f89b83d0b7c95629d7e3e3966651b14", "timestamp": "", "source": "github", "line_count": 38, "max_line_length": 78, "avg_line_length": 47.68421052631579, "alnum_prop": 0.7433774834437086, "repo_name": "ahoka/esrtk", "id": "a5096c81e0efb606985790848b1f62469578b474", "size": "1812", ...
package com.frameworkset.tag.logic; import javax.servlet.jsp.JspException; import javax.servlet.jsp.tagext.Tag; import com.frameworkset.common.tag.BaseTag; import com.frameworkset.common.tag.pager.tags.MatchTag; public class OtherTag extends BaseTag { @Override public int doStartTag() throws JspExcepti...
{ "content_hash": "d009f87d1cfa73887256ee4f7f091567", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 69, "avg_line_length": 22.060606060606062, "alnum_prop": 0.6813186813186813, "repo_name": "WilliamRen/bbossgroups-3.5", "id": "15c61ac5a8be2329349f38f1d68416f4239f5d4c", "s...
package io.aeron.samples; import io.aeron.*; import io.aeron.driver.*; import io.aeron.logbuffer.*; import org.agrona.*; import org.agrona.concurrent.*; import java.nio.ByteBuffer; import java.util.concurrent.atomic.AtomicBoolean; import java.util.concurrent.locks.LockSupport; import static org.agrona.BitUtil.CACHE...
{ "content_hash": "c7579036649a7a0f90a8c95aaeaa261d", "timestamp": "", "source": "github", "line_count": 205, "max_line_length": 114, "avg_line_length": 33.40487804878049, "alnum_prop": 0.5867406542056075, "repo_name": "galderz/Aeron", "id": "e6115c3fc747af9ffe07efd3185e1fe055665939", "size": "7447"...
package pro.foundev.java.Transformations; import org.apache.spark.api.java.function.Function; public class CommaSplit implements Function<String, String[]> { @Override public String[] call(String line) throws Exception { return line.split(","); } }
{ "content_hash": "59fe215420ba1fd9b5409d31000103aa", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 63, "avg_line_length": 22.75, "alnum_prop": 0.7106227106227107, "repo_name": "rssvihla/datastax_work", "id": "b9467b1758b5d1b1def48fd723efa02b1e5b5d5b", "size": "902", "b...
package com.yuhumai.life.fragment; import android.app.Activity; import android.net.Uri; import android.os.Bundle; import android.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import com.yuhumai.life.R; /** * A simple {@link Fragment} subclass. * Activiti...
{ "content_hash": "a7505ea665da50e45b866199faf083ee", "timestamp": "", "source": "github", "line_count": 110, "max_line_length": 84, "avg_line_length": 34.58181818181818, "alnum_prop": 0.6480021030494216, "repo_name": "myhgew/Linked", "id": "0a13d9c3fe3e860f94a1588ac9e3b689fb3c752b", "size": "3804",...
from __future__ import print_function, absolute_import, division, unicode_literals # TEST_UNICODE_LITERALS import pytest import os from astropy.table import Table from frb.frbcat import FRBCat #def data_path(filename): # data_dir = os.path.join(os.path.dirname(__file__), 'files') # return os.path.join(data_d...
{ "content_hash": "9a3623bf0f8f60f2e35010b6ca25f57a", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 82, "avg_line_length": 27.08, "alnum_prop": 0.7060561299852289, "repo_name": "FRBs/FRB", "id": "69921d24077d7f99e9d58ccfeb38b9c55bf926c7", "size": "723", "binary": false,...
from __future__ import division import time import numpy as np import tensorflow as tf from neupy import layers from neupy.core.properties import ( FunctionWithOptionsProperty, ScalarVariableProperty, IntProperty, Property, ) from neupy.utils import ( AttributeKeyDict, format_data, as_tuple, iter...
{ "content_hash": "2237582d32fec7b020ddfd0741d8aee0", "timestamp": "", "source": "github", "line_count": 419, "max_line_length": 76, "avg_line_length": 29.599045346062052, "alnum_prop": 0.5748266408643767, "repo_name": "itdxer/neupy", "id": "ac1f1315d85faca876a8cb810a4a5356e8c680c8", "size": "12402"...
from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('cfp', '0020_auto_20180507_1305'), ] operations = [ migrations.AddField( model_name='paperapplication', name='grant_email_contact', field=models.BooleanFi...
{ "content_hash": "970084b7b519bff0d99f9e2960e826e3", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 309, "avg_line_length": 36.388888888888886, "alnum_prop": 0.5946564885496183, "repo_name": "WebCampZg/conference-web", "id": "371314138b32edba4ef4aa3a41edb03706672604", "si...
@interface RMRMapViewController : UIViewController { RMRMapView* IBOutlet map; } @end
{ "content_hash": "60a099f3e688c57b7b83ed6c16d9e57d", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 52, "avg_line_length": 18.2, "alnum_prop": 0.7582417582417582, "repo_name": "FigBug/LibRMR", "id": "e9563f0d105e52d2665ddfd9f90f6e43d2c84657", "size": "265", "binary": fal...
<div class="card card-block"> <p class="card-subtitle"> @choice('general.count.points', $score) <span class="text-muted">{{ $comment->created_at->diffForHumans() }}</span> </p> <div class="card-text"> {!! Helper::markdownToHtml($comment->content) !!} </div> <a class="card-lin...
{ "content_hash": "3eea28c50edc5775ee3b5d7bf340ccab", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 83, "avg_line_length": 34.63636363636363, "alnum_prop": 0.5551181102362205, "repo_name": "ntzm/laravit", "id": "06f5db9a771a7d6153b42ed48abe5096a72a44ce", "size": "762", ...
dojo.provide("dojo.widget.html.ContextMenu"); dojo.require("dojo.html"); dojo.require("dojo.widget.HtmlWidget"); dojo.require("dojo.widget.ContextMenu"); dojo.require("dojo.lang"); dojo.widget.html.ContextMenu = function(){ dojo.widget.ContextMenu.call(this); dojo.widget.HtmlWidget.call(this); this.isShowing = 0...
{ "content_hash": "e86e6c16e8ed14c54d144408dda26cf8", "timestamp": "", "source": "github", "line_count": 158, "max_line_length": 148, "avg_line_length": 32.51898734177215, "alnum_prop": 0.7024133904242896, "repo_name": "tolweb/tolweb-app", "id": "e4fb6687c7f64623e354c78556f3953ce2b7e687", "size": "5...
/** * @fileoverview Rule to flag missing semicolons. * @author Nicholas C. Zakas */ "use strict"; //------------------------------------------------------------------------------ // Rule Definition //------------------------------------------------------------------------------ module.exports = function(context) { ...
{ "content_hash": "71ab5295744f53ce1c9ec0b1fdd9e4ef", "timestamp": "", "source": "github", "line_count": 89, "max_line_length": 86, "avg_line_length": 31.730337078651687, "alnum_prop": 0.4585694050991501, "repo_name": "zenners/angular-contacts", "id": "ceee20bd7c4de838472bd40542e9073bf77c8c16", "siz...
Un video juego en escencia es un gran bucle, comunmente conocido como 'Game Loop'. Cada iteración del bucle tiene como objetivo las siguiente tres cosas: 1. El video juego obtiene entradas de usuario. 2. Actualizacion dentro del mundo del juego ya sea cosas fisicas, personaje, inteligencia artificia o uso de la en...
{ "content_hash": "393013cd93ca10080b4b955fd8f3470d", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 529, "avg_line_length": 74.90322580645162, "alnum_prop": 0.8006029285099052, "repo_name": "imoralescs/imoralescs.github.io", "id": "faa3e0fc281faa4841c6935f7fe141f79303e6be",...
'use strict'; /** * Module dependencies */ var path = require('path'), config = require(path.resolve('./config/config')); /** * Announcements module init function. */ module.exports = function (app, db) { };
{ "content_hash": "44033bf230811255d5631f085c3f7e00", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 52, "avg_line_length": 15.5, "alnum_prop": 0.6359447004608295, "repo_name": "georgekach/assess", "id": "e8e9bd2fe3d7e1906510571844a7f0edb44011b5", "size": "217", "binary"...
from approver.models.models import * from approver.models.approve_models import * from approver.models.audit_trail_models import AuditTrail from approver.models.bridge_models import Registerable
{ "content_hash": "4ba16c04b73a4426ab5731a5ca76ee03", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 57, "avg_line_length": 48.75, "alnum_prop": 0.8461538461538461, "repo_name": "amberlallen/qipr_approver", "id": "9672ae1cb5bd2e3edfc1b65627ec9daaaa35d34c", "size": "195", ...
package org.spongepowered.common.statistic; import org.spongepowered.api.Sponge; import org.spongepowered.api.statistic.StatisticType; public interface TypedSpongeStatistic extends SpongeStatistic { @Override default StatisticType getType() { return Sponge.getRegistry().getType(StatisticType.class, ...
{ "content_hash": "e30c1712ba50fd2e0112e606e496e931", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 112, "avg_line_length": 26.928571428571427, "alnum_prop": 0.7559681697612732, "repo_name": "sanman00/SpongeCommon", "id": "f66756409e75e4fee57694be4586d1703bf64e54", "size"...
<meta charset="utf-8"> <title>{% if page.title %}{{ page.title }} &#8211; {% endif %}{{ site.title }}</title> <meta name="description" content="{% if page.description %}{{ page.description }}{% else %}{{ site.description }}{% endif %}"> {% if page.tags %}<meta name="keywords" content="{{ page.tags | join: ', ' }}">{% e...
{ "content_hash": "7162c7e250c72e7d59ee33e2cf701936", "timestamp": "", "source": "github", "line_count": 103, "max_line_length": 178, "avg_line_length": 56.320388349514566, "alnum_prop": 0.6155835200827443, "repo_name": "denty/PASS", "id": "73bb51421251df5d95f64547be460d45c053863a", "size": "5801", ...
.. _newtype-deriving: Generalised derived instances for newtypes ------------------------------------------ .. extension:: GeneralisedNewtypeDeriving GeneralizedNewtypeDeriving :shortdesc: Enable newtype deriving. :since: 6.8.1. British spelling since 8.6.1. Enable GHC's cunning generalis...
{ "content_hash": "4106ed8765db32f421d6d5e30979f9be", "timestamp": "", "source": "github", "line_count": 369, "max_line_length": 81, "avg_line_length": 35.21409214092141, "alnum_prop": 0.6733877174080345, "repo_name": "sdiehl/ghc", "id": "8e91e4fb162b32671369250ddb84204560c02564", "size": "12994", ...
<script src="./digitimate.js"></script> <script> function getParameterByName(name) { name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]"); var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"), results = regex.exec(location.search); return results === null ? "" : decodeURIComponent(results[1].r...
{ "content_hash": "0e1e551fc4430162bcb9bac29a7b6df5", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 89, "avg_line_length": 48.370370370370374, "alnum_prop": 0.6921898928024502, "repo_name": "jacob-ebey/digitimate", "id": "de32e6c40a10a4e7ab6012ded5df1fd72b0fac3f", "size":...
package msgraph import "context" // type WorkbookFunctionsBitrshiftRequestBuilder struct{ BaseRequestBuilder } // Bitrshift action undocumented func (b *WorkbookFunctionsRequestBuilder) Bitrshift(reqObj *WorkbookFunctionsBitrshiftRequestParameter) *WorkbookFunctionsBitrshiftRequestBuilder { bb := &WorkbookFunctions...
{ "content_hash": "aab4d885036a03dc51ac143b32ad33a4", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 147, "avg_line_length": 33.333333333333336, "alnum_prop": 0.815, "repo_name": "42wim/matterbridge", "id": "e4239b89926ecad01165288a5a23de7a566bf695", "size": "1050", "bin...
module Fog module Softlayer class DNS class Mock def get_domain_by_name(name) @softlayer_domains.each do |domain| if domain[:name] == name response = Excon::Response.new response.body = [ domain ] response.status = 200 re...
{ "content_hash": "2d0a7cc49e2fd358ad28b1dea362801a", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 80, "avg_line_length": 23.066666666666666, "alnum_prop": 0.5086705202312138, "repo_name": "fog/fog-softlayer", "id": "d8b3e40f882ab0529fd954ec05fbbcdcf5c2fd28", "size": "84...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head><meta http-equiv="content-type" content="text/html; charset=UTF-8" /> <title>ArrayListGenerator xref</title> <link type="tex...
{ "content_hash": "aa0ec2f9bc85c432bd34878f61429998", "timestamp": "", "source": "github", "line_count": 43, "max_line_length": 545, "avg_line_length": 97.81395348837209, "alnum_prop": 0.68188302425107, "repo_name": "namics/java-random", "id": "9865d633f90dd45408114511dec75cda8eafaa6a", "size": "443...
module CapistranoKitchen VERSION = "0.0.1" end
{ "content_hash": "ba7bd382ecddf9e3e99b5ca61a8389f2", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 24, "avg_line_length": 16.333333333333332, "alnum_prop": 0.7346938775510204, "repo_name": "donnoman/capistrano-kitchen", "id": "316d4411421d82d49cfb311413fe7a2e74eb057e", "s...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!-- Generated by Apache Maven Doxia Site Renderer 1.4 at 2017-05-03 --> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="tex...
{ "content_hash": "4b66a44af49deb53892365ba5eac18a8", "timestamp": "", "source": "github", "line_count": 125, "max_line_length": 207, "avg_line_length": 38.256, "alnum_prop": 0.45462149728147216, "repo_name": "afmappe/UniAndes", "id": "d6ab59739bcbde88df5bd53ab00392e722c4247e", "size": "4782", "bi...
<?php namespace Wf3\KikaBundle\Controller; use Symfony\Bundle\FrameworkBundle\Controller\Controller; class DefaultController extends Controller { public function indexAction($name) { return $this->render('Wf3KikaBundle:Default:index.html.twig', array('name' => $name)); } public functio...
{ "content_hash": "aed46974fc1dc3bc597027e0324b2ab2", "timestamp": "", "source": "github", "line_count": 107, "max_line_length": 94, "avg_line_length": 25.990654205607477, "alnum_prop": 0.6192017259978425, "repo_name": "rozennelies/iptoe", "id": "198919f5398793de04af54c41c9682153e690a09", "size": "2...
module Switchy class GitRepoError < StandardError; end end
{ "content_hash": "71821e01bfc0faf5c87bb7ed949e8c05", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 41, "avg_line_length": 20.333333333333332, "alnum_prop": 0.8032786885245902, "repo_name": "zoso10/switchy", "id": "9ec7c0245c2d0a42bc204359723e5cd8e77751eb", "size": "61", ...
package io.github.benas.jpopulator.beans; /** * A java bean for the Street type. * * @author Mahmoud Ben Hassine (mahmoud@benhassine.fr) */ public class Street { private int number; private byte type; private String name; public Street() { } public Street(int number, byte type, Strin...
{ "content_hash": "a13a59ec5b3b46ea64cfe4374374f00d", "timestamp": "", "source": "github", "line_count": 60, "max_line_length": 62, "avg_line_length": 18.766666666666666, "alnum_prop": 0.5630550621669627, "repo_name": "Toilal/jPopulator", "id": "6cc05107051b6d768f60ec6a63471eb48c681800", "size": "23...
package org.apereo.cas.authentication.bypass; import org.apereo.cas.authentication.Authentication; import org.apereo.cas.authentication.MultifactorAuthenticationProvider; import org.apereo.cas.services.RegisteredService; import lombok.extern.slf4j.Slf4j; import javax.servlet.http.HttpServletRequest; /** * Multifac...
{ "content_hash": "ffdb9121cd25ed70ed736fe3e5a04e56", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 123, "avg_line_length": 39.97142857142857, "alnum_prop": 0.6890636168691923, "repo_name": "rrenomeron/cas", "id": "1e6be20b8dade07922191c09a5a06d1b13470fbb", "size": "1399"...
EditAddressDialog::EditAddressDialog(Mode mode, QWidget *parent) : QDialog(parent), ui(new Ui::EditAddressDialog), mapper(0), mode(mode), model(0) { ui->setupUi(this); GUIUtil::setupAddressWidget(ui->addressEdit, this); switch(mode) { case NewReceivingAddress: setWindowTitle(tr("Ne...
{ "content_hash": "f6687e2899c1998fb83e30e061196a64", "timestamp": "", "source": "github", "line_count": 128, "max_line_length": 113, "avg_line_length": 27.828125, "alnum_prop": 0.6108927568781584, "repo_name": "markf78/dollarcoin", "id": "9242899e2e1d6e17a002768a4cc4d24a7ae8d2fd", "size": "3981", ...
package org.mcupdater.database; import org.mcupdater.util.MCUpdater; import java.nio.file.Path; import java.sql.*; import java.util.HashSet; import java.util.Properties; import java.util.Set; import java.util.logging.Level; public class DatabaseManager { private Connection conn; private String protocol = "j...
{ "content_hash": "e2a39dff1902197778c3daf45e0d6b51", "timestamp": "", "source": "github", "line_count": 65, "max_line_length": 92, "avg_line_length": 36.815384615384616, "alnum_prop": 0.583786042624321, "repo_name": "MCUpdater/MCU-API", "id": "5dfa42f60bf9addfa2af920f71e565ceeed83e09", "size": "239...
ifndef LG_RT_DIR $(error LG_RT_DIR variable is not defined, aborting build) endif # Flags for directing the runtime makefile what to include DEBUG ?= 1 # Include debugging symbols MAX_DIM ?= 3 # Maximum number of dimensions OUTPUT_LEVEL ?= LEVEL_DEBUG # Compile time logging level USE_CUDA ...
{ "content_hash": "4b02d5ba1211cab92bb686ecf08b8f7e", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 82, "avg_line_length": 32.916666666666664, "alnum_prop": 0.6016877637130802, "repo_name": "StanfordLegion/legion", "id": "b0ecd1ddcf576fe1ecc80a8f2cb9d4fe57b43b34", "size":...
<?xml version='1.0' encoding='UTF-8' standalone='no'?> <doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.7.6.1"> <compounddef id="classstd_1_1auto__ptr" kind="class" prot="public"> <compoundname>std::auto_ptr</compoundname> <templateparamlis...
{ "content_hash": "2f651e63ca35deb8f2506590072963ff", "timestamp": "", "source": "github", "line_count": 52, "max_line_length": 177, "avg_line_length": 44.30769230769231, "alnum_prop": 0.6449652777777778, "repo_name": "yinchunlong/abelkhan-1", "id": "0a51ca82edf152ad1a93c49fd13ab6d2565879c9", "size"...
--- uid: SolidEdgePart.Pattern.Profile summary: remarks: example: [*content] --- [!code-vb[Main](..\snippets\SolidEdgePart.Pattern.Profile.vb] [!code-csharp[Main](..\snippets\SolidEdgePart.Pattern.Profile.cs]
{ "content_hash": "2093bd18a72fae063cf099b80b1a76c0", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 65, "avg_line_length": 26.5, "alnum_prop": 0.7358490566037735, "repo_name": "SolidEdgeCommunity/docs", "id": "920a284bfb56b76e6101c350e1c6f067c36dd02c", "size": "214", "bi...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
{ "content_hash": "3dd4a511fdc91fe958c7dfca516bc22a", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 31, "avg_line_length": 9.692307692307692, "alnum_prop": 0.7063492063492064, "repo_name": "mdoering/backbone", "id": "7116e86fa413c2bf7f1c65885b604b7a9a44c46b", "size": "186...
@implementation DVTTextCompletionSession (ChangeMarks) + (void)load { Method original, swizzle; original = class_getInstanceMethod(self, NSSelectorFromString(@"handleTextViewShouldChangeTextInRange:replacementString:")); swizzle = class_getInstanceMethod(self, NSSelectorFromString(@"zen_handleTextViewShou...
{ "content_hash": "aa96c857563eb9be750b8825dbbd95be", "timestamp": "", "source": "github", "line_count": 52, "max_line_length": 131, "avg_line_length": 48.25, "alnum_prop": 0.6962933439617377, "repo_name": "revolter/ChangeMarks", "id": "c347a3927e6c1555dca564a0f3ba4dae1a4f32df", "size": "2811", "b...
<!DOCTYPE html> <html> <head> <title>child-src-worker-blocked</title> <script src="/resources/testharness.js"></script> <script src="/resources/testharnessreport.js"></script> <meta http-equiv="Content-Security-Policy" content="child-src 'none'; script-src 'unsafe-inline'; connect-src 'self';"> </head>...
{ "content_hash": "397318b8f80ac7f325a674803923d9a9", "timestamp": "", "source": "github", "line_count": 44, "max_line_length": 138, "avg_line_length": 39.61363636363637, "alnum_prop": 0.6219162363740677, "repo_name": "chromium/chromium", "id": "675cd95ea4f9fd375268ca614a85dd68740b2620", "size": "17...
namespace C4Server { class RequestLine : IC4RequestLine { public string Method { get; set; } public string Version { get; set; } public string RequestTarget { get; set; } } }
{ "content_hash": "89dcb25c852831f88aeb5b88e14fbeb3", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 49, "avg_line_length": 23.333333333333332, "alnum_prop": 0.6047619047619047, "repo_name": "lxconan/C4HttpServer", "id": "a93ef63fd3fe08ed18d79b191e502c268d2b6357", "size": "...
import os import sys sys.path.append('..') if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "demo.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
{ "content_hash": "20659f9e77c071fc056f93aec6abdd52", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 68, "avg_line_length": 22.545454545454547, "alnum_prop": 0.6935483870967742, "repo_name": "Alkemic/yaACL", "id": "c2de76d7d1c39ad5ac9708a482fa6b71f3c3e5b2", "size": "270", ...
require 'spec_helper' require 'tmpdir' describe GridiumS3 do let(:gridium_config) { Gridium.config } let(:project_name) { "spec" } let(:subdirectory_name) {"child_of_spec"} let(:empty_name) { "" } let(:whitespace_name) { "\t\r\n " } #tab, carriage return, newline, space let(:s3) { Gridium::GridiumS3.new(pr...
{ "content_hash": "5ce8ab6058fe5587cce37906ce7486cc", "timestamp": "", "source": "github", "line_count": 155, "max_line_length": 93, "avg_line_length": 38.13548387096774, "alnum_prop": 0.6339028929115209, "repo_name": "rizzza/gridium", "id": "49a0e1f79fca922d33042b37de41e3736ec5b462", "size": "5911"...
#include "tensorflow/core/common_runtime/simple_graph_execution_state.h" #include <memory> #include <string> #include <unordered_set> #include <vector> #include "tensorflow/core/common_runtime/device.h" #include "tensorflow/core/common_runtime/optimization_registry.h" #include "tensorflow/core/common_runtime/simple...
{ "content_hash": "84e8e85c9d7ce3cf4d1b47e2e41fa030", "timestamp": "", "source": "github", "line_count": 392, "max_line_length": 80, "avg_line_length": 40.65561224489796, "alnum_prop": 0.6831900608646546, "repo_name": "nightjean/Deep-Learning", "id": "b291a6f9948a889cf59d4616fd199bef80a77240", "size...
namespace preproc { class NodeVisitor; class Node { public: virtual ~Node(void); virtual void Accept(NodeVisitor& visitor) = 0; const Token& GetToken() const; protected: Node(void); Node(const Token& token); Token mToken; }; class NodeList : public Node { public: NodeList(void); virtual void Accept(Node...
{ "content_hash": "64c64c5fab4f44ad60150bbcdc043904", "timestamp": "", "source": "github", "line_count": 47, "max_line_length": 64, "avg_line_length": 16.170212765957448, "alnum_prop": 0.7171052631578947, "repo_name": "lambertjamesd/Krono", "id": "7a39dc6ad0a9e7d2d71a976107b4e270efbbb255", "size": "...
package net.danlew.android.joda; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import org.joda.time.DateTimeZone; import java.io.IOException; /** * Provides a method to initialize the {@link ResourceZoneInfoProvider} * and register a {@link TimeZoneChangedRecei...
{ "content_hash": "7a8a52d6277dfa6b698cb98bda5b5d59", "timestamp": "", "source": "github", "line_count": 48, "max_line_length": 111, "avg_line_length": 30.125, "alnum_prop": 0.6922544951590595, "repo_name": "netfirms/joda-time-android", "id": "58b403441db64ad86a5a65b5439507efe2104ed8", "size": "1446...
/** * @requires SuperMap/Format/XML.js * @requires SuperMap/Format/WFST.js */ /** * Class: SuperMap.Format.WFST.v1 * WFST类型解析器的超类。 * * Inherits from: * - <SuperMap.Format.XML> */ SuperMap.Format.WFST.v1 = SuperMap.Class(SuperMap.Format.XML, { /** * Property: namespaces * {Object} 命名空间别名与...
{ "content_hash": "9af31cd3b5aae12727ff0f94184824f9", "timestamp": "", "source": "github", "line_count": 437, "max_line_length": 121, "avg_line_length": 35.30205949656751, "alnum_prop": 0.48667919880728594, "repo_name": "SuperMap/iClient-for-JavaScript", "id": "a7a07f69c5ae59dc2beb37850c90cf36c0e3447a...
package com.pilaf.cs.users.biz; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import com.pilaf.cs.notification.biz.EmailBiz; import com.pilaf.cs.users.activator.UserActivator; import com.pilaf.cs.users.model.ESUser; import com.p...
{ "content_hash": "e34234d1957ba34cea2714437c9ce30b", "timestamp": "", "source": "github", "line_count": 76, "max_line_length": 106, "avg_line_length": 26.039473684210527, "alnum_prop": 0.8019201616978272, "repo_name": "rakocz88/castlesiege2.0", "id": "2ee813b4efac846ae82a5d149b3968f194c62b05", "siz...
#ifndef DMXINTERFACE_H #define DMXINTERFACE_H #include <QtCore> #define SETTINGS_TYPE_MAP "qlcftdi/typemap" #define SETTINGS_FREQ_MAP "qlcftdi/freqmap" class DMXInterface { /************************************************************************ * Construction & Generic Information *****************...
{ "content_hash": "dbbe6e6399af911c227dd3feb98b83ec", "timestamp": "", "source": "github", "line_count": 179, "max_line_length": 87, "avg_line_length": 31.592178770949722, "alnum_prop": 0.5971706454465076, "repo_name": "plugz/qlcplus", "id": "956adc6e5c7b361f8068edf2a3e7648e46494427", "size": "6316"...
/** * Created by YS on 2017-04-14. */ var authModel = { checkUserName : function(context, data) { return new Promise(function(resolved, rejected) { var select = [data.username]; var sql = `SELECT admin_username FROM admin_table WHERE admin_username = ? `...
{ "content_hash": "690d48cd6feea1e038e83219f06ca90f", "timestamp": "", "source": "github", "line_count": 333, "max_line_length": 87, "avg_line_length": 35.78378378378378, "alnum_prop": 0.4719704598858677, "repo_name": "TeamThresh/Lantern-api", "id": "8b990ee1cde34782485223b72fa75e0d65e9fe96", "size"...
.class Lcom/android/systemui/statusbar/phone/PanelView$10; .super Ljava/lang/Object; .source "PanelView.java" # interfaces .implements Landroid/animation/ValueAnimator$AnimatorUpdateListener; # annotations .annotation system Ldalvik/annotation/EnclosingMethod; value = Lcom/android/systemui/statusbar/phone/PanelV...
{ "content_hash": "62f194d776608acd911c872d84938da8", "timestamp": "", "source": "github", "line_count": 55, "max_line_length": 132, "avg_line_length": 28.181818181818183, "alnum_prop": 0.7690322580645161, "repo_name": "BatMan-Rom/ModdedFiles", "id": "32918179f71d729a68b64e0bb6c02428e4557191", "size...
#include "config.h" #include "MockWebPrerenderingSupport.h" #include <wtf/Assertions.h> MockWebPrerenderingSupport::MockWebPrerenderingSupport() { ASSERT(!current()); initialize(this); } MockWebPrerenderingSupport::~MockWebPrerenderingSupport() { ASSERT(current() == this); shutdown(); } void MockW...
{ "content_hash": "ec51e39700a34a53c906fa989f5a23d0", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 69, "avg_line_length": 17.633333333333333, "alnum_prop": 0.7561436672967864, "repo_name": "leighpauls/k2cro4", "id": "d667d886503559c849fc29678d8cd1b4cf08b136", "size": "20...
/* * Jitsi, the OpenSource Java VoIP and Instant Messaging client. * * Distributable under LGPL license. * See terms of license at gnu.org. */ package org.jitsi.impl.neomedia.transform.srtp; import org.bouncycastle.crypto.*; import org.jitsi.util.*; /** * Implements the interface <tt>org.bouncycastle.crypto.Dig...
{ "content_hash": "bd4fc2c1311f94fd68a31666b3170604", "timestamp": "", "source": "github", "line_count": 314, "max_line_length": 80, "avg_line_length": 24.777070063694268, "alnum_prop": 0.5057840616966581, "repo_name": "bebo/libjitsi", "id": "7b084c5b59378f11785556f02859ce65f54d0398", "size": "7780"...
#include "csvdocumentreader.h" #include "csvpage.h" pDocumentReader CsvDocumentReader::create(const std::string& filename) { return pDocumentReader(new CsvDocumentReader (filename)); } pPage CsvDocumentReader::get_page(const std::string &name) const { return pPage (new CsvPage (m_filename)); ...
{ "content_hash": "7324b5147fe95ba97777c7be2fdc338a", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 70, "avg_line_length": 21.44, "alnum_prop": 0.7052238805970149, "repo_name": "DonRumata710/Graphs", "id": "345a96917e5dfb9f6e9967fa61bfb046ff4bf685", "size": "1846", "bin...
from horizon import exceptions from horizon import forms from horizon import workflows from openstack_dashboard.api import nova from openstack_dashboard.dashboards.project.data_processing.utils \ import neutron_support import openstack_dashboard.dashboards.project.data_processing.utils. \ workflow_helpers as ...
{ "content_hash": "02b3a22aec097f06b02d5285f667f497", "timestamp": "", "source": "github", "line_count": 241, "max_line_length": 79, "avg_line_length": 37.14107883817427, "alnum_prop": 0.6021673556027259, "repo_name": "blueboxgroup/horizon", "id": "e680c945dbbacef201e4fc4fdf541cb1f01c3610", "size": ...
@font-face { font-family: 'mapbender-icons'; src: url('fonts/mapbender-icons.eot?69z024'); src: url('fonts/mapbender-icons.eot?69z024#iefix') format('embedded-opentype'), url('fonts/mapbender-icons.ttf?69z024') format('truetype'), url('fonts/mapbender-icons.woff?69z024') format('woff'), url('fonts/m...
{ "content_hash": "90c576ee03d73a90c11bc1719313d44e", "timestamp": "", "source": "github", "line_count": 157, "max_line_length": 123, "avg_line_length": 23.038216560509554, "alnum_prop": 0.674039259054465, "repo_name": "mapbender/icons", "id": "7b3ae3dfa1e28e28d4c17843c0890329d10ea59f", "size": "361...
'use strict' const test = require('tape') const path = require('path') const execFile = require('child_process').execFile const cliPath = path.resolve(__dirname, '../cli.js') test('cli', function (t) { t.plan(2) const options = { cwd: path.resolve(__dirname, 'fixture') } execFile(cliPath, ['xtend'], opti...
{ "content_hash": "e0f784ee357c907bb2a619ab6657428d", "timestamp": "", "source": "github", "line_count": 45, "max_line_length": 102, "avg_line_length": 31.733333333333334, "alnum_prop": 0.6288515406162465, "repo_name": "bendrucker/test-peer-range", "id": "a821645fad53c1ffde00e142640d3ea5b7067754", "...
<!DOCTYPE html> <html ng-app="sample" ng-controller="sample"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <script src="../lib/calendar.js"></script> <script src="../lib/astro.js"></script> <script src="../lib/jquery.min.js"></script> <scr...
{ "content_hash": "3d2f7bf62037fb440ed5c168df0749ab", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 78, "avg_line_length": 34.724137931034484, "alnum_prop": 0.631578947368421, "repo_name": "AlirezaHaghshenas/ui-persian-calendar", "id": "421595aed2b4b66f3a4babd41bcbe75e24293...
@interface UIDevice (TXHardware) + (NSString *)tx_platform; + (NSString *)tx_platformString; + (NSString *)tx_macAddress; //Return the current device CPU frequency + (NSUInteger)tx_cpuFrequency; // Return the current device BUS frequency + (NSUInteger)tx_busFrequency; //current device RAM size + (NSUInteger)tx_ramSi...
{ "content_hash": "c770985b1b327af2b0c0093e7de4f939", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 42, "avg_line_length": 24.483870967741936, "alnum_prop": 0.7483530961791831, "repo_name": "tlsion/TXCategories", "id": "35f10c01194b1354c82ebc47bd8068dab0383f1a", "size": "...
package org.dvcama.lodview.controllers; import org.dvcama.lodview.conf.ConfigurationBean; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; @Controller public class SPARQLController { @Autowi...
{ "content_hash": "a5954b6a230a8c2b7d84279610a03323", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 62, "avg_line_length": 27.15, "alnum_prop": 0.7808471454880295, "repo_name": "dvcama/LodView", "id": "0a04531c848958e3ccfc0bdfbb299310df889f8d", "size": "543", "binary": ...
module Util.Template ( substs ) where import Data.List (isPrefixOf) -- Simple templating system -- most of the existing tools are either too complicated -- or use $ (or even ${}) chars for variables, which is unfortunate -- for use with [ba]sh templates. type Substitution = (String, String) -- ...
{ "content_hash": "243f1f1f30fcc934d1ca9695a136e69d", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 74, "avg_line_length": 31.181818181818183, "alnum_prop": 0.6603498542274052, "repo_name": "Paczesiowa/hsenv", "id": "2eb7639685ae89d1d8bdbae0029969290cd3b872", "size": "686...
@implementation ModifyHomeNameCmd -(VIHOME_CMD)cmd { return VIHOME_CMD_MN; } -(NSDictionary *)payload { if(self.homeName.length){ [sendDic setObject:self.homeName forKey:@"homeName"]; } if (self.country.length) { [sendDic setObject:self.country forKey:@"country"]; } if...
{ "content_hash": "8c0137ca53c4f915d3757b8026f698ab", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 67, "avg_line_length": 18.08, "alnum_prop": 0.6349557522123894, "repo_name": "kenny2006cen/GYXMPP", "id": "8525fc039037c4c6894b701acac3f9a08d5a5323", "size": "613", "bina...
package mcjty.modtut; import mcjty.modtut.proxy.CommonProxy; import net.minecraftforge.common.config.Configuration; import org.apache.logging.log4j.Level; public class Config { private static final String CATEGORY_GENERAL = "general"; private static final String CATEGORY_DIMENSIONS = "dimensions"; publi...
{ "content_hash": "8e5b82137b37fe2fc5fe59c7c4754ccc", "timestamp": "", "source": "github", "line_count": 41, "max_line_length": 148, "avg_line_length": 38.5609756097561, "alnum_prop": 0.6793168880455408, "repo_name": "McJty/ModTutorials", "id": "821707dd11045aec4926d6df01d41f3ab54e4460", "size": "15...
package com.twitter.scalding import scala.annotation.tailrec import cascading.pipe._ import org.specs._ /* * Zip uses side effect construct to create zipped list. */ class Zip(args : Args) extends Job(args) { //import RichPipe._ def createState = new { var lastLine: String = null def release() {} } ...
{ "content_hash": "bc042ae9bb914e13ce07568fc3d1470d", "timestamp": "", "source": "github", "line_count": 105, "max_line_length": 142, "avg_line_length": 30.428571428571427, "alnum_prop": 0.553677621283255, "repo_name": "stripe/scalding", "id": "a3a505bb4f07e511aed25ca512805d149fa9c2cf", "size": "319...
// This file was generated by Mendix Business Modeler. // // WARNING: Code you write here will be lost the next time you deploy the project. package system.proxies; import com.mendix.core.Core; import com.mendix.core.CoreException; import com.mendix.systemwideinterfaces.core.IContext; import com.mendix.syste...
{ "content_hash": "1decc61dbd1966f736d69be4785367ea", "timestamp": "", "source": "github", "line_count": 596, "max_line_length": 172, "avg_line_length": 25.226510067114095, "alnum_prop": 0.6912537412703691, "repo_name": "mendix/TooltipImage", "id": "9a7c79bc41a7fbd552155d6a7bb9e40c4684ab32", "size":...
using System; using System.Collections.Generic; using MessagePack; using Newtonsoft.Json; using osu.Game.Replays.Legacy; using osu.Game.Scoring; namespace osu.Game.Online.Spectator { [Serializable] [MessagePackObject] public class FrameDataBundle { [Key(0)] public FrameHeader Header { g...
{ "content_hash": "e1b1adbead98f26f76d2ae0ea76b02a6", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 89, "avg_line_length": 24.272727272727273, "alnum_prop": 0.630461922596754, "repo_name": "UselessToucan/osu", "id": "0e59cdf4cec191cbc10d444ba52dccdacaddf966", "size": "969...
module Her # This class is where all HTTP requests are made. Before using Her, you must configure it # so it knows where to make those requests. In Rails, this is usually done in `config/initializers/her.rb`: class API # @private attr_reader :base_uri, :connection, :options # Constants FARADAY_OP...
{ "content_hash": "460942214b5b2a7fb9a88d7ffb3333eb", "timestamp": "", "source": "github", "line_count": 115, "max_line_length": 136, "avg_line_length": 38.530434782608694, "alnum_prop": 0.6283006093432634, "repo_name": "valo/her", "id": "a15781690d87e5da4b9da2f549bfe95af4859c0c", "size": "4431", ...
import os import pytest import capnp this_dir = os.path.dirname(__file__) # flake8: noqa: E501 @pytest.fixture def capability(): capnp.cleanup_global_schema_parser() return capnp.load(os.path.join(this_dir, 'test_capability.capnp')) class Server: def __init__(self, val=1): self.val = val d...
{ "content_hash": "7117ba1c17470761b4414118a2e2b0ee", "timestamp": "", "source": "github", "line_count": 269, "max_line_length": 430, "avg_line_length": 31.390334572490705, "alnum_prop": 0.6856939838938891, "repo_name": "SymbiFlow/pycapnp", "id": "e4d6fb6d5752cfd25be2e94b4e79e3dc4e487b89", "size": "...
import { FormlyJsonschema } from './formly-json-schema.service'; import { JSONSchema7 } from 'json-schema'; import { FormlyFieldConfig, FormlyTemplateOptions, FormlyFormBuilder, FormlyModule } from '@ngx-formly/core'; import { FormControl, FormGroup } from '@angular/forms'; import { inject, TestBed } from '@angular/cor...
{ "content_hash": "93e06f021a19c29066a0b86871e09eb0", "timestamp": "", "source": "github", "line_count": 1281, "max_line_length": 109, "avg_line_length": 33.91803278688525, "alnum_prop": 0.512508918502152, "repo_name": "formly-js/ng2-formly", "id": "bdba170470f30028bea42b3cb8574d3f25009b7b", "size":...
<?php namespace Jade\Filter; class Cdata extends AbstractFilter { }
{ "content_hash": "3372a067100fa495c9d130a52105f962", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 34, "avg_line_length": 10, "alnum_prop": 0.7571428571428571, "repo_name": "kylekatarnls/jade-php", "id": "3794d97b5d21aec989a7d8a07ea839f08b4bfa34", "size": "70", "binary"...