code stringlengths 3 1.01M | repo_name stringlengths 5 116 | path stringlengths 3 311 | language stringclasses 30
values | license stringclasses 15
values | size int64 3 1.01M |
|---|---|---|---|---|---|
# Pyrus mamorensis var. brevipes Emb. & Maire VARIETY
#### Status
DOUBTFUL
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Rosales/Rosaceae/Pyrus/Pyrus mamorensis/Pyrus mamorensis brevipes/README.md | Markdown | apache-2.0 | 201 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<script src="Rect.js"></script>
</head>
<body>
<canvas width="550" height="400" id="canvas"></canvas>
<script src="main.js"></script>
</body>
</html> | plter/HTML5Course20160612 | 20160628/HandleEvent/index.html | HTML | apache-2.0 | 246 |
/*
*
* LegendShop 多用户商城系统
*
* 版权所有,并保留所有权利。
*
*/
package com.legendshop.business.dao;
import com.legendshop.core.dao.BaseDao;
import com.legendshop.model.entity.VisitLog;
/**
* The Interface VisitLogDao.
*/
public interface VisitLogDao extends BaseDao {
/**
* Update visit log.
*
* @param visitLog... | 8090boy/gomall.la | legendshop/src/java/com/legendshop/business/dao/VisitLogDao.java | Java | apache-2.0 | 909 |
using System;
using Independentsoft.Office;
using Independentsoft.Office.Word;
using Independentsoft.Office.Word.Tables;
namespace Sample
{
class Program
{
static void Main(string[] args)
{
WordDocument doc = new WordDocument();
Run run1 = new Run("Quantity");
... | AndreKuzubov/Easy_Report | packages/Independentsoft.Office.Word.2.0.400/Tutorial/SetCellColor/Program.cs | C# | apache-2.0 | 3,227 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>Netty Source Xref (3.10.1.Final) Package org.jboss.netty.example.http.websocketx.server</title>
<link r... | anmei/netty-3.10.1.Final | doc/xref/org/jboss/netty/example/http/websocketx/server/package-summary.html | HTML | apache-2.0 | 2,627 |
package com.whenling.extension.mall.order.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import javax.validation.constraints.Min;
import javax.... | xiangxik/java-platform | extension/extension-mall/src/main/java/com/whenling/extension/mall/order/model/ShippingItem.java | Java | apache-2.0 | 1,732 |
/*
* Copyright 2018 75py
*
* 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... | 75py/Download-Confirm | app/src/androidTest/java/com/nagopy/android/downloadconfirm/extension/ZipHookTest.java | Java | apache-2.0 | 1,193 |
<link href="css/stickyfooter.css" rel="stylesheet">
<footer class="footer">
<div class="container">
<div class="row">
<div class="col-md-4">
<span class="copyright">Copyright © CS KickStart 2015</span>
</div>
<div class="col-md-4">
<ul class="list-inline social-buttons">
... | cskickstart/cskickstart.github.io | footer.html | HTML | apache-2.0 | 976 |
// Copyright 2018 The OpenSDS 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 agre... | opensds/nbp | csi/util/util.go | GO | apache-2.0 | 2,556 |
# Diversiphyllum C. Buzek, 1971 GENUS
#### Status
ACCEPTED
#### According to
IRMNG Homonym List
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Solanales/Convolvulaceae/Diversiphyllum/README.md | Markdown | apache-2.0 | 164 |
// Copyright 2015 CoreOS, 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... | gizmotronic/os | config/cloudinit/datasource/proccmdline/proc_cmdline.go | GO | apache-2.0 | 2,692 |
package com.suscipio_solutions.consecro_mud.Abilities.Druid;
import java.util.Vector;
import com.suscipio_solutions.consecro_mud.Abilities.interfaces.Ability;
import com.suscipio_solutions.consecro_mud.Common.interfaces.CMMsg;
import com.suscipio_solutions.consecro_mud.Items.interfaces.Food;
import com.suscipio_soluti... | ConsecroMUD/ConsecroMUD | com/suscipio_solutions/consecro_mud/Abilities/Druid/Chant_SummonFood.java | Java | apache-2.0 | 3,609 |
/*
Copyright 2005-2015 Red Hat, Inc.
Red Hat licenses this file to you 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 ap... | yuruki/fuse-autoscale | src/main/java/com/github/yuruki/fuse/autoscale/AutoScaleController.java | Java | apache-2.0 | 14,893 |
/*
* Copyright 2022 The Hekate Project
*
* The Hekate Project licenses this file to you 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 ... | hekate-io/hekate | hekate-core/src/test/java/io/hekate/cluster/ClusterServiceJmxTest.java | Java | apache-2.0 | 3,232 |
//---------------------------------------------------------- -*- Mode: C++ -*-
// $Id: KfsWriter_main.cc 71 2008-07-07 15:49:14Z sriramsrao $
//
// Created 2006/06/23
//
// Copyright 2008 Quantcast Corp.
// Copyright 2006-2008 Kosmix Corp.
//
// This file is part of Kosmos File System (KFS).
//
// Licensed under the A... | nzinfo/my-kfs-022 | src/cc/tests/KfsWriter_main.cc | C++ | apache-2.0 | 5,421 |
// 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... | andrwng/kudu | src/kudu/tablet/rowset.cc | C++ | apache-2.0 | 9,246 |
/**
* @version: 1.0.1
* @author: Dan Grossman http://www.dangrossman.info/
* @date: 2012-08-20
* @copyright: Copyright (c) 2012 Dan Grossman. All rights reserved.
* @license: Licensed under Apache License v2.0. See http://www.apache.org/licenses/LICENSE-2.0
* @website: http://www.improvely.com/
*/
!function ($) {
... | healerkx/AdminBuildr | www/view/media/js/daterangepicker.js | JavaScript | apache-2.0 | 21,817 |
package org.easyarch.netpet.web.http.session.impl;
import org.easyarch.netpet.web.http.session.HttpSession;
import org.easyarch.netpet.kits.TimeKits;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
/**
* Created by xingtianyu on 17-3-14
* 下午8:35
* description:session,在HandlerContext处实现了主动淘汰... | rpgmakervx/netpet | src/main/java/org/easyarch/netpet/web/http/session/impl/DefaultHttpSession.java | Java | apache-2.0 | 1,766 |
<!--- 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 ... | mlperf/training_results_v0.7 | Fujitsu/benchmarks/resnet/implementations/implementation_open/mxnet/docs/python_docs/python/tutorials/packages/gluon/training/trainer.md | Markdown | apache-2.0 | 9,401 |
#!/bin/bash
#
# modify by hiyang @ 2016-12-19
#
Install-JDK18() {
pushd ${oneinstack_dir}/src
JDK_FILE="jdk-`echo $jdk18_version | awk -F. '{print $2}'`u`echo $jdk18_version | awk -F_ '{print $NF}'`-linux-$SYS_BIG_FLAG.tar.gz"
JAVA_dir=/usr/java
JDK_NAME="jdk$jdk18_version"
JDK_PATH=$JAVA_dir/$JDK_NAME
... | PoplarYang/oneinstack-odm | include/jdk-1.8.sh | Shell | apache-2.0 | 1,584 |
// -*- coding: us-ascii-unix -*-
// Copyright 2012 Lukas Kemmer
//
// 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 a... | tectronics/faint-graphics-editor | commands/resize-cmd.cpp | C++ | apache-2.0 | 3,344 |
Database.Dispose Method (Boolean)
=================================
Releases the resources used by this [Database][1] instance.
**Namespace:** [DbExtensions][2]
**Assembly:** DbExtensions (in DbExtensions.dll)
Syntax
------
```csharp
protected virtual void Dispose(
bool disposing
)
```
#### Parameters
###... | maxtoroq/DbExtensions | docs/api/DbExtensions/Database/Dispose_1.md | Markdown | apache-2.0 | 645 |
package com.planet_ink.coffee_mud.Abilities.Skills;
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... | bozimmerman/CoffeeMud | com/planet_ink/coffee_mud/Abilities/Skills/Skill_BoulderThrowing.java | Java | apache-2.0 | 10,515 |
/*******************************************************************************
* Copyright 2012 Manning Publications Co.
*
* 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
*
* ... | fmui/ApacheChemistryInAction | chapter10/android/src/com/manning/cmis/theblend/android/tracks/TracksAdapter.java | Java | apache-2.0 | 4,768 |
package com.tle.webtests.pageobject.viewitem;
import com.google.common.base.Function;
import com.google.common.collect.Lists;
import com.tle.webtests.framework.PageContext;
import com.tle.webtests.pageobject.AbstractPage;
import java.util.List;
import org.openqa.selenium.By;
import org.openqa.selenium.NoSuchElementExc... | equella/Equella | autotest/Tests/src/main/java/com/tle/webtests/pageobject/viewitem/TermsOfUsePage.java | Java | apache-2.0 | 1,286 |
export interface IFeatureResponse {
result: IFeature[];
lastUpdated: number;
}
export interface IFeature {
id: string;
openEstimate: number;
inProgressEstimate: number;
completeEstimate: number;
}
| capitalone/Hygieia | src/app/widget_modules/feature/interfaces.ts | TypeScript | apache-2.0 | 211 |
package spot.scripts;
import org.openqa.selenium.WebElement;
import org.testng.Assert;
import org.testng.annotations.*;
import spot.BaseSelenium;
import spot.components.NewActionComponent;
public class LimitedAccessForNruTest extends BaseSelenium {
@BeforeClass
public void beforeClass() {
navigateT... | imeji-community/imeji-gui-testing | src/spot/scripts/LimitedAccessForNruTest.java | Java | apache-2.0 | 749 |
# Chamaedorea sullivaniorum Hodel & N.W.Uhl SPECIES
#### Status
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Liliopsida/Arecales/Arecaceae/Chamaedorea/Chamaedorea pumila/ Syn. Chamaedorea sullivaniorum/README.md | Markdown | apache-2.0 | 198 |
//Server settings for android push notifications with node-gcm
// Load modules
var express = require('express');
var gcm = require('node-gcm');
// The apiKey of your project on FCM
var app = express();
//var apiKey = "AAAAjo8JDg0:APA91bEkbzZbEgR7eXY1jKgmJZhoW3GaNmRYf5yICNQQEOcaHxZuYtOKLNSK98T9aFAiUpkLUukldgsYDPBvVcEW... | parmantolab/ionic-push-notification-wrapper | server/gcmservice.js | JavaScript | apache-2.0 | 7,393 |
<!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>Drnek piana - CRM</title>
... | hlavi01/pianos | pages/tables.html | HTML | apache-2.0 | 61,528 |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// 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: 2016.04.... | lvecera/FederatedBus | src/main/java/org/jboss/bus/config/model/ObjectFactory.java | Java | apache-2.0 | 2,376 |
const { dest, series, src, symlink } = require('gulp');
const del = require('del');
const inject = require('gulp-inject');
const map = require('map-stream')
const path = require('path');
const rename = require('gulp-rename');
const sort = require('gulp-sort');
function deleteSymlinks() {
return del(['components/mo... | kevinearls/camel | docs/gulpfile.js | JavaScript | apache-2.0 | 2,100 |
<!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_65) on Mon Apr 04 02:08:28 MDT 2016 -->
<title>ActivityControllerFactory.FactoryCatalog</title>
<meta name="date" content="2016-04-04">
<link r... | Thirteam/CMPUT301W16T13 | Javadocs/cmput301/textbookhub/Controllers/ActivityControllerFactory.FactoryCatalog.html | HTML | apache-2.0 | 18,011 |
//
// HomeSearchDetialViewController.h
// ChangChunTax
//
// Created by XIU-Developer on 16/5/5.
// Copyright © 2016年 XIU. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface HomeSearchListDetialNewsVC : UIViewController
@property (nonatomic, strong) NSString *ids;
@end
| axiubest/ChangChunTax | ChangChunTax/ChangChunTax/Class/Home/Home/View/HomeSearchListDetialNewsVC.h | C | apache-2.0 | 288 |
<?php
namespace Google\AdsApi\AdManager\v202108;
/**
* This file was generated from WSDL. DO NOT EDIT.
*/
class ImageRedirectOverlayCreative extends \Google\AdsApi\AdManager\v202108\BaseImageRedirectCreative
{
/**
* @var \Google\AdsApi\AdManager\v202108\Size $assetSize
*/
protected $assetSize = ... | googleads/googleads-php-lib | src/Google/AdsApi/AdManager/v202108/ImageRedirectOverlayCreative.php | PHP | apache-2.0 | 5,364 |
//>>built
define("dojox/drawing/util/typeset",["../library/greek"],function(c){return{convertHTML:function(b){return b?b.replace(/&([^;]+);/g,function(b,a){if("#"==a.charAt(0)){var d=+a.substr(1);if(!isNaN(d))return String.fromCharCode(d)}else if(c[a])return String.fromCharCode(c[a]);console.warn("no HTML conversion fo... | Caspar12/zh.sw | zh.web.site.admin/src/main/resources/static/js/dojo/dojox/drawing/util/typeset.js | JavaScript | apache-2.0 | 736 |
import * as ui from '../../ui';
import { WorkItemQuickPreview } from './workitem-quickpreview';
export class WorkItemDetailPage extends WorkItemQuickPreview {
detailPageDiv = new ui.BaseElement(this.$('#wi-detail-form'), 'wi detail page');
} | pranavgore09/fabric8-planner | src/tests/ui/planner/workitem-detailpage.ts | TypeScript | apache-2.0 | 245 |
/*
* Github Authorized Keys - Use GitHub teams to manage system user accounts and authorized_keys
*
* Copyright 2016 Cloud Posse, LLC <hello@cloudposse.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 co... | cloudposse/github-authorized-keys | api/linux_groups.go | GO | apache-2.0 | 2,399 |
package io.quarkus.it.jpa.h2;
import javax.persistence.Entity;
@Entity
public class IndividualCustomer extends Customer {
String firstname;
String surname;
}
| quarkusio/quarkus | integration-tests/jpa-h2/src/main/java/io/quarkus/it/jpa/h2/IndividualCustomer.java | Java | apache-2.0 | 168 |
package com.packtpub.storm.model;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
public class Board implements Serializable {
private static final long serialVersionUID = 1L;
public static final String EMPTY = " ";
public String[][] board = {{EMPTY, EMPTY, EMPTY}, {EMPTY, ... | jfmwz/storm-example | Chapter06/src/main/java/com/packtpub/storm/model/Board.java | Java | apache-2.0 | 3,636 |
package org.lightadmin.page.fieldDisplay.listView;
import org.junit.Test;
import org.lightadmin.SeleniumIntegrationTest;
import org.lightadmin.config.ChildEntityConfiguration;
import org.lightadmin.reporting.ConfigurationProblemException;
public class ReferenceFieldTest extends SeleniumIntegrationTest {
//Covers... | pramoth/light-admin | lightadmin-tests/src/test/java/org/lightadmin/page/fieldDisplay/listView/ReferenceFieldTest.java | Java | apache-2.0 | 615 |
import React from "react"
import List from "@material-ui/core/List"
import ListItem from "@material-ui/core/ListItem"
import { Article, Header } from "muy"
import Typography from "@material-ui/core/Typography"
import { ListItemText } from "@material-ui/core"
import Link from "@material-ui/core/Link"
export default () ... | educodar/educodar.github.io | src/pages/quero-aprender/sucesso.js | JavaScript | apache-2.0 | 1,190 |
<!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 Thu Jan 26 13:33:45 PST 2012 -->
<TITLE>
Uses of Class org.apache.hadoop.mapreduce.lib.db.DBInputFormat (Hadoop 0.20.2-cdh3u3 API)
</TITLE>
<... | koven2049/hdfs-cloudera-cdh3u3-production | docs/api/org/apache/hadoop/mapreduce/lib/db/class-use/DBInputFormat.html | HTML | apache-2.0 | 10,468 |
int a[2] = {2, 2}, b[3] = {3, 3, 3}, c = 4, d = 5;
int i = 0, j = 1;
void main()
{
++b[i];
assert(b[0] == 4, "b[0] must be 4");
++c;
assert(c == 5, "c must be 5");
d = ++b[j];
assert(d == 4, "d must be 4");
d = ++c;
assert(d == 6, "d must be 6");
--b[1];
assert(b[1] == ... | andrey-terekhov/RuC | tests/codegen/executable/types/int/test_4.c | C | apache-2.0 | 959 |
/*
* Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you 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/li... | lakshani/carbon-mobile-appmgt | components/org.wso2.carbon.appmgt.impl/src/main/java/org/wso2/carbon/appmgt/impl/token/JWTSignatureAlgorithm.java | Java | apache-2.0 | 1,126 |
package com.example.ppawel.model;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.validation.constraints.NotNull;
/**
* Holds informat... | ppawel/currency-converter | src/main/java/com/example/ppawel/model/UserQuery.java | Java | apache-2.0 | 2,541 |
# chjdkver 2.0
## What is this?
It is difficult to switch jdk version on OS X environment which
contains several jdk versions. Because, the relation among symbolic
links is quite complex.
This program simply switches jdk versions.
## Usage
### Print Available JDKs
This program shows available jdks with no comman... | tamada/chjdkver | README.md | Markdown | apache-2.0 | 3,813 |
# cruddy
[](https://circleci.com/gh/cloudnative/cruddy)
A simple CRUD wrapper around Amazon DynamoDB.
## Installation
```
$ pip install cruddy
```
## Getting Started
The first thing to do is to create a CRUD handler for your DynamoDB table. Th... | cloudnative/cruddy | README.md | Markdown | apache-2.0 | 11,839 |
/*
* Windows.cpp
*
* Created on: Mar 14, 2014
* Author: Frank Ebner
*/
#ifdef WITH_TESTS
#include "../../Test.h"
#include "../../../math/dsp/dft/DFT.h"
namespace K {
/** fill array with simple sine function */
void dftFillSine(double arr[], unsigned int len) {
for (unsigned int i = 0; i < len; ++i)... | k-a-z-u/KLib | test/math/dsp/TestDSP.cpp | C++ | apache-2.0 | 1,275 |
<!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_12-ea) on Wed Feb 05 23:03:20 CET 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Uses of Interfac... | xLeitix/jcloudscale | docs/javadoc/apidocs/at/ac/tuwien/infosys/jcloudscale/datastore/mapping/class-use/Visitor.html | HTML | apache-2.0 | 12,575 |
#pragma once
#include "il2cpp-codegen-common.h"
#include "il2cpp-pinvoke-support.h"
#include "icalls/mscorlib/System.Threading/Interlocked.h"
#include "icalls/mscorlib/System.Runtime.InteropServices/Marshal.h"
#include "utils/Il2CppHStringReference.h"
#include "utils/RegisterRuntimeInitializeAndCleanup.h"
#include "v... | googlecreativelab/lines-of-play | Builds/iOS/linesofplay/Libraries/libil2cpp/include/codegen/il2cpp-codegen-il2cpp.h | C | apache-2.0 | 32,681 |
"use strict";
var chai = require('chai');
var expect = chai.expect;
describe('templates with boolean, 0, or "" default values', function () {
var bbj2j = require('../index');
var j2j = bbj2j.instance();
it('default: false', function () {
var template = {
content: {
id... | amida-tech/jsonapter | test/test-boolean-default.js | JavaScript | apache-2.0 | 2,298 |
/*
* Copyright 2012-2013 inBloom, Inc. and its affiliates.
*
* 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 appli... | inbloom/secure-data-service | sli/ingestion/ingestion-core/src/test/java/org/slc/sli/ingestion/transformation/IsCorrectQuery.java | Java | apache-2.0 | 3,019 |
package com.planet_ink.coffee_mud.Races.interfaces;
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... | oriontribunal/CoffeeMud | com/planet_ink/coffee_mud/Races/interfaces/Race.java | Java | apache-2.0 | 23,377 |
/*!
* Start Bootstrap - Grayscale Bootstrap Theme (http://startbootstrap.com)
* Code licensed under the Apache License v2.0.
* For details, see http://www.apache.org/licenses/LICENSE-2.0.
*/
body {
width: 100%;
height: 100%;
font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
color... | Taurvi/wasmun-site | Old Code/css/grayscale.css | CSS | apache-2.0 | 7,232 |
package com.github.davidmoten.jns;
public class Matrix {
private final Vector row1;
private final Vector row2;
private final Vector row3;
public Matrix(Vector row1, Vector row2, Vector row3) {
this.row1 = row1;
this.row2 = row2;
this.row3 = row3;
}
public Vector times... | davidmoten/jns | src/main/java/com/github/davidmoten/jns/Matrix.java | Java | apache-2.0 | 817 |
// [[[[INFO>
// Copyright 2015 Epicycle (http://epicycle.org, https://github.com/open-epicycle)
//
// 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... | open-epicycle/Epicycle.Math-cs | projects/Epicycle.Math_cs/Geometry/Box2Utils.cs | C# | apache-2.0 | 3,527 |
// Copyright ©2017 Black Sphere Studios
#ifndef __ZLIBSTREAM_H__UPATCH__
#define __ZLIBSTREAM_H__UPATCH__
#include "bss-util/stream.h"
#include "zlib.h"
#include <istream>
#include <ostream>
namespace upatch {
struct InstallPayload;
class ZLibStream : public bss::StreamBufFunction
{
inline ZLibStream(cons... | Black-Sphere-Studios/upatch | uPatch/ZLibStream.h | C | apache-2.0 | 850 |
###########################################################################
#
# Library: MSVTK
#
# Copyright (c) Kitware 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
#
# htt... | MSV-Project/MSVTK | CMake/FindGit.cmake | CMake | apache-2.0 | 7,231 |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Reflection;
using System.Xml;
namespace AutoSniper.Framework.Converter
{
public static class DataUtility
{
#region 转DateTime
/// <summary>
/// Co... | pengpercy/AutoSniper | AutoSniper.Framework/Converter/DataUtility.cs | C# | apache-2.0 | 4,286 |
.close-item{
margin-top:-15px;
}
.pad {
padding-bottom: 70px;
}
.absolute {
position: absolute;
top: 120px;
right: 0;
}
.icon1-color:hover{
color:#17B12A;
}
.icon2-color:hover{
color:#FF123D;
}
.icon3-color:hover{
color:#1C5DF3;
}
.icon-color{
color:#FF123D;
}
.icon-text{
display:none;
}
.icon-disp... | DelphiRace/Customers-Mana | public/include/css/file-mana.css | CSS | apache-2.0 | 3,203 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>org.apache.uima.json Class Hierarchy (Apache UIMA Java SDK 2.8.1 User-Level API Documentation)</... | TitasNandi/Summer_Project | apache-uima/docs/d/api/org/apache/uima/json/package-tree.html | HTML | apache-2.0 | 6,149 |
# AUTOGENERATED FILE
FROM balenalib/apalis-imx6q-ubuntu:eoan-run
ENV GO_VERSION 1.15.11
# gcc for cgo
RUN apt-get update && apt-get install -y --no-install-recommends \
g++ \
gcc \
libc6-dev \
make \
pkg-config \
git \
&& rm -rf /var/lib/apt/lists/*
RUN set -x \
&& fetchDeps=' \
curl \
' \
&& apt-g... | nghiant2710/base-images | balena-base-images/golang/apalis-imx6q/ubuntu/eoan/1.15.11/run/Dockerfile | Dockerfile | apache-2.0 | 2,354 |
# AUTOGENERATED FILE
FROM balenalib/colibri-imx6dl-ubuntu:xenial-run
ENV NODE_VERSION 15.6.0
ENV YARN_VERSION 1.22.4
RUN buildDeps='curl libatomic1' \
&& set -x \
&& for key in \
6A010C5166006599AA17F08146C2130DFD2497F5 \
; do \
gpg --keyserver pgp.mit.edu --recv-keys "$key" || \
gpg --keyserver keyserver.pgp... | nghiant2710/base-images | balena-base-images/node/colibri-imx6dl/ubuntu/xenial/15.6.0/run/Dockerfile | Dockerfile | apache-2.0 | 2,920 |
/*
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 in writing, software
di... | google/gvisor-containerd-shim | pkg/v1/utils/volumes.go | GO | apache-2.0 | 4,727 |
package com.selflearning.webdriver;
import junit.framework.Assert;
import org.junit.*;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.chrome.ChromeDriverService;
import java.io.File;
import java.io.IOException;
/**
* Created with IntelliJ IDEA.
* Us... | XinCai/webdriverProject | src/test/java/com/selflearning/webdriver/ChromeDriverTest.java | Java | apache-2.0 | 2,078 |
package io.quarkus.arc.test.observers.notification;
import static org.junit.jupiter.api.Assertions.assertEquals;
import io.quarkus.arc.Arc;
import io.quarkus.arc.test.ArcTestContainer;
import java.util.concurrent.atomic.AtomicInteger;
import javax.enterprise.context.ApplicationScoped;
import javax.enterprise.event.Ob... | quarkusio/quarkus | independent-projects/arc/tests/src/test/java/io/quarkus/arc/test/observers/notification/ObserverNotificationTest.java | Java | apache-2.0 | 1,331 |
# Understanding and Using the App
In the following we briefly describe the structure of this sample app, then provide instructions on how to use it together with some insights into the code.
### Overview
The actual application is located in the [`webclient`](webclient) directory of this GitHub repositoriy. It has the ... | data-henrik/Bluemix-onprem-data | ReadingListApp.md | Markdown | apache-2.0 | 5,476 |
/*
* Copyright (c) 2013 Juniper Networks, Inc. All rights reserved.
*/
#ifndef vnsw_evpn_route_hpp
#define vnsw_evpn_route_hpp
//////////////////////////////////////////////////////////////////
// EVPN
/////////////////////////////////////////////////////////////////
class EvpnAgentRouteTable : public AgentRouteTa... | srajag/contrail-controller | src/vnsw/agent/oper/evpn_route.h | C | apache-2.0 | 6,648 |
package kata.checkout;
// Classical TDD Loop
//
// INSTRUCTIONS
//
// 1) Uncomment out a test and save/compile
// 2) run tests; see red
// 3) change the code; see green
// 4) Refactor.
// 5) run tests; see green
// 6) goto step 1
/*
(Background information for the tests.)
Scan prices of As, Bs, Cs, and Ds.
Item ... | goeckeler/katas | katas/Checkout/src/test/java/kata/checkout/CheckOutTest.java | Java | apache-2.0 | 3,352 |
#!/usr/bin/env ruby
require 'spec_helper'
describe Puppet::Type.type(:dsc_xroute) do
let :dsc_xroute do
Puppet::Type.type(:dsc_xroute).new(
:name => 'foo',
:dsc_interfacealias => 'foo',
:dsc_addressfamily => 'IPv4',
:dsc_destinationprefix => 'foo',
:dsc_nexthop => 'foo',
)
... | cowofevil/puppetlabs-dsc | spec/unit/puppet/type/dsc_xroute_spec.rb | Ruby | apache-2.0 | 13,614 |
/*******************************************************************************
*
* Copyright (C) 2015-2022 the BBoxDB 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 Licens... | jnidzwetzki/bboxdb | bboxdb-tools/src/main/java/org/bboxdb/tools/converter/osm/filter/multipoint/WoodEntityFilter.java | Java | apache-2.0 | 1,370 |
package com.xiaoleilu.hutool.db.ds.druid;
import javax.sql.DataSource;
import com.alibaba.druid.pool.DruidDataSource;
import com.xiaoleilu.hutool.db.DbUtil;
import com.xiaoleilu.hutool.db.dialect.DialectFactory;
import com.xiaoleilu.hutool.log.Log;
import com.xiaoleilu.hutool.log.LogFactory;
import com.xiaol... | Z-starts/hutool | src/main/java/com/xiaoleilu/hutool/db/ds/druid/SettingDruidDataSource.java | Java | apache-2.0 | 4,105 |
package com.appleframework.jms.core.consumer;
/**
* @author cruise.xu
*
*/
public interface IMessageConusmer<Message> {
public void onMessage(Message message);
}
| xushaomin/apple-jms | apple-jms-core/src/main/java/com/appleframework/jms/core/consumer/IMessageConusmer.java | Java | apache-2.0 | 182 |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<link rel="SHORTCUT ICON" href="../../../../../img/clover.ico" />
<link rel="stylesheet" href="../../../../../aui/css/aui.min.css" media... | dcarda/aba.route.validator | target13/site/clover/com/cardatechnologies/utils/validators/abaroutevalidator/Test_AbaRouteValidator_14_testAbaNumberCheck_30431_good_m7n.html | HTML | apache-2.0 | 9,181 |
<html>
<head>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<span class='rank23 23.207682162752263'>?Velva</span>
<span class='rank8 8.149646173268101'>E.</span>
<span class='rank27 26.846770952363187'>Rudd.</span>
<span class='rank10 10.021448350169694'>U.</span>
<span class='rank7 7.34729970... | idigbio-citsci-hackathon/carrotFacetNgram | carrot2-webapp-3.8.1/herballsilvertrigram/1615764.txt.html | HTML | apache-2.0 | 1,662 |
/* Copyright (c) The m-m-m Team, Licensed under the Apache License, Version 2.0
* http://www.apache.org/licenses/LICENSE-2.0 */
package net.sf.mmm.util.text.base;
import javax.inject.Inject;
import org.junit.runner.RunWith;
import org.springframework.test.context.ContextConfiguration;
import org.springframew... | m-m-m/util | text/src/test/java/net/sf/mmm/util/text/base/JustificationBuilderSpringTest.java | Java | apache-2.0 | 1,052 |
/*
* Copyright 2012-2017 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... | dagnir/aws-sdk-java | aws-java-sdk-elasticbeanstalk/src/main/java/com/amazonaws/services/elasticbeanstalk/model/transform/ApplicationResourceLifecycleConfigStaxUnmarshaller.java | Java | apache-2.0 | 2,990 |
/*
* 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... | jentfoo/aws-sdk-java | aws-java-sdk-dms/src/main/java/com/amazonaws/services/databasemigrationservice/model/StorageQuotaExceededException.java | Java | apache-2.0 | 1,270 |
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.sdk.trace.testbed.errorreporting;
import static org.assertj.core.api.Assertions.assertThat;
import static org.awaitility.Awaitility.await;
import static org.hamcrest.core.IsEqual.equalTo;
import io.opentelem... | open-telemetry/opentelemetry-java | sdk/trace/src/test/java/io/opentelemetry/sdk/trace/testbed/errorreporting/ErrorReportingTest.java | Java | apache-2.0 | 5,140 |
using Newtonsoft.Json;
namespace CSharpTradeOffers.Community
{
public class Profile
{
public const string Type = "profileSave";
// ToDo: Better Property Names for the weblinks need to be checked with the input ids from the profile edit page
[JsonProperty("weblink_1_title")]
pu... | FatherFoxxy/CSharpTradeOffers | CSharpTradeOffers/Community/Data Classes/Profile.cs | C# | apache-2.0 | 1,709 |
//! Tests for --unit-graph option.
use cargo_test_support::project;
use cargo_test_support::registry::Package;
#[cargo_test]
fn gated() {
let p = project().file("src/lib.rs", "").build();
p.cargo("build --unit-graph")
.with_status(101)
.with_stderr(
"\
[ERROR] the `--unit-graph` fl... | vojtechkral/cargo | tests/testsuite/unit_graph.rs | Rust | apache-2.0 | 4,630 |
/**
* This file is part of the Nodium core package
*
* (c) Niko van Meurs & Sid Mijnders
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/**
* @author Niko van Meurs <nikovanmeurs@gmail.com>
*/
(function (context, undefined) {
... | nodium/core | js/namespace/use.js | JavaScript | apache-2.0 | 772 |
package net.webservicex;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.xml.bind.annotation.XmlSeeAlso;
/**
* This class was generated by Apache CXF 3.1.11
* 2017-05-09T14:33:43.429+06:00
* Generated so... | Dmitrii29/java_courses | soap-sample/src/main/java/net/webservicex/GeoIPServiceHttpPost.java | Java | apache-2.0 | 1,271 |
--[[
Author: PicoleDeLimao
Date: 10.24.2016
Add modifier_tree to trees
]]
LinkLuaModifier("modifier_tree", "modifiers/modifier_tree", LUA_MODIFIER_MOTION_NONE)
function OnCreated(event)
local caster = event.caster
local ability = event.ability
ability:ApplyDataDrivenModifier(caster, caster, "modifier_tree", {}... | PicoleDeLimao/Ninpou2 | game/dota_addons/ninpou2/scripts/vscripts/buildings/trees.lua | Lua | apache-2.0 | 325 |
# frozen_string_literal: true
require 'rails_helper'
describe BannerHelper do
describe "#show_eula?" do
subject { show_eula?(subdomain) }
context 'press wants EULA' do
let(:subdomain) { 'barpublishing' }
context 'not press or monograph catalog' do
before do
allow(controller).... | mlibrary/heliotrope | spec/helpers/banner_helper_spec.rb | Ruby | apache-2.0 | 4,457 |
#include "recursive.hpp"
#include <iostream>
template <typename T> bool RecSLL<T>::del(const T& comparable)
{
bool found = false;
if (this->head && comparable == this->head->value) {
found = true;
this->head = this->head->next;
// Special case of the last element
if (!this->head) {
this->ta... | ddeflyer/CodeExamples | SLL/recursive.cpp | C++ | apache-2.0 | 1,584 |
# Call vendor to add the dependencies to the classpath
import vendor
vendor.add('lib')
# Import the Flask Framework
from flask import Flask, render_template, url_for, request, jsonify
app = Flask(__name__)
import translate
# Root directory
@app.route('/')
def index_route():
phrase = request.args.get("q")
if not p... | PiJoules/translation | __init__.py | Python | apache-2.0 | 847 |
import contextlib
from time import time
from .meter import Meter
from .stats import Stat
from .histogram import Histogram
class Timer(Stat):
def __init__(self):
self.count = 0
self.meter = Meter()
self.histogram = Histogram()
super(Timer, self).__init__()
@contextlib.contextm... | emilssolmanis/tapes | tapes/local/timer.py | Python | apache-2.0 | 702 |
/*
* (C) Copyright 2014 mjahnen <jahnen@in.tum.de>
*
* 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 applicabl... | jmue/libaums | app/src/main/java/com/github/mjdev/libaums/usbfileman/MoveClipboard.java | Java | apache-2.0 | 1,537 |
package com.google.api.ads.dfp.jaxws.v201602;
import java.util.List;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.ws.RequestWrapper;
import javax.xml.ws.ResponseWrapper;
/**
*
* ... | gawkermedia/googleads-java-lib | modules/dfp_appengine/src/main/java/com/google/api/ads/dfp/jaxws/v201602/ActivityGroupServiceInterface.java | Java | apache-2.0 | 6,075 |
/**********************************************************************************
* $URL: https://source.sakaiproject.org/svn/message/tags/sakai-10.6/message-api/api/src/java/org/sakaiproject/message/api/MessageChannel.java $
* $Id: MessageChannel.java 105079 2012-02-24 23:08:11Z ottenhoff@longsight.com $
********... | eemirtekin/Sakai-10.6-TR | message/message-api/api/src/java/org/sakaiproject/message/api/MessageChannel.java | Java | apache-2.0 | 13,131 |
<?php
/**
*
* @copyright Copyright (c) 2014 X.commerce, Inc. (http://www.magentocommerce.com)
*/
namespace Magento\Eav\Api;
interface AttributeGroupRepositoryInterface
{
/**
* Save attribute group
*
* @param \Magento\Eav\Api\Data\AttributeGroupInterface $group
* @return \Magento\Eav\Api\Data... | webadvancedservicescom/magento | app/code/Magento/Eav/Api/AttributeGroupRepositoryInterface.php | PHP | apache-2.0 | 1,802 |
from hazelcast.serialization.bits import *
from hazelcast.protocol.builtin import FixSizedTypesCodec
from hazelcast.protocol.client_message import OutboundMessage, REQUEST_HEADER_SIZE, create_initial_buffer
from hazelcast.protocol.builtin import StringCodec
from hazelcast.protocol.builtin import DataCodec
# hex: 0x011... | hazelcast/hazelcast-python-client | hazelcast/protocol/codec/map_unlock_codec.py | Python | apache-2.0 | 1,021 |
/**
* Copyright (C) 2010-2013 Alibaba Group Holding Limited
*
* 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 ... | liujia128/RocketMQ-Master-analyze | rocketmq-namesrv/src/main/java/com/alibaba/rocketmq/namesrv/NamesrvStartup.java | Java | apache-2.0 | 7,412 |
/****************************************************************************
*
* Copyright 2016 Samsung Electronics 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... | tizenrt/tizen_rt | os/tools/cfgdefine.h | C | apache-2.0 | 3,537 |
/**
* Copyright (C) 2015 Orange
* 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... | Orange-OpenSource/elpaaso-core | cloud-paas-db/src/test/java/com/francetelecom/clara/cloud/db/liquibase/CheckVariousRefactoringCommandsIT.java | Java | apache-2.0 | 8,301 |
// 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 ... | barosl/rust | src/test/auxiliary/unboxed-closures-cross-crate.rs | Rust | apache-2.0 | 792 |
package se.lth.cs.docforia.graph.outline;
/*
* Copyright 2016 Marcus Klang
*
* 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
*
* Unle... | marcusklang/docforia | src/main/java/se/lth/cs/docforia/graph/outline/Section.java | Java | apache-2.0 | 1,432 |
/*
* ReportSettingsXMLConverter.java
*
* Created 23 October 2009
*
*
* Copyright 2006-2015 James F. Bowring and www.Earth-Time.org
*
* 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... | johnzeringue/ET_Redux | src/main/java/org/earthtime/UPb_Redux/reports/ReportSettingsXMLConverter.java | Java | apache-2.0 | 9,839 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.