repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
krmmlsh/Java_Training | service/src/main/java/fr/excilys/computerdatabase/service/UserServices.java | 3492 | package fr.excilys.computerdatabase.service;
import java.util.ArrayList;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.authority.SimpleGrantedAuthority;
import org.springframewor... | apache-2.0 |
DGolubets/neo4s | src/test/scala/ru/dgolubets/neo4s/model/DefaultReadsSpec.scala | 1069 | package ru.dgolubets.neo4s.model
import org.scalatest.{Matchers, WordSpec}
/**
* Tests default CyReads.
*/
class DefaultReadsSpec extends WordSpec with Matchers {
"Default Reads" should {
"read Long" in {
CyNumber(1).as[Long] shouldBe 1
}
"read Int" in {
CyNumber(1).as[Int] shouldBe 1
... | apache-2.0 |
XhinLiang/Studio | app/src/main/java/com/wecan/xhin/studio/App.java | 3181 |
package com.wecan.xhin.studio;
import android.app.Application;
import android.content.Context;
import com.avos.avoscloud.AVOSCloud;
import com.google.gson.FieldNamingPolicy;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.squareup.okhttp.Interceptor;
import com.squareup.okhttp.OkHttpClien... | apache-2.0 |
Cantinho/spoonaculator-android-example | SpoonacularExample/app/src/main/java/com/cantinho/spoonacularexample/retrofit_models/Recipe.java | 923 | package com.cantinho.spoonacularexample.retrofit_models;
import com.google.gson.annotations.SerializedName;
import java.util.List;
/**
* Created by samirtf on 14/02/17.
*/
public class Recipe {
@SerializedName("id")
private Integer id;
@SerializedName("image")
private String imag... | apache-2.0 |
unpause/TeazelEngine | TeazelEngine/TeazelEngine/core/dynlib/DynamicLibraryManager.hpp | 543 | #pragma once
#include <map>
#include "..\..\Defines.hpp"
namespace te
{
class DynamicLibrary;
class TE_EXPORT DynamicLibraryManager
{
protected:
std::map<string, DynamicLibrary*> m_loadedLibraries;
public:
DynamicLibraryManager();
~DynamicLibraryManager();
/*
Loads the library with the specifi... | apache-2.0 |
CSCSI/Triana | triana-gui/src/main/java/org/trianacode/gui/main/imp/PlusMinusIcon.java | 5724 | /*
* The University of Wales, Cardiff Triana Project Software License (Based
* on the Apache Software License Version 1.1)
*
* Copyright (c) 2007 University of Wales, Cardiff. All rights reserved.
*
* Redistribution and use of the software in source and binary forms, with
* or without modification, are permitted... | apache-2.0 |
Basil135/vkucyh | chapter_002/src/main/java/ru/job4j/profession/Student.java | 399 | package ru.job4j.profession;
/**
* This class describes student with no parameters and operations.
*
* @author Kucykh Vasily (mailto:basil135@mail.ru)
* @version $Id$
* @since 12.04.2017
*/
public class Student extends Human {
/**
* constructor of Student class.
*
* @param name is name of a s... | apache-2.0 |
mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Caryophyllales/Polygonaceae/Rumex/Rumex loureirianus/README.md | 178 | # Rumex loureirianus Schult.f. SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Asterales/Asteraceae/Paranephelius/README.md | 184 | # Paranephelius Poepp. & Endl. GENUS
#### Status
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Lamiales/Oleaceae/Jasminum/Jasminum kriegeri/README.md | 178 | # Jasminum kriegeri Guillaumin SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
mdoering/backbone | life/Plantae/Magnoliophyta/Liliopsida/Asparagales/Orchidaceae/Polystachya/Polystachya lejolyana/README.md | 188 | # Polystachya lejolyana Stévart 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/Caryophyllales/Polygonaceae/Polygonum/Polygonum pilosum/README.md | 174 | # Polygonum pilosum Hemsl. SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
mdoering/backbone | life/Plantae/Magnoliophyta/Liliopsida/Poales/Poaceae/Dendrocalamus/Dendrocalamus asper/ Syn. Bambusa aspera/README.md | 203 | # Bambusa aspera Schult.f. SPECIES
#### Status
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Syst. veg. 7(2):1352. 1830
#### Original name
null
### Remarks
null | apache-2.0 |
mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Rosales/Rosaceae/Potentilla/Potentilla gracilis/Potentilla gracilis fastigiata/README.md | 240 | # Potentilla gracilis var. fastigiata (Nutt.) S. Wats. VARIETY
#### Status
ACCEPTED
#### According to
Integrated Taxonomic Information System
#### Published in
Proc. Amer. Acad. Arts 8:557. 1873
#### Original name
null
### Remarks
null | apache-2.0 |
softindex/datakernel | core-di/src/main/java/io/datakernel/di/impl/AbstractUnsyncCompiledBinding.java | 875 | package io.datakernel.di.impl;
import java.util.concurrent.atomic.AtomicReferenceArray;
@SuppressWarnings("rawtypes")
public abstract class AbstractUnsyncCompiledBinding<R> implements CompiledBinding<R> {
protected final int scope;
protected final int index;
protected AbstractUnsyncCompiledBinding(int scope, int ... | apache-2.0 |
jbeard4/SCION-CORE | docs/interfaces/__nvm_versions_v8_4_0_lib_node_modules_typedoc_node_modules_typescript_lib_lib_es5_d_.number.html | 27724 | <!doctype html>
<html class="default no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Number | typescript</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../assets/css/m... | apache-2.0 |
DieBauer/flink | flink-connectors/flink-jdbc/src/test/java/org/apache/flink/api/java/io/jdbc/JDBCOutputFormatTest.java | 5607 | /*
* 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 |
tctxl/gulosity | test/src/main/java/Test.java | 474 | import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
/**
* Created by 俊帆 on 2016/10/13.
*/
public class Test {
public void init() throws InterruptedException {
ApplicationContext applicationContext = new ClassPathXmlApplication... | apache-2.0 |
NuwanSameera/carbon-device-mgt-plugins | components/iot-plugins/androidsense-plugin/org.wso2.carbon.device.mgt.iot.androidsense.plugin/src/main/java/org/wso2/carbon/device/mgt/iot/androidsense/plugin/impl/AndroidSenseManagerService.java | 3097 | /*
* Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) 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
*
* Unles... | apache-2.0 |
swjjxyxty/Study | studyjavase/studyjavasedesignpattern/src/main/java/com/bestxty/designpattern/decorator/ConcreteComponent.java | 281 | package com.bestxty.designpattern.decorator;
/**
* @author jiangtaiyang
* Created by jiangtaiyang on 2017/6/29.
*/
public class ConcreteComponent implements Component {
@Override
public void operation() {
System.out.println("real operation.");
}
}
| apache-2.0 |
LearnLib/alex | backend/src/test/java/de/learnlib/alex/data/entities/actions/misc/AssertVariableActionTest.java | 4771 | /*
* Copyright 2015 - 2021 TU Dortmund
*
* 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 agr... | apache-2.0 |
songyang2088/A-week-to-develop-android-app-plan | 001_FeatureGuide/databasetest/src/androidTest/java/com/nollec/datebasetest/ApplicationTest.java | 354 | package com.nollec.datebasetest;
import android.app.Application;
import android.test.ApplicationTestCase;
/**
* <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a>
*/
public class ApplicationTest extends ApplicationTestCase<Application> {
public ApplicationTest() {
... | apache-2.0 |
mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Fabales/Fabaceae/Indigofera/Indigofera quinquefolia/README.md | 188 | # Indigofera quinquefolia E.Mey. SPECIES
#### Status
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
eFaps/eFaps-WebApp | src/main/java/org/efaps/ui/wicket/behaviors/dojo/package-info.java | 797 | /*
* Copyright 2003 - 2014 The eFaps Team
*
* 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 |
x-meta/xworker | xworker_swt/src/main/java/xworker/swt/xworker/ExtendWidgetCreator.java | 3602 | /*******************************************************************************
* Copyright 2007-2013 See AUTHORS file.
*
* 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 |
sgudupat/psc-vote-server | src/main/java/com/psc/vote/vote/domain/Anchor.java | 2490 | package com.psc.vote.vote.domain;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
public class Anchor {
String anchorName;
BigDecimal anchorPrice;
Date creationDate;
String status;
String clientId;
String clientName;
String clientWebsiteAddress;
String clie... | apache-2.0 |
akamit806/MicroSport_IOS | MicroSport/MicroSport/CreateGame/CreateGameViewController.h | 1426 | //
// CreateGameViewController.h
// MicroSport
//
// Created by Satya on 28/08/17.
// Copyright © 2017 Hashim Khan. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "MyTextField.h"
#import "IQDropDownTextField.h"
@interface CreateGameViewController : UIViewController
@property (weak, nonatomic) IBOutlet UI... | apache-2.0 |
llarreta/larretasources | Stepper/src/main/java/ar/com/larreta/stepper/controllers/ParentController.java | 3717 | package ar.com.larreta.stepper.controllers;
import javax.servlet.ServletContext;
import javax.validation.Valid;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.MediaType;
import org.springframework.validation.Errors;
import org.springframework.web.bind.annotation.Request... | apache-2.0 |
TheSoftweyrGroup/B-Accounts | www/index.html | 3720 | <!DOCTYPE html>
<!--
Copyright (c) 2012-2014 Adobe Systems Incorporated. All rights reserved.
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. ... | apache-2.0 |
piotrb5e3/0bit | tests/unit/controllers/login-test.js | 262 | import {moduleFor, test} from 'ember-qunit';
moduleFor('controller:login', 'Unit | Controller | login', {
needs: ['service:metrics', 'service:session']
});
test('it exists', function (assert) {
let controller = this.subject();
assert.ok(controller);
});
| apache-2.0 |
zhouweiaccp/code | SoukeyNetget/frmAddPlanTask.Designer.cs | 20352 | namespace SoukeyNetget
{
partial class frmAddPlanTask
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 t... | apache-2.0 |
mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Boraginales/Boraginaceae/Myosotis/Myosotis reyana/README.md | 172 | # Myosotis reyana Sennen SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
grigarr/base | attributes/mysql.rb | 125 | default['mysql']['tunable']['server_id'] = node['ipaddress'].split('.').collect {|o| o.to_i}.inject(0) {|acc,o| acc*256 + o}
| apache-2.0 |
davidl1/hortonworks-extension | docs/api/org/apache/hadoop/mapred/class-use/TextInputFormat.html | 6020 | <!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_31) on Mon Oct 01 00:28:20 PDT 2012 -->
<TITLE>
Uses of Class org.apache.hadoop.mapred.TextInputFormat (Hadoop 1.0.3.16 API)
</TITLE>
<META NAME="da... | apache-2.0 |
chrisseto/modular-file-renderer | mfr/ext/tabular/tests/test_xlsx_tools.py | 362 | import os
from ..libs import xlrd_tools
HERE = os.path.dirname(os.path.abspath(__file__))
def test_xlsx_xlrd():
with open(os.path.join(HERE, 'fixtures', 'test.xlsx')) as fp:
headers, data = xlrd_tools.xlsx_xlrd(fp)
assert headers[0] == {'field': 'one', 'id': 'one', 'name': 'one'}
assert data[0] ... | apache-2.0 |
haolianluo/haolianluo.github.io | zh-cn/docs/README-04542dfa5f.html | 9410 | <!DOCTYPE html>
<html lang="zh-cn">
<head prefix="og: http://ogp.me/ns#">
<meta charset="utf-8">
<title>Mops Docs</title>
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Canonical links -->
<link rel="canonical" href="h... | apache-2.0 |
daboyuka/PIQUE | tests/util/test-zo-iter.cpp | 3200 | /*
* Copyright 2015 David A. Boyuka II
*
* 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 |
mrhailua/ecas | domain/src/main/java/com/ecas/base/BaseDomain.java | 682 | package com.ecas.base;
import com.ecas.domain.User;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.MappedSuperclass;
@MappedSuperclass
public abstract class BaseDomain extends AbstractDomain {
private User updateUser;
@Column(name = "update_time")
private... | apache-2.0 |
Piterski72/Java-a-to-z | chapter_009/Task08/src/main/java/ru/nivanov/UserFilter.java | 1401 | package ru.nivanov;
import org.json.simple.JSONObject;
import javax.servlet.*;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import java.io.IOException;
import java.io.PrintWriter;
/**
* Created by Nikolay Ivanov on 27.03.2018.
*... | apache-2.0 |
pili-engineering/PLMediaStreamingKit | Example/Pods/Target Support Files/PLMediaStreamingKit/PLMediaStreamingKit-copy-dsyms.sh | 4410 | #!/bin/sh
set -e
set -u
set -o pipefail
function on_error {
echo "$(realpath -mq "${0}"):$1: error: Unexpected failure"
}
trap 'on_error $LINENO' ERR
# Used as a return value for each invocation of `strip_invalid_archs` function.
STRIP_BINARY_RETVAL=0
# Strip invalid architectures
strip_invalid_archs() {
binary=... | apache-2.0 |
pdrados/cas | api/cas-server-core-api-configuration-model/src/main/java/org/apereo/cas/configuration/model/support/cookie/CookieProperties.java | 4453 | package org.apereo.cas.configuration.model.support.cookie;
import org.apereo.cas.configuration.support.RequiresModule;
import com.fasterxml.jackson.annotation.JsonFilter;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.apache.commons.lang3.StringUtils;
import java.io.Seri... | apache-2.0 |
NeatTeam1943/Slifer | src/OI.cpp | 1198 | #include "OI.h"
#include "WPILib.h"
#include "RobotMap.h"
#include "Commands/Elevator/Lift.h"
#include "Commands/Elevator/Lower.h"
#include "Commands/Grabber/OpenArms.h"
#include "Commands/Grabber/CloseArms.h"
#include "Commands/Chassis/Drive.h"
#include "Commands/PutToSmartDashboard.h"
OI::OI() {
this->stick = new J... | apache-2.0 |
Hybrid-Cloud/conveyor | conveyor/clone/drivers/openstack/driver.py | 31506 | # Copyright 2010 United States Government as represented by the
# Administrator of the National Aeronautics and Space Administration.
# Copyright 2011 Justin Santa Barbara
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in complia... | apache-2.0 |
nbonnec/Redface | app/src/main/java/com/ayuget/redface/ui/UIModule.java | 5666 | /*
* Copyright 2015 Ayuget
*
* 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 wr... | apache-2.0 |
grendello/nuget | src/Core/IPackageManager.cs | 1128 | using System;
namespace NuGet {
public interface IPackageManager {
IFileSystem FileSystem { get; set; }
IPackageRepository LocalRepository { get; }
ILogger Logger { get; set; }
IPackageRepository SourceRepository { get; }
event EventHandler<PackageOperationEventArgs>... | apache-2.0 |
aguacongas/HTTP2-FROMMARS | README.md | 44 | # HTTP2-FROMMARS
http2 server for ASP.Net 5
| apache-2.0 |
Tom7353/Lost | core/src/de/tomjanke/lost/game/action/WorldObjectAction.java | 427 | package de.tomjanke.lost.game.action;
import de.tomjanke.lost.game.world.WorldObject;
/**
* Created by Tom on 28.05.2016.
*/
public class WorldObjectAction extends Action {
public WorldObject Object;
public WorldObjectAction(WorldObject o, float d, Runnable r) {
super(d, r);
Object = o;
... | apache-2.0 |
peacepassion/SavingTracker | app/src/main/java/org/peace/savingtracker/ui/home/HomeUserCenterFragment.java | 2275 | package org.peace.savingtracker.ui.home;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.View;
import butterknife.OnClick;
import org.peace.savingtracker.MyApp;
import org.peace.savingtracker.R;
import org.peace.savingtracker.ui.AddExpenseActivit... | apache-2.0 |
ravikumaran2015/ravikumaran201504 | web/api/src/main/java/org/onosproject/rest/TopologyWebResource.java | 8214 | /*
* Copyright 2015 Open Networking Laboratory
*
* 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 la... | apache-2.0 |
psh/OxfordDictionarySample | app/src/main/java/com/gatebuzz/oxfordapi/model/SentencesResults.java | 3199 | /**
*
* No descripton provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 1.6.0
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
... | apache-2.0 |
leemichaelRazer/OSVR-Core | src/osvr/JointClientKit/JointClientContext.cpp | 4568 | /** @file
@brief Implementation
@date 2015
@author
Sensics, Inc.
<http://sensics.com/osvr>
*/
// Copyright 2015 Sensics, 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 L... | apache-2.0 |
alessandrolulli/reforest | docs/scaladocs/reforest/rf/parameter/RFParameterType$$Rotation$.html | 26867 | <!DOCTYPE html >
<html>
<head>
<title>Rotation - Random Forests in Apache Spark 1.2-SNAPSHOT API - reforest.rf.parameter.RFParameterType.Rotation</title>
<meta name="description" content="Rotation - Random Forests in Apache Spark 1.2 - SNAPSHOT API - reforest.rf.parameter.RFParameterType.Rot... | apache-2.0 |
zachcwillson/uw-cse | cse-374/project-7/scan.cpp | 2365 | /*
* Implementation of scanner for rational number calculator
* CSE 374, 17wi, HP
*/
#include "token.h"
#include "scan.h"
#include <string>
#include <cctype>
#include <cstdlib>
using namespace std;
// Next unprocessed token on current input line.
// Undefined if set_input has not been called.
token next_tok;
// C... | apache-2.0 |
mdoering/backbone | life/Plantae/Magnoliophyta/Liliopsida/Poales/Cyperaceae/Cyperus/Cyperus conglomeratus/ Syn. Cyperus conglomeratus ensifolius/README.md | 194 | # Cyperus conglomeratus var. ensifolius VARIETY
#### Status
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
nghiant2710/base-images | balena-base-images/golang/jetson-nano-emmc/ubuntu/bionic/1.15.7/run/Dockerfile | 2331 | # AUTOGENERATED FILE
FROM balenalib/jetson-nano-emmc-ubuntu:bionic-run
ENV GO_VERSION 1.15.7
# 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 \
' \
&& ... | apache-2.0 |
nghiant2710/base-images | balena-base-images/node/cubox-i/ubuntu/focal/14.15.4/run/Dockerfile | 2913 | # AUTOGENERATED FILE
FROM balenalib/cubox-i-ubuntu:focal-run
ENV NODE_VERSION 14.15.4
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.com --... | apache-2.0 |
aspnet/AspNetCore | src/SignalR/server/Core/src/Internal/HubContext`T.cs | 802 | // 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.SignalR.Internal
{
internal class HubContext<THub, T> : IHubContext<THub, T>
where THub : Hub<T>
where T : class
{
private... | apache-2.0 |
JMarple/UMass-Launch-Comm | mavlink-build/include/v0.9/ualberta/mavlink.h | 456 | /** @file
* @brief MAVLink comm protocol built from ualberta.xml
* @see http://mavlink.org
*/
#ifndef MAVLINK_H
#define MAVLINK_H
#ifndef MAVLINK_STX
#define MAVLINK_STX 85
#endif
#ifndef MAVLINK_ENDIAN
#define MAVLINK_ENDIAN MAVLINK_BIG_ENDIAN
#endif
#ifndef MAVLINK_ALIGNED_FIELDS
#define MAVLINK_ALIGNED_FIELDS ... | apache-2.0 |
uber/jaeger | cmd/collector/Dockerfile | 486 | ARG base_image
ARG debug_image
FROM $base_image AS release
ARG TARGETARCH=amd64
COPY collector-linux-$TARGETARCH /go/bin/collector-linux
EXPOSE 14250/tcp
ENTRYPOINT ["/go/bin/collector-linux"]
FROM $debug_image AS debug
ARG TARGETARCH=amd64
COPY collector-debug-linux-$TARGETARCH /go/bin/collector-linux
EXPOSE 12345/t... | apache-2.0 |
MazenDesigns/bscommunity | application/core/application.php | 1928 | <?php
/**
* bloodstone community V1.0.0
* @link https://www.facebook.com/Mazn.touati
* @author Mazen Touati
* @version 1.0.0
*/
class Application {
protected $controller = 'home',
$method = 'index',
$params = [];
static $prefix = URL;
/**
*
*/
public f... | apache-2.0 |
googleapis/java-compute | proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ManagedInstanceLastAttempt.java | 25027 | /*
* 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 ... | apache-2.0 |
googleapis/java-compute | proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/VpnGatewayStatusTunnelOrBuilder.java | 2892 | /*
* 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 ... | apache-2.0 |
Deukhoofd/InsurgenceServer | InsurgenceServerCore/Battles/Battle.cs | 4347 | using System;
using System.Threading.Tasks;
using InsurgenceServerCore.ClientHandler;
namespace InsurgenceServerCore.Battles
{
public class Battle
{
public Guid Id;
public string Username1;
public string Username2;
public Client Client1;
public Client Client2;
... | apache-2.0 |
RandomCodeOrg/PPPluginGradle | plugin/src/main/java/com/github/randomcodeorg/ppplugin/data/gradle/JavaSourceSetProvider.java | 751 | package com.github.randomcodeorg.ppplugin.data.gradle;
import java.io.File;
import org.gradle.api.tasks.SourceSetContainer;
public class JavaSourceSetProvider implements SourceSetProvider {
private final SourceSetContainer container;
public JavaSourceSetProvider(SourceSetContainer container) {
this.container ... | apache-2.0 |
MediaHound/AtSugar | Pod/Classes/ASSingleton.h | 456 | //
// ASSingleton.h
// AtSugar
//
// Created by Dustin Bachrach on 9/28/14.
// Copyright (c) 2014 Media Hound. All rights reserved.
//
#define singleton(name) class __singleton__NOT_A_CLASS__; + (instancetype)name {\
{\
static id sharedInstance = nil;\
static dispatch_once_t onceToken;\
... | apache-2.0 |
alefesouza/gdg-sp | Desktop/GDGSPCheckIn/Properties/AssemblyInfo.cs | 2406 | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | apache-2.0 |
carlsc2/EGDHorrorGame | HeartbeatHorror/Assets/Scripts/Demon/demonStateSwallow.cs | 2038 | using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class demonStateSwallow : StateMachineBehaviour {
private Image blackscreen;
private UnityStandardAssets.Characters.FirstPerson.MouseLook ml;
private Transform pcamera;
private Transform player;
// OnStateEnter is called when a ... | apache-2.0 |
3210108chen/weige | GitTest/GitTest/ViewController.h | 206 | //
// ViewController.h
// GitTest
//
// Created by rimi on 15/7/29.
// Copyright (c) 2015年 rimi. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ViewController : UIViewController
@end
| apache-2.0 |
eltitopera/TFM | manager/src/src/main/java/Manager/ServiceManager.java | 2338 | package Manager;
import Tweet.Tweet;
import com.fasterxml.jackson.databind.DeserializationFeature;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.apache.kafka.clients.consumer.ConsumerRecord;
import org.apache.kafka.clients.consumer.ConsumerRecords;
import org.apache.kafka.clients.consumer.KafkaConsum... | apache-2.0 |
traczykowski/lpp | src/main/java/pl/npe/lpp/preprocessor/line/DirectiveUsage.java | 1523 | package pl.npe.lpp.preprocessor.line;
import java.util.Collections;
import java.util.List;
/**
* Created by IntelliJ IDEA.
* User: tomek
* Date: 08.06.14
* Time: 15:01
*/
public class DirectiveUsage {
private String directive;
private List<String> params;
public DirectiveUsage(String directive, Li... | apache-2.0 |
dvvrd/qreal | plugins/robots/common/trikKit/src/blocks/details/drawRectBlock.cpp | 1307 | /* Copyright 2007-2015 QReal Research Group
*
* 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 |
metaborg/jsglr | org.spoofax.jsglr/test/org/spoofax/jsglr/tests/TestAmb.java | 1041 | /*
* Created on 05.des.2005
*
* Copyright (c) 2005, Karl Trygve Kalleberg <karltk near strategoxt.org>
*
* Licensed under the GNU Lesser General Public License, v2.1
*/
package org.spoofax.jsglr.tests;
import org.spoofax.interpreter.terms.IStrategoTerm;
import org.spoofax.jsglr.client.InvalidParseTableException;... | apache-2.0 |
sroze/kubernetes | docs/kubectl_proxy.md | 3061 | ## kubectl proxy
Run a proxy to the Kubernetes API server
### Synopsis
Run a proxy to the Kubernetes API server.
```
kubectl proxy [--port=PORT] [--www=static-dir] [--www-prefix=prefix] [--api-prefix=prefix]
```
### Examples
```
// Run a proxy to kubernetes apiserver on port 8011, serving static content from ./... | apache-2.0 |
vespa-engine/vespa | clustercontroller-core/src/test/java/com/yahoo/vespa/clustercontroller/core/ClusterStateViewTest.java | 3671 | // Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.clustercontroller.core;
import com.yahoo.vdslib.state.*;
import com.yahoo.vespa.clustercontroller.core.hostinfo.HostInfo;
import com.yahoo.vespa.clustercontroller.core.hostinfo.StorageNodeSt... | apache-2.0 |
jakebacker/UnityGame | Assets/Project/Scripts/BasicSword.cs | 154 | using UnityEngine;
using System.Collections;
public class BasicSword : Weapon {
public BasicSword () {
damageMultiplier = 1.0;
speed = 1.0;
}
}
| apache-2.0 |
SkygearIO/skygear-server | pkg/auth/dependency/authenticator/oob/deps.go | 1217 | package oob
import (
"context"
"github.com/google/wire"
"github.com/skygeario/skygear-server/pkg/auth/dependency/urlprefix"
"github.com/skygeario/skygear-server/pkg/core/async"
"github.com/skygeario/skygear-server/pkg/core/config"
"github.com/skygeario/skygear-server/pkg/core/db"
"github.com/skygeario/skygear... | apache-2.0 |
suncht/wordtable-read | commit.bat | 67 | git add .
git commit -m "更新README.MD"
git push -u origin master | apache-2.0 |
softwarelma/utils | src/main/java/com/softwarelma/epe/p3/print/EpePrintFinalPrint_separator_smart.java | 3797 | package com.softwarelma.epe.p3.print;
import java.util.ArrayList;
import java.util.List;
import com.softwarelma.epe.p1.app.EpeAppException;
import com.softwarelma.epe.p1.app.EpeAppUtils;
import com.softwarelma.epe.p2.exec.EpeExecContent;
import com.softwarelma.epe.p2.exec.EpeExecContentInternal;
import com.softwarelm... | apache-2.0 |
googleads/googleads-java-lib | modules/adwords_appengine/src/main/java/com/google/api/ads/adwords/jaxws/v201809/cm/BiddingStrategyOperation.java | 2228 | // Copyright 2018 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writi... | apache-2.0 |
mdoering/backbone | life/Fungi/Ascomycota/Dothideomycetes/Meliolales/Meliolaceae/Meliola/Meliola perseae/Meliola perseae setulifera/README.md | 294 | # Meliola perseae f. setulifera Speg. FORM
#### Status
ACCEPTED
#### According to
Index Fungorum
#### Published in
Boletín de la Academia Nacional de Ciencias de Córdoba 26(2-4): 380 [no. 16, reprint page 14] (1923)
#### Original name
Meliola perseae f. setulifera Speg.
### Remarks
null | apache-2.0 |
michaelcouck/ikube | code/core/src/test/java/ikube/action/ReopenTest.java | 4627 | package ikube.action;
import ikube.AbstractTest;
import ikube.IConstants;
import ikube.action.index.IndexManager;
import ikube.model.IndexContext;
import ikube.toolkit.FILE;
import ikube.toolkit.THREAD;
import org.apache.lucene.index.IndexWriter;
import org.junit.After;
import org.junit.Before;
import org.j... | apache-2.0 |
liaobude/simple | README.md | 28 | # simple
laravel simple app
| apache-2.0 |
sabi0/intellij-community | platform/platform-impl/src/com/intellij/application/options/schemes/AbstractSchemesPanel.java | 11570 | /*
* Copyright 2000-2017 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | apache-2.0 |
deepmind/deepmind-research | ogb_lsc/mag/data_utils.py | 18032 | # Copyright 2021 DeepMind Technologies 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
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed... | apache-2.0 |
18826252059/im | src/Topxia/Common/FileToolkit.php | 56525 | <?php
namespace Topxia\Common;
use Imagine\Image\Box;
use Imagine\Gd\Imagine;
use Imagine\Image\Point;
use Topxia\Service\Common\ServiceKernel;
use Symfony\Component\Filesystem\Filesystem;
use Symfony\Component\HttpFoundation\File\File;
use Symfony\Component\HttpFoundation\File\UploadedFile;
use Symfony\Component\Http... | apache-2.0 |
ChiangC/FMTech | GooglePlus/app/src/main/java/lsr.java | 15760 | import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Rect;
import android.graphics.RectF;
import android.util.DisplayMetrics;
import android.view.Display;
import android.view.View;
import android.view.WindowManager;
public final class lsr
{
static final lsp<Bitmap> a = n... | apache-2.0 |
consulo/consulo-junit | plugin/src/main/java/com/intellij/execution/junit2/configuration/JUnitConfigurable.java | 29412 | /*
* Copyright 2000-2016 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | apache-2.0 |
rdmorganiser/rdmo | rdmo/core/templates/core/about_text_fr.html | 1522 | {% load static %}
{% load core_tags %}
{% load i18n %}
<div class="text-center">
<img class="rdmo-logo" src="{% static 'core/img/rdmo-logo.svg' %}" alt="{% trans 'RDMO Logo' %}" />
<h1>Research data management organiser</h1>
<h4>Version {% version %}</h4>
</div>
<div class="text-justify">
<p>
... | apache-2.0 |
chendongMarch/QuickRv | lightadapter/build/docs/javadoc/com/zfy/adapter/function/LxEvent.html | 13351 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="zh">
<head>
<!-- Generated by javadoc (1.8.0_91) on Sun Sep 08 16:40:49 CST 2019 -->
<title>LxEvent (lightadapter API)</title>
<meta name="date" content="2019-09-08">
<link rel="stylesheet... | apache-2.0 |
raintank/raintank-apps | vendor/github.com/raintank/worldping-api/pkg/middleware/middleware.go | 2035 | package middleware
import (
"encoding/base64"
"strconv"
"strings"
"github.com/raintank/raintank-apps/pkg/auth"
"gopkg.in/macaron.v1"
)
type Context struct {
*macaron.Context
*auth.SignedInUser
ApiKey string
}
func GetContextHandler() macaron.Handler {
return func(c *macaron.Context) {
ctx := &Context{
... | apache-2.0 |
gokhankuyucak/AeropressApp | src/pages/home/home.ts | 1064 | import { Component } from '@angular/core';
import { NavController } from 'ionic-angular';
import { HttpModule } from '@angular/http';
import { RecipeServiceProvider } from '../../providers/recipe/recipe.service';
import { Recipe } from '../../providers/recipe/recipe.model';
import { RecipeDetailPage } from '../recipe-d... | apache-2.0 |
fstahnke/arx | doc/gui/org/deidentifier/arx/gui/model/package-use.html | 34278 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="de">
<head>
<title>Uses of Package org.deidentifier.arx.gui.model (ARX GUI Documentation)</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="St... | apache-2.0 |
gawkermedia/googleads-java-lib | modules/dfp_appengine/src/main/java/com/google/api/ads/dfp/jaxws/v201511/DeactivateAudienceSegments.java | 984 |
package com.google.api.ads.dfp.jaxws.v201511;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
*
* Action that can be performed on {@link FirstPartyAudienceSegment} objects to deactivate them.
* ... | apache-2.0 |
chigix/CHIGIX-SERVICE | docs/functions.md | 2954 | Functions
===============================
# string arrayImplode( string $glue, string $separator, array $array);
* 功能:将关联数组合并成一个字符串,弥补PHP原生的implode函数仅能处理数值数组的不足。
* 参数:
$glue 键值之间的连接,形如 `{$key}{$glue}{$value}`
$separator 数组元素与元素之间的整体分隔符
$array 要进行合并的目标数组(关联数组)
# void redirectHeader($addr, $params =... | apache-2.0 |
dizitart/nitrite-database | nitrite/src/test/java/org/dizitart/no2/objects/data/PersonEntity.java | 1463 | /*
*
* Copyright 2017-2018 Nitrite author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | apache-2.0 |
e-biz/gatling-liferay | src/main/webapp/css/view.css | 4467 | /**
* Copyright 2011-2016 GatlingCorp (http://gatling.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 appl... | apache-2.0 |
stefanil/ReportFX | client/src/main/java/org/devel/reportfx/Starter.java | 695 | package org.devel.reportfx;
import de.saxsys.mvvmfx.FluentViewLoader;
import javafx.application.Application;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;
import de.saxsys.mvvmfx.ViewTuple;
public class Starter extends Application {
public static void main(String... args) {
... | apache-2.0 |
resouer/cri-o | server/container_create.go | 11852 | package server
import (
"encoding/json"
"errors"
"fmt"
"os"
"path/filepath"
"strings"
"syscall"
"github.com/Sirupsen/logrus"
"github.com/docker/docker/pkg/stringid"
"github.com/kubernetes-incubator/cri-o/oci"
"github.com/kubernetes-incubator/cri-o/server/apparmor"
"github.com/kubernetes-incubator/cri-o/se... | apache-2.0 |
cmmanish/OldUITempTest | examples/v201109/GetAllVideos.java | 2746 | // Copyright 2011, Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | apache-2.0 |
intrack/BoofCV-master | main/geo/test/boofcv/alg/geo/pose/TestPnPRodriguesCodec.java | 2081 | /*
* Copyright (c) 2011-2013, Peter Abeles. All Rights Reserved.
*
* This file is part of BoofCV (http://boofcv.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
*
* http://www... | apache-2.0 |