text stringlengths 2 1.04M | meta dict |
|---|---|
({
doInit: function(component, event, helper) {
var action = component.get('c.getItems');
action.setCallback(this, function(response) {
helper.handleCampingItemsInit(component, response);
});
$A.enqueueAction(action);
},
handleAddItem: function(component, event, helper... | {
"content_hash": "c6a9b58d4abf3d0610ae6246d0aca5ba",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 60,
"avg_line_length": 30.357142857142858,
"alnum_prop": 0.6258823529411764,
"repo_name": "nilvon9wo/sfdc-trailhead-2",
"id": "9d1fe1a0d78b6bdcb599b35f9ecad80b8920dd3c",
"s... |
class MensagemView extends View<string> {
template(modelo : string) : string {
return `
<p class="alert alert-info">${modelo}</p>
`
}
} | {
"content_hash": "3e224c6d5835c5297f4b50687fbdcb41",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 53,
"avg_line_length": 21.5,
"alnum_prop": 0.5406976744186046,
"repo_name": "danieldeveloper001/Learning",
"id": "7d1c90f68e713dfbc4063d444906136b82a40699",
"size": "172",
... |
'use strict';
System.register(['aurelia-templating', 'aurelia-dependency-injection', 'aurelia-framework', '../common/attributeManager', '../common/attributes', '../item/item'], function (_export, _context) {
"use strict";
var bindable, customElement, noView, inject, computedFrom, AttributeManager, getBooleanF... | {
"content_hash": "9c027c6f649347b0f8b2f7cf2b8c32b4",
"timestamp": "",
"source": "github",
"line_count": 485,
"max_line_length": 587,
"avg_line_length": 50.32371134020619,
"alnum_prop": 0.5199328061621666,
"repo_name": "Hochfrequenz/aurelia-openui5-bridge",
"id": "d4795ca585938ae338c9356e06edaa8ba081d... |
bbots
====
dependencies:
pexpect
curl
dos2unix
telnet
| {
"content_hash": "465adf348b6e19c993e25384c2594ce1",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 13,
"avg_line_length": 8.875,
"alnum_prop": 0.5915492957746479,
"repo_name": "AlwaysTraining/bbots",
"id": "6ff9b65b68ecb6c755c9559fa31c706f1e03439e",
"size": "71",
"binar... |
from itertools import product
from lasagne.layers import get_output
import matplotlib.pyplot as plt
import numpy as np
import theano
import theano.tensor as T
def plot_loss(net):
train_loss = [row['train_loss'] for row in net.train_history_]
valid_loss = [row['valid_loss'] for row in net.train_history_]
... | {
"content_hash": "9d8680b78be82fda2a2c64db8d670d49",
"timestamp": "",
"source": "github",
"line_count": 237,
"max_line_length": 78,
"avg_line_length": 32.64556962025316,
"alnum_prop": 0.5971306708026367,
"repo_name": "williford/nolearn",
"id": "c73ee97d6eb94887b6c3c801ee55a558c8a1cd59",
"size": "77... |
#import "ObjectModel+Tasks.h"
#import "TaskObject.h"
#import "Task.h"
#import "ObjectModel+Users.h"
#import "ObjectModel+Tags.h"
#import "Constants.h"
#import "ObjectModel+Settings.h"
@implementation ObjectModel (Tasks)
- (Task *)taskWithRemoteId:(NSNumber *)remoteId {
NSPredicate *taskIdPredicate = [NSPredicat... | {
"content_hash": "f6c93561db9b66a0eac1a0b6ed87969c",
"timestamp": "",
"source": "github",
"line_count": 94,
"max_line_length": 150,
"avg_line_length": 45.98936170212766,
"alnum_prop": 0.7497108489474902,
"repo_name": "coodly/ios-slimtimer",
"id": "c4d50146ad6fe37b331adf713101c25b83c01cd9",
"size": ... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "c6e004965e99d93400d64fce9237b70c",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "4bcc70ec9bc86a0fa506d2f2f8e4062480a7adeb",
"size": "187... |
export { default as ElementNotification } from './notification'
export { default as ElementNotificationClose } from './notification--close'
export { default as ElementNotificationMessage } from './notification--message'
| {
"content_hash": "33009c41dbd3809142a7399b46b67852",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 79,
"avg_line_length": 73.33333333333333,
"alnum_prop": 0.7909090909090909,
"repo_name": "vuikit/vuikit",
"id": "bcffd21c3109c4be8145dd6aa8f54e708fccab78",
"size": "220",
... |
class File
# these will be necessary when we run on Windows
DOSISH = false # !!(RUBY_PLATFORM =~ /mswin/)
CASEFOLD_FILESYSTEM = DOSISH
FNM_SYSCASE = CASEFOLD_FILESYSTEM ? FNM_CASEFOLD : 0
module Constants
FNM_SYSCASE = File::FNM_SYSCASE
end
##
# Return the equivalent S-Expression of the file given... | {
"content_hash": "9fe3a8d684639022007a131f97cdb954",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 58,
"avg_line_length": 27.736842105263158,
"alnum_prop": 0.6736242884250474,
"repo_name": "takano32/rubinius",
"id": "9e832e76ea57f1ffae56535820cc07b7faa3d492",
"size": "55... |
package sbt
import complete.{ Completion, Completions, DefaultParsers, HistoryCommands, Parser, TokenCompletions }
import classpath.ClasspathUtilities.toLoader
import DefaultParsers._
import Types.{ const, idFun }
import Function.tupled
import Command.applyEffect
import HistoryCommands.{ Start => HistoryPrefix }
impor... | {
"content_hash": "f5d951358efb3c9fa99a243baa9e4aef",
"timestamp": "",
"source": "github",
"line_count": 279,
"max_line_length": 241,
"avg_line_length": 47.46236559139785,
"alnum_prop": 0.6650808035040024,
"repo_name": "jaceklaskowski/sbt",
"id": "3310158b860305086ac55d918b4e077cd1f41c4a",
"size": "... |
/**
* Polyfills
*/
(function () {
/**
* CustomEvent
*/
function CustomEvent ( event, params ) { // jshint ignore:line
params = params || { bubbles: false, cancelable: false, detail: undefined };
var evt = document.createEvent( 'CustomEvent' );
evt.initCustomEvent( event, p... | {
"content_hash": "f260197ca505f94bf35bb0d7fa7faea8",
"timestamp": "",
"source": "github",
"line_count": 95,
"max_line_length": 108,
"avg_line_length": 26,
"alnum_prop": 0.5178137651821862,
"repo_name": "kamillamagna/NMF_Tool",
"id": "fa6f1dfe1cbdf12d07da89ce95eeee20a344e296",
"size": "2470",
"bin... |
<?php
final class PhabricatorAuthStartController
extends PhabricatorAuthController {
public function shouldRequireLogin() {
return false;
}
public function handleRequest(AphrontRequest $request) {
$viewer = $request->getUser();
if ($viewer->isLoggedIn()) {
// Kick the user home if they are... | {
"content_hash": "7173a3d448332bce4d485c46c2285c6a",
"timestamp": "",
"source": "github",
"line_count": 285,
"max_line_length": 80,
"avg_line_length": 33.24561403508772,
"alnum_prop": 0.6167810026385224,
"repo_name": "Soluis/phabricator",
"id": "633339a35606cf81dda9dc4a2d641460db8dc92d",
"size": "9... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Collections.Immutable;
using Microsoft.CodeAnalysis;
using Microsoft... | {
"content_hash": "3dfd050bb798888c34de34de3a03d687",
"timestamp": "",
"source": "github",
"line_count": 88,
"max_line_length": 123,
"avg_line_length": 40.78409090909091,
"alnum_prop": 0.6681526887712455,
"repo_name": "genlu/roslyn",
"id": "1dff19959c6ba349b52921d5867d07a93ed560d0",
"size": "3591",
... |
/*
* DO NOT EDIT THIS FILE - it is generated by Glade.
*/
#include <gnome.h>
/*
* Public Functions.
*/
/*
* This function returns a widget in a component created by Glade.
* Call it with the toplevel widget in the component (i.e. a window/dialog),
* or alternatively any widget in the component, and the name o... | {
"content_hash": "331435553606a6d352fbd07a5b9fbfc6",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 76,
"avg_line_length": 28.08823529411765,
"alnum_prop": 0.5717277486910994,
"repo_name": "yanhongwang/DigitalSignalProcessingFilterDesign",
"id": "d9bb0728a74a914108154ea99a5... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>RPi Humidity Logger</title>
<link href="/static/bootstrap/css/bootstrap.min.css" ... | {
"content_hash": "6af6aedabc818bbbb38f702e680a3589",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 119,
"avg_line_length": 35.294117647058826,
"alnum_prop": 0.5275,
"repo_name": "domibarton/rpi-humidity-logger",
"id": "d8c789cbc1d21b885f797e65db4f5f2df4f1dd72",
"size": "... |
module SocImp
class Engine < ::Rails::Engine
isolate_namespace SocImp
config.generators do |g|
g.test_framework :rspec, :view_specs => false
end
end
end
| {
"content_hash": "4d7a156d70bfff95c1fd0ec4390eb35e",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 51,
"avg_line_length": 19.555555555555557,
"alnum_prop": 0.6647727272727273,
"repo_name": "stoicsquirrel/soc_imp",
"id": "48c6e56c64d4877fa93bc44efe5fae474472fbd6",
"size": ... |
class Solution:
# @param {int[]} A an integer array
# @return {int[]} A list of integers includes the index of the
# first number and the index of the last number
def continuousSubarraySum(self, A):
# Write your code here | {
"content_hash": "4b5a784cb7d290e0144ee12bd3494df5",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 68,
"avg_line_length": 44,
"alnum_prop": 0.6212121212121212,
"repo_name": "quake0day/oj",
"id": "795e2da195f065df490bdcee56e2fc64fe1e02ab",
"size": "264",
"binary": false,... |
'use strict';
var gulp = require('gulp');
var runSequence = require('run-sequence');
gulp.task('dev', ['lib'], function(cb) {
global.isProd = false;
// cb = cb || function() {};
cb = function() {
console.log('\n');
console.log('-----------------------------------------------');
con... | {
"content_hash": "e6bd49b2c52f1b5dd2fb2ab57a2eab94",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 150,
"avg_line_length": 37.421052631578945,
"alnum_prop": 0.5035161744022504,
"repo_name": "Laesod/mainUi-seed",
"id": "1712dbf01ed1ebe460797ab023256a34938b7c1e",
"size": "... |
package com.thoughtworks.go.server.service;
import com.thoughtworks.go.config.CaseInsensitiveString;
import com.thoughtworks.go.config.CruiseConfig;
import com.thoughtworks.go.config.GoConfigDao;
import com.thoughtworks.go.config.materials.svn.SvnMaterial;
import com.thoughtworks.go.domain.MaterialRevisions;
import c... | {
"content_hash": "850ca98d62d414a45cfbd7d539abc8ca",
"timestamp": "",
"source": "github",
"line_count": 105,
"max_line_length": 138,
"avg_line_length": 43.63809523809524,
"alnum_prop": 0.7514185945002182,
"repo_name": "GaneshSPatil/gocd",
"id": "f43b7066fc694b342a8786bb2d980385eb7a8adf",
"size": "5... |
module rl.utilities.filters.isEmpty {
'use strict';
import __object = rl.utilities.services.object;
export var moduleName: string = 'rl.utilities.filters.isEmpty';
export var serviceName: string = 'isEmpty';
export var filterName: string = serviceName + 'Filter';
export interface IIsEmptyFilter {
(input: any... | {
"content_hash": "20c9665b28926d03ec84416d36567667",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 68,
"avg_line_length": 26.896551724137932,
"alnum_prop": 0.7064102564102565,
"repo_name": "csengineer13/bower-typescript-angular-utilities",
"id": "626d08dce9a39cb319f9ca7868... |
Analyze the motility of active cell sites imported by a bin file from Origin Analysis
INTRODUCTION
------------
The MotilityTracking program displays imported coordinate paths as green lines for easy analysis. Tracks can be excluded based on parameters like length and distance. Statistical analysis of tracks is per... | {
"content_hash": "8c6fe193e247aed950171350eab55cb8",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 432,
"avg_line_length": 44.75757575757576,
"alnum_prop": 0.7725118483412322,
"repo_name": "BrettJSettle/MotilityTracking",
"id": "f41dab2b634aa1799f32a8c2c061c27e49020e7d",
... |
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/StreamHub-Android-Comments-App.iml" filepath="$PROJECT_DIR$/StreamHub-Android-Comments-App.iml" />
<module fileurl="file://$PROJECT_DIR$/streamhub-androi... | {
"content_hash": "926baf4d31cdba85c3a634c4ee6a3d6e",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 168,
"avg_line_length": 62.6,
"alnum_prop": 0.7236421725239617,
"repo_name": "Livefyre/StreamHub-Android-Comments-App",
"id": "219e8257cfe129b86c2dd9613582003d94b2e172",
"s... |
<!doctype html>
<!--[if IE 9]> <html class="ie9"> <![endif]-->
<!--[if !IE]><!--> <html class="not_ie"> <!--<![endif]-->
<head>
<meta charset="UTF-8">
<meta name="viewport" content="user-scalable=no, initial-scale=1.0, maximum-scale=1.0, width=device-width">
<title>Masks</title>
<link href='http://fonts.goog... | {
"content_hash": "aeeed26cab4f7d497e6c4c85e555172d",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 109,
"avg_line_length": 37,
"alnum_prop": 0.6345475910693302,
"repo_name": "antibland/playground",
"id": "84ce1f2e852f86fbf0bb9d3e8a8f338af2501ba4",
"size": "851",
"binar... |
package facebody
//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
//dist... | {
"content_hash": "2177e5b50b2cae014543dbd041c61432",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 84,
"avg_line_length": 40.30434782608695,
"alnum_prop": 0.7572815533980582,
"repo_name": "aliyun/alibaba-cloud-sdk-go",
"id": "696431a587c40c5079ceb563f288c5737fc3affb",
"s... |
from django.contrib.auth import get_user_model
from django.contrib.auth.backends import ModelBackend
# models
from users.models import User
class CustomBackend(ModelBackend):
"""
Authenticates against users.models.User
"""
supports_inactive_user = True
def authenticate(self, email, password, tok... | {
"content_hash": "aaab8fd037abd460a6f55eb0f78cad40",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 76,
"avg_line_length": 29.717391304347824,
"alnum_prop": 0.5808339429407462,
"repo_name": "magnet-cl/django-project-template-py3",
"id": "eb4ab3518d3d310054ec28ec0dc809f96653... |
// Copyright 2018 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": "15f8628d8b31048588bf1acbb2cc6cb2",
"timestamp": "",
"source": "github",
"line_count": 131,
"max_line_length": 117,
"avg_line_length": 36.152671755725194,
"alnum_prop": 0.714527027027027,
"repo_name": "firebase/firebase-android-sdk",
"id": "1bc028308b6649ee04d4316ffaa24f9fe6886fc4",
... |
/* eslint-env node */
"use strict";
var fs = require("fs-extra"),
path = require("path"),
spawn = require("child_process").spawn;
var Errors = {
NPM_INSTALL_FAILED: "NPM_INSTALL_FAILED"
};
/**
* Private function to run "npm install --production" command in the extension directory.
*
* @param {s... | {
"content_hash": "bb4da72dccf0844911b3f7602b14c407",
"timestamp": "",
"source": "github",
"line_count": 108,
"max_line_length": 107,
"avg_line_length": 29.814814814814813,
"alnum_prop": 0.6198757763975156,
"repo_name": "adobe/brackets-registry",
"id": "46d25cfbeb66eaf720f5b2fa98a2f93f5cbba7ea",
"si... |
/**
* @file
* @brief Contains the TPZRefPattern class which defines the topology of the current refinement pattern to a mesh.
*/
#ifndef PZREFPATTERNH
#define PZREFPATTERNH
#include "pzvec.h"
#include "pzgmesh.h"
#include <iostream>
#include <string>
#include <map>
#include <list>
#include <set>
#include "tpzpermut... | {
"content_hash": "525bdd551e613012872b1a28e6ef2eae",
"timestamp": "",
"source": "github",
"line_count": 554,
"max_line_length": 155,
"avg_line_length": 28.12274368231047,
"alnum_prop": 0.6572528883183568,
"repo_name": "gems-uff/oceano",
"id": "7377b83de958f9dd26537e5a861dff71b35c8bf1",
"size": "155... |
<?xml version="1.0" encoding="utf-8"?>
<!--
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/mtf/etc/fixture.xsd">
<fixture name="currencySymbolEntity"
module="Magento_CurrencySymbol"
type="flat"
... | {
"content_hash": "c77550c43a463774dd2ace49756642bf",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 147,
"avg_line_length": 47.27272727272727,
"alnum_prop": 0.6326923076923077,
"repo_name": "tarikgwa/test",
"id": "fd28c1bea9a9a50a37688ace0d0ae7a5500caad7",
"size": "1138",... |
<?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/myCoordinatorLayout"
android:layout_... | {
"content_hash": "56b7d695440c304763a103ca4825b046",
"timestamp": "",
"source": "github",
"line_count": 123,
"max_line_length": 107,
"avg_line_length": 44.67479674796748,
"alnum_prop": 0.5177434030937216,
"repo_name": "LCA311/leoapp-sources",
"id": "65a92b425563e9d9363e3376972b91c1ce79069a",
"size"... |
using System;
using System.Collections;
using System.IO;
using Org.BouncyCastle.Utilities;
namespace Org.BouncyCastle.Crypto.Tls
{
public sealed class SessionParameters
{
public sealed class Builder
{
private int mCipherSuite = -1;
private short mCompress... | {
"content_hash": "96a5a6b05978d8d38faac6d6daa82e66",
"timestamp": "",
"source": "github",
"line_count": 168,
"max_line_length": 121,
"avg_line_length": 32.18452380952381,
"alnum_prop": 0.5402256334381358,
"repo_name": "magento-hackathon/DashboardVR",
"id": "2d596519c48f44f3bd7cdb32817e34d398e205e0",
... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.4.2_11) on Sun Oct 15 22:02:30 CDT 2006 -->
<TITLE>
org.hibernate.classic (Hibernate API Documentation)
</TITLE>
<META NAME="keywords" CONTENT="org.hibe... | {
"content_hash": "c17bdb114a0b66391877446bc6f1cb85",
"timestamp": "",
"source": "github",
"line_count": 193,
"max_line_length": 153,
"avg_line_length": 39.6580310880829,
"alnum_prop": 0.641233342043376,
"repo_name": "renmeng8875/projects",
"id": "2939d06ed81cb55f73875a285a68f9ddb8c85106",
"size": "... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "63c6fe72cb575d375efe064630e0dab6",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "4f3564e0b2fe6043aae7e5dda2bbfd6d3328e836",
"size": "179... |
<?php
namespace OS\DependencyInjector;
use Closure;
use Psr\Log\LoggerAwareInterface;
use Psr\Log\LoggerAwareTrait;
use Psr\Log\LoggerInterface;
use Psr\Log\NullLogger;
use ReflectionClass;
use ReflectionException;
use ReflectionFunction;
use ReflectionFunctionAbstract;
use ReflectionMethod;
use ReflectionParameter;... | {
"content_hash": "3f5a2390447fbb9a4c98a1aef42b314e",
"timestamp": "",
"source": "github",
"line_count": 204,
"max_line_length": 115,
"avg_line_length": 31.127450980392158,
"alnum_prop": 0.6190551181102362,
"repo_name": "oliver-schoendorn/dependency-injector",
"id": "5140a8925abc14dba90a535528ecbf1780... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Gedcomx.Date
{
/// <summary>
/// Represents an approximate GEDCOM X date.
/// </summary>
public class GedcomxDateApproximate : GedcomxDate
{
private GedcomxDateSimp... | {
"content_hash": "a9ac896be396e1170d41a683a6c88857",
"timestamp": "",
"source": "github",
"line_count": 200,
"max_line_length": 173,
"avg_line_length": 26.62,
"alnum_prop": 0.46882043576258453,
"repo_name": "FamilySearch/gedcomx-csharp",
"id": "8a19e179a0930414e32d4b5b12997181f52a0a2b",
"size": "53... |
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/delay.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/completion.h>
#include <linux/mutex.h>
#include <asm/uaccess.h>
#include <linux/usb.h>
/* image constants */
#define WIDTH 225
#define HEIGHT 289
#defi... | {
"content_hash": "0e45c03b31a2b484763cf0a9b63fd034",
"timestamp": "",
"source": "github",
"line_count": 442,
"max_line_length": 89,
"avg_line_length": 26.144796380090497,
"alnum_prop": 0.6811180339217723,
"repo_name": "sahdman/rpi_android_kernel",
"id": "c6184b4d169551d8c3795971377d8069d81fccf2",
"... |
namespace {
// Converts a uint32_t to its string decimal representation.
std::string to_string(uint32_t id) {
// Use stringstream, since some versions of Android compilers lack
// std::to_string.
std::stringstream os;
os << id;
return os.str();
}
} // anonymous namespace
namespace libspirv {
NameMapper G... | {
"content_hash": "eeb01db462c9917fdd1e6fbf36277687",
"timestamp": "",
"source": "github",
"line_count": 297,
"max_line_length": 80,
"avg_line_length": 32.15488215488215,
"alnum_prop": 0.6005235602094241,
"repo_name": "fuchsia-mirror/third_party-spirv-tools",
"id": "43412a30518168af73da32ad025ed28bc30... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "1b563d85621750d2d1f7da669837544b",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "cb9aa673d8c33a53f6d1221fa7b9c8f0c34d8708",
"size": "171... |
$(function() {
/*
* Package support
*/
// select or deselect all items if package is selected or deselected
$('.package').delegate('change', function() {
var items = $('.in_' + this.name);
for (var i = 0; i < items.length; i++) {
items[i].checked = this.checked;
... | {
"content_hash": "a96e6ec7e985e3f19c276f3f361807ec",
"timestamp": "",
"source": "github",
"line_count": 87,
"max_line_length": 79,
"avg_line_length": 26.149425287356323,
"alnum_prop": 0.47912087912087914,
"repo_name": "animekita/selvbetjening",
"id": "db663c84777e1bdf8dbecc4f36c1f9f5f8253955",
"siz... |
<?php
namespace Oro\Bundle\ImapBundle\Connector\Search;
abstract class SearchQueryExprValueBase implements SearchQueryExprValueInterface
{
/**
* @param string|SearchQueryExpr $value The word phrase
* @param int $match The match type. One of SearchQueryMatch::* values
*/
public function __constr... | {
"content_hash": "f5ebbd33bcb441b8db7bb0c03713cd8f",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 80,
"avg_line_length": 19.65625,
"alnum_prop": 0.5675675675675675,
"repo_name": "MarkThink/OROCRM",
"id": "595f2e4f714fa2428eb4d15d1d77bf6f5127f048",
"size": "1258",
"bin... |
@class NSString;
@interface MallProductItem : NSObject <PBCoding, NSCopying>
{
unsigned int type;
NSString *mallProductInfo;
}
+ (void)initialize;
@property(retain, nonatomic) NSString *mallProductInfo; // @synthesize mallProductInfo;
@property(nonatomic) unsigned int type; // @synthesize type;
- (void).cxx_d... | {
"content_hash": "4fe085b7588f3d1fffeb1b910ce01652",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 87,
"avg_line_length": 27.76923076923077,
"alnum_prop": 0.7534626038781164,
"repo_name": "walkdianzi/DashengHook",
"id": "154511755cf3fb6dc84a92abadf8ec9c003d5e32",
"size":... |
#include "stdafx.h"
#include "alife_space.h"
#include "hit.h"
#include "PHDestroyable.h"
#include "CharacterPhysicsSupport.h"
#include "PHMovementControl.h"
#include "CustomMonster.h"
#include "PhysicsShell.h"
#include "../skeletonanimated.h"
#include "Actor.h"
#include "CustomZone.h"
#include "Extendedgeom.h"
#include... | {
"content_hash": "7f035c75ed88f7239978abddf6583252",
"timestamp": "",
"source": "github",
"line_count": 992,
"max_line_length": 204,
"avg_line_length": 28.836693548387096,
"alnum_prop": 0.7153394392784731,
"repo_name": "OLR-xray/OLR-3.0",
"id": "a595449c97f1a9c53a752e40df1648af57ae1cc6",
"size": "2... |
package com.TopicModeling;
/**
* The class represents a token
*/
public class Token {
private String id;
private String text;
public void setId(String id) {
this.id = id;
}
public void setText(String text) {
this.text = text;
}
public String getId() {
... | {
"content_hash": "ac8cc35dabffa1725744baecb7b0cb59",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 62,
"avg_line_length": 17.225806451612904,
"alnum_prop": 0.5056179775280899,
"repo_name": "DimitrisNik/Eu-Community",
"id": "d39af84bf83fb22f6425bb2fe8112730ee351963",
"siz... |
var cors_url = get_host_info().HTTP_REMOTE_ORIGIN +
dirname(location.pathname) +
RESOURCES_DIR +
"preflight.py";
promise_test((test) => {
var uuid_token = token();
var request_url =
cors_url + "?token=" + uuid_token + "&max_age=12000&allow_methods=POST" +
"&all... | {
"content_hash": "bc84f18759e36e7bb8a9a65f2efea93b",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 101,
"avg_line_length": 37.404761904761905,
"alnum_prop": 0.4945894334818587,
"repo_name": "youtube/cobalt_sandbox",
"id": "ce6a169d8146750b183c9210d1b2041fac879248",
"size... |
package exported
import (
"github.com/Azure/azure-sdk-for-go/sdk/internal/log"
)
// NOTE: these are publicly exported via type-aliasing in azeventhubs/log.go
const (
// EventConn is used whenever we create a connection or any links (ie: receivers, senders).
EventConn log.Event = "azeh.Conn"
// EventAuth is used ... | {
"content_hash": "6c8401fd74ac004bead19a443a376a14",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 92,
"avg_line_length": 31.45,
"alnum_prop": 0.7647058823529411,
"repo_name": "Azure/azure-sdk-for-go",
"id": "2c4a36f403bd633bfac1128bb83cbdb6889db345",
"size": "726",
"b... |
<?php namespace App\Commands;
use App\Commands\Command;
use Sanghaplanner\Sanghas\SanghaRepositoryInterface;
use Sanghaplanner\Users\UserRepositoryInterface;
use App\Events\LeftASangha;
use Laracasts\Flash\Flash;
use Illuminate\Contracts\Bus\SelfHandling;
use Illuminate\Contracts\Events\Dispatcher;
class LeaveSanghaC... | {
"content_hash": "5b81c92217114a92aa6c6350afcce87a",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 66,
"avg_line_length": 24.87272727272727,
"alnum_prop": 0.6557017543859649,
"repo_name": "mbed67/sanghaplanner",
"id": "38ebd6b4e68adaba4e1b86b813ef24a9fd4624d8",
"size": "... |
package com.mauriciotogneri.fileexplorer.provider;
import android.database.Cursor;
import android.net.Uri;
import androidx.annotation.NonNull;
import androidx.core.content.FileProvider;
public class LegacyCompatFileProvider extends FileProvider
{
@Override
public Cursor query(@NonNull Uri uri, String[] proje... | {
"content_hash": "d1873b80e8d64b35569b8aad26a97169",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 122,
"avg_line_length": 32.1875,
"alnum_prop": 0.7844660194174757,
"repo_name": "mauriciotogneri/fileexplorer",
"id": "360c1af2c963f4602031bb79a7213f6aa7d13c2c",
"size": "5... |
package com.intellij.openapi.vcs;
import com.intellij.notification.*;
import com.intellij.openapi.components.ServiceManager;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.util.text.StringUtil;
import com.intellij.openapi.vcs.changes.ui.ChangesViewContentManager;
import org.jetbrains.annotati... | {
"content_hash": "441c62aa3df6a1f56d5ac3a977236a4d",
"timestamp": "",
"source": "github",
"line_count": 197,
"max_line_length": 135,
"avg_line_length": 41.2994923857868,
"alnum_prop": 0.7375860373647984,
"repo_name": "msebire/intellij-community",
"id": "68bb4c80cb421336ef580a9833d04b7a4256c4f5",
"s... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "395797420c55a8d9fff9f6cfb93b286d",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "62dbbe015f61c506747f88439f1965cc3ea8beb5",
"size": "18... |
require File.expand_path('../../../spec_helper', __FILE__)
require File.expand_path('../fixtures/classes', __FILE__)
describe "IO#readpartial" do
before :each do
@rd, @wr = IO.pipe
@rd.binmode
@wr.binmode
end
after :each do
@rd.close unless @rd.closed?
@wr.close unless @wr.closed?
end
if ... | {
"content_hash": "5de16d35d036e3e447384a4d49a7adbd",
"timestamp": "",
"source": "github",
"line_count": 96,
"max_line_length": 76,
"avg_line_length": 26.208333333333332,
"alnum_prop": 0.6430842607313195,
"repo_name": "nosolosoftware/rhodes",
"id": "748b293b6853353ac790f3d607bfd11c2c8d32da",
"size":... |
<html lang="en">
<head>
<title>Introduction - GNU gprof</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="GNU gprof">
<meta name="generator" content="makeinfo 4.7">
<link title="Top" rel="start" href="index.html#Top">
<link rel="prev" href="index.html#Top" title="Top"... | {
"content_hash": "d769e3c6d8dcf30ac763beabf750af1a",
"timestamp": "",
"source": "github",
"line_count": 101,
"max_line_length": 112,
"avg_line_length": 46.28712871287129,
"alnum_prop": 0.7274866310160428,
"repo_name": "UECIDE/UECIDE_data",
"id": "c4cc208cb22fb14d0777dcefe0febc4d510005fe",
"size": "... |
package network
// Copyright (c) Microsoft and contributors. 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
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unl... | {
"content_hash": "57c8283fdafc3888a242d07ad353c788",
"timestamp": "",
"source": "github",
"line_count": 639,
"max_line_length": 225,
"avg_line_length": 42.183098591549296,
"alnum_prop": 0.781858653311074,
"repo_name": "sferich888/origin",
"id": "da1a8c8e293d4009abbbc36b46c1116a7586b5ef",
"size": "2... |
package com.example.maguoqing.androiddemo;
import android.app.Application;
import com.orm.SugarContext;
/**
* Created by magq on 16/3/3.
*/
public class AndroidDemoApplication extends Application {
@Override
public void onCreate() {
super.onCreate();
SugarContext.init(this);
}
}
| {
"content_hash": "9fd5295d899fd3b264db2b58f7056a70",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 57,
"avg_line_length": 17.5,
"alnum_prop": 0.6888888888888889,
"repo_name": "martji/AndroidDemo",
"id": "576dd5810768651e705a3c32635c9c2d2cb5dcc8",
"size": "315",
"binary... |
from __future__ import absolute_import
from __future__ import print_function
from __future__ import unicode_literals
import os
import shutil
import tempfile
import time
from unittest import TestCase
from po_localization.file_watcher import FileWatcher
class FileWatcherTestCase(TestCase):
def setUp(self):
... | {
"content_hash": "2c3a760776e3733e776ea7e97e2b8576",
"timestamp": "",
"source": "github",
"line_count": 112,
"max_line_length": 59,
"avg_line_length": 35.080357142857146,
"alnum_prop": 0.635530669381522,
"repo_name": "kmichel/po-localization",
"id": "d6b3e597b899648a809ddf2653daea15374f3ef2",
"size... |
package org.apache.pdfbox.contentstream.operator.color;
import org.apache.pdfbox.cos.COSBase;
import org.apache.pdfbox.cos.COSName;
import org.apache.pdfbox.pdmodel.graphics.color.PDColorSpace;
import org.apache.pdfbox.contentstream.operator.Operator;
import org.apache.pdfbox.contentstream.operator.OperatorName;
imp... | {
"content_hash": "2954ccfc20f5568f412711481bbb7ea7",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 86,
"avg_line_length": 29.264705882352942,
"alnum_prop": 0.7547738693467336,
"repo_name": "kalaspuffar/pdfbox",
"id": "8d1d6b2d83a22072eb2b2c8580c88a823864fbb9",
"size": "1... |
require 'panoptimon-collector-haproxy/haproxy'
| {
"content_hash": "7b7a0d4839b2350ba68872e5147b77f2",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 46,
"avg_line_length": 47,
"alnum_prop": 0.851063829787234,
"repo_name": "ewilhelm/panoptimon",
"id": "f3d63596a54206556b175246213d2d5d860bcf64",
"size": "47",
"binary": f... |
/** \file fbxsdk_version.h
* FBX SDK version definition.
*
* This file defines the version string and numbers for this release of the FBX SDK.
* \note This file should never be included directly, please include fbxsdk_def.h
* instead.
*/
#ifndef _FBXSDK_VERSION_H_
#define _FBXSDK_VERSION_H_
//FBX SDK ver... | {
"content_hash": "ed937550583c6efef682d14c7fd2aff8",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 140,
"avg_line_length": 36.113207547169814,
"alnum_prop": 0.7366771159874608,
"repo_name": "smo-key/Epitome3D",
"id": "410a02d0714ba2a4db2375d8669dd905ff338337",
"size": "2... |
Random::Random (const int64 seedValue) noexcept : seed (seedValue)
{
}
Random::Random() : seed (1)
{
setSeedRandomly();
}
Random::~Random() noexcept
{
}
void Random::setSeed (const int64 newSeed) noexcept
{
seed = newSeed;
}
void Random::combineSeed (const int64 seedValue) noexcept
... | {
"content_hash": "c0d1d6ecba3fa05c61d7d20a6be29fa0",
"timestamp": "",
"source": "github",
"line_count": 163,
"max_line_length": 101,
"avg_line_length": 23.699386503067483,
"alnum_prop": 0.549314004659591,
"repo_name": "modlfo/AudioEngine",
"id": "ccca0b571ebc5a44d1d26aa19475509bae468891",
"size": "... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta http-e... | {
"content_hash": "65f322fdc20f8e09ace6d084bb6570eb",
"timestamp": "",
"source": "github",
"line_count": 515,
"max_line_length": 999,
"avg_line_length": 39.15339805825243,
"alnum_prop": 0.6077167228724459,
"repo_name": "statsmodels/statsmodels.github.io",
"id": "cce2ec1c243b5a1471de2a0740b55c02c09838c... |
<? include("../function/db.php");?>
<?include("../../members/payments_settings.php");?>
<?
//Check access
admin_panel_access("settings_payments");
$activ=0;
if(isset($_POST["enable"])){$activ=1;}
$ipn=0;
if(isset($_POST["ipn"])){$ipn=1;}
$sql="update gateway_paypalpro set account='".result($_POST["acc... | {
"content_hash": "013b25f406f4c97b737bca6799c55c6f",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 189,
"avg_line_length": 24.904761904761905,
"alnum_prop": 0.5984703632887189,
"repo_name": "binidini/mstock",
"id": "83b772ea24691b4b88e554135bcfbc6af2ad073f",
"size": "523... |
module GHCJS.DOM.SVGURIReference (
) where
| {
"content_hash": "4ff76f20f6893d00adc00d59e8619de6",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 34,
"avg_line_length": 22.5,
"alnum_prop": 0.7555555555555555,
"repo_name": "manyoo/ghcjs-dom",
"id": "e4282c81ad3b16f9a7f54027cb6c787479942c92",
"size": "45",
"binary": f... |
document.getElementById("release-0").className = "done";
// Release 2:
document.getElementById("release-1").style.display = "none";
// Release 3:
document.getElementsByTagName("h1")[0].innerHTML = "I completed release 2.";
// Release 4:
document.getElementById("release-3").style.backgroundColor = "#955251";
... | {
"content_hash": "668f5c4951cfefd414918e9ff783768a",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 194,
"avg_line_length": 24.75609756097561,
"alnum_prop": 0.7261083743842365,
"repo_name": "jinlaur/DBC-Phase0",
"id": "9b216ce89ecaf9d07e58b06bf78a057a10f231dc",
"size": "1... |
use std::{error::Error, fmt, string::FromUtf8Error, sync::Arc};
use hyper::{
header::{self, HeaderValue},
Body, Method, Request, Response, StatusCode,
};
use juniper::{
http::{GraphQLBatchRequest, GraphQLRequest as JuniperGraphQLRequest, GraphQLRequest},
GraphQLSubscriptionType, GraphQLType, GraphQLTyp... | {
"content_hash": "955838415bcd18066616c8a43b6955f6",
"timestamp": "",
"source": "github",
"line_count": 453,
"max_line_length": 99,
"avg_line_length": 33.209713024282564,
"alnum_prop": 0.5620180802977931,
"repo_name": "mhallin/juniper",
"id": "d46df4527284a8e9bbdc48a618c8374b72e675a8",
"size": "151... |
class MapWrapper
{
public:
/// The unique virtual number.
unsigned int vnum;
/// Width of the map.
int width;
/// Height of the map.
int height;
/// The map.
std::map<int, std::map<int, MapCell>> map;
/// The air map.
std::map<int, std::map<int, std::vector<MapCell>>> airMap;
... | {
"content_hash": "27679209bef73b0ce778fd8d07c5e8ea",
"timestamp": "",
"source": "github",
"line_count": 128,
"max_line_length": 78,
"avg_line_length": 26.59375,
"alnum_prop": 0.47326674500587546,
"repo_name": "Galfurian/RadMud",
"id": "bff1c13ed1a753b567c681ad3fc51856fe4850ce",
"size": "4783",
"b... |
<?php
/**
* Base class that represents a row from the 'label_index' table.
*
*
*
* @package propel.generator.fbapp.om
*/
abstract class BaseLabelIndex extends BaseObject implements Persistent
{
/**
* Peer class name
*/
const PEER = 'LabelIndexPeer';
/**
* The Peer class.
* In... | {
"content_hash": "188adfd7024b38a233c16b6429d725e8",
"timestamp": "",
"source": "github",
"line_count": 3836,
"max_line_length": 171,
"avg_line_length": 32.99973931178311,
"alnum_prop": 0.5343834674966623,
"repo_name": "royrusso/fishbase",
"id": "9e9d981622596ef6663236f8c93951c130dc82d7",
"size": "... |
<wicket:panel>
<div class="container">
<form wicket:id="uploadForm" role="form">
<div class="form-group">
<label wicket:for="inputFile"><wicket:message key="select.file">Select File</wicket:message></label>
<input type="file" wicket:id="inputFile">
<p class="help-block"><wicket:message key="select.file.impo... | {
"content_hash": "a55808d1e1ad66fb24ccc9a0652bc03f",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 127,
"avg_line_length": 45.75,
"alnum_prop": 0.7103825136612022,
"repo_name": "WeaxMe/Orienteer",
"id": "b004ef909b1e32722102a039075c7cea23b27059",
"size": "549",
"binary... |
steal('can/util', 'can/model/elements', function(can) {
var getArgs = function( args ) {
if ( args[0] && (can.isArray(args[0])) ) {
return args[0]
} else if ( args[0] instanceof can.Model.List ) {
return can.makeArray(args[0])
} else {
return can.makeArray(args)
}
},
//used for namespacing
id = ... | {
"content_hash": "6bb00fb34d60ba2cf71f06dc6f070f8e",
"timestamp": "",
"source": "github",
"line_count": 575,
"max_line_length": 183,
"avg_line_length": 29.344347826086956,
"alnum_prop": 0.5763646061755467,
"repo_name": "daam/canjs",
"id": "7b7373fb8fed8010859223d26ef3690927e145d7",
"size": "16873",... |
FROM ruby:2.3.1-slim
ENV NPM_CONFIG_LOGLEVEL info
ENV NODE_VERSION 6.9.1
RUN buildDeps='xz-utils curl' && \
apt-get update && \
apt-get install -y $buildDeps --no-install-recommends && \
rm -rf /var/lib/apt/lists/* && \
curl -SLO "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-x64.ta... | {
"content_hash": "0ccc27549278585b2bd1aff6fbaaedfd",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 96,
"avg_line_length": 33.833333333333336,
"alnum_prop": 0.6436781609195402,
"repo_name": "cpg1111/demo-maestro-app",
"id": "bd026608849fb411733bb4ad4de7b389b51a992b",
"siz... |
#pragma once
#include <aws/storagegateway/StorageGateway_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/storagegateway/model/Tape.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Js... | {
"content_hash": "89de3a98de0616d89352d7b6d4dcdeee",
"timestamp": "",
"source": "github",
"line_count": 125,
"max_line_length": 107,
"avg_line_length": 35.328,
"alnum_prop": 0.6684782608695652,
"repo_name": "ambasta/aws-sdk-cpp",
"id": "09028d9152c385f3bdd55d9f399b6158d96bc6d5",
"size": "4989",
"... |
package core
import (
"database/sql"
"errors"
"reflect"
"sync"
)
type Rows struct {
*sql.Rows
db *DB
}
func (rs *Rows) ToMapString() ([]map[string]string, error) {
cols, err := rs.Columns()
if err != nil {
return nil, err
}
var results = make([]map[string]string, 0, 10)
for rs.Next() {
var record = m... | {
"content_hash": "81b83434f46410e7e51e73ec66be59c1",
"timestamp": "",
"source": "github",
"line_count": 334,
"max_line_length": 81,
"avg_line_length": 20.18562874251497,
"alnum_prop": 0.6296351231088698,
"repo_name": "lafriks/gitea",
"id": "a1e8bfbcdeb886465a02e9638a5377135675d298",
"size": "6904",... |
package org.jetbrains.plugins.groovy.mvc.projectView;
import com.intellij.ide.projectView.ViewSettings;
import com.intellij.ide.util.treeView.AbstractTreeNode;
import com.intellij.openapi.module.Module;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiModifier;
import org.jetbrains.annotations.NotNull;
... | {
"content_hash": "a7ca7029c3ffdabbde4f97fc17129caf",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 124,
"avg_line_length": 31.10958904109589,
"alnum_prop": 0.7542932628797886,
"repo_name": "da1z/intellij-community",
"id": "376f21b29df443415fcf888e9c31df753e782911",
"size... |
using System;
using NUnit.Framework;
using Qi4CS.Core.API.Model;
using Qi4CS.Core.API.Instance;
using Qi4CS.Core.Bootstrap.Assembling;
namespace Qi4CS.Tests.Core.Instance.AppliesTo
{
[Serializable]
[Category( "Qi4CS.Core" )]
public class FragmentAppliesToTest : AbstractSingletonInstanceTest
{... | {
"content_hash": "13ef7cd6ac5130cc51048485450a3ba9",
"timestamp": "",
"source": "github",
"line_count": 140,
"max_line_length": 116,
"avg_line_length": 25.964285714285715,
"alnum_prop": 0.5763411279229711,
"repo_name": "CometaSolutions/Qi4CS",
"id": "9d1e85cdd013b55502dec6ab805b69658f5d9b4a",
"size... |
/*
* jsTree default theme 1.0
* Supported features: dots/no-dots, icons/no-icons, focused, loading
* Supported plugins: ui (hovered, clicked), checkbox, contextmenu, search
*/
.jstree-default li,
.jstree-default ins { background-image:url("/images/jstree-default/d.png"); background-repeat:no-repeat; backgr... | {
"content_hash": "1e5854654b702ce2f73d6f76556ffb28",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 208,
"avg_line_length": 66.36486486486487,
"alnum_prop": 0.7399714925677051,
"repo_name": "tribal-mlearning/omlet-web",
"id": "81c3062c4a59689fe376d5aee6330ac205b3097f",
"s... |
require 'spec_helper'
describe 'postgresql::server::role', type: :define do
let :facts do
{
osfamily: 'Debian',
operatingsystem: 'Debian',
operatingsystemrelease: '8.0',
kernel: 'Linux',
concat_basedir: tmpfilename('contrib'),
id: 'root',
path: '/usr/local/sbin:/usr/loca... | {
"content_hash": "e0550c20020771782ea22bb016080ccb",
"timestamp": "",
"source": "github",
"line_count": 145,
"max_line_length": 151,
"avg_line_length": 41.51724137931034,
"alnum_prop": 0.5795681063122924,
"repo_name": "npwalker/puppetlabs-postgresql",
"id": "ecf4abc208b51ff43c595dde3766133afe21c37d",... |
<!DOCTYPE HTML>
<html>
<head>
<meta name="viewport" content="user-scalable=no, initial-scale=1.0, maximum-scale=1.0, width=device-width">
%header%
<title>%title%</title>
<script>RwSet = {pathto: "%pathto(javascript.js)%",baseurl: "%base_url%"};</script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1/j... | {
"content_hash": "d55c12262b7cbcadf1eee1dd2b69b452",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 108,
"avg_line_length": 28.457831325301203,
"alnum_prop": 0.6375952582557155,
"repo_name": "NimbleHost/SeydoggySlideshow",
"id": "16a1d21dc18cd39ac71cd0a3834e88848af0885f",
... |
using bookmarks_helper::AddURL;
using bookmarks_helper::IndexedURL;
using bookmarks_helper::IndexedURLTitle;
using preferences_helper::BooleanPrefMatches;
using preferences_helper::ChangeBooleanPref;
namespace {
// Utility functions to make a model type set out of a small number of
// model types.
syncer::ModelType... | {
"content_hash": "629fb57c6457d95eb4a35bf99f49c975",
"timestamp": "",
"source": "github",
"line_count": 392,
"max_line_length": 80,
"avg_line_length": 34.47959183673469,
"alnum_prop": 0.7035365492749334,
"repo_name": "junmin-zhu/chromium-rivertrail",
"id": "163a058cd8e1531cd89d4bc43c2fba3184681c25",
... |
package com.linecorp.armeria.client.redirect;
import com.linecorp.armeria.common.annotation.Nullable;
import com.linecorp.armeria.common.annotation.UnstableApi;
/**
* A {@link RuntimeException} raised in
* <a href="https://datatracker.ietf.org/doc/html/rfc7231#section-6.4">automatic redirection</a>.
*/
@UnstableA... | {
"content_hash": "712bd46a8f65c99e7d1aca3ce71a67eb",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 103,
"avg_line_length": 30.76,
"alnum_prop": 0.6762028608582574,
"repo_name": "trustin/armeria",
"id": "c98c4a4c6470b3ff079f2db83ea7bb77c2a3cf58",
"size": "2171",
"binary... |
namespace weblayer {
class Tab;
// TabCallbackProxy forwards all TabObserver functions to the Java side. There
// is one TabCallbackProxy per Tab.
class TabCallbackProxy : public TabObserver {
public:
TabCallbackProxy(JNIEnv* env, jobject obj, Tab* tab);
TabCallbackProxy(const TabCallbackProxy&) = delete;
Tab... | {
"content_hash": "41b580a2f21d68d2c55f211a79c5ca68",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 78,
"avg_line_length": 27.142857142857142,
"alnum_prop": 0.756578947368421,
"repo_name": "ric2b/Vivaldi-browser",
"id": "ddc856a0e7a790948afe68fd682f46f56c3e39df",
"size": ... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE78_OS_Command_Injection__wchar_t_connect_socket_w32_execv_32.c
Label Definition File: CWE78_OS_Command_Injection.strings.label.xml
Template File: sources-sink-32.tmpl.c
*/
/*
* @description
* CWE: 78 OS Command Injection
* BadSource: connect_socket Read data u... | {
"content_hash": "0bea8046c25c72d4ebe24c3bf3f8f37d",
"timestamp": "",
"source": "github",
"line_count": 210,
"max_line_length": 117,
"avg_line_length": 30.961904761904762,
"alnum_prop": 0.5512150107659182,
"repo_name": "maurer/tiamat",
"id": "9533b16231709119db97a2d9cdaa63d27a012498",
"size": "6502... |
import styled from 'styled-components';
export default styled.div`
display: flex;
align-items: flex-end;
margin: 10px 20px 0 12px;
min-height: 56px;
`;
| {
"content_hash": "e8a1e710969dd292774f47ae2e0468d1",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 39,
"avg_line_length": 20.125,
"alnum_prop": 0.7080745341614907,
"repo_name": "spearwolf/blitpunk",
"id": "12fae02fc80be8b8fad99cfb6a490a0cf8ec4341",
"size": "161",
"binar... |
<?php
namespace Phine\Framework\Database\Objects;
use Phine\Framework\Database\Interfaces as DBInterfaces;
use Phine\Framework\Database\Sql;
abstract class TableSchema
{
/**
* @return DBInterfaces\IDatabaseConnection
*/
abstract function Connection();
/**
*
* @var Sql\Builder
*/
... | {
"content_hash": "ec74f1729998d99109f250eb363d8a1d",
"timestamp": "",
"source": "github",
"line_count": 347,
"max_line_length": 260,
"avg_line_length": 34.389048991354464,
"alnum_prop": 0.573451772395877,
"repo_name": "agentmedia/phine-framework",
"id": "7a591e9e40e76905321e4bd66ad3ca240625d1bc",
"... |
import '../css/app.scss';
import 'owl.carousel/dist/owl.carousel.min.js';
import 'materialize-css/dist/js/materialize.min.js';
console.log('%cDừng lại!', 'color: red; font-size: 50px; text-shadow: 1px 1px 5px #000;');
console.log('%cCó vẻ như bạn đang cố tình muốn xâm hại layout của Hiệp !', 'color: #444; font-size: 25... | {
"content_hash": "177f84d335b55c920a1b66dc82df9d99",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 143,
"avg_line_length": 32.857142857142854,
"alnum_prop": 0.5643478260869565,
"repo_name": "remynguyen96/webpack-layout",
"id": "c7361cc407025172ac6ff812abdd7200300122b8",
... |
import DS from 'ember-data';
import BackboneElement from 'ember-fhir/models/backbone-element';
const { attr } = DS;
export default BackboneElement.extend({
name: attr('string'), variable: attr()
}); | {
"content_hash": "e7a8e0854cb28c0a2f4455c425d350bf",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 65,
"avg_line_length": 25,
"alnum_prop": 0.735,
"repo_name": "davekago/ember-fhir",
"id": "053b5e4ada8e260df2dfa9d4bbc492f89078ee9e",
"size": "200",
"binary": false,
"co... |
package vision
import (
visionpb "google.golang.org/genproto/googleapis/cloud/vision/v1"
)
import (
"flag"
"io"
"log"
"net"
"os"
"testing"
"github.com/golang/protobuf/proto"
"github.com/golang/protobuf/ptypes"
"golang.org/x/net/context"
"google.golang.org/api/option"
status "google.golang.org/genproto/go... | {
"content_hash": "2655ccf4279e4b963c5886ecd46771dd",
"timestamp": "",
"source": "github",
"line_count": 128,
"max_line_length": 164,
"avg_line_length": 23.6328125,
"alnum_prop": 0.7236363636363636,
"repo_name": "upmc-enterprises/registry-creds",
"id": "72ae1b9dbc7c103c07c686e81ca69ea6ba3212f0",
"si... |
<div>
<div class="record-Options-div d-inline-block ms-1 mb-1">
<div class="d-md-none hide-on-print">
<span ng-if="!hidePdf">
<a rel="noopener" translation-url href="{{pdfUrl}}" target="_blank" class="text-decoration-none text-white">
<i class="bi bi-file-ear... | {
"content_hash": "9d6b7ad24b5f122bb59464b010b73169",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 236,
"avg_line_length": 61.479166666666664,
"alnum_prop": 0.5435445611657065,
"repo_name": "scbd/absch.cbd.int",
"id": "7e1aa9b9b1c7a870317b340c1b6786d8ec7f5830",
"size": "... |
package com.intellij.ide.scopeView;
import com.intellij.ide.SelectInContext;
import com.intellij.ide.SelectInManager;
import com.intellij.ide.StandardTargetWeights;
import com.intellij.ide.impl.ProjectViewSelectInTarget;
import com.intellij.openapi.project.Project;
import com.intellij.packageDependencies.DependencyV... | {
"content_hash": "e6a8b1985b29bd47806ff366efc62a7a",
"timestamp": "",
"source": "github",
"line_count": 87,
"max_line_length": 129,
"avg_line_length": 32.54022988505747,
"alnum_prop": 0.7541504768632992,
"repo_name": "hurricup/intellij-community",
"id": "99d00a895cd49f2cff1d165b5f94fef2fa0d1ead",
"... |
{% load static %}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* ... | {
"content_hash": "4aaaf3fde78fa72563366526f62ff741",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 118,
"avg_line_length": 35.91304347826087,
"alnum_prop": 0.5108958837772397,
"repo_name": "phodal/growth-code",
"id": "9867731e05bd598031c0f12414269886a32acc94",
"size": "2... |
DELETE FROM t1 WHERE x=5 ORDER BY x LIMIT 2, 5 | {
"content_hash": "fbd6134a007b05f2438c7bbdf534cc90",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 46,
"avg_line_length": 46,
"alnum_prop": 0.7391304347826086,
"repo_name": "bkiers/sqlite-parser",
"id": "b1984fcfdf00a40c10c5b66ddd09ddf2d3bc5709",
"size": "129",
"binary"... |
import contextlib
import sys
import logging
import time
import itertools
from teuthology.config import config
from teuthology.exceptions import MaxWhileTries
log = logging.getLogger(__name__)
@contextlib.contextmanager
def nested(*managers):
"""
Like contextlib.nested but takes callables returning context
... | {
"content_hash": "c65063b88ce8c45c9e1a6562eb42659f",
"timestamp": "",
"source": "github",
"line_count": 145,
"max_line_length": 79,
"avg_line_length": 33.51034482758621,
"alnum_prop": 0.584070796460177,
"repo_name": "SUSE/teuthology",
"id": "57a0f08c86b6dbc969350aca850f188d2ef0f8a2",
"size": "4859"... |
package OptimizationTests.ShortMethodsInliningNonVirtualInvokes.InvokeSuperAObjectThrowBoundSet_001;
// The test checks that stack after ArrayIndexOutOfBoundsException occurs is correct despite inlining
class Main {
final static int iterations = 10;
public static void main(String[] args) {
Test t... | {
"content_hash": "9c0ebcedb27482f020780cfbf0a87cb9",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 101,
"avg_line_length": 32.17391304347826,
"alnum_prop": 0.6351351351351351,
"repo_name": "android-art-intel/Nougat",
"id": "7d2207eb91a76ef3482d7e5220d91485dc27cd4c",
"siz... |
{-# LANGUAGE QuasiQuotes, ScopedTypeVariables #-}
import Data.Monoid
import Test.Framework
import Test.Framework.Providers.HUnit
import Test.Framework.Providers.QuickCheck2
import Test.HUnit
import Test.QuickCheck
import Text.RawString.QQ
import qualified Data.Map as M
import Control.Concurrent.MVar
import Language... | {
"content_hash": "23e81b032b49d6dce5aff351afb218da",
"timestamp": "",
"source": "github",
"line_count": 112,
"max_line_length": 74,
"avg_line_length": 27.839285714285715,
"alnum_prop": 0.6013470173187941,
"repo_name": "gleber/erlhask",
"id": "4979782bcdd89644d079b0303d8498aefabbac1a",
"size": "3118... |
package io.reactivex.validators;
import java.io.*;
import java.util.*;
import java.util.regex.Pattern;
import org.junit.Test;
/**
* Checks for commonly copy-pasted but not-renamed local variables in unit tests.
* <ul>
* <li>{@code TestSubscriber} named as {@code to*}</li>
* <li>{@code TestObserver} named as {@... | {
"content_hash": "25e02824b469d875f11e6840372914d8",
"timestamp": "",
"source": "github",
"line_count": 415,
"max_line_length": 116,
"avg_line_length": 29.05542168674699,
"alnum_prop": 0.5549842428263394,
"repo_name": "artem-zinnatullin/RxJava",
"id": "8f8acaf3d40f3f12a5e6c5166aa740e521663a6a",
"si... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="InitializationStrategyCopyBytes.cs" company="Naos Project">
// Copyright (c) Naos Project 2019. All rights reserved.
// </copyright>
// ----------------------------------------... | {
"content_hash": "62c15954c3f65091cc83af055889f8ba",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 169,
"avg_line_length": 44.07142857142857,
"alnum_prop": 0.5575364667747164,
"repo_name": "NaosProject/Naos.Deployment",
"id": "6a942d0d4f6d0bb6c83cc20865f17c47207462b7",
"... |
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.android.io2014" >
<uses-feature
android:glEsVersion="0x00020000"
android:required="true"/>
<uses-permission android:name="android.permission.INTERNET"/>
<use... | {
"content_hash": "afdaf57d570f547ee7fd6eaf74745220",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 79,
"avg_line_length": 37.191489361702125,
"alnum_prop": 0.6435926773455377,
"repo_name": "RanNachmany/rich-client-codelab",
"id": "227c39f4d674924c580795775ed4ec5abcc24343",... |
var express = require('express');
var index = require('./routes/index');
var mongodb = require("mongodb");
var assert = require('assert'); //unit tests
var bodyParser = require("body-parser");
var DBLogics = require("./DBLogics");
var url = require('url');
var qs = require('querystring');
var ObjectID = mongodb.Object... | {
"content_hash": "dafeae7f7ad2387f961e84fcd01eaef9",
"timestamp": "",
"source": "github",
"line_count": 248,
"max_line_length": 114,
"avg_line_length": 25.568548387096776,
"alnum_prop": 0.6049519003311781,
"repo_name": "tomerach/EasyVol-SWE-Project",
"id": "7f9128cfbc3b94e6e7fd36220cc90134a3d2f8be",
... |
package mil.nga.giat.geowave.analytic.distance;
import org.opengis.feature.simple.SimpleFeature;
public class FeatureCentroidOrthodromicDistanceFn extends
FeatureCentroidDistanceFn implements
DistanceFn<SimpleFeature>
{
private static final long serialVersionUID = -9077135292765517738L;
public FeatureCentroid... | {
"content_hash": "c409b6c36a9bf7fcd938025d7dd85b3d",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 68,
"avg_line_length": 23.529411764705884,
"alnum_prop": 0.82,
"repo_name": "mses-bly/geowave",
"id": "c24196953d5981a7fa60f2c10661dd723cb56450",
"size": "400",
"binary":... |
package com.orientechnologies.common.serialization.types;
import com.orientechnologies.common.serialization.OBinaryConverter;
import com.orientechnologies.common.serialization.OBinaryConverterFactory;
/**
* Serializer for {@link Float} type.
*
* @author ibershadskiy <a href="mailto:ibersh20@gmail.com"... | {
"content_hash": "a9007d5d990e1b781bc2b5edacbea387",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 96,
"avg_line_length": 29.484375,
"alnum_prop": 0.7005829358770536,
"repo_name": "redox/OrientDB",
"id": "e379aea96a8e06262f0baef7c5fff614a8c17f6b",
"size": "2540",
"bina... |
var options = {
manager: require("../../../src/managers/master/process-type-manager"),
model: require("dl-models").master.ProcessType,
util: require("../../data-util/master/process-type-data-util"),
validator: require("dl-models").validator.master.processType,
createDuplicate: false,
keys: []
};... | {
"content_hash": "1e76c6d983926e457d7f0e7cd2511c75",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 74,
"avg_line_length": 35.90909090909091,
"alnum_prop": 0.6708860759493671,
"repo_name": "kristika/dl-module",
"id": "66808f8e121c9b5619e8e25f3e0d372948339c9a",
"size": "39... |
describe('Model Generator', function () {
it('Person Model exist', function () {
expect(Test.model.Person).toBeDefined();
});
it('Base Book Model to exist', function() {
expect(Test.model.BaseBook).toBeDefined();
});
it('Book Model to exist', function() {
expect(Test.model.Bo... | {
"content_hash": "6579ac1440b1eaf7ceb9c1ef19c019d8",
"timestamp": "",
"source": "github",
"line_count": 129,
"max_line_length": 73,
"avg_line_length": 40.10852713178294,
"alnum_prop": 0.507537688442211,
"repo_name": "AmsTaFFix/extjs-bundle",
"id": "40312e1d1044ae8c91df313374a5b32b329877df",
"size":... |
package com.amazonaws.services.lexmodelsv2.model;
import java.io.Serializable;
import javax.annotation.Generated;
/**
*
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateResourcePolicyStatement"
* target="_top">AWS API Documentation</a>
*/
@Generated("com.amazonaws:aws-j... | {
"content_hash": "95cc0e69134c718947bcc116198777cf",
"timestamp": "",
"source": "github",
"line_count": 183,
"max_line_length": 150,
"avg_line_length": 36.721311475409834,
"alnum_prop": 0.640625,
"repo_name": "aws/aws-sdk-java",
"id": "b56337a77975bd65280a0aea799fb7382ccc5a94",
"size": "7300",
"b... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.