text stringlengths 11 969k | meta stringlengths 415 4.24k | red_pajama_subset stringclasses 1
value | duplicate_count int64 0 613 |
|---|---|---|---|
require "spec_helper"
require "foreman/engine"
require "foreman/export/launchd"
require "tmpdir"
describe Foreman::Export::Launchd, :fakefs do
let(:procfile) { FileUtils.mkdir_p("/tmp/app"); write_procfile("/tmp/app/Procfile") }
let(:options) { Hash.new }
let(:engine) { Foreman::Engine.new().load_procfile(pro... | {'content_hash': '8b3e5cd9c02f40a73d4114c20ffe2cd6', 'timestamp': '', 'source': 'github', 'line_count': 31, 'max_line_length': 105, 'avg_line_length': 36.16129032258065, 'alnum_prop': 0.6913470115967886, 'repo_name': 'cao1998wang/twilio_int', 'id': '3a22b5ad0d4040cfd5b64d488d4b1e4507d877e2', 'size': '1121', 'binary': F... | github | 0 |
"format amd";
(function(global) {
var defined = {};
// indexOf polyfill for IE8
var indexOf = Array.prototype.indexOf || function(item) {
for (var i = 0, l = this.length; i < l; i++)
if (this[i] === item)
return i;
return -1;
}
var getOwnPropertyDescriptor = true;
try {
Object.g... | {'content_hash': '8d8af0b509d268eb8aa06afb2bcc4d73', 'timestamp': '', 'source': 'github', 'line_count': 3654, 'max_line_length': 779, 'avg_line_length': 27.301860974274767, 'alnum_prop': 0.5748739487374825, 'repo_name': 'Wikia/infobox-template-builder', 'id': 'f36ddfb944484acf146fe9f8e3bbbcb4d45834d2', 'size': '99761',... | github | 0 |
import React, { Component } from 'react';
import FilterableProductTable from './FilterableProductTable';
/**
* This page serves as the "housing" for <FilterableProductTable /> in this case.
* Reference: https://reactjs.org/docs/thinking-in-react.html
*/
class MainConceptsPage extends Component {
render() {
... | {'content_hash': '460bdedab1d6faad79959cc895cd2c7f', 'timestamp': '', 'source': 'github', 'line_count': 68, 'max_line_length': 82, 'avg_line_length': 27.647058823529413, 'alnum_prop': 0.40904255319148936, 'repo_name': 'mpeinado/react-starter', 'id': '7f5e818ade1477d34e7c60822bc8a6386ef710ad', 'size': '1880', 'binary': ... | github | 0 |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>const_buffers_1::operator+ (2 of 2 overloads)</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href... | {'content_hash': 'badd0b501dbc4a7da06a69145a514859', 'timestamp': '', 'source': 'github', 'line_count': 54, 'max_line_length': 449, 'avg_line_length': 70.38888888888889, 'alnum_prop': 0.6206261510128913, 'repo_name': 'gnu3ra/SCC15HPCRepast', 'id': '0303868a07db9ad4a55d35434eb83d7909f318c3', 'size': '3801', 'binary': Fa... | github | 0 |
int scsi_debug_detect(Scsi_Host_Template *);
int scsi_debug_command(Scsi_Cmnd *);
int scsi_debug_queuecommand(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *));
int scsi_debug_abort(Scsi_Cmnd *);
int scsi_debug_biosparam(Disk *, int, int[]);
int scsi_debug_reset(Scsi_Cmnd *);
#ifndef NULL
#define NULL 0
#endif
#define SCSI_DE... | {'content_hash': '849568fa9cacedba7dea0cc717b0ecad', 'timestamp': '', 'source': 'github', 'line_count': 22, 'max_line_length': 72, 'avg_line_length': 28.90909090909091, 'alnum_prop': 0.6776729559748428, 'repo_name': 'straceX/Ectoplasm', 'id': '25fe199ea05de2937542228c44b382f0140b616d', 'size': '685', 'binary': False, '... | github | 0 |
package org.apache.spark.sql.hive.execution
import org.apache.spark.sql.{SQLContext, QueryTest}
import org.apache.spark.sql.hive.test.TestHive
import org.apache.spark.sql.hive.test.TestHive._
import org.apache.spark.sql.test.SQLTestUtils
/**
* A set of tests that validates support for Hive Explain command.
* 验证支... | {'content_hash': 'af4743487cafa86e244dba777033410d', 'timestamp': '', 'source': 'github', 'line_count': 121, 'max_line_length': 99, 'avg_line_length': 34.65289256198347, 'alnum_prop': 0.5444788933937514, 'repo_name': 'tophua/spark1.52', 'id': '1948185ea3d4b258cdc7f6791b71cafe6b3b71ad', 'size': '5279', 'binary': False, ... | github | 0 |
package com.itmaoo.oa.support;
import org.springframework.context.EmbeddedValueResolverAware;
import org.springframework.util.StringValueResolver;
public class PropertiesUtils implements EmbeddedValueResolverAware {
private StringValueResolver resolver;
@Override
public void setEmbeddedValueResolver(StringValueRe... | {'content_hash': '2a843b66f8a4185102f09525a565168f', 'timestamp': '', 'source': 'github', 'line_count': 17, 'max_line_length': 69, 'avg_line_length': 27.58823529411765, 'alnum_prop': 0.8315565031982942, 'repo_name': 'ITMAOO/scenic', 'id': '2700342ba90eab70afdaeef8bcade4e451e3efab', 'size': '469', 'binary': False, 'copi... | github | 0 |
#include "config.h"
#include "JSDOMFormData.h"
#include "DOMFormData.h"
#include "HTMLFormElement.h"
#include "JSBlob.h"
#include "JSHTMLFormElement.h"
#include <runtime/Error.h>
using namespace JSC;
namespace WebCore {
static HTMLFormElement* toHTMLFormElement(JSC::JSValue value)
{
return value.inherits(&JSH... | {'content_hash': '65fa100f2b583c4615099c2d21ce87c3', 'timestamp': '', 'source': 'github', 'line_count': 49, 'max_line_length': 143, 'avg_line_length': 31.755102040816325, 'alnum_prop': 0.679305912596401, 'repo_name': 'yoavweiss/RespImg-WebCore', 'id': '4ed4497a1bda40bd4247164c798a02bfa1be1953', 'size': '3118', 'binary'... | github | 0 |
<!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 (version 1.7.0_71) on Thu Sep 10 12:29:42 NZST 2015 -->
<title>AbstractLoader</title>
<meta name="date" content="2015-09-10">
<link rel="stylesheet" t... | {'content_hash': 'b85e9ce4e5c272e47f211ecd54b018a4', 'timestamp': '', 'source': 'github', 'line_count': 509, 'max_line_length': 379, 'avg_line_length': 43.082514734774065, 'alnum_prop': 0.6600848191892015, 'repo_name': 'rpgoncalves/sw-comprehension', 'id': '73aecb85c471220f534add580fbb0bef5cb08285', 'size': '21929', 'b... | github | 0 |
import {
AfterContentInit,
ChangeDetectionStrategy,
Component,
Injector,
OnInit,
TemplateRef,
ViewChild
} from '@angular/core';
import { InputConverter } from '../../../../../decorators/input-converter';
import { IIntegerPipeArgument, OIntegerPipe } from '../../../../../pipes/o-integer.pipe';
import { DE... | {'content_hash': '5610d998dcfb756c653930c8616d8330', 'timestamp': '', 'source': 'github', 'line_count': 56, 'max_line_length': 120, 'avg_line_length': 31.053571428571427, 'alnum_prop': 0.7343300747556066, 'repo_name': 'OntimizeWeb/ontimize-web-ng2', 'id': 'fcf648695977d893892b2bffe187ccba3b725e01', 'size': '1739', 'bin... | github | 0 |
using content::BrowserThread;
namespace {
const char kDevToolsAdbBridgeThreadName[] = "Chrome_DevToolsADBThread";
const int kBufferSize = 16 * 1024;
static const char kModelOffline[] = "Offline";
static const char kHttpGetRequest[] = "GET %s HTTP/1.1\r\n\r\n";
static const char kWebSocketUpgradeRequest[] = "GET %... | {'content_hash': 'a4354fbc1fcc4caaadfe487f76105168', 'timestamp': '', 'source': 'github', 'line_count': 538, 'max_line_length': 80, 'avg_line_length': 32.77695167286245, 'alnum_prop': 0.6495973687195191, 'repo_name': 'heke123/chromium-crosswalk', 'id': '8a1130d2508ed3efc900591e5cf4e3467536fafa', 'size': '18277', 'binar... | github | 0 |
package cherry.gallery.web.basic.ex20;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
@Getter
@Setter
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class BasicEx20Form extends BasicEx20FormBase {
private static final lo... | {'content_hash': '3ac81ecfb23c9586c28166be72b0be6c', 'timestamp': '', 'source': 'github', 'line_count': 18, 'max_line_length': 54, 'avg_line_length': 19.555555555555557, 'alnum_prop': 0.7613636363636364, 'repo_name': 'agwlvssainokuni/springapp2', 'id': '25dab5fdd8bf418120cd8577627b1f76e550510d', 'size': '964', 'binary'... | github | 0 |
using LinqToDB;
using LinqToDB.SqlQuery;
using NUnit.Framework;
namespace Tests.AST
{
[TestFixture]
public class SqlDataTypeTests : TestBase
{
[Test]
public void TestSystemType()
{
Assert.AreEqual(typeof(bool), SqlDataType.GetDataType(DataType.Boolean).SystemType);
}
}
}
| {'content_hash': 'd8e2a51de6399c51dcd61017751328b7', 'timestamp': '', 'source': 'github', 'line_count': 17, 'max_line_length': 87, 'avg_line_length': 17.058823529411764, 'alnum_prop': 0.7413793103448276, 'repo_name': 'linq2db/linq2db', 'id': '1898874cbffd280e5318b28f00056847ab628c05', 'size': '292', 'binary': False, 'c... | github | 0 |
<?xml version="1.0" encoding="utf-8"?>
<Commands xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" EnableSmartFormatting="true">
<TextEditorCommand CommandNumber="1" IntervalTime="220">
<Modifiers>0</Modifiers>
<MethodName>LoadScriptFromFile</MethodName>
<Arg... | {'content_hash': '0cd05d4c9f638e87e170d22c10b2cbd3', 'timestamp': '', 'source': 'github', 'line_count': 303, 'max_line_length': 195, 'avg_line_length': 33.993399339933994, 'alnum_prop': 0.6959223300970874, 'repo_name': 'DynamoDS/designscript-archive', 'id': 'c3ddaef6b9a80fe3d8de1180d95602d6279ab6f4', 'size': '10300', '... | github | 0 |
/**
* Configuration for a Jersey-based management context.
*/
package org.springframework.boot.actuate.autoconfigure.web.jersey;
| {'content_hash': 'c2b770d1df5bab007e38cc9c48d1a337', 'timestamp': '', 'source': 'github', 'line_count': 6, 'max_line_length': 66, 'avg_line_length': 22.166666666666668, 'alnum_prop': 0.7744360902255639, 'repo_name': 'kdvolder/spring-boot', 'id': 'a03114a7be48f89b28811488fb2c53d37057004e', 'size': '754', 'binary': False... | github | 0 |
End of preview. Expand in Data Studio
README.md exists but content is empty.
- Downloads last month
- 13