text stringlengths 2 1.04M | meta dict |
|---|---|
/* commented out files stopped automatic test run in GOGI builds 2007-03, had to be run manually. Hallvord. */
fileArray = [ "/core/standards/scripts/jstest-futhark/DOM-regression/domimplementation.html",
"/core/standards/scripts/jstest-futhark/DOM-regression/attrnode.html",
/* "/core/... | {
"content_hash": "45fed8f58abd99443563de6fe1d71ff9",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 110,
"avg_line_length": 91.66666666666667,
"alnum_prop": 0.6596363636363637,
"repo_name": "Ms2ger/presto-testo",
"id": "68e4fb320a0972ec4fa758d5f6d327d09e49392f",
"size": "... |
* Add Rails 5.1 support
* Add a CHANGELOG
| {
"content_hash": "900f071ed42853545d17b75fda971d91",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 23,
"avg_line_length": 21,
"alnum_prop": 0.7142857142857143,
"repo_name": "ministrycentered/maybe_so",
"id": "a70ced4bc37930a2ae285c60e07051220d8a7514",
"size": "68",
"bin... |
(function (window, document, angular) {
"use strict";
/**
* A fileupload component
*/
angular.module('app.widgets')
.directive('fileupload', FileUploadDirective);
FileUploadDirective.$inject = ['$rootScope', 'fileuploadService'];
/* @ngInject */
function FileUploadDirective($rootScope, fileuploadService)... | {
"content_hash": "c70eb6f3e4cc65ed545ec7c273d2923c",
"timestamp": "",
"source": "github",
"line_count": 101,
"max_line_length": 87,
"avg_line_length": 21.871287128712872,
"alnum_prop": 0.609325486645541,
"repo_name": "CESNET-Integracni-portal/integracni-portal-ui",
"id": "23c5071197b638c3fec297082ce6... |
<!--
Copyright SemanticBits, Northwestern University and Akaza Research
Distributed under the OSI-approved BSD 3-Clause License.
See http://ncip.github.com/caaers/LICENSE.txt for details.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLoca... | {
"content_hash": "5bf78891ba4b432ea730377b9027c6d0",
"timestamp": "",
"source": "github",
"line_count": 174,
"max_line_length": 204,
"avg_line_length": 35.56896551724138,
"alnum_prop": 0.5451607691064793,
"repo_name": "CBIIT/caaers",
"id": "d419910e18f7ef9c48e9e9539e32b21779bf6967",
"size": "6189",... |
/*********************************************************************************
* (Demonstrate TextArea properties) Write a program that demonstrates the *
* properties of a text area. The program uses a check box to indicate whether *
* the text is wrapped onto next line, as shown in Figure 16.41a. ... | {
"content_hash": "5c0e57d2c112815df0a4bae83b1b20aa",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 82,
"avg_line_length": 34.92982456140351,
"alnum_prop": 0.6780512305374183,
"repo_name": "jsquared21/Intro-to-Java-Programming",
"id": "6787d2277fc6be72e36b2345efee9f64d6a217... |
static const ossimKeyword
NUMBER_LINES("number_lines",
"Number of lines in the raster image.");
static const ossimKeyword
NUMBER_SAMPLES("number_samples",
"Number of samples in the raster image.");
static const ossimKeyword
VALID_START_LINE("valid_start_line",
"First valid... | {
"content_hash": "444c6d1cecaf34486bd795b9049d6139",
"timestamp": "",
"source": "github",
"line_count": 1269,
"max_line_length": 95,
"avg_line_length": 27.69818754925138,
"alnum_prop": 0.538308344476372,
"repo_name": "ossimlabs/ossim",
"id": "f79903a2d96d361b8f89b5a6e2ee710201270e30",
"size": "3611... |
NSString* kWPAttributedStyleAction = @"WPAttributedStyleAction";
@implementation WPAttributedStyleAction
- (instancetype)initWithAction:(void (^)())action
{
self = [super init];
if (self) {
self.action = action;
}
return self;
}
+(NSArray*)styledActionWithAction:(void (^)())action
{
WPAtt... | {
"content_hash": "0e7f26892268180849f860650c5edf9d",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 97,
"avg_line_length": 22.06896551724138,
"alnum_prop": 0.696875,
"repo_name": "koktear/WPAttributedMarkup",
"id": "8fff667caa014b74a380c8f7a0a3d4d164b9cef4",
"size": "889"... |
'use strict';
/* Services */
var jcrServices = angular.module('jcrServices', []);
var base = 'http://localhost:8080/modules';
var baseAPI = base + '/api';
var byPathAPI = baseAPI + '/byPath/';
var byIdAPI = baseAPI + '/nodes/';
// Based on http://stackoverflow.com/questions/11850025/recommended-way-of-getting-data-f... | {
"content_hash": "8e4d500ce20ee9612f7d0505bdc5ef58",
"timestamp": "",
"source": "github",
"line_count": 194,
"max_line_length": 133,
"avg_line_length": 33.597938144329895,
"alnum_prop": 0.5523166615526235,
"repo_name": "metacosm/jcrestapi-angular-demo",
"id": "d26640791a4e1cbe91633a8785be7048b95b797b... |
require 'fog/rackspace/core'
module Fog
module Rackspace
class Identity < Fog::Service
US_ENDPOINT = 'https://identity.api.rackspacecloud.com/v2.0'
UK_ENDPOINT = 'https://lon.identity.api.rackspacecloud.com/v2.0'
requires :rackspace_username, :rackspace_api_key
recognizes :rackspace_aut... | {
"content_hash": "db15869968e2aefbdc63fbad256505ab",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 88,
"avg_line_length": 28.011904761904763,
"alnum_prop": 0.6107097322566936,
"repo_name": "petems/fog",
"id": "742c8deb5455b4e5bb2a0788610f2609d7ae7cba",
"size": "2353",
... |
var Frustum = require("../tools/frustum.js").Frustum;
var XC = require("../../../xflow/interface/constants.js");
var DataNode = require("../../../xflow/interface/graph.js").DataNode;
var InputNode = require("../../../xflow/interface/graph.js").InputNode;
var BufferEntry = require("../../../xflow/interface/data.js").Buf... | {
"content_hash": "0b4cc19fe9cc103c0cda3661441a75df",
"timestamp": "",
"source": "github",
"line_count": 392,
"max_line_length": 124,
"avg_line_length": 37.67857142857143,
"alnum_prop": 0.634529451591063,
"repo_name": "ariyapour/xml3d.js",
"id": "5f187da7511688c7ecd3bcd09d357276f0627d61",
"size": "1... |
package org.drools.model.view;
import java.util.Arrays;
import org.drools.model.Binding;
import org.drools.model.Variable;
import org.drools.model.functions.Function1;
import org.drools.model.impl.ModelComponent;
public class BindViewItem1<T> implements ViewItem<T>, Binding, ModelComponent {
private final Var... | {
"content_hash": "32dbf8d9d6c870fbd30dc27c9aa64034",
"timestamp": "",
"source": "github",
"line_count": 89,
"max_line_length": 147,
"avg_line_length": 27.359550561797754,
"alnum_prop": 0.6685831622176591,
"repo_name": "manstis/drools",
"id": "10be0e5f82d8ba4f1727cddc60fb82ec1afbe3e9",
"size": "3058... |
from django.db.models import Q
from django.utils import timezone
from treebeard.mp_tree import MP_NodeQuerySet
from cms.publisher.query import PublisherQuerySet
from cms.exceptions import NoHomeFound
class PageQuerySet(PublisherQuerySet):
def on_site(self, site=None):
from cms.utils import get_current_... | {
"content_hash": "404ef677b6858f47773bbebd736f25ed",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 88,
"avg_line_length": 33.61538461538461,
"alnum_prop": 0.6210526315789474,
"repo_name": "benzkji/django-cms",
"id": "fd5494ab00893b80f6c27b5e9489f877033aed35",
"size": "22... |
package api
import (
cfclient "github.com/cloudfoundry-community/go-cfclient"
"os"
"log"
"strconv"
"strings"
"app-metrics-nozzle/domain"
)
var logger = log.New(os.Stdout, "", 0)
var client *cfclient.Client
func init(){
skipSsl, _ := strconv.ParseBool(os.Getenv("SKIP_SSL_VALIDATION"))
c := cfclient.Config{
... | {
"content_hash": "ccaac311bd260fadab95599ffaa3c204",
"timestamp": "",
"source": "github",
"line_count": 107,
"max_line_length": 120,
"avg_line_length": 26.97196261682243,
"alnum_prop": 0.7217602217602218,
"repo_name": "deejross/app-metrics-nozzle",
"id": "0d08e126a86806af4e1a9660db1417681bee7542",
... |
class CreateSelecaoAdminPublications < ActiveRecord::Migration
def change
create_table :selecao_admin_publications do |t|
t.string :title
t.text :publication_text
t.belongs_to :publication_category
t.timestamps
end
add_index :selecao_admin_publications, :publication_category_id
... | {
"content_hash": "a839c0fc38d1c86ee13b16c6676fa09a",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 67,
"avg_line_length": 27.333333333333332,
"alnum_prop": 0.7225609756097561,
"repo_name": "swayzepatryck/selecao_admin",
"id": "93cc8edab295f8595f42b42fc2ed09160ec34c39",
"... |
<!--#########################################################################-->
<!--# Copyright (c) 2015 Jonas Bjurel and others. -->
<!--# jonasbjurel@hotmail.com -->
<!--# All rights reserved. This program and the accompanying materials ... | {
"content_hash": "5bf53e64d895f860dd60cc95fd9e93a7",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 89,
"avg_line_length": 37.442622950819676,
"alnum_prop": 0.4365148861646235,
"repo_name": "fdegir/OPNFV-Playground",
"id": "f54db6c454644aee03ee181c7e7e722229cb767c",
"size... |
package com.cognizant.devops.platformdal.dal;
import java.util.List;
import java.util.Map;
public class InsightsGraphNode {
private Map<String, Object> propertyMap;
private InsightsRelationShip relation;
private List<String> labels;
public Map<String, Object> getPropertyMap() {
return propertyMap;
}
pub... | {
"content_hash": "9814053e30693e6a975b4ad6002c9384",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 62,
"avg_line_length": 19.72222222222222,
"alnum_prop": 0.7450704225352113,
"repo_name": "CognizantOneDevOps/Insights",
"id": "65d86f7452eceb09ab550f7affb53f75e5a4eb41",
"s... |
<?xml version="1.0"?>
<properties>
<Edit>true</Edit>
<Files>true</Files>
<LastModified>20080131162316</LastModified>
<Properties>true</Properties>
<RecentChanges>true</RecentChanges>
<Refactor>true</Refactor>
<Search>true</Search>
<Versions>true</Versions>
<WhereUsed>true</WhereUsed>
<saveId>1201796596808</sa... | {
"content_hash": "f8dd9fc0e1012695b246d95e498633c6",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 44,
"avg_line_length": 27.285714285714285,
"alnum_prop": 0.7539267015706806,
"repo_name": "NCIP/caintegrator",
"id": "67bbada8bea3ab3da10f100cf3801c3b82608c46",
"size": "38... |
import torch # for torch.cat and torch.zeros
import torch.nn as nn
import torch.utils.model_zoo as model_zoo
from nhwc.conv import Conv2d_NHWC
from nhwc.batch_norm import BatchNorm2d_NHWC
from nhwc.max_pool import MaxPool2d_NHWC
# Group batch norm
from apex.parallel import SyncBatchNorm as gbn
# Pe... | {
"content_hash": "ca49e8cbdcc1e4dec919ae7bc7e5aec8",
"timestamp": "",
"source": "github",
"line_count": 220,
"max_line_length": 127,
"avg_line_length": 35.804545454545455,
"alnum_prop": 0.584105623968516,
"repo_name": "mlperf/training_results_v0.7",
"id": "0030d419034e826b4e41b2f0d3cc75e34cb3a57d",
... |
#ifndef HEADER_CURL_CONFIG_MAC_H
#define HEADER_CURL_CONFIG_MAC_H
/* =================================================================== */
/* Hand crafted config file for Mac OS 9 */
/* =================================================================== */
/* On Mac OS X you must run c... | {
"content_hash": "8bf7a1b4854cb7ed3b92aea3c6778f90",
"timestamp": "",
"source": "github",
"line_count": 107,
"max_line_length": 73,
"avg_line_length": 28.485981308411215,
"alnum_prop": 0.5980971128608924,
"repo_name": "rhomobile/rhodes",
"id": "ba9f357ba78218cfb687ce6f3df07c996fd615a4",
"size": "40... |
package android.content;
import com.facebook.infer.builtins.InferBuiltins;
import com.facebook.infer.builtins.InferUndefined;
import android.database.Cursor;
import android.database.sqlite.SQLiteCursor;
import android.net.Uri;
import android.os.CancellationSignal;
import android.os.RemoteException;
public class C... | {
"content_hash": "c8e53f54198976159423b3149b31cbd9",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 105,
"avg_line_length": 31.25,
"alnum_prop": 0.7323636363636363,
"repo_name": "ryoon/infer",
"id": "18e878ffad525e3b4a8d3ea589c4ac5642178ac0",
"size": "1683",
"binary": f... |
FROM balenalib/revpi-connect-fedora:30-build
# http://bugs.python.org/issue19846
# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
ENV LANG C.UTF-8
RUN dnf install -y \
python3-pip \
python3-dbus \
&& dnf clean all
# install "virtualenv", since the vast ma... | {
"content_hash": "f1ee758a7ade44285489fc01c5771f12",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 707,
"avg_line_length": 78.03225806451613,
"alnum_prop": 0.7337742868954114,
"repo_name": "nghiant2710/base-images",
"id": "eac53018e9645ac20137ed102b906d795ebf9442",
"size... |
/**
\file
\brief This file contains the abstraction of the kstat system on Solaris
\date 2007-08-22 11:39:54
*/
/*----------------------------------------------------------------------------*/
#ifndef SCXKSTAT_H
#define SCXKSTAT_H
#if !defined(sun)
#error this file is only meaningful on ... | {
"content_hash": "e248c28ed0b04d98fb5b1460de75fb01",
"timestamp": "",
"source": "github",
"line_count": 436,
"max_line_length": 110,
"avg_line_length": 38.07339449541284,
"alnum_prop": 0.5521686746987952,
"repo_name": "MSFTOSSMgmt/SCVMMLinuxGuestAgent",
"id": "56edb0f8f31902ee4fd800bd015cfa0c0f8afdc0... |
package org.apache.hyracks.storage.am.lsm.common;
import java.io.File;
import java.io.FilenameFilter;
import java.util.ArrayList;
import org.apache.hyracks.api.exceptions.HyracksDataException;
import org.apache.hyracks.api.io.FileReference;
import org.apache.hyracks.storage.am.common.api.ITreeIndex;
import org.apac... | {
"content_hash": "e3972793f75609b1b00098e042cfa309",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 103,
"avg_line_length": 41.48571428571429,
"alnum_prop": 0.7534435261707989,
"repo_name": "waans11/incubator-asterixdb-hyracks",
"id": "7716384f4e34c3230f464cc80c319cfc3ff41b... |
class CoinStats;
class TradingstatsPage;
class QTabWidget;
class QString;
class QToolBar;
class QAction;
class QStackedWidget;
namespace Ui {
class StatisticsPage;
}
class ClientModel;
class StatisticsPage : public QWidget {
Q_OBJECT
public:
explicit StatisticsPage(QWidget *parent = 0);
~StatisticsPage(... | {
"content_hash": "32b4a57f84d410c2dff1041cd0e96e4a",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 49,
"avg_line_length": 16.242424242424242,
"alnum_prop": 0.7350746268656716,
"repo_name": "EuropecoinEUORG/EuropecoinV2",
"id": "98e1902f19ef56fbdb7be53ee622bfa7a8e8c1b4",
... |
#include "tensorflow/core/common_runtime/direct_session.h"
#include <atomic>
#include <string>
#include <vector>
#include "tensorflow/core/common_runtime/constant_folding.h"
#include "tensorflow/core/common_runtime/debugger_state_interface.h"
#include "tensorflow/core/common_runtime/device_factory.h"
#include "tens... | {
"content_hash": "ad16c1dcb69fadc2ff9ff72a9a1bc287",
"timestamp": "",
"source": "github",
"line_count": 1546,
"max_line_length": 80,
"avg_line_length": 37.216688227684344,
"alnum_prop": 0.6448546152910302,
"repo_name": "hsaputra/tensorflow",
"id": "6e243c4b7c31ceb1b3c21b40981fde96a9c173b1",
"size":... |
var checkScript = require('./checki18n');
checkScript.check(); | {
"content_hash": "04158eaf51ac2ad8f2a0ddc71761b4ee",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 41,
"avg_line_length": 31.5,
"alnum_prop": 0.7301587301587301,
"repo_name": "nickperez1285/truck-hunt-hackathon",
"id": "a3a0cd948fdc7250848468e780d37f7ca46dfae2",
"size": "... |
module Happstack.Server.SURI.ParseURI(parseURIRef) where
import qualified Data.ByteString as BB
import qualified Data.ByteString.Internal as BB
import qualified Data.ByteString.Unsafe as BB
import Data.ByteString.Char8 as BC
import Prelude hiding(break,length,null,drop,splitAt)
import Network.URI
-- import... | {
"content_hash": "0693f9ceeffd918ef596ed9697d73c1a",
"timestamp": "",
"source": "github",
"line_count": 101,
"max_line_length": 108,
"avg_line_length": 37.693069306930695,
"alnum_prop": 0.5558182295770948,
"repo_name": "erantapaa/happstack-server",
"id": "1e6ce9b132603e8464059bdd54884757b3c2227b",
... |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Struct template result<This(T &)></title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="../... | {
"content_hash": "236c584814477ca89ac365ad797466ec",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 442,
"avg_line_length": 86.14814814814815,
"alnum_prop": 0.6502579535683577,
"repo_name": "djsedulous/namecoind",
"id": "cdbe03bf5fe0e5bf510d3ccc78b44d1fa0eb20e3",
"size": ... |
package org.qi4j.library.struts2.codebehind.bootstrap;
import org.qi4j.bootstrap.Assembler;
import org.qi4j.bootstrap.AssemblyException;
import org.qi4j.bootstrap.ModuleAssembly;
import org.qi4j.library.struts2.codebehind.Qi4jCodebehindPackageProvider;
public class CodebehindAssembler
implements Assembler
{
... | {
"content_hash": "9a61d261d0bc914ed9563b216f6cd428",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 73,
"avg_line_length": 27.333333333333332,
"alnum_prop": 0.7845528455284553,
"repo_name": "ramtej/Qi4j.Repo.4.Sync",
"id": "2d18c73db71915a242981b1b60294d574e2425d5",
"size... |
//
// ConstantHeader.h
// peisongduan
//
// Created by 莫大宝 on 16/6/15.
// Copyright © 2016年 dabao. All rights reserved.
//
#ifndef ConstantHeader_h
#define ConstantHeader_h
#define kScreenWidth [UIScreen mainScreen].bounds.size.width// 屏幕宽度
#define kScreenHeight [UIScreen mainScreen].bounds.size.height// 屏幕高度
#... | {
"content_hash": "e4f077e16b0f607476065ee41466e898",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 98,
"avg_line_length": 28.375,
"alnum_prop": 0.7522026431718062,
"repo_name": "MoDaBao/Courier",
"id": "30d6e8b3b3f8b087db60393543376fa27d1a495b",
"size": "1075",
"binary... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE78_OS_Command_Injection__wchar_t_listen_socket_w32_execvp_53c.c
Label Definition File: CWE78_OS_Command_Injection.strings.label.xml
Template File: sources-sink-53c.tmpl.c
*/
/*
* @description
* CWE: 78 OS Command Injection
* BadSource: listen_socket Read data ... | {
"content_hash": "cedf90e335e83941638a5ee6ac8bdfd7",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 156,
"avg_line_length": 29.25,
"alnum_prop": 0.7163207163207164,
"repo_name": "maurer/tiamat",
"id": "19f58023871d34e3ebd848fc7577f4819b22deb0",
"size": "2457",
"binary":... |
package org.uberfire.ext.properties.editor.model.validators;
import org.jboss.errai.common.client.api.annotations.Portable;
@Portable
public class LongValidator implements PropertyFieldValidator {
@Override
public boolean validate( Object value ) {
try {
Long.parseLong( value.toString()... | {
"content_hash": "90a6510ace905cfd1a4e996efeb0a7c1",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 62,
"avg_line_length": 22.375,
"alnum_prop": 0.6368715083798883,
"repo_name": "pefernan/uberfire-extensions",
"id": "53fe18c1cc21880bcd2c6157b72f9f5480f462f5",
"size": "114... |
package org.powlab.jeye.tests
import org.powlab.jeye.tests.call._
import org.powlab.jeye.decompile._
package call {
//TODO FAIL: проблемы с определением типа
@org.junit.Ignore
class CallTest1Test extends DecompileTestClass(classOf[CallTest1]) {}
class CalTest01Test extends DecompileTestClass(classOf[CalTest... | {
"content_hash": "cf319c2d16f0e159dc7afc51757a1219",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 77,
"avg_line_length": 24,
"alnum_prop": 0.7767857142857143,
"repo_name": "powlab/jeye",
"id": "1e09562a8fe74a11bef5de35c9cf38402635dd2d",
"size": "361",
"binary": false,... |
const test = require('tape')
const ipret = require('../src/ipret')
const strings = {
'Current password': 'Şimdiki şifre',
'New password': 'Yeni şifre',
'Change Password': 'Şifreyi Değiştir',
'Updated {0}': '{0} güncellendi',
'password': 'şifre'
}
test('setLanguage throws language not defined error', t => {
... | {
"content_hash": "8ac51f43f2a34652c80dff5523fc8a97",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 128,
"avg_line_length": 34.4054054054054,
"alnum_prop": 0.6904948939512962,
"repo_name": "dbtek/ipret",
"id": "3ca752a0fb188493c3cb8208d9778b10606f5056",
"size": "1283",
... |
<div class="signup">
<div class="signupForm">
<h1 class="getEggs">fresh eggs are waiting</h1>
<form ng-submit="addUser(newUser)" method="post">
<div class="form-group">
<label class="sr-only" for="signup.name">Full Name</label>
<input type="name" class="form-control" name="name" p... | {
"content_hash": "a539e4cf29815661e6b123d452156e7a",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 118,
"avg_line_length": 39.791666666666664,
"alnum_prop": 0.625130890052356,
"repo_name": "toyblox/coop-per-pro",
"id": "1a43fa9900fea96ffe3ef3c945a95cac74105c40",
"size": ... |
package org.consec.oauth2.authzserver.jpa.entities;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import... | {
"content_hash": "5f9ef4f947bd85f6d15f92bc4534db67",
"timestamp": "",
"source": "github",
"line_count": 148,
"max_line_length": 106,
"avg_line_length": 27.175675675675677,
"alnum_prop": 0.6437095972153157,
"repo_name": "consec/ConSec",
"id": "63849fd07df3e4acaf785a306c807910826bb9bc",
"size": "4022... |
<?php
class Template_user {
protected $_ci;
function __construct()
{
$this->_ci=&get_instance();
}
function display($template_user,$data=NULL)
{
$data['_content']=$this->_ci->load->view($template_user,$data, TRUE);
$data['_header']=$this->_ci->load->view('template_user/... | {
"content_hash": "8f3f3c94c059b4bd666bba5f8fa55ffb",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 84,
"avg_line_length": 32.69565217391305,
"alnum_prop": 0.5811170212765957,
"repo_name": "Ikaw/Sistem-ABS-Tugas-Akhir-",
"id": "f9d0ae15a862fd4fa0b47526b7ead67be8f1ae70",
"... |
using System;
using Com.Aspose.Barcode.Api;
using Com.Aspose.Barcode.Model;
using Com.Aspose.Storage.Api;
namespace CSharp.GeneratingSaving.CloudStorage
{
class SetBarcodeImageMargin
{
public static void Run()
{
// ExStart:1
// Instantiate Aspose Storage Cloud API SDK
... | {
"content_hash": "cbbdc3985d7fbdaf3a35ac2cd302a0c8",
"timestamp": "",
"source": "github",
"line_count": 96,
"max_line_length": 341,
"avg_line_length": 39.552083333333336,
"alnum_prop": 0.5830919146694759,
"repo_name": "asposebarcode/Aspose_BarCode_Cloud",
"id": "b5226a11060c8c39ab6b7d3bcf063845039e07... |
// Copyright 2022 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | {
"content_hash": "eebd80e02e167aa7a4e4c9ad6cb449f4",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 98,
"avg_line_length": 30.476923076923075,
"alnum_prop": 0.7031802120141343,
"repo_name": "googleapis/nodejs-dialogflow",
"id": "09788da9aa9fd473b05f40ca86fcf24e475a2a9c",
... |
var path = require('path');
// The source is split into multiple files (setup.js, cloud.js, etc.) and this file is the one
// that hooks all of the pieces together.
// The setup module handles things like parsing the command line and dealing with the settings file.
// It also keeps track of all of the different modu... | {
"content_hash": "0c15026c590238eaeeeb007d4cb70157",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 100,
"avg_line_length": 42.24193548387097,
"alnum_prop": 0.7487590683466973,
"repo_name": "anttir/rclogger",
"id": "5884245b8d2f2582f3e48e9b202a352b9a58073c",
"size": "3005... |
class TestRhsaCveNames(object):
def test_cve_names(self, monkeypatch, mock_post, mock_put, rhsa):
"""Verify that we have CVE names in our advisory (not None)"""
expected = 'CVE-2018-14649'
assert rhsa.cve_names == expected
| {
"content_hash": "55dbb0463335c3d80e49936445ab6024",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 70,
"avg_line_length": 42,
"alnum_prop": 0.6587301587301587,
"repo_name": "red-hat-storage/errata-tool",
"id": "00d942293f49a5168fca148099a4e095f83aa66d",
"size": "252",
"... |
<!--
Description: item content:encoded contains onsubmit
Expect: not bozo and entries[0]['description'] == '<img src="http://www.ragingplatypus.com/i/cam-full.jpg" />'
-->
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
<item>
<content:encoded><img src="http://www.ragingpl... | {
"content_hash": "08f4c0b092bf050897b8c09590493ee8",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 155,
"avg_line_length": 41.09090909090909,
"alnum_prop": 0.6969026548672567,
"repo_name": "simplepie/simplepie-ng",
"id": "30bbc4b56a16d50d0608794593b1aa29e099634f",
"size"... |
<?php
namespace app\modules\file\actions;
use app\modules\file\models\Image;
use yii\base\Action;
use yii\helpers\Json;
/**
* Class ImageDeleteAction
* @package app\modules\file\actions
*/
class ImageDeleteAction extends Action
{
/**
* @param $id
* @return string
*/
public function run($id)
... | {
"content_hash": "9d141352e0f4850293f98fc728b4581d",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 52,
"avg_line_length": 19.902439024390244,
"alnum_prop": 0.5073529411764706,
"repo_name": "vetoni/toko",
"id": "0f717bb004f9c7dc771dc5fb3569af308db5a7c9",
"size": "816",
... |
/*
Papa Parse
v2.1.3
https://github.com/mholt/jquery.parse
*/
(function($)
{
"use strict";
$.fn.parse = function(options)
{
var config = options.config || {};
var queue = [];
this.each(function(idx)
{
var supported = $(this).prop('tagName').toUpperCase() == "INPUT"
&& $(this).attr('type') == ... | {
"content_hash": "27b61d1c10d61494e645da98a58a62e0",
"timestamp": "",
"source": "github",
"line_count": 636,
"max_line_length": 128,
"avg_line_length": 22.78301886792453,
"alnum_prop": 0.6011732229123533,
"repo_name": "malev/csvToHtml",
"id": "f04b230a0555b41cbb7d4b8f73c2b420698b8398",
"size": "144... |
<?xml version="1.0"?>
<!DOCTYPE suppressions PUBLIC
"-//Puppy Crawl//DTD Suppressions 1.2//EN"
"http://checkstyle.sourceforge.net/dtds/suppressions_1_2.dtd">
<suppressions>
<suppress files="src/main/java/org/openkilda/server42/control/messaging/flowrtt/Control.java"
checks=".*"/>
</su... | {
"content_hash": "06641368c7a4f673721386a3a8849e43",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 97,
"avg_line_length": 36.888888888888886,
"alnum_prop": 0.6716867469879518,
"repo_name": "jonvestal/open-kilda",
"id": "8c3009759759664493282434deaf9beb8e2a96f8",
"size": "... |
package inf.unibz.ontop.sesame.tests.general;
import java.util.List;
import junit.framework.TestCase;
import org.openrdf.model.Statement;
import org.openrdf.query.BindingSet;
import org.openrdf.query.GraphQuery;
import org.openrdf.query.GraphQueryResult;
import org.openrdf.query.QueryLanguage;
import org.openrdf.qu... | {
"content_hash": "c804826130b762be7eb14a63e59a76b8",
"timestamp": "",
"source": "github",
"line_count": 146,
"max_line_length": 115,
"avg_line_length": 35.04109589041096,
"alnum_prop": 0.6104378420641126,
"repo_name": "ConstantB/ontop-spatial",
"id": "afdfae4b0741223bc1bad2d9d6eb343c928b7287",
"siz... |
package integrationTests.data;
public class ClassWithFields
{
private static int static1;
private static String static2 = "B2";
private static long static3;
// Instance fields:
// (coverage accounts for each owner instance)
private boolean instance1 = true;
private Boolean instance2;... | {
"content_hash": "7d7e6690b1cf704a4be32dae84982f47",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 76,
"avg_line_length": 19.720588235294116,
"alnum_prop": 0.6211782252050708,
"repo_name": "royosherove/javatdddemo",
"id": "f380ae93e27c2705e7a27d90d883d41b8d6d74df",
"size... |
using System;
using System.IO;
using System.Text;
using System.Collections.Generic;
using Vernacular.Tool;
using Vernacular.Potato;
namespace Vernacular.Parsers
{
public sealed class PoParser : Parser
{
public static readonly Dictionary<string, LanguageGender> GenderContexts = new Dictionary<string, L... | {
"content_hash": "9b0c40f30660b1a009c7b02f418be4a3",
"timestamp": "",
"source": "github",
"line_count": 174,
"max_line_length": 123,
"avg_line_length": 38.201149425287355,
"alnum_prop": 0.5063938618925832,
"repo_name": "rdio/vernacular",
"id": "1178eb8b6696eae72e71b65b1fc1991de6462f73",
"size": "78... |
(function() {
angular
.module('docsApp')
.directive('h4', MdAnchorDirective)
.directive('h3', MdAnchorDirective)
.directive('h2', MdAnchorDirective)
.directive('h1', MdAnchorDirective);
function MdAnchorDirective($mdUtil, $compile) {
/** @const @type {RegExp} */
var unsafeCh... | {
"content_hash": "e1550e07a9fa267b233ee56a9c8b8834",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 108,
"avg_line_length": 34.40350877192982,
"alnum_prop": 0.5512493625701173,
"repo_name": "crisbeto/material",
"id": "9f5b8dae1f09205d104faaf61a4b8a749ffff978",
"size": "19... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Text.RegularExpressions;
using System.Xml;
using NUnit.Framework;
using Microsoft.Build.BuildEngine;
using Microsoft.Build.BuildEngine.Shared;
namespace Microsoft.Build.UnitTests
{
[TestFixture]
public clas... | {
"content_hash": "d118076534364849fb061507bb945855",
"timestamp": "",
"source": "github",
"line_count": 179,
"max_line_length": 197,
"avg_line_length": 50.39664804469274,
"alnum_prop": 0.5688948010198426,
"repo_name": "cdmihai/msbuild",
"id": "a1e2cce919874d29869885801823dea765d109f7",
"size": "917... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace VoteApp.Controllers
{
public class HomeController : Controller
{
public IActionResult Index()
{
return View();
}
public IActio... | {
"content_hash": "56b72badfdbad7b32fe2fc3c957650ea",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 71,
"avg_line_length": 19.8,
"alnum_prop": 0.5512265512265512,
"repo_name": "GOlssn/VoteApp",
"id": "b0abf2022bfe830f8d03f7cb3ddc6820cb329b7e",
"size": "695",
"binary": f... |
package com.infinityworks.webapp.security;
import com.infinityworks.webapp.config.AppProperties;
import com.infinityworks.webapp.domain.PasswordResetToken;
import com.infinityworks.webapp.domain.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
impor... | {
"content_hash": "1d2785ede59fa2f1b3ac480acb1fd3a6",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 73,
"avg_line_length": 32.628571428571426,
"alnum_prop": 0.7679509632224168,
"repo_name": "celestial-winter/vics",
"id": "c03848aca05186bf4bfdc91a559d5ace9c0bd5a1",
"size":... |
var browserSync = require("../../../");
var assert = require("chai").assert;
describe("Plugins: Retrieving user plugins when given inline", function() {
var instance;
var PLUGIN_REQUIRE = "bs-snippet-injector";
var PLUGIN_NAME = "Snippet Injector";
before(function(done) {
browserSync.reset();... | {
"content_hash": "ae3fd56276b3169fb46c1c8932b298df",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 79,
"avg_line_length": 28.71875,
"alnum_prop": 0.5908596300326442,
"repo_name": "BrowserSync/browser-sync",
"id": "97f6a4559f0e404dd7d43d7115c0b2b5b7ffb39a",
"size": "919",... |
import { Component, EventEmitter, Input, Output, ViewChild } from '@angular/core';
import { WineryTableColumn } from '../wineryTableModule/wineryTable.component';
import { InterfaceParameter } from '../wineryInterfaces/parameters';
import { WineryValidatorObject } from '../wineryValidators/wineryDuplicateValidator.dir... | {
"content_hash": "1db0efd9ef41fd88d34b6223164c7cf9",
"timestamp": "",
"source": "github",
"line_count": 156,
"max_line_length": 124,
"avg_line_length": 39.66025641025641,
"alnum_prop": 0.6896718926781962,
"repo_name": "YannicSowoidnich/winery",
"id": "860bce1c56f143afcfaff2a2abfdc13b2dba4627",
"siz... |
package org.apache.cordova;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import android.util.Log;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewGroup;
import android.webkit.WebChromeClient;
import android.widget.F... | {
"content_hash": "0b22a9871ca01c1f07e0747218e99b23",
"timestamp": "",
"source": "github",
"line_count": 583,
"max_line_length": 141,
"avg_line_length": 34.64493996569468,
"alnum_prop": 0.5810971383305278,
"repo_name": "walkingriver/mdcl",
"id": "ed9d9da14cbe8b66d9a1d99ef7a1a4086b972350",
"size": "2... |
using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("disk-usage-test")]
[assembly: AssemblyDes... | {
"content_hash": "d36802416adc726568de28cd67e7ac04",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 84,
"avg_line_length": 40.114285714285714,
"alnum_prop": 0.7443019943019943,
"repo_name": "factorydefault/disk-usage",
"id": "7dfaffe0c0f0db6635b637f09a23c1afda816a9f",
"si... |
var Promise = require("promise");
var path = require("path");
var packageInfo = require(path.join(__dirname, "package.json"));
var spawn = require("child_process").spawn;
// Use major.minor.patch from version string - e.g. "1.2.3" from "1.2.3-alpha"
var elmVersion = packageInfo.version.replace(/^(\d+\.\d+\.\d+).*$/, "... | {
"content_hash": "118a93ed413ec0cd20c5fc5ff033271c",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 81,
"avg_line_length": 37.392857142857146,
"alnum_prop": 0.7163323782234957,
"repo_name": "jvoigtlaender/elm-platform",
"id": "c84281fe70b8472c812a9ad08f84c44961681d3b",
"s... |
package fr.javatronic.blog.massive.annotation1.sub1;
import fr.javatronic.blog.processor.Annotation_001;
@Annotation_001
public class Class_4973 {
}
| {
"content_hash": "0ab2782f83f00b196e138fc8a01482c2",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 52,
"avg_line_length": 21.571428571428573,
"alnum_prop": 0.8079470198675497,
"repo_name": "lesaint/experimenting-annotation-processing",
"id": "04c1d8a3000382d4d950a08bb197aa8... |
<html>
<head>
<style>
.box {
position: relative;
left: 0;
height: 100px;
width: 100px;
margin: 10px;
background-color: blue;
transition-property: width, left, background-color, height, top;
transition-duration: 0.06s;
}
.box1 {
left: 50px;
}
... | {
"content_hash": "a21cd36aa99d6e9237d9ff5d944e98f1",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 70,
"avg_line_length": 22.105882352941176,
"alnum_prop": 0.5971261309207025,
"repo_name": "nwjs/chromium.src",
"id": "0c708100a9c01e91561e98eaf0de3ccf8adcfbb0",
"size": "18... |
package flash.swf.types;
/**
* Defines the common API for all filters.
*/
public abstract class Filter
{
public abstract int getID();
}
| {
"content_hash": "1bc2686eae510c10ca4d6d7f7e122bf9",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 42,
"avg_line_length": 13.181818181818182,
"alnum_prop": 0.6827586206896552,
"repo_name": "shyamalschandra/flex-sdk",
"id": "9893df27168ec8f3c3dab566a72c90876292e376",
"siz... |
PEGASUS_USING_PEGASUS;
PEGASUS_USING_STD;
#include "UNIX_SupportAccessProvider.h"
extern "C"
PEGASUS_EXPORT CIMProvider* PegasusCreateProvider(const String& providerName)
{
if (String::equalNoCase(providerName, CIMHelper::EmptyString)) return NULL;
else if (String::equalNoCase(providerName, "UNIX_SupportAccessPro... | {
"content_hash": "0bee34509f9473410e4de3dbb665c470",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 115,
"avg_line_length": 24.25,
"alnum_prop": 0.7912371134020618,
"repo_name": "brunolauze/openpegasus-providers-old",
"id": "7705868238cc6799ed62a41c418d20722354a9a5",
"siz... |
from datetime import timedelta as td
import time
from unittest.mock import patch
from django.core import signing
from django.utils.timezone import now
from hc.test import BaseTestCase
class UnsubscribeReportsTestCase(BaseTestCase):
def test_it_unsubscribes(self):
self.profile.next_report_date = now()
... | {
"content_hash": "093d4939a975be7119d0f62be8416364",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 68,
"avg_line_length": 34.935483870967744,
"alnum_prop": 0.6523545706371191,
"repo_name": "iphoting/healthchecks",
"id": "f4cdb2fec6f4b1bd3b74ba91a0681163e2ceec95",
"size":... |
package de.codecentric.centerdevice.util;
import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;
import javafx.collections.ObservableList;
import javafx.scene.Group;
import javafx.scene.Node;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.scene.control.Menu;
impor... | {
"content_hash": "5a01727cec53aab0228297b448ef590e",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 109,
"avg_line_length": 28.264705882352942,
"alnum_prop": 0.7434963579604579,
"repo_name": "codecentric/NSMenuFX",
"id": "81af44879b1e27dff16b755ea67fea3ca88eb981",
"size":... |
package com.mzy.mzy.coolweather.gson;
import com.google.gson.annotations.SerializedName;
/**
* Created by MZY on 2017/7/31.
*/
public class Forecast {
public String date;
@SerializedName("tmp")
public Temperature temperature;
@SerializedName("cond")
public More more;
public class Tempera... | {
"content_hash": "09372bf5a210d339a1f9d53ed261fad3",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 50,
"avg_line_length": 17.74074074074074,
"alnum_prop": 0.6450939457202505,
"repo_name": "miaozhenyu/coolweather",
"id": "542930e5d95c90a6daeb4091b6fc5268e779deef",
"size":... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ECharts.Entities.series
{
public class EventDetail
{
public string link { get; set; }
public string text { get; set; }
public string img { get; ... | {
"content_hash": "74e71397ac19fe6cc29299017af8467d",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 44,
"avg_line_length": 18.973684210526315,
"alnum_prop": 0.5090152565880721,
"repo_name": "idoku/EChartsSDK",
"id": "aa7dfd5fea3586194e56b51191f41e3ebdd96305",
"size": "723... |
<!--
@license
Copyright (c) 2014 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 h... | {
"content_hash": "513a9af6c3f69ef38a81c0e078641cc8",
"timestamp": "",
"source": "github",
"line_count": 210,
"max_line_length": 100,
"avg_line_length": 32.70952380952381,
"alnum_prop": 0.5412723831707672,
"repo_name": "degranda/Polymer-0.9",
"id": "639f9f7fc2691582799629a787c5d3637e96bff4",
"size":... |
use borrowck::*;
use rustc::middle::expr_use_visitor as euv;
use rustc::middle::mem_categorization as mc;
use rustc::middle::mem_categorization::Categorization;
use rustc::middle::region;
use rustc::ty;
use syntax::ast;
use syntax_pos::Span;
type R = Result<(),()>;
pub fn guarantee_lifetime<'a, 'tcx>(bccx: &Borrowck... | {
"content_hash": "15718da516a09664f1c7da7ff9af7a4e",
"timestamp": "",
"source": "github",
"line_count": 129,
"max_line_length": 93,
"avg_line_length": 37.434108527131784,
"alnum_prop": 0.47898115551874093,
"repo_name": "GBGamer/rust",
"id": "ccc091a6a1ce6e68860bc9432a98c535b62dc097",
"size": "5426"... |
<?php
namespace NyroDev\NyroCmsBundle\Controller;
use NyroDev\NyroCmsBundle\Services\UserService;
use NyroDev\UtilityBundle\Controller\AbstractController as NyroDevAbstractController;
use Symfony\Component\Filesystem\Filesystem;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Respon... | {
"content_hash": "92280ea94d9710863ab32bf45833b91a",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 156,
"avg_line_length": 32.646153846153844,
"alnum_prop": 0.6573986804901036,
"repo_name": "nyroDev/NyroCmsBundle",
"id": "583c337c09d2015fa68fe6f08c36803d0eb1cb36",
"size"... |
workers Integer(ENV.fetch('WEB_CONCURRENCY') { 1 })
threads_count = Integer(ENV.fetch('RAILS_MAX_THREADS') { 4 })
threads 2, threads_count
preload_app!
rackup DefaultRackup
port Integer(ENV.fetch('PORT') { 3000 })
environment ENV.fetch('RACK_ENV') { 'development' }
# stdout_redirect '/dev/stdout', '/dev/... | {
"content_hash": "bb40180fd6a0eec776c4958e29179420",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 115,
"avg_line_length": 32.705882352941174,
"alnum_prop": 0.7230215827338129,
"repo_name": "NNRUG/it52-rails",
"id": "3dbf2ecc46df043fb0711eb0b827546c566e7ca4",
"size": "58... |
'use strict'
const {Emitter} = require('atom')
const Identifiable = require('./mixins/identifiable')
const widthConfig = 'tablr.tableEditor.columnWidth'
class DisplayColumn {
static initClass () {
Identifiable.includeInto(this)
return this
}
get name () { return this.options.name }
set name (newName)... | {
"content_hash": "1d9bad9e843c22aced33970b1ef488cf",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 80,
"avg_line_length": 24.645569620253166,
"alnum_prop": 0.632768361581921,
"repo_name": "alorlov/elitecsv",
"id": "7ff461c3179b695daa081f0a12c8c5dce64b4e50",
"size": "1947... |
<?php
namespace RK\HelperModule\Helper\Base;
/**
* Helper base class for dynamic feature enablement methods.
*/
abstract class AbstractFeatureActivationHelper
{
/**
* Translation feature
*/
const TRANSLATIONS = 'translations';
/**
* This method checks whether a certain feature is en... | {
"content_hash": "3a8afed693c59a9cae18ef869f847aaa",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 94,
"avg_line_length": 25.35135135135135,
"alnum_prop": 0.5970149253731343,
"repo_name": "rallek/helper",
"id": "afbce92e512076e4297c58fe61940cbed612d9fd",
"size": "1241",
... |
//-*-c++-*-
/*****************************************************************************/
/**
** @file predicates.h
** @brief Routines for Arbitrary Precision Floating-point Arithmetic
** and Fast Robust Geometric Predicates
*/
// These functions are added as members of the class Predicates; should
//... | {
"content_hash": "b2d106db0ccbea393c225c910ab92105",
"timestamp": "",
"source": "github",
"line_count": 298,
"max_line_length": 202,
"avg_line_length": 62.53020134228188,
"alnum_prop": 0.4740796393688956,
"repo_name": "childmodel/child",
"id": "fdcc56f7f91c5ccfa243a3f07a359677a1b225ff",
"size": "18... |
<!DOCTYPE html>
<!--
| Generated by Apache Maven Doxia at 2014-04-11
| Rendered using Apache Maven Fluido Skin 1.3.1
-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta nam... | {
"content_hash": "40969cb4fa3ca07797775b79c465329b",
"timestamp": "",
"source": "github",
"line_count": 379,
"max_line_length": 342,
"avg_line_length": 35.992084432717675,
"alnum_prop": 0.5184370647313247,
"repo_name": "play2-maven-plugin/play2-maven-plugin.github.io",
"id": "055ae0d864f4c032e3b04235... |
{-# LANGUAGE TemplateHaskell #-}
module Lol.Build where
import Prelude
import Data.Lens.Template
import Lol.Champs
import Lol.Items
import Lol.Stats
type BuildItems = (Item, Item, Item, Item, Item, Item)
data Build = Build { _bChamp :: Champ
, _bLevel :: Level
, _bItems :: Bu... | {
"content_hash": "24ab46ca64da1431dfa01722eff60ce3",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 71,
"avg_line_length": 25,
"alnum_prop": 0.64,
"repo_name": "MostAwesomeDude/lollerskates",
"id": "d91a1bae99e6eef991269f6c040c21e4ae23a2c2",
"size": "800",
"binary": fal... |
<!--[metadata]>
+++
title = "volume create"
description = "The volume create command description and usage"
keywords = ["volume, create"]
[menu.main]
parent = "smn_cli"
+++
<![end-metadata]-->
# volume create
Usage: docker volume create [OPTIONS]
Create a volume
-d, --driver=local Specify volume dr... | {
"content_hash": "f5c5310ea16286de6fb84e568e37ef89",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 204,
"avg_line_length": 38.70175438596491,
"alnum_prop": 0.7248413417951043,
"repo_name": "vijaykilari/docker",
"id": "79e794698f8b08cb8ebfa100b579325135656d7a",
"size": "2... |
package com.demo.boot.vo.in;
import org.hibernate.validator.constraints.NotBlank;
public class TestVo {
@NotBlank(message="name不能为空")
private String name;
@NotBlank(message="age不能为空")
private String age;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
pu... | {
"content_hash": "5008c9ea0e63099fc497a3556b2fb4ba",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 52,
"avg_line_length": 14.586206896551724,
"alnum_prop": 0.6926713947990544,
"repo_name": "organ-dayefenbu/boot-demo",
"id": "5c4dfc4755b969b507409063604da764dbd06cac",
"si... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/deploy/v1/cloud_deploy.proto
package com.google.cloud.deploy.v1;
public interface ListTargetsRequestOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.ListTargetsRequest)
com.google.pro... | {
"content_hash": "6b49d750097da438aac3171dc80aa96b",
"timestamp": "",
"source": "github",
"line_count": 140,
"max_line_length": 107,
"avg_line_length": 26.22142857142857,
"alnum_prop": 0.6232634159629529,
"repo_name": "googleapis/google-cloud-java",
"id": "b18437a420200774b9f69ce767717127328c1d51",
... |
#include "OgreGLFrameBufferObject.h"
#include "OgreGLPixelFormat.h"
#include "OgreLogManager.h"
#include "OgreStringConverter.h"
#include "OgreRoot.h"
#include "OgreGLHardwarePixelBuffer.h"
#include "OgreGLFBORenderTexture.h"
#include "OgreGLDepthBuffer.h"
namespace Ogre {
//----------------------------------------... | {
"content_hash": "595fc1a4352ed52bd124927388aae0c0",
"timestamp": "",
"source": "github",
"line_count": 305,
"max_line_length": 120,
"avg_line_length": 33.114754098360656,
"alnum_prop": 0.6292079207920792,
"repo_name": "jakzale/ogre",
"id": "662f1bba3db5e53d191b6b8f002f3a23874fec3e",
"size": "11463... |
Continuous Deployment is the process of checking into master, running all the
tests and if everything goes green it is automatically pushed to production.
A good case for Continuous Deployment is when using Octopus deploy, as you
cannot publish the same version of a package into the same feed.
For this mode we follow... | {
"content_hash": "a141daefa07392aaf3763834c88346da",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 97,
"avg_line_length": 46.8125,
"alnum_prop": 0.7977303070761015,
"repo_name": "dpurge/GitVersion",
"id": "ff8bd8800f9207508352f80adfbb946e2aba087b",
"size": "1522",
"bin... |
package com.google.gerrit.server.account;
import com.google.gerrit.extensions.registration.DynamicMap;
import com.google.gerrit.extensions.restapi.AuthException;
import com.google.gerrit.extensions.restapi.ChildCollection;
import com.google.gerrit.extensions.restapi.IdString;
import com.google.gerrit.extensions.restap... | {
"content_hash": "57a8d191d8cea6b649cedf5210392e67",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 90,
"avg_line_length": 36.63414634146341,
"alnum_prop": 0.7633155792276964,
"repo_name": "gerrit-review/gerrit",
"id": "70c02a15261ea02849072d36a97eba5ce7f0677e",
"size": "... |
[CmdletBinding()]
param(
[Parameter(Mandatory = $false)]
[string]
$SharePointCmdletModule = (Join-Path -Path $PSScriptRoot `
-ChildPath "..\Stubs\SharePoint\15.0.4805.1000\Microsoft.SharePoint.PowerShell.psm1" `
-Resolve)
)
... | {
"content_hash": "dad72b8c404f857f967c83bce6d46276",
"timestamp": "",
"source": "github",
"line_count": 179,
"max_line_length": 127,
"avg_line_length": 38.26815642458101,
"alnum_prop": 0.5481751824817518,
"repo_name": "mrpullen/xSharePoint",
"id": "505fddba91419f1623878ff95402afdd9efb2bd1",
"size":... |
title: Edit or Delete Gitter Messages
---
> Editing or Deleting a previous message within 10 mins. of posting
 | {
"content_hash": "ae781cd40392d475d39715eb5350a0b6",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 125,
"avg_line_length": 47.2,
"alnum_prop": 0.8050847457627118,
"repo_name": "pahosler/freecodecamp",
"id": "599a7d49e5ee6fdfa2ea5accbfadda7bca828c89",
"size": "240",
"bin... |
package ezbake.deployer.publishers.local;
public class LocalDeployment {
public final String artifactFile;
public final Process process;
public final String configPath;
public LocalDeployment(Process process, String artifactFile, String configPath) {
this.artifactFile = artifactFile;
... | {
"content_hash": "d69cc806c255040923293b4015b72c8d",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 85,
"avg_line_length": 26.066666666666666,
"alnum_prop": 0.7212276214833759,
"repo_name": "ezbake/ezbake-deployer",
"id": "e50ced3525f9f1db23f555834a469eba45a02df4",
"size"... |
using UnityEngine;
using System.Collections;
public class PowerSwitch : MonoBehaviour {
public GameObject go;
void OnSelect()
{
if(go.activeSelf)
{
go.SetActive(false);
}
else
{
go.SetActive(true);
}
}
}
| {
"content_hash": "65d64ef63ff4dbaf0d5fb420ea01fdbb",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 42,
"avg_line_length": 13.565217391304348,
"alnum_prop": 0.48717948717948717,
"repo_name": "reillydonovan/MurmurG",
"id": "6a986266c244f0f93f73386f100220ec64f83877",
"size"... |
package com.touchpo.android.dotykacka_meetup;
import android.app.Application;
import android.test.ApplicationTestCase;
/**
* <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a>
*/
public class ApplicationTest extends ApplicationTestCase<Application> {
public ApplicationTes... | {
"content_hash": "8785ea7c58fda7c5d534f312287406a5",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 93,
"avg_line_length": 28.23076923076923,
"alnum_prop": 0.7547683923705722,
"repo_name": "Dotykacka/dotykacka-meetup",
"id": "70a32a8a61a344ee85b0161719a6d8d0a5ad7813",
"si... |
using System.Collections.Generic;
namespace OpenIDConnect.Host.InMemoryService
{
public class InMemoryScope
{
public InMemoryScope()
{
ScopeClaims = new List<InMemoryScopeClaim>();
}
public int Id { get; set; }
public string Name { get; set; }
pub... | {
"content_hash": "921e88232e2242ee6da71f48a280e70c",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 72,
"avg_line_length": 30.764705882352942,
"alnum_prop": 0.6022944550669216,
"repo_name": "JDawes-ScottLogic/openidconnect",
"id": "2930ef5d2adb322b2ad4e238d568f9e03717e8d2",... |
<?php
class Admin_Form_ResetPassword extends Ext_Form
{
public function init()
{
$this->setMethod('post');
$this->addElement('password', 'password', array(
'label' => 'password',
'required' => true,
'filters' => array('StringTrim'),
'va... | {
"content_hash": "d5e3fee4a57e30cf4447923b33c9856e",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 58,
"avg_line_length": 26.875,
"alnum_prop": 0.44651162790697674,
"repo_name": "pierrealbert/checkit",
"id": "609ab72d601606ce99a9d64afdee94c57efcf662",
"size": "860",
"b... |
'use strict';
Connector.playerSelector = '#radio';
Connector.remainingTimeSelector = '#clock';
Connector.getArtistTrack = () => {
const marquee = Util.getTextFromSelectors('#marquee');
const artistTrack = marquee.split(' :: ')[0];
const track = Util.getTextFromSelectors('#slots > .live h4');
const artist = artis... | {
"content_hash": "4afdb95da704fc5ab89ea4d2d95fd6fc",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 66,
"avg_line_length": 26.2,
"alnum_prop": 0.6931297709923664,
"repo_name": "inverse/web-scrobbler",
"id": "58c8a42360cfa8e0ccc7eee6b064ca59040df491",
"size": "655",
"bin... |
<?php namespace Fungku\NetSuite\Classes;
class ResourceAllocationAllocationUnit {
static $paramtypesmap = array(
);
const _hours = "_hours";
const _percentOfTime = "_percentOfTime";
}
| {
"content_hash": "c9beb59546af34520b347a197c8cd56d",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 41,
"avg_line_length": 21.11111111111111,
"alnum_prop": 0.7368421052631579,
"repo_name": "Arkitecht/netsuite-php",
"id": "f241599027f9934277f4aa7bcc4d6993660c6865",
"size": ... |
using System.IO.Compression;
using System.Linq;
using System.Reflection.Metadata;
using System.Reflection.PortableExecutable;
using System.Xml.Linq;
using Microsoft.AspNetCore.Testing;
using Newtonsoft.Json.Linq;
using Xunit.Abstractions;
namespace Microsoft.AspNetCore;
public class SharedFxTests
{
private readon... | {
"content_hash": "8fba5ba748b84786d6964db690889079",
"timestamp": "",
"source": "github",
"line_count": 353,
"max_line_length": 184,
"avg_line_length": 43.079320113314445,
"alnum_prop": 0.6404945091076478,
"repo_name": "aspnet/AspNetCore",
"id": "302df8a51e9c89ad968fb4a03b53c65eb76c9ceb",
"size": "... |
using System;
using System.Net;
using System.Text;
namespace Dev4s.WebClient
{
public sealed class WebClientWrapper : IWebClientWrapper
{
private readonly System.Net.WebClient _webClient;
public Encoding Encoding
{
get { return _webClient.Encoding; }
set { _webClient.Encoding = value; }
}
public W... | {
"content_hash": "781da318b77b45952d4cb8f57460288a",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 109,
"avg_line_length": 22.433333333333334,
"alnum_prop": 0.7147102526002972,
"repo_name": "dev4s/dev4s-webclient",
"id": "d2dfe9fb087297e2154df28338bd990fb55d394e",
"size"... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
Bot. Notiser 130(4): 366 (1977)
#### Original name
Anthracoidea douglasii Nannf.
### Remarks
null | {
"content_hash": "3ac47a8fd1c56285b1934bfa975b5425",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 12.384615384615385,
"alnum_prop": 0.7018633540372671,
"repo_name": "mdoering/backbone",
"id": "ad0b692122b0118589df1eaa91f969ef11cab83e",
"size": "21... |
"""
========
Dispatch
========
Identical to django.dispatch module but adds few more features
"""
import django.dispatch
from celery import shared_task
def async_receiver(signal, sender=None, **kwargs):
"""
Decorator to perform django signal asynchronously using Celery. The function decorated with
this sh... | {
"content_hash": "c27cc02866809e47c4c9fe3e387504fe",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 98,
"avg_line_length": 32.44827586206897,
"alnum_prop": 0.6785334750265675,
"repo_name": "inabhi9/drf-ext",
"id": "9220615708b564058e75a55f667e5a264204e25a",
"size": "1882"... |
package iso20022
// Choice between a reason or no reason for the corporate action instruction processing pending status.
type PendingStatus44Choice struct {
// Reason not specified.
NoSpecifiedReason *NoReasonCode `xml:"NoSpcfdRsn"`
// Reason for the pending status.
Reason []*PendingStatusReason12 `xml:"Rsn"`
}
... | {
"content_hash": "257210e38ac1f6273cee300e3b828d45",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 103,
"avg_line_length": 28.904761904761905,
"alnum_prop": 0.7759472817133443,
"repo_name": "fgrid/iso20022",
"id": "994977c9660aaa10b7fe9590c2d90ddc3e9d235c",
"size": "607"... |
#include "optionsdialog.h"
#include "ui_optionsdialog.h"
#include "bitcoinunits.h"
#include "monitoreddatamapper.h"
#include "netbase.h"
#include "optionsmodel.h"
#include <QDir>
#include <QIntValidator>
#include <QLocale>
#include <QMessageBox>
OptionsDialog::OptionsDialog(QWidget *parent) :
QDialog(parent),
... | {
"content_hash": "26194cacde52a9f52dbd9afe8e55a893",
"timestamp": "",
"source": "github",
"line_count": 282,
"max_line_length": 198,
"avg_line_length": 32.05673758865248,
"alnum_prop": 0.6696902654867256,
"repo_name": "teestcoin/teestcoin1",
"id": "bc626dc7d10957ba7dbc7d9b40531f46c8744f81",
"size":... |
<div layout="column" layout-gt-md="row" layout-margin layout-wrap flex>
<md-whiteframe layout="column" class="md-whiteframe-z1 md-padding task-container" flex>
<h3>Task #{{ task.taskData.id }}</h3>
<div class="template-item" ng-repeat="item in task.taskData.task_template.template_items">
... | {
"content_hash": "351c83d4a8a143e26b29f218989fe22a",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 119,
"avg_line_length": 45.660714285714285,
"alnum_prop": 0.5154477903793508,
"repo_name": "Macbull/crowdsource-platform",
"id": "309604738c421a0e3da05cbba83a118aa166353f",
... |
///////////////////////////////////////////////////////////////////////////
// Copyright © 2014 - 2016 Esri. All Rights Reserved.
//
// 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
//
// h... | {
"content_hash": "0be4c782e7437c353c689c6ed259a52a",
"timestamp": "",
"source": "github",
"line_count": 487,
"max_line_length": 94,
"avg_line_length": 27.68583162217659,
"alnum_prop": 0.5843654972928873,
"repo_name": "cmccullough2/cmv-wab-widgets",
"id": "efca7781d37c5982b1c88e96ffc2f7535c4037fc",
... |
/*
* Ultrix 4.x Dynamic Loader Library Version 1.0
*
* dl.h
* header file for the Dynamic Loader Library
*/
#ifndef _DL_HEADER_
#define _DL_HEADER_
#include <stdio.h>
#include "filehdr.h"
#include "syms.h"
#include "ldfcn.h"
#include "reloc.h"
#include "scnhdr.h"
typedef long CoreAddr;
typedef struct ScnInf... | {
"content_hash": "51cbf6da9f00a966310896920bacdaf6",
"timestamp": "",
"source": "github",
"line_count": 97,
"max_line_length": 59,
"avg_line_length": 26.54639175257732,
"alnum_prop": 0.6532038834951456,
"repo_name": "edespino/gpdb",
"id": "ae92709d6336ac42e9d4a96349d5e9a66836aead",
"size": "3001",
... |
package com.intellij.ide.ui;
import com.intellij.ide.IdeBundle;
import com.intellij.openapi.options.BaseConfigurable;
import com.intellij.openapi.options.SearchableConfigurable;
import com.intellij.openapi.util.Comparing;
import com.intellij.openapi.util.IconLoader;
import com.intellij.openapi.util.SystemInfo;
import... | {
"content_hash": "f13419e1a15dce883870c00fe60f0737",
"timestamp": "",
"source": "github",
"line_count": 334,
"max_line_length": 138,
"avg_line_length": 43.01197604790419,
"alnum_prop": 0.7559515522762077,
"repo_name": "jexp/idea2",
"id": "ca6d6d1d70f583c9946fee47274e82041cdeb166",
"size": "14966",
... |
Tests are not included in the package, clone the repository and install dependencies to run the test suite:
```
npm test
```
| {
"content_hash": "6ffa0e2637340c838bcec2e7d379e5ca",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 107,
"avg_line_length": 25.2,
"alnum_prop": 0.753968253968254,
"repo_name": "freeformsystems/cli-command",
"id": "9f4311b188ea1f4254334001fe9b618899bd2c03",
"size": "135",
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.