text stringlengths 2 1.04M | meta dict |
|---|---|
.class public abstract Landroid/transition/Transition;
.super Ljava/lang/Object;
.source "Transition.java"
# interfaces
.implements Ljava/lang/Cloneable;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Landroid/transition/Transition$1;,
Landroid/transition/Transition$... | {
"content_hash": "12e3d91b68196ad5d2781602ee6a8270",
"timestamp": "",
"source": "github",
"line_count": 5216,
"max_line_length": 236,
"avg_line_length": 26.01859662576687,
"alnum_prop": 0.6932497255237154,
"repo_name": "BatMan-Rom/ModdedFiles",
"id": "a48d1c5a8f27bf0f2c889b0a204cd4948add3ed4",
"siz... |
(async function() {
TestRunner.addResult(`Tests that elements panel preserves selected shadow DOM node on page refresh.\n`);
await TestRunner.loadLegacyModule('elements'); await TestRunner.loadTestModule('elements_test_runner');
await TestRunner.showPanel('elements');
await TestRunner.navigatePromise('../resour... | {
"content_hash": "bf5bbb324d7d5814e485e4469a4e8864",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 111,
"avg_line_length": 38.724137931034484,
"alnum_prop": 0.7453250222617988,
"repo_name": "ric2b/Vivaldi-browser",
"id": "1e6c94226d5576a211a7da6dcec1c708abd39a12",
"size"... |
// javac substs.java
// java substs
// Ange Albertini, BSD Licence 2011
public class substs
{
public static void main(String[] args)
{
String a;
System.out.println("Hello World!");
// getstatic PrintStream System.out
// ldc String Constant "Hello World!"
// invokevirtual void PrintStream.prin... | {
"content_hash": "0c942961e2023853bdab2a8df4c99116",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 66,
"avg_line_length": 28.887323943661972,
"alnum_prop": 0.6162847391516334,
"repo_name": "angea/corkami",
"id": "bec8cbbf7ccde29aff499ec1c3d836a551ba7f87",
"size": "2108",... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>checker: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css... | {
"content_hash": "1def2bc505a251d81e32d6fd3211ca80",
"timestamp": "",
"source": "github",
"line_count": 161,
"max_line_length": 166,
"avg_line_length": 41.52795031055901,
"alnum_prop": 0.5338019742746036,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "0288126c3852206cc6e75e880fa1a649925312cf",
... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "fe3e92076c842716be08bc31e69d8ac1",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "b8a1dfffca4ad20b39a5a5e4f7ed5b34eec68faf",
"size": "189... |
extern "C" {
#endif
#include "include/capi/cef_base_capi.h"
///
// Implement this structure to handle events related to browser life span. The
// functions of this structure will be called on the UI thread unless otherwise
// indicated.
///
typedef struct _cef_life_span_handler_t {
///
// Base structure.
///
... | {
"content_hash": "e53c5a7ec8c5acdf7313d181f01c64d7",
"timestamp": "",
"source": "github",
"line_count": 129,
"max_line_length": 80,
"avg_line_length": 48.78294573643411,
"alnum_prop": 0.712219926902908,
"repo_name": "tempbottle/RadiantUI",
"id": "0732c6e5509984941444d4e041e4178589401b4f",
"size": "... |
#pragma warning disable 0472
using System;
using System.Text;
using System.IO;
using System.Collections;
using System.ComponentModel;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Xml.Serialization;
using BLToolkit.Aspects;
using BLToolkit.DataAccess... | {
"content_hash": "71321e68bc9c0352cb1f914128da4719",
"timestamp": "",
"source": "github",
"line_count": 1086,
"max_line_length": 196,
"avg_line_length": 40.96869244935543,
"alnum_prop": 0.4985840151038389,
"repo_name": "EIDSS/EIDSS-Legacy",
"id": "4985710951236278e7e9b4308318839f0786ccc8",
"size": ... |
<?php
namespace App\Http\Controllers\Backend;
use Illuminate\Http\Request;
use App\Http\Requests;
use App\Http\Controllers\Controller;
class CartsController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
... | {
"content_hash": "c7084b6033baf1a5882909809aa015d8",
"timestamp": "",
"source": "github",
"line_count": 90,
"max_line_length": 71,
"avg_line_length": 18.733333333333334,
"alnum_prop": 0.5486358244365361,
"repo_name": "adrianturnes/menorcagastronomic",
"id": "017b4ba4fafb75f000efda3844499871784505da",... |
import { connect } from 'react-redux';
import Navigation from './navigation';
import { changeBread } from '../../breadcrumb';
import { changeDemo } from '../../content';
const mapStateToProps = (state) => {
return {
demoFilter: state.demoFilter
}
}
const mapDispatchToProps = (dispatch) => {
return... | {
"content_hash": "08298c2df7a481507eb96746d9ed1977",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 47,
"avg_line_length": 22.307692307692307,
"alnum_prop": 0.5948275862068966,
"repo_name": "renhongl/Summary",
"id": "4fc741f73c1591f3c55a042ce4ea28308829c2eb",
"size": "582... |
import {HttpBackend, HttpClientModule} from '@angular/common/http';
import {NgModule} from '@angular/core';
import {HttpTestingController} from './api';
import {HttpClientTestingBackend} from './backend';
/**
* Configures `HttpClientTestingBackend` as the `HttpBackend` used by `HttpClient`.
*
* Inject `HttpTest... | {
"content_hash": "61f2d4436171eacb87672654f0c2984c",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 83,
"avg_line_length": 24.75,
"alnum_prop": 0.7388167388167388,
"repo_name": "mdegoo/angular",
"id": "eb1a1c73369ce1754183451516d664d4bf2dd5bb",
"size": "895",
"binary": ... |
namespace Santhos.DocumentDb.Repository.IntegrationTest
{
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Azure.Documents.Client;
using Microsoft.Azure.Documents.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
public class BasicDatabaseProviderTest
{
pri... | {
"content_hash": "609fb198c75119830a29ffbfa067bb74",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 105,
"avg_line_length": 32.71764705882353,
"alnum_prop": 0.5631067961165048,
"repo_name": "San7hos/DocumentDbRepository",
"id": "3af887ccb7098102fe8646d56da121613dae071a",
... |
<?php
/*
* JAKARTA INTERNATIONAL CONTAINER TERMINAL
* ICT DEVELOPER
* @autor Satria Persada <satria.persada@jict.co.id>
* 2016bkpp_mlebungantor
* cuti_pengajuan.php
* Dec 12, 2016
*/
if (!defined('BASEPATH'))
exit('No direct script access allowed');
class cuti_pengajuan extends Front_end {
public ... | {
"content_hash": "366d860ecb31612c3e32dbac25c29963",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 52,
"avg_line_length": 16.11764705882353,
"alnum_prop": 0.5985401459854015,
"repo_name": "lahirwisada/2016bkpp_mlebungantor",
"id": "5ffb9bd468ad3cf63583d3bb7350ba794c97a5bc"... |
using namespace BloombergLP;
using namespace std;
//=============================================================================
// TEST PLAN
//-----------------------------------------------------------------------------
// Overview
//
// We are testi... | {
"content_hash": "79d5370f736d442bfae58c1a66ce9411",
"timestamp": "",
"source": "github",
"line_count": 402,
"max_line_length": 79,
"avg_line_length": 39.05721393034826,
"alnum_prop": 0.4318196293229731,
"repo_name": "bloomberg/bde-allocator-benchmarks",
"id": "b39eebfb2a47f2ccc73b4808d41c5154af3f53e... |
from django import template
from django.template.loader import render_to_string
from src.basic.tools.templatetags.utils import parse_ttag
register = template.Library()
class RenderTemplateNode(template.Node):
def __init__(self, object_name, template_dir):
self.object_name = object_name
self.temp... | {
"content_hash": "7cb36eba669febd8bb25df517f89b0cf",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 93,
"avg_line_length": 33.326530612244895,
"alnum_prop": 0.6117575015309247,
"repo_name": "hittu123/ruhive",
"id": "a175cc8b33fdaac0dccafaadca4f3645f636f819",
"size": "1633... |
package org.jkiss.dbeaver.ui.editors.acl;
import org.jkiss.dbeaver.model.DBPEvaluationContext;
import org.jkiss.dbeaver.model.DBUtils;
import org.jkiss.dbeaver.model.access.DBAPrivilege;
import org.jkiss.dbeaver.model.access.DBAPrivilegeType;
import org.jkiss.dbeaver.model.struct.DBSObject;
/**
* PostgresRolePrivil... | {
"content_hash": "54a58fc082740590e27359019c8409e2",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 166,
"avg_line_length": 33.94736842105263,
"alnum_prop": 0.8124031007751938,
"repo_name": "serge-rider/dbeaver",
"id": "5ed7c1a32e0235c7e8991e4ab4371cf11f7ab8c1",
"size": "... |
require_relative './spec_helper'
describe 'postfix::sasl_auth' do
let(:sasl_passwd_file) { '/etc/postfix/sasl_passwd' }
it 'manages postfix sasl_passwd' do
expect(file(sasl_passwd_file).content).to match(/^# Auto-generated by Chef/)
end
it 'configures postfix to use the sasl_passwd file' do
expect(fi... | {
"content_hash": "c2c5c092175167a4adf63ced721a9cd0",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 117,
"avg_line_length": 35.294117647058826,
"alnum_prop": 0.695,
"repo_name": "opscode-cookbooks/postfix",
"id": "46d86dcfcf68769d0dbf685faedb41a2b13f5d40",
"size": "1193",... |
import pytest
from django.contrib import auth
from server.models import Log
@pytest.mark.django_db
def test_log_get_user(client):
username = 'username'
password = 'thepassword'
user = auth.models.User.objects.create_user(
username,
'username@vmprof.com',
password
)
Log.... | {
"content_hash": "b42406de95ed54e723ec6c79ef4eb980",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 58,
"avg_line_length": 23.225806451612904,
"alnum_prop": 0.6486111111111111,
"repo_name": "jerith/vmprof-server",
"id": "6f3816ab5a2ba16732c4d6f8f40cb6b8fc3e544b",
"size": ... |
// Copyright 2020 Esri.
//
// 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 applicable law or agreed to in writing, software... | {
"content_hash": "2e83e99090a5b334c63775f6df666820",
"timestamp": "",
"source": "github",
"line_count": 364,
"max_line_length": 284,
"avg_line_length": 40.81043956043956,
"alnum_prop": 0.5975092561427129,
"repo_name": "Esri/arcgis-runtime-samples-dotnet",
"id": "d4d77ad0ab84e6ec213b7408b8fd7a76929c59... |
docker run -it --name=virtio-ipxe virtio-ipxe true
mkdir -p bin
docker cp virtio-ipxe:/ipxe/src/bin/virtio-net.isarom bin/virtio-net.isarom
docker rm virtio-ipxe | {
"content_hash": "b0002553d6caa75611e8f540168e2362",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 75,
"avg_line_length": 40.25,
"alnum_prop": 0.7888198757763976,
"repo_name": "SpencerBrown/virtualbox-ipxe",
"id": "387c73d5ba0fd9d07d8a672a6ce774160f1a6cda",
"size": "182",... |
scriptRootFolder="`pwd`/.."; username="`whoami`"; homeFolder="$HOME"
# Import common variables and functions
. $scriptRootFolder/common/commonFunctions.sh
declare -a appsToInstall=( "Sqlite_3" )
# Lauch menu and install selected applications
prepareScript "$0"
installAndSetupApplications appsToInstall[@] | {
"content_hash": "465bd34d50c3d1965a9b598b61fc09e6",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 68,
"avg_line_length": 30.8,
"alnum_prop": 0.7792207792207793,
"repo_name": "cesar-rgon/desktop-app-installer",
"id": "8fe8c1547f3ed7677bf1ce7bfc906912c36e0e84",
"size": "7... |
package org.drools.model.bitmask;
public interface AllSetMask {
}
| {
"content_hash": "8443128930c2b9785ea7889d0c0f428a",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 33,
"avg_line_length": 11.5,
"alnum_prop": 0.7681159420289855,
"repo_name": "droolsjbpm/drools",
"id": "82cab68fb767ef380b97daf0cc48f53e6c98405c",
"size": "646",
"binary":... |
from .iq_sync import SyncIqProtocolEntity
from .iq_sync_get import GetSyncIqProtocolEntity
from .iq_sync_result import ResultSyncIqProtocolEntity
from .notification_contact_add import AddContactNotificationProtocolEntity
from .notification_contact_remove import RemoveContactNotificationProtocolEntity
from .notification... | {
"content_hash": "0c15c9c10cf6894394f2e937238e32b3",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 80,
"avg_line_length": 64.77777777777777,
"alnum_prop": 0.8936535162950258,
"repo_name": "biji/yowsup",
"id": "ca6f461e9e69c75482badc6cfc793af7dc01e349",
"size": "583",
"b... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=... | {
"content_hash": "96be76a0e935751f762b99361a237bf2",
"timestamp": "",
"source": "github",
"line_count": 97,
"max_line_length": 280,
"avg_line_length": 48.103092783505154,
"alnum_prop": 0.6247321045863695,
"repo_name": "lnalbandyan/peerup",
"id": "b1beb095bf8e02ac05fcd9f3b896dda4a6f01422",
"size": "... |
<!--
@MAC-ALLOW:AXRole*
@MAC-ALLOW:AXValue*
@WIN-ALLOW:checkable:*
@WIN-ALLOW:CHECKED*
@WIN-ALLOW:ia2_hypertext=*
@WIN-ALLOW:MIXED*
@WIN-ALLOW:xml-roles:*
-->
<html>
<body>
<div role="menu">
<div role="menuitemcheckbox">Menu item 1</div>
<div role="menuitemcheckbox" aria-checked="true">Menu item 2</div>
<... | {
"content_hash": "3a28af27cc6aa06cf879d15cedb10ecc",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 71,
"avg_line_length": 21.736842105263158,
"alnum_prop": 0.6682808716707022,
"repo_name": "Samsung/ChromiumGStreamerBackend",
"id": "a0bb4322f5977644c5051fb8b07a885868982173"... |
<?php
/**
* Loop products template part
*
* @package wp-e-commerce
* @subpackage theme_compat
* @since 0.1
*/
?>
<?php while ( wpsc_have_products() ): wpsc_the_product(); ?>
<?php wpsc_get_template_part( 'product', 'excerpt' ); ?>
<?php endwhile; ?> | {
"content_hash": "d81fd582544e1b7b8e804d8346372d55",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 60,
"avg_line_length": 17.333333333333332,
"alnum_prop": 0.6076923076923076,
"repo_name": "iamandrebulatov/Profile",
"id": "84355b96f6227c2fd04ae8dbb625b850829a261d",
"size... |
using System;
using System.ComponentModel;
using Plugin.Settings;
using Plugin.Settings.Abstractions;
using System.Runtime.CompilerServices;
using PaderbornUniversity.SILab.Hip.Mobile.Shared.BusinessLayer.Models;
namespace PaderbornUniversity.SILab.Hip.Mobile.Shared.Helpers
{
/// <summary>
/// This is the Sett... | {
"content_hash": "b871d6c8635b8bf7211502182600330d",
"timestamp": "",
"source": "github",
"line_count": 382,
"max_line_length": 243,
"avg_line_length": 35.70157068062827,
"alnum_prop": 0.6366769321014811,
"repo_name": "HiP-App/HiP-Forms",
"id": "6711960d96b69035468edc53ec59ea954310b196",
"size": "1... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "6076a12bdebf9b4d966712d07267e537",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "1f07f1d708b8c3bcf2f535901191887df12f263d",
"size": "182... |
#include <thrift/lib/cpp2/server/Cpp2Worker.h>
#include <thrift/lib/cpp2/server/Cpp2Connection.h>
#include <thrift/lib/cpp2/server/ThriftServer.h>
#include <thrift/lib/cpp/async/TAsyncSocket.h>
#include <thrift/lib/cpp/async/TAsyncSSLSocket.h>
#include <thrift/lib/cpp/concurrency/Util.h>
#include <iostream>
#inclu... | {
"content_hash": "bb0dfe97ff43bf202e18d811c416085a",
"timestamp": "",
"source": "github",
"line_count": 113,
"max_line_length": 86,
"avg_line_length": 27.52212389380531,
"alnum_prop": 0.7003215434083602,
"repo_name": "maxwell-demon/fbthrift",
"id": "486954f330be59f76ed07788693404984ede6845",
"size"... |
'use strict';
Object.defineProperty(exports, '__esModule', {
value: true
});
Object.defineProperty(exports, 'SearchSource', {
enumerable: true,
get: function get() {
return _SearchSource.default;
}
});
Object.defineProperty(exports, 'TestScheduler', {
enumerable: true,
get: function get() {
return ... | {
"content_hash": "efb129ea88401ca085069287882a1182",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 72,
"avg_line_length": 23.097560975609756,
"alnum_prop": 0.6874340021119324,
"repo_name": "pcclarke/civ-techs",
"id": "4f8598f6e0b89018c0a0bdb9c52a20af24312db8",
"size": "9... |
package org.apache.syncope.core.provisioning.java.data;
import org.apache.commons.lang3.StringUtils;
import org.apache.syncope.common.lib.SyncopeClientException;
import org.apache.syncope.common.lib.report.AbstractReportletConf;
import org.apache.syncope.core.provisioning.api.data.ReportDataBinder;
import org.apache.... | {
"content_hash": "bf5967ac5afe642e0b9a3e7c75f89a0b",
"timestamp": "",
"source": "github",
"line_count": 130,
"max_line_length": 120,
"avg_line_length": 38.13846153846154,
"alnum_prop": 0.7039128680919726,
"repo_name": "NuwanSameera/syncope",
"id": "7b1266503f340454667ce9917f3e811bc3cae57f",
"size":... |
<?php
use app\modules\AppBase\base\HintConst;
use yii\helpers\Html;
use yii\grid\GridView;
/* @var $this yii\web\View */
/* @var $searchModel app\modules\Admin\Classes\models\ClassesSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = HintConst::$CLASS;
$this->params['breadcrumbs'][] = $this... | {
"content_hash": "a87c02f4116d9868d00f0852fece8367",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 103,
"avg_line_length": 25.54901960784314,
"alnum_prop": 0.4904067536454336,
"repo_name": "329221391/home",
"id": "8c03090638396349ddcb689b37f8a9362fb953b5",
"size": "1303"... |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no"/>
<meta name="apple-mobile-web-app-capable" content="yes"/>
<title>Accordion</title>
<link href="..... | {
"content_hash": "40a8f12ed98d6e7dea77993ce4ce4013",
"timestamp": "",
"source": "github",
"line_count": 166,
"max_line_length": 212,
"avg_line_length": 55.25903614457831,
"alnum_prop": 0.6913768668919655,
"repo_name": "kitsonk/expo",
"id": "ba0ce9198af6786be5317e961eee403c285c6309",
"size": "9173",... |
import os
import json
import datetime
def check_file_exists(file_path):
""" Check whether the file at file_path exists. """
if os.path.isfile(file_path):
return True
else:
return False
def check_date_string(date):
""" Return True if the input string is a valid YYYY-MM-DD date, False
... | {
"content_hash": "da1a34b5d8de87b684f919a412a7518d",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 93,
"avg_line_length": 28.02127659574468,
"alnum_prop": 0.6461655277145026,
"repo_name": "icydoge/dogexam",
"id": "def2756afe0792be3cda237208685cbc9481afd5",
"size": "1357"... |
"""
parser.py
Created by Thomas Mangin on 2014-07-01.
Copyright (c) 2009-2015 Exa Networks. All rights reserved.
"""
# Generic ======================================================================
#
# As long as pack or unpack is needed here it means our API cleanup is not complete
from struct import pack
from st... | {
"content_hash": "3ecdb0603bf36a03d2ef3d76e97d16a9",
"timestamp": "",
"source": "github",
"line_count": 591,
"max_line_length": 144,
"avg_line_length": 26.927241962774957,
"alnum_prop": 0.6291315822546186,
"repo_name": "lochiiconnectivity/exabgp",
"id": "38fb9ee5a6f33b92bef6d862b19d94b828401c6a",
"... |
using System;
using System.IO;
namespace GenVScripting
{
static class GenVScriptDecompiler
{
public static void ReadScriptsFromHeader(string scr)
{
// For more info about the script format of Gen V games (specifically B2W2), see
// Kaphotic's and pichu2001's threads on ... | {
"content_hash": "a841cb8688342cc25aa09a491703e284",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 99,
"avg_line_length": 38.163636363636364,
"alnum_prop": 0.5493091948546928,
"repo_name": "PhoenixBound/b2w2-scripts",
"id": "25be3d0e6332c46255a38d2e6d84bb1c5822dd17",
"si... |
#include "use.h"
#include "config.h"
#include <stdlib.h> // malloc
#include <stdio.h> // perror
#include <unistd.h> // close
#include <sys/socket.h> // socket, getaddrinfo
#include <sys/types.h> // getaddrinfo
#include <netdb.h> // getaddrinfo
#include... | {
"content_hash": "91fab009406f52719fcb2d843c665d45",
"timestamp": "",
"source": "github",
"line_count": 142,
"max_line_length": 104,
"avg_line_length": 28.161971830985916,
"alnum_prop": 0.6176544136034009,
"repo_name": "wgcitgkaka/libparistraceroute",
"id": "689c7320db74fb1990ad8eff12476d67189b3779",... |
package tinker.sample.android.util;
import com.tencent.tinker.lib.listener.PatchListener;
import com.tencent.tinker.lib.patch.AbstractPatch;
import com.tencent.tinker.lib.patch.UpgradePatch;
import com.tencent.tinker.lib.reporter.LoadReporter;
import com.tencent.tinker.lib.reporter.PatchReporter;
import com.tencent.... | {
"content_hash": "330dce15ed21b0cbdaa0d80734e1df58",
"timestamp": "",
"source": "github",
"line_count": 90,
"max_line_length": 95,
"avg_line_length": 36.077777777777776,
"alnum_prop": 0.7228210655990145,
"repo_name": "weiwenqiang/GitHub",
"id": "e3af535f5e759142c490d7c40275bdd8b7a6f7e4",
"size": "3... |
module Fog
module Compute
class OracleCloud
class Real
def get_shape(name)
response = request(
:expects => 200,
:method => 'GET',
:path => "/shape/#{name}",
:headers => {
'Content-Type' => 'application/oracle-compute-v3+json',
... | {
"content_hash": "fa09a78a3f9967ec5b4ff117addd7f85",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 90,
"avg_line_length": 24.529411764705884,
"alnum_prop": 0.48201438848920863,
"repo_name": "fog/fog-oraclecloud",
"id": "69388227a68f106e1ab822a82c819b04031bf865",
"size": ... |
class Setting < ActiveRecord::Base
SITE_STATUSES = ["online", "read_only"]
validate :check_status
after_initialize :default_values
def check_status
unless Setting::SITE_STATUSES.include? self.site_status
errors.add :base, 'Site status can only be one of '+ Setting::SITE_STATUSES.to_s
end
e... | {
"content_hash": "90b5e5d36d2056d87ca6c9474b5c205d",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 86,
"avg_line_length": 26.11764705882353,
"alnum_prop": 0.6824324324324325,
"repo_name": "nypl-spacetime/nypl-warper",
"id": "dd5117305be454454cf65c790620c4d8a5b16212",
"si... |
set -o pipefail
set -e
script_dir=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd)
. $script_dir/common.sh
proxy_name=$1
proxy_dir=$proxy_base_dir/$proxy_name
echo -e "${cyan}Stopping the '$proxy_name' container and removing the image${no_color}"
docker rm -f "proxy-$proxy_name" &>/dev/null || true
docker rmi -f "pr... | {
"content_hash": "92a145f41f499d50788cac48b28cf93a",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 87,
"avg_line_length": 30.25,
"alnum_prop": 0.6666666666666666,
"repo_name": "ChrisWhiten/nginx-jwt",
"id": "e04003e421f8413bcdff2357738143a650f8b20c",
"size": "376",
"bi... |
"use strict";
/**
* @license Angular v14.0.0-next.5
* (c) 2010-2022 Google LLC. https://angular.io/
* License: MIT
*/!function(e){"function"==typeof define&&define.amd?define(e):e()}((function(){
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed b... | {
"content_hash": "0e189525d3502b21e4dfc46f98d1865b",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 260,
"avg_line_length": 49,
"alnum_prop": 0.673469387755102,
"repo_name": "cdnjs/cdnjs",
"id": "5f2eb4c3165c9c60a36ee48b976896b76160b104",
"size": "686",
"binary": false,... |
package org.springframework.boot.actuate.autoconfigure.tracing;
import org.junit.jupiter.api.Test;
import org.springframework.boot.autoconfigure.condition.ConditionOutcome;
import org.springframework.context.annotation.ConditionContext;
import org.springframework.core.env.Environment;
import org.springframework.cor... | {
"content_hash": "edf089857d74ee30a24018c8e0a462a1",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 113,
"avg_line_length": 35.96363636363636,
"alnum_prop": 0.8038422649140546,
"repo_name": "michael-simons/spring-boot",
"id": "e5a276bf39875dc379aec94e43355831fefeea47",
"s... |
// Copyright 2006 Nemanja Trifunovic
#ifndef UTF8_FOR_CPP_CHECKED_H_2675DCD0_9480_4c0c_B92A_CC14C027B731
#define UTF8_FOR_CPP_CHECKED_H_2675DCD0_9480_4c0c_B92A_CC14C027B731
#include "core.h"
#include <stdexcept>
namespace utf8
{
// Base for the exceptions that may be thrown from the library
class exceptio... | {
"content_hash": "0ec88e4ed1eeab2febff96772af707ac",
"timestamp": "",
"source": "github",
"line_count": 305,
"max_line_length": 120,
"avg_line_length": 35.68852459016394,
"alnum_prop": 0.5464400551217271,
"repo_name": "Roots-of-Unity/recipe2",
"id": "cc1ec4777affc64417542224621033e9849a1ce2",
"size... |
// Copyright 2014 The Chromium 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 org.chromium.mojo.shell;
import android.content.Context;
import android.util.Log;
import dalvik.system.DexClassLoader;
import org.chromium.base... | {
"content_hash": "ff9eb6965aa20d3b01456452d7390f76",
"timestamp": "",
"source": "github",
"line_count": 137,
"max_line_length": 99,
"avg_line_length": 49.306569343065696,
"alnum_prop": 0.6630643967431532,
"repo_name": "jianglu/mojo",
"id": "5b4af931f5ccf8dc4e66ad34b50d9a85d2260422",
"size": "6755",... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace Parquet.Data
{
/// <summary>
/// Represents a structure i.e. a container for other fields.
/// </summary>
public class StructField : Field, IEquatable<StructField>
{
private readonly List<Field> _fields = new List<Field>... | {
"content_hash": "27bed9a4654b7ea9ba006120a0c77021",
"timestamp": "",
"source": "github",
"line_count": 124,
"max_line_length": 98,
"avg_line_length": 25.701612903225808,
"alnum_prop": 0.5431440225917791,
"repo_name": "elastacloud/parquet-dotnet",
"id": "64be51d5fbb687351af07ba61e315abf72ff7136",
"... |
var common = require('../common.js');
var W = require('_stream_writable');
var D = require('_stream_duplex');
var assert = require('assert');
var util = require('util');
util.inherits(TestWriter, W);
function TestWriter() {
W.apply(this, arguments);
this.buffer = [];
this.written = 0;
}
TestWriter.prototype._w... | {
"content_hash": "6925a7df272c64ea6bbe825116f0e583",
"timestamp": "",
"source": "github",
"line_count": 356,
"max_line_length": 71,
"avg_line_length": 20.581460674157302,
"alnum_prop": 0.5638051044083526,
"repo_name": "WhiteVell/Amber",
"id": "e0f384cb2ad639d80042cb77bbfa55aa3d9de1a3",
"size": "846... |
package com.planet_ink.coffee_mud.Abilities.Prayers;
import com.planet_ink.coffee_mud.core.interfaces.*;
import com.planet_ink.coffee_mud.core.*;
import com.planet_ink.coffee_mud.core.collections.*;
import com.planet_ink.coffee_mud.Abilities.interfaces.*;
import com.planet_ink.coffee_mud.Areas.interfaces.*;
impor... | {
"content_hash": "bd250dccd3ef134425849902013eec4e",
"timestamp": "",
"source": "github",
"line_count": 107,
"max_line_length": 132,
"avg_line_length": 38.401869158878505,
"alnum_prop": 0.7026040399123874,
"repo_name": "MaxRau/CoffeeMud",
"id": "f657e52c0f33f3c593527267276d835de131bfee",
"size": "4... |
class Y2
trait Y3
class Test extends Object { self: Y2 with Y3 =>
class A(x: Object) extends Object { self: Y3 =>
object T1 extends Object {
class Y4 extends Object { self: Y3 =>
class T3 extends Object { self: Y4 with Y3 =>
class T5(x: Object) extends T2(x) { self => }
}
... | {
"content_hash": "7178807c9c2be5733ee50c97a6f6e55d",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 56,
"avg_line_length": 30.647058823529413,
"alnum_prop": 0.5738963531669866,
"repo_name": "VladimirNik/tasty",
"id": "040fae37a573b300d3e29b44345957a88ae3c834",
"size": "52... |
import React, { Component, PropTypes } from 'react'
import { connect } from 'react-redux'
import { getPostLatest } from 'shared/modules/post/postActions';
import { selectPostsInHomePage } from 'shared/modules/post/postSelectors'
import HomePage from './HomePage';
class HomePageContainer extends Component {
static... | {
"content_hash": "27beeac9735d6456d517880869faab6e",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 73,
"avg_line_length": 23.822222222222223,
"alnum_prop": 0.7117537313432836,
"repo_name": "suranartnc/react-universal-starter-kit",
"id": "8280f973cd865aceb0981bed99f54882cac... |
#pragma warning disable CS1591
using Newtonsoft.Json;
namespace Discord.API.Rpc
{
internal class ExtendedVoiceState
{
[JsonProperty("user")]
public User User { get; set; }
[JsonProperty("voice_state")]
public Optional<VoiceState> VoiceState { get; set; }
[JsonProperty("... | {
"content_hash": "7dbe7821b08e7dc9852e1376d6270146",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 60,
"avg_line_length": 30.047619047619047,
"alnum_prop": 0.5990491283676703,
"repo_name": "AntiTcb/Discord.Net",
"id": "6722d3a298549ef2f8c8e80c3459984619ea51cf",
"size": "... |
var AJSClass=function() {
this.tools={};
this.schemas=[];
this.Application={};
this.fieldClasses=[];
this.fieldClassesPathes=[];
this.templates=[];
this.ui={};
this.path={};
// Define some default configuration
// will be overriden by custom/myproject/config/config.json
this.config={
"api":"http://local... | {
"content_hash": "7e150c60ee63b74a194269c8faca1208",
"timestamp": "",
"source": "github",
"line_count": 322,
"max_line_length": 211,
"avg_line_length": 24.295031055900623,
"alnum_prop": 0.5864757765563083,
"repo_name": "StudioDeTelevision/admiraljs",
"id": "5070671b6553598ff4b4eac80ad124afcedb39b9",
... |
<?php
$additionalNamespaces = $additionalModulePaths = $moduleDependencies = null;
$rootPath = realpath(dirname(__DIR__));
$testsPath = "$rootPath/tests";
if (is_readable($testsPath . '/TestConfiguration.php')) {
require_once $testsPath . '/TestConfiguration.php';
} else {
require_once $testsPath . '/TestCo... | {
"content_hash": "59c007ad170d3039e195361e5e8eba25",
"timestamp": "",
"source": "github",
"line_count": 100,
"max_line_length": 106,
"avg_line_length": 32.65,
"alnum_prop": 0.6695252679938745,
"repo_name": "KalaiselvanKarppusamy/test-everything-new",
"id": "971c5326d5e1a81abc3c8bc489943e61175546f7",
... |
using System.Collections.Generic;
namespace ProgramUpdated
{
public class CoverageSummary
{
public List<CodeCoverageLine> ReportedMethods = new List<CodeCoverageLine>();
public double Covered { get; set; }
}
public class CodeCoverageLine
{
public string MethodSignature {... | {
"content_hash": "2a388ad479979effc98c86910a1d1481",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 86,
"avg_line_length": 21.38888888888889,
"alnum_prop": 0.6545454545454545,
"repo_name": "aallfredo/SharpCover",
"id": "84cf03004e1d288469f6a58cef37780657f1744c",
"size": "... |
create table t1 (d date);
insert into t1 values (date'03/04/1999');
insert into t1 values (date'11/12/2001');
select * from t1 order by 1;
show columns in t1;
alter table t1 change d d timestamp;
-- should be ok:
insert into t1 values (timestamp'12/11/1996 10:11:12');
select * from t1 order by 1;
show columns in t1;... | {
"content_hash": "d6f753886f23e47b29ea33493044fbf9",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 55,
"avg_line_length": 21.095238095238095,
"alnum_prop": 0.6941309255079007,
"repo_name": "hongwoo-nam/cubrid-testcases",
"id": "6c9a78bedece3e79b5ffd3b4e9131f15121c6d2f",
... |
package io.github.syncmc.murdersleuth.listeners;
import io.github.syncmc.murdersleuth.enums.GameString;
import io.github.syncmc.murdersleuth.util.ChatHelper;
import io.github.syncmc.murdersleuth.util.GameHelper;
import io.github.syncmc.murdersleuth.util.KeybindHandler;
import net.minecraftforge.fml.common.eventhandler... | {
"content_hash": "325ad4bec8007048b9ec5bf9aa993a27",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 95,
"avg_line_length": 34.13157894736842,
"alnum_prop": 0.7016191210485736,
"repo_name": "SyncMC/MurderSleuth",
"id": "4ef9863688dbc1928e98ab8e24929a49c7c4e76e",
"size": "1... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace Mios.Swiftype {
public class DocumentResponseConverter : CustomCreationConverter<DocumentResponse> {
public override bool ... | {
"content_hash": "0a480530cd8515d77d262507181a40e2",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 120,
"avg_line_length": 31.903846153846153,
"alnum_prop": 0.6859553948161543,
"repo_name": "mios-fi/mios.swiftype",
"id": "9bd12fc61d5a1bcba76207cd1f53830db1b3ca98",
"size"... |
// Copyright 2011-2016 Google LLC
//
// 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 applicable law or agreed to in ... | {
"content_hash": "0e1e626b9e8baa9e8402733ea5447795",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 125,
"avg_line_length": 44.13636363636363,
"alnum_prop": 0.7548918640576725,
"repo_name": "google/binnavi",
"id": "1560cd7d7477b393dd4a940b0343c89fad549421",
"size": "971",... |
namespace SimplyFast.Data.Spaces.Interface
{
public enum TransactionState
{
Running,
Aborted,
Commited
}
} | {
"content_hash": "fe6236fad30620f76c935626260b0797",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 43,
"avg_line_length": 15.88888888888889,
"alnum_prop": 0.6013986013986014,
"repo_name": "Astr0/SimplyFast",
"id": "75561c4b69d8ad1c3240db153fd9880ea8867fbd",
"size": "145",... |
<app-main-menu [acceptedImageFormat]="imageFormat"></app-main-menu>
<section class="main-content">
<div class="viewport-container" #viewportContainer>
<app-viewport #viewport class="grey lighten-4" [scene]="scene"></app-viewport>
</div>
<aside class="grey lighten-3 z-depth-2">
<app-navigator [scene]="sce... | {
"content_hash": "abb24cb7334dd65bad39cb8c7c2ce255",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 94,
"avg_line_length": 35.714285714285715,
"alnum_prop": 0.706,
"repo_name": "Brictarus/animator2d",
"id": "f9a6ebd0ce676ae6cc8e1105edfd290f18f4a4f7",
"size": "500",
"bin... |
from flask.ext.wtf import Form
from wtforms.fields import StringField, SubmitField, TextField
from wtforms.fields.html5 import EmailField
from wtforms.validators import Email, InputRequired, Length
class ContactForm(Form):
name = StringField(
'Name', validators=[
InputRequired(),
L... | {
"content_hash": "ac321cf0be09764d7ccfb1b46bd681cc",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 64,
"avg_line_length": 25.81578947368421,
"alnum_prop": 0.5922528032619776,
"repo_name": "hack4impact/asylum-connect-catalog",
"id": "109ffd75254bf3be50e5410743752fc9946338ed... |
<!doctype html>
<html>
<title>npm</title>
<meta http-equiv="content-type" value="text/html;utf-8">
<link rel="stylesheet" type="text/css" href="../../static/style.css">
<link rel="canonical" href="https://www.npmjs.org/doc/cli/npm.html">
<script async=true src="../../static/toc.js"></script>
<body>
<di... | {
"content_hash": "aac0c4ad04def076598f2c5a638b9f9b",
"timestamp": "",
"source": "github",
"line_count": 154,
"max_line_length": 807,
"avg_line_length": 62.857142857142854,
"alnum_prop": 0.7098140495867769,
"repo_name": "Moserism/agencyAngularConversion",
"id": "7c60b12103ba5daf822e2ed2d6475a55ed976e6... |
class Singleton(object):
_instance = None
def __new__(cls, *args, **kwargs):
if not cls._instance:
cls._instance = super(Singleton, cls).__new__(cls, *args, **kwargs)
return cls._instance
| {
"content_hash": "1137962806b8abf0ef94e766ee3a28ab",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 73,
"avg_line_length": 34.333333333333336,
"alnum_prop": 0.6213592233009708,
"repo_name": "jeanqasaur/jeeves",
"id": "d135fa434ac2ddffa9ff122f5043e1efcdf35e49",
"size": "206... |
<section>
<h3 class="u-text--transform-none u-font--main u-mb--large">Capa <strong>animation</strong></h3>
<p>Movimientos y transiciones reusables</p>
<pre class="medium">
<code class="hljs scss" data-trim>
{% include 08-recap/04-animation.scss %}
</code>
</pre>
</section>
| {
"content_hash": "9b1e90ff8502c1a4c6138dc8dcc9022e",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 100,
"avg_line_length": 22.214285714285715,
"alnum_prop": 0.6205787781350482,
"repo_name": "danifornells/dressing-itcss",
"id": "73fd2a8d65e85024c3a56daa719adcfacc647399",
... |
package models
import (
"github.com/vseledkin/gortex"
"os"
"encoding/json"
"github.com/vseledkin/gortex/assembler"
)
type DilatedSeq2seq struct {
FirstLookupTable *gortex.Matrix
SecondLookupTable *gortex.Matrix
EmbeddingSize int
HiddenSize int
EncoderOutputSize int
LearningRate float32
Dic... | {
"content_hash": "e58b4603214de14ab96d26119a1dcb3c",
"timestamp": "",
"source": "github",
"line_count": 165,
"max_line_length": 199,
"avg_line_length": 30.76969696969697,
"alnum_prop": 0.7047468977742761,
"repo_name": "vseledkin/gortex",
"id": "ae8bf9a028a1aebdb7c0a45f7f164b0654857d6b",
"size": "50... |
'''Clip all layers in the map to the specified polygon.
Adapted from Alex Tereshenkov, http://gis.stackexchange.com/a/111712/108
'''
import os
import arcpy
arcpy.env.overwriteOutput = True
mxd = arcpy.GetParameterAsText(0)
clip_layer = arcpy.GetParameterAsText(1)
out_gdb = arcpy.GetParameterAsText(2)
if not mxd:
... | {
"content_hash": "50c788ef5a37b9bb146ae77fe1d8fd43",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 94,
"avg_line_length": 33.885714285714286,
"alnum_prop": 0.6500843170320405,
"repo_name": "maphew/arcplus",
"id": "94895a124391ce2fc9418b8334ba6b41f8060c6e",
"size": "1186"... |
#ifndef PageOverlay_h
#define PageOverlay_h
#include "platform/graphics/GraphicsLayer.h"
#include "platform/graphics/GraphicsLayerClient.h"
#include "platform/graphics/paint/DisplayItemClient.h"
#include "wtf/OwnPtr.h"
#include "wtf/PassOwnPtr.h"
#include "wtf/text/WTFString.h"
namespace blink {
class GraphicsCont... | {
"content_hash": "41c6ddb7a02c9363a5dd612d9ea17124",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 135,
"avg_line_length": 31.03174603174603,
"alnum_prop": 0.7432225063938619,
"repo_name": "ds-hwang/chromium-crosswalk",
"id": "e368d0992309e393466cef2d1738ffebc16a2ae5",
"... |
require 'pty'
require 'shellwords'
require 'fileutils'
require 'credentials_manager/account_manager'
module FastlaneCore
# The TransporterInputError occurs when you passed wrong inputs to the {Deliver::ItunesTransporter}
class TransporterInputError < StandardError
end
# The TransporterTransferError occurs when... | {
"content_hash": "57a5e2f08f0f5970052376c269dbc4cb",
"timestamp": "",
"source": "github",
"line_count": 312,
"max_line_length": 167,
"avg_line_length": 37.157051282051285,
"alnum_prop": 0.6469421202449754,
"repo_name": "st3fan/fastlane",
"id": "306eebe4b990ac86463a9d7f7c4dbbcdda6eebc1",
"size": "11... |
// 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.uiDesigner.propertyInspector;
import com.intellij.designer.LightToolWindowContent;
import com.intellij.openapi.actionSystem.DataProvider;
import com.intellij... | {
"content_hash": "42e4c37a5ad7ccb19b64cf1fc4721081",
"timestamp": "",
"source": "github",
"line_count": 127,
"max_line_length": 140,
"avg_line_length": 31.19685039370079,
"alnum_prop": 0.7614840989399293,
"repo_name": "JetBrains/intellij-community",
"id": "90a3af6ecf1980e6f03bf385a8daca300834d84d",
... |
package plank
import (
"time"
uuid "github.com/satori/go.uuid"
"k8s.io/test-infra/prow/config"
"k8s.io/test-infra/prow/kube"
)
// NewProwJob initializes a ProwJob out of a ProwJobSpec.
func NewProwJob(spec kube.ProwJobSpec) kube.ProwJob {
return kube.ProwJob{
APIVersion: "prow.k8s.io/v1",
Kind: "Pr... | {
"content_hash": "a45f06d7d03a67a1e401900c08ee582b",
"timestamp": "",
"source": "github",
"line_count": 110,
"max_line_length": 80,
"avg_line_length": 24.80909090909091,
"alnum_prop": 0.69366068156834,
"repo_name": "kewu1992/test-infra",
"id": "9bdffee878e9ead9b0419cacf605782e76d88cf8",
"size": "32... |
package apache_httpcomponents.asyncclient;
import org.apache.http.HttpResponse;
import org.apache.http.client.config.RequestConfig;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.concurrent.FutureCallback;
import org.apache.http.entity.StringEntity;
import org.apache.http.impl.nio.client.Closea... | {
"content_hash": "fb258b806d428932262679bdecabc8cf",
"timestamp": "",
"source": "github",
"line_count": 111,
"max_line_length": 134,
"avg_line_length": 33.11711711711712,
"alnum_prop": 0.6346572361262242,
"repo_name": "gdefias/StudyJava",
"id": "483823fe6a0761c28364ad824602cce7ae6660c7",
"size": "3... |
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.11
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* -----------------------------... | {
"content_hash": "f31210120c8bc71dcb488a5e622a6bfe",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 83,
"avg_line_length": 41.2,
"alnum_prop": 0.5453074433656958,
"repo_name": "Zomby2D/libgdx",
"id": "29bf489c567959aac6631622a0d90f48917b1d37",
"size": "618",
"binary": f... |
<Alloy>
<View class="container" id="newsView">
<View id="header" backgroundColor="#375540" >
<ImageView onClick="goHome" image="/images/GO_inventory_hoz.png" height="35" left="10" />
<Label class="h1" id="appTitle">NEWS & EVENTS</Label>
<View backgroundImage="/images/more-button.png" height="35" width="35"... | {
"content_hash": "0bce0aa1a7f43644539fa24db7d69f07",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 145,
"avg_line_length": 55.27777777777778,
"alnum_prop": 0.6512562814070352,
"repo_name": "geonn/GO_Inventory",
"id": "cc49f096bea472bec0b9117e0b777a982fa50dd9",
"size": "9... |
@interface COConversationListController ()
@property (nonatomic, strong) NSMutableArray *conversations;
@property (nonatomic, strong) NSMutableArray *notifications;
@property (nonatomic, assign) NSInteger convPage;
@property (nonatomic, assign) NSInteger notifiPage;
@property (nonatomic, assign) NSInteger msgType;
@p... | {
"content_hash": "5d02d936b2ba55d1a314b21cc19ae36b",
"timestamp": "",
"source": "github",
"line_count": 491,
"max_line_length": 236,
"avg_line_length": 37.942973523421585,
"alnum_prop": 0.6276972624798711,
"repo_name": "Coding/Coding-iPad",
"id": "ea0fa03083471407b84ab52e1b3c72da090c22dd",
"size": ... |
namespace Microsoft.Azure.Management.ContainerService.Models
{
using Newtonsoft.Json;
using System.Linq;
/// <summary>
/// An error response from the pod identity provisioning.
/// </summary>
public partial class ManagedClusterPodIdentityProvisioningError
{
/// <summary>
///... | {
"content_hash": "3a241d8531d5d9e1368332705f1861d7",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 169,
"avg_line_length": 32.883720930232556,
"alnum_prop": 0.632956152758133,
"repo_name": "AsrOneSdk/azure-sdk-for-net",
"id": "7bbe043394ce8b6d5013309a9300b0348eeb17bd",
"... |
package keys
import (
"bufio"
"bytes"
"encoding/pem"
"errors"
"fmt"
"regexp"
"strings"
"github.com/sourcekris/goRsaTool/ln"
fmp "github.com/sourcekris/goflint"
"github.com/sourcekris/x509big"
)
var (
// lineRE is a regexp that should match interesting integers on lines.
lineRE = regexp.MustCompile(`(?i)^... | {
"content_hash": "915c4e4a2a0b457ceea18afcb624448c",
"timestamp": "",
"source": "github",
"line_count": 315,
"max_line_length": 127,
"avg_line_length": 26.812698412698413,
"alnum_prop": 0.6257399952640303,
"repo_name": "sourcekris/goRsaTool",
"id": "8ef961494880cce6e960daff2d27b3b9b1c444ea",
"size"... |
<?php
namespace Nova\Database\Query\Processors;
use Nova\Database\Query\Builder;
use Nova\Database\Query\Processor;
class SqlServerProcessor extends Processor
{
/**
* Process the results of a column listing query.
*
* @param array $results
* @return array
*/
public function proces... | {
"content_hash": "3d38e51bce54ead7172318616951cb95",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 56,
"avg_line_length": 19.36,
"alnum_prop": 0.6260330578512396,
"repo_name": "nova-framework/system",
"id": "60298012defde2b6fc16622da277ea91ae3c1fd5",
"size": "484",
"bi... |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Struct message</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="../../../../index.html"... | {
"content_hash": "c97c35fe596271f7fe45d7f7e053fd4e",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 588,
"avg_line_length": 94.40677966101696,
"alnum_prop": 0.6529622980251346,
"repo_name": "keichan100yen/ode-ext",
"id": "3cd8daa6719305b14f4eb7e85ef522bc5058698a",
"size":... |
<?php
namespace spec\HalExplorer\ClientAdapters;
use PhpSpec\ObjectBehavior;
use Prophecy\Argument;
use HalExplorer\ClientAdapters\AdapterInterface;
use HalExplorer\ClientAdapters\Adapter;
use HalExplorer\Exceptions\LinkNotFoundException;
class AdapterSpec extends ObjectBehavior
{
function it_should_implement_th... | {
"content_hash": "de6afeb363167b70e67aa5b29ff02eb5",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 79,
"avg_line_length": 26.529411764705884,
"alnum_prop": 0.802660753880266,
"repo_name": "Jmeyering/hal-explorer",
"id": "575f9cbfe04f7c23c3d2fcd3cbede38744a19b45",
"size":... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "d7463a69415eeab8e0a2b1124e12a3a2",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "4fafbc3ad4105e40c1cc285bf78e71fc76a277a7",
"size": "177... |
using Squidex.Domain.Apps.Core.Contents;
using Squidex.Domain.Apps.Entities.Apps.Commands;
using Squidex.Infrastructure;
using Squidex.Infrastructure.Translations;
using Squidex.Infrastructure.Validation;
namespace Squidex.Domain.Apps.Entities.Apps.DomainObject.Guards;
public static class GuardAppWorkflows
{
publ... | {
"content_hash": "239620f0295372ad69c321db6f92ebe2",
"timestamp": "",
"source": "github",
"line_count": 104,
"max_line_length": 115,
"avg_line_length": 30.35576923076923,
"alnum_prop": 0.5318340196388976,
"repo_name": "Squidex/squidex",
"id": "385acdb6b7301f5800f4ad404a5bbfbdf71a88f0",
"size": "352... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--
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... | {
"content_hash": "cd8814fa3c3b15bb2def3cd45c7ada44",
"timestamp": "",
"source": "github",
"line_count": 565,
"max_line_length": 134,
"avg_line_length": 37.09380530973451,
"alnum_prop": 0.4626872793205459,
"repo_name": "Eastborn/Games-of-Life",
"id": "fec037a3ee89fac8fe99b46eceb8f689ff297c31",
"size... |
'''This is the urlconf for contact urls.'''
from django.conf.urls import *
from external import views
urlpatterns = patterns('',
url(r'^new/$', views.ContactCreate.as_view(), name="contact-new"),
url(r'^(?P<slug>[\w-]+)/$', views.ContactDetail.as_view(), name="contact-detail"),
url(r'^(?P<slug>[\w-]+)/edit$', ... | {
"content_hash": "29efdf43ddbd04beec6b3ff74372ca71",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 89,
"avg_line_length": 40.84615384615385,
"alnum_prop": 0.6459510357815442,
"repo_name": "davebridges/ExperimentDB",
"id": "82dbe8f7dd800b367e1b21fd453f1cf8c001d106",
"size... |
<meta charset="utf-8">
(#) Bidirectional text spoofing
!!! ERROR: Bidirectional text spoofing
This is an error.
Id
: `BidiSpoofing`
Summary
: Bidirectional text spoofing
Severity
: Error
Category
: Security
Platform
: Any
Vendor
: Android Open Source Project
Feedback
: https://issuetracker.google.com... | {
"content_hash": "303a8d48b5dd8d7dc4a3975df3e2719d",
"timestamp": "",
"source": "github",
"line_count": 173,
"max_line_length": 356,
"avg_line_length": 32.971098265895954,
"alnum_prop": 0.6374474053295933,
"repo_name": "googlesamples/android-custom-lint-rules",
"id": "dfba0957117d4b80b99ecc6f121a52dd... |
<?php
class RiderLocation {
private $id;
private $rider_id;
private $longitude;
private $latitude;
private $adres;
private $time;
private $accuracy;
private $provider;
public function __construct() {
}
public function setId($id) {
$this->id = $id;
}
public... | {
"content_hash": "863037acf8c5608d78ceeac9a0a9c50b",
"timestamp": "",
"source": "github",
"line_count": 94,
"max_line_length": 53,
"avg_line_length": 20.75531914893617,
"alnum_prop": 0.5284469502819067,
"repo_name": "roothaan/jotihunt-site",
"id": "33e63e64fb36b49c85749ce24567560d65bcc95b",
"size":... |
- Updated request timeout
| {
"content_hash": "d152d19f0f2c7fdbfe6455e53911c378",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 25,
"avg_line_length": 26,
"alnum_prop": 0.8076923076923077,
"repo_name": "demisto/content",
"id": "127dba0e7188a08eaea76f33730f2f23e0571f94",
"size": "60",
"binary": fals... |
package io.netty.handler.codec.haproxy;
import io.netty.bootstrap.Bootstrap;
import io.netty.bootstrap.ServerBootstrap;
import io.netty.channel.Channel;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.ChannelInitializer;
import io.netty.channel.DefaultEventLoopGroup;
import io.netty.channel.Ev... | {
"content_hash": "d9d6890efc7ee5884d630419c9378c8b",
"timestamp": "",
"source": "github",
"line_count": 81,
"max_line_length": 115,
"avg_line_length": 42.19753086419753,
"alnum_prop": 0.6500877706260971,
"repo_name": "ejona86/netty",
"id": "5840fa1614af462e60dbc4a415e5a5df1c05a36e",
"size": "4053",... |
package vindexes
import (
"bytes"
"context"
"math"
"strconv"
"strings"
"vitess.io/vitess/go/sqltypes"
"vitess.io/vitess/go/vt/key"
vtrpcpb "vitess.io/vitess/go/vt/proto/vtrpc"
"vitess.io/vitess/go/vt/vterrors"
)
var _ MultiColumn = (*MultiCol)(nil)
type MultiCol struct {
name string
cost ... | {
"content_hash": "2389b29f712ac6ceb46215bc32291edc",
"timestamp": "",
"source": "github",
"line_count": 232,
"max_line_length": 208,
"avg_line_length": 27.40948275862069,
"alnum_prop": 0.686585941185721,
"repo_name": "vitessio/vitess",
"id": "04d84fadb3a553c6323e2d60a8f19dc009e4a997",
"size": "6924... |
MDPNews-iPad-App-Demo--FlipView-
================================
MDPNews Flip View Demo
Original code based on FlipView Demo by Reefaq Mohammed on 16/07/11.
To Do:
------
Not much exception handling is done, code needs to be added to handle network errors etc.
Loading is a bit slow. Will need to tweak that.
----... | {
"content_hash": "4687a2c13f2c367b980d8a10a354594a",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 150,
"avg_line_length": 24.318181818181817,
"alnum_prop": 0.697196261682243,
"repo_name": "Sofwath/MDPNews-iPad-App-Demo--FlipView-",
"id": "30f4d1f25264e87e1a8d07e18bf792e8d... |
namespace mongo_smasher {
template <>
typename enum_view_definition<log_level>::type enum_view_definition<log_level>::str_array = {
"debug", "info", "warning", "error", "fatal", "quiet"};
log_level &mutable_global_log_level() {
static log_level global_level{log_level::info};
return global_level;
}
log_level ... | {
"content_hash": "b35b718d6ff01c347c2d1ed86a398561",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 93,
"avg_line_length": 25.6875,
"alnum_prop": 0.6934306569343066,
"repo_name": "duckie/mongo_smasher",
"id": "a136ea69f9f5826b9ef1ddcd7c94b23c160ff794",
"size": "432",
"b... |
package org.apache.geode.internal.cache.control;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Set;
import java.util.concurrent.CompletableFuture;
import java.uti... | {
"content_hash": "60d50515c948e944ad3d2a5b7e910deb",
"timestamp": "",
"source": "github",
"line_count": 627,
"max_line_length": 106,
"avg_line_length": 31.38755980861244,
"alnum_prop": 0.7248475609756098,
"repo_name": "jdeppe-pivotal/geode",
"id": "cad0d16252c71c6bec3980f7a71864c2b170ef0e",
"size":... |
package org.apache.jmeter.report.dashboard;
import java.io.BufferedWriter;
import java.io.FileWriter;
import java.io.IOException;
import java.io.Writer;
import java.nio.file.StandardCopyOption;
import java.nio.file.FileAlreadyExistsException;
import java.nio.file.FileVisitResult;
import java.nio.file.Files;
import ja... | {
"content_hash": "64d7096bd17adb1b806e664423a4a30e",
"timestamp": "",
"source": "github",
"line_count": 111,
"max_line_length": 81,
"avg_line_length": 32.945945945945944,
"alnum_prop": 0.6622914957615532,
"repo_name": "ubikfsabbe/jmeter",
"id": "abecfbcf6bbfd7dda6c33294f2084c14080ac5bb",
"size": "4... |
namespace minirpc
{
class Buffer // copyable
{
static const int buffer_size_ = 1024;
public:
Buffer();
~Buffer();
int Read(int fd);
int Write(int fd);
void clear()
{
buffer_.clear();
read_index_ = write_index_ = 0;
}
char* content()
{
return &(buffer_[0]);
}
char* firstReadData... | {
"content_hash": "6bdab67a9729405f93d88bccb99ce191",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 68,
"avg_line_length": 15.191780821917808,
"alnum_prop": 0.6203787195671776,
"repo_name": "xiongfengOrz/MiniRPC",
"id": "b9b4e3bf4a5412c5c799843beb78c50d588d3a3b",
"size": ... |
external help file: Microsoft.Azure.Commands.RedisCache.dll-Help.xml
ms.assetid: 1F86CE62-AA01-44FB-A935-484EC51DDE5A
online version:
schema: 2.0.0
---
# New-AzureRmRedisCacheKey
## SYNOPSIS
Regenerates the access key of a Redis Cache.
## SYNTAX
```
New-AzureRmRedisCacheKey -ResourceGroupName <String> -Name <Strin... | {
"content_hash": "8afb8287a475ac50153da1f8ba019668",
"timestamp": "",
"source": "github",
"line_count": 158,
"max_line_length": 314,
"avg_line_length": 22.38607594936709,
"alnum_prop": 0.757986994628216,
"repo_name": "zhencui/azure-powershell",
"id": "c4cc48a42b6505b27fd87d31697beb0b0500c3d0",
"siz... |
// 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.Threading.Tasks;
using Microsoft.CodeAnalysis.Completion;
using Microsoft.CodeAnalysis.Completion.Providers;
using Microsoft.CodeAnalysis.CSharp;... | {
"content_hash": "e234e3cb7b0ad48efbedc0dc3255ab43",
"timestamp": "",
"source": "github",
"line_count": 9110,
"max_line_length": 408,
"avg_line_length": 30.313172338090013,
"alnum_prop": 0.6025753839357167,
"repo_name": "amcasey/roslyn",
"id": "8fd7877dd37826c90ead033a77fc29837dca35d3",
"size": "27... |
<?php
namespace AppBundle\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\HttpFoundation\Request;
class DefaultController extends Controller
{
/**
* @Route("/", name="homepage")
*/
public functio... | {
"content_hash": "bedda49e418978aec1c58558a58caee3",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 140,
"avg_line_length": 24.36,
"alnum_prop": 0.6798029556650246,
"repo_name": "enjoi11/symfony",
"id": "0f6e9aac4819bf012e6b800a88c14f4301a817e3",
"size": "609",
"binary"... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "beaa602f569bc08667119e080c5a454c",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "5a916271b80c7f8e178a68943d85dede392efd1a",
"size": "183... |
<!DOCTYPE html>
<html lang="en" ng-app="app">
<head>
<base href="/"/>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<title>商学院管理信息系统</title>
<link rel="stylesheet" media="screen" href="bower_components/bootstrap/dist/css/bootstrap.min.css"/>
<link rel="stylesheet" me... | {
"content_hash": "e8fdab4dfb0029196b165bebb5be6ac6",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 126,
"avg_line_length": 67.70370370370371,
"alnum_prop": 0.7338621444201313,
"repo_name": "lonelydawn/sxy",
"id": "bc150ea103879072209e44ba85825a4bae1ebf2c",
"size": "3674"... |
<!DOCTYPE html>
<title>Test that media autoplay should not work if user gesture is required for playback.</title>
<script src="../resources/testharness.js"></script>
<script src="../resources/testharnessreport.js"></script>
<script src="media-file.js"></script>
<script>
internals.settings.setMediaPlaybackRequiresUserGe... | {
"content_hash": "eeeb8d7e26f61d62e23691147cf31b74",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 97,
"avg_line_length": 33.63636363636363,
"alnum_prop": 0.7040540540540541,
"repo_name": "google-ar/WebARonARCore",
"id": "11dba831e9865f6a3303cdf8b1ac692588f21acc",
"size"... |
using System.Collections;
using System.Collections.Generic;
using System.Data;
namespace LinqToDB.DataProvider.PostgreSQL
{
using Common;
using Data;
using Mapping;
using SqlProvider;
using System.Threading;
using System.Threading.Tasks;
public class PostgreSQLDataProvider : DynamicDataProviderBase<NpgsqlProv... | {
"content_hash": "54606b6674577585f02c4703842f770d",
"timestamp": "",
"source": "github",
"line_count": 450,
"max_line_length": 154,
"avg_line_length": 38.91111111111111,
"alnum_prop": 0.6826956025128498,
"repo_name": "MaceWindu/linq2db",
"id": "c1718a992dd1ac96c8e36282a5a6cc733161a590",
"size": "1... |
package test.testSpark
import org.junit._
import Assert._
@Test
class AppTest {
@Test
def testOK() = assertTrue(true)
// @Test
// def testKO() = assertTrue(false)
}
| {
"content_hash": "57c051115ec087b887ce4151df3185b6",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 38,
"avg_line_length": 10.941176470588236,
"alnum_prop": 0.6290322580645161,
"repo_name": "arunchan05/sparkLearning",
"id": "cf612642e6c9ca27d5c59310dd3a0528fa4d35b9",
"siz... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.