text stringlengths 2 1.04M | meta dict |
|---|---|
@interface RGAdManager : UIView
+(instancetype)launchViewManger;
//
-(void)showView:(UIView *)view;
@end
| {
"content_hash": "41811dec245c63dc38a5d93defdb8f9d",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 32,
"avg_line_length": 15.285714285714286,
"alnum_prop": 0.7383177570093458,
"repo_name": "ShuailongWang/MyCustom",
"id": "96b42d826f30363e74a6d795a17bae60f9ef22ae",
"size":... |
<?xml version='1.0' encoding='utf-8'?>
<widget id="com.phonegap.helloworld" version="1.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:gap="http://phonegap.com/ns/1.0">
<name>Jeepney Routes</name>
<description>
Jeepney Routes and Fare Assistance
</description>
<author email="support@phonegap.com... | {
"content_hash": "07f79c8fb90f490d8f2c0fdc793da4fa",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 129,
"avg_line_length": 67.95945945945945,
"alnum_prop": 0.6907933982899185,
"repo_name": "ctaw/jeep",
"id": "753aea6b908f81999723a8bc83fd71faa7c0839d",
"size": "5029",
"... |
var StateEventEmitter = require('./state-eventemitter');
//
// Optimized event with memory for Deferreds
//
var DeferredEvent = function() {
this.callbacks = [];
this.args = undefined;
this.disabled = false;
};
DeferredEvent.prototype.addListener = function(listener, scope) {
if (this.fired()) {
li... | {
"content_hash": "612de46b793c1b9dad9d7a4f64b15f8a",
"timestamp": "",
"source": "github",
"line_count": 362,
"max_line_length": 88,
"avg_line_length": 23.640883977900554,
"alnum_prop": 0.5911427903715821,
"repo_name": "tino123/kadohProject",
"id": "fb657d49cbd1bf0fc203c738d50283b882179a7c",
"size":... |
package org.apache.camel.itest.springboot;
import org.apache.camel.itest.springboot.util.ArquillianPackager;
import org.jboss.arquillian.container.test.api.Deployment;
import org.jboss.arquillian.junit.Arquillian;
import org.jboss.shrinkwrap.api.Archive;
import org.junit.Test;
import org.junit.runner.RunWith;
@RunW... | {
"content_hash": "aa5aa42a6e1ce5fd21780dc4988f2504",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 73,
"avg_line_length": 28.727272727272727,
"alnum_prop": 0.7383966244725738,
"repo_name": "jmandawg/camel",
"id": "10324e885e156768b0b7db14cf4d76cdb63b6292",
"size": "1751"... |
package junit.org.rapidpm.microservice.filestore.rest;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import junit.org.rapidpm.microservice.filestore.BaseMicroserviceTest;
import org.jboss.resteasy.test.TestPortProvider;
import org.junit.Assert;
import ... | {
"content_hash": "7809129c950d135682b926170b715fb4",
"timestamp": "",
"source": "github",
"line_count": 116,
"max_line_length": 128,
"avg_line_length": 38.91379310344828,
"alnum_prop": 0.7441293752769162,
"repo_name": "RapidPM/rapidpm-microservice-examples",
"id": "106ed2d54a21bc4de53f97f33fc9aa075dd... |
package org.jetbrains.plugins.groovy.codeInspection.bugs;
import com.intellij.codeInsight.intention.FileModifier;
import com.intellij.codeInspection.ProblemDescriptor;
import com.intellij.ide.fileTemplates.FileTemplate;
import com.intellij.ide.fileTemplates.FileTemplateManager;
import com.intellij.ide.fileTemplates.Ja... | {
"content_hash": "91b5adbedc04654c98519b37418dc8db",
"timestamp": "",
"source": "github",
"line_count": 124,
"max_line_length": 130,
"avg_line_length": 41.556451612903224,
"alnum_prop": 0.7601397244323695,
"repo_name": "mdaniel/intellij-community",
"id": "7f5f7dc716a38280d144ffe4ad46d7047a04572b",
... |
fw_depends erlang
RETCODE=$(fw_exists ${IROOT}/elixir.installed)
[ ! "$RETCODE" == 0 ] || { \
source $IROOT/elixir.installed
return 0; }
ELIXIR_HOME=$IROOT/elixir
VERSION="1.3.3-1"
RELEASE="trusty"
ARCH="all"
fw_get -O http://packages.erlang-solutions.com/debian/pool/elixir_${VERSION}~ubuntu~${RELEASE}_${ARCH}.d... | {
"content_hash": "64d7037ff830f31a0dc01dc5d5a74975",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 106,
"avg_line_length": 32.6,
"alnum_prop": 0.7162576687116564,
"repo_name": "ashawnbandy-te-tfb/FrameworkBenchmarks",
"id": "ce86a22d4d5e679f68d7571dfabcfb57e8808678",
"si... |
''' author @ esilgard '''
#
# Copyright (c) 2014-2016 Fred Hutchinson Cancer Research Center
#
# 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... | {
"content_hash": "183aa19f989f06bb9ab9e677b0874e42",
"timestamp": "",
"source": "github",
"line_count": 153,
"max_line_length": 139,
"avg_line_length": 58.73856209150327,
"alnum_prop": 0.49371314120396126,
"repo_name": "esilgard/argos_nlp",
"id": "9f39bcbe7f51b69a0d0b91bfce11abe29c548c9a",
"size": ... |
<?php
namespace php\gui\event;
use php\gui\UXNode;
/**
* Class UXWebEvent
* @package php\gui\event
*/
class UXWebEvent extends UXEvent
{
/**
* @readonly
* @var mixed
*/
public $data;
} | {
"content_hash": "4c9826920b929bb5fb4d7af5d53809b1",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 32,
"avg_line_length": 12.470588235294118,
"alnum_prop": 0.5943396226415094,
"repo_name": "fxdyx/develnext",
"id": "c0b9f29c65c7893bc1013611c2e639892484eb5e",
"size": "212"... |
package com.audacious_software.pennyworth;
import android.app.job.JobParameters;
import android.app.job.JobService;
import android.content.Intent;
import android.os.Build;
import androidx.annotation.RequiresApi;
@RequiresApi(Build.VERSION_CODES.O)
public class KeepAliveJobService extends JobService {
... | {
"content_hash": "6dd1ec8eb93d3e98e2424938b4c2cb41",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 111,
"avg_line_length": 29.703703703703702,
"alnum_prop": 0.7306733167082294,
"repo_name": "audaciouscode/Pennyworth-Android",
"id": "eb2c8afc6e1a33e7490e7b13e1973f94dbf3ab90... |
package org.mycontroller.standalone.backup.mixins;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
import org.mycontroller.standalone.api.jaxrs.utils.RestUtils;
import org.mycontroller.standalone.db.tables.User;
import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackso... | {
"content_hash": "f5d05daf1ed8cf2ef42b834c317aadf8",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 105,
"avg_line_length": 29.2,
"alnum_prop": 0.7152641878669276,
"repo_name": "mycontroller-org/mycontroller",
"id": "abb4d88937600d47a8bb626957359ffbb1d5d4da",
"size": "170... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="ca" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Bitcoin</source>
<translation>A prop de CryptoLOOT</translation>
... | {
"content_hash": "dd64dbd11a4e4857052a213e299ec062",
"timestamp": "",
"source": "github",
"line_count": 2917,
"max_line_length": 395,
"avg_line_length": 33.183407610558795,
"alnum_prop": 0.5859333030290508,
"repo_name": "CryptoLOOT/loot-master",
"id": "b64cf3dbfa526f7c098f105943f4722994ae8270",
"si... |
package com.link_intersystems.jdbc.test.db.h2;
import com.link_intersystems.jdbc.test.db.setup.DBSetup;
import java.sql.Connection;
import java.sql.SQLException;
import static java.util.Objects.requireNonNull;
/**
* @author René Link {@literal <rene.link@link-intersystems.com>}
*/
public class H2DatabaseCache {
... | {
"content_hash": "3c8bc45813a1de1029647700aed0ffe5",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 98,
"avg_line_length": 30.3768115942029,
"alnum_prop": 0.6979961832061069,
"repo_name": "link-intersystems/lis-commons",
"id": "8bb0d4684b66f0c73e080273214db3b47656d908",
"... |
void DeviceDataManager::method_decl { \
for (InputDeviceEventObserver& observer : observers_) \
observer.observer_call; \
}
namespace ui {
namespace {
bool InputDeviceEquals(const ui::InputDevice& a, const ui::InputDevice& b) {
return a.id == b.id && a.en... | {
"content_hash": "d7e7895992e81c7b59bfdf2b7c3069c2",
"timestamp": "",
"source": "github",
"line_count": 293,
"max_line_length": 80,
"avg_line_length": 31.12627986348123,
"alnum_prop": 0.7043859649122807,
"repo_name": "ric2b/Vivaldi-browser",
"id": "f2b02e8a9f6b6908343d544fa2384ab85c7dea11",
"size":... |
// ***********************************************************************
// Copyright (c) 2012 Charlie Poole
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, incl... | {
"content_hash": "c5b8f84ebe9d4e6f30e51a1a85f619cc",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 104,
"avg_line_length": 43.77777777777778,
"alnum_prop": 0.6264805414551607,
"repo_name": "jnm2/nunit",
"id": "7798af366702e0b4ba16bd674205569923ee4ae4",
"size": "2366",
... |
#include <CQGnuPlotDataModel.h>
CQGnuPlotDataModel::
CQGnuPlotDataModel(const CGnuPlotFile &file) :
file_(file)
{
init();
}
CQGnuPlotDataModel::
~CQGnuPlotDataModel()
{
}
void
CQGnuPlotDataModel::
setFile(const CGnuPlotFile &file)
{
file_ = file;
init();
}
void
CQGnuPlotDataModel::
init()
{
rows1_.clear()... | {
"content_hash": "d28777c3b0f7599925b5108d4139f235",
"timestamp": "",
"source": "github",
"line_count": 336,
"max_line_length": 94,
"avg_line_length": 21.014880952380953,
"alnum_prop": 0.5708823112873531,
"repo_name": "colinw7/CQGnuPlot",
"id": "bf2f4397e259d1a8fb1a258a1a70115884bfbd08",
"size": "7... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Minim : : Waves : : randomNHarms</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="stylesheet.css" rel="stylesheet" type="text/css">
</head>
<body>
<cen... | {
"content_hash": "b91bde57990863826211b33d8ecbeaa2",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 186,
"avg_line_length": 29.73134328358209,
"alnum_prop": 0.6460843373493976,
"repo_name": "jooray/OpenBCI_Processing_NFB",
"id": "c171051c191fe139cb7a6677fdd33a688bdaad60",
... |
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon"));
var _jsxRuntime = require("react/jsx-runtime")... | {
"content_hash": "3715901f9a2ecf28d45f65d4648ef03f",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 87,
"avg_line_length": 27.38888888888889,
"alnum_prop": 0.7079107505070994,
"repo_name": "oliviertassinari/material-ui",
"id": "15afb9ec7aefe36656ca7393933f4c209e25bd33",
"... |
#region Licence
#endregion
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading;
namespace WmcSoft.Diagnostics
{
/// <summary>
/// Represents a Named counter.
/// </summary>
[DebuggerDisplay("{ToString(),nq}")]
public sealed class Counter : IComparab... | {
"content_hash": "5cf27f8fe2375aa787610943f33d3d90",
"timestamp": "",
"source": "github",
"line_count": 155,
"max_line_length": 112,
"avg_line_length": 30.329032258064515,
"alnum_prop": 0.5422250584981919,
"repo_name": "vjacquet/WmcSoft",
"id": "e7c6e30a53ede226b02125886db6e5a7f80d62bc",
"size": "5... |
package org.apache.ignite.ml.math.impls.storage.matrix;
import java.io.IOException;
import java.io.ObjectInput;
import java.io.ObjectOutput;
import org.apache.ignite.ml.math.MatrixStorage;
import org.apache.ignite.ml.math.exceptions.UnsupportedOperationException;
import org.apache.ignite.ml.math.functions.IntIntDoub... | {
"content_hash": "1bb53a4ecab1b4c5b932ee1f2853d5df",
"timestamp": "",
"source": "github",
"line_count": 160,
"max_line_length": 99,
"avg_line_length": 27.3375,
"alnum_prop": 0.6044810242341107,
"repo_name": "rfqu/ignite",
"id": "acd7c29dd8e7b25543764e9f00de24deb57868fa",
"size": "5176",
"binary":... |
/* 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
* di... | {
"content_hash": "844cffc6e9df13ce0faa8121f2667e52",
"timestamp": "",
"source": "github",
"line_count": 107,
"max_line_length": 148,
"avg_line_length": 36.504672897196265,
"alnum_prop": 0.700204813108039,
"repo_name": "stefan-ziel/Activiti",
"id": "e6eb6fcd296b9afdd1c9e0d476f76b50b9d195e0",
"size":... |
package org.batfish.representation;
import java.util.Set;
public class PolicyMapMatchAsPathAccessListLine extends PolicyMapMatchLine {
private static final long serialVersionUID = 1L;
private Set<AsPathAccessList> _lists;
public PolicyMapMatchAsPathAccessListLine(Set<AsPathAccessList> lists) {
_list... | {
"content_hash": "cc1f1dd6d63e41d28fd0b46e789c2e33",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 76,
"avg_line_length": 21.833333333333332,
"alnum_prop": 0.7366412213740458,
"repo_name": "Alexia23/batfish",
"id": "8588db7c77ce19a1142b97b57d094d7a17115e0d",
"size": "524... |
{% extends "_layout.html" %}
{% from "security/_macros.html" import render_field_with_errors, render_field %}
{% block title %} - Login{% endblock %}
{% block customcss %}
<link href="/static/css/forms.css" rel="stylesheet">
{% endblock %}
{% block custombodytags %}
id="login"
{% endblock %}
{% block content %}
<!-- Ma... | {
"content_hash": "fc7b7632145b0b0b6e1ddf4eac71adc7",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 131,
"avg_line_length": 41.84375,
"alnum_prop": 0.6564600448095593,
"repo_name": "ebeckm/Flask_bootstrap_starterkit",
"id": "d19cdb99994e5a738efe15ae6c222f1c81b0ab27",
"siz... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Common.Converters
{
public static class StringConverter
{
public static T ConvertString<T>(this string input)
{
var converter =... | {
"content_hash": "3dd7dd8c2fc7ebbc3f66310cb8dfe698",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 67,
"avg_line_length": 25.5,
"alnum_prop": 0.6256684491978609,
"repo_name": "shoter/C-Common",
"id": "b41f0806ea23fdaf2edaa3115a91eb75df8d6a7d",
"size": "563",
"binary": ... |
package com.intellij.util.containers;
import com.intellij.util.DeprecatedMethodException;
import org.jetbrains.annotations.NotNull;
import java.lang.ref.ReferenceQueue;
import java.lang.ref.WeakReference;
import java.util.Map;
/**
* @deprecated use {@link ContainerUtil#createWeakKeyWeakValueMap()} instead
*/
@Dep... | {
"content_hash": "76b1d334ba43b737fb5f532ca6a2051c",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 105,
"avg_line_length": 31.382978723404257,
"alnum_prop": 0.6813559322033899,
"repo_name": "sabi0/intellij-community",
"id": "338dd5a6198b08304de20197f1ef970b60e7ad76",
"si... |
package org.hoteia.qalingo.core.pojo.cart;
import java.math.BigDecimal;
import org.hoteia.qalingo.core.pojo.CurrencyReferentialPojo;
public class CartItemPricePojo {
private BigDecimal catalogPrice;
private CurrencyReferentialPojo currency;
protected BigDecimal salePrice;
protected BigDecimal moneySaving... | {
"content_hash": "be3d51c6f9c0752c827db6c7c4f24a0c",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 88,
"avg_line_length": 23.949152542372882,
"alnum_prop": 0.7246992215145082,
"repo_name": "eric-stanley/qalingo-engine",
"id": "bc8b255a4cb72f9d16a957cbe6a27bf9a21a0290",
"... |
module Tr8n
class BaseController < ApplicationController
layout Tr8n::Config.site_info[:tr8n_layout]
if Tr8n::Config.tr8n_helpers.any?
helper *Tr8n::Config.tr8n_helpers
end
if Tr8n::Config.skip_before_filters.any?
skip_before_filter *Tr8n::Config.skip_before_filters
end
if Tr8n... | {
"content_hash": "cc9a50e71f9bc932a15e4958f6d90409",
"timestamp": "",
"source": "github",
"line_count": 164,
"max_line_length": 140,
"avg_line_length": 32.11585365853659,
"alnum_prop": 0.6637554585152838,
"repo_name": "geni/tr8n",
"id": "e3e8f233fa1e974c085314090a390cbb08d842f9",
"size": "6392",
... |
namespace metrics {
TEST(MachineIdProviderTest, GetId) {
content::TestBrowserThreadBundle thread_bundle;
scoped_refptr<MachineIdProvider> provider(
MachineIdProvider::CreateInstance());
std::string id1 = provider->GetMachineId();
EXPECT_NE(std::string(), id1);
std::string id2 = provider->GetMachineI... | {
"content_hash": "a2c64afbf03212521496d9f65b87e83f",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 49,
"avg_line_length": 23.4375,
"alnum_prop": 0.72,
"repo_name": "patrickm/chromium.src",
"id": "93a091db19ef35969888032f441f1abe9ac522d1",
"size": "743",
"binary": false... |
namespace YAML
{
typedef std::recursive_mutex NodeMutex;
typedef std::lock_guard<NodeMutex> NodeLock;
class Node
{
public:
friend class NodeBuilder;
friend class NodeEvents;
friend struct detail::iterator_value;
friend class detail::node_data;
template<typename> friend class detail::iterator_base;... | {
"content_hash": "4d51a07c17e7a2a7309b0b5db1ff46dc",
"timestamp": "",
"source": "github",
"line_count": 107,
"max_line_length": 74,
"avg_line_length": 28.065420560747665,
"alnum_prop": 0.6813186813186813,
"repo_name": "wwoods/job_stream",
"id": "9d24aae184f4a93669c8f45c165b18f028d3bf8f",
"size": "3... |
Numly
=====
A Node.js package for assisting geek numerologists like me.
| {
"content_hash": "1f7dd2a76e5403c38e135e1a4d72c8ef",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 59,
"avg_line_length": 18.25,
"alnum_prop": 0.7397260273972602,
"repo_name": "joelalejandro/Numly",
"id": "013f76a43eb494f543cf0b2b7033f23b0394e349",
"size": "73",
"binary... |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">AMBI Lactation Consultant</string>
<string name="button_register">Registration</string>
<string name="button_submit">Submit</string>
<string name="firstName">First Name</string>
<string name="lastName">Last Name</string>
... | {
"content_hash": "9bae4f8511c6e67f7b940fc16f4317cd",
"timestamp": "",
"source": "github",
"line_count": 307,
"max_line_length": 477,
"avg_line_length": 35.54071661237785,
"alnum_prop": 0.6241407753643112,
"repo_name": "ambi-disc/lactation-android",
"id": "36c8d8f27e166011bbae9a7734e4a8843f1dedb3",
... |
using NLog.Internal;
namespace NLog
{
#if NET4_0 || NET4_5
using Config;
using System;
using System.Collections.Generic;
using System.Runtime.Remoting.Messaging;
/// <summary>
/// Async version of Mapped Diagnostics Context - a logical context structure that keeps a dictionary
/// of strin... | {
"content_hash": "1e82392a13beef3cbd7c4e0fca6b5eb8",
"timestamp": "",
"source": "github",
"line_count": 154,
"max_line_length": 297,
"avg_line_length": 41.96103896103896,
"alnum_prop": 0.6027545651501083,
"repo_name": "tetrodoxin/NLog",
"id": "4a8ae572057dbbbcd1abd4cd391fccb191cd0849",
"size": "812... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>statsmodels.sandbox.distributions.transformed.Trans... | {
"content_hash": "e4242fe85b804819b779e55ba651c985",
"timestamp": "",
"source": "github",
"line_count": 154,
"max_line_length": 334,
"avg_line_length": 39.22077922077922,
"alnum_prop": 0.640728476821192,
"repo_name": "statsmodels/statsmodels.github.io",
"id": "d1f4e14a9ed7cacd2437f2fc8c5699de6683fc72... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>pi-calc: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css... | {
"content_hash": "cba01beedeaf2728a51cdf5c8fc3ac22",
"timestamp": "",
"source": "github",
"line_count": 176,
"max_line_length": 159,
"avg_line_length": 41.10795454545455,
"alnum_prop": 0.5503800967519005,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "6736cfa622df7430e407f139da1e2348484a652d",
... |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<div id="message"></div>
<div><a href="index.html">Go Back To Home Page</a></div>
<script src="jquery-2.1.0.min.js"></script>
<script src="oidc-token-manager.js"></script>
<script>
var conf... | {
"content_hash": "1eae99b0cb3bacbd0a0a0ffc35f165ae",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 86,
"avg_line_length": 33.2,
"alnum_prop": 0.5672690763052208,
"repo_name": "IdentityModel/oidc-token-manager",
"id": "a2cd8946e55dbeb2494a0dbb07a3d197d76e3cff",
"size": "9... |
package org.kuali.rice.rest.api.kim;
import org.kuali.rice.kim.api.group.Group;
import org.kuali.rice.kim.api.group.GroupMember;
import org.springframework.hateoas.Link;
import org.springframework.hateoas.mvc.ControllerLinkBuilder;
import org.springframework.hateoas.mvc.ResourceAssemblerSupport;
/**
* Assembler for ... | {
"content_hash": "e81e8503cbd65e576cb0cf169f38e9e4",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 175,
"avg_line_length": 38.51282051282051,
"alnum_prop": 0.7523302263648469,
"repo_name": "kuali/rice-rest",
"id": "4536f471f7e171083b4416a30c3269e94f7e00e2",
"size": "1502... |
using System;
using System.IO;
using System.Runtime.Serialization.Formatters;
using System.Text;
using System.Xml;
using System.Xml.Serialization;
using Mictlanix.CFDv32;
namespace Mictlanix.Diverza.Client.Internals
{
[Serializable]
[XmlType(Namespace="http://schemas.xmlsoap.org/soap/envelope/")]
[XmlRoot("Envelope... | {
"content_hash": "c9566aa699142a7123d57d6ffceceed4",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 106,
"avg_line_length": 25.542168674698797,
"alnum_prop": 0.689622641509434,
"repo_name": "mictlanix/diverza-client",
"id": "f488413273fc3587426c271e5b0ade2d558dcdfc",
"siz... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... | {
"content_hash": "5402db49648fd66b7088fcf90c77f058",
"timestamp": "",
"source": "github",
"line_count": 106,
"max_line_length": 241,
"avg_line_length": 51.056603773584904,
"alnum_prop": 0.6518847006651884,
"repo_name": "semyon2105/simpleHTML",
"id": "71c26a2d71a93907bc4f2f208b94d9b5ca0974a4",
"size... |
require('should');
var utils = require(process.cwd()+'/test/utils/test-commons');
var Subject = require('../../index.js');
var db = Subject(utils.testDirectory, utils.options);
describe('PUT', function() {
before(function(){
return db.open();
});
after(function(done){
utils.clear(done);
... | {
"content_hash": "924c1f9df137922e50b04c5a31464110",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 62,
"avg_line_length": 24.2,
"alnum_prop": 0.5206611570247934,
"repo_name": "gutobortolozzo/node-lsm",
"id": "32a819dcfafd7bc9062a81dda560c4fb723886a4",
"size": "726",
"b... |
A Sketch Plugin to align Text Layers by their baselines.
## Installation
[Download](https://github.com/abynim/BaseAlign/archive/master.zip) and extract the contents of this repository. Then double-click the BaseAlign.sketchplugin bundle to install the plugin. This will only work if you are using Sketch 3.3 or later.... | {
"content_hash": "3bd1b89a6bba1c7e4a7a3e8ec1aee72a",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 244,
"avg_line_length": 42.888888888888886,
"alnum_prop": 0.7474093264248705,
"repo_name": "abynim/BaseAlign",
"id": "66282100881c639862876f1b250b7fdcf7cdbaf1",
"size": "78... |
package mineserver.command;
import java.util.Arrays;
import java.util.List;
import mineserver.Client;
import mineserver.PlayerClient;
import mineserver.Server;
public class WhoCommand extends AbstractCommand {
public WhoCommand(Server server) {
super(server);
}
@Override
public String getNa... | {
"content_hash": "f41454480567e74017010354fcde4e7e",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 68,
"avg_line_length": 23.395833333333332,
"alnum_prop": 0.5592163846838825,
"repo_name": "allenliu/MineServer",
"id": "12c6acf13210c2d243abc15c2f839c6bbf6e26b0",
"size": "... |
<?php
namespace backend\models;
use Yii;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use backend\models\RegionKharkivAdmin;
/**
* RegionKharkivAdminSearch represents the model behind the search form about `backend\models\RegionKharkivAdmin`.
*/
class RegionKharkivAdminSearch extends RegionKharkivAdmin
{
... | {
"content_hash": "0b759e5404ee143cc6dd50d53ef21935",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 114,
"avg_line_length": 23.115942028985508,
"alnum_prop": 0.5786833855799373,
"repo_name": "sksergey/metragYiiBackend",
"id": "391a0703b02b47e0d6e0e7600503568c206beb6e",
"s... |
<Configuration>
<Appenders>
<File name="FILE" fileName="ode.log" append="false">
<PatternLayout pattern="%d{ABSOLUTE} %-5p [%c{1}] %m%n"/>
</File>
<Console name="STDOUT" target="SYSTEM_OUT">
<PatternLayout pattern="%d{ABSOLUTE} %-5p [%c{1}] %m%n"/>
</Console>
... | {
"content_hash": "928b0bac67f9247570fe6c1ccc260493",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 76,
"avg_line_length": 33.729729729729726,
"alnum_prop": 0.5328525641025641,
"repo_name": "apache/ode",
"id": "0ebc603d25f610854a6c3a339e9dd2b03f8ddce5",
"size": "1248",
... |
# Server with live-reloading and CSS injection
With [BrowserSync](http://browsersync.io) and gulp, you can easily create a development server that is accessible to any device on the same WiFi network. BrowserSync also has live-reload built in, so there's nothing else to configure.
First install the module:
```sh
$ n... | {
"content_hash": "e79adfd647661ebb5bd70b8a75737c54",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 234,
"avg_line_length": 25.04054054054054,
"alnum_prop": 0.6869940636805181,
"repo_name": "SimenB/gulp",
"id": "ca805bdae18df61013a3c702d7a34b66ec1cb693",
"size": "1853",
... |
'use strict';
var path = require('path'),
escape = require('escape-regexp');
module.exports = function(grunt) {
// Please see the Grunt documentation for more information regarding task
// creation: http://gruntjs.com/creating-tasks
grunt.registerMultiTask('marking_merge', 'Grunt task to merge files by ... | {
"content_hash": "b4791516b8dbb9b1d6e2fe8567f56448",
"timestamp": "",
"source": "github",
"line_count": 95,
"max_line_length": 95,
"avg_line_length": 35.2,
"alnum_prop": 0.5080741626794258,
"repo_name": "stuarqi/grunt-marking-merge",
"id": "96a10cbd000eb7983c7db155d1dce88e3a3ebbbf",
"size": "3491",... |
import Phaser from 'phaser';
import WebFont from 'webfontloader';
import { BG_COLOR } from '../config';
class Boot extends Phaser.State {
init () {
this.stage.backgroundColor = BG_COLOR;
this.fontsReady = false;
}
preload () {
this.scale.scaleMode = Phaser.ScaleManager.SHOW_ALL;
this.scale.wind... | {
"content_hash": "d98e9f5425e4d1bf7dbbc7102205a713",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 99,
"avg_line_length": 25.641025641025642,
"alnum_prop": 0.618,
"repo_name": "p0lax/phaser",
"id": "1412d4f314840ef107fffe0b191dae4131f605c5",
"size": "1000",
"binary": f... |
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding field 'UserKey.last_used'
db.add_column('sshkey_userkey', 'last_used', self.gf('django.db.models.fields.DateTimeFie... | {
"content_hash": "67e77cd43d4c79813dc294296cf5326e",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 182,
"avg_line_length": 66.7,
"alnum_prop": 0.5564360676804455,
"repo_name": "ClemsonSoCUnix/django-sshkey",
"id": "68903ce03b8cba91b56da051af5b845b82528643",
"size": "4687... |
from __future__ import absolute_import
import unittest
from unittest import skipIf
import numpy as np
try:
import pandas as pd
is_pandas = True
except ImportError as e:
is_pandas = False
class TestBokehJSONEncoder(unittest.TestCase):
def setUp(self):
from bokeh._json_encoder import BokehJS... | {
"content_hash": "a9bad01f8cd391a7b36fd7fa37953016",
"timestamp": "",
"source": "github",
"line_count": 116,
"max_line_length": 84,
"avg_line_length": 34.23275862068966,
"alnum_prop": 0.5817174515235457,
"repo_name": "gpfreitas/bokeh",
"id": "a351bb8baa8ce60d634978fe4c3b2b23076cfe48",
"size": "3971... |
package main
import (
"fmt"
)
// p is a shortcut for a call to fmt.Printf that implicitly starts
// and ends its message with a newline.
func p(format string, stuff ...interface{}) {
fmt.Printf("\n "+format+"\n", stuff...)
}
// q calls are quietly ignored. They allow conversion from p()
// calls to be swapped quic... | {
"content_hash": "025b67677fc483753fd9fd9077b571e7",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 66,
"avg_line_length": 25.8,
"alnum_prop": 0.6847545219638242,
"repo_name": "glycerine/gnatsd",
"id": "daf8aa818071c2a8183c98eabeda2441a61940d8",
"size": "387",
"binary":... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "dbaf2041b25a15732d9ed7f41d0ba8e7",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "456ec618528cb7edce88fd4a9acd4a0218eddf5f",
"size": "192... |
@interface ViewController : UIViewController
@end
| {
"content_hash": "bade67f6734aa64089974d18268662bb",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 44,
"avg_line_length": 10.6,
"alnum_prop": 0.7924528301886793,
"repo_name": "OnePiece-D/ScrollerAndBtnSelectedView",
"id": "c2f1ddde2d7c2b5ab3b21940eb227b5685a38313",
"size"... |
module I18nActionMailer
def self.included(base)
base.send :include, I18nActionMailer::InstanceMethods
base.send :alias_method_chain, :render_message, :i18n
base.helper_method :locale, :l, :localize
base.helper do
def translate(key, options = {})
I18n.translate(scope_key_by_partial(key),... | {
"content_hash": "52ac519edc24353964743035bef50e9b",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 118,
"avg_line_length": 27.584615384615386,
"alnum_prop": 0.581148912437256,
"repo_name": "mataki/i18n_action_mailer",
"id": "2020a052dc2ecbf7e6edb1104dbe9aa8ad56a4dc",
"si... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>paco: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" r... | {
"content_hash": "a15c9d02fe3284df86e84d3ac2f07ca0",
"timestamp": "",
"source": "github",
"line_count": 172,
"max_line_length": 159,
"avg_line_length": 41.56395348837209,
"alnum_prop": 0.5411945726675059,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "55c5aa604dd5547b3059692bf45b6ef425e9bbab",
... |
<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>qgis._core.QgsLinearlyInterpolatedDiagramRenderer</title>
<link rel="stylesheet" href="epyd... | {
"content_hash": "5922d2d39ac1edcf702ee2a517f4d2d2",
"timestamp": "",
"source": "github",
"line_count": 869,
"max_line_length": 239,
"avg_line_length": 33.361334867663984,
"alnum_prop": 0.557345383049912,
"repo_name": "SPlanzer/QGIS-AIMS-Plugin",
"id": "13cfca05e49b9aabfe70c68267c2ef956317ad75",
"s... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Exe... | {
"content_hash": "5bf988dd28f45564dfec2bc20eda00a1",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 84,
"avg_line_length": 39.333333333333336,
"alnum_prop": 0.7492937853107344,
"repo_name": "quakeN/ProgrammingFundamentals_Sept2017",
"id": "a79b9608ff01b4665bf8035718a4e75976... |
package main
import (
"bufio"
"encoding/json"
"flag"
"fmt"
"io"
"log"
"os"
"os/exec"
"runtime"
"strconv"
"syscall"
)
var STARTING_UID = "1000"
var STARTING_GID = "1000"
var MAX_UID = "1004"
//The path the next binary should be invoked from
var RUNNER_PATH = "/usr/bin/"
//... | {
"content_hash": "db0bc2842c07a4d92d4684d8eba2c38e",
"timestamp": "",
"source": "github",
"line_count": 303,
"max_line_length": 99,
"avg_line_length": 35.51815181518152,
"alnum_prop": 0.5347519048503996,
"repo_name": "danielrh/repeatexec",
"id": "37a5d9e71d1173048648995f3a8524b576b844a2",
"size": "... |
<?php
namespace Symfony\Component\Notifier\Transport;
use Symfony\Component\Notifier\Exception\TransportExceptionInterface;
use Symfony\Component\Notifier\Message\MessageInterface;
use Symfony\Component\Notifier\Message\SentMessage;
/**
* @author Fabien Potencier <fabien@symfony.com>
*
* @experimental in 5.1
*... | {
"content_hash": "3de26bf4eed0a0c379bc57ad0dcd3340",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 69,
"avg_line_length": 22.615384615384617,
"alnum_prop": 0.7568027210884354,
"repo_name": "jvasseur/symfony",
"id": "71cf62169746e5dff7d1946dcbffa8a47273a458",
"size": "817... |
<?php
namespace Album\Controller;
use Zend\Mvc\Controller\AbstractActionController;
use Zend\View\Model\ViewModel;
class AlbumController extends AbstractActionController
{
protected $albumTable;
public function getAlbumTable()
{
if (!$this->albumTable) {
$sm = $this->ge... | {
"content_hash": "6f8724906602d4cb8dece48b69c80ebd",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 71,
"avg_line_length": 23.555555555555557,
"alnum_prop": 0.5817610062893082,
"repo_name": "naveennimbal/zf2tuts",
"id": "5b5ad77ed5520abb4fcd6ef5f9109cb9aaa28105",
"size": ... |
// Filename: BBTimer.h
// Author: Gael Huber
#ifndef __BBTIMER_H__
#define __BBTIMER_H__
#include "BBPlatform.h"
#include <sys/time.h>
#include <iostream>
namespace BlockBlock
{
/** \addtogroup Core
* @{
*/
/**
* Defines the number of microseconds per second
*/
#define MICROSECONDS_PER_SECOND 100000... | {
"content_hash": "0ed8087d492fd5bcc9dc9ea282a7ab0d",
"timestamp": "",
"source": "github",
"line_count": 116,
"max_line_length": 102,
"avg_line_length": 21.689655172413794,
"alnum_prop": 0.435214626391097,
"repo_name": "leag37/BlockBlock",
"id": "dc733e1caf57554cb3a758f87651b92fff9558bc",
"size": "2... |
<?php
/**
* DO NOT EDIT THIS FILE!
*
* This file was automatically generated from external sources.
*
* Any manual change here will be lost the next time the SDK
* is updated. You've been warned!
*/
namespace DTS\eBaySDK\Test\MerchantData\Enums;
use DTS\eBaySDK\MerchantData\Enums\PaymentTransactionStatusCodeTy... | {
"content_hash": "18db0d5212b37d772990a074de61986b",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 112,
"avg_line_length": 24.857142857142858,
"alnum_prop": 0.7270114942528736,
"repo_name": "davidtsadler/ebay-sdk-php",
"id": "1679c152debf02ca5b3d30edef129c8722bf5d85",
"s... |
import Object3D from './Object3D';
import * as Three from 'three';
class Tile extends Object3D {
constructor(width, height, plan, ratio, texture, meta) {
super(width, height, plan, ratio);
this.texture = texture;
this.meta = meta;
}
mount(thick) {
thick = thick || 0;
let boxGeometry = null;
... | {
"content_hash": "75721b1886a43f61a8b10bbf3c8f7e6f",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 105,
"avg_line_length": 28.511627906976745,
"alnum_prop": 0.632952691680261,
"repo_name": "huytbt/react-3d-room-scence",
"id": "9afa7f796bd4a56bf0541f061b15e374f00e3ed5",
"... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE78_OS_Command_Injection__char_listen_socket_execl_81a.cpp
Label Definition File: CWE78_OS_Command_Injection.strings.label.xml
Template File: sources-sink-81a.tmpl.cpp
*/
/*
* @description
* CWE: 78 OS Command Injection
* BadSource: listen_socket Read data usin... | {
"content_hash": "e08f8d155f21ecaa14a361b21b41940e",
"timestamp": "",
"source": "github",
"line_count": 186,
"max_line_length": 151,
"avg_line_length": 28.655913978494624,
"alnum_prop": 0.5697936210131332,
"repo_name": "JianpingZeng/xcc",
"id": "c701d808d060f988ecdd425866b03c4cb51c1659",
"size": "5... |
package com.braintreepayments.api;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.test.AndroidTestCase;
import com.braintreepayments.api.exceptions.BraintreeException;
import com.braintreepayments.api.exceptions.ConfigurationExcepti... | {
"content_hash": "29150c439a527df59818d92fde03eea0",
"timestamp": "",
"source": "github",
"line_count": 194,
"max_line_length": 108,
"avg_line_length": 46.01546391752577,
"alnum_prop": 0.7309286434412456,
"repo_name": "marviktintor/braintree_android",
"id": "01e7451ae9590948237e320e3756fb366a85d332",... |
//
// AppDelegate.m
// JoinShow
//
// Created by Heaven on 13-6-26.
// Copyright (c) 2013年 Heaven. All rights reserved.
//
#import "AppDelegate.h"
#import "ConfigManager.h"
#import "XYApplicationWorkspace.h"
@implementation AppDelegate
- (void)dealloc
{
}
- (BOOL)application:(UIApplication *)application didFini... | {
"content_hash": "ef55c49224a944ebfb3d01061e204563",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 281,
"avg_line_length": 40.35,
"alnum_prop": 0.7662123089632383,
"repo_name": "HelloZhu/XYQuick",
"id": "aec6558bc49eb4aff52188b32f236137e3829de7",
"size": "2423",
"binar... |
package com.google.android.apps.forscience.whistlepunk.devicemanager;
import static org.junit.Assert.assertTrue;
/** Little utility class for when you want to be sure a callback was called. */
public class TestFlag {
private boolean set = false;
private String title;
public TestFlag(String title) {
this.t... | {
"content_hash": "0e528951b05f41e5134dd3218b63557f",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 79,
"avg_line_length": 20.181818181818183,
"alnum_prop": 0.6981981981981982,
"repo_name": "googlearchive/science-journal",
"id": "37c5461be2900f0817d91dd515edb06b6c16e80a",
... |
package koala.dynamicjava.tree;
import java.util.List;
import koala.dynamicjava.tree.visitor.Visitor;
/**
* This class represents the array allocation nodes of the syntax tree
*
* @author Stephane Hillion
* @version 1.0 - 1999/04/25
*/
public class ArrayAllocation extends Allocation {
/*... | {
"content_hash": "7b65a8ed9c1c2c11e54287fa625a82c5",
"timestamp": "",
"source": "github",
"line_count": 136,
"max_line_length": 162,
"avg_line_length": 25.88235294117647,
"alnum_prop": 0.5326704545454546,
"repo_name": "moegyver/mJeliot",
"id": "8c82f12ffb96239f0f35741ce509e2d5d503c55d",
"size": "48... |
//---------------------------------------------------------------------------
// E L E N A P r o j e c t: ELENA Compiler
//
// This header contains ELENA Source Reader class declaration.
//
// (C)2021-2022, by Aleksey Rakov
//---------------------------------------------... | {
"content_hash": "5c91d1b9174bf3b5fd0f902c22baf339",
"timestamp": "",
"source": "github",
"line_count": 88,
"max_line_length": 97,
"avg_line_length": 26.5,
"alnum_prop": 0.5030017152658662,
"repo_name": "ELENA-LANG/elena-lang",
"id": "059aae71607867032de01162cc8ce23bf437e98f",
"size": "2332",
"bi... |
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>Info Center – License</title>
<style type="text/css">
@import "main.css";
</style>
<style type="text/css">
@import "tabs.css";
</style>
<script type="text/javascript" src="niftycube.js"></script>
<script type="text... | {
"content_hash": "498be1c6b4d4eae937e5a0952f078e41",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 461,
"avg_line_length": 41.3469387755102,
"alnum_prop": 0.7058242843040474,
"repo_name": "mesadynamics/hypercube-all",
"id": "3fb215a81147fa27ded7f0181611e6b815c66f25",
"si... |
/*! \file CommonSMC.hpp
\brief General interface to define a sliding mode actuator
*/
#ifndef CommonSMC_H
#define CommonSMC_H
#include "Actuator.hpp"
#include "SiconosAlgebraTypeDef.hpp"
#include "SiconosFwd.hpp"
#include <relay_cst.h>
class CommonSMC : public Actuator
{
private:
/** serialization hooks */
... | {
"content_hash": "9ce08eb905cc16aa6cbe1410b5ecdfe5",
"timestamp": "",
"source": "github",
"line_count": 275,
"max_line_length": 133,
"avg_line_length": 27.829090909090908,
"alnum_prop": 0.6806481118515615,
"repo_name": "fperignon/siconos",
"id": "4fb805655c7d6974a15096b3bed1059fe5e1a9e4",
"size": "... |
import numpy as np
from jax.util import safe_map, safe_zip
from jax.core import Primitive
from jax.interpreters import ad, xla, batching, numpy_eval
from jax.lax import dynamic_update_slice_p
map = safe_map
zip = safe_zip
inplace_dynamic_update_slice_p = Primitive('inplace_dynamic_update_slice')
inplace_dynamic_updat... | {
"content_hash": "bd303d698db87f71c350bb313e61d1b6",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 86,
"avg_line_length": 41.76923076923077,
"alnum_prop": 0.7707182320441989,
"repo_name": "j-towns/fastar",
"id": "f10ebf7713d70345c61827454dab1e807016ca19",
"size": "1086",... |
package com.ksa.shiro.freemarker;
/**
* <p>Equivalent to {@link org.apache.shiro.web.tags.LacksRoleTag}</p>
*/
public class LacksRoleTag extends RoleTag {
protected boolean showTagBody(String roleName) {
boolean hasRole = getSubject() != null && getSubject().hasRole(roleName);
return !hasRole;
... | {
"content_hash": "271ca1af87d65b545606c7f7ba7e48ae",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 81,
"avg_line_length": 29.636363636363637,
"alnum_prop": 0.6840490797546013,
"repo_name": "xsocket/ksa",
"id": "990b17021e20055ad0c93bda8017a2afcbd378ab",
"size": "326",
... |
package com.bladecoder.ink.runtime;
class DivertTargetValue extends Value<Path> {
public DivertTargetValue() {
super(null);
}
public DivertTargetValue(Path targetPath) {
super(targetPath);
}
@Override
public AbstractValue cast(ValueType newType) throws Exception {
if (newType == getValueType... | {
"content_hash": "53b31f8af442f7f101b51b35c512c648",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 81,
"avg_line_length": 20.186046511627907,
"alnum_prop": 0.6866359447004609,
"repo_name": "bladecoder/blade-ink",
"id": "4cdedd43def4c3a36bfa34cd9dbda093a7e9add9",
"size": ... |
<x-meta id="paper-input" label="Quantum Paper Input" group="Paper">
<template>
<paper-input label="Type something..."></paper-input>
</template>
<template id="imports">
<link rel="import" href="paper-input.html">
</template>
</x-meta>
| {
"content_hash": "fdb14c7a5660da741df523e75f025b3a",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 67,
"avg_line_length": 23.454545454545453,
"alnum_prop": 0.6356589147286822,
"repo_name": "stevelacy/polymer-pen",
"id": "e299962d3eb24e61c6d25fb09e0ebcf53b14190e",
"size":... |
package org.apache.flink.client.cli;
import org.apache.flink.api.common.ExecutionConfig;
import org.apache.flink.api.common.InvalidProgramException;
import org.apache.flink.api.common.JobExecutionResult;
import org.apache.flink.api.common.JobID;
import org.apache.flink.api.common.JobSubmissionResult;
import org.apac... | {
"content_hash": "72f6a865eeaa73cacd62b214533b4f92",
"timestamp": "",
"source": "github",
"line_count": 1167,
"max_line_length": 224,
"avg_line_length": 34.51413881748072,
"alnum_prop": 0.6902775708823675,
"repo_name": "mbode/flink",
"id": "85892279c3fe1955c98089708a2180e7f632581e",
"size": "41083"... |
namespace Microsoft.DotNet.Cli.Build
{
public class Version
{
public virtual int Major { get; set; }
public virtual int Minor { get; set; }
public virtual int Patch { get; set; }
public virtual int CommitCount { get; set; }
public virtual string CommitCountString => Commi... | {
"content_hash": "05720a331e7a8749d1bed3a53f2ff09c",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 157,
"avg_line_length": 42.108108108108105,
"alnum_prop": 0.5571245186136072,
"repo_name": "blackdwarf/cli",
"id": "cc2ec209b9265c61b608a3a98d522477dc2e401e",
"size": "1733... |
module Stupidedi
module Versions
module ThirtyFifty
s = Schema
r = ElementReqs
FunctionalGroupDef = Class.new(Schema::FunctionalGroupDef) do
# @return [FunctionalGroupVal]
def empty
Values::FunctionalGroupVal.new(self, [])
end
# @return [Module]
... | {
"content_hash": "964501c4b0fac6c52fc36da0b4342f3e",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 76,
"avg_line_length": 24.73913043478261,
"alnum_prop": 0.5940246045694201,
"repo_name": "irobayna/stupidedi",
"id": "2ec999ef7f3bcf47ded8bcb5bea719b9221d78cb",
"size": "59... |
/* $NetBSD: pmap.h,v 1.26 1999/02/25 21:54:53 is Exp $ */
/*
* Copyright (c) 1987 Carnegie-Mellon University
* Copyright (c) 1991 Regents of the University of California.
* All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* the Systems Programming Group of the University of... | {
"content_hash": "4b458998d0ec930a463fa1fa7a23ecae",
"timestamp": "",
"source": "github",
"line_count": 145,
"max_line_length": 77,
"avg_line_length": 35.62068965517241,
"alnum_prop": 0.6999031945788964,
"repo_name": "MarginC/kame",
"id": "5552cf8f6d4a0e13c0c406d5e8c5d45f45c0a39a",
"size": "5165",
... |
using UnityEngine;
namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityRigidbody
{
[TaskCategory("Basic/Rigidbody")]
[TaskDescription("Returns Success if the Rigidbody is using gravity, otherwise Failure.")]
public class UseGravity : Conditional
{
[Tooltip("The GameObject that the task operates... | {
"content_hash": "fa7a7c89d3fe32ad97c94dcc38acd67f",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 99,
"avg_line_length": 31.925,
"alnum_prop": 0.6217697729052467,
"repo_name": "yantian001/3DHunter",
"id": "bb16778a4a77c3b6957fa449aebee80ba74bb438",
"size": "1277",
"bi... |
/* Colors */
/* Font Sizes */
/* Spacers */
/* Element Sizes */
/* Custom Fonts */
@font-face {
font-family: "Helvetica";
src: font-url("helvetica.woff") format("woff"), font-url("helvetica.ttf") format("truetype");
font-weight: normal;
font-style: normal; }
@font-face {
font-family: "Helvetica Neue";
src: ... | {
"content_hash": "03dce9fc3e137f9aa5dda7e55f41f94f",
"timestamp": "",
"source": "github",
"line_count": 98,
"max_line_length": 156,
"avg_line_length": 40.265306122448976,
"alnum_prop": 0.5978205778003041,
"repo_name": "mon0051/Mirrawe",
"id": "32ee5631a7aea98434add9c0a97b0eb08a14a259",
"size": "394... |
'use strict';
import chai = require('chai');
import assert = chai.assert;
import helper = require('../../test/helper');
import objectUtils = require('../../xm/objectUtils');
class ObjectUtilTestClass {
private _propA: string = 'a';
private _propB: string = 'b';
propC: string = 'c';
propD: string = 'd';
}
descri... | {
"content_hash": "c1c18f76bba694c249eef21dbd6c7faf",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 83,
"avg_line_length": 26.333333333333332,
"alnum_prop": 0.6157855547282204,
"repo_name": "AbraaoAlves/tsd",
"id": "55590da306ff129b80e22e26b00250ad5f58db4b",
"size": "1385... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_121) on Mon Mar 27 10:01:25 CEST 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>PropertiesParserConstants ... | {
"content_hash": "2363f0d8bec932ab20c633d2540f58ed",
"timestamp": "",
"source": "github",
"line_count": 294,
"max_line_length": 621,
"avg_line_length": 41.874149659863946,
"alnum_prop": 0.6644464300219316,
"repo_name": "dbmalkovsky/flowable-engine",
"id": "fde6d3cef711d74c3fcabbd027b0efe23008a351",
... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Au... | {
"content_hash": "3e9be6171aa56d39f3ed914ed3e2e2b1",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 84,
"avg_line_length": 40.361111111111114,
"alnum_prop": 0.7508602890571232,
"repo_name": "amarant/AutoFixture",
"id": "1c5e8f86e695d070a877c51f94ea37163ffaf2f5",
"size": "... |
package org.onosproject.store.service;
import java.util.Iterator;
import java.util.Objects;
import java.util.TreeMap;
import com.google.common.base.MoreObjects;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.Maps;
import com.google.common.collect.Sets;
import static com.google.com... | {
"content_hash": "c1686d248a53d3cf5dc8f1b32c7645e9",
"timestamp": "",
"source": "github",
"line_count": 132,
"max_line_length": 115,
"avg_line_length": 30.734848484848484,
"alnum_prop": 0.6144934680798619,
"repo_name": "oplinkoms/onos",
"id": "665355fbbbba52d963e72ef851efdc4f4cb9c2b6",
"size": "467... |
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
<item>
<shape>
<solid android:color="#ffffffff" />
<corners
android:topLeftRadius="2dp"
android:topRightRadius="2dp"
andr... | {
"content_hash": "5d1718cc99a3ef87ecf6055ae2fb7f72",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 72,
"avg_line_length": 27.5,
"alnum_prop": 0.5409090909090909,
"repo_name": "BTPJ/Operation",
"id": "145692feb1d28978a3cfbee774a3f671fd08ffdb",
"size": "440",
"binary": f... |
'use strict';
/**
* @license Angular v14.0.0-next.5
* (c) 2010-2022 Google LLC. https://angular.io/
* License: MIT
*/
(function (factory) {
typeof define === 'function' && define.amd ? define(factory) :
factory();
})((function () {
'use strict';
/**
* @license
* Copyright Google LLC Al... | {
"content_hash": "f0295617ba550efd35f98f3661ee8bd7",
"timestamp": "",
"source": "github",
"line_count": 99,
"max_line_length": 128,
"avg_line_length": 44.7979797979798,
"alnum_prop": 0.4322435174746336,
"repo_name": "cdnjs/cdnjs",
"id": "4039416bd047c7e1384b3b5675cd405775d6e845",
"size": "4435",
... |
/* -*- buffer-read-only: t -*- vi: set ro: */
/* DO NOT EDIT! GENERATED AUTOMATICALLY! */
/* Locking in multithreaded situations.
Copyright (C) 2005-2011 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as ... | {
"content_hash": "d742784f3d2d5b2f87fd19197fd00f35",
"timestamp": "",
"source": "github",
"line_count": 1060,
"max_line_length": 99,
"avg_line_length": 25.40188679245283,
"alnum_prop": 0.5620218376290574,
"repo_name": "ucsd-progsys/csolve-bak",
"id": "27543ae2c0e5424b2b151aacc35eb66da267a1e7",
"siz... |
const yargs = require("yargs");
const { bddy } = require("bddy-core");
const PrettyError = require("pretty-error");
const pe = new PrettyError();
pe.appendStyle({
"pretty-error > header > title > kind": { display: "none" },
"pretty-error > header > colon": { display: "none" },
"pretty-error > header > messa... | {
"content_hash": "59fe7ac9cc80b323ca486c32ad92bc84",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 87,
"avg_line_length": 28.525641025641026,
"alnum_prop": 0.6058426966292135,
"repo_name": "caryll/bddy",
"id": "195baa104624e1e72e25e7b8ee3aa706c19fbfa1",
"size": "2225",
... |
'use strict';
describe('Controller: GoogleMapCtrl', function () {
// load the controller's module
beforeEach(module('nashaLeptaApp'));
var GoogleMapCtrl,
scope;
// Initialize the controller and a mock scope
beforeEach(inject(function ($controller, $rootScope) {
scope = $rootScope.$new();
Googl... | {
"content_hash": "025a3d975089471d10f73fa1520783cc",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 72,
"avg_line_length": 24.47826086956522,
"alnum_prop": 0.6642984014209592,
"repo_name": "NashaLeptaChallenge/nasha_lepta",
"id": "bdd760022e8f3eaf5d645ee53e86d282f5e1d0f4",
... |
osvers=$(sw_vers -productVersion | awk -F. '{print $2}')
# Get today's date
TODAY=$(date "+%FT%TZ")
# Server1's address
SERVER1=server1.name.here
# Server2's address
SERVER2=server2.name.here
# Get Java plug-in info
JAVA_PLUGIN=`/usr/bin/defaults read "/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/In... | {
"content_hash": "aef3007beacaf462736b039ef37d0c8a",
"timestamp": "",
"source": "github",
"line_count": 93,
"max_line_length": 362,
"avg_line_length": 39,
"alnum_prop": 0.6727322856355115,
"repo_name": "chrisrolson/rtrouton_scripts",
"id": "d60242b8918fbda45640047bcd814f661b23139d",
"size": "3915",... |
/**
* Created by lukas on 22/04/17.
*/
/// <reference path="../node_modules/definitely-typed-angular/angular.d.ts" />
/// <reference path="../node_modules/definitely-typed-angular/angular-route.d.ts" />
| {
"content_hash": "633d1ed74515e8b66007956eecc32faa",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 85,
"avg_line_length": 41.2,
"alnum_prop": 0.6747572815533981,
"repo_name": "LukaszK88/AngularJsApp",
"id": "f64ece24081aaa84918ab3b8e6bec3a0a551004d",
"size": "206",
"bin... |
package org.apache.isis.core.metamodel.facets.param.autocomplete;
import java.lang.annotation.Annotation;
import java.lang.reflect.Method;
import org.apache.isis.applib.annotation.MinLength;
import org.apache.isis.applib.annotation.Parameter;
public final class MinLengthUtil {
private MinLengthUtil(){}
/*... | {
"content_hash": "11fb7ebc587fa944bda0e809432efb11",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 112,
"avg_line_length": 33.15555555555556,
"alnum_prop": 0.6387399463806971,
"repo_name": "estatio/isis",
"id": "7a3cc27fd9e112506d80948f394440dd4b496e5e",
"size": "2305",
... |
=================
Ganeti 2.1 design
=================
This document describes the major changes in Ganeti 2.1 compared to
the 2.0 version.
The 2.1 version will be a relatively small release. Its main aim is to
avoid changing too much of the core code, while addressing issues and
adding new features and improvements o... | {
"content_hash": "6ff4d09466f91649cd7749f2ef801bd5",
"timestamp": "",
"source": "github",
"line_count": 1281,
"max_line_length": 74,
"avg_line_length": 38.34738485558157,
"alnum_prop": 0.7490788429045457,
"repo_name": "bitemyapp/ganeti",
"id": "0251fefb0c42847afe3ae7c733847d4ad5c38e9d",
"size": "49... |
package model.solvers.mutation;
import java.util.List;
import java.util.Random;
import model.population.Individual;
import model.population.tree.Node;
import model.population.tree.TreeGenome;
public class TreeOperationMutationAlgorithm extends MutationAlgorithm {
private static final boolean DEBUG = false;
@Ove... | {
"content_hash": "efe2b6f26e027b8ef6978891f9521ad4",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 73,
"avg_line_length": 23.339285714285715,
"alnum_prop": 0.7000765110941086,
"repo_name": "blorente/pevolinator-3000",
"id": "8c7d1b143e49cddc251a74e4f34e453a52326282",
"si... |
<div class='user_model_html'>
{{ user.email }}
</div> | {
"content_hash": "b1ed1a55ee3e60816ab50c1bcf6f19d0",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 29,
"avg_line_length": 19,
"alnum_prop": 0.5789473684210527,
"repo_name": "sunlightlabs/the-phantom-mask",
"id": "6589fb789fef776d07e4043a5fb307ad5aee1e53",
"size": "57",
... |
require 'openssl'
require 'fileutils'
require 'aws-sdk-core'
require 'zlib'
require 'zip'
require 'instance_metadata'
require 'open-uri'
require 'uri'
module InstanceAgent
module Plugins
module CodeDeployPlugin
ARCHIVES_TO_RETAIN = 5
class CommandExecutor
class << self
attr_reader :... | {
"content_hash": "a848258f34883cc4baf2ab9faf0e9b2e",
"timestamp": "",
"source": "github",
"line_count": 367,
"max_line_length": 226,
"avg_line_length": 40.305177111716624,
"alnum_prop": 0.5998512709572742,
"repo_name": "skohar/aws-codedeploy-agent",
"id": "7718c6be4d9a8f57f40716e8fb3a9e101bc318c1",
... |
package com.myhitchhikingspots.model;
import com.mapbox.geojson.Point;
import java.util.List;
/**
* A part of a route where the user has traveled only hitchhiking or only non-hitchhiking.
* E.g. If user starts traveling from A to D;
* he hitchhikes from A to B, and from B to C;
* but he goes non-hitchhiking (by ... | {
"content_hash": "eb4517688b93b63a2c46b905c4ad81b7",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 166,
"avg_line_length": 45.206896551724135,
"alnum_prop": 0.7124332570556827,
"repo_name": "Hitchwiki/MyHitchhikingSpots-for-Android",
"id": "6b61f39656f151d067cd50e4d4c4bc3b... |
[](https://travis-ci.org/simon-whitehead/chemboy)
### chemboy
-------------
A GameBoy (and hopefully in future, GameBoy Colour) emulator written in Rust.
**This is very much a work in progress** and can only render non-Gameboy Colour gam... | {
"content_hash": "40cc3c986e597ca18c1b58f5d6f98d4a",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 252,
"avg_line_length": 43.23529411764706,
"alnum_prop": 0.7564625850340136,
"repo_name": "simon-whitehead/chemboy",
"id": "731ce856790f1ed9024ca65e1660024da3625f8d",
"size... |
<com.tle.beans.mime.MimeEntry>
<id>39263</id>
<institution>
<id>39169</id>
<uniqueId>0</uniqueId>
<enabled>true</enabled>
</institution>
<extensions class="list">
<string>sv4cpio</string>
</extensions>
<type>application/x-sv4cpio</type>
<attributes>
<entry>
<string>PluginIconPath... | {
"content_hash": "117cf248bd8bd0a1d37fda5afa76255f",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 39,
"avg_line_length": 23.88888888888889,
"alnum_prop": 0.6511627906976745,
"repo_name": "equella/Equella",
"id": "c5b1c51d4b05ef19fb279da789789be8a0713141",
"size": "430",... |
require 'contestify/judges/local/configuration'
module Contestify
module Judge
class Local
attr_accessor :problems_path, :working_root_path, :problems_paths
def initialize(problems_path)
@problems_path = problems_path
@working_root_path = File.join(Dir.pwd, "contestify")
File... | {
"content_hash": "400fb48c5c907b5fd8d5b2d08d8f35b0",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 107,
"avg_line_length": 31.96551724137931,
"alnum_prop": 0.6148867313915858,
"repo_name": "nhocki/contestify",
"id": "3d90ac46ca6d3a4c81d856d0ad0eb28381711c6d",
"size": "92... |
function Out-HtmlImage
{
<#
.SYNOPSIS
Output embedded Html image.
#>
[CmdletBinding()]
param
(
## PScribo Image object
[Parameter(Mandatory, ValueFromPipeline)]
[ValidateNotNull()]
[System.Management.Automation.PSObject] $Image
)
process
{
[Sys... | {
"content_hash": "3fef424b4fbed2470df338b6d92f436a",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 207,
"avg_line_length": 37.041666666666664,
"alnum_prop": 0.6231721034870641,
"repo_name": "iainbrighton/PScribo",
"id": "5c29a38c118197af684df7d67a064569d36d55e5",
"size":... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.