repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
SENA-CEET/1349397-Trimestre-4 | java/JSF/mavenproject2/src/main/java/co/edu/sena/mavenproject2/model/entities/InstructorFicha.java | 4558 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package co.edu.sena.mavenproject2.model.entities;
import java.io.Serializable;
import java.util.Collection;
import javax.persistence.C... | apache-2.0 |
DForshner/ReactFluxDashboardProto | ReactFluxDashboardProto.Web/Scripts/App/actions/StationEquipmentAlarmActionCreators.js | 733 | //
"use strict";
var AppDispatcher = require('../dispatcher/AppDispatcher');
var StationEquipmentAlarmConstants = require('../constants/StationEquipmentAlarmConstants');
var StationEquipmentAlarmsWebApiUtils = require('../webapiutils/StationEquipmentAlarmsWebApiUtils')
var Station = require('../domain/Station');
var... | apache-2.0 |
yahoo/fili | fili-core/src/main/java/com/yahoo/bard/webservice/table/Schema.java | 1788 | // Copyright 2017 Yahoo Inc.
// Licensed under the terms of the Apache license. Please see LICENSE.md file distributed with this work for terms.
package com.yahoo.bard.webservice.table;
import com.yahoo.bard.webservice.data.time.Granularity;
import com.yahoo.bard.webservice.util.Utils;
import java.util.LinkedHashSet;... | apache-2.0 |
juanjtp/WebSite | partials/portfolio.html | 13522 | <section id="portfolio" class="bg-light-gray">
<div class="container">
<div class="row">
<div class="col-lg-12 text-center">
<h2 class="section-heading">¿Cómo funciona?</h2>
<h3 class="section-subheading text-muted">¡Es fácil! Solo tienes que h... | apache-2.0 |
csgordon/SJS | sjsc/src/main/java/com/samsung/sjs/backend/asts/ir/Str.java | 1266 | /*
* Copyright 2014-2016 Samsung Research America, 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 applica... | apache-2.0 |
cshannon/activemq-artemis | tests/artemis-test-support/src/main/java/org/apache/activemq/transport/amqp/client/transport/NettyWSTransport.java | 6723 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | apache-2.0 |
00wendi00/MyProject | W_myeclipse/plugins/org.eclipse.birt.doc_2.5.2.me201003052220/birt/crosstab.17.8.html | 39347 | <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta... | apache-2.0 |
hmrc/amls-frontend | app/views/businessmatching/updateservice/remove/remove_activities.scala.html | 2394 | @*
* Copyright 2021 HM Revenue & Customs
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | apache-2.0 |
ilice/OSCWeb | test/pane.test.js | 3763 | var expect = require('chai').expect
describe('Pane', function () {
describe('# Show pane', function () {
it('should show a lateral pane when requested (click on data feature)', function () {
const pane = require('../src/pane')
expect(pane.show).to.be.a('function')
pane.show()
expect(docume... | apache-2.0 |
RexMorgan/Commander | Source/Commander/Registration/LambdaConfigurationAction.cs | 425 | using System;
namespace Commander.Registration
{
public class LambdaConfigurationAction : IConfigurationAction
{
private readonly Action<CommandGraph> _action;
public LambdaConfigurationAction(Action<CommandGraph> action)
{
_action = action;
}
... | apache-2.0 |
googleforgames/quilkin | build/ci/github-bot/README.md | 1185 | # Github Notification Bot
This is the bot that created comments on GitHub pull requests whenever a
[Google Cloud Build](https://cloud.google.com/build) build passes or fails.
## Setup
### Image
Run `make build` to submit the cloud build to create the image that will be hosted on
[Cloud Run](https://cloud.google.c... | apache-2.0 |
scalingdata/Impala | thirdparty/hbase-1.1.1.2.3.0.0-2557/docs/xref/org/apache/hadoop/hbase/regionserver/AnnotationReadingPriorityFunction.html | 39721 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<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" />
<title>AnnotationReadingPriorityFunction xref</title>... | apache-2.0 |
trade-nexus/tradesharp-core | Backend/TradeHubUserInterface/TradeHub.UserInterface.BootStrap/Properties/AssemblyInfo.cs | 3813 | /*****************************************************************************
* Copyright 2016 Aurora Solutions
*
* http://www.aurorasolutions.io
*
* Aurora Solutions is an innovative services and product company at
* the forefront of the software industry, with processes and practices
* involving Domain Dri... | apache-2.0 |
cpearce/HARM | src/dlib/svm/one_vs_one_decision_function.h | 11314 | // Copyright (C) 2010 Davis E. King (davis@dlib.net)
// License: Boost Software License See LICENSE.txt for the full license.
#ifndef DLIB_ONE_VS_ONE_DECISION_FUnCTION_H__
#define DLIB_ONE_VS_ONE_DECISION_FUnCTION_H__
#include "one_vs_one_decision_function_abstract.h"
#include "../serialize.h"
#include "..... | apache-2.0 |
nghiant2710/base-images | balena-base-images/golang/genericx86-64-ext/debian/jessie/1.15.11/run/Dockerfile | 2349 | # AUTOGENERATED FILE
FROM balenalib/genericx86-64-ext-debian:jessie-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 \
' \
&... | apache-2.0 |
sedesdev/design-patterns | src/br/com/caelum/designpatterns/decorator/imposto/ICMS.java | 358 | package br.com.caelum.designpatterns.decorator.imposto;
import br.com.caelum.designpatterns.modelo.Orcamento;
public class ICMS extends Imposto{
public ICMS(Imposto outroImposto) {
super(outroImposto);
}
public ICMS() {
}
public double calcula(Orcamento orcamento){
return orcamento.getValor() * 0.1 + c... | apache-2.0 |
thi-ng/ws-beo-1 | include/ctss/pluck.h | 758 | #pragma once
#include "synth.h"
#define PLUCK_ACC_LEN 0x600
#define PLUCK_ACC_FREQ_LIMIT ((float)SAMPLE_RATE / (float)PLUCK_ACC_LEN)
typedef struct {
float acc[PLUCK_ACC_LEN]; // ~28.71 Hz lowest freq
float gain;
float dcOffset;
float variation;
float damping;
float smoothA;
float smoothB... | apache-2.0 |
wangqi/gameserver | admin/src/main/java/com/xinqihd/sns/gameserver/admin/i18n/ColumnNames.java | 3924 | package com.xinqihd.sns.gameserver.admin.i18n;
import java.util.HashMap;
public class ColumnNames {
private static HashMap<String, String> map = new HashMap<String, String>();
static {
map.put("profile" , "profile");
map.put("vip" , "vip");
map.put("ability" , "ability");
map.put("login" , "登陆");
map.p... | apache-2.0 |
SpenceKonde/MagicMirror | php/test2.php | 201 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>title</title>
</head>
<body>
<?php
echo "{\"Relay0\":";
echo apc_fetch('Relay0');
echo "}";
?>
</body>
</html> | apache-2.0 |
grommet/grommet-people-finder | src/messages/pt-BR.js | 822 | // (C) Copyright 2014-2016 Hewlett Packard Enterprise Development LP
export default {
'People Finder': 'Localizador de Pessoas',
'Groups Finder': 'Localizador de Grupos',
'Locations Finder': 'Localizador de Locais',
'People': 'Pessoas',
'Groups': 'Grupos',
'Locations': 'Locais',
'Organization': 'Organiza... | apache-2.0 |
gitlabhq/omnibus-gitlab | spec/gitlab/build/image_spec.rb | 5717 | require 'spec_helper'
require 'gitlab/build/image'
RSpec.describe Build::Image do
ComponentImage = Class.new do
extend Build::Image
def self.gitlab_registry_image_name
'my-project/my-image'
end
def self.dockerhub_image_name
'my-image'
end
end
before do
allow(ENV).to receive... | apache-2.0 |
albertleecn/HelloWpf | Properties/Resources.Designer.cs | 2797 | //------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本: 4.0.30319.17929
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将丢失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace H... | apache-2.0 |
davidl1/hortonworks-extension | build/docs/api/org/apache/hadoop/mapred/join/class-use/OverrideRecordReader.html | 6183 | <!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_26) on Sun Dec 30 01:26:13 PST 2012 -->
<TITLE>
Uses of Class org.apache.hadoop.mapred.join.OverrideRecordReader (Hadoop 1.0.4-SNAPSHOT API)
</TITLE>... | apache-2.0 |
Banno/polymer-lint | example/missing-import.html | 220 | <dom-module id="missing-import">
<template>
<style include="i-am-never-imported"></style>
<i-am-never-imported-either/>
</template>
<script>
Polymer({ is: 'missing-import' });
</script>
</dom-module>
| apache-2.0 |
Anteoy/jottings | src/main/java/com/anteoy/coreJava/reflect/BeanUtil.java | 1049 | package com.anteoy.coreJava.reflect;
import java.lang.reflect.Method;
public class BeanUtil {
/**
* ���ݱ�javaBean�������������ȡ������ֵ
*
* @param obj
* @param propertyName
* @return
*/
public static Object getValueByPropertyName(Object obj, String propertyName) {
// 1.��... | apache-2.0 |
JohnSnowLabs/spark-nlp | docs/_posts/maziyarpanahi/2021-06-04-translate_hy_en_xx.md | 2607 | ---
layout: model
title: Translate Armenian to English Pipeline
author: John Snow Labs
name: translate_hy_en
date: 2021-06-04
tags: [open_source, pipeline, seq2seq, translation, hy, en, xx, multilingual]
task: Translation
language: xx
edition: Spark NLP 3.1.0
spark_version: 3.0
supported: true
article_header:
type: c... | apache-2.0 |
xasx/roslyn | src/ExpressionEvaluator/CSharp/Source/ExpressionCompiler/Symbols/EENamedTypeSymbol.cs | 11286 | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using Microsoft.CodeAnalysis.CSharp.Symbols;
us... | apache-2.0 |
Adobe-Marketing-Cloud/aem-scf-sample-components-extension | bundles/aem-scf-extensions/src/main/java/com/adobe/aem/scf/extensions/IdeationStatusExtension.java | 2104 | package com.adobe.aem.scf.extensions;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
import javax.jcr.Session;
import org.apache.felix.scr.annotations.Component;
import org.apache.felix.scr.annotations.Service;
import org.apache.sling.api.resource.Resource;
import o... | apache-2.0 |
nshikalkov/timesheet | public/css/style.css | 1012 | body {
padding-top: 60px;
padding-bottom: 40px;
}
body.nomenu {
padding-top: 10px;
}
.zf-green {
color: #68b604;
}
.btn-success {
background-color: #57a900;
background-image: -moz-linear-gradient(top, #70d900, #57a900);
background-image: -ms-linear-gradient(top, #70d900, #57a900);
backgr... | apache-2.0 |
kele/find-by-ut | static/style.css | 2454 | ::selection{ background-color: #E13300; color: white; }
::moz-selection{ background-color: #E13300; color: white; }
::webkit-selection{ background-color: #E13300; color: white; }
body {
font-family: "Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif;
color: #888;
font-style: normal;
font-size:... | apache-2.0 |
mazhaoyong/mazhaoyong.github.io | source/about/index.md | 163 | title: 关于我
date: 2015-07-28 18:30:27
---
生成1985,山东临沂人,现居北京
兴趣广泛,自学编程,入行6年余,一路行来,期望更高
| apache-2.0 |
jan-molak/serenity-js | packages/webdriverio/spec/screenplay/interactions/execute-script/ExecuteAsynchronousScript.spec.ts | 6757 | import 'mocha';
import { EventRecorder, expect } from '@integration/testing-tools';
import { Ensure, equals } from '@serenity-js/assertions';
import { actorCalled, Question, Serenity } from '@serenity-js/core';
import { ActivityFinished, ActivityRelatedArtifactGenerated, ActivityStarts, ArtifactGenerated } from '@sere... | apache-2.0 |
trudeau/spanning | src/test/java/org/nnsoft/trudeau/spanning/BoruvkaTestCase.java | 8095 | package org.nnsoft.trudeau.spanning;
/*
* Copyright 2013 The Trudeau Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2... | apache-2.0 |
yunbookf/Chameleon | ctr/middle.php | 390 | <?php
declare(strict_types = 1);
namespace ctr;
use sys\Ctr;
class middle extends Ctr {
public function _load() {
if (PATH !== 'test/middle') {
return true;
}
return '_action: ' . $this->_action . '<br><br>In fact, the middle method does not exist in the test controller, whic... | apache-2.0 |
RemcoTukker/eve-nodejs-remco | services/localTransport.js | 364 | module.exports = LocalTransport;
function LocalTransport(incoming, options) {
options = options || {};
this.name = "local";
this.outgoing = function(destination, message, sender, callback) {
setImmediate(incoming(destination, message, callback)); //to make function async, just like other transports?
//inco... | apache-2.0 |
pioryan/smslib | javadoc/org/smslib/modem/ModemGateway.ModemTypes.html | 14019 | <!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_27) on Wed Mar 06 23:03:06 EET 2013 -->
<TITLE>
ModemGateway.ModemTypes (SMSLib 3.5.3)
</TITLE>
<META NAME="date" CONTENT="2013-03-06">
<LINK REL =... | apache-2.0 |
explora26/zephyr | drivers/pinmux/pinmux_rv32m1.c | 3496 | /*
* Copyright (c) 2016 Freescale Semiconductor, Inc.
* Copyright (c) 2018 Foundries.io
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <errno.h>
#include <device.h>
#include <pinmux.h>
#include <fsl_common.h>
#include <fsl_clock.h>
struct pinmux_rv32m1_config {
clock_ip_name_t clock_ip_name;
PORT_Type *b... | apache-2.0 |
markus1978/citygml4emf | de.hub.citygml.emf.ecore/src/net/opengis/gml/FeaturePropertyType.java | 14502 | /**
* <copyright>
* </copyright>
*
* $Id$
*/
package net.opengis.gml;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.util.FeatureMap;
import org.w3._1999.xlink.ActuateType;
import org.w3._1999.xlink.ShowType;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Featu... | apache-2.0 |
Langenoir1878/vet_web | src/main/java/web/hospital/LoginBean.java | 4588 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package edu.iit.sat.itmd4515.yzhan214.fp.web.hospital;
import edu.iit.sat.itmd4515.yzhan214.fp.web.hospital.AbstractJSFBean;
... | apache-2.0 |
adioss/MyWebAppBootstrap | src/main/resources/static/js/apis/ApiConstants.js | 111 | export const GET = 'GET';
export const PUT = 'PUT';
export const POST = 'POST';
export const DELETE = 'DELETE'; | apache-2.0 |
malcolmgreaves/abstract_data | data-tc-spark/README.md | 1733 | data-tc-spark
==============
[](https://maven-badges.herokuapp.com/maven-central/io.malcolmgreaves/data-tc-spark_2.11)
An implementation of the `Data` type class using Spark `RDD`s (http://bi... | apache-2.0 |
TwoPillar/jiba | src/com/twopillar/jiba/activity/MainActivity.java | 8696 | package com.twopillar.jiba.activity;
import android.graphics.Color;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.support.v4.app.FragmentTabHost;
import android.view.KeyEvent;
import android.view.View;
import android.widget.RadioButton;
import android.widget.RadioGroup;
import and... | apache-2.0 |
careerbuilder/routes-revealer | test/dummy/config/routes.rb | 653 | # Copyright 2017 CareerBuilder, 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 |
329277920/Snail | Snail.Pay.Ali.Sdk/Domain/KoubeiCateringPosPaymodeQueryModel.cs | 408 | using System;
using System.Xml.Serialization;
namespace Aop.Api.Domain
{
/// <summary>
/// KoubeiCateringPosPaymodeQueryModel Data Structure.
/// </summary>
[Serializable]
public class KoubeiCateringPosPaymodeQueryModel : AopObject
{
/// <summary>
/// 门店id
/// </summary>... | apache-2.0 |
nanditav/15712-TensorFlow | tensorflow/tensorboard/components/vz_projector/vz-projector.ts | 20485 | /* Copyright 2016 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agree... | apache-2.0 |
calonso-conabio/intranet | protected/humhub/modules/admin/messages/lt/controllers_SettingController.php | 457 | <?php
return array (
'APC' => 'APC',
'Could not load LDAP! - Check PHP Extension' => 'Nepavyko įkelti LDAP! - Patikrinkite PHP versiją',
'Database' => 'Duomenu bazė',
'File' => 'Failas',
'No caching (Testing only!)' => 'Nėra kaupimo talpykloje (tik testavimas!)',
'No theme' => 'Be temos',
'None - shows dr... | apache-2.0 |
SAP/cloud-odata-java | odata-core/src/main/java/com/sap/core/odata/core/uri/expression/OrderExpressionImpl.java | 2356 | /*******************************************************************************
* Copyright 2013 SAP AG
*
* 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/l... | apache-2.0 |
execunix/vinos | external/ibm-public/postfix/dist/src/global/resolve_local.c | 5728 | /* $NetBSD: resolve_local.c,v 1.1.1.2 2013/01/02 18:59:00 tron Exp $ */
/*++
/* NAME
/* resolve_local 3
/* SUMMARY
/* determine if domain resolves to local mail system
/* SYNOPSIS
/* #include <resolve_local.h>
/*
/* void resolve_local_init()
/*
/* int resolve_local(domain)
/* const char *domain;
/* DESCRIPTION
/* reso... | apache-2.0 |
getlantern/httpseverywhere | preprocessor.go | 2872 | package httpseverywhere
import (
"bytes"
"encoding/gob"
"encoding/xml"
"io/ioutil"
"path/filepath"
"regexp"
"github.com/getlantern/golog"
)
// Preprocessor is a struct for preprocessing rules into a GOB file.
var Preprocessor = &preprocessor{
log: golog.LoggerFor("httpseverywhere-preprocessor"),
}
type prep... | apache-2.0 |
UniversalDependencies/universaldependencies.github.io | bej/feat/Number.html | 8800 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-GB" xml:lang="en-GB" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<title>Number</title>
<link rel="r... | apache-2.0 |
tlindsay42/ArmorPowerShell | tests/lib/ArmorAccount.Tests.ps1 | 6414 | $systemUnderTest = ( Split-Path -Leaf $MyInvocation.MyCommand.Path ) -replace '\.Tests\.', '.'
$filePath = Join-Path -Path $CI_MODULE_LIB_PATH -ChildPath 'ArmorTypes.ps1'
. $filePath
$class = $systemUnderTest.Split( '.' )[0]
$describe = $Global:FORM_CLASS -f $class
Describe -Name $describe -Tag 'Class', $class -Fixtu... | apache-2.0 |
ioanrogers/aws-sdk-perl | auto-lib/Paws/ResourceTagging/FailureInfo.pm | 1732 | package Paws::ResourceTagging::FailureInfo;
use Moose;
has ErrorCode => (is => 'ro', isa => 'Str');
has ErrorMessage => (is => 'ro', isa => 'Str');
has StatusCode => (is => 'ro', isa => 'Int');
1;
### main pod documentation begin ###
=head1 NAME
Paws::ResourceTagging::FailureInfo
=head1 USAGE
This class re... | apache-2.0 |
metatron-app/metatron-discovery | discovery-server/src/main/java/app/metatron/discovery/common/geospatial/geojson/PointGeometry.java | 975 | /*
* 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
* distribut... | apache-2.0 |
e-biz/gatling-liferay | src/main/java/io/gatling/liferay/model/impl/ProcessModelImpl.java | 11680 | /**
* 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 |
netoramalho/ti.slidemenu | app/controllers/index.js | 1119 | /*
------
IOS
------
*/
if(OS_IOS){
// NappSlideMenu
var NappSlideMenu = require('dk.napp.slidemenu');
var drawerIphone = NappSlideMenu.createSlideMenuWindow({
centerWindow: $.navWindow,
leftWindow: Alloy.createController('menu').getView(),
leftLedge: 50
});
// Configure navigation and init app
Alloy.G... | apache-2.0 |
aspnet/AspNetCore | src/Mvc/test/WebSites/RazorPagesWebSite/Pages/CustomBaseType/PageWithModel.cs | 268 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Microsoft.AspNetCore.Mvc.RazorPages;
namespace RazorPagesWebSite
{
public class PageWithModel : PageModel
{
}
}
| apache-2.0 |
blegros/TestBoxCLI | lib/cli.js | 357 | module.exports = function (process, manifest, actionCallback) {
var program = require('commander');
program
.version(manifest.version)
.option('-v, --verbose', 'Enable verbose output')
.command('*')
.action(function (args) {
actionCallback(process, args);
});... | apache-2.0 |
deepmind/deepmind-research | cs_gan/main_ode.py | 12654 | # Copyright 2019 DeepMind Technologies Limited and 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 applic... | apache-2.0 |
OpenTouch/python-facette | src/facette/v1/plot.py | 2559 | # Copyright (c) 2014 Alcatel-Lucent Enterprise
# 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
#
# Un... | apache-2.0 |
opensource000/cnblogs | log_thrift/nonblock_server.cpp | 2062 | #include "gen-cpp/LogSender.h"
#include <thrift/protocol/TBinaryProtocol.h>
#include <thrift/server/TNonblockingServer.h>
#include <thrift/transport/TServerSocket.h>
#include <thrift/transport/TBufferTransports.h>
#include <thrift/concurrency/PosixThreadFactory.h>
using namespace ::apache::thrift;
using namespace ::ap... | apache-2.0 |
VHAINNOVATIONS/Telepathology | Source/Java/ImagingCommon/main/src/java/gov/va/med/imaging/exceptions/StudyURNFormatException.java | 472 | package gov.va.med.imaging.exceptions;
public class StudyURNFormatException
extends URNFormatException
{
private static final long serialVersionUID = 6271193731031546478L;
public StudyURNFormatException()
{
super();
}
public StudyURNFormatException(String message)
{
super(message);
}
public StudyURNFor... | apache-2.0 |
heyboss/corkairporttaxi | index.html | 18597 | <!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="Cork Airport Taxi is a leader in transportation services for Cork Airport and Cork... | apache-2.0 |
opentelecoms-org/jsmpp | jsmpp/src/main/java/org/jsmpp/session/state/SMPPSessionState.java | 6024 | /*
* 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
* distribute... | apache-2.0 |
dadoonet/spring-elasticsearch | src/test/java/fr/pilato/spring/elasticsearch/it/annotation/SecurityOptionalConfig.java | 1399 | /*
* Licensed to David Pilato (the "Author") under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. Author licenses this
* file to you under the Apache License, Version 2.0 (the
* "License"); you may not use... | apache-2.0 |
ISSC/Bluebit | src/com/issc/widget/LoadingFragment.java | 1195 | // vim: et sw=4 sts=4 tabstop=4
/*
* 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 i... | apache-2.0 |
superphy/backend | app/modules/loggingFunctions.py | 1056 | #!/usr/bin/env python
"""
Set up the logging
"""
import logging
import tempfile
import os
def initialize_logging():
"""
Set up the screen and file logging.
:return: The log filename
"""
# set up DEBUG logging to file, INFO logging to STDERR
log_file = os.path.join(tempfile.gettempdir()... | apache-2.0 |
spark/spark-sdk-android | cloudsdk/src/main/java/io/particle/android/sdk/cloud/ParticleDevice.java | 26059 | package io.particle.android.sdk.cloud;
import android.annotation.SuppressLint;
import android.os.Parcel;
import android.os.Parcelable;
import android.support.annotation.MainThread;
import android.support.annotation.Nullable;
import android.support.annotation.WorkerThread;
import org.greenrobot.eventbus.EventBus;
impo... | apache-2.0 |
byakatat/selenium-training | test_login.py | 586 | import pytest
from selenium import webdriver
@pytest.fixture
def driver(request):
wd = webdriver.Firefox(capabilities={"marionette": True})
#(desired_capabilities={"chromeOptions": {"args": ["--start-fullscreen"]}})
request.addfinalizer(wd.quit)
return wd
def test_example(driver):
driver.get("ht... | apache-2.0 |
haskell-infra/libphutil-rackspace | externals/php-opencloud/vendor/rackspace/php-opencloud/tests/OpenCloud/Tests/Volume/Resource/SnapshotTest.php | 1781 | <?php
/**
* Copyright 2012-2014 Rackspace US, 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 la... | apache-2.0 |
adennie/fb-otto | README.md | 334 | fb-otto
=======
A fork of Square's Otto library that defines an IBus interface that the Bus class implements. Other than that change, the implementation is identical to Square's.
Maven users:
```xml
<dependency>
<groupId>com.fizz-buzz</groupId>
<artifactId>fb-otto</artifactId>
<version>1.3.3</version>
</de... | apache-2.0 |
kermitt2/grobid | grobid-core/src/main/java/org/grobid/core/features/FeaturesVectorFulltext.java | 5369 | package org.grobid.core.features;
import org.grobid.core.layout.LayoutToken;
import org.grobid.core.utilities.TextUtilities;
/**
* Class for features used for fulltext parsing.
*
*/
public class FeaturesVectorFulltext {
public LayoutToken token = null; // not a feature, reference value
public String string... | apache-2.0 |
zhaojijet/CS224d | Assignment1/q2_sigmoid.py | 1343 | import numpy as np
def sigmoid(x):
"""
Compute the sigmoid function for the input here.
"""
x = 1. / (1. + np.exp(-x))
return x
def sigmoid_grad(f):
"""
Compute the gradient for the sigmoid function here. Note that
for this implementation, the input f should be the sigmoid
... | apache-2.0 |
dyx0818/dyx0818.github.io | tags/Python/index.html | 16993 | <!doctype html>
<html class="theme-next pisces use-motion">
<head>
<meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
<meta http-equiv="Cache-Control" content="no-transform" />
<meta... | apache-2.0 |
elmah/Fabmail | src/App_Packages/StackTraceFormatter/StackTraceFormatter.cs | 7333 | #region Copyright (c) 2011 Atif Aziz. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by app... | apache-2.0 |
ZhangXFeng/hadoop | share/doc/api/org/apache/hadoop/yarn/security/admin/class-use/AdminSecurityInfo.html | 4716 | <!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_75) on Tue May 19 17:12:42 PDT 2015 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Uses of Class org.a... | apache-2.0 |
mmorga/archi-tools-rb | lib/archimate/data_model/concern.rb | 576 | # frozen_string_literal: true
module Archimate
module DataModel
# document attribute holds all the concern information.
#
# This is ConcernType in the XSD
class Concern
include Comparison
# @!attribute [r] label
# @return [LangString] one label is required
model_attr :label
... | apache-2.0 |
aws/aws-sdk-java | aws-java-sdk-glue/src/main/java/com/amazonaws/services/glue/model/transform/GetCatalogImportStatusRequestMarshaller.java | 2076 | /*
* Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... | apache-2.0 |
warrenmnocos/oauth2 | oauth2-security/src/main/java/org/filetec/oauth2/security/AuthorizationServerConfiguration.java | 2994 | /*
* Copyright 2016 Pivotal Software, 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 ... | apache-2.0 |
lessthanoptimal/BoofCV | main/boofcv-types/src/test/java/boofcv/struct/TestListIntPoint2D.java | 2929 | /*
* Copyright (c) 2020, 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.apac... | apache-2.0 |
sbg/sevenbridges-java | api/src/main/java/com/sevenbridges/apiclient/transfer/UploadContext.java | 5821 | /*
* Copyright 2017 Seven Bridges Genomics, 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 re... | apache-2.0 |
xgqfrms/JavaWeb | JavaGUI/src/test_JLabel/JLabel02.java | 810 | package test_JLabel;
import java.awt.Color;
import java.awt.Container;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.Point;
import javax.swing.JFrame;
import javax.swing.JLabel;
public class JLabel02 {
public static void main(String args[]){
JFrame fra = new JFrame("Swing ´°Ìå±êÌâ");
JLabel l... | apache-2.0 |
ambasta/aws-sdk-cpp | aws-cpp-sdk-cognito-identity/include/aws/cognito-identity/model/GetIdentityPoolRolesRequest.h | 2700 | /*
* Copyright 2010-2016 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 "license" fil... | apache-2.0 |
0x0mar/arachni | spec/arachni/element/capabilities/auditable/taint_spec.rb | 16875 | require 'spec_helper'
describe Arachni::Element::Capabilities::Auditable::Taint do
before :all do
Arachni::Options.url = @url = web_server_url_for( :taint )
@auditor = Auditor.new( nil, Arachni::Framework.new )
@positive = Arachni::Element::Link.new( @url, 'input' => '' )
@positiv... | apache-2.0 |
mayunSaicmotor/incubator-carbondata | integration/spark2/src/test/scala/org/apache/spark/carbondata/restructure/vectorreader/AddColumnTestCases.scala | 5716 | package org.apache.spark.carbondata.restructure.vectorreader
import java.math.{BigDecimal, RoundingMode}
import org.apache.spark.sql.Row
import org.apache.spark.sql.common.util.QueryTest
import org.scalatest.BeforeAndAfterAll
class AddColumnTestCases extends QueryTest with BeforeAndAfterAll {
override def beforeA... | apache-2.0 |
deeplearning4j/deeplearning4j | nd4j/nd4j-remote/nd4j-grpc-client/src/test/java/org/nd4j/graph/GraphInferenceGrpcClientTest.java | 4034 | /*******************************************************************************
* Copyright (c) 2015-2018 Skymind, Inc.
*
* This program and the accompanying materials are made available under the
* terms of the Apache License, Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0.
*
*... | apache-2.0 |
HewlettPackard/oneview-sdk-ruby | lib/oneview-sdk/resource/api2400/synergy/volume_template.rb | 867 | # (C) Copyright 2021 Hewlett Packard Enterprise Development LP
#
# 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... | apache-2.0 |
VitalFew/Transdev | VitalFew.Transdev.Australasia.Data.Api/VitalFew.Transdev.Australasia.Data.Api/Areas/HelpPage/ModelDescriptions/DictionaryModelDescription.cs | 172 | namespace VitalFew.Transdev.Australasia.Data.Api.Areas.HelpPage.ModelDescriptions
{
public class DictionaryModelDescription : KeyValuePairModelDescription
{
}
} | apache-2.0 |
bom-d-van/csfw | config/scopeperm.go | 2241 | // Copyright 2015, Cyrill @ Schumacher.fm and the CoreStore contributors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless ... | apache-2.0 |
kasundezoysa/senze | testpi/myDevice.py | 4355 | #!/usr/bin/env python
# Copyright (c) Twisted Matrix Laboratories.
# See LICENSE for details.
from twisted.internet.protocol import DatagramProtocol
from twisted.internet import reactor
import datetime
import socket
import time
import sys
import os.path
lib_path = os.path.abspath('../utils')
sys.path.append(lib_pat... | apache-2.0 |
nvapp/nv-android-libs | src/com/nvapp/android/libs/view/TitleProvider.java | 205 | package com.nvapp.android.libs.view;
public interface TitleProvider {
/**
* Returns the title of the view at position
*
* @param position
* @return
*/
public String getTitle(int position);
}
| apache-2.0 |
siconos/siconos-deb | numerics/src/FrictionContact/GlobalFrictionContactProblem.c | 5821 | /* Siconos is a program dedicated to modeling, simulation and control
* of non smooth dynamical systems.
*
* Copyright 2016 INRIA.
*
* 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
*
*... | apache-2.0 |
sunshine763/GoogleAndroidSamples | actionbarcompat-basic/src/test/java/com/xing/sample/actionbarcompat_basic/ExampleUnitTest.java | 330 | package com.xing.sample.actionbarcompat_basic;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* To work on unit tests, switch the Test Artifact in the Build Variants view.
*/
public class ExampleUnitTest {
@Test
public void addition_isCorrect() throws Exception {
assertEquals(4, 2 + 2... | apache-2.0 |
mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Malpighiales/Violaceae/Rinorea/Rinorea cerasifolia/README.md | 178 | # Rinorea cerasifolia M.Brandt SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
mdoering/backbone | life/Plantae/Pteridophyta/Polypodiopsida/Polypodiales/Polypodiaceae/Goniophlebium/Goniophlebium levigatum/README.md | 186 | # Goniophlebium levigatum (Cav.) Conz. 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/Gentianales/Rubiaceae/Coprosma/Coprosma wollastonii/ Syn. Coprosma habbemensis/README.md | 195 | # Coprosma habbemensis Merr. & L.M.Perry 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/Caryophyllales/Phytolaccaceae/Rivina/Rivina latifolia/README.md | 171 | # Rivina latifolia Lam. 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/Lowsonara/README.md | 159 | # ×Lowsonara GENUS
#### 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/Fabales/Fabaceae/Lotononis/Lotononis meyeri/README.md | 221 | # Lotononis meyeri (C.Presl) B.-E.van Wyk SPECIES
#### Status
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
Buchenroedera meyeri C.Presl
### Remarks
null | apache-2.0 |
mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Asterales/Asteraceae/Hieracium/Hieracium marginifloccum/README.md | 180 | # Hieracium marginifloccum Folin 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/Digitaria/Digitaria sanguinalis/ Syn. Digitaria sanguinalis sabulosa/README.md | 197 | # Digitaria sanguinalis subsp. sabulosa SUBSPECIES
#### Status
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |