repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Caryophyllales/Caryophyllaceae/Arenaria/Arenaria drypidea/README.md | 174 | # Arenaria drypidea Boiss. SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
serious6/HibernateSimpleProject | javadoc/hibernate_Doc/org/hibernate/event/spi/class-use/PreUpdateEventListener.html | 9634 | <!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_45) on Mon Mar 03 10:44:38 EST 2014 -->
<title>Uses of Interface org.hibernate.event.spi.PreUpdateEventListener (Hibernate JavaDocs)</t... | apache-2.0 |
consulo/consulo | modules/base/vcs-api/src/main/java/com/intellij/openapi/vcs/VcsConsoleLine.java | 1604 | // Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.openapi.vcs;
import com.intellij.execution.ui.ConsoleView;
import com.intellij.execution.ui.ConsoleViewContentType;
import com.intellij.util.containers.Conta... | apache-2.0 |
kbachl/brix-cms-backup | brix-core/src/main/java/org/brixcms/web/nodepage/BrixPageParameters.java | 11587 | /**
* 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
* distribu... | apache-2.0 |
zimmermatt/flink | flink-tests/src/test/java/org/apache/flink/test/recovery/ProcessFailureCancelingITCase.java | 10977 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | apache-2.0 |
BlueBrain/bluima | modules/bluima_xml/src/test/Fpage.java | 3031 | //
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2011.0... | apache-2.0 |
arcana261/SaladioBackEnd | migrations/20161221201621-associate-classicsaladcatagory-and-classicsalad.js | 734 | 'use strict';
const Task = require('co-task');
const sql = require('../api/helpers/sql');
module.exports = {
up: function (queryInterface, Sequelize) {
return Task.spawn(function* () {
yield queryInterface.addColumn('ClassicSalads', 'ClassicSaladCatagoryId', Sequelize.INTEGER);
yield sql.foreignKeyU... | apache-2.0 |
nearform/sentinel-angular | scripts/directives/sidebardoc/sidebardoc.html | 792 | <div class="navbar-default sidebar" role="navigation">
<div class="sidebar-nav navbar-collapse">
<ul class="nav in" id="side-menu">
<li>
</li>
<li ng-class="{active: collapseVar==key}" ng-repeat="(key, value) in doc.data">
<a href="... | apache-2.0 |
cbaenziger/oozie | core/src/main/java/org/apache/oozie/action/hadoop/ScriptLanguageActionExecutor.java | 3702 | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... | apache-2.0 |
ppc64le/build-scripts | f/filebeat/filebeat_7.2.0_redhat_7.sh | 1000 | # ----------------------------------------------------------------------------
#
# Package : filebeat
# Version : 7.2.0
# Source repo : https://github.com/elastic/beats.git
# Tested on : RHEL 7.5
# Script License: Apache License Version 2.0
# Maintainer : Edmond Chan <ckchan@hk1.ibm.com>
#
# Discla... | apache-2.0 |
skydive-project/skydive | topology/nexthop_gendecoder.go | 1511 | // Code generated - DO NOT EDIT.
package topology
import (
"github.com/skydive-project/skydive/graffiti/getter"
"strings"
)
func (obj *NextHop) GetFieldBool(key string) (bool, error) {
return false, getter.ErrFieldNotFound
}
func (obj *NextHop) GetFieldInt64(key string) (int64, error) {
switch key {
case "Prio... | apache-2.0 |
mdanielwork/intellij-community | plugins/ant/src/com/intellij/lang/ant/config/execution/PlainTextView.java | 6686 | /*
* Copyright 2000-2009 JetBrains s.r.o.
*
* 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 agre... | apache-2.0 |
mdesalvo/RDFSharp | RDFSharp/Semantics/SKOS/Abstractions/RDFSKOSConceptScheme.cs | 41109 | /*
Copyright 2012-2022 Marco De Salvo
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... | apache-2.0 |
annict/annict | app/graphql/beta/types/objects/prefecture_type.rb | 326 | # frozen_string_literal: true
module Beta
module Types
module Objects
class PrefectureType < Beta::Types::Objects::Base
implements GraphQL::Types::Relay::Node
global_id_field :id
field :annict_id, Integer, null: false
field :name, String, null: false
end
end
en... | apache-2.0 |
redox/OrientDB | core/src/main/java/com/orientechnologies/orient/core/command/script/OCommandExecutorFunction.java | 4208 | /*
* Copyright 2010-2012 Luca Garulli (l.garulli--at--orientechnologies.com)
*
* 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
... | apache-2.0 |
oleg-cherednik/hackerrank | Algorithms/Strings/Palindrome Index/Solution.java | 921 | import java.util.Scanner;
/**
* @author Oleg Cherednik
* @since 13.07.2018
*/
public class Solution {
static int palindromeIndex(String s) {
for (int i = 0, j = s.length() - 1; i < j; i++, j--) {
if (s.charAt(i) == s.charAt(j))
continue;
for (int k = i, m = j - ... | apache-2.0 |
RBernhardt/homecockpit-connectors | connectors-facade/src/main/java/de/newsarea/homecockpit/connector/facade/registration/util/ClassLoaderHelper.java | 3378 | package de.newsarea.homecockpit.connector.facade.registration.util;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.File;
import java.io.IOException;
import java.lang.reflect.Constructor;
import java.lang.reflect.Method;
import java.net.URL;
import java.util.ArrayList;
import java.util.Enumera... | apache-2.0 |
datasynctools/sync-tools-prototype | data-sync-tools-core/src/main/java/tools/datasync/utils/Md5HashGenerator.java | 1858 | /**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | apache-2.0 |
database-rider/database-rider | rider-core/src/test/java/com/github/database/rider/core/script/ScriptEngineManagerWrapperTest.java | 4246 | package com.github.database.rider.core.script;
import org.assertj.core.api.SoftAssertions;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ExpectedException;
import javax.script.ScriptException;
import static org.assertj.core.api.Java6Assertions.assertThat;
public clas... | apache-2.0 |
mwaylabs/mcap-cli | generators/generator-mcap/test/test-connections.js | 1116 | /*global describe, beforeEach, it*/
'use strict';
var assert = require('yeoman-generator').assert;
var helper = require('./helper');
describe('mcap:connections', function () {
beforeEach(function (done) {
var answers = {
name: 'MyApp'
};
// Creates a generateor with the default options / argumen... | apache-2.0 |
GoogleContainerTools/jib | jib-core/src/main/java/com/google/cloud/tools/jib/api/Credential.java | 2498 | /*
* 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... | apache-2.0 |
agourlay/cornichon | cornichon-core/src/test/scala/com/github/agourlay/cornichon/steps/wrapped/WithinStepSpec.scala | 1298 | package com.github.agourlay.cornichon.steps.wrapped
import com.github.agourlay.cornichon.core._
import com.github.agourlay.cornichon.steps.regular.assertStep.{ AssertStep, GenericEqualityAssertion }
import com.github.agourlay.cornichon.testHelpers.CommonTestSuite
import munit.FunSuite
import scala.concurrent.duration... | apache-2.0 |
BrowserSync/browser-sync-core | test/mocha/api/clients$.js | 2869 | const browserSync = require('../../../');
const utils = require('../utils');
const register = require('../../../dist/plugins/clients').ClientEvents.register;
const assert = require('chai').assert;
describe('Client connection stream', function () {
it('does not have duplicates', function (done) {
... | apache-2.0 |
NightOwl888/lucenenet | src/Lucene.Net/Util/Fst/PairOutputs.cs | 6273 | using Lucene.Net.Diagnostics;
using System.Runtime.CompilerServices;
namespace Lucene.Net.Util.Fst
{
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyri... | apache-2.0 |
mdoering/backbone | life/Plantae/Magnoliophyta/Liliopsida/Asparagales/Orchidaceae/Dactylorhiza/Dactylorhiza sambucina/ Syn. Orchis lutea/README.md | 175 | # Orchis lutea Dulac SPECIES
#### Status
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
wildfly-swarm/wildfly-swarm-javadocs | 2017.9.5/apidocs/org/wildfly/swarm/config/management/security_realm/class-use/LdapAuthorizationSupplier.html | 8110 | <!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_112) on Tue Sep 12 14:31:26 MST 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Interface org.wildf... | apache-2.0 |
ojengwa/grr | lib/flows/general/checks.py | 3088 | #!/usr/bin/env python
"""A flow to run checks for a host."""
from grr.lib import aff4
from grr.lib import flow
from grr.lib import rdfvalue
from grr.lib.checks import checks
from grr.proto import flows_pb2
class CheckFlowArgs(rdfvalue.RDFProtoStruct):
protobuf = flows_pb2.CheckFlowArgs
class CheckRunner(flow.GRRF... | apache-2.0 |
lief-project/LIEF | api/python/MachO/objects/pyRelocationObject.cpp | 2566 | /* Copyright 2017 - 2022 R. Thomas
* Copyright 2017 - 2022 Quarkslab
*
* 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 req... | apache-2.0 |
DavidNorman/tensorflow | tensorflow/compiler/mlir/lite/tf_tfl_translate_cl.h | 1784 | /* Copyright 2019 The TensorFlow Authors. 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
Unless required by applicable law or a... | apache-2.0 |
afghifari/ilmurahIMK2016 | build/my_profile.html | 6239 | <!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">
<meta name="description" content="">
<meta name="author" content="">
<title>Ilmurah</title>
<link rel="sho... | apache-2.0 |
justplay1/Shoppist | domain/src/test/java/com/justplay1/shoppist/interactor/units/UpdateUnitsTest.java | 2190 | /*
* Copyright (C) 2016 Mkhytar Mkhoian
*
* 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... | apache-2.0 |
Rivermouth/Rivermouth-Talous | src/main/java/fi/rivermouth/talous/auth/UserAuthenticationManager.java | 906 | package fi.rivermouth.talous.auth;
import java.util.ArrayList;
import java.util.List;
import org.springframework.security.authentication.AuthenticationManager;
import org.springframework.security.authentication.UsernamePasswordAuthenticationToken;
import org.springframework.security.core.Authentication;
import org.sp... | apache-2.0 |
sthenc/pyKAM | Signal.py | 2314 | #!/usr/bin/python3
################################################################################
#
# Copyright 2014 Stjepan Henc <sthenc@gmail.com>
#
# 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 Lic... | apache-2.0 |
google/trillian-examples | binary_transparency/firmware/devices/usbarmory/README.md | 10495 | USB Armory
==========
In this package is support for using the
[USB Armory](https://inversepath.com/usbarmory.html) hardware with the firmware
transparency demo.
Since the SoC on the hardware already has ROM we can't patch that to root our
trust there, so for now we'll simply use a first-stage EL3 bootloader to
"enfo... | apache-2.0 |
scarito/zmap-android | src/iterator.c | 2428 | #include <assert.h>
#include <pthread.h>
#include <stdint.h>
#include <time.h>
#include "../lib/includes.h"
#include "../lib/blacklist.h"
#include "../lib/logger.h"
#include "../lib/xalloc.h"
#include "iterator.h"
#include "aesrand.h"
#include "shard.h"
#include "state.h"
struct iterator {
cycle_t cycle;
uint8_t ... | apache-2.0 |
cp16net/virgo-base | lib/virgo_conf.c | 6480 | /*
* Copyright 2012 Rackspace
*
* 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... | apache-2.0 |
robin13/elasticsearch | server/src/main/java/org/elasticsearch/rest/action/admin/indices/RestGetAliasesAction.java | 9110 | /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except
* in compliance with, at your election, the Elastic License 2.0 or the Server... | apache-2.0 |
reidmorrison/rubywmq | examples/put1_c.rb | 355 | #
# Sample : put() : Put a single request message to a queue
#
require 'wmq'
WMQ::QueueManager.connect(q_mgr_name: 'REID') do |qmgr|
message = WMQ::Message.new
message.data = 'Hello World'
message.descriptor = {
msg_type: WMQ::MQMT_REQUEST,
reply_to_q: 'TEST.REPLY.QUEUE'
}
qmgr.put(q_name: '... | apache-2.0 |
liquidm/druid | web-console/src/utils/druid-query.tsx | 1670 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | apache-2.0 |
riganti/infrastructure | src/Infrastructure/Tests/Riganti.Utils.Infrastructure.EntityFramework.Tests/UnitOfWork/EntityFrameworkUnitOfWorkTests.cs | 25742 | using System;
using System.Threading;
using System.Threading.Tasks;
using Moq;
using Moq.Protected;
using Riganti.Utils.Infrastructure.Core;
using Xunit;
#if EFCORE
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Riganti.Utils.Infrastructure.EntityFrameworkCore.Transacti... | apache-2.0 |
vjcspy/IzCore | Repositories/Theme.php | 7569 | <?php
/**
* Created by PhpStorm.
* User: vjcspy
* Date: 28/05/2016
* Time: 12:56
*/
namespace Modules\IzCore\Repositories;
use Modules\IzCore\Repositories\Object\DataObject;
use Modules\IzCore\Repositories\Theme\View\AdditionViewInterface;
use Pingpong\Modules\Repository;
/**
* Quản lý Theme
* Bao gồm:
* - ... | apache-2.0 |
ejlchina/bean-searcher | bean-searcher/src/main/java/com/ejlchina/searcher/implement/DefaultMetaResolver.java | 4320 | package com.ejlchina.searcher.implement;
import com.ejlchina.searcher.*;
import com.ejlchina.searcher.bean.InheritType;
import java.lang.reflect.Field;
import java.util.*;
import java.lang.reflect.Modifier;
import java.util.concurrent.ConcurrentHashMap;
/***
* 默认元信息解析器
* @author Troy.Zhou @ 2021-10-30
* @since v3... | apache-2.0 |
resin-io-library/base-images | balena-base-images/node/generic-amd64/debian/bullseye/14.18.3/run/Dockerfile | 2946 | # AUTOGENERATED FILE
FROM balenalib/generic-amd64-debian:bullseye-run
ENV NODE_VERSION 14.18.3
ENV YARN_VERSION 1.22.4
RUN buildDeps='curl libatomic1' \
&& set -x \
&& for key in \
6A010C5166006599AA17F08146C2130DFD2497F5 \
; do \
gpg --batch --keyserver pgp.mit.edu --recv-keys "$key" || \
gpg --batch --keyse... | apache-2.0 |
cloudfoundry-community/asp.net5-buildpack | fixtures/node_apps/angular_dotnet/ClientApp/node_modules/core-js/internals/async-iterator-iteration.js | 2973 | 'use strict';
// https://github.com/tc39/proposal-iterator-helpers
var aCallable = require('../internals/a-callable');
var anObject = require('../internals/an-object');
var getBuiltIn = require('../internals/get-built-in');
var getMethod = require('../internals/get-method');
var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;
v... | apache-2.0 |
andrew-m-lab/andrew-m-lab.github.io | _pages/categories/observatory.md | 153 | ---
layout: blog-archive
title: Observatory
permalink: /blog/category/observatory/
archive-name: observatory
archive-type: Category
breadcrumb: blog
---
| apache-2.0 |
cschuff/openui5 | src/sap.ui.core/test/sap/ui/core/qunit/odata/v4/ODataMetaModel.qunit.js | 161426 | /*!
* ${copyright}
*/
sap.ui.require([
"jquery.sap.global",
"sap/ui/base/SyncPromise",
"sap/ui/model/BindingMode",
"sap/ui/model/ChangeReason",
"sap/ui/model/ClientListBinding",
"sap/ui/model/Context",
"sap/ui/model/ContextBinding",
"sap/ui/model/Filter",
"sap/ui/model/MetaModel",
"sap/ui/model/PropertyBind... | apache-2.0 |
corona10/grumpy | grumpy-tools-src/grumpy_tools/compiler/stmt_test.py | 16929 | # coding=utf-8
# Copyright 2016 Google Inc. 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
#
# Unless required by app... | apache-2.0 |
lettuce-io/lettuce-core | src/main/java/io/lettuce/core/cluster/api/async/NodeSelectionGeoAsyncCommands.java | 11078 | /*
* Copyright 2017-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | apache-2.0 |
feedhenry-templates/fh-connector-mongodb-cloud | licenses/licenses.html | 60702 | <html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<link rel="stylesheet" type="text/css" href="licenses.css">
</head>
<body>
<h2>fh-service-mongodb-cloud</h2>
<table>
<tr>
<th>Package Group</th>
<th>Package Artifact</th>
<th>Package Version</th>
<th>Remote Licenses</th>
<th>Local Licenses... | apache-2.0 |
OpenConext/OpenConext-engineblock | theme/base/javascripts/wayf/search/removeWeight.js | 230 | export const removeWeight = (element) => {
try {
element.removeAttribute('data-weight');
} catch (e) {
// We are now in IE11 territory
if (!!element) {
element.setAttribute('data-weight', null);
}
}
};
| apache-2.0 |
favedit/MoCross | Tools/1 - Common/MoCore/Forms/Controls/QColorPicker.cs | 5282 | using MO.Core.Forms.Common;
using System;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
namespace MO.Core.Forms.Controls
{
//============================================================
// <T>颜色选取控件<T>
//============================================================
public p... | apache-2.0 |
gravitee-io/gateway | gravitee-gateway-services/gravitee-gateway-services-sync/src/main/java/io/gravitee/gateway/services/sync/cache/CacheManager.java | 1110 | /**
* Copyright (C) 2015 The Gravitee team (http://gravitee.io)
*
* 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 requ... | apache-2.0 |
charsyam/folly | folly/test/CacheLocalityTest.cpp | 25381 | /*
* Copyright 2017 Facebook, Inc.
*
* 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... | apache-2.0 |
aws/aws-sdk-java | aws-java-sdk-codecommit/src/main/java/com/amazonaws/services/codecommit/model/MaximumNumberOfApprovalsExceededException.java | 1318 | /*
* Copyright 2017-2022 Amazon.com, Inc. or its affiliates. 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. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... | apache-2.0 |
reallylabs/really | modules/really-core/src/main/scala/io/really/model/CollectionSharding.scala | 773 | /**
* Copyright (C) 2014-2015 Really Inc. <http://really.io>
*/
package io.really.model
import akka.contrib.pattern.ShardRegion
import _root_.io.really.{ RoutableToCollectionActor, ReallyConfig }
class CollectionSharding(config: ReallyConfig) {
implicit val implicitConfig = config
val maxShards = config.Shardi... | apache-2.0 |
mgcuthbert/maproulette2-docker | api/bootstrap.sh | 208 | #!/bin/bash
echo "bootstrap"
service ssh restart
cd /MapRouletteAPI
# Delete any RUNNING_PID file on restart
rm RUNNING_PID || true
./setupServer.sh > setupServer.log 2>&1
while true; do sleep 1000; done
| apache-2.0 |
FoundatioFx/Foundatio | src/Foundatio/DeepCloner/Helpers/ReflectionHelper.cs | 3817 | #define NETCORE
using System;
using System.Linq;
using System.Reflection;
namespace Foundatio.Force.DeepCloner.Helpers
{
internal static class ReflectionHelper
{
public static bool IsEnum(this Type t)
{
#if NETCORE
return t.GetTypeInfo().IsEnum;
#else
return t.IsEnum;
#endif
}
public static bool IsVa... | apache-2.0 |
greggian/TapdIn | django/utils/translation/trans_real.py | 20192 | """Translation helper functions."""
import locale
import os
import re
import sys
import gettext as gettext_module
from cStringIO import StringIO
from django.utils.importlib import import_module
from django.utils.safestring import mark_safe, SafeData
from django.utils.thread_support import currentThread
... | apache-2.0 |
bouzi71/OpenWow | owGame/DBC/Tables/DBC_CreatureDisplayInfo.h | 1677 | #pragma once
#include "DBC/DBC__File.h"
DBC_DEF_BEGIN(DBC_CreatureDisplayInfo)
__DBC_REF_ID(DBC_CreatureModelData, CreatureModelDataID, 2);
__DBC_TVALUE(uint32, SoundID, 3);
__DBC_REF_ID(DBC_CreatureDisplayInfoExtra, HumanoidData, ... | apache-2.0 |
draios/sysdig | cmake/modules/ncurses.cmake | 1244 | #
# ncurses, keep it simple for the moment
#
option(USE_BUNDLED_NCURSES "Enable building of the bundled ncurses" ${USE_BUNDLED_DEPS})
if(CURSES_INCLUDE_DIR)
# we already have ncurses
elseif(NOT USE_BUNDLED_NCURSES)
set(CURSES_NEED_NCURSES TRUE)
find_package(Curses REQUIRED)
message(STATUS "Found ncurses: include: ... | apache-2.0 |
rrnewton/concurrent-skiplist | src/Data/Concurrent/Internal/Reagent.hs | 1287 | {-# LANGUAGE ExplicitForAll, Rank2Types #-}
-- | An implementation of Reagents (http://www.mpi-sws.org/~turon/reagents.pdf)
-- NOTE: currently this is just a very tiny core of the Reagent design. Needs
-- lots of work.
module Data.Concurrent.Internal.Reagent where
import Data.IORef
import Data.Atomics
import P... | apache-2.0 |
WaltChen/NDatabase | tests/NDatabase.Old.UnitTests/NDatabase/Odb/Test/Query/Criteria/TestPolyMorphic.cs | 6267 | using System;
using NDatabase.Api;
using NUnit.Framework;
using Test.NDatabase.Odb.Test.VO.Human;
namespace Test.NDatabase.Odb.Test.Query.Criteria
{
public class TestPolyMorphic : ODBTest
{
private const string DbName = "TestPolyMorphic.ndb";
[Test]
public void Test1()
... | apache-2.0 |
MyRobotLab/myrobotlab | src/main/java/org/myrobotlab/framework/Status.java | 7254 | package org.myrobotlab.framework;
import static org.myrobotlab.framework.StatusLevel.DEBUG;
import static org.myrobotlab.framework.StatusLevel.ERROR;
import static org.myrobotlab.framework.StatusLevel.INFO;
import static org.myrobotlab.framework.StatusLevel.SUCCESS;
import static org.myrobotlab.framework.StatusL... | apache-2.0 |
eriawan/roslyn | src/Features/CSharp/Portable/Structure/Providers/RegionDirectiveStructureProvider.cs | 2849 | // 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.Threading;
using Microsoft.CodeAnalysis.CSharp.Extensions;
using Microsoft.CodeAnalysis.CSharp.Syntax;... | apache-2.0 |
emk/rust | src/librustc_typeck/check/writeback.rs | 17553 | // Copyright 2014 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | apache-2.0 |
mdoering/backbone | life/Plantae/Chlorophyta/Charophyceae/Charales/Characeae/Brevichara/README.md | 200 | # Brevichara H. Horn af Rantzien, 1956 GENUS
#### Status
ACCEPTED
#### According to
Interim Register of Marine and Nonmarine Genera
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
mdoering/backbone | life/Plantae/Magnoliophyta/Liliopsida/Poales/Poaceae/Leptochloa/Leptochloa dubia/ Syn. Schismus patens/README.md | 180 | # Schismus patens J.Presl SPECIES
#### Status
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Gentianales/Rubiaceae/Arachnothryx/Arachnothryx hondurensis/ Syn. Javorkaea hondurensis/README.md | 208 | # Javorkaea hondurensis (Donn.Sm.) Borhidi & Komlódi SPECIES
#### Status
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
mdoering/backbone | life/Plantae/Chlorophyta/Chlorophyceae/Chlorococcales/Endosphaeraceae/Kentrosphaera/README.md | 185 | # Kentrosphaera A. Borzì, 1883 GENUS
#### Status
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Gentianales/Rubiaceae/Spermacoce/Spermacoce lagurus/ Syn. Borreria lagurus/README.md | 181 | # Borreria lagurus S.Moore SPECIES
#### Status
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Fabales/Fabaceae/Mimosa/Mimosa callidryas/README.md | 175 | # Mimosa callidryas Barneby SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Asterales/Asteraceae/Ligularia fangiana/README.md | 180 | # Ligularia fangiana Hand.-Mazz. SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Ericales/Lecythidaceae/Couroupita/Couroupita nicaraguarensis/ Syn. Couroupita cutteri/README.md | 195 | # Couroupita cutteri C.V.Morton & Skutch SPECIES
#### Status
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Malpighiales/Violaceae/Viola/Viola chamissoniana/ Syn. Viola robusta/README.md | 200 | # Viola robusta Hillebr. SPECIES
#### Status
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
F. Hawaiian Isl. 16. 1888
#### Original name
null
### Remarks
null | apache-2.0 |
spolnik/javascript-workspace | grunt/TodoApp/tasks/a11y.js | 166 | 'use strict';
module.exports = function (grunt) {
grunt.config(
'a11y', {
live: {
options: {
urls: ['www.google.com']
}
}
});
};
| apache-2.0 |
Altiscale/tez | tez-api/src/test/java/org/apache/tez/dag/api/TestDagTypeConverters.java | 2256 | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... | apache-2.0 |
everttigchelaar/camel-svn | components/camel-jetty/src/test/java/org/apache/camel/component/jetty/HttpFilterCamelHeadersTest.java | 2847 | /**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); yo... | apache-2.0 |
pramoth/light-admin | lightadmin-core/src/main/java/org/lightadmin/core/view/preparer/FormViewPreparer.java | 652 | package org.lightadmin.core.view.preparer;
import org.apache.tiles.AttributeContext;
import org.apache.tiles.context.TilesRequestContext;
import org.lightadmin.core.config.domain.DomainTypeAdministrationConfiguration;
public class FormViewPreparer extends ConfigurationAwareViewPreparer {
@Override
protected ... | apache-2.0 |
Cinntax/home-assistant | homeassistant/components/ebox/sensor.py | 4756 | """
Support for EBox.
Get data from 'My Usage Page' page: https://client.ebox.ca/myusage
For more details about this platform, please refer to the documentation at
https://home-assistant.io/components/sensor.ebox/
"""
import logging
from datetime import timedelta
import voluptuous as vol
import homeassistant.helper... | apache-2.0 |
mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Caryophyllales/Cactaceae/Eriosyce/Eriosyce aspillagae/Eriosyce aspillagae aspillagae/README.md | 182 | # Eriosyce aspillagae subsp. aspillagae SUBSPECIES
#### Status
ACCEPTED
#### According to
NUB Generator [autonym]
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
UniTime/unitime | JavaSource/org/unitime/timetable/solver/exam/ui/ExamConflictStatisticsInfo.java | 36624 | /*
* Licensed to The Apereo Foundation under one or more contributor license
* agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
*
* The Apereo Foundation licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may... | apache-2.0 |
easion/os_sdk | system/ftpd.h | 901 |
#ifndef _CUFTPD_H
#define _CUFTPD_H
#define CUFTPD_DEBUG(fmt, ...) cuftpd_debug(__FILE__, __LINE__, fmt, __VA_ARGS__)
#define CUFTPD_ARR_LEN(arr) (sizeof(arr)/sizeof(arr[0]))
#define CUFTPD_VER "1.0"
#define CUFTPD_DEF_SRV_PORT 21
#define CUFTPD_LIS... | apache-2.0 |
nlnwa/broprox | veidemann-chrome-client/src/main/java/no/nb/nna/veidemann/chrome/client/ws/GetBrowserVersionCmd.java | 1385 | package no.nb.nna.veidemann.chrome.client.ws;
import no.nb.nna.veidemann.chrome.client.ws.GetBrowserVersionCmd.Response;
public class GetBrowserVersionCmd extends Command<Response> {
public GetBrowserVersionCmd(Cdp client) {
super(client, "Browser", "getVersion", Response.class);
}
public static ... | apache-2.0 |
lesaint/experimenting-annotation-processing | experimenting-rounds/massive-count-of-annotated-classes/src/main/java/fr/javatronic/blog/massive/annotation1/Class_914.java | 145 | package fr.javatronic.blog.massive.annotation1;
import fr.javatronic.blog.processor.Annotation_001;
@Annotation_001
public class Class_914 {
}
| apache-2.0 |
kebenxiaoming/owncloudRedis | settings/l10n/sv.js | 21151 | OC.L10N.register(
"settings",
{
"Security & Setup Warnings" : "Säkerhets & Inställningsvarningar",
"Cron" : "Cron",
"Sharing" : "Dela",
"Security" : "Säkerhet",
"Email Server" : "E-postserver",
"Log" : "Logg",
"Authentication error" : "Fel vid autentisering",
"Your full name has ... | apache-2.0 |
eris-ltd/eris-db | rpc/web3/ethclient/client_test.go | 3116 | // +build integration,ethereum
package ethclient
import (
"encoding/json"
"fmt"
"testing"
"github.com/hyperledger/burrow/crypto"
"github.com/hyperledger/burrow/encoding/web3hex"
"github.com/hyperledger/burrow/execution/solidity"
"github.com/hyperledger/burrow/rpc/rpcevents"
"github.com/hyperledger/burrow/tes... | apache-2.0 |
kiddinn/plaso | tests/output/formatting_helper.py | 12029 | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Tests for the output module field formatting helper."""
import unittest
from dfdatetime import semantic_time as dfdatetime_semantic_time
from dfvfs.path import fake_path_spec
from plaso.containers import events
from plaso.lib import definitions
from plaso.output impo... | apache-2.0 |
SBuild-org/sbuild | de.tototec.sbuild/src/main/scala/de/tototec/sbuild/internal/WithinTargetExecution.scala | 1387 | package de.tototec.sbuild.internal
import de.tototec.sbuild.TargetContext
import de.tototec.sbuild.InvalidApiUsageException
import de.tototec.sbuild.Project
trait WithinTargetExecution {
def targetContext: TargetContext
protected[sbuild] def directDepsTargetContexts: Seq[TargetContext]
}
object WithinTargetExecu... | apache-2.0 |
reproio/apps-android-wikipedia | wikipedia/src/main/java/org/wikipedia/concurrency/AsyncTask.java | 26978 | package org.wikipedia.concurrency;
// Copied from Android 4.4.2_r2 source
// so we can use executeOnExecutor :P
//
// https://android.googlesource.com/platform/frameworks/base/+/android-4.4.2_r2/core/java/android/os/AsyncTask.java
/*
* Copyright (C) 2008 The Android Open Source Project
*
* Licensed... | apache-2.0 |
pqpo/registration_api | src/cn/edu/hhu/reg/vo/DoctorLogin.java | 1216 | package cn.edu.hhu.reg.vo;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table(name="doctor_login")
public class DoctorLogin {
@Id
@GeneratedVa... | apache-2.0 |
kyleterry/sufr | pkg/ui/node_modules/remark-stringify/readme.md | 6900 | # remark-stringify
[![Build][build-badge]][build]
[![Coverage][coverage-badge]][coverage]
[![Downloads][downloads-badge]][downloads]
[![Size][size-badge]][size]
[![Chat][chat-badge]][chat]
[![Sponsors][sponsors-badge]][collective]
[![Backers][backers-badge]][collective]
[Compiler][] for [**unified**][unified].
Serial... | apache-2.0 |
ShootGame/Arcade2 | src/main/java/pl/themolka/arcade/team/TeamCommands.java | 9514 | /*
* Copyright 2018 Aleksander Jagiełło
*
* 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 ag... | apache-2.0 |
vaglucas/cafeUnoesc | twitter4j-examples/javadoc/twitter4j/examples/geo/class-use/CreatePlace.html | 4269 | <!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_25) on Tue Oct 08 12:24:28 JST 2013 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Uses of Class twitt... | apache-2.0 |
alyiwang/LeetCode | src/problems/SuperUglyNumber.java | 1548 | package problems;
import java.util.Arrays;
import java.util.PriorityQueue;
/**
* Leetcode: Super Ugly Number
* Created by alan on 2/24/2016.
*/
public class SuperUglyNumber {
class Node implements Comparable<Node> {
int val;
final int prime_index;
public Node(int value, int prime_idx) ... | apache-2.0 |
hmrc/amls-frontend | test/services/AutoCompleteServiceSpec.scala | 1305 | /*
* Copyright 2021 HM Revenue & Customs
*
* 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 a... | apache-2.0 |
infojulio/androidbible | Alkitab/src/main/java/yuku/alkitab/base/util/BookmarkImporter.java | 11461 | package yuku.alkitab.base.util;
import android.app.Activity;
import android.app.Dialog;
import android.content.Intent;
import android.database.Cursor;
import android.database.DatabaseUtils;
import android.database.sqlite.SQLiteDatabase;
import android.os.AsyncTask;
import android.support.annotation.NonNull;
import and... | apache-2.0 |
McLeodMoores/starling | projects/core/src/main/java/com/opengamma/core/region/Region.java | 3168 | /**
* Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.core.region;
import java.util.Set;
import org.joda.beans.impl.flexi.FlexiBean;
import org.threeten.bp.ZoneId;
import com.opengamma.id.ExternalBundleIdentifia... | apache-2.0 |
project-humix/humix-facerec-module | test.js | 992 | var config = require('./lib/config');
var FaceRec = require('./lib/facerec').FaceRec;
var hfr = new FaceRec(config);
// constant
var threshold = 20;
var prevX;
var prevY;
setInterval(function() {
var result = hfr.detect();
console.log('result:' + JSON.stringify(result));
if (result && result.pos_x &... | apache-2.0 |
krevelen/coala | coala-core/src/main/java/io/coala/time/NanoInstant.java | 2299 | /* $Id$
* $URL: https://dev.almende.com/svn/abms/coala-common/src/main/java/com/almende/coala/time/NanoInstant.java $
*
* Part of the EU project Adapt4EE, see http://www.adapt4ee.eu/
*
* @license
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance ... | apache-2.0 |
hongyangAndroid/CustomActivityOnCrash | library/src/main/java/cat/ereza/customactivityoncrash/activity/ClearStack.java | 596 | package cat.ereza.customactivityoncrash.activity;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import cat.ereza.customactivityoncrash.CustomActivityOnCrash;
/**
* Created by zhy on 15/8/4.
*/
public class ClearStack extends Activity
{
@Override
protected void onCr... | apache-2.0 |