repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
icclab/watchtower | README.md | 4856 | *Please note that all watchtower components are under heavy development and the norm is that things will break. Please be patient with us until the first stable release.*
<div align="center">
<img src="https://raw.githubusercontent.com/icclab/watchtower-common/master/watchtower.png" alt="Watchtower" title="Watchtower... | apache-2.0 |
NitorCreations/willow | willow-servers/src/main/java/com/nitorcreations/willow/auth/GitHubOAuthAuthenticatingFilter.java | 6779 | package com.nitorcreations.willow.auth;
import static java.nio.charset.StandardCharsets.UTF_8;
import static java.util.Collections.singletonMap;
import static java.util.Collections.unmodifiableSet;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStrea... | apache-2.0 |
oaqa/baseqa | src/main/java/edu/cmu/lti/oaqa/type/answer/AnswerType_Type.java | 4196 |
/* First created by JCasGen Sat Apr 11 19:49:33 EDT 2015 */
package edu.cmu.lti.oaqa.type.answer;
import org.apache.uima.jcas.JCas;
import org.apache.uima.jcas.JCasRegistry;
import org.apache.uima.cas.impl.CASImpl;
import org.apache.uima.cas.impl.FSGenerator;
import org.apache.uima.cas.FeatureStructure;
import org.ap... | apache-2.0 |
ArmstrongYang/StudyShare | Python-matplotlib/scatter_demo.py | 295 | """
Simple demo of a scatter plot.
"""
import numpy as np
import matplotlib.pyplot as plt
N = 50
x = np.random.rand(N)
y = np.random.rand(N)
colors = np.random.rand(N)
area = np.pi * (15 * np.random.rand(N))**2 # 0 to 15 point radii
plt.scatter(x, y, s=area, c=colors, alpha=0.5)
plt.show()
| apache-2.0 |
oriontribunal/CoffeeMud | com/planet_ink/coffee_mud/Abilities/Traps/Trap_CaveIn.java | 4993 | package com.planet_ink.coffee_mud.Abilities.Traps;
import com.planet_ink.coffee_mud.core.interfaces.*;
import com.planet_ink.coffee_mud.core.*;
import com.planet_ink.coffee_mud.core.collections.*;
import com.planet_ink.coffee_mud.Abilities.interfaces.*;
import com.planet_ink.coffee_mud.Areas.interfaces.*;
import ... | apache-2.0 |
qq54903099/atom-lang | dalgen/gen.bat | 116 | @echo off
echo ¿ªÊ¼Éú³ÉµÄDAS´úÂë[build.xml]...
rm -rf ./target
rm -rf ./logs
call ant -f ./build.xml
rem exit
| apache-2.0 |
mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Caryophyllales/Amaranthaceae/Iresine/Iresine pilgeri/README.md | 172 | # Iresine pilgeri Suess. SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
mirkosertic/Bytecoder | core/src/main/java/de/mirkosertic/bytecoder/backend/wasm/ast/I32Or.java | 902 | /*
* Copyright 2018 Mirko Sertic
*
* 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 |
OHDSI/Circe | js/modules/cohortbuilder/components/ConditionOccurrenceTemplate.html | 6023 | <div class="criteriaSection" data-bind="with: Criteria">
<div style="position: relative">
<table class="criteriaTable">
<col style="width:16px" />
<col />
<tr>
<td colspan="2"> a condition occurrence of
<select data-bind="options: $component.expression.ConceptSets.sorted,
optionsText... | apache-2.0 |
jianzhichun/mongodb-spring-cloud-config-server | src/main/frontend/src/app/app.routes.ts | 211 | import { Routes } from '@angular/router';
import { EditorComponent } from './editor/editor.component'
export const routes: Routes = [
{
path: 'config/:id',
component: EditorComponent
}
]; | apache-2.0 |
mdoering/backbone | life/Plantae/Pteridophyta/Polypodiopsida/Hymenophyllales/Hymenophyllaceae/Hymenophyllum/Sphaerocionium capillare/README.md | 189 | # Sphaerocionium capillare (Desv.) Copel. SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
lq2677/myweather | app/src/main/java/com/coolweather/android/gson/AQI.java | 223 | package com.coolweather.android.gson;
/**
* Created by LanQ on 2017/8/21 0021.
*/
public class AQI {
public AQICity city;
public class AQICity{
public String aqi;
public String pm25;
}
}
| apache-2.0 |
youtongluan/sumk | src/main/java/org/yx/validate/FieldParameterHolder.java | 2939 | /**
* Copyright (C) 2016 - 2030 youtongluan.
*
* 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... | apache-2.0 |
FrodeRanders/ensure | ppe/src/main/java/eu/ensure/ppe/AggregationLevelScore.java | 1778 | package eu.ensure.ppe;
import org.gautelis.vopn.lang.Number;
import org.gautelis.vopn.statistics.MovingAverage;
import eu.ensure.ppe.model.Consequence;
import java.util.Collection;
import java.util.LinkedList;
public class AggregationLevelScore {
public static final double FAILURE_SCORE = 0.0;
final String ... | apache-2.0 |
jentfoo/aws-sdk-java | aws-java-sdk-iot1clickprojects/src/main/java/com/amazonaws/services/iot1clickprojects/model/DescribePlacementRequest.java | 5307 | /*
* Copyright 2014-2019 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 |
ntgnst/ProjectManagementSystem | PMS.Data/Models/Status.cs | 389 | using System;
using System.Collections.Generic;
namespace PMS.Data.Models
{
public partial class Status
{
public Status()
{
Issue = new HashSet<Issue>();
}
public int Id { get; set; }
public string Name { get; set; }
public short Priority { get; set... | apache-2.0 |
SSEHUB/EASyProducer | Plugins/VarModel/Utils/src/net/ssehub/easy/basics/modelManagement/VersionedModelInfos.java | 21315 | /*
* Copyright 2009-2015 University of Hildesheim, Software Systems Engineering
*
* 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 |
dtgm/chocolatey-packages | automatic/_output/firefox-nightly/61.0.1.2018032100/tools/chocolateyUninstall.ps1 | 817 | $packageName = 'firefox-nightly'
$softwareVersion = '61.0.1.2018032100-alpha' -Replace "^(\d+)\.(\d+)\.(\d+)[^-]+-([a-z]).*",'$1.$2$4$3'
$softwareName = "Nightly $softwareVersion*"
$installerType = 'exe'
$silentArgs = '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-'
$validExitCodes = @(0)
[array]$key = Get-UninstallReg... | apache-2.0 |
boyan-velinov/cf-mta-deploy-service | com.sap.cloud.lm.sl.cf.core/src/test/java/com/sap/cloud/lm/sl/cf/core/liquibase/TransformFilterColumnTest.java | 3357 | package com.sap.cloud.lm.sl.cf.core.liquibase;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import java.util.HashMap;
import java.util.Map;
import org.junit.Test;
import com.sap.cloud.lm.sl.cf.core.model.CloudTarget;
import com.sap.cloud.lm.sl.cf.core.util.Confi... | apache-2.0 |
shaoxuan-wang/flink | flink-table/flink-table-runtime-blink/src/main/java/org/apache/flink/table/runtime/match/BaseRowEventComparator.java | 1790 | /*
* 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 |
GuillaumeOcculy/anfshift_paris | view/register.php | 2939 | <?php
/**
* Created by JetBrains PhpStorm.
* User: occul_000
* Date: 03/03/13
* Time: 19:45
* To change this template use File | Settings | File Templates.
*/
?>
<!DOCTYPE html>
<html>
<head>
<title>AnfShift</title>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js... | apache-2.0 |
jonyadamit/elasticsearch-net | src/Nest/Cluster/ClusterStats/ClusterIndicesStats.cs | 1939 |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Nest
{
[JsonObject]
public class ClusterIndicesStats
{
[JsonProperty("completion")]
public CompletionStats Completion { get; internal set; }
[JsonProperty("count")]
public long Count { g... | apache-2.0 |
bitsetd4d/log999-large-log-viewer | src/test/java/com/log999/task/TestUtil.java | 220 | package com.log999.task;
public class TestUtil {
public static void sleepMs(long ms) {
try {
Thread.sleep(ms);
} catch (InterruptedException e) {
// ignore
}
}
}
| apache-2.0 |
mufaddalq/cloudstack-datera-driver | api/src/org/apache/cloudstack/api/command/admin/host/AddHostCmd.java | 5997 | // 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 |
greyp9/arwo | README.md | 3220 | # Arwo Web Application
Arwo is a web application hosted in the Apache Tomcat web container. It is designed to provide for easy web access to
remote servers. Its features include:
* browse the filesystems of SSH servers
* browse the filesystems of CIFS servers
* browse the filesystems of WebDAV servers
* run SQL com... | apache-2.0 |
stevenhva/InfoLearn_OpenOLAT | src/main/java/org/olat/user/_content/pwdav.html | 526 | <fieldset>
<legend>$r.translate("pwdav.title")</legend>
$r.contextHelpWithWrapper("org.olat.core.commons.modules.bc","bc-webdav.html","help.hover.webdav")
<p>$r.translate("pwdav.description")</p>
#if($webdavhttps)
<p>
<code>$webdavhttps</code>
</p>
#if ($webdavhttp)
<p >
$r.translate('webdav.link.h... | apache-2.0 |
drzaeus77/docker-plugin | iovplug/config.go | 694 | // Copyright 2015 PLUMgrid
//
// 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... | apache-2.0 |
yongli3/rt-thread | bsp/stm32f10x-HAL/drivers/drv_usart.c | 12506 | /*
* File : drv_usart.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006-2013, RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rt-thread.org/license/LICENSE
*
* Change Logs:
* Date ... | apache-2.0 |
SAP/openui5 | src/sap.ui.core/test/sap/ui/core/demokit/sample/odata/v4/MusicArtists/PublicationObjectPage.controller.js | 1423 | sap.ui.define([
"sap/ui/core/UIComponent",
"sap/ui/core/mvc/Controller",
"sap/ui/core/routing/History",
"sap/ui/model/json/JSONModel"
], function (UIComponent, Controller, History, JSONModel) {
"use strict";
return Controller.extend("sap.ui.core.sample.odata.v4.MusicArtists.PublicationObjectPage", {
_onObjectM... | apache-2.0 |
approvals/Approvals.NodeJS | lib/Reporting/Reporters/beyondcompareReporter.js | 860 | var autils = require('../../AUtils');
var osTool = require('../../osTools');
var shelljs = require('shelljs');
var GenericDiffReporterBase = require('../GenericDiffReporterBase');
class Reporter extends GenericDiffReporterBase {
constructor() {
super("BeyondCompare");
var app = null;
if (osTool.platfo... | apache-2.0 |
McLeodMoores/starling | projects/financial/src/main/java/com/opengamma/financial/analytics/model/black/BlackDiscountingPositionGammaIRFutureOptionFunction.java | 3204 | /**
* Copyright (C) 2013 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.financial.analytics.model.black;
import static com.opengamma.engine.value.ValueRequirementNames.POSITION_GAMMA;
import java.util.Collections;
import java.util... | apache-2.0 |
tmtweb/tmt-web | about.html | 8522 | <!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="Translating Anything from Anywhere">
<meta name="author" content="TranslateMEt... | apache-2.0 |
wanhao/IRIndex | docs/apidocs/org/apache/hadoop/hbase/rest/model/class-use/TableSchemaModel.html | 9245 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_45) on Fri Jan 10 21:37:07 UTC 2014 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Uses of Class org.apache.hadoop.h... | apache-2.0 |
oklog/ulid | ulid.go | 20673 | // Copyright 2016 The Oklog 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
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in w... | apache-2.0 |
multi-os-engine/moe-core | moe.apple/moe.platform.ios/src/main/java/apple/uikit/NSParagraphStyle.java | 11103 | /*
Copyright 2014-2016 Intel Corporation
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, s... | apache-2.0 |
seasarorg/s2dao | s2-dao/src/main/java/org/seasar/dao/node/IfNode.java | 2029 | /*
* Copyright 2004-2011 the Seasar Foundation and the Others.
*
* 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 ... | apache-2.0 |
SEEG-Oxford/ABRAID-MP | src/Common/test/uk/ac/ox/zoo/seeg/abraid/mp/common/service/workflow/support/extent/DiseaseExtentGenerationOutputDataTest.java | 1345 | package uk.ac.ox.zoo.seeg.abraid.mp.common.service.workflow.support.extent;
import org.junit.Test;
import uk.ac.ox.zoo.seeg.abraid.mp.common.domain.DiseaseExtentClass;
import uk.ac.ox.zoo.seeg.abraid.mp.common.domain.DiseaseOccurrence;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
impo... | apache-2.0 |
spohnan/geowave | core/mapreduce/src/main/java/org/locationtech/geowave/mapreduce/HadoopDataAdapter.java | 1132 | /**
* Copyright (c) 2013-2019 Contributors to the Eclipse Foundation
*
* <p> See the NOTICE file distributed with this work for additional information regarding copyright
* ownership. All rights reserved. This program and the accompanying materials are made available
* under the terms of the Apache License, Versio... | apache-2.0 |
summerpulse/amlexo | src/com/google/android/exoplayer/MediaFormat.java | 8647 | /*
* Copyright (C) 2014 The Android Open Source Project
*
* 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 |
wealthfront/kawala | kawala-testing/src/main/java/com/kaching/platform/testing/AllowDNSResolution.java | 1246 | /**
* Copyright 2010 Wealthfront 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 in writing... | apache-2.0 |
gawkermedia/googleads-java-lib | modules/adwords_axis/src/main/java/com/google/api/ads/adwords/axis/v201601/o/TargetingIdea.java | 5645 | /**
* TargetingIdea.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Mar 02, 2009 (07:08:06 PST) WSDL2Java emitter.
*/
package com.google.api.ads.adwords.axis.v201601.o;
/**
* Represents a {@link TargetingIdea} returned by search criteria
* specified in
* the {@link Target... | apache-2.0 |
gawkermedia/googleads-java-lib | modules/dfp_appengine/src/main/java/com/google/api/ads/dfp/jaxws/v201511/SwiffyConversionErrorReason.java | 1709 |
package com.google.api.ads.dfp.jaxws.v201511;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for SwiffyConversionError.Reason.
*
* <p>The following schema fragment specifies the expected content contained within this class.
* <p>
* <pre>
* <simpleTy... | apache-2.0 |
KnowledgeLinks/dpla-service-hub | api.py | 14727 | """REST API for DP.LA Service Hub BIBCAT Aggregator Feed"""
__author__ = "Jeremy Nelson, Mike Stabile"
import click
import datetime
import json
import math
import os
import pkg_resources
import xml.etree.ElementTree as etree
import requests
import rdflib
import urllib.parse
import reports
import bibcat.rml.processor ... | apache-2.0 |
mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Brassicales/Brassicaceae/Noccaea/Noccaea sintenisii/Thlaspi sintenisii sintenisii/README.md | 181 | # Thlaspi sintenisii subsp. sintenisii SUBSPECIES
#### Status
ACCEPTED
#### According to
NUB Generator [autonym]
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
Clydeside/ALipatov | chapter_003/src/main/java/ru/job4j/convertation/ConvertList.java | 1197 | package ru.job4j.convertation;
import java.util.ArrayList;
import java.util.List;
public class ConvertList {
public ArrayList<Integer> toList(int[][] array) {
ArrayList<Integer> list = new ArrayList<>();
for (int i = 0; i < array.length; i++) {
for (int j = 0; j < array.length; j++) {
... | apache-2.0 |
copy4dev/jee-base | src/main/java/com/cn/jee/modules/qrtz/web/QrtzJobDetailsController.java | 3376 | /**
* Copyright © 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
*/
package com.cn.jee.modules.qrtz.web;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import or... | apache-2.0 |
ebean-orm/ebean-orm.github.io | apidoc/11/src-html/io/ebean/config/dbplatform/postgres/PostgresDbEncrypt.html | 3927 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<title>Source code</title>
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
</head>
<body>
<div class="sourceContainer">
<pre><span class="sourceLin... | apache-2.0 |
resin-io-library/base-images | balena-base-images/python/orange-pi-zero/debian/bookworm/3.7.12/run/Dockerfile | 4099 | # AUTOGENERATED FILE
FROM balenalib/orange-pi-zero-debian:bookworm-run
# remove several traces of debian python
RUN apt-get purge -y python.*
# http://bugs.python.org/issue19846
# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
ENV LANG C.UTF-8
# install python... | apache-2.0 |
Gaia3D/mago3d | mago3d-user/src/main/java/gaia3d/domain/YOrN.java | 52 | package gaia3d.domain;
public enum YOrN {
Y,
N;
} | apache-2.0 |
Shmuma/hbase | docs/apidocs/org/apache/hadoop/hbase/rest/protobuf/generated/class-use/CellMessage.html | 6477 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_20) on Mon Jul 18 08:23:49 PDT 2011 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Uses of Class org.apache.hadoop.h... | apache-2.0 |
hongqixianfeng/test1111 | README.md | 23 | # test1111
it's a test
| apache-2.0 |
skluth/RooUnfold | src/RooUnfold.h | 11186 | //=====================================================================-*-C++-*-
// File and Version Information:
// $Id$
//
// Description:
// Unfolding framework base class.
//
// Author: Tim Adye <T.J.Adye@rl.ac.uk>
//
//==============================================================================
#ifnde... | apache-2.0 |
elodina/zipkin-mesos-framework | src/main/scala/net/elodina/mesos/zipkin/Config.scala | 4072 | /**
* 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 |
zynxhealth/zaws | lib/zaws/external/awscli/commands/elb/register_instances_with_load_balancer.rb | 1154 | module ZAWS
class External
class AWSCLI
class Commands
class ELB
class RegisterInstancesWithLoadBalancer
def initialize(shellout=nil, awscli=nil)
@shellout=shellout
@awscli=awscli
clear_settings
self
... | apache-2.0 |
chromeos/chromeos.dev | lib/filters/component-has-docs.js | 1060 | /*
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the 'License');
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | apache-2.0 |
obourgain/elasticsearch-http | src/test/java/com/github/obourgain/elasticsearch/http/handler/document/termvectors/TermVectorResponseTest.java | 1278 | package com.github.obourgain.elasticsearch.http.handler.document.termvectors;
import static com.github.obourgain.elasticsearch.http.TestFilesUtils.readFromClasspath;
import static org.assertj.core.api.Assertions.assertThat;
import org.elasticsearch.common.bytes.BytesArray;
import org.junit.Test;
import com.github.obou... | apache-2.0 |
cackharot/ngen-milk-pos | deploy.sh | 209 | #!/bin/bash
(python setup.py bdist_wheel;scp dist/mpos-1.0.0-py2-none-any.whl pi@pi:~/mpos.zip; ssh pi@pi 'unzip -uoq mpos.zip'; ssh pi@pi 'chmod +x ~/mpos/web/runprod.sh'; ssh pi@pi '~/mpos/web/runprod.sh';)
| apache-2.0 |
mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Gentianales/Rubiaceae/Argostemma/Argostemma annamiticum/README.md | 186 | # Argostemma annamiticum Ridl. SPECIES
#### Status
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
google/brailleback | braille/brailleback/src/com/googlecode/eyesfree/brailleback/DisplayManager.java | 48343 | /*
* Copyright (C) 2012 Google 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 |
heriram/incubator-asterixdb | hyracks-fullstack/hyracks/hyracks-tests/hyracks-storage-am-lsm-invertedindex-test/src/test/java/org/apache/hyracks/storage/am/lsm/invertedindex/util/LSMInvertedIndexTestUtils.java | 31192 | /*
* 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 |
acrosoft-be/shared | Dispatch/src/main/java/be/acrosoft/gaia/shared/dispatch/WeakListener.java | 1283 | /**
* Copyright Acropolis Software SPRL (https://www.acrosoft.be)
*
* 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 b... | apache-2.0 |
shigengyu/Hyperion | src/main/java/com/shigengyu/hyperion/core/TransitionCompensator.java | 1103 | /*******************************************************************************
* Copyright 2013-2014 Gengyu (Univer) Shi
*
* 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:... | apache-2.0 |
mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Rosales/Rosaceae/Rosa/Rosa oederiana/README.md | 171 | # Rosa oederiana Tratt. SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
smartliby/smartliby.github.io | source/_posts/2014-05-26-设计模式13之-门面-Facade-模式-结构模式.md | 9331 | ---
title: 设计模式13之 门面(Facade)模式(结构模式)
date: 2014-05-26 11:09:23
categories:
- 设计模式
tags:
- java
- 门面模式
---
# 门面模式简介
门面模式是对象的结构模式,外部与一个子系统的通信必须通过一个统一的门面对象进行。门面模式提供一个高层次的接口,使得子系统更易于使用。
举个例子,
病人去医院看病,如果把医院作为一个子系统,按照部门职能,这个系统可以划分为挂号、门诊、划价、化验、收费、取药等。看病的病人要与这些部门打交道,就如同一个子系统的客户端与一个子系统的各个类打交道一样,不是一件容易的事情:首先病人必须先挂号,然后门诊;如果... | apache-2.0 |
mdoering/backbone | life/Plantae/Magnoliophyta/Liliopsida/Arecales/Arecaceae/Coelococcus/README.md | 168 | # Coelococcus H.Wendl. GENUS
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
tanglei528/nova | nova/db/api.py | 65070 | # Copyright (c) 2011 X.commerce, a business unit of eBay Inc.
# Copyright 2010 United States Government as represented by the
# Administrator of the National Aeronautics and Space Administration.
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file... | apache-2.0 |
KiviMao/kivi | Script/Show-Comments-story/Get-All-User.py | 1268 | #!/usr/bin/python3
import MySQLdb
import os
import re
db = MySQLdb.connect("etos39.cn.ao.ericsson.se","automation","automation","gerrit_data_new")
# db = MySQLdb.connect("localhost","root","root","work" )
cursor = db.cursor()
cursor.execute('SELECT reviewer_username FROM comments GROUP BY reviewer_username')
users... | apache-2.0 |
WarlockD/arm-cortex-v7-unix | f9_os/src/xx6/main.c | 4156 | // BSP support routine
#define __KERNEL__
#include "types.h"
#include "defs.h"
#include "param.h"
#include "arm.h"
#include "proc.h"
#include "mpu.h"
#include "buf.h"
#include "fs.h"
#include "file.h"
#include <assert.h>
#include <string.h>
#include <stm32746g_discovery.h>
#include "sysfile.h"
void trace_printf(const ... | apache-2.0 |
studiodev/archives | 2005 - PortiX-Team (CMS)/pages/matchs.php | 5562 | <?php
switch (@$_GET['action']) {
default:
$query = "SELECT * FROM ix_matchs ORDER BY id DESC";
$sql = mysql_query($query);
$texte='<br><table class="liste_table" cellpadding=0 cellspacing=2 align="center">
<tr>
<td class="liste_titre" width=20%>Date</td>
<td class="liste_titre" width... | apache-2.0 |
nagyistoce/TinCan.NET | TinCan/RemoteLRS.cs | 24709 | /*
Copyright 2014 Rustici Software
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 t... | apache-2.0 |
Zebbeni/alien-empire | client/game_board.js | 3574 | var stage, board, tiles, fleets, scale, sWid, is_dragging;
var lastMouse = { x:0, y:0 };
var is_dragging = false;
$(document).ready(function() {
init_stage();
document.addEventListener('keyup', handleKeyUp, false);
document.addEventListener('keydown', handleKeyDown, false);
loadLobby();
});
/**
* Called from ... | apache-2.0 |
mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Fabales/Fabaceae/Vigna/Vigna frutescens/ Syn. Vigna keniensis/README.md | 178 | # Vigna keniensis Harms SPECIES
#### Status
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
ptinsley/fling | vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/conversion_action_error.pb.go | 8831 | // Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/ads/googleads/v1/errors/conversion_action_error.proto
package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v1/errors"
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import _ "google.golang.... | apache-2.0 |
mirkosertic/Bytecoder | integrationtest/src/main/java/de/mirkosertic/bytecoder/integrationtest/JBox2DSimulation.java | 10500 | /*
* Copyright 2017 Mirko Sertic
*
* 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 |
legionus/origin | pkg/network/node/egressip.go | 6103 | // +build linux
package node
import (
"fmt"
"net"
"sync"
"syscall"
"github.com/golang/glog"
utilruntime "k8s.io/apimachinery/pkg/util/runtime"
"github.com/openshift/origin/pkg/network/common"
networkinformers "github.com/openshift/origin/pkg/network/generated/informers/internalversion"
"github.com/vishvan... | apache-2.0 |
googleinterns/calcite | core/src/main/java/org/apache/calcite/sql/SqlSelectOperator.java | 8563 | /*
* 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 |
dbflute-test/dbflute-test-active-hangar | src/main/java/org/docksidestage/hangar/dbflute/dtomapper/MemberServiceDtoMapper.java | 776 | package org.docksidestage.hangar.dbflute.dtomapper;
import java.util.Map;
import org.dbflute.Entity;
import org.docksidestage.hangar.dbflute.dtomapper.bs.BsMemberServiceDtoMapper;
/**
* The DTO mapper of MEMBER_SERVICE.
* <p>
* You can implement your original methods here.
* This class remains when re... | apache-2.0 |
aaronpmishkin/CUCSC-ValueCharts | client/modules/ValueChart/interactions/ReorderObjectives.interaction.ts | 17688 | /*
* @Author: aaronpmishkin
* @Date: 2016-06-17 09:05:15
* @Last Modified by: aaronpmishkin
* @Last Modified time: 2017-06-02 17:48:12
*/
// Import Angular Classes:
import { Injectable } from '@angular/core';
import { NgZone } from '@angular/core';
// Import Libraries:
import * as d3 ... | apache-2.0 |
googleads/googleads-java-lib | modules/dfp_axis/src/main/java/com/google/api/ads/admanager/axis/v202105/CdnConfigurationService.java | 1308 | // Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writi... | apache-2.0 |
talsma-ict/umldoclet | src/plantuml-asl/src/net/sourceforge/plantuml/creole/command/CommandCreoleSprite.java | 2672 | /* ========================================================================
* PlantUML : a free UML diagram generator
* ========================================================================
*
* (C) Copyright 2009-2020, Arnaud Roques
*
* Project Info: https://plantuml.com
*
* If you like this project or if ... | apache-2.0 |
sh1n1xs/TrashyWindowControl | TrashyWindowControlExamples/SetCoordinatesExample/Program.cs | 2416 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Threading;
using System.Diagnostics;
using TrashyWindowControl;
namespace SetCoordinatesExample
{
class Program
{
static void Main(string[] args)
{
... | apache-2.0 |
SES-fortiss/SmartGridCoSimulation | core/cim15/src/CIM15/IEC61968/Metering/EndDeviceControl.java | 33206 | /**
*/
package CIM15.IEC61968.Metering;
import CIM15.IEC61968.Customers.CustomerAgreement;
import CIM15.IEC61968.Customers.CustomersPackage;
import CIM15.IEC61970.Core.IdentifiedObject;
import CIM15.IEC61970.Domain.DateTimeInterval;
import org.eclipse.emf.common.notify.NotificationChain;
import org.eclipse.emf.ec... | apache-2.0 |
morelinq/MoreLINQ | MoreLinq/FullJoin.cs | 12941 | #region License and Terms
// MoreLINQ - Extensions to LINQ to Objects
// Copysecond (c) 2017 Atif Aziz. All seconds 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
//
// htt... | apache-2.0 |
cilium/cilium | pkg/hubble/filters/filters_test.go | 3264 | // SPDX-License-Identifier: Apache-2.0
// Copyright Authors of Hubble
//go:build !privileged_tests
// +build !privileged_tests
package filters
import (
"context"
"testing"
"github.com/stretchr/testify/assert"
flowpb "github.com/cilium/cilium/api/v1/flow"
v1 "github.com/cilium/cilium/pkg/hubble/api/v1"
)
func... | apache-2.0 |
Dataman-Cloud/drone | vendor/github.com/go-swagger/go-swagger/examples/generated/restapi/operations/pet/delete_pet_responses.go | 655 | package pet
// This file was generated by the swagger tool.
// Editing this file might prove futile when you re-run the swagger generate command
import (
"net/http"
"github.com/go-swagger/go-swagger/httpkit"
)
/*DeletePetBadRequest Invalid pet value
swagger:response deletePetBadRequest
*/
type DeletePetBadReques... | apache-2.0 |
geftimov/MapReduce | src/main/java/com/eftimoff/mapreduce/filtering/distinct/DistinctUser.java | 2821 | package com.eftimoff.mapreduce.filtering.distinct;
import static com.eftimoff.mapreduce.utils.MRDPUtils.transformXmlToMap;
import java.io.IOException;
import java.util.Map;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.conf.Configured;
import org.apache.hadoop.fs.Path;
import org.apache.hadoo... | apache-2.0 |
brettfo/roslyn | src/Compilers/CSharp/Portable/Symbols/Synthesized/SynthesizedEmbeddedNativeIntegerAttributeSymbol.cs | 4340 | // 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;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using... | apache-2.0 |
bytedance/fedlearner | web_console_v2/client/src/views/Datasets/CreateDataset/index.tsx | 2390 | import React, { FC, useState } from 'react';
import styled from 'styled-components';
import { Modal } from 'antd';
import { Z_INDEX_GREATER_THAN_HEADER } from 'components/Header';
import { useHistory } from 'react-router-dom';
import { useTranslation } from 'react-i18next';
import { useToggle } from 'react-use';
import... | apache-2.0 |
ChenJonathan/Argon | docs/classes/messageeventlike.html | 11467 | <!doctype html>
<html class="default no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>MessageEventLike | argon.js</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../asse... | apache-2.0 |
GunoH/intellij-community | platform/lang-impl/src/com/intellij/ide/hierarchy/TypeHierarchyBrowserBase.java | 6301 | // Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.ide.hierarchy;
import com.intellij.history.LocalHistory;
import com.intellij.history.LocalHistoryAction;
import com.intellij.ide.DeletePro... | apache-2.0 |
patrickfav/tuwien | master/SB_task2/src/exceptions/IDaoSaveException.java | 325 | package exceptions;
public class IDaoSaveException extends Exception{
private static final long serialVersionUID = 8041577551538125989L;
public IDaoSaveException() {
super();
}
public IDaoSaveException(String msg) {
super(msg);
}
public IDaoSaveException(String msg,Throwable cause) {
super(msg,cause);
}... | apache-2.0 |
bytescout/ByteScout-SDK-SourceCode | Barcode Suite/Delphi/Generate barcode from console with barcode sdk/README.md | 18618 | ## How to generate barcode from console with barcode sdk in Delphi with ByteScout Barcode Suite
### Step-by-step tutorial on how to generate barcode from console with barcode sdk in Delphi
The sample source code below will teach you how to generate barcode from console with barcode sdk in Delphi. ByteScout Barcode Su... | apache-2.0 |
mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Santalales/Loranthaceae/Aetanthus/Aetanthus engelsii/README.md | 174 | # Aetanthus engelsii Engl. SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
mdoering/backbone | life/Plantae/Rhodophyta/Florideophyceae/Palmariales/Palmariaceae/Palmaria/Palmaria palmata/ Syn. Rhodymenia palmata sarniensis/README.md | 207 | # Rhodymenia palmata var. sarniensis (Roth) Greville VARIETY
#### 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/Liliopsida/Asparagales/Orchidaceae/Dendrobium/Dendrobium sinuosum/ Syn. Aporum sinuosum/README.md | 189 | # Aporum sinuosum (Ames) M.A.Clem. 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/Liliopsida/Asparagales/Orchidaceae/Camaridium/Camaridium vestitum/ Syn. Ornithidium parviflorum/README.md | 205 | # Ornithidium parviflorum (Poepp. & Endl.) Rchb.f. 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/Spermacoce/Spermacoce stachydea/ Syn. Borreria stachydea phyllocephala/README.md | 194 | # Borreria stachydea var. phyllocephala VARIETY
#### 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/Rosales/Rosaceae/Mespilus/Mespilus quitensis/README.md | 175 | # Mespilus quitensis K.Koch SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
mdoering/backbone | life/Fungi/Ascomycota/Dothideomycetes/Capnodiales/Mycosphaerellaceae/Septoria/Septoriopsis citri/README.md | 248 | # Septoriopsis citri Gonz. Frag. SPECIES
#### Status
ACCEPTED
#### According to
Index Fungorum
#### Published in
Boln de la Real Soc. Españ. Hist. Nat. , Madrid 15: 127 (1915)
#### Original name
Septoriopsis citri Gonz. Frag.
### Remarks
null | apache-2.0 |
mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Saxifragales/Crassulaceae/Sedum/Sedum wuianum/README.md | 171 | # Sedum wuianum K.S.Hao SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |