repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
DBCDK/kafka-dispatch | src/main/java/dk/dbc/kafka/dispatch/sources/InputStreamSource.java | 818 | package dk.dbc.kafka.dispatch.sources;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.nio.charset.StandardCharsets;
import java.util.Optional;
/**
* Source for reading InputStreams line-by-line
* @author Adam Tulinius
*/
public c... | apache-2.0 |
jensim/myStream.js | typings/browser.d.ts | 693 | /// <reference path="browser/ambient/angular-protractor/index.d.ts" />
/// <reference path="browser/ambient/angular/index.d.ts" />
/// <reference path="browser/ambient/assertion-error/index.d.ts" />
/// <reference path="browser/ambient/chai/index.d.ts" />
/// <reference path="browser/ambient/jquery/index.d.ts" />
/// <... | apache-2.0 |
mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Piperales/Piperaceae/Piper/Piper paraense/README.md | 170 | # Piper paraense C.DC. SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
rancher/rancher | pkg/generated/controllers/management.cattle.io/v3/podsecuritypolicytemplate.go | 9408 | /*
Copyright 2022 Rancher Labs, 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, softw... | apache-2.0 |
akashacms/akasharender | test/documents/body-class.html.md | 84 | ---
layout: default.html.ejs
title: Set body class
akBodyClassAdd: 'addedClass'
---
| apache-2.0 |
robjcaskey/Unofficial-Coffee-Mud-Upstream | com/planet_ink/coffee_mud/Commands/Go.java | 16256 | package com.planet_ink.coffee_mud.Commands;
import com.planet_ink.coffee_mud.core.interfaces.*;
import com.planet_ink.coffee_mud.core.*;
import com.planet_ink.coffee_mud.Libraries.interfaces.*;
import com.planet_ink.coffee_mud.Abilities.interfaces.*;
import com.planet_ink.coffee_mud.Areas.interfaces.*;
import com... | apache-2.0 |
zinx-io/hamcrest-string-matcher | README.md | 1251 | # hamcrest-string-matcher
Custom hamcrest matcher that counts occurrences of a substring.
## Current Release
The current release is 0.0.5.
## Basic Usage
```
import static io.zinx.hamcrest.string.pattern.OccurrenceMatcher.hasOccurrenceCount;
...
@Test
public void testMatch() {
String item = "Fred,Jo... | apache-2.0 |
pioneers/forseti | wxdash.py | 10763 | #!/usr/bin/python2.7
from __future__ import print_function
# -*- coding: utf-8 -*-
import wx
import threading
import lcm
import random
import Forseti
import configurator
BLUE = (24, 25, 141)
GOLD = (241, 169, 50)
class TeamPanel(wx.Panel):
def __init__(self, remote, letter, number, name, colour, *args, **kwargs... | apache-2.0 |
consulo/consulo | modules/base/platform-impl/src/main/java/com/intellij/ide/plugins/LabelPopup.java | 2225 | /*
* Copyright 2013-2020 consulo.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 required by applicable law or agreed to ... | apache-2.0 |
NativeScript/android-runtime | test-app/runtime/src/main/cpp/NativeScriptAssert.h | 585 | /*
* nativescriptassert.h
*
* Created on: 12.11.2013
* Author: blagoev
*/
#ifndef NATIVESCRIPTASSERT_H_
#define NATIVESCRIPTASSERT_H_
#include <android/log.h>
namespace tns {
extern bool LogEnabled;
#define DEBUG_WRITE(fmt, args...) if (tns::LogEnabled) __android_log_print(ANDROID_LOG_DEBUG, "TNS.Native"... | apache-2.0 |
yaproxy/yap | yaputil/lookup.go | 529 | package yaputil
import (
"io/ioutil"
"net"
"regexp"
)
var (
nsRegex = regexp.MustCompile(`(?m)^nameserver\s+([0-9a-fA-F\.:]+)`)
)
func LookupIP(host string) (ips []net.IP, err error) {
return net.LookupIP(host)
}
func GetLocalNameServers() ([]string, error) {
b, err := ioutil.ReadFile("/etc/resolv.conf")
if ... | apache-2.0 |
xakep666/openssl | ssl.go | 5686 | // Copyright (C) 2014 Space Monkey, 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 agre... | apache-2.0 |
mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Ranunculales/Ranunculaceae/Ranunculus/Ranunculus gentryanus/Ranunculus gentryanus typicus/README.md | 195 | # Ranunculus gentryanus var. typicus L.D.Benson VARIETY
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
support-project/knowledge | src/main/java/org/support/project/knowledge/vo/notification/webhook/WebhookLongIdJson.java | 119 | package org.support.project.knowledge.vo.notification.webhook;
public class WebhookLongIdJson {
public long id;
}
| apache-2.0 |
uni2u/iNaaS | Torpedo/src/etri/sdn/controller/module/vxlanflowmapper/Tester.java | 1831 | package etri.sdn.controller.module.vxlanflowmapper;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import org.codehaus.jackson.map.ObjectMapper;
public class Tester {
public static void main(String[] args) {
testV2PRequest();
testV2PResp... | apache-2.0 |
mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Santalales/Olacaceae/Olax/Olax glabriflora/README.md | 173 | # Olax glabriflora Danguy SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
mdoering/backbone | life/Fungi/Zygomycota/Mucorales/Umbelopsidaceae/Umbelopsis/Umbelopsis isabellina/ Syn. Mortierella fusca/README.md | 260 | # Mortierella fusca E. Wolf, 1954 SPECIES
#### Status
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Zentbl. Bakt. ParasitKde, Abt. II 107: 534 (1954)
#### Original name
Mortierella fusca E. Wolf, 1954
### Remarks
null | apache-2.0 |
mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Apiales/Apiaceae/Daucus/Daucus commutatus/README.md | 182 | # Daucus commutatus Thell. SPECIES
#### 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/Myrtales/Myrtaceae/Decaspermum/Decaspermum raymundi/README.md | 184 | # Decaspermum raymundi Diels SPECIES
#### 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/Liliopsida/Alismatales/Alismataceae/Sagittaria/Sagittaria latifolia/ Syn. Sagittaria latifolia glabra/README.md | 189 | # Sagittaria latifolia var. glabra 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/Asparagaceae/Albuca/Albuca xanthocodon/ Syn. Ornithogalum xanthocodon/README.md | 228 | # Ornithogalum xanthocodon (Hilliard & B.L.Burtt) J.C.Manning & Goldblatt 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/Lamiales/Bignoniaceae/Mansoa/Mansoa schwackei/README.md | 184 | # Mansoa schwackei Bureau & K.Schum. SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
mdoering/backbone | life/Plantae/Pinophyta/Pinopsida/Pinales/Cupressaceae/Juniperus/Juniperus coahuilensis/README.md | 378 | # Juniperus coahuilensis (Martínez) Gaussen ex R.P. Adams SPECIES
#### Status
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Phytologia 74:413. 1993 (Gaussen, Trav. Lab. Forest. Toulouse tome II(I,1,pt. II 2, fasc. 10:101, 154. 1968, nom. inval. )
#### Original name
Juniperus e... | apache-2.0 |
mdoering/backbone | life/Plantae/Bacillariophyta/Bacillariophyceae/Bacillariales/Bacillariaceae/Nitzschia/Nitzschia gruendleri/README.md | 184 | # Nitzschia gruendleri Grunow, 1878 SPECIES
#### Status
ACCEPTED
#### According to
World Register of Marine Species
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
mdoering/backbone | life/Protozoa/Euglenozoa/Euglenida/Euglenales/Astasiaceae/Petalomonas/Petalomonas sulcata/README.md | 184 | # Petalomonas sulcata Stokes SPECIES
#### 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/Fungi/Ascomycota/Leotiomycetes/Helotiales/Dermateaceae/Pseudopeziza/Pseudopeziza alismatis/README.md | 286 | # Pseudopeziza alismatis (W. Phillips & Trail) Sacc., 1889 SPECIES
#### Status
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Syll. fung. (Abellini) 8: 728 (1889)
#### Original name
Mollisia alismatis W. Phillips & Trail, 1888
### Remarks
null | apache-2.0 |
serious6/HibernateSimpleProject | javadoc/hibernate_Doc/org/hibernate/metamodel/source/annotations/class-use/EntityHierarchyBuilder.html | 4694 | <!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 Class org.hibernate.metamodel.source.annotations.EntityHierarchyBuilder (Hiberna... | apache-2.0 |
play1-maven-plugin/play1-maven-plugin.github.io | external-apidocs/com/google/code/maven-play-plugin/org/playframework/play/1.4.3/play/data/parsing/package-frame.html | 2265 | <!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_91) on Mon Aug 22 09:59:23 CST 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>play.data.parsing (Play! API... | apache-2.0 |
stdlib-js/stdlib | lib/node_modules/@stdlib/random/streams/arcsine/test/test.main.js | 23031 | /**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib 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 a... | apache-2.0 |
zendesk/zendesk_api_client_rb | lib/zendesk_api/verbs.rb | 2079 | module ZendeskAPI
# Creates put, post, delete class methods for custom resource methods.
module Verbs
class << self
private
# @macro [attach] container.create_verb
# @method $1(method)
# Executes a $1 using the passed in method as a path.
# Reloads the resource's attributes ... | apache-2.0 |
tupilabs/nebular | src/test/java/fuzzy/internal/functions/TestMax.java | 1371 | /*
* 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
* distri... | apache-2.0 |
hibernate/hibernate-semantic-query | src/test/java/org/hibernate/orm/type/descriptor/sql/internal/JdbcLiteralFormatterTemporal.java | 2399 | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later
* See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html
*/
package org.hibernate.orm.type.descriptor.sql.internal;
import java.time.temporal.Temp... | apache-2.0 |
mdoering/backbone | life/Fungi/Ascomycota/Dothideomycetes/Capnodiales/Mycosphaerellaceae/Mycosphaerella/Mycosphaerella ribis/ Syn. Septoria ribis ribis/README.md | 196 | # Septoria ribis f. ribis (Lib.) Desm., 1842 FORM
#### Status
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
google-code-export/google-api-dfp-java | docs/com/google/api/ads/dfp/v201306/TechnologyTargetingErrorReason.html | 27487 | <!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-google-v5) on Thu Dec 19 17:42:37 EST 2013 -->
<title>TechnologyTargetingErrorReason</title>
<meta name="date" content="2013-12-19">
<l... | apache-2.0 |
jfiala/swagger-spring-demo | user-rest-service-2.0.0/README.md | 952 |
## user-rest-service-2.0.0 / Swagger 2.0.0-SNAPSHOT
This demo uses the stable version 2.0.0-SNAPSHOT of Swagger-Spring Integration, will always update to head.
Swagger 2.0.0 is currently under development.
### IDE
Currently maven configuration files are supplied for all projects.
* Run Spring Boot Application: mvn ... | apache-2.0 |
googleapis/python-aiplatform | google/cloud/aiplatform_v1/types/specialist_pool.py | 2601 | # -*- coding: utf-8 -*-
# Copyright 2022 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... | apache-2.0 |
aspnet/AspNetCore | src/Http/Routing.Abstractions/src/RouteDirection.cs | 622 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace Microsoft.AspNetCore.Routing
{
/// <summary>
/// Indicates whether ASP.NET routing is processing a URL from an HTTP request or generating a URL.
/// </summary>
... | apache-2.0 |
Tao-J/hw | asm80386/16int2dec1.asm | 437 | data segment
x dw 0FFFFh
s db "00000",0Dh,0Ah,"$"
data ends
code segment
assume cs:code, ds:data
main:
mov ax, data
mov ds, ax
mov bx, 4; 下标
mov ax, [x]
next:
mov dx, 0; 保证被除数的高16位为0
mov cx, 10
div cx; (DX:AX)/CX=AX..DX
add dl, '0'
mov s[bx], dl
cmp ax, 0
je done
dec bx
jmp next
... | apache-2.0 |
driftyco/ionic-site | content/docs/v3/2.1.0/api/components/img/Img/index.md | 7664 | ---
layout: "fluid/docs_base"
version: "2.1.0"
versionHref: "/docs/v3/2.1.0"
path: ""
category: api
id: "img"
title: "Img"
header_sub_title: "Ionic API Documentation"
doc: "Img"
docType: "class"
---
<h1 class="api-title">
<a class="anchor" name="img" href="#img"></a>
Img
<h3><code>ion-img</code></h3>
<... | apache-2.0 |
tcoupin/tcoupin.github.io | _posts/2020-04-07-manage-multiple-k8s-config.md | 811 | ---
title: Gérer les accès à plusieurs clusters kunernetes
date: 2018-10-30 00:00:00 Z
tags:
- docker
- truc&astuce
- k8s
subtitle: plusieurs fichiers de config ? un fichier de config
comments: true
thumbnail: https://upload.wikimedia.org/wikipedia/commons/thumb/3/39/Kubernetes_logo_without_workmark.svg/1200px-Kubernet... | apache-2.0 |
lawloretienne/Loop | app/src/main/java/com/etiennelawlor/loop/network/models/response/Tag.java | 2066 | package com.etiennelawlor.loop.network.models.response;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.gson.annotations.SerializedName;
/**
* Created by etiennelawlor on 5/23/15.
*/
public class Tag implements Parcelable {
// region Fields
@SerializedName("uri")
private Stri... | apache-2.0 |
google/pigweed | pw_env_setup/py/pw_env_setup/windows_env_start.py | 2955 | # -*- coding: utf-8 -*-
# Copyright 2020 The Pigweed 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 applic... | apache-2.0 |
nurmuhammad/rvc | src/main/java/rvc/ann/OPTIONS.java | 399 | package rvc.ann;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
/**
* @author nurmuhammad
*/
@Retention(RUNTIME)
@Target(METHOD)
public @interface OPTIONS {
String val... | apache-2.0 |
xiaojinzi123/Component | ComponentCompiler/src/main/java/com/xiaojinzi/component/bean/RouterDegradeAnnoBean.java | 632 | package com.xiaojinzi.component.bean;
import javax.lang.model.element.Element;
/**
* time : 2018/07/26
*
* @author : xiaojinzi
*/
public class RouterDegradeAnnoBean {
/**
* 优先级
*/
private int priority;
/**
* 是一个类实现了 RouterDegrade 接口
*/
private Element rawType;
public i... | apache-2.0 |
ioanrogers/aws-sdk-perl | auto-lib/Paws/EC2/DhcpConfiguration.pm | 1512 | package Paws::EC2::DhcpConfiguration;
use Moose;
has Key => (is => 'ro', isa => 'Str', request_name => 'key', traits => ['NameInRequest']);
has Values => (is => 'ro', isa => 'ArrayRef[Paws::EC2::AttributeValue]', request_name => 'valueSet', traits => ['NameInRequest']);
1;
### main pod documentation begin ###
=... | apache-2.0 |
SuriyaaKudoIsc/WebFundamentals | src/site/performance/critical-rendering-path/constructing-the-object-model.markdown | 7835 | ---
layout: article
title: "Constructing the Object Model"
description: "Before the browser can render content to the screen it needs to construct the DOM and CSSOM trees. As a result, we need to ensure that we deliver both the HTML and CSS to the browser as quickly as possible."
introduction: "Before the browser can r... | apache-2.0 |
shaoxuan-wang/flink | flink-runtime/src/main/java/org/apache/flink/runtime/executiongraph/Execution.java | 59232 | /*
* 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 |
tempbottle/xtrovert | xtrovert/app/inc/XtApp.h | 5143 | /************************************************************************************
* XtApp.h : header file
*
* CXtApp Definition header, An Application framework for common use
* (Xtrovert Application Frameworks).
*
* AUTHOR : Sean Feng <SeanFeng2006@hotmail.com>
* DATE : Aug. 7, 2012
* Copyright (c) 2009-?. All ... | apache-2.0 |
dcarda/aba.route.validator | target13/site/clover/com/cardatechnologies/utils/validators/abaroutevalidator/Test_AbaRouteValidator_07_testAbaNumberCheck_13433_good_okg.html | 9181 | <!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... | apache-2.0 |
mathemage/h2o-3 | h2o-core/src/main/java/water/AutoBuffer.java | 74621 | package water;
import java.io.*;
import java.lang.reflect.Array;
import java.net.*;
import java.nio.*;
import java.nio.channels.*;
import java.util.ArrayList;
import java.util.Random;
import water.network.SocketChannelUtils;
import water.util.Log;
import water.util.StringUtils;
import water.util.TwoDimTable;
/** A B... | apache-2.0 |
Product-Foundry/business-elements-client-js | test/attribute_test.js | 2495 | "use strict";
import chai from "chai";
import chaiAsPromised from "chai-as-promised";
import sinon from "sinon";
import BusinessElementsClient from "../src";
import uuid from "uuid";
import * as requests from "../src/requests";
chai.use(chaiAsPromised);
chai.should();
chai.config.includeStack = true;
const FAKE_SERV... | apache-2.0 |
sabriarabacioglu/engerek | model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/LensProjectionContext.java | 42728 | /*
* Copyright (c) 2010-2013 Evolveum
*
* 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 |
wangyum/beam | sdks/java/io/kafka/src/test/java/org/apache/beam/sdk/io/kafka/KafkaIOTest.java | 49154 | /*
* 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 |
project-chip/connectedhomeip | src/lib/core/tests/TestCHIPCallback.cpp | 6584 | /*
*
* Copyright (c) 2020 Project CHIP 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... | apache-2.0 |
Exorath/CakeWarsGamePlugin | src/main/java/com/exorath/plugin/game/cakewars/rewards/KillsReward.java | 1398 | /*
* Copyright 2017 Exorath
*
* 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 |
DG-i/openshift-ansible | roles/lib_openshift/library/oc_adm_registry.py | 94103 | #!/usr/bin/env python
# pylint: disable=missing-docstring
# flake8: noqa: T001
# ___ ___ _ _ ___ ___ _ _____ ___ ___
# / __| __| \| | __| _ \ /_\_ _| __| \
# | (_ | _|| .` | _|| / / _ \| | | _|| |) |
# \___|___|_|\_|___|_|_\/_/_\_\_|_|___|___/_ _____
# | \ / _ \ | \| |/ _ \_ _| | __| \_ ... | apache-2.0 |
everttigchelaar/camel-svn | components/camel-irc/src/test/java/org/apache/camel/component/irc/IrcEndpointTest.java | 3292 | /**
* 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 |
googleads/googleads-php-lib | src/Google/AdsApi/AdManager/v202111/PrecisionError.php | 1074 | <?php
namespace Google\AdsApi\AdManager\v202111;
/**
* This file was generated from WSDL. DO NOT EDIT.
*/
class PrecisionError extends \Google\AdsApi\AdManager\v202111\ApiError
{
/**
* @var string $reason
*/
protected $reason = null;
/**
* @param string $fieldPath
* @param \Google... | apache-2.0 |
aestesis/elektronika | src/STLport/test/regression/bcompos1.cpp | 736 | // STLport regression testsuite component.
// To compile as a separate example, please #define MAIN.
#include <algorithm>
#include <iostream>
#include "unary.h"
#ifdef MAIN
#define bcompos1_test main
#endif
#if !defined (STLPORT) || defined(__STL_USE_NAMESPACES)
using namespace std;
#endif
int bco... | apache-2.0 |
kevin-ww/commentClassifier | src/main/java/com/zxinsight/classifier/ruleengine/admin/RuleAdministratorImpl.java | 1738 | package com.zxinsight.classifier.ruleengine.admin;
import java.rmi.RemoteException;
import java.util.Map;
import javax.rules.admin.LocalRuleExecutionSetProvider;
import javax.rules.admin.RuleAdministrator;
import javax.rules.admin.RuleExecutionSet;
import javax.rules.admin.RuleExecutionSetDeregistrationException;
imp... | apache-2.0 |
jackpunt/playground | app/js/app.js | 1117 | 'use strict';
angular.module('playgroundApp', [
'playgroundApp.filters',
'playgroundApp.services',
'playgroundApp.directives',
'ngRoute',
'ui.bootstrap',
'ui',
])
.config(function($locationProvider, $routeProvider, $httpProvider,
$dialogProvider) {
$locationProvider.html5Mo... | apache-2.0 |
hdushan/quickquote | machines/metadata.rb | 248 | name 'machines'
maintainer 'YOUR_NAME'
maintainer_email 'YOUR_EMAIL'
license 'All rights reserved'
description 'Installs/Configures machines'
long_description 'Installs/Configures machines'
version '0.1.0'
| apache-2.0 |
deventropy/shared-utils | src/site/resources/README.md | 116 | # Deventropy Shared Utils
See **[project website](http://www.deventropy.org/shared-utils/)** for more information.
| apache-2.0 |
elliottmb/makhana | common/src/main/java/trendli/me/makhana/common/entities/ActionType.java | 806 | package trendli.me.makhana.common.entities;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
public enum ActionType
{
MOVE( "Moving", "newTile" ), FABRICATING( "Fabricating" );
private final String verb;
private final List< String > dataKeys;
private ActionType( String v... | apache-2.0 |
google/kilt | pkg/cmd/kilt/rework.go | 4097 | /*
Copyright 2020 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
dis... | apache-2.0 |
Oglofus/OglofusProtection | sponge/src/main/java/me/nikosgram/oglofus/protection/OglofusProtectionStaff.java | 16214 | /*
* Copyright 2014-2015 Nikos Grammatikos
*
* 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://raw.githubusercontent.com/nikosgram13/OglofusProtection/master/LICENSE
*
* ... | apache-2.0 |
stuffer2325/Makagiga | test/src/commons/TestConfigFile_Format.java | 4186 |
package commons;
import org.makagiga.commons.ConfigFile;
import org.makagiga.test.AbstractEnumTest;
import org.makagiga.test.Test;
import org.makagiga.test.TestMethod;
import org.makagiga.test.Tester;
@Test(className = ConfigFile.Format.class)
public final class TestConfigFile_Format extends AbstractEnumTest<ConfigF... | apache-2.0 |
lletsica/my_test_repo | rave-components/rave-core/src/main/java/org/apache/rave/portal/service/impl/DefaultTrainingPlanService.java | 2990 | package org.apache.rave.portal.service.impl;
import org.apache.rave.model.ExcercicesHasTrainingPlan;
import org.apache.rave.model.Serie;
import org.apache.rave.model.TrainingPlan;
import org.apache.rave.portal.repository.ExcercicesHasTrainingPlanRepository;
import org.apache.rave.portal.repository.SerieRepository;
imp... | apache-2.0 |
dvorka/mindraider | mr7/src/main/java/com/mindcognition/mindraider/ui/swing/trash/TrashJPanel.java | 24481 | /*
===========================================================================
Copyright 2002-2010 Martin Dvorak
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.apach... | apache-2.0 |
leleliu008/Android-List | library/src/main/java/com/fpliu/newton/ui/list/IGrid.java | 688 | package com.fpliu.newton.ui.list;
import android.view.View;
import android.view.ViewGroup;
import android.widget.AdapterView;
import android.widget.GridView;
/**
* @author 792793182@qq.com 2017-06-30.
*/
public interface IGrid<T, V extends GridView> extends ICommon<T> {
V getGridView();
void setItemAdapte... | apache-2.0 |
YannicSowoidnich/winery | org.eclipse.winery.repository/src/main/java/org/eclipse/winery/repository/resources/package-info.java | 1234 | /*******************************************************************************
* Copyright (c) 2012-2013 University of Stuttgart.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* and the Apache License 2.0 which both accom... | apache-2.0 |
VHAINNOVATIONS/Telepathology | Source/Java/PathologyWebApp/main/test/java/gov/va/med/imaging/pathology/rest/translator/PathologyRestTranslatorTest.java | 1621 | /**
*
Package: MAG - VistA Imaging
WARNING: Per VHA Directive 2004-038, this routine should not be modified.
Date Created: Jul 10, 2012
Site Name: Washington OI Field Office, Silver Spring, MD
Developer: VHAISWWERFEJ
Description:
;; +------------------------------------------------------------... | apache-2.0 |
quarkusio/quarkus | integration-tests/grpc-mutual-auth/src/test/java/io/quarkus/grpc/examples/hello/HelloWorldMutualTlsEndpointTest.java | 679 | package io.quarkus.grpc.examples.hello;
import static io.restassured.RestAssured.get;
import static org.assertj.core.api.Assertions.assertThat;
import org.junit.jupiter.api.Test;
import io.quarkus.test.junit.QuarkusTest;
@QuarkusTest
class HelloWorldMutualTlsEndpointTest {
@Test
public void testHelloWorldS... | apache-2.0 |
Jason0204/jasontek_f103rb-zephyrOS-project | subsys/bluetooth/host/avdtp_internal.h | 5327 | /*
* avdtp_internal.h - avdtp handling
* Copyright (c) 2015-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
*... | apache-2.0 |
intel-hadoop/hbase-rhino | hbase-server/src/test/java/org/apache/hadoop/hbase/filter/TestFuzzyRowAndColumnRangeFilter.java | 5447 | /**
*
* 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
*... | apache-2.0 |
raincious/trap | trap/logger/file.go | 1990 | /*
* Trap
* An anti-pryer server for better privacy
*
* This file is a part of Trap project
*
* Copyright 2016 Rain Lee <raincious@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 Li... | apache-2.0 |
vzaramel/kong | spec/plugins/rate-limiting/api_spec.lua | 1368 | local json = require "cjson"
local http_client = require "kong.tools.http_client"
local spec_helper = require "spec.spec_helpers"
local BASE_URL = spec_helper.API_URL.."/apis/%s/plugins/"
describe("Rate Limiting API", function()
setup(function()
spec_helper.prepare_db()
spec_helper.insert_fixtures {
a... | apache-2.0 |
Redmart/os-mobilizer | frontend/source/js/modules/Projects.js | 666 | define([
'jquery',
'underscore',
'backbone',
'app'
],
function (
$, _, Backbone, app
) {
var Models = {},
Collections = {},
Views = {};
Models.Project = Backbone.Model.extend();
Collections.Projects = Backbone.Model.extend({
model: Models.Project,
url: function() {
return app.api('projects/' + this... | apache-2.0 |
tensorflow/tpu | models/official/resnet/benchmark/resnet_benchmark.py | 8651 | # Copyright 2018 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 applica... | apache-2.0 |
PuloV/homepage | admin/acp.php | 6900 |
<?php
require_once "db_config.php";
session_start();
if(!array_key_exists('id', $_SESSION))
{
header("location : index.php");
}
?>
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> ... | apache-2.0 |
matiwinnetou/spring-soy-view | spring-soy-view/src/main/java/pl/matisoft/soy/config/SpringSoyViewBaseConfig.java | 8365 | package pl.matisoft.soy.config;
import com.google.template.soy.jssrc.SoyJsSrcOptions;
import com.google.template.soy.tofu.SoyTofuOptions;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import or... | apache-2.0 |
HeTyDeHer/ZapovA | chapter_009/src/test/java/userstoreauth/servlets/EditUserTest.java | 1929 | package userstoreauth.servlets;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import userstoreauth.model.UserVer2;
import userstoreauth.service.UserStoreMb;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;... | apache-2.0 |
openbmc/openbmc-test-automation | lib/pythonutil.py | 245 | from socket import inet_ntoa
from struct import pack
def calcDottedNetmask(mask):
bits = 0
for i in xrange(32 - mask, 32):
bits |= (1 << i)
packed_value = pack('!I', bits)
addr = inet_ntoa(packed_value)
return addr
| apache-2.0 |
zachary-williamson/ITK | Modules/Filtering/ImageFeature/include/itkLaplacianImageFilter.h | 5759 | /*=========================================================================
*
* Copyright Insight Software Consortium
*
* 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
*
* h... | apache-2.0 |
saltstack/salt | tests/pytests/unit/engines/test_engines.py | 595 | import pytest
import salt.engines
from tests.support.mock import MagicMock, patch
def test_engine_module_name():
engine = salt.engines.Engine({}, "foobar.start", {}, {}, {}, {}, name="foobar")
assert engine.name == "foobar"
def test_engine_title_set():
engine = salt.engines.Engine({}, "foobar.start", {}... | apache-2.0 |
MorrigansWings/GamePhysics | PlanetSim/DirectX/Samples/C++/Misc/ContentExporter/ExportObjects/ExportXmlParser.cpp | 29004 | //-------------------------------------------------------------------------------------
// ExportXmlParser.cpp
//
// Simple callback non-validating XML parser implementation.
//
// Microsoft XNA Developer Connection.
// Copyright © Microsoft Corporation. All rights reserved.
//------------------------------------... | apache-2.0 |
msebire/intellij-community | platform/smRunner/src/com/intellij/execution/testframework/sm/runner/GeneralToSMTRunnerEventsConvertor.java | 17626 | // Copyright 2000-2018 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.execution.testframework.sm.runner;
import com.intellij.execution.testframework.sm.SMTestRunnerConnectionUtil;
import com.intellij.execution.testframework.sm.... | apache-2.0 |
songboriceboy/GatherAllStoreInDB | GatherAll/Cls_SqliteMng.cs | 2016 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.SQLite;
using System.Data.Common;
using System.IO;
namespace GatherAll
{
class Cls_SqliteMng
{
//string m_DBName = "";
//string connStr = "";
... | apache-2.0 |
rafaelcoutinho/comendobemdelivery | src/br/copacabana/PlaceOrderController.java | 16224 | package br.copacabana;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.logging.Level;
import javax.cache.Cache;
import javax.servlet.http.H... | apache-2.0 |
wanelo-chef/smartos-chef-repo | .chef/knife.rb | 874 | current_dir = File.dirname(__FILE__)
log_level :info
log_location STDOUT
node_name "user"
client_key "#{ENV['HOME']}/.ssh/user.pem"
validation_client_name "user-validator"
validation_key "#{current_dir}/validator.pem"
chef_server_url "https://... | apache-2.0 |
rolfwessels/CoreDocker | src/CoreDocker.Core/Framework/CommandQuery/MediatorCommander.cs | 828 | using System.Threading;
using System.Threading.Tasks;
using MediatR;
namespace CoreDocker.Core.Framework.CommandQuery
{
public class MediatorCommander : ICommander
{
private readonly IMediator _mediator;
public MediatorCommander(IMediator mediator)
{
_mediator = mediator;
... | apache-2.0 |
Am3o/eShop | WebShopStart/src/main/java/hska/iwi/eShopMaster/model/businessLogic/manager/impl/CategoryManagerImpl.java | 3084 | package hska.iwi.eShopMaster.model.businessLogic.manager.impl;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.sun.jersey.api.client.Client;
import com.sun.jersey.api.client.ClientResponse;
import com.sun.jersey.api.client.WebResource;
import hska.iwi.eShopMaster.model.businessLogic.manager.CategoryMan... | apache-2.0 |
freedot/tstolua | tests/cases/compiler/arguments.ts | 41 | function f() {
var x=arguments[12];
} | apache-2.0 |
openstack/tempest | tempest/api/volume/test_volumes_actions.py | 7582 | # Copyright 2012 OpenStack Foundation
# 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 requ... | apache-2.0 |
persiaAziz/trafficserver | example/response_header_1/response_header_1.c | 10717 | /** @file
An example program which illustrates adding and manipulating an
HTTP response MIME header:
Usage: response_header_1.so
add read_resp_header hook
get http response header
if 200, then
add mime extension header with count of zero
add mime ex... | apache-2.0 |
thehig/taggr | src/common/routeConfig.js | 1246 | import App from '../containers/App';
import { PageNotFound } from '../components';
import homeRoute from '../features/home/route';
import taggrRoute from '../features/taggr/route';
const routes = [{
path: '/',
component: App,
childRoutes: [
homeRoute,
taggrRoute,
{ path: '*', name: 'Page not found',... | apache-2.0 |
txs72/BUPTJava | slides/06/overrding/Student.java | 625 | /**
* Created by txs on 2016/10/17.
*/
public class Student {
String name;
int grade;
@Override
public String toString() {
String temp = "";
temp += "name: " + name + "\n";
temp += "grade: " + grade + "\n";
return temp;
}
@Override
public boolean equals(Ob... | apache-2.0 |
usedtolove/ros-study | docs/2.Intermediate/04.arduino_debug.md | 647 | # Arduino Debug
## Install
### 1. install Arduino IDE (free)
www.arduino.cc > download
### 2. install Microsoft Visual Studio 2015 Community Edition (free)
* get vs2015.com_chs.iso
* select C++ from the available VS2015 setup options.
>It requires Visual Studio C++ to be installed before Arduino projects can be cre... | apache-2.0 |
permazen/permazen | site/apidocs/io/permazen/util/class-use/NavigableSetPager.html | 4415 | <!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 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class io.permazen.util.NavigableSetPager (Permazen 4.1.9-SNAPSH... | apache-2.0 |
devopsonwindows/Weald | Weald.Tests/VisualSvnServerInfoProviderTests.cs | 2676 | using System;
using System.IO;
using System.Reflection;
using Moq;
using NUnit.Framework;
using Weald.Service;
namespace Weald.Tests
{
[TestFixture]
public class VisualSvnServerInfoProviderTests
{
private string _tempFilePath;
[SetUp]
public void SetUp()
{
_t... | apache-2.0 |