text
stringlengths
2
1.04M
meta
dict
package org.apache.flink.runtime.state; import org.apache.flink.util.ExceptionUtils; import javax.annotation.Nonnegative; import javax.annotation.Nonnull; import java.util.Set; import java.util.UUID; /** * State handle for local copies of {@link IncrementalRemoteKeyedStateHandle}. Consists of a {@link * Directo...
{ "content_hash": "47877267d74dce4ed37daece041e1bbd", "timestamp": "", "source": "github", "line_count": 131, "max_line_length": 99, "avg_line_length": 27.85496183206107, "alnum_prop": 0.6426418196766237, "repo_name": "rmetzger/flink", "id": "615e34800f63e4c0dfb79e7c21b270cb89cdbf53", "size": "4450"...
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Data.Entity; using System.Linq; using AutoMapper.QueryableExtensions; using AutoMapper.UnitTests; using Xunit; using Shouldly; using System.Diagnostics; namespace AutoMapper.IntegrationTests.Net4 { public class ExpandColle...
{ "content_hash": "4fd4e5ac54aac5c08e46a650c604ecac", "timestamp": "", "source": "github", "line_count": 115, "max_line_length": 184, "avg_line_length": 30.921739130434784, "alnum_prop": 0.578177727784027, "repo_name": "mjalil/AutoMapper", "id": "5ed3fc2997cc8e55f2f2c2e397e4895314e828ac", "size": "3...
{% if include.frame == false %} {% assign frame = false %} {% else %} {% assign frame = true %} {% endif %} {% assign fileName = page.path | split: '/' | last | split: '.' | first %} {% assign fileNameDate = fileName | truncate: 14 | replace: '...', '' %} {% assign postSlug = fileName | replace_first: fileNameDate, ...
{ "content_hash": "1b2bbcad147d7ec796e0476acf0e8931", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 113, "avg_line_length": 37.11764705882353, "alnum_prop": 0.5689381933438986, "repo_name": "x0v/x0v.github.io", "id": "70cbbf87c9401caece8c3ff0548af624a4683f8d", "size": "12...
import React from 'react' import Dialog from 'material-ui/lib/dialog' import FlatButton from 'material-ui/lib/flat-button' import bindMethods from '../../utils/bindMethods' /** * Usage: * * <DeleteDialog ref="deleteDialog" /> * * this.refs.deleteDialog.show({ * title: 'Delete scenario', * ...
{ "content_hash": "9182ae8e0066967f0a0bc903491f7bdc", "timestamp": "", "source": "github", "line_count": 91, "max_line_length": 82, "avg_line_length": 20.703296703296704, "alnum_prop": 0.5530785562632696, "repo_name": "vanpaz/vbi", "id": "b74a3a042ba79c9c691bcca2a5a94b3bc50df310", "size": "1884", ...
DIR="$(cd "$(dirname "$0")" && pwd)" #Copy dotfiles cd files for f in * do ln -snf $DIR/files/$f ~/.$f done cd .. #Initialize submodules git submodule update --init --recursive ./gnome-terminal-colors-solarized/install.sh ./vim/bootstrap.sh
{ "content_hash": "4bccfe6567ece2fcab8899af1f76a937", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 44, "avg_line_length": 16.533333333333335, "alnum_prop": 0.6693548387096774, "repo_name": "adibsaad/dotfiles", "id": "282d1a70635f051c824f8f6851f3867cf80fd85d", "size": "26...
<?xml version="1.0" encoding="UTF-8"?> <chapter version="5.0" xsi:schemaLocation="http://docbook.org/ns/docbook http://www.docbook.org/xml/5.0/xsd/docbook.xsd http://www.w3.org/1999/xlink http://www.docbook.org/xml/5.0/xsd/xlink.xsd" xml:base="../" xml:id="welcome" xmlns="http://docbook.org/ns/docbook...
{ "content_hash": "4abb45b80cdba05ac042899f65248d5d", "timestamp": "", "source": "github", "line_count": 71, "max_line_length": 180, "avg_line_length": 59.67605633802817, "alnum_prop": 0.7554873731413736, "repo_name": "cyberdrcarr/droolsjbpm-knowledge", "id": "8f0ff96968069931207fa64089512990f5729975"...
import { IQService } from 'angular'; import { IEcsLoadBalancerSourceData, IEcsLoadBalancer, IEcsTargetGroup } from '../domain/IEcsLoadBalancer'; export class EcsLoadBalancerTransformer { public static $inject = ['$q']; constructor(private $q: IQService) {} public normalizeLoadBalancer(loadBalancer: IEcsLoadBala...
{ "content_hash": "aad44402b92cc94eb38f5fd28b9a2327", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 107, "avg_line_length": 39.95, "alnum_prop": 0.7334167709637046, "repo_name": "ajordens/deck", "id": "0442b05eaac0f959ec8a40f07b2ab6346d39b6ba", "size": "799", "binary": ...
package org.apache.hadoop.hdfs; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; import java.io.FileNotFoundException; import java.io.IOException; import java.util.concurrent.TimeoutException; imp...
{ "content_hash": "21d81793c6870355fbe411a858ea6805", "timestamp": "", "source": "github", "line_count": 308, "max_line_length": 79, "avg_line_length": 38.98376623376623, "alnum_prop": 0.6900974431581577, "repo_name": "legend-hua/hadoop", "id": "c74bb632a745bb70411e394ffb4c599b3f2d0092", "size": "12...
<?php /* TwigBundle:Exception:traces_text.html.twig */ class __TwigTemplate_e0127da71765fb4613969d783c2c3218edd34d739768711e074492655a8ff7e7 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = a...
{ "content_hash": "f5f036b6175a93cfb3a4deffb5d6279b", "timestamp": "", "source": "github", "line_count": 77, "max_line_length": 416, "avg_line_length": 43.506493506493506, "alnum_prop": 0.6011940298507462, "repo_name": "royrobsen/my_project_name", "id": "093cb2f634b5aabb0b5a7c209ab8ff5509a6ba6c", "s...
describe('podio-js', function() { var PodioJS = require('../lib/podio-js'); var sinon = require('sinon'); describe('constructor', function() { it('should have version property', function() { var authOptions = { authType: 'client', clientId: 123, }; var instance = new Pod...
{ "content_hash": "d78f008906e6e4fa87ad0c84f35c9a6b", "timestamp": "", "source": "github", "line_count": 155, "max_line_length": 138, "avg_line_length": 32.13548387096774, "alnum_prop": 0.6374222043766312, "repo_name": "theflow/theflow-js", "id": "b72feaf889285b85a2e643730b6ee2b8bad6b540", "size": "...
ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
{ "content_hash": "ac6889e8570036664e80e912e1d1a983", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 10.307692307692308, "alnum_prop": 0.6940298507462687, "repo_name": "mdoering/backbone", "id": "78cdafd69b4097ce79ad4273ad9a30e93a0f8cdc", "size": "21...
module Spree class StaticContentController < StoreController rescue_from ActiveRecord::RecordNotFound, with: :render_404 helper 'spree/products' #layout :determine_layout def show @page = Spree::Page.by_store(current_store).visible.find_by_slug!(request.path) end private def dete...
{ "content_hash": "7820ca561d146d6ce687599f658c0d22", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 95, "avg_line_length": 25.52173913043478, "alnum_prop": 0.6746166950596252, "repo_name": "APohio/spree_static_content", "id": "365fb58d8b69bd8079ecf1dab023032bd99dd263", "s...
import * as React from 'react'; import { createStyles, withStyles, withTheme, WithTheme, WithStyles, makeStyles, CSSProperties, CreateCSSProperties, PropsFunc, } from '@material-ui/styles'; import Button from '@material-ui/core/Button'; import { Theme } from '@material-ui/core/styles'; import { expect...
{ "content_hash": "ae732b0b72088d5322e7880aae402f8e", "timestamp": "", "source": "github", "line_count": 497, "max_line_length": 98, "avg_line_length": 25.549295774647888, "alnum_prop": 0.6438809261300992, "repo_name": "mbrookes/material-ui", "id": "e2c63360118c993bf66f72f1e3f8a85352523e5d", "size":...
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex...
{ "content_hash": "6d67f4c852b8d6e2a0a10e0e9bcc75bd", "timestamp": "", "source": "github", "line_count": 5483, "max_line_length": 480, "avg_line_length": 23.22159401787343, "alnum_prop": 0.5845637900160221, "repo_name": "mattdesl/micromatch", "id": "5f9ba2ab3a8a4710bf299d380875f497f742404e", "size":...
/** * Provides utility and helper classes to easily prepare unit tests in a fluent manner. Whereas {@link * io.tourniquet.junit.Tourniquet} and {@link io.tourniquet.junit.ShrinkwrapHelper} are used for preparation of * the test, {@link io.tourniquet.junit.jcr.JCRAssert} is an enhancement to the JCR assertion of un...
{ "content_hash": "adaa50486ccf509998a110cd4c0fb657", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 111, "avg_line_length": 45.375, "alnum_prop": 0.7658402203856749, "repo_name": "tourniquet-io/tourniquet-junit", "id": "95bbc52edbdbdf9e8fc728a04122cb8efafcc1d9", "size": "9...
<?php $languageStrings = array( 'LBL_SELECT_PICKLIST_IN' => 'Seleccionar lista desplegable en' , 'LBL_ADD_VALUE' => 'Agregar Elemento' , 'LBL_RENAME_VALUE' => 'Renombrar Elemento' , 'LBL_DELETE_VALUE' => 'Eliminar Elemento' ...
{ "content_hash": "37f8f271d8eb1ec53d3387f322d8ae05", "timestamp": "", "source": "github", "line_count": 49, "max_line_length": 149, "avg_line_length": 66.91836734693878, "alnum_prop": 0.5678560536749009, "repo_name": "basiljose1/byjcrm", "id": "0d37223542e75ae2d29fd4424200d5fe7a9dff76", "size": "39...
layout: page title: Community Versioning for Rust Content --- Web content never expires. A blog post written in 2011 will live on in search engine results for years. [Rust](http://www.rust-lang.org/) has undergone a _lot_ of change over the last few years, often in completely incompatible ways. This means the Interne...
{ "content_hash": "f3ce9765087c6892b22ef6a237c9c8e5", "timestamp": "", "source": "github", "line_count": 41, "max_line_length": 151, "avg_line_length": 35.75609756097561, "alnum_prop": 0.762619372442019, "repo_name": "steveklabnik/rust-community-versions", "id": "3233a76568983156eafd893903fed57b0b80a6...
import argparse import fileinput import hashlib import sys from multiprocessing import Pool def get_hashes_and_lines(raw_line): hash = hashlib.md5(raw_line).hexdigest() return hash, raw_line def main(): parser = argparse.ArgumentParser() parser.add_argument("--workers", type=int, default=10) par...
{ "content_hash": "d42449cce57d4c0bf555a57487886bd2", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 68, "avg_line_length": 29.257142857142856, "alnum_prop": 0.59375, "repo_name": "pytorch/fairseq", "id": "50e458328c80b71c42a66d473381ca7e98d294da", "size": "1221", "binar...
Title: Hello Author: Andrew Tag: tags Date: 8 January 2015 @ 10:30pm Body: Hello Web! this is a test page Lorem ipsum, lorem ipsum, etc. This is a sentence in the second paragraph. Now the second paragraph is longer than it was. Three blind mice, three blind mice. See how they run, see how they run! They all ...
{ "content_hash": "fca7939f64f25e5567c39e9d20f80aa3", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 194, "avg_line_length": 35, "alnum_prop": 0.7342857142857143, "repo_name": "frenata/bleedy", "id": "66ae58e55fba96f2b68c2ed07ecd9164a950eab5", "size": "350", "binary": fa...
/** * This class is generated by jOOQ */ package net.feminaexlux.player.model.table; import net.feminaexlux.player.model.Key; import net.feminaexlux.player.model.Media; import net.feminaexlux.player.model.table.record.UserPlayedRecord; import org.jooq.Field; import org.jooq.ForeignKey; import org.jooq.Table; import ...
{ "content_hash": "40d9160beccd57483396a2e77a01c1c3", "timestamp": "", "source": "github", "line_count": 129, "max_line_length": 145, "avg_line_length": 25.48062015503876, "alnum_prop": 0.7134164891998783, "repo_name": "feminaexlux/spring-mvc-player", "id": "c2f11f7756988283486bc17776f7e17e55028a9f", ...
#include "sky/engine/config.h" #if !OS(WIN) && !OS(ANDROID) #include "third_party/skia/include/ports/SkFontConfigInterface.h" #endif #include <unicode/locid.h> #include "sky/engine/platform/NotImplemented.h" #include "sky/engine/platform/fonts/AlternateFontFamily.h" #include "sky/engine/platform/fonts/FontCache.h" #...
{ "content_hash": "51d4f30b8430857e1f7ae79c17b18d19", "timestamp": "", "source": "github", "line_count": 254, "max_line_length": 153, "avg_line_length": 40.85826771653543, "alnum_prop": 0.7371362497591059, "repo_name": "collinjackson/mojo", "id": "1663dfa2433dd01d58ff66026c27b11f432cd689", "size": "...
/* Getting the new tags to behave */ article, aside, audio, canvas, command, datalist, details, embed, figcaption, figure, footer, header, hgroup, keygen, meter, output, progress, section, source, video {display:block} mark, rp, rt, ruby, summary, time {display:inline} /* Left & Right alignment */ .left {float:left} ....
{ "content_hash": "debad5420d600834f14cbcf1e5cd4cd5", "timestamp": "", "source": "github", "line_count": 269, "max_line_length": 397, "avg_line_length": 69.05204460966543, "alnum_prop": 0.7538088829071332, "repo_name": "manuelj555/projectsynfony", "id": "9bd5c888c9e559d5b14b3a04a708994d611693f3", "s...
namespace Valve.VR { using System; using UnityEngine; public partial class SteamVR_Actions { private static SteamVR_Input_ActionSet_default p__default; private static SteamVR_Input_ActionSet_platformer p_platformer; private static SteamVR_Inpu...
{ "content_hash": "39d1a80ac60896ba696362dfe2d7ab89", "timestamp": "", "source": "github", "line_count": 63, "max_line_length": 175, "avg_line_length": 37.77777777777778, "alnum_prop": 0.5978991596638655, "repo_name": "davidezordan/MixedRealitySamples", "id": "8c9f80278ebe71b54574538c1ebc163300d5c95d"...
package io.gatling.core.check.extractor.css import java.util.{ List => JList } import scala.collection._ import scala.collection.JavaConverters._ import io.gatling.core.config.GatlingConfiguration import io.gatling.core.util.cache.Cache import com.github.benmanes.caffeine.cache.LoadingCache import jodd.csselly.{ C...
{ "content_hash": "b4f318f4caa634e9855be50aa032d282", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 110, "avg_line_length": 32.92307692307692, "alnum_prop": 0.7827102803738317, "repo_name": "MykolaB/gatling", "id": "c38de1893d1d8e615f72e31a6e03a78f2c54222a", "size": "1901...
module SpreeGiftWrapping class Engine < ::Rails::Engine isolate_namespace SpreeGiftWrapping initializer "spree.register.calculators_for_gift_wrappings" do |app| app.config.spree.calculators.gift_wrappings = [ Spree::Calculator::FlatPercentItemTotal, Spree::Calculator::FlatRate, ...
{ "content_hash": "fe7322636e60bf692828372289a2803f", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 83, "avg_line_length": 32.32, "alnum_prop": 0.629950495049505, "repo_name": "xmpolaris/spree_gift_wrapping", "id": "831a003f55937fd0790c17c744c5aa920ca3e084", "size": "808"...
import config from 'config'; import RadarrAPI from 'sonarr-api'; // Radarr API is identical to radarr for now import serverConfig from '~/api/config.js'; import {PROVIDER_TYPE} from '~/api/getProvider.js'; /** * @typedef {Object} MediaResult * @property {String} title * @property {String} slug * @property {Number...
{ "content_hash": "1c4904748eeb5db62832e2865d747734", "timestamp": "", "source": "github", "line_count": 124, "max_line_length": 95, "avg_line_length": 24.911290322580644, "alnum_prop": 0.6756231790223374, "repo_name": "josephschmitt/alexa-libby", "id": "d7b751dbe5daec38aca1b7ef04642a5340f5366a", "s...
import sys # # Handler # defines an interface for handling requests and # optionally implements the successor link # class Handler: def __init__(self): self._successor = None def setHandler(self, successor): self._successor = successor def handleRequest(self): if (self._successor is not None): ...
{ "content_hash": "99cd97fa33a198ba28671ee9f9b87503", "timestamp": "", "source": "github", "line_count": 54, "max_line_length": 48, "avg_line_length": 21.962962962962962, "alnum_prop": 0.6602023608768971, "repo_name": "JakubVojvoda/design-patterns-python", "id": "5a54c5e1daebeef7a07aa8512209b44cd2e478...
set(CMAKE_C_COMPILER "/Library/Developer/CommandLineTools/usr/bin/cc") set(CMAKE_C_COMPILER_ARG1 "") set(CMAKE_C_COMPILER_ID "AppleClang") set(CMAKE_C_COMPILER_VERSION "7.3.0.7030031") set(CMAKE_C_COMPILER_WRAPPER "") set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "11") set(CMAKE_C_COMPILE_FEATURES "c_function_prototypes;c_rest...
{ "content_hash": "3cfa61a553d11c8480c43ec3c0e2f664", "timestamp": "", "source": "github", "line_count": 67, "max_line_length": 123, "avg_line_length": 32.55223880597015, "alnum_prop": 0.7579092159559835, "repo_name": "dwildmark/CppLab", "id": "406da9846e06c8726ca41582e578bbddbd1875e0", "size": "218...
from __future__ import print_function import datetime import os import unittest import mock import nose import six from airflow import DAG, configuration, operators configuration.load_test_config() DEFAULT_DATE = datetime.datetime(2015, 1, 1) DEFAULT_DATE_ISO = DEFAULT_DATE.isoformat() DEFAULT_DATE_DS = DEFAULT_DAT...
{ "content_hash": "c34eae1335378a4333913baeb3d07a5b", "timestamp": "", "source": "github", "line_count": 340, "max_line_length": 88, "avg_line_length": 39.46764705882353, "alnum_prop": 0.5565243311722184, "repo_name": "gritlogic/incubator-airflow", "id": "fec5e69e916a4e5c5ddcb0789a97b0f14b471dd8", "...
include_recipe 'masala_base::default' # Apply ulmits (see attributes/default.rb) include_recipe "ulimit" #primary_if = node['network']['interfaces'][node['system']['primary_interface']] #primary_addrs = primary_if['addresses'] #primary_addrs_ipv4 = primary_addrs.select { |_addr, attrs| attrs['family'] == 'inet' } #pri...
{ "content_hash": "6d8485a35fbedacdcd319777bdd84106", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 87, "avg_line_length": 40.61538461538461, "alnum_prop": 0.7310606060606061, "repo_name": "PaytmLabs/masala_spark", "id": "549bec2c361fadac2fb4fed7c44ffdbea6058ca4", "size":...
<component name="libraryTable"> <library name="espresso-core-2.2.2"> <CLASSES> <root url="file://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support.test.espresso/espresso-core/2.2.2/res" /> <root url="jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support.test...
{ "content_hash": "0a9fa251c80fb023aded3783d6ee013f", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 157, "avg_line_length": 51.333333333333336, "alnum_prop": 0.6931818181818182, "repo_name": "chenjf0515/DouBiWeahter", "id": "14f6a08abc07b4075d36a4cf82a1a6e61deb0232", "siz...
require 'test_helper' class StatsControllerTest < ActionController::TestCase context "on GET to index" do setup do @number_of_gems = 1337 @number_of_users = 101 @number_of_downloads = 42 rails_cinco = create(:rubygem, name: 'rails_cinco', number: 1) Rubygem.stubs(:total_co...
{ "content_hash": "eb407e0147ac3ba08e10175c7dfb1a33", "timestamp": "", "source": "github", "line_count": 75, "max_line_length": 96, "avg_line_length": 26.866666666666667, "alnum_prop": 0.6158808933002481, "repo_name": "spk/rubygems.org", "id": "d9358dba08a9aa31373d943eb6223e2211563ab3", "size": "201...
package com.amazonaws.services.elasticloadbalancingv2.model; import javax.annotation.Generated; /** * <p> * A target group with the specified name already exists. * </p> */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class DuplicateTargetGroupNameException extends com.amazonaws.services.elasti...
{ "content_hash": "23c4c5679ee93c2a952222c4cd215ce5", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 144, "avg_line_length": 28.6, "alnum_prop": 0.737062937062937, "repo_name": "aws/aws-sdk-java", "id": "298971ee6bb213cf67dec6a538308932244d6dd1", "size": "1295", "binary"...
package io.druid.segment.loading; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableMap; import io.druid.timeline.DataSegment; import io.druid.timeline.partition.NoneShardSpec; import org.joda.time.Interval; import org.junit.Assert; import org.junit.Rule; import org.junit.Test...
{ "content_hash": "4bdf594d86522af62b2201d94ca2e83f", "timestamp": "", "source": "github", "line_count": 102, "max_line_length": 99, "avg_line_length": 31.519607843137255, "alnum_prop": 0.7216174183514774, "repo_name": "solimant/druid", "id": "8240adf2e291aec2ed11f4bc09b75ad9c8c47e8f", "size": "4020...
<!doctype html> <html> <head> <title>JavaScript</title> <script src="../js/shCore.js"></script> <script src="../js/shBrushJScript.js"></script> <link href="../css/styles.css" rel="stylesheet" /> <link href="../css/shCore.css" rel="stylesheet" /> <link href="../css/shThemeDefault.css" rel="styl...
{ "content_hash": "dcfff3fff934109bed8221dd4c500caa", "timestamp": "", "source": "github", "line_count": 38, "max_line_length": 74, "avg_line_length": 25, "alnum_prop": 0.6021052631578947, "repo_name": "nstublen/jccc-javascript-tutorial", "id": "10588cbd8e989afa5f17ba9ecc69ea4dadca6aed", "size": "95...
package com.viewpagerindicator; import android.support.v4.view.ViewPager; /** * A PageIndicator is responsible to show an visual indicator on the total views * number and the current visible view. */ public interface PageIndicator extends ViewPager.OnPageChangeListener { /** * Bind the indicator to a Vi...
{ "content_hash": "a8b6a534a55ce52e40306523e156aa0a", "timestamp": "", "source": "github", "line_count": 54, "max_line_length": 80, "avg_line_length": 24.333333333333332, "alnum_prop": 0.6385083713850838, "repo_name": "ivanovpv/darksms", "id": "5b6f1d505dcaa22e7ef3fd310d87a354cc9ae61f", "size": "164...
package approvers import ( "bytes" "encoding/json" "fmt" "math/rand" "path/filepath" "sort" "strings" "text/template" "github.com/golang/glog" "k8s.io/kubernetes/pkg/util/sets" "k8s.io/test-infra/mungegithub/features" c "k8s.io/test-infra/mungegithub/mungers/matchers/comment" ) const ( ownersFileName ...
{ "content_hash": "5294c3cb4a179aa164a57606d533e2c2", "timestamp": "", "source": "github", "line_count": 572, "max_line_length": 166, "avg_line_length": 32.44580419580419, "alnum_prop": 0.729457406110243, "repo_name": "mikedanese/test-infra", "id": "4db9490b8ba74a93fd12e656737548b65d17d074", "size":...
<?php /** * A "safe" script module. No inline JS is allowed, and pointed to JS * files must match whitelist. */ class HTMLPurifier_HTMLModule_SafeScripting extends HTMLPurifier_HTMLModule { public $name = 'SafeScripting'; public function setup($config) { // These definitions are not ...
{ "content_hash": "a2a48b0b2544f6910ab51f8c4238424e", "timestamp": "", "source": "github", "line_count": 37, "max_line_length": 89, "avg_line_length": 28.72972972972973, "alnum_prop": 0.5531514581373471, "repo_name": "acurrieclark/clocktower", "id": "68efc2bc2614fa5507a2e6238abd50f24730d0cd", "size"...
package archive // import "github.com/docker/docker/pkg/archive" import ( "archive/tar" "bufio" "bytes" "compress/bzip2" "compress/gzip" "context" "encoding/binary" "fmt" "io" "os" "path/filepath" "runtime" "strconv" "strings" "syscall" "time" "github.com/containerd/containerd/pkg/userns" "github.co...
{ "content_hash": "f14f6cf02c072e2450f375f47b7fb825", "timestamp": "", "source": "github", "line_count": 1447, "max_line_length": 143, "avg_line_length": 30.12854181064271, "alnum_prop": 0.6932975502339664, "repo_name": "nawawi/docker", "id": "fe8709305438e4c39dd474eb2036200b155d9d08", "size": "4359...
// Copyright 2020 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package p type T[_ any] int func f[_ any]() {} func g[_, _ any]() {} func _() { _ = f[T /* ERROR without instantiation */ ] _ = g[T /* ERROR without instan...
{ "content_hash": "4b009a65d6a89837b6130466ca5b5f83", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 82, "avg_line_length": 24.8, "alnum_prop": 0.6397849462365591, "repo_name": "CAFxX/go", "id": "58d0f69f6503164328feb8990baa1d4bbf201c52", "size": "372", "binary": false, ...
__author__ = 'yinjun' """ Definition of ListNode class ListNode(object): def __init__(self, val, next=None): self.val = val self.next = next """ class Solution: """ @param head: The first node of linked list. @param n: An integer. @return: The head of linked list. """ def r...
{ "content_hash": "b992920a5d3972e39b7c645d48189681", "timestamp": "", "source": "github", "line_count": 50, "max_line_length": 50, "avg_line_length": 19.46, "alnum_prop": 0.47687564234326824, "repo_name": "shootsoft/practice", "id": "1e92be259aaeb9790b5944419f10ffc6e332644e", "size": "973", "bina...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>mathcomp-analysis: Black list 🏴‍☠️</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstra...
{ "content_hash": "2af494aff6f793588e456bb5a530a67d", "timestamp": "", "source": "github", "line_count": 220, "max_line_length": 433, "avg_line_length": 46.877272727272725, "alnum_prop": 0.5661786095219625, "repo_name": "coq-bench/coq-bench.github.io", "id": "f4eb555ca6e5edde0dd4cccffb4490031b67efe4",...
namespace blink { class WebAudioSourceProviderClient; } namespace media { class MediaLog; // WebAudioSourceProviderImpl is either one of two things (but not both): // - a connection between a RestartableAudioRendererSink (the |sink_|) passed in // constructor and an AudioRendererSink::RenderCallback passed on Initi...
{ "content_hash": "f795c95c6be59410e48b5c35fc2d3882", "timestamp": "", "source": "github", "line_count": 100, "max_line_length": 80, "avg_line_length": 38.84, "alnum_prop": 0.73043254376931, "repo_name": "google-ar/WebARonARCore", "id": "aa4359547d86cc900dc0018d13b936b290db97b8", "size": "4536", "...
<html lang="en"> <head> <title>Extern - Using as</title> <meta http-equiv="Content-Type" content="text/html"> <meta name="description" content="Using as"> <meta name="generator" content="makeinfo 4.11"> <link title="Top" rel="start" href="index.html#Top"> <link rel="up" href="Pseudo-Ops.html#Pseudo-Ops" title="Pseudo O...
{ "content_hash": "ec07eccb256cd7a90f9fc0ce9ed3b1cb", "timestamp": "", "source": "github", "line_count": 55, "max_line_length": 144, "avg_line_length": 40.527272727272724, "alnum_prop": 0.7160161507402423, "repo_name": "trfiladelfo/tdk", "id": "302c35d2a72462705e005df0abfbd22509c7017e", "size": "222...
title: RDF Data Cube Vocabulary slug: rdf-data-cube-vocabulary description: <p>The standard provides a means to publish multi-dimensional data, such as statistics, on the web in such a way that it can be linked to related data sets and concepts using the W3C RDF (Resource Description Framework) standard. The model ...
{ "content_hash": "7100503bbd883a33c476f4f03a21b093", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 88, "avg_line_length": 37.68181818181818, "alnum_prop": 0.7720144752714113, "repo_name": "mtpain/metadata-directory", "id": "0a1a78582431f1dad4a834b82184d35dec1fe502", "siz...
ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
{ "content_hash": "ee25476a0691065cb27184163fe26188", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 10.307692307692308, "alnum_prop": 0.6940298507462687, "repo_name": "mdoering/backbone", "id": "f245c0e04562317af3300dbdc6128ad3bc50b2f5", "size": "19...
require 'spec_helper' describe Sprig::ProcessNotifier do it_behaves_like "a logging entity" do subject { described_class.new } end describe "#success" do let(:seed) { double('Seed', success_log_text: 'I am a teapot.') } it "logs the seed's success message" do log_should_receive(:info, with: '...
{ "content_hash": "1046c4d874741da098ab2c26036eb634", "timestamp": "", "source": "github", "line_count": 90, "max_line_length": 109, "avg_line_length": 30.033333333333335, "alnum_prop": 0.633370329263781, "repo_name": "ericbrooke/sprig", "id": "3dc037553e754c3386276cf971e14114a538a558", "size": "270...
from pages.internal_page import InternalPage from pages.blocks.film_form import FilmForm from selenium.webdriver.support.select import Select class CreateFilmPage(InternalPage): def __init__(self, driver, base_url): super(CreateFilmPage, self).__init__(driver, base_url) self.film_form = FilmForm(...
{ "content_hash": "6da6ff6052ddc09ad35513b337fc713c", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 62, "avg_line_length": 34.7, "alnum_prop": 0.7435158501440923, "repo_name": "katyast/Se-Python-17-Stoliarova", "id": "7c1edc400bc973a5d02c89c90407cb345e7caf28", "size": "34...
package com.greenpepper.phpsud.exceptions; import java.io.IOException; /** * <p>PHPTimeoutException class.</p> * * @author Bertrand Paquet * @version $Id: $Id */ public class PHPTimeoutException extends IOException { private static final long serialVersionUID = 6952107565934001419L; }
{ "content_hash": "f3bc260263999c93fc2e92cc1c614be0", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 67, "avg_line_length": 18.5625, "alnum_prop": 0.7508417508417509, "repo_name": "strator-dev/greenpepper-open", "id": "da2469f2625f5508b67b03bf6676ff1aba5f3f93", "size": "12...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
{ "content_hash": "0bd285d1030e7212e5739a382f1a470b", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 31, "avg_line_length": 9.692307692307692, "alnum_prop": 0.7063492063492064, "repo_name": "mdoering/backbone", "id": "ac97bd122f70bf50704a9c1420b88fdda10c1fac", "size": "187...
Contributors to repositories hosted in `openregister` are expected to follow the Contributor Covenant Code of Conduct, and those working within Government are also expected to follow the Civil Service Code ## Civil Service Code The [Civil Service Code](https://www.gov.uk/government/publications/civil-service-code/th...
{ "content_hash": "f9d67541ff302e1c0b03dfef5d29a325", "timestamp": "", "source": "github", "line_count": 86, "max_line_length": 143, "avg_line_length": 45.77906976744186, "alnum_prop": 0.8138176276352552, "repo_name": "openregister/openregister-java", "id": "b5fd473383d2dd79e36fe0261b1d8ed02e696c92", ...
/*****************************************************************************/ /* Include files */ /*****************************************************************************/ #include "simplelink.h" #ifndef __NETAPP_H__ #define __NETAPP_H__ #if...
{ "content_hash": "1b32a73ebed62d06e81ad9b39e82bf6d", "timestamp": "", "source": "github", "line_count": 851, "max_line_length": 194, "avg_line_length": 49.3454759106933, "alnum_prop": 0.5396375586407258, "repo_name": "runchip/zephyr-cc3200", "id": "3169213bde24595cd444fc79c926d70ba87926f1", "size":...
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <parent> <artifactId>base-smart</artifactId> ...
{ "content_hash": "df6db822f4e43aa67e4e958af1d44ed7", "timestamp": "", "source": "github", "line_count": 79, "max_line_length": 108, "avg_line_length": 34.49367088607595, "alnum_prop": 0.44587155963302755, "repo_name": "davidxiaozhi/smart", "id": "68d656095783969d85c52474f4aeb62103a07ed4", "size": "...
package org.wso2.carbon.identity.user.functionality.mgt.internal; import org.wso2.carbon.user.core.service.RealmService; import javax.sql.DataSource; /** * A class to keep the data of the user functionality manager component. */ public class UserFunctionalityManagerComponentDataHolder { private static UserF...
{ "content_hash": "9e5287f1a4b645b1d84f38fed5454a07", "timestamp": "", "source": "github", "line_count": 43, "max_line_length": 77, "avg_line_length": 22.976744186046513, "alnum_prop": 0.7338056680161943, "repo_name": "omindu/carbon-identity-framework", "id": "c662c75f54e321921dbb2d477c98ce86234bd536"...
import loader from './loader'; import util from './util'; export default function (filepath) { let config = util.getConfig(); if (config.eslint) { const compiler = loader.load('wepy-eslint'); if (!compiler) { util.warning('未安装wepy-eslint,执行npm install wepy-eslint --save-dev 或者在wep...
{ "content_hash": "80dbafb289329e05246c063b6a3275ff", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 109, "avg_line_length": 30, "alnum_prop": 0.5714285714285714, "repo_name": "TuhuFE/wepy", "id": "d01b2ab325ba24dee039cf790f01739947218a84", "size": "662", "binary": false...
package ru.prbb.common.validation; import javax.validation.ConstraintViolation; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; import java.io.Serializable; /** * @author lesinsa */ @XmlType public class Violation implements Serializable { /** * Путь к ...
{ "content_hash": "9150ebbeb16372f334f8d3a5e5bcb170", "timestamp": "", "source": "github", "line_count": 68, "max_line_length": 87, "avg_line_length": 23.764705882352942, "alnum_prop": 0.614480198019802, "repo_name": "lesinsa/horn-soft-pub", "id": "22a8f065c168e01862abeaaffa680e9674f31526", "size": ...
{% raw %}{% load wagtailadmin_tags %} {% load i18n %} <nav class="nav-main"> <ul> {{ menu_html }} <li class="menu-item"> <a href="/admin/collections/" class="icon icon-folder-open-1">Collections</a> </li> <li class="footer" id="footer"> <div class="a...
{ "content_hash": "49e34cad5a7bb0b6e168620c10c2d991", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 125, "avg_line_length": 39.76923076923077, "alnum_prop": 0.5058027079303675, "repo_name": "ilendl2/wagtail-cookiecutter-foundation", "id": "1ded87a825a08ab79d54299e5490230ac9...
if (process.env.NODE_ENV !== 'production') { window.console.dev = function(msg) { console.log(msg); }; // use it for hot reload module.exports = require('./Root.hot'); // enable it and don't forget to add back render() function // module.exports = require('./Root.dev'); } else { window.console.dev = function(...
{ "content_hash": "5a2777132f7959382c2937e1344ea4d8", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 60, "avg_line_length": 28.692307692307693, "alnum_prop": 0.6514745308310992, "repo_name": "SteamerTeam/steamer-react", "id": "a81d18fc59aa9a5ec74c8b964f4bbaf2e34a8905", "si...
const fs = require('fs-extra') const path = require('path') const babel = require('babel-core') module.exports = { fileExistsSync (path) { return fs.statSync(path).isFile() }, readDir (dirPath) { return new Promise(function (resolve, reject) { fs.readdir(path.resolve(dirPath), function (error, dirs...
{ "content_hash": "db7d3009000479f16e7916a45f21091f", "timestamp": "", "source": "github", "line_count": 94, "max_line_length": 105, "avg_line_length": 24.69148936170213, "alnum_prop": 0.5639810426540285, "repo_name": "bdjnk/cerebral", "id": "773623d068f46c1b1bd7110ab740133f7ef11cfe", "size": "2321"...
from __future__ import unicode_literals from django.conf import settings import django.contrib.auth.models import django.contrib.auth.validators from django.db import migrations, models import django.db.models.deletion import django.utils.timezone import foundation.models.base import foundation.models.fields import fo...
{ "content_hash": "c0e1f236536cd7548e73fab761977ba7", "timestamp": "", "source": "github", "line_count": 89, "max_line_length": 329, "avg_line_length": 56.17977528089887, "alnum_prop": 0.6124, "repo_name": "altio/foundation", "id": "a3ec3e290bb57459f131088381664d3dbce8ff04", "size": "5073", "binar...
package com.ciandt.techgallery.service.enums; import com.google.gson.annotations.SerializedName; public enum TowerEnum { @SerializedName("108") PACIFIC(108,"Pacific"), @SerializedName("134") PRODUCT_AND_LICENCES(134,"Product and Licences"), @SerializedName("27") RJ(27,"RJ"), @SerializedName("26") TELECOM(...
{ "content_hash": "51c4d17396c1b13f7e382e03b7b6f876", "timestamp": "", "source": "github", "line_count": 75, "max_line_length": 68, "avg_line_length": 25.253333333333334, "alnum_prop": 0.708025343189018, "repo_name": "sidharta/sales-gallery", "id": "c425df082d86072ceaf854be876d997a1b1866de", "size":...
var traverse = require('traverse') var type = require('type-component') var isostring = require('is-isodate') exports.encode = function encode (obj) { traverse(obj).forEach(function (d) { if (type(d) === 'date') this.update(d.toISOString()) }) return obj } exports.decode = function decode (obj) { traverse...
{ "content_hash": "be084ce0ec6100171b24825b2288404f", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 70, "avg_line_length": 25.88235294117647, "alnum_prop": 0.6522727272727272, "repo_name": "hden/isodate-convert", "id": "25f12857432b9fcfe8fc4dbc055c78e21bc07798", "size": "...
package garden import proto "github.com/gogo/protobuf/proto" import math "math" // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal var _ = math.Inf type TTY struct { WindowSize *TTY_WindowSize `protobuf:"bytes,1,opt,name=window_size" json:"window_size,omitempty"` XX...
{ "content_hash": "a680eeea3abcceec48483542f2381824", "timestamp": "", "source": "github", "line_count": 51, "max_line_length": 104, "avg_line_length": 25.333333333333332, "alnum_prop": 0.6493808049535603, "repo_name": "tsaleh/garden", "id": "ce5812cc00c2f6cbf72ba86cb67725f05fdf5c75", "size": "1368"...
from typing import Callable, TypeVar, Any, Union, Optional, Sequence, List, Tuple, Dict from typing_extensions import final, overload from abc import ABC, abstractmethod from collections.abc import Iterable import eagerpy as ep from ..models import Model from ..criteria import Criterion from ..criteria import Misclas...
{ "content_hash": "d46e6472cd8001af670e038381eefb29", "timestamp": "", "source": "github", "line_count": 499, "max_line_length": 95, "avg_line_length": 29.521042084168336, "alnum_prop": 0.5464666349874414, "repo_name": "bethgelab/foolbox", "id": "6eaa1690774824b49e0cd46f4dabc96eb2d3aadd", "size": "1...
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Immutable; using System.Diagnostics; using System.Threading; using Analyzer.Utilities; using Analyzer.Utilities.Extensions; using Mi...
{ "content_hash": "aafd9bb9d2738cd6479639b2b481f89c", "timestamp": "", "source": "github", "line_count": 130, "max_line_length": 210, "avg_line_length": 66.32307692307693, "alnum_prop": 0.759104616098353, "repo_name": "pakdev/roslyn-analyzers", "id": "b581afe7546af786973ba5b98aa4f37b46d2443c", "size...
<?xml version="1.0" encoding="utf-8"?> <resources> <color name="title_gray">#717171</color> <color name="dark_gray">#aaa</color> <color name="corner_shadow">#ccc</color> <color name="color_primary">#2196f3</color> <color name="color_primary_dark">#1976d2</color> <color name="color_accent"...
{ "content_hash": "ac1dd5bb9b9bed7c18525a2a163bbf19", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 52, "avg_line_length": 38.888888888888886, "alnum_prop": 0.64, "repo_name": "zzwwws/ZhihuDailyPurify", "id": "e9c05d65613f321194c8f2af3786437d4826eddf", "size": "350", "bi...
package org.apache.hadoop.yarn.server.api.protocolrecords.impl.pb; import java.util.HashSet; import java.util.Set; import org.apache.hadoop.yarn.api.records.ContainerId; import org.apache.hadoop.yarn.api.records.impl.pb.ContainerIdPBImpl; import org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto; import org.apa...
{ "content_hash": "6398fa229fd2598a0113b635e0982e7e", "timestamp": "", "source": "github", "line_count": 141, "max_line_length": 100, "avg_line_length": 25.113475177304963, "alnum_prop": 0.7209827732279017, "repo_name": "yncxcw/PreemptYARN-2.7.1", "id": "41bed7a09315d7d2eb3c74092b2c5374b07fdfe2", "s...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windo...
{ "content_hash": "0c1d6946f420d49191dda212c2eafad0", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 52, "avg_line_length": 23.814814814814813, "alnum_prop": 0.6842923794712286, "repo_name": "gembaf/Fortaggle", "id": "20ad4a892a3f43a1c88cf7b40a742483a548e3d7", "size": "663...
layout: post title: "Hasil Rapat Persiapan Halal Bi Halal 2" date: 2015-07-28 06:00:00 permalink: "hasil-rapat2-10-tahun-smansa-2005" description: "Hasil Rapat 2 menuju Halal Bi Halal 10 Tahun IKA Smansa 2005 Makassar" --- Berikut ini adalah Hasil Rapat 2 yang dilaksanakan di rumah Sdr. A. Mala Indira (Mapong) pada t...
{ "content_hash": "d5edd6621931324a9686174229e50256", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 135, "avg_line_length": 50.578947368421055, "alnum_prop": 0.7898022892819979, "repo_name": "novrian/1dekade-2005-sites", "id": "a0c1c1413293f3e4db58d52929e1ecf390d4d89b", "...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Smart Twitter Sentiment Analysis On Tweets &amps; Hashtags</title> </head> <body> <div id="app"></d...
{ "content_hash": "83517b01cab7eae3473f341d42ea9ab3", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 77, "avg_line_length": 25.333333333333332, "alnum_prop": 0.6289473684210526, "repo_name": "adeelibr/stsath", "id": "5f4433f434fb99b7ff0ea492dff71068d927c6c5", "size": "380"...
title: acy25 type: products image: /img/Screen Shot 2017-05-09 at 11.56.54 AM.png heading: y25 description: lksadjf lkasdjf lksajdf lksdaj flksadj flksa fdj main: heading: Foo Bar BAz description: |- ***This is i a thing***kjh hjk kj # Blah Blah ## Blah![undefined](undefined) ### Baah image1: ...
{ "content_hash": "3db0f965499a1d256b9a898fc6e4781f", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 61, "avg_line_length": 22.333333333333332, "alnum_prop": 0.6656716417910448, "repo_name": "pblack/kaldi-hugo-cms-template", "id": "2290ffbfba8bfcaab4e941b16e35bb18b064e1a0", ...
#import <Foundation/Foundation.h> #if TARGET_OS_IPHONE #import <CFNetwork/CFNetwork.h> #if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_4_0 #import <UIKit/UIKit.h> // Necessary for background task support #endif #endif #import <stdio.h> #import "ASIHTTPRequestConfig.h" #import "ASIHTTPRequestDelegate.h"...
{ "content_hash": "bb5baba429be6e18354b41025a360c01", "timestamp": "", "source": "github", "line_count": 983, "max_line_length": 260, "avg_line_length": 45.408952187182095, "alnum_prop": 0.7797567040795752, "repo_name": "ludaye123/SangforSDK", "id": "55be2659ef330e76a3ee4cbb4735c6cdfbb49257", "size"...
using System.Windows.Input; using Sketching.Tool; using Xamarin.Forms; namespace Sketching.Views { public partial class SketchToolbarItem : ContentView { public static readonly BindableProperty SelectionColorProperty = BindableProperty.Create(nameof(SelectionColor), typeof(Color), typeof(SketchToolbarItem)...
{ "content_hash": "d7182f8925be17015beb1808bbd468cd", "timestamp": "", "source": "github", "line_count": 51, "max_line_length": 199, "avg_line_length": 30.686274509803923, "alnum_prop": 0.731629392971246, "repo_name": "xeterixon/Sketching", "id": "ddcb06e29de6beb0cc0b2e4c52f2cf92ee6d0706", "size": "...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Cl...
{ "content_hash": "9b83390c75df85c8d06745c9106e1b02", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 84, "avg_line_length": 38.861111111111114, "alnum_prop": 0.7455325232308792, "repo_name": "Mobicents/restcomm-sdk-dotnet", "id": "e60f7cd98e729f14221bba7a6a8569ad79f1c07a", ...
NS_ASSUME_NONNULL_BEGIN @protocol ABI43_0_0EXUserNotificationCenterService - (void)requestAuthorizationWithOptions:(UNAuthorizationOptions)options completionHandler:(void (^)(BOOL granted, NSError *__nullable error))completionHandler; - (void)setNotificationCategories:(NSSet<UNNotificationCategory *> *)categories; -...
{ "content_hash": "62bf5957903f4b2520b776d3893599b4", "timestamp": "", "source": "github", "line_count": 40, "max_line_length": 159, "avg_line_length": 42.55, "alnum_prop": 0.8037602820211516, "repo_name": "exponentjs/exponent", "id": "ef178a020518682c49c9ae727b9a08c67e302891", "size": "1901", "bi...
 using SolutionZ.StandAloneWidget; namespace StandAloneWidget.Models.Search { public class AirportDistanceModel { public Airport Airport { get; set; } public double DistanceToCity { get; set; } } }
{ "content_hash": "23fdd86c76b32552da86007046ccbd7d", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 50, "avg_line_length": 22.7, "alnum_prop": 0.6872246696035242, "repo_name": "DanielCruz4th/StandAloneWidgetZ", "id": "0e4337e5a27ff1ee4b0446a49c5040005e81a68c", "size": "22...
class Solution(object): def isSameTree(self, p, q): """ :type p: TreeNode :type q: TreeNode :rtype: bool """ # if node p and q dont exist then True if not p and not q: return True # if one of them doesnt exist return false if not p ...
{ "content_hash": "cb279c3d81c5da490cc7f59e4da62817", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 103, "avg_line_length": 37.1875, "alnum_prop": 0.5764705882352941, "repo_name": "young-geng/leet_code", "id": "d270efffeafc67ad7ee43c3b9a086b40372795ae", "size": "810", "...
#ifndef __UX_DARWIN_FCNTL_H # define __UX_DARWIN_FCNTL_H 1 /* fcntl() cmd values */ /* fcntl() file descriptor flags */ /* fcntl() locking types */ /* open flags */ /* create file if it does not exist */ # define O_CREAT 0x000200 /* exclusive use flag */ # define O_EXCL ...
{ "content_hash": "c05244bcfb6aa61f2f30497285cb70da", "timestamp": "", "source": "github", "line_count": 51, "max_line_length": 67, "avg_line_length": 27.41176470588235, "alnum_prop": 0.5443490701001431, "repo_name": "coreux/libunistd", "id": "b39a45eb88cbdddf707f172c417d8a01118f177d", "size": "2003...
package com.example.zcp.recyclerviewdemo; /** * Created by 赵晨璞 on 2016/6/16. */ public class Meizi { public String getUrl() { return url; } public void setUrl(String url) { this.url = url; } private String url; public int getPage() { return page; } public v...
{ "content_hash": "e18339d31a9c33e2c0c252e720166907", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 41, "avg_line_length": 15.423076923076923, "alnum_prop": 0.5660847880299252, "repo_name": "weiwenqiang/GitHub", "id": "9340704ab97bc50c21c747b35f0aca5543244651", "size": "4...
package org.jboss.qa.brms.performance.localsearch.tsp; import java.util.Collections; import org.jboss.qa.brms.performance.examples.Examples; import org.jboss.qa.brms.performance.examples.tsp.TravelingSalesmanExample; import org.jboss.qa.brms.performance.examples.tsp.solution.TSPSolutionInitializer; import org.jboss.q...
{ "content_hash": "9653a6cefdfd8c7455f7ff78532f603d", "timestamp": "", "source": "github", "line_count": 58, "max_line_length": 114, "avg_line_length": 52.172413793103445, "alnum_prop": 0.8017184401850628, "repo_name": "droolsjbpm/kie-benchmarks", "id": "a9ba920fa670a3b93dec038e73d9998db76a6bdb", "s...
<!doctype html> <title>fieldset accessibility test: position: absolute legend</title> <link rel=help href=https://w3c.github.io/html-aam/#fieldset-element-accessible-name-computation> <style> legend { position: absolute; } </style> <fieldset id=fieldset> <legend>Foo</legend> <input> </fieldset> <p>Expected accessibl...
{ "content_hash": "99b1733d9d02fc699435f5aee8321ed7", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 97, "avg_line_length": 31.818181818181817, "alnum_prop": 0.7514285714285714, "repo_name": "ric2b/Vivaldi-browser", "id": "019e63fcd3644236516a72b5796d063eb00eb36e", "size":...
/*! * @module compute/rule */ 'use strict'; var nodeutil = require('util'); /** * @type {module:common/serviceObject} * @private */ var ServiceObject = require('../common/service-object.js'); /** * @type {module:common/util} * @private */ var util = require('../common/util.js'); /*! Developer Documentati...
{ "content_hash": "0e55af4a9974d6cf8af7d8195874c6bd", "timestamp": "", "source": "github", "line_count": 234, "max_line_length": 155, "avg_line_length": 31.28205128205128, "alnum_prop": 0.6602459016393443, "repo_name": "pcostell/gcloud-node", "id": "e08c24352570682c31c685a56cc4cb61a46c7339", "size":...
<?xml version="1.0" encoding="UTF-8"?> <plugin xmlns="http://cordova.apache.org/ns/plugins/1.0" id="fr.edps.cordova.powermanagement" version="1.0.2"> <name>PowerManagement</name> <description>PowerManagement plugin for Cordova</description> <license>Apache 2.0</license> <keywords>cordova...
{ "content_hash": "3ba24e7c7e7bb8bbe75ba413d03be82a", "timestamp": "", "source": "github", "line_count": 62, "max_line_length": 114, "avg_line_length": 35.016129032258064, "alnum_prop": 0.5831414094887148, "repo_name": "jimibi/cordova-plugin-powermanagement", "id": "644e3e71260696a0eb0264e880206fe78f7...
'use strict'; var path = require('path'); var _ = require('lodash'); function requiredProcessEnv(name) { if(!process.env[name]) { throw new Error('You must set the ' + name + ' environment variable'); } return process.env[name]; } // All configurations will extend these options // =========================...
{ "content_hash": "c3a6d2d4d279af6722bc77ebdda3aba8", "timestamp": "", "source": "github", "line_count": 50, "max_line_length": 89, "avg_line_length": 21.72, "alnum_prop": 0.5616942909760589, "repo_name": "davidtimmons/hackafinder", "id": "ff128daef910dc5f808a90d2b431fbddcacd9361", "size": "1086", ...
title: aiz31 type: products image: /img/Screen Shot 2017-05-09 at 11.56.54 AM.png heading: z31 description: lksadjf lkasdjf lksajdf lksdaj flksadj flksa fdj main: heading: Foo Bar BAz description: |- ***This is i a thing***kjh hjk kj # Blah Blah ## Blah![undefined](undefined) ### Baah image1: ...
{ "content_hash": "e72531fffa0e722acbaa639f55f7a062", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 61, "avg_line_length": 22.333333333333332, "alnum_prop": 0.6656716417910448, "repo_name": "pblack/kaldi-hugo-cms-template", "id": "2afd2c498999648bca1b584bae3dfc092d632168", ...
package com.microsoft.azure.spring.cloud.autoconfigure.context; import com.microsoft.azure.AzureEnvironment; import com.microsoft.azure.credentials.AzureTokenCredentials; import com.microsoft.azure.management.Azure; import com.microsoft.azure.spring.cloud.context.core.api.CredentialsProvider; import com.microsoft.azur...
{ "content_hash": "b6d9b9040a18bb5509e9b76147d9d60a", "timestamp": "", "source": "github", "line_count": 90, "max_line_length": 118, "avg_line_length": 45.01111111111111, "alnum_prop": 0.7269809923475685, "repo_name": "selvasingh/azure-sdk-for-java", "id": "96391f3cf0d7fb2d8d605374660e900ee5d8fe8e", ...
/* -*- mode: java; c-basic-offset: 2; indent-tabs-mode: nil -*- */ /* Part of the Processing project - http://processing.org Copyright (c) 2011-12 Ben Fry and Casey Reas This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as publi...
{ "content_hash": "615d285ce4df2f13efaba14d62f60768", "timestamp": "", "source": "github", "line_count": 542, "max_line_length": 80, "avg_line_length": 27.437269372693727, "alnum_prop": 0.6333804048147401, "repo_name": "d2fn/passage", "id": "8821861c979f6515c8bf85874d1db16c882e07ec", "size": "14871"...
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') describe OSDb::MovieFile do subject do OSDb::MovieFile.new(File.dirname(__FILE__) + '/../fixtures/somemovie.avi') end its(:hash) { should == '243339b48f4e8741' } its(:name) { should == 'somemovie' } describe '#sub_path' do ...
{ "content_hash": "f515796abad8c01fa4af2fce9d11c76d", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 94, "avg_line_length": 32.111111111111114, "alnum_prop": 0.657439446366782, "repo_name": "byroot/ruby-osdb", "id": "adf03742d9d844038d8575293a3622089cee622d", "size": "578"...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Cloud API asynchronous "DOC To PDF" job example (allows to avoid timeout errors).</title> </head> <body> <?php // Cloud API asynchronous "DOC To PDF" job example. // Allows to avoid timeout errors when processing huge or scanned PDF docume...
{ "content_hash": "2625de5b88f250a588c595cfd95e2804", "timestamp": "", "source": "github", "line_count": 176, "max_line_length": 193, "avg_line_length": 28.681818181818183, "alnum_prop": 0.5221870047543582, "repo_name": "bytescout/ByteScout-SDK-SourceCode", "id": "a2591936a0e6811e602485fa8ca896dea3554...
package liquibase.sqlgenerator.core; import liquibase.CatalogAndSchema; import liquibase.database.Database; import liquibase.database.core.*; import liquibase.datatype.DatabaseDataType; import liquibase.exception.ValidationErrors; import liquibase.logging.LogFactory; import liquibase.sql.Sql; import liquibase.sql.Unpa...
{ "content_hash": "d97644f125cddb2bc0713a6355804b24", "timestamp": "", "source": "github", "line_count": 317, "max_line_length": 336, "avg_line_length": 50.44479495268139, "alnum_prop": 0.61484585079107, "repo_name": "CoderPaulK/liquibase", "id": "6c5441d04088a055bcea51416b00ab624a586466", "size": "...
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <repositories> <repository> <id>atlassian-public</id> ...
{ "content_hash": "690c271d0db6fa3e8ef8ddd148c15866", "timestamp": "", "source": "github", "line_count": 100, "max_line_length": 201, "avg_line_length": 37.8, "alnum_prop": 0.5648148148148148, "repo_name": "schubergphilis/tableau-confluence-plugin", "id": "8496760370d4a5d473ff02ac636a7b192453ffc7", ...
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _ Partial Class Pair Inherits System.Windows.Forms.Form 'Form remplace la méthode Dispose pour nettoyer la liste des composants. <System.Diagnostics.DebuggerNonUserCode()> _ Protected Overrides Sub Dispose(ByVal disposing As Boolean) ...
{ "content_hash": "888b4c4248dfd5526b2702c02e40ff6d", "timestamp": "", "source": "github", "line_count": 387, "max_line_length": 166, "avg_line_length": 40.7390180878553, "alnum_prop": 0.6417607509831282, "repo_name": "cedced19/iced", "id": "a474598159fc0d5a07da15482f3635c1758c1b29", "size": "15776"...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>hammer: Not compatible</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" re...
{ "content_hash": "e0d0c8ee64e29bc10ba1f9b058f601b4", "timestamp": "", "source": "github", "line_count": 179, "max_line_length": 159, "avg_line_length": 41.87150837988827, "alnum_prop": 0.5585056704469646, "repo_name": "coq-bench/coq-bench.github.io", "id": "c6a1230943ac0e41de56b3b6d7eb717f58fe722b", ...
import axios from "axios"; import { API } from "../api"; import { success, info } from "../toast/toast"; import { history } from "../history"; import { Actions } from "../constants"; import { destroy, initSave, initSaveGetId } from "../api/crud"; import { unpackUUID } from "../util"; import { isString } from "lodash"; ...
{ "content_hash": "e1daa97aa27a6d6cdbe17660b1eb48db", "timestamp": "", "source": "github", "line_count": 108, "max_line_length": 80, "avg_line_length": 35.48148148148148, "alnum_prop": 0.6672755741127349, "repo_name": "FarmBot/Farmbot-Web-API", "id": "ee1e1861ada45564863558ad7a24e7b30083bd62", "size...
<?php // Check for empty fields if(empty($_POST['name']) || empty($_POST['email']) || empty($_POST['phone']) || empty($_POST['message']) || !filter_var($_POST['email'],FILTER_VALIDATE_EMAIL)) { echo "No arguments Provided!"; return false; } $name = strip_tags(htmlspecialchars($_POST['name']...
{ "content_hash": "4952c90a605eed711952c569d780b392", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 187, "avg_line_length": 46.69230769230769, "alnum_prop": 0.6894563426688632, "repo_name": "jlopez08/jlopez08.github.io", "id": "150b9c76e777f3823ffbe882dfb75b0ede25bcda", "...
export function parseDirective(statement: any, context: any, type: any): void; export function clear(): void; export function setAxisFormat(txt: any): void; export function getAxisFormat(): string; export function setTodayMarker(txt: any): void; export function getTodayMarker(): string; export function setDateFormat(tx...
{ "content_hash": "a0ede8d521ee04f94d5510244e46d43b", "timestamp": "", "source": "github", "line_count": 93, "max_line_length": 102, "avg_line_length": 36.913978494623656, "alnum_prop": 0.7023011942907078, "repo_name": "cdnjs/cdnjs", "id": "b7d3f6669738c5d4f4ff4912a5640db3c8e3aa7f", "size": "3433", ...
namespace ssfs { namespace http { class HttpStatusLine { public: HttpStatusLine() = default; HttpStatusLine(const std::string& protocol, int status, const std::string& reason); std::string protocol_version; int status_code; std::string reason_phrase; std::string format()...
{ "content_hash": "a8303254de6b297b9764098cb02408cb", "timestamp": "", "source": "github", "line_count": 40, "max_line_length": 55, "avg_line_length": 23.7, "alnum_prop": 0.6244725738396625, "repo_name": "boryas/ssfs", "id": "acb3b50d61ffedeb39340e98a059b3b97cc62545", "size": "1063", "binary": fal...
from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('myapp', '0001_initial'), ] operations = [ migrations.AddField( model_name='streetlighting', name='code', field=m...
{ "content_hash": "88a3652d709806039baefa76f2c07154", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 64, "avg_line_length": 24.68, "alnum_prop": 0.5688816855753647, "repo_name": "mpetyx/energagement", "id": "84136729378cb754160d92f2e5d4ba1ed3f56cb2", "size": "641", "bina...
title: L.esri.IdentifyImage layout: documentation.hbs --- # {{page.data.title}} Extends [`L.esri.Task`]({{assets}}api-reference/tasks/task.html) `L.esri.IdentifyImage` is an abstraction for the Identify API found in Image Services. It provides a chainable API for building request parameters and executing the request...
{ "content_hash": "9f0136328b8925735b469ec9f0ecc49d", "timestamp": "", "source": "github", "line_count": 129, "max_line_length": 304, "avg_line_length": 42.333333333333336, "alnum_prop": 0.5797472990294817, "repo_name": "Esri/esri-leaflet-doc", "id": "6c0084fe5dc21f665d0dd1b32c1db1b5171ec747", "size...
import logging import openpyxl logger = logging.getLogger(__name__) def write_xls(sheet_name, head, data_list): """write listed data into excel """ try: wb = openpyxl.Workbook() ws = wb.get_active_sheet() except Exception as e: logger.error(e) return None ws.title...
{ "content_hash": "e2607e5768c0fe312c9611862ce52015", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 64, "avg_line_length": 22.21212121212121, "alnum_prop": 0.5566166439290586, "repo_name": "saukrIppl/seahub", "id": "ce0b7c6d818f5f7d487209917a492e6d631484b1", "size": "733"...