text stringlengths 2 1.04M | meta dict |
|---|---|
const Rails = window.Rails
const _ = window._
import { Controller } from "@hotwired/stimulus"
// This controller has 3 related functions
// - Keep a users session alive
// Keep the user's session alive if they are 'active' (there are keypresses,
// clicks or resize events on the same page) by sending a throttled a... | {
"content_hash": "f40f69c33dbf8332b2446f69d4a0d0b2",
"timestamp": "",
"source": "github",
"line_count": 222,
"max_line_length": 125,
"avg_line_length": 41.7972972972973,
"alnum_prop": 0.7318676581528182,
"repo_name": "airslie/renalware-core",
"id": "873e41a075b41d4d7a7e2f7dc7e28549d57decfd",
"size"... |
package com.dozenx.game.engine.ui.toolbar.view;
import cola.machine.game.myblocks.engine.Constants;
import cola.machine.game.myblocks.model.ui.html.Document;
import cola.machine.game.myblocks.model.ui.html.HtmlObject;
import cola.machine.game.myblocks.registry.CoreRegistry;
import com.dozenx.game.engine.Role.controlle... | {
"content_hash": "fa5eaa381e4bf439099b925e17d426eb",
"timestamp": "",
"source": "github",
"line_count": 76,
"max_line_length": 95,
"avg_line_length": 31.81578947368421,
"alnum_prop": 0.6509511993382961,
"repo_name": "ColaMachine/MyBlock",
"id": "f78e118b9ba12373e5e8bd256c8056818be3e538",
"size": "2... |
<?php
namespace Application;
use Zend\Mvc\ModuleRouteListener;
use Zend\Mvc\MvcEvent;
class Module
{
public function onBootstrap(MvcEvent $e)
{
$e->getApplication()->getServiceManager()->get('translator');
$eventManager = $e->getApplication()->getEventManager();
$moduleRouteListener ... | {
"content_hash": "754bee355dbae1e11ca94ffd89efde4b",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 136,
"avg_line_length": 28.23404255319149,
"alnum_prop": 0.549359457422758,
"repo_name": "HaroldVillacorte/lhprod",
"id": "4abe6a9651df7b36472e4751c6766e62c4a611eb",
"size"... |
module.exports = require('./choo-devtools.js')
| {
"content_hash": "473bbc200b9eb519a1783d64bd1383f8",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 46,
"avg_line_length": 47,
"alnum_prop": 0.723404255319149,
"repo_name": "michalczaplinski/choo-devtools",
"id": "80a5e2b453e0e584da77d653915b899f1f13d065",
"size": "47",
... |
/*
* This file is part of the swblocks-baselib library.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appl... | {
"content_hash": "d14a0bc9951d7e6cdeac5aeae381d29e",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 75,
"avg_line_length": 35.666666666666664,
"alnum_prop": 0.7436582109479306,
"repo_name": "lazar-ivanov/swblocks-baselib",
"id": "f794b50e64b40f733a9d9cc76bf6910aabcc59b2",
... |
package org.apache.phoenix.iterate;
import java.text.Format;
import java.util.Collections;
import java.util.Iterator;
import java.util.List;
import java.util.NoSuchElementException;
import org.apache.hadoop.hbase.client.Consistency;
import org.apache.hadoop.hbase.client.Scan;
import org.apache.hadoop.hbase.filter.Fi... | {
"content_hash": "addbdc268360bb15125e1f9615cf3151",
"timestamp": "",
"source": "github",
"line_count": 277,
"max_line_length": 140,
"avg_line_length": 41.768953068592054,
"alnum_prop": 0.5997407087294728,
"repo_name": "rvaleti/phoenix",
"id": "1fa4526cb37fc08c9a710756fef3da4aaa9964cf",
"size": "12... |
#include <errno.h>
#include <limits.h>
#include <algorithm>
#include "io_interface.h"
#include "associative_cache.h"
#include "dirty_page_flusher.h"
#include "safs_exception.h"
#include "memory_manager.h"
namespace safs
{
const long default_init_cache_size = 128 * 1024 * 1024;
template<class T>
void page_cell<T>... | {
"content_hash": "8d6b55e51b29353fad8e792b3d5804b3",
"timestamp": "",
"source": "github",
"line_count": 1604,
"max_line_length": 96,
"avg_line_length": 27.66770573566085,
"alnum_prop": 0.6344892854728588,
"repo_name": "icoming/FlashX",
"id": "b83df6cdd8fe46dd8ad7b982c025d249fb754d14",
"size": "4509... |
import {EventEmitter} from '../../../src/facade/async';
import {NgZone} from '@angular/core/src/zone/ng_zone';
export {EventEmitter, Observable} from '../../../src/facade/async';
/**
* Message Bus is a low level API used to communicate between the UI and the background.
* Communication is based on a channel abstract... | {
"content_hash": "739f4a647a13a072dd971d8f5bf8c24a",
"timestamp": "",
"source": "github",
"line_count": 87,
"max_line_length": 96,
"avg_line_length": 37.13793103448276,
"alnum_prop": 0.7168059424326834,
"repo_name": "tyleranton/angular",
"id": "410b55d0acf74643e53372cb998b7db8451d774f",
"size": "32... |
package org.apache.accumulo.core.client.mapreduce;
import static java.util.Objects.requireNonNull;
import java.io.IOException;
import java.util.List;
import java.util.Map;
import org.apache.accumulo.core.client.IteratorSetting;
import org.apache.accumulo.core.client.security.tokens.AuthenticationToken;
import org.a... | {
"content_hash": "b7ea8ffa4ea83e183644f1f883cff7a4",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 99,
"avg_line_length": 37.95238095238095,
"alnum_prop": 0.7330614805520702,
"repo_name": "keith-turner/accumulo",
"id": "a6986bbbb5e3d967529125e02ab8a84671f0a397",
"size": ... |
namespace WcfServiceHost
{
using ReturnSubstringFromString;
using System;
using System.ServiceModel;
using System.ServiceModel.Description;
public class Program
{
public static void Main()
{
var url = "http://127.0.0.1:9876";
var behavior = new ServiceM... | {
"content_hash": "ef5927854c965efc46a0ed3c5bbc2e22",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 84,
"avg_line_length": 23.035714285714285,
"alnum_prop": 0.5813953488372093,
"repo_name": "juvemar/WebApi-Cloud-Wcf",
"id": "8a8101a750a31479d1f3f73ba45aaada073a6b60",
"siz... |
use warnings;
use strict;
package qbasic;
use parent '_c_base';
1;
| {
"content_hash": "6deda3a48498f85eef6eaaf1b9f4eee8",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 21,
"avg_line_length": 9.857142857142858,
"alnum_prop": 0.6956521739130435,
"repo_name": "pragma-/pbot",
"id": "f33373ba86218d1c62048eb9bf8af0c1d5dd0676",
"size": "189",
"... |
package com.intellij.javaee;
import com.intellij.ide.util.PropertiesComponent;
import com.intellij.openapi.project.ProjectManager;
import com.intellij.xml.Html5SchemaProvider;
import jakarta.inject.Inject;
import jakarta.inject.Singleton;
/**
* @author Eugene.Kudelevsky
*/
@Singleton
public class DefaultHtmlDoctype... | {
"content_hash": "50daa56890fba7b12bb9cbc34ef31be6",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 149,
"avg_line_length": 32.73076923076923,
"alnum_prop": 0.8284371327849589,
"repo_name": "consulo/consulo-xml",
"id": "b6afb7660f035d3b1ec7cd5df960f985da816fd1",
"size": "... |
<?xml version="1.0" encoding="utf-8"?>
<doc>
<assembly>
<name>Nokia.Graphics.Imaging.Managed</name>
</assembly>
<members>
<member name="T:Nokia.Graphics.Imaging.CustomEffectBase">
<summary>
Base class for custom user-defined effects.
</summary>
</member>
<member name... | {
"content_hash": "905862c59fec8a745d55b14bba1fe377",
"timestamp": "",
"source": "github",
"line_count": 401,
"max_line_length": 320,
"avg_line_length": 61.089775561097255,
"alnum_prop": 0.7014736498346736,
"repo_name": "dut09/RGBDVideoStreams",
"id": "40340a5d318d25bfc705505df8ecf756d625e373",
"siz... |
/**
* This module contains some common helpers shared between middlewares
*/
'use strict'
const mime = require('mime')
const parseRange = require('range-parser')
const log = require('../logger').create('web-server')
function createServeFile (fs, directory, config) {
const cache = Object.create(null)
return fun... | {
"content_hash": "f4e79055e125ac5a2820dc1ce858c6a7",
"timestamp": "",
"source": "github",
"line_count": 105,
"max_line_length": 93,
"avg_line_length": 32.03809523809524,
"alnum_prop": 0.6459571938168847,
"repo_name": "maksimr/karma",
"id": "3c84fbc9d1d193475079b928f4cff43cc43a0d87",
"size": "3364",... |
package org.apereo.cas.logout;
import java.net.URL;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apereo.cas.authentication.principal.WebApplicationService;
/**
* Define a logout request for a service accessed by a user.
*
* @author Jerome Leleu
* @since 4.0.0
*/
public class DefaultLogout... | {
"content_hash": "8cc5fc7af6f55ccdbb54fe6c98346732",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 114,
"avg_line_length": 26.142857142857142,
"alnum_prop": 0.6592151018380527,
"repo_name": "pmarasse/cas",
"id": "0f2ec1075d552eabd1c4da2c8495ae352a7de29f",
"size": "2013",... |
#ifndef ELEMDDLUDREXTERNALSECURITY_H
#define ELEMDDLUDREXTERNALSECURITY_H
/* -*-C++-*-
******************************************************************************
*
* File: ElemDDLUdrExternalSecurity.h
* Description: class for UDR External Security (parse node) elements in
* DDL statements
*
... | {
"content_hash": "08514e32eac2238ed621ab2bde8d545b",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 78,
"avg_line_length": 22.285714285714285,
"alnum_prop": 0.6354166666666666,
"repo_name": "robertamarton/incubator-trafodion",
"id": "19e2a19e16dac0f09f056719348356961d539db5... |
package net.glowstone.generator.populators.overworld;
import net.glowstone.generator.decorators.overworld.DoublePlantDecorator.DoublePlantDecoration;
import net.glowstone.generator.decorators.overworld.MushroomDecorator;
import net.glowstone.generator.decorators.overworld.TreeDecorator.TreeDecoration;
import net.glows... | {
"content_hash": "d429b58aac24e3dbc40a1364008472df",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 108,
"avg_line_length": 41.39344262295082,
"alnum_prop": 0.7556435643564356,
"repo_name": "GlowstonePlusPlus/GlowstonePlusPlus",
"id": "eda97156e4fb0b64418b51d8c7070357c62b65... |
package blade.migrate.liferay70;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
import java.io.File;
import java.util.List;
import org.junit.Before;
import org.junit.Test;
import blade.migrate.api.Problem;
public class ConvertPr... | {
"content_hash": "41cad82bb3a035cd44a8c68a179caaae",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 107,
"avg_line_length": 26.047619047619047,
"alnum_prop": 0.7787934186471663,
"repo_name": "dnebinger/blade.tools",
"id": "0f421b6b6b8630beb6db2c08a258fceb79084ea7",
"size"... |
namespace Google.Cloud.Dialogflow.Cx.V3.Snippets
{
// [START dialogflow_v3_generated_Versions_CreateVersion_async]
using Google.Cloud.Dialogflow.Cx.V3;
using Google.LongRunning;
using System.Threading.Tasks;
public sealed partial class GeneratedVersionsClientSnippets
{
/// <summary>Snip... | {
"content_hash": "e0018b153faa8d16d18e56b8c0a0c9aa",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 146,
"avg_line_length": 48.04347826086956,
"alnum_prop": 0.6606334841628959,
"repo_name": "jskeet/google-cloud-dotnet",
"id": "60438bab49a77e7c7eb069e42089706f50e1df59",
"s... |
package org.apache.activemq.artemis.core.journal.impl;
import java.io.Serializable;
import java.nio.ByteBuffer;
import java.security.AccessController;
import java.security.PrivilegedAction;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashMap;
import java.uti... | {
"content_hash": "519fe18bca3f017626e8d7a2e246f8b7",
"timestamp": "",
"source": "github",
"line_count": 2874,
"max_line_length": 148,
"avg_line_length": 34.48016701461378,
"alnum_prop": 0.5768951319932187,
"repo_name": "mtaylor/activemq-artemis",
"id": "24bb91607d5a4b5dc5fdb069a025057f88beccb3",
"s... |
package ninja.utils;
import static org.junit.Assert.assertEquals;
import org.junit.Test;
/**
* CookieDataCodec and CookieDataCodecTest are imported from Play Framework.
*
* Enables us to use the same sessions as Play Framework if
* the secret is the same.
*
* Also really important because we want to make s... | {
"content_hash": "aee69621bec1560b51cda39a2155ca06",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 104,
"avg_line_length": 33.220588235294116,
"alnum_prop": 0.7118193891102258,
"repo_name": "StetsiukRoman/ninja",
"id": "948a9bad7cb37fb29ec848878c33e32f629ce34c",
"size": ... |
{-
(c) The University of Glasgow 2006
(c) The AQUA Project, Glasgow University, 1998
Desugaring foreign declarations (see also DsCCall).
-}
{-# LANGUAGE CPP #-}
module DsForeign ( dsForeigns
, dsForeigns'
, dsFImport, dsCImport, dsFCall, dsPrimCall
, dsFExport, dsF... | {
"content_hash": "ed48e1b934086f6f944771ddd93f28a7",
"timestamp": "",
"source": "github",
"line_count": 817,
"max_line_length": 116,
"avg_line_length": 38.67931456548347,
"alnum_prop": 0.5431473687541534,
"repo_name": "da-x/ghc",
"id": "acea47c57ba156ce07816e4a70823be02d854b04",
"size": "31601",
... |
class Libtensorflow < Formula
include Language::Python::Virtualenv
desc "C interface for Google's OS library for Machine Intelligence"
homepage "https://www.tensorflow.org/"
url "https://github.com/tensorflow/tensorflow/archive/v2.3.0.tar.gz"
sha256 "2595a5c401521f20a2734c4e5d54120996f8391f00bb62a57267d930bc... | {
"content_hash": "7a0f506b1cb2b1bb9e7f15d0a7b4f87b",
"timestamp": "",
"source": "github",
"line_count": 147,
"max_line_length": 113,
"avg_line_length": 36.054421768707485,
"alnum_prop": 0.6598113207547169,
"repo_name": "maxim-belkin/homebrew-core",
"id": "339bffdf0646e73113a08b454a95f68329f1c188",
... |
from collections import deque;
if __name__ == "__main__":
queue = deque()
print (queue)
queue.append(2)
queue.append(4)
queue.append(6)
print (queue)
queue.popleft()
print (queue)
queue.pop()
print (queue) | {
"content_hash": "026a0455cc2e53a14e9da0b2fb2ab52a",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 30,
"avg_line_length": 13.944444444444445,
"alnum_prop": 0.5657370517928287,
"repo_name": "cprakashagr/PythonClass",
"id": "a59cfc2890a23ed6898f2f13c8d363941190eb9b",
"size... |
/** @file
@brief Implementation
@date 2015
@author
Sensics, Inc.
<http://sensics.com/osvr>
*/
// Copyright 2015 Sensics, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the L... | {
"content_hash": "b78df9c9fe0d002d187c92074d507730",
"timestamp": "",
"source": "github",
"line_count": 94,
"max_line_length": 80,
"avg_line_length": 32.297872340425535,
"alnum_prop": 0.5922266139657444,
"repo_name": "d235j/OSVR-Core",
"id": "eacec88a5c49a2df773c97cb9288ff22f303fc7b",
"size": "3036... |
<?php namespace You;
use Redirect;
use View;
use Auth;
use Input;
use Session;
use Ki\Validators\User as UserValidator;
use Ki\Validators\Profile as ProfileValidator;
use Ki\Common\Exceptions\ValidationException;
use Ki\Common\Uploader\UploaderInterface;
use Ki\Common\Uploader\UploadFailedException;
class SettingsC... | {
"content_hash": "fe82cd183769cd469817f3ff1f928cfd",
"timestamp": "",
"source": "github",
"line_count": 104,
"max_line_length": 103,
"avg_line_length": 23.884615384615383,
"alnum_prop": 0.6574074074074074,
"repo_name": "srph/e-dental",
"id": "04742b692930b46d58f2acd9d106008063ca85d7",
"size": "2484... |
require 'test_helper'
class RssSourceTest < ActionDispatch::IntegrationTest
# test "the truth" do
# assert true
# end
end
| {
"content_hash": "763b4738bd9f17ee2a9697ffdf72bc4f",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 53,
"avg_line_length": 18.714285714285715,
"alnum_prop": 0.7175572519083969,
"repo_name": "camumino/feed_twitter_bot",
"id": "23ffe521850ae3a82e013cf847eb353af09faba8",
"siz... |
The :mod:`nova..volume.driver` Module
==============================================================================
.. automodule:: nova..volume.driver
:members:
:undoc-members:
:show-inheritance:
| {
"content_hash": "1690bb37154dab042a889e3b3f557472",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 78,
"avg_line_length": 34,
"alnum_prop": 0.43137254901960786,
"repo_name": "termie/nova-migration-demo",
"id": "51f5c07295c09ef033da2481c0dff58dfc4810ef",
"size": "204",
"... |
package org.apache.jackrabbit.jcr2spi;
import javax.jcr.Repository;
import javax.jcr.RepositoryException;
import org.apache.jackrabbit.spi.XASessionInfo;
import org.apache.jackrabbit.jcr2spi.config.RepositoryConfig;
import javax.transaction.xa.XAResource;
/**
* <code>HippoXASessionImpl</code> extends the regular s... | {
"content_hash": "7b8e56deb0ad513cc76088113f972636",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 82,
"avg_line_length": 31.73913043478261,
"alnum_prop": 0.6856164383561644,
"repo_name": "canhnt/hippo-repo-xacml",
"id": "f2ca605d721604524ef159ce127394cfc3193ef0",
"size"... |
<?php
/*
Safe sample
input : Get a serialize string in POST and unserialize it
sanitize : use of intval
construction : use of sprintf via a %u
*/
/*Copyright 2015 Bertrand STIVALET
Permission is hereby granted, without written agreement or royalty fee, to
use, copy, modify, and distribute this software and its d... | {
"content_hash": "11e43496699acec10a60c22f4d635b11",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 123,
"avg_line_length": 24.861538461538462,
"alnum_prop": 0.7407178217821783,
"repo_name": "stivalet/PHP-Vulnerability-test-suite",
"id": "8e3de1f2a3ce0d72b0dc8b48e0e0c440a71... |
define({
define : {
allow : "*",
require : [
"morphism",
"transistor",
"event_master",
],
},
make : function ( define ) {
var event_circle, body, option_name,
default_value = define.option.default_value || define.option.choice[0]
body = this.library.transistor.make(this.define_body(... | {
"content_hash": "6ece77245732daf9feb88e0718707e76",
"timestamp": "",
"source": "github",
"line_count": 200,
"max_line_length": 108,
"avg_line_length": 28.13,
"alnum_prop": 0.5776750799857803,
"repo_name": "spiralnebula/tabularasa",
"id": "38c90318421e207eebe5f8b9b96e51988aa51257",
"size": "5626",
... |
/**
\file statusmessage.h
\brief Class provides to read and write actions of osspecialization status file
\date 07-03-2012 09:46:03
\author Jayashree Singanallur (jayasing)
*/
/*----------------------------------------------------------------------------*/
#... | {
"content_hash": "c0d5265b6f851b3bbfec47e65fa6f011",
"timestamp": "",
"source": "github",
"line_count": 147,
"max_line_length": 96,
"avg_line_length": 30.496598639455783,
"alnum_prop": 0.34708900289984385,
"repo_name": "Microsoft/SCVMMLinuxGuestAgent",
"id": "239bc7d398a3693185bc9887e7da71a574752b24"... |
package infodynamics.measures.mixed;
import infodynamics.utils.EmpiricalMeasurementDistribution;
import infodynamics.measures.continuous.ConditionalMutualInfoCalculatorMultiVariate;
/**
* A conditional mutual information calculator between a joint set of continuous variables,
* and a discrete variable,... | {
"content_hash": "b5a1b9c595658e65cd42ef673fd3994a",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 106,
"avg_line_length": 36.25,
"alnum_prop": 0.7649867374005305,
"repo_name": "jmmccracken/ECA",
"id": "2482d889fc3ca236e54fe8926c6338032aa40138",
"size": "2658",
"binary... |
package cz.znj.kvr.sw.exp.java.spring.concurrent;
import org.junit.Assert;
import org.junit.Test;
import org.springframework.util.concurrent.ListenableFutureCallback;
import org.springframework.util.concurrent.SettableListenableFuture;
import java.util.concurrent.CancellationException;
import java.util.concurrent.ato... | {
"content_hash": "eceb1d1408a601595402451a6a30a4eb",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 83,
"avg_line_length": 28.594594594594593,
"alnum_prop": 0.7301512287334594,
"repo_name": "kvr000/zbynek-java-exp",
"id": "6cc155ff75129974b22fc8eda6db1e403c352bff",
"size"... |
use ast::*;
use ast;
use ast_util;
use codemap::{respan, Span, Spanned};
use parse::token;
use owned_slice::OwnedSlice;
use util::small_vector::SmallVector;
use std::rc::Rc;
use std::gc::{Gc, GC};
pub trait Folder {
// Any additions to this trait should happen in form
// of a call to a public `noop_*` functio... | {
"content_hash": "48c6fec7afaeb9d17d0bfcbb2543fa5e",
"timestamp": "",
"source": "github",
"line_count": 1294,
"max_line_length": 97,
"avg_line_length": 35.475270479134466,
"alnum_prop": 0.5137348872671822,
"repo_name": "erickt/rust",
"id": "7deabed04b824505eb4c754f9ce60f35f2bffa5b",
"size": "46850"... |
.class Lcom/android/internal/widget/ActionBarView$HomeView;
.super Landroid/widget/FrameLayout;
.source "ActionBarView.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/android/internal/widget/ActionBarView;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
... | {
"content_hash": "2ce90904015cabbe016359cac673e011",
"timestamp": "",
"source": "github",
"line_count": 999,
"max_line_length": 161,
"avg_line_length": 25.873873873873872,
"alnum_prop": 0.687867533271433,
"repo_name": "shumxin/FlymeOS_A5DUG",
"id": "134c4c463cfa47eca8d06790d1feeda401efc58c",
"size"... |
package org.apache.jmeter.functions;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
import javax.xml.parsers.ParserConfigurationException;
import javax.xml.transform.TransformerException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.xml.sax.SAXException;
/**
* ... | {
"content_hash": "e5938da27677a923ac80a9265b7f4b7e",
"timestamp": "",
"source": "github",
"line_count": 109,
"max_line_length": 83,
"avg_line_length": 33.27522935779817,
"alnum_prop": 0.5969120485249517,
"repo_name": "apache/jmeter",
"id": "f78ade2033c721b1c910a84518aa4772c95fb5a2",
"size": "4424",... |
$LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__))
require 'sequel'
require 'polymorphic'
Sequel::Model.plugin :polymorphic
DB = Sequel.connect('sqlite://fantasy.db')
require 'models/photo'
require 'models/author'
require 'models/book'
require 'models/chapter'
require 'models/series'
require 'models/store'
| {
"content_hash": "57e4e47cb8e82954424655982b517ce9",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 59,
"avg_line_length": 22.857142857142858,
"alnum_prop": 0.7625,
"repo_name": "endpoints/fantasy-database",
"id": "4538bf73938af0ab1a7ca7a26e0bc03f739d8769",
"size": "320",... |
from distutils.core import setup
from pyql import __author__, __version__, __email__, __license__, __maintainer__
short_description = 'YQL Queries and Yahoo Weather in Python v.%s' % __version__
try:
long_description = open('README.md').read()
except:
long_description = "YQL Queries and Yahoo Weather in Pyth... | {
"content_hash": "79d567c1d0f1f5449b8dc644cf9058ea",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 83,
"avg_line_length": 42.26190476190476,
"alnum_prop": 0.540281690140845,
"repo_name": "alexdzul/pyql-weather",
"id": "0acc91a884190a920219e44376a146e5d6569e69",
"size": "... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_151) on Mon Jan 15 08:36:52 MST 2018 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Package org.wildfly... | {
"content_hash": "db050c54a576cad94e69559fd1bb5f5a",
"timestamp": "",
"source": "github",
"line_count": 128,
"max_line_length": 135,
"avg_line_length": 34.828125,
"alnum_prop": 0.6099147599820547,
"repo_name": "wildfly-swarm/wildfly-swarm-javadocs",
"id": "d40404e8ea4ff818484a71aa237d023e5e90b56c",
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace corsairs.core.worldgen.biomes
{
public class Beach : Biome
{
public override bool ConditionsMet(int height, int drainage, bool isWater, double temp)
{
... | {
"content_hash": "50a2bdd492177b8da918f5dedff4ec48",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 95,
"avg_line_length": 20.96551724137931,
"alnum_prop": 0.5230263157894737,
"repo_name": "danrose/corsairs",
"id": "350a025e079a5370828e75d481caeb3420d7b1cf",
"size": "610"... |
package keywords;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
public class FinalKeyword {
final int[] ia = new int[] {1, 2};
final long[] la;
final List<String> sl = new ArrayList<String>();
final Set<Integer> is;
public FinalKeyword() {
... | {
"content_hash": "d81ebddc1110b67db420c6e1c949f48a",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 54,
"avg_line_length": 24.57894736842105,
"alnum_prop": 0.5367594575303355,
"repo_name": "antalpeti/Test",
"id": "cc6b9c494a23f5fb89c206b848f234b8f907fc2f",
"size": "1401",... |
ActionBoxButtonView::ActionBoxButtonView(Browser* browser,
const gfx::Point& menu_offset)
: views::MenuButton(NULL, string16(), this, false),
browser_(browser),
menu_offset_(menu_offset),
ALLOW_THIS_IN_INITIALIZER_LIST(controller_(browser, this)) {
set_id... | {
"content_hash": "573acfda4dd8bef31b0b17268b30fb70",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 79,
"avg_line_length": 38.8,
"alnum_prop": 0.7145618556701031,
"repo_name": "codenote/chromium-test",
"id": "181e4b3b9880fd9f78dbddf7b4329b95b27270d5",
"size": "2335",
"b... |
<!doctype html>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
promise_test(async (t) => {
// Wait for after the load event so that we're definitely testing intentional,
// navigate()-caused replacement and not the replacement that happens
// aut... | {
"content_hash": "e097154d583ad297fb7b81616fe9bc56",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 100,
"avg_line_length": 41.111111111111114,
"alnum_prop": 0.727027027027027,
"repo_name": "chromium/chromium",
"id": "4e492e30aedeb69030cb596e2e5b8f117290d2de",
"size": "14... |
#include "modules/data/tools/smart_recorder/post_record_processor.h"
#include <dirent.h>
#include <algorithm>
#include <memory>
#include "cyber/common/file.h"
#include "cyber/common/log.h"
#include "cyber/record/record_reader.h"
#include "cyber/record/record_viewer.h"
#include "modules/common/util/string_util.h"
... | {
"content_hash": "371363ac43d5154e33bfcbe024c34ed3",
"timestamp": "",
"source": "github",
"line_count": 110,
"max_line_length": 80,
"avg_line_length": 33.518181818181816,
"alnum_prop": 0.6484947111472742,
"repo_name": "wanglei828/apollo",
"id": "0c74a94703ae5ddef4fd24d1650d6c077a0c6584",
"size": "4... |
<pre>
And the man who gives himself to drinking intoxicating liquors,
he, even in this world, digs up his own root. 247
</pre> | {
"content_hash": "00aa1a96bc874048d847e62e75c8bf4d",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 65,
"avg_line_length": 32.5,
"alnum_prop": 0.7307692307692307,
"repo_name": "mkristian/webfortune",
"id": "08b12d5afabf5694d4905f0ae328a6b300a62254",
"size": "130",
"binar... |
@class LoginViewController;
@interface Connect : Requester <NSURLConnectionDelegate> {
}
- (void) connectWithLogin:(NSString *)login andPassword:(NSString *)password;
@end
| {
"content_hash": "febe334c02b2f0b2c14d5a5e182b2c22",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 77,
"avg_line_length": 21.875,
"alnum_prop": 0.7714285714285715,
"repo_name": "BertrandClarke/travelbook",
"id": "3b13aae032ebf766ff0e4c597a3f34b14bf3ddaa",
"size": "329",
... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head>
<!--
---- (c) Copyright 2002-2006 by Lutz Sammer, Russell Smith
---- This program is free software; you can redistribute it and/or modify
---- it under the terms of the GNU General Public License as published by
---- the Free S... | {
"content_hash": "2a0a57dd2def4e033188b38a82dd3600",
"timestamp": "",
"source": "github",
"line_count": 874,
"max_line_length": 171,
"avg_line_length": 39.85469107551487,
"alnum_prop": 0.666551833031895,
"repo_name": "k1643/StratagusAI",
"id": "14837beeee382007dfab5b29d4472c827bac04ca",
"size": "34... |
---
uid: SolidEdgePart.Dimple.SetProfiles(System.Int32,System.Array@)
summary:
remarks:
syntax:
parameters:
- id: NumProfiles
description: Specifies the number of profiles in the Profiles array.
- id: Profiles
description: Contains the profiles for the referenced object.
---
| {
"content_hash": "6aa76161d0f4fa962259caae9f6ab78e",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 74,
"avg_line_length": 27.545454545454547,
"alnum_prop": 0.7161716171617162,
"repo_name": "SolidEdgeCommunity/docs",
"id": "be2d162763ddaf2cd129d23eabea85bafb2756ea",
"size... |
import re
import collections
from enum import Enum
from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLIST,... | {
"content_hash": "b2a4c6e9bcc0ae6fb08161ef3dca80d6",
"timestamp": "",
"source": "github",
"line_count": 533,
"max_line_length": 197,
"avg_line_length": 51.35647279549718,
"alnum_prop": 0.5026851276805612,
"repo_name": "111pontes/ydk-py",
"id": "67031c064833cf2e367b44ce94fecabff8c388ef",
"size": "27... |
package android.app;
import android.annotation.IntDef;
import android.annotation.NonNull;
import android.annotation.Nullable;
import android.content.Context;
import android.content.Intent;
import android.content.IIntentReceiver;
import android.content.IIntentSender;
import android.content.IntentSender;
import androi... | {
"content_hash": "46f667e0c64cbb196a1a56b8cdba4c29",
"timestamp": "",
"source": "github",
"line_count": 1096,
"max_line_length": 98,
"avg_line_length": 44.96897810218978,
"alnum_prop": 0.6565353244329019,
"repo_name": "daiqiquan/framework-base",
"id": "cfa242be02aa89156c64f92b6ffb8af3f7ad2acc",
"si... |
package com.basho.riak.client.core.operations.itest;
import com.basho.riak.client.api.RiakClient;
import com.basho.riak.client.api.commands.buckets.FetchBucketProperties;
import com.basho.riak.client.api.commands.indexes.BinIndexQuery;
import com.basho.riak.client.api.commands.indexes.BucketIndexQuery;
import com.bash... | {
"content_hash": "829732c9e55961f668d77ae055b347ad",
"timestamp": "",
"source": "github",
"line_count": 257,
"max_line_length": 122,
"avg_line_length": 38.56420233463035,
"alnum_prop": 0.6367672283321562,
"repo_name": "basho/riak-java-client",
"id": "ed5b5090aaf16372e9371103527922d41a56d08b",
"size... |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>span::operator= (1 of 2 overloads)</title>
<link rel="stylesheet" href="../../../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../... | {
"content_hash": "1c8547123df4d08f5b4369cde1a57342",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 468,
"avg_line_length": 72.39285714285714,
"alnum_prop": 0.6060680809077454,
"repo_name": "vslavik/poedit",
"id": "c3e9785f707947a67aa0a70c29ebe54f12430231",
"size": "4054"... |
/* @flow */
import { insertRule } from 'glamor';
import { uniq } from 'lodash';
import {
clinicalDonorTracks,
dataTypeTracks,
geneTracks,
geneSetTracks,
gdcTracks,
getColorValue,
} from '@ncigdc/components/Oncogrid/tracks';
import { mapDonors, mapGenes, buildOccurrences } from './dataMapping';
import {
T... | {
"content_hash": "1386753d9dc8902f76016d08320da000",
"timestamp": "",
"source": "github",
"line_count": 211,
"max_line_length": 88,
"avg_line_length": 24.251184834123222,
"alnum_prop": 0.587062732069572,
"repo_name": "NCI-GDC/portal-ui",
"id": "71c04f2d9c4be9d35f30e2f7b113e1bb07271fa8",
"size": "51... |
package dagger.producers;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import javax.inject.Scope;
/**
* A scope annotation for provision bindings that are tied to the lifetime of a
* {@link ProductionComponent} or {@lin... | {
"content_hash": "2da80ef45912c659cca6df38a3b33279",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 79,
"avg_line_length": 23.72222222222222,
"alnum_prop": 0.7915690866510539,
"repo_name": "dushmis/dagger",
"id": "393c24071d58211d83adf7943f7ae1b9b10b3652",
"size": "1029",... |
#import "PacoEvaluatorTests.h"
#import "PacoExpressionExecutor.h"
@interface PacoExpressionExecutor ()
+ (void)processRawExpression:(NSString*)expression
withVariableDictionary:(NSDictionary*)variableDict
andBlock:(void(^)(NSString*, NSArray*))block;
+ (NSArray*)tokenize:(NSString*)input;
@... | {
"content_hash": "8e882720984c43f329b02c4bb06839e6",
"timestamp": "",
"source": "github",
"line_count": 376,
"max_line_length": 114,
"avg_line_length": 39.109042553191486,
"alnum_prop": 0.6926895613736824,
"repo_name": "hlecuanda/paco",
"id": "2dfe20863753afd8efea3654d549b932a5daaaca",
"size": "153... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>mathcomp-character: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootst... | {
"content_hash": "4b63330b06af99c3d8b9645831c1c8e6",
"timestamp": "",
"source": "github",
"line_count": 164,
"max_line_length": 554,
"avg_line_length": 48.30487804878049,
"alnum_prop": 0.5679121433981318,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "a60842ea3e49155f114658ca157ffd18da4a8f9b",
... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class org.apache.commons.math3.fitting.leastsquares.AbstractEvaluation (Apache Commons Math 3... | {
"content_hash": "eec3e00f14c2922ea9fc251c6a0a68d8",
"timestamp": "",
"source": "github",
"line_count": 117,
"max_line_length": 191,
"avg_line_length": 42.97435897435897,
"alnum_prop": 0.6332537788385044,
"repo_name": "asampley/FactorioRatioAssistant",
"id": "ffc803da282887ad089bf00ad22920ad1c555001"... |
sophie [](http://go-search.org/view?id=github.com%2Fdaviddengcn%2Fsophie)
======
A sequencial data processing library.
| {
"content_hash": "cde16292c41f5ce04da92b3946e347c9",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 149,
"avg_line_length": 49,
"alnum_prop": 0.7602040816326531,
"repo_name": "daviddengcn/sophie",
"id": "858a9dbfa9026ea615216e29d16211913d6c61f6",
"size": "196",
"binary":... |
require 'spec_helper'
describe AboutHelper do
#Delete this example and add some real ones or delete this file
it "should be included in the object returned by #helper" do
included_modules = (class << helper; self; end).send :included_modules
included_modules.should include(AboutHelper)
end
end
| {
"content_hash": "b5554c7965f49f36fa7e867792cbc68c",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 74,
"avg_line_length": 28.363636363636363,
"alnum_prop": 0.7467948717948718,
"repo_name": "cpjobling/Proman-3",
"id": "41d4c537b66a6002d1063972490ac8ff8ecf9239",
"size": "3... |
#include <iostream>
#include <seqan/sequence.h> // CharString, ...
#include <seqan/file.h> // to stream a CharString into cout
int main(int, char **) {
std::cout << "Hello World!" << std::endl;
seqan::CharString mySeqanString = "Hello SeqAn!";
std::cout << mySeqanString << std::endl;
... | {
"content_hash": "978594d733458d053e6f76c6a88f09b8",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 64,
"avg_line_length": 27.75,
"alnum_prop": 0.6006006006006006,
"repo_name": "bkahlert/seqan-research",
"id": "a00fd3e3f843326675c51314ba70d12b4eeef39f",
"size": "2384",
... |
#include "third_party/blink/renderer/core/page/viewport_description.h"
#include "base/metrics/histogram_macros.h"
#include "build/build_config.h"
#include "third_party/blink/renderer/core/dom/document.h"
#include "third_party/blink/renderer/core/frame/local_frame.h"
#include "third_party/blink/renderer/core/frame/lo... | {
"content_hash": "030602671a3cdab0059c79a5b2d30aac",
"timestamp": "",
"source": "github",
"line_count": 258,
"max_line_length": 80,
"avg_line_length": 37.810077519379846,
"alnum_prop": 0.6863147104049205,
"repo_name": "chromium/chromium",
"id": "3bbeee2e2136e62435cdf5b0fb0c39aebf06aa2c",
"size": "1... |
package com.ferrylinton.oauth2server.controller;
import java.security.Principal;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
public class GlobalController {
@GetMapping("/user")
public Principal user(Principal user) {
... | {
"content_hash": "b3d5eba88e9ca4b159f64b3f40cef32d",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 62,
"avg_line_length": 21.25,
"alnum_prop": 0.8029411764705883,
"repo_name": "ferrylinton/microservices",
"id": "e3921dfeeafc1c960dbe03e9abbd37006ca7ec74",
"size": "340",
... |
/**
* Talisman metrics/smith-waterman
* ================================
*
* Functions computing the Smith-Waterman distance.
*
* [Reference]: https://en.wikipedia.org/wiki/Smith%E2%80%93Waterman_algorithm
*
* [Article]:
* Smith, Temple F. & Waterman, Michael S. (1981). "Identification of Common
* Molecular S... | {
"content_hash": "9fa6a8c6e44b1261065322465437c66d",
"timestamp": "",
"source": "github",
"line_count": 81,
"max_line_length": 92,
"avg_line_length": 24.02469135802469,
"alnum_prop": 0.5369989722507709,
"repo_name": "Yomguithereal/talisman",
"id": "e4bf848692dfa4f81d205ff910b0db3f0ec3d2a4",
"size":... |
import Engine from 'Engine';
import pinkmonkey from '../graphics/samples/pinkmonkey.png'
export default new Engine.Graphics.SpriteSet({
default: new Engine.Graphics.Sprite(64, 64, 0, 0, 10, pinkmonkey)
}, 1000 / 10); | {
"content_hash": "068936d70c8f7e1c12fab6257a7ce303",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 69,
"avg_line_length": 36.833333333333336,
"alnum_prop": 0.7375565610859729,
"repo_name": "Gabbersaurus/IsoNgn",
"id": "1517023bfe4b0a47715ef806e80169086dc19ff4",
"size": "2... |
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('payments', '0005_auto_20170919_1621'),
]
operations = [
migrations.AlterModelOptions(
name='orderpayment',
options={'permiss... | {
"content_hash": "ca8fcb2f0664602e82de92caf8a2001d",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 393,
"avg_line_length": 54,
"alnum_prop": 0.6051373954599761,
"repo_name": "onepercentclub/bluebottle",
"id": "7be70c79239d4edca99502580f62a2c85c4bc813",
"size": "1747",
... |
// Copyright 2000-2019 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.openapi.application;
import com.intellij.openapi.util.Pair;
import com.intellij.openapi.util.SystemInfo;
import com.intellij.openapi.util.SystemInfoRt;
impor... | {
"content_hash": "8d42537a8b347d407a41f8c494c1cf9d",
"timestamp": "",
"source": "github",
"line_count": 626,
"max_line_length": 145,
"avg_line_length": 33.694888178913736,
"alnum_prop": 0.6645806665718484,
"repo_name": "msebire/intellij-community",
"id": "f7f61404413cd408c502661fdc527f9777c465de",
... |
package org.wso2.carbon.integration.test.processflow;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.testng.Assert;
import org.testng.annotations.AfterClass;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
import org.wso2.carbon.automatio... | {
"content_hash": "5a8d5e0d4b1ae42eda5851f681ea92ad",
"timestamp": "",
"source": "github",
"line_count": 110,
"max_line_length": 213,
"avg_line_length": 52.345454545454544,
"alnum_prop": 0.7485237929836749,
"repo_name": "jsdjayanga/product-cep",
"id": "c1ffd6ca5cb8c92af6b3b2649a1662146422dc7c",
"siz... |
CVE-2022-35959
### Impact
The implementation of `AvgPool3DGradOp` does not fully validate the input `orig_input_shape`. This results in an overflow that results in a `CHECK` failure which can be used to trigger a denial of service attack:
```python
import tensorflow as tf
ksize = [1, 2, 2, 1]
strides = [1, 2, 2, 1]
... | {
"content_hash": "2d373d9634d7de511aecec7c8f7e47c6",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 213,
"avg_line_length": 49.42857142857143,
"alnum_prop": 0.7745664739884393,
"repo_name": "karllessard/tensorflow",
"id": "7c6b8073e7c4fb14dfa14bcba40c132cc7b1279e",
"size"... |
Dobbscoin Core version 0.9.1 is now available from:
https://dobbscoin.org/bin/0.9.1/
This is a security update. It is recommended to upgrade to this release
as soon as possible.
It is especially important to upgrade if you currently have version
0.9.0 installed and are using the graphical interface OR you are usin... | {
"content_hash": "fb1c463a07a262f99468d5a543510225",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 87,
"avg_line_length": 37.132075471698116,
"alnum_prop": 0.7591463414634146,
"repo_name": "dobbscoin/dobbscoin-source",
"id": "0ef9c64edbbf121d53569eb9ff3ca2bc076a2baa",
"s... |
<!doctype html>
<html lang="en">
<head>
<title>Code coverage report for lib/components/texteditor</title>
<meta charset="utf-8" />
<link rel="stylesheet" href="../../../prettify.css" />
<link rel="stylesheet" href="../../../base.css" />
<meta name="viewport" content="width=device-width, initial-scal... | {
"content_hash": "5ad5afa4fca2d9303c8b5499be815084",
"timestamp": "",
"source": "github",
"line_count": 97,
"max_line_length": 170,
"avg_line_length": 39.83505154639175,
"alnum_prop": 0.6040372670807453,
"repo_name": "Morning-UI/morning-ui",
"id": "a3c576a47c4b14ea54b6969b143ed2f6e0632bd8",
"size":... |
<?php
/**
* jParser example
*
*/
require '../jparser-libs/jparser.php';
/**
* Get some example source code from a *.js file
*/
$source = file_get_contents('complex.js');
/**
* Get the full parse tree
*/
$Prog = JParser::parse_string( $source );
if( ! $Prog instanceof JProgramNode ){
die('Roo... | {
"content_hash": "1f4538dc0692aa68b05d93d5d098fe9f",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 121,
"avg_line_length": 24.236363636363638,
"alnum_prop": 0.6181545386346586,
"repo_name": "S3RK/jParser",
"id": "ab7733ea8f1a101f164da182acdf8182c41b8368",
"size": "1333",... |
import { Component, OnInit, Input, Output, EventEmitter, AfterViewInit } from '@angular/core';
import { DynamicPopup } from 'app/shared/services';
@Component({
selector: 'pp-message-popup-container',
templateUrl: './message-popup-container.component.html',
styleUrls: ['./message-popup-container.component.... | {
"content_hash": "b3862036ab286e07b5235d119ce135bd",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 94,
"avg_line_length": 31.666666666666668,
"alnum_prop": 0.6802631578947368,
"repo_name": "denzelsN/pinpoint",
"id": "cf294dd730c31f16aac3fc820ba8bb94fff8b5e3",
"size": "76... |
package purecollections;
interface Computation<T> {
T compute();
}
| {
"content_hash": "073f845a83c43c020c01ec873305d698",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 26,
"avg_line_length": 11.285714285714286,
"alnum_prop": 0.6455696202531646,
"repo_name": "btj/purecollections",
"id": "60ac79e85ae17b1d258f73265a129ba83049e51b",
"size": "7... |
<?php
// comainBundle:Default:index.html.twig
return array (
);
| {
"content_hash": "df9dedf30cadeee8cdcdb3dac63c3cff",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 39,
"avg_line_length": 13,
"alnum_prop": 0.7076923076923077,
"repo_name": "djepo/Site-Perso",
"id": "fc2c345df4ff4ac66d2f62b73072ce12a3d0f874",
"size": "65",
"binary": fal... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ScriptLinkStandard.Helpers;
using ScriptLinkStandard.Objects;
namespace ScriptLinkStandard.Tests.HelpersTests
{
[TestClass]
public class GetParentRowIdTests
{
[TestMethod]
public void GetParentRowIdOptionObjectReturnsS... | {
"content_hash": "68b0b496012662facb808813e1228429",
"timestamp": "",
"source": "github",
"line_count": 595,
"max_line_length": 111,
"avg_line_length": 33.09075630252101,
"alnum_prop": 0.49062928538778,
"repo_name": "rcskids/ScriptLinkStandard",
"id": "7da949e96e2afe9077deafad22acb837fa36a95b",
"si... |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 201... | {
"content_hash": "b2a8c364a455051198ffded86d43ae1d",
"timestamp": "",
"source": "github",
"line_count": 194,
"max_line_length": 124,
"avg_line_length": 28.067010309278352,
"alnum_prop": 0.6282828282828283,
"repo_name": "inbloom/secure-data-service",
"id": "68d5202a43d86ccb3b91019b522c2851e16cc88b",
... |
import Base.sign, Base.size, Base.length, Base.endof, Base.ndims, Base.convert
export AbstractExpr, Constraint
export vexity, sign, size, evaluate, monotonicity, curvature, length, convert
export conic_form!
export endof, ndims
export Value, ValueOrNothing
export get_vectorized_size
### Abstract types
abstract Abstrac... | {
"content_hash": "ab73ec16e3512b50a582c6105bc80d57",
"timestamp": "",
"source": "github",
"line_count": 89,
"max_line_length": 78,
"avg_line_length": 24.876404494382022,
"alnum_prop": 0.7258355916892503,
"repo_name": "Vgrunert/Convex.jl",
"id": "0c576faf8528976855ebcf754c6581f57034714c",
"size": "3... |
module Merb::Test::Fixtures
module Abstract
class Testing < Merb::AbstractController
self._template_root = File.dirname(__FILE__) / "views"
end
class RenderTwoAppendContents < Testing
def index
render
end
end
class RenderString < Testing
def index
rende... | {
"content_hash": "df01755d8d14c0a5e90376f5ca265186",
"timestamp": "",
"source": "github",
"line_count": 111,
"max_line_length": 97,
"avg_line_length": 25.55855855855856,
"alnum_prop": 0.6383503701092703,
"repo_name": "wycats/merb",
"id": "834231174dc4e79ab58a1b9e902a89b9bae88cf1",
"size": "2839",
... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "7c884be1da212b6de021f083a35b6efc",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "854252880224106ba225e33ad3186a8e749423bb",
"size": "199... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.joisanegamgo.hospital.util;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/**
*
* @author josiane
*... | {
"content_hash": "e6f7fe07244b0cde2404a26fc3781b0a",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 115,
"avg_line_length": 24.53968253968254,
"alnum_prop": 0.684993531694696,
"repo_name": "josigam15/hospital",
"id": "f200bbf3f4c9eecec1df4d10daaf17c00415988a",
"size": "15... |
class game {
public:
game(void);
player* getPlayer(uint32_t ID);
galaxy* getGalaxy(void);
private:
galaxy the_galaxy;
player player1;
player player2;
};
#endif
| {
"content_hash": "3504256949295c6c0cb0f5ad6091dbc2",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 35,
"avg_line_length": 12.0625,
"alnum_prop": 0.616580310880829,
"repo_name": "markfogleman/LightQuest",
"id": "31bba537aba288a98fd6f120afb4e9fe29b32d43",
"size": "466",
... |
<?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">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>net.ontopia</groupId... | {
"content_hash": "4e26fb97ba9cdc0875bd16ef4e29fb03",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 201,
"avg_line_length": 27.703703703703702,
"alnum_prop": 0.7112299465240641,
"repo_name": "ontopia/ontopia",
"id": "0853ce082af55def5e0a9264f8a21a5df1d402e0",
"size": "748... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License,... | {
"content_hash": "9296236b93ad82043549db2c534652da",
"timestamp": "",
"source": "github",
"line_count": 101,
"max_line_length": 100,
"avg_line_length": 33.00990099009901,
"alnum_prop": 0.617876424715057,
"repo_name": "massie/avro",
"id": "13e64989971094b2d9ec43d28e4ef5593e709a18",
"size": "3334",
... |
export * from './create-job.component';
| {
"content_hash": "14f1addc8cccc619235e5fb128d96a44",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 39,
"avg_line_length": 40,
"alnum_prop": 0.7,
"repo_name": "khemon/talented_front_angular",
"id": "8d26e5d660c728ed5056a9ea6403f907fa00f55f",
"size": "40",
"binary": false... |
"""
Python API for B2FIND.
Retrieve dataset info by given search criteria using CKAN portal
"""
__author__ = 'Roberto Mucci (r.mucci@cineca.it)'
import json
import requests
import logging
try: # Python 2.7+
from logging import NullHandler
except ImportError:
class NullHandler(logging.Handler):
def e... | {
"content_hash": "dbe94ebc9bb71c5acae5e024dc4f08d7",
"timestamp": "",
"source": "github",
"line_count": 147,
"max_line_length": 82,
"avg_line_length": 31.20408163265306,
"alnum_prop": 0.5955962502725093,
"repo_name": "EUDAT-B2STAGE/EUDAT-Library",
"id": "af4ae2fd101204399a7ce238f06e7861b451b281",
"... |
// `assert` initialized at top of scope
// Assert helpers
// All of these must either call QUnit.push() or manually do:
// - runLoggingCallbacks( "log", .. );
// - config.current.assertions.push({ .. });
assert = QUnit.assert = {
/**
* Asserts rough true-ish result.
* @name ok
* @function
* @example ok( "asdfa... | {
"content_hash": "0fedd445f40232262abda29a1c593d62",
"timestamp": "",
"source": "github",
"line_count": 185,
"max_line_length": 121,
"avg_line_length": 26.91891891891892,
"alnum_prop": 0.6475903614457831,
"repo_name": "bulgr0z/clevershoot",
"id": "ba8083b23f8c1049bc2dcfd2d87f8309ec2a00f7",
"size": ... |
package at.forsyte.apalache.tla.bmcmt.rules.aux
import at.forsyte.apalache.tla.bmcmt._
import at.forsyte.apalache.tla.bmcmt.implicitConversions._
import at.forsyte.apalache.tla.bmcmt.types._
import at.forsyte.apalache.tla.lir.convenience.tla
import at.forsyte.apalache.tla.lir.values.{TlaIntSet, TlaNatSet}
import at.fo... | {
"content_hash": "66ad279fbd954808228d8d3be0797c48",
"timestamp": "",
"source": "github",
"line_count": 604,
"max_line_length": 131,
"avg_line_length": 47.700331125827816,
"alnum_prop": 0.6698830307868523,
"repo_name": "konnov/apalache",
"id": "9361e0bc9f9d32578266a7045682b403c0c7a596",
"size": "28... |
<persistence xmlns="http://java.sun.com/xml/ns/persistence" version="1.0">
<persistence-unit name="EmployeeService">
<jta-data-source>jdbc/removingWithRelationships</jta-data-source>
<validation-mode>NONE</validation-mode>
<properties>
<property name="eclipselink.target-server" v... | {
"content_hash": "4371b8b557ab44e863c73f53dfde9794",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 87,
"avg_line_length": 51,
"alnum_prop": 0.6601307189542484,
"repo_name": "velmuruganvelayutham/jpa",
"id": "e65ddd3415b32f4883010f612aa7d39645ff2b2a",
"size": "612",
"bi... |
package ru.aserdyuchenko.servlet;
import org.apache.log4j.Logger;
import org.apache.log4j.Level;
import ru.aserdyuchenko.storage.DataSource;
import ru.aserdyuchenko.storage.User;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.ser... | {
"content_hash": "02fd5a65b6730972e718693ea297c58c",
"timestamp": "",
"source": "github",
"line_count": 100,
"max_line_length": 240,
"avg_line_length": 43.48,
"alnum_prop": 0.6235050597976081,
"repo_name": "anton415/Job4j",
"id": "68061c6ef15d060aa9207bdecabcf195ad48a965",
"size": "4348",
"binary... |
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using log4net;
using SmallSharpTools;
using SmallSharpTools.Logging;
/... | {
"content_hash": "69bfc56222ba41f8c216fc4718653f3f",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 145,
"avg_line_length": 27,
"alnum_prop": 0.5738396624472574,
"repo_name": "smallsharptools/SmallSharpToolsDotNet",
"id": "5aa43cc92f0b49d07f54fa03fc95d59276f059b6",
"size"... |
int Types::AttributedSum(int A, int B)
{
return A + B;
}
std::string Date::testStdString(std::string s)
{
return s + "_test";
}
void testFreeFunction()
{
} | {
"content_hash": "cca80e59df8bc7f7a2634af1f926162c",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 46,
"avg_line_length": 11.857142857142858,
"alnum_prop": 0.6265060240963856,
"repo_name": "genuinelucifer/CppSharp",
"id": "448d3de8934816a897789c981791466096390a6d",
"size... |
package org.semispace.notification;
import java.util.concurrent.atomic.AtomicInteger;
import org.semispace.SemiEventListener;
import org.semispace.SemiEventRegistration;
import org.semispace.event.SemiAvailabilityEvent;
public class ToBeNotified implements SemiEventListener<SemiAvailabilityEvent> {
private Ato... | {
"content_hash": "a86ff19a4cf91cd17f6a14a4cf8498aa",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 82,
"avg_line_length": 25.94871794871795,
"alnum_prop": 0.7015810276679841,
"repo_name": "nostra/semispace",
"id": "d045ad8ee4e19eeda6e5bff25833e415ecdcdb7e",
"size": "1960... |
/* dom/dom.css */
/*
-webkit-user-select: none can cause a major
performance problem in webkit unless mousedown
is prevented.
*/
body {
-webkit-user-select: none;
overflow: hidden;
}
/*
div, object, img, textarea, iframe {
position: relative;
}
.enyo-bbox {
box-sizing: border-box;
-webkit-box-sizing: borde... | {
"content_hash": "1ab1527e777d470996bd01742db4046b",
"timestamp": "",
"source": "github",
"line_count": 2524,
"max_line_length": 138,
"avg_line_length": 23.605388272583202,
"alnum_prop": 0.7187143336690165,
"repo_name": "blackberry/WebWorks-Community-Samples",
"id": "725cdbd5fbef49cbaa4658599fcc8069e... |
/*************************************************************
*
* MathJax/localization/pt/pt.js
*
* Copyright (c) 2009-2018 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a cop... | {
"content_hash": "60bd7b6da45d9b3d2e6747e9d80663ad",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 104,
"avg_line_length": 31.096774193548388,
"alnum_prop": 0.6099585062240664,
"repo_name": "GerHobbelt/MathJax",
"id": "5f7771406697a7737ee32811a2cea85ce0423437",
"size": "... |
"""
Known Issues:
-------------
- GlyphLineView does not properly handle fonts that are not saved to a file.
this is because there is not good way to find the font index for a given font
and the preview control requires a font index. so, the best thing i can
do at this point is get the font index by comparing fil... | {
"content_hash": "27fd2205c60f849f137efe6328d8406d",
"timestamp": "",
"source": "github",
"line_count": 730,
"max_line_length": 157,
"avg_line_length": 29.980821917808218,
"alnum_prop": 0.5673032989125468,
"repo_name": "anthrotype/dialogKit",
"id": "69210672d792ef78e059e29a69ed1cfacb9829c8",
"size"... |
var _ = require('underscore');
var util = require('util');
var CommandParser = require('./parser');
/**
* Get the arguments to send to an autocomplete handler implemented by a readcommand consumer. This
* function will also determine if auto-complete should be handled at all.
*
* @param {String} currentComm... | {
"content_hash": "a4067edffae55897934320a6304332ba",
"timestamp": "",
"source": "github",
"line_count": 152,
"max_line_length": 113,
"avg_line_length": 43.80921052631579,
"alnum_prop": 0.6589578014716925,
"repo_name": "mrvisser/node-readcommand",
"id": "e7b70e7dd9649d3c4b1992940be99dd63a37e8b0",
"s... |
// Copyright 2010 Google Inc. All Rights Reserved.
//
// Use of this source code is governed by a BSD-style license
// that can be found in the COPYING file in the root of the source
// tree. An additional intellectual property rights grant can be found
// in the file PATENTS. All contributing project authors may
// be... | {
"content_hash": "67e1d066da7b68fb808f3e8308b19bf4",
"timestamp": "",
"source": "github",
"line_count": 496,
"max_line_length": 80,
"avg_line_length": 46.32056451612903,
"alnum_prop": 0.6798694232861806,
"repo_name": "zofuthan/libwebp",
"id": "d819f4484c4612966fe436d18ef8f528e8102e2d",
"size": "229... |
=head1 LICENSE
Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licen... | {
"content_hash": "797ab772cfb77a347c585144c5bb55be",
"timestamp": "",
"source": "github",
"line_count": 115,
"max_line_length": 100,
"avg_line_length": 25.504347826086956,
"alnum_prop": 0.5860893283327651,
"repo_name": "mjg17/ensembl",
"id": "c2bf3bd639bef207a3fbcaba74cdfd84dc9ed6e1",
"size": "2933... |
<!doctype html>
<!--
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at... | {
"content_hash": "e43b699505236f94ad17bc0dba080d7d",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 100,
"avg_line_length": 31.470588235294116,
"alnum_prop": 0.6679127725856698,
"repo_name": "denineguy/polymer-workshop",
"id": "8f5cf022a21fa14d82d4172bdc38b557e469103e",
"... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.