repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
JackJiang2011/beautyeye | doc/api_doc/org/jb2011/lnf/beautyeye/ch19_list/package-summary.html | 7135 | <!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 (version 1.7.0_80) on Fri Nov 13 17:08:56 CST 2015 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>org.jb2011.lnf... | apache-2.0 |
ppartida/jdesign-patterns | src/com/fifino/patterns/strategy/ItFlys.java | 206 | package com.fifino.patterns.strategy;
/**
* Created by porfiriopartida on 2/13/16.
*/
public class ItFlys implements Flys {
@Override
public String fly() {
return "Flying high!";
}
}
| apache-2.0 |
hambroperks/j2objc | translator/src/main/java/com/google/devtools/j2objc/translate/CastResolver.java | 12986 | /*
* 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
* distributed u... | apache-2.0 |
fillipesouza/mygame | src/textures/TerrainTexturePack.java | 1125 | package textures;
public class TerrainTexturePack {
private TerrainTexture backgroundTexture;
private TerrainTexture rTexture;
private TerrainTexture gTexture;
private TerrainTexture bTexture;
public TerrainTexture getBackgroundTexture() {
return backgroundTexture;
}
public void setBackgroundTexture(Terrain... | apache-2.0 |
cilium/cilium | vendor/github.com/aws/aws-sdk-go-v2/service/ec2/CHANGELOG.md | 4716 | # v1.30.0 (2022-02-24)
* **Feature**: API client updated
* **Feature**: Adds RetryMaxAttempts and RetryMod to API client Options. This allows the API clients' default Retryer to be configured from the shared configuration files or environment variables. Adding a new Retry mode of `Adaptive`. `Adaptive` retry mode is a... | apache-2.0 |
ya790206/kolla-ansible-docker | scripts/deploy.sh | 89 | #!/bin/bash
/kolla-ansible/tools/kolla-ansible -i /etc/kolla-ansible-docker/inventory $@
| apache-2.0 |
shooash/XHFW3 | app/src/main/java/com/zst/xposed/halo/floatingwindow3/prefs/FloatDotActivity.java | 5002 | package com.zst.xposed.halo.floatingwindow3.prefs;
import android.app.*;
import android.content.SharedPreferences.OnSharedPreferenceChangeListener;
import android.content.*;
import android.os.*;
import com.zst.xposed.halo.floatingwindow3.*;
import java.util.prefs.*;
import android.widget.*;
import android.graphics.*;
... | apache-2.0 |
007slm/nutz | test/org/nutz/resource/ScansTest.java | 5137 | package org.nutz.resource;
import static org.junit.Assert.*;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.net.MalformedURLException;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
import javax.servlet.Servlet;
import junit.... | apache-2.0 |
treyka/threaty_threatego | README.md | 1916 | threaty_threatego
=================
What is it?
-----------
* A Maltego entity pack encompassing the entire [STIX][0] data model
and a targeted subset of the [CybOX][1] data model.
But wait, wasn't there already one of those?
--------------------------------------------
* Yeah, this was inspired by [STIXtego][2] bu... | apache-2.0 |
idigbio-citsci-hackathon/carrotFacetNgram | carrot2-webapp-3.8.1/herballsilvertrigram/01071659.txt.html | 4201 | <html>
<head>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<span class='rank0 0.0'>?I</span>
<span class='rank0 0.0'>???</span>
<span class='rank0 0.0'>O</span>
<span class='rank0 0.0'>?</span>
<span class='rank0 0.0'>?</span>
<span class='rank0 0.0'>?</span>
<span class='rank0 0.0'>i</span>
... | apache-2.0 |
eemirtekin/Sakai-10.6-TR | providers/jldap-mock/src/java/edu/amc/sakai/user/ResourcePropertiesEditStub.java | 4899 | /**********************************************************************************
* $URL: https://source.sakaiproject.org/svn/providers/tags/sakai-10.6/jldap-mock/src/java/edu/amc/sakai/user/ResourcePropertiesEditStub.java $
* $Id: ResourcePropertiesEditStub.java 105079 2012-02-24 23:08:11Z ottenhoff@longsight.com ... | apache-2.0 |
TSavo/FarlightRacing | database.go | 699 | package greatspacerace
import (
"bufio"
"fmt"
"github.com/TSavo/go.firebase"
"os"
)
func init() {
f, err := os.Open("firebase.secret")
if err != nil {
fmt.Printf("error opening firebase.secret: %v\n", err)
}
r := bufio.NewReader(f)
url, e := Readln(r)
if e != nil {
panic(e)
}
secret... | apache-2.0 |
pinittome/pinitto.me | public/js/socket.js | 124 | define(['socket.io'], function() {
var socket = io.connect('//' + window.document.location.host);
return socket;
})
| apache-2.0 |
flcdrg/WeatherConsole | WeatherConsole/WeatherService.cs | 1347 | using System;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using Newtonsoft.Json;
namespace WeatherConsole
{
public class WeatherService
{
private const string url = @"http://gardiner-weather.azurewebsites.net/api/forecast/"; //SA/Adelaide";
publi... | apache-2.0 |
triggerNZ/intellij-scala | test/org/jetbrains/plugins/scala/javaHighlighting/JavaHighlightingTest.scala | 2899 | package org.jetbrains.plugins.scala
package javaHighlighting
import com.intellij.codeInsight.daemon.impl.HighlightInfoType
import com.intellij.ide.highlighter.JavaFileType
import com.intellij.psi.{PsiDocumentManager, PsiFile}
import com.intellij.testFramework.fixtures.impl.CodeInsightTestFixtureImpl
import org.jetbrai... | apache-2.0 |
liuyuanyuan/dbeaver | plugins/org.jkiss.dbeaver.ext.postgresql/src/org/jkiss/dbeaver/ext/postgresql/PostgreServerHome.java | 1764 | /*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2019 Serge Rider (serge@jkiss.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.org/license... | apache-2.0 |
vespa-engine/vespa | fsa/src/alltest/lookup_test.sh | 344 | #!/bin/bash
# Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
set -e
if [ -z "$SOURCE_DIRECTORY" ]; then
SOURCE_DIRECTORY="."
fi
./fsa_lookup_test_app __testfsa__.__fsa__ < $SOURCE_DIRECTORY/testinput.txt > lookup_test.output
diff lookup_test.output $SOURCE_DI... | apache-2.0 |
InspurUSA/nifi | nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/controller/ControllerFacade.java | 86923 | /*
* 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 |
akarnokd/Reactive4JavaFlow | src/main/java/hu/akarnokd/reactive4javaflow/processors/EsetlegProcessor.java | 1100 | /*
* Copyright 2017 David Karnok
*
* 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 |
agile-geoscience/agilegeo | bruges/rockphysics/test/fluidsub_test.py | 2698 | # -*- coding: utf-8 -*-
"""
Tests.
"""
import unittest
from bruges.rockphysics import fluidsub
# Inputs... GAS case
vp_gas = 2429.0
vs_gas = 1462.4
rho_gas = 2080.
# Expected outputs... BRINE case
vp_brine = 2850.5
vs_brine = 1416.1
rho_brine = 2210.0
phi = 0.275 # Don't know this... reading from fig
rhoh... | apache-2.0 |
mzule/AndroidWeekly | app/src/main/java/com/github/mzule/androidweekly/ui/view/NaviBar.java | 1740 | package com.github.mzule.androidweekly.ui.view;
import android.app.Activity;
import android.content.Context;
import android.content.res.TypedArray;
import android.util.AttributeSet;
import android.widget.TextView;
import com.github.mzule.androidweekly.R;
import com.github.mzule.androidweekly.ui.view.base.BaseLinearLa... | apache-2.0 |
ar-ubin/BeNotified | app/src/main/java/ar_ubin/benotified/base/BaseActivity.java | 1440 | package ar_ubin.benotified.base;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentTransaction;
import android.support.v7.app.AppCompatActivity;
import javax.inject.Inject;
import ar_ubin.benotified.ActivityModule;
import ar_ubin.benotified.ApplicationComponent;... | apache-2.0 |
cfieber/spinnaker-gradle-project | spinnaker-extensions/README.md | 2106 | ## Gradle plugin for supporting spinnaker plugin implementations.
This **gradle** plugin allows Spinnaker developers to bundle, publish and register **_"spinnaker plugins"_** with spinnaker.
### Usage
```groovy
buildscript {
repositories {
maven { url "https://dl.bintray.com/spinnaker/gradle/" }
}
dependen... | apache-2.0 |
zelig81/hyperactive-class | A226/src/com/example/a226/MainActivity.java | 776 | package com.example.a226;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
public class MainActivity extends Activity {
EditText et;
@Override
protected void onCreate(Bundle savedInstanceSt... | apache-2.0 |
badlogicmanpreet/aura | aura-components/src/test/components/clientServiceTest/enqueueAction/enqueueActionTest.js | 25099 | /*
* Copyright (C) 2013 salesforce.com, 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 ... | apache-2.0 |
zycgit/configuration | mysearch.git/mysearch-server/src/main/webapp/tpl/logging.html | 74 | <div id="logging" class="clearfix">
<div id="frame"></div>
</div> | apache-2.0 |
umeshawasthi/blooddonor | src/main/java/com/raisonne/quartz/scheduler/job/service/impl/JobUtil.java | 935 | /*
* Copyright 2010-2011 Raisonne Techonologies.
*
* 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 |
vanbungkring/vbsim | build/iphone/Classes/TiUIiPadPopover.h | 527 | /**
* Appcelerator Titanium Mobile
* Copyright (c) 2010 by SIM, Inc. All Rights Reserved.
* Licensed under the terms of the Apache Public License
* Please see the LICENSE included with this distribution for details.
*
* WARNING: This is generated code. Modify at your own risk and without support.
*/
#if defined... | apache-2.0 |
innocentliny/SFTP_demo | v4/My4FileSystem.java | 1470 | package ftp.v4;
import java.io.IOException;
import java.nio.file.attribute.UserPrincipalLookupService;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashSet;
import java.util.Set;
import org.apache.sshd.common.file.util.BaseFileSystem;
import org.apache.sshd.common.file.util.ImmutableList;
... | apache-2.0 |
cuplv/cuanto | src/main/scala/edu/colorado/plv/cuanto/scoot/concrete_interpreter/Builder.scala | 1760 | package edu.colorado.plv.cuanto.scoot
package concrete_interpreter
import soot.{Value, IntType, Local, Immediate}
import soot.jimple._
/** Write convenience functions for constructing soot Value objects
* that represent arithemtic expressions (for testing, mainly)
*
* This should largely be subsumed by the "Sc... | apache-2.0 |
bendisposto/JVersionNumberer | JVersionNumberer/src/main/java/de/hhu/jversionnumberer/annotations/ImplementableByClient.java | 1173 | /*
* Copyright 2011 Gian Perrone
*
* 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 |
stdlib-js/stdlib | lib/node_modules/@stdlib/stats/base/dists/levy/median/lib/index.js | 994 | /**
* @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 |
dreamfactorysoftware/df-oauth | database/migrations/2015_05_02_134911_update_user_table_for_oauth_support.php | 1764 | <?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class UpdateUserTableForOauthSupport extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
if (!Schema::hasColumn('user', 'oauth_provider')) {
... | apache-2.0 |
assemblade/CAT | cat-server/src/test/java/com/assemblade/server/security/UserManagerTest.java | 1709 | /*
* Copyright 2012 Mike Adamson
*
* 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 |
hochanh/hochanh.github.io | rtk/v4/1792.html | 316 | <!DOCTYPE html>
<meta charset=utf-8>
<title>Redirecting...</title>
<link rel=canonical href="../業/index.html">
<meta http-equiv=refresh content="0; url='../業/index.html'">
<h1>Redirecting...</h1>
<a href="../業/index.html">Click here if you are not redirected.</a>
<script>location='../業/index.html'</script>
| apache-2.0 |
GoogleChromeLabs/adaptive-loading | react-ebay-network-aware-code-splitting/src/App.css | 422 |
.main {
margin: 8px;
}
.generic-font-color {
color: #636363;
}
.bold-font-color {
color: #333;
}
a {
color: #0654ba;
}
.flexbox {
display: flex;
align-items: center;
}
.ellipsis {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.minor-font-size {
font-size: .75em;
display:... | apache-2.0 |
spring-projects/spring-net-codeconfig | tools/nant/doc/help/functions/timespan.from-minutes.html | 2171 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting FromMinutes-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
... | apache-2.0 |
steinarvk/rigour | rigour/tests/test_secrecy.py | 1198 | # Copyright 2015 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writi... | apache-2.0 |
zzy6395/drill | exec/java-exec/src/test/java/org/apache/drill/exec/vector/complex/writer/TestJsonReader.java | 12785 | /**
* 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 |
CloudComLab/Voting-CAP | src/service/handler/twostep/CSNHandler.java | 3838 | package service.handler.twostep;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.File;
import java.io.IOException;
import java.net.Socket;
import java.security.KeyPair;
import java.security.PublicKey;
import java.security.SignatureException;
import java.util.concurrent.locks.ReentrantLo... | apache-2.0 |
kdheepak89/pypdevs | pypdevs/schedulers/schedulerNA.py | 7125 | # Copyright 2014 Modelling, Simulation and Design Lab (MSDL) at
# McGill University and the University of Antwerp (http://msdl.cs.mcgill.ca/)
#
# 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 |
Uncommon/diadem | Test/BindingTest.cc | 2858 | // Copyright 2010 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not
// use this file except in compliance with the License. You may obtain a copy
// of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to i... | apache-2.0 |
watson-developer-cloud/java-sdk | visual-recognition/src/main/java/com/ibm/watson/visual_recognition/v4/model/AddImagesOptions.java | 6096 | /*
* (C) Copyright IBM Corp. 2019, 2020.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | apache-2.0 |
tischda/hugo-search | vendor/github.com/bep/golibsass/internal/libsass/settings.hpp | 77 | #ifndef USE_LIBSASS_SRC
#include "../../libsass_src/src/settings.hpp"
#endif
| apache-2.0 |
ctrlzhang/mz_server | src/include/mz_application.h | 2191 | #ifndef _MZ_APPLICATION_H
#define _MZ_APPLICATION_H
#include "mz_common.h"
#include "mz_option_parser.h"
#include "mz_daemon.h"
#ifdef _WIN32
#include "windows.h"
#endif
namespace Meizhi
{
//app slot
typedef struct {
//init
pFunc g_app_pre_init;
pFunc g_app_init;
pFunc g_app_post_init;
... | apache-2.0 |
Klocman/Bulk-Crap-Uninstaller | source/BulkCrapUninstaller/Forms/Helpers/DebugWindow.Designer.cs | 24731 | using System.ComponentModel;
using System.Windows.Forms;
namespace BulkCrapUninstaller.Forms
{
partial class DebugWindow
{
/// <summary>
/// Required designer variable.
/// </summary>
private IContainer components = null;
/// <summary>
/// Clean up... | apache-2.0 |
reynoldsm88/drools | drools-model/drools-model-compiler/src/test/java/org/drools/modelcompiler/domain/TargetPolicy.java | 1281 | /*
* Copyright 2005 JBoss 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 i... | apache-2.0 |
manastech/ruby-openid | test/test_xrds.rb | 4557 | require 'test/unit'
require 'testutil'
require 'openid/yadis/xrds'
module OpenID
module Yadis
module XRDSTestMixin
include TestDataMixin
XRD_FILE = 'valid-populated-xrds.xml'
NOXRDS_FILE = 'not-xrds.xml'
NOXRD_FILE = 'no-xrd.xml'
XRDS_DATA_DIR = TEST_DATA_DIR.join('test_xrds')
... | apache-2.0 |
jmuehlner/incubator-guacamole-client | guacamole/src/main/webapp/app/form/services/formService.js | 10923 | /*
* 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 |
TonyYang9527/Magic-Web | src/main/java/com/cell/user/web/shrio/filter/authc/CustomFormAuthenticationFilter.java | 1780 | package com.cell.user.web.shrio.filter.authc;
import javax.servlet.ServletRequest;
import org.apache.shiro.SecurityUtils;
import org.apache.shiro.authc.AuthenticationException;
import org.apache.shiro.web.filter.authc.FormAuthenticationFilter;
import org.springframework.beans.factory.annotation.Autowired;
imp... | apache-2.0 |
CaptTofu/kubernetes | pkg/proxy/proxier.go | 4258 | /*
Copyright 2014 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 applicable law or agreed to in ... | apache-2.0 |
Bersaelor/D2 | iOS_app/Classes/Native/Mono_Security_Mono_Security_Protocol_Tls_RecordPro1331996967.h | 2633 | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
// System.Threading.ManualResetEvent
struct ManualResetEvent_t924017833;
// System.IO.Stream
struct Stream_t1561764144;
// Mono.Security.Protocol.Tls.Context
struct Context_t658806145... | apache-2.0 |
StockSharp/StockSharp | Algo/Candles/Candle.cs | 13470 | #region S# License
/******************************************************************************************
NOTICE!!! This program and source code is owned and licensed by
StockSharp, LLC, www.stocksharp.com
Viewing or use of this code requires your acceptance of the license
agreement found at https://github.com/St... | apache-2.0 |
besn0847/alpinevpn | README.md | 280 | # OpenVPN for Docker on Alpine
Quick instructions: see https://github.com/jpetazzo/dockvpn
Specific for alpine :
```bash
CID=$(docker run -d --privileged -p 1194:1194/udp besn0847/alpinevpn)
docker run -t -i -p 8080:8080 --volumes-from $CID besn0847/alpinevpn serveconfig
```
| apache-2.0 |
mttkay/RxJava | rxjava-core/src/test/java/rx/internal/operators/OperatorOnBackpressureBufferTest.java | 3022 | /**
* Copyright 2014 Netflix, 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 t... | apache-2.0 |
GoogleCloudPlatform/ruby-docs-samples | appengine/standard-static-files/rails/public/404.html | 2148 | <!--
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
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writi... | apache-2.0 |
cidadania/e-cidadania | src/core/spaces/models.py | 8796 | # -*- coding: utf-8 -*-
#
# Copyright (c) 2013 Clione Software
# Copyright (c) 2010-2013 Cidadania S. Coop. Galega
#
# 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.or... | apache-2.0 |
foundation-runtime/orchestration | src/main/java/com/cisco/oss/foundation/orchestration/scope/resource/SCOPeResources.scala | 14254 | /*
* Copyright 2014 Cisco Systems, 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 agr... | apache-2.0 |
openstack/horizon | openstack_dashboard/dashboards/identity/identity_providers/protocols/tables.py | 2469 | # Copyright (C) 2015 Yahoo! 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 applicable law... | apache-2.0 |
PrudhviRaju123/Tour | app/src/main/java/com/ua/hower/house/NavigationDrawerCallbacks.java | 178 | package com.ua.hower.house;
/**
* Created by poliveira on 27/10/2014.
*/
public interface NavigationDrawerCallbacks {
void onNavigationDrawerItemSelected(int position);
}
| apache-2.0 |
j-coll/opencga | opencga-core/src/main/java/org/opencb/opencga/core/models/study/VariableSetCreateParams.java | 3818 | /*
* Copyright 2015-2020 OpenCB
*
* 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 |
RasaHQ/rasa_nlu | docs/themes/theme-custom/theme/Playground/styles.module.css | 732 | .playgroundHeader {
letter-spacing: 0.08rem;
padding: 0.75rem;
text-transform: uppercase;
font-weight: bold;
}
.playgroundEditorHeader {
background: rgb(32, 35, 42);
color: #999;
}
.playgroundPreviewHeader {
background: rgb(236, 236, 236);
color: rgb(109, 109, 109);
}
.playgroundPreview {
border: 1... | apache-2.0 |
zhhf/charging | charging/db/migration/alembic_migrations/versions/19180cf98af6_nsx_gw_devices.py | 4178 | # Copyright 2014 OpenStack Foundation
#
# 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 |
lorenpaz/CardEx | src/main/java/es/ucm/fdi/iw/controller/HomeController.java | 4005 | package es.ucm.fdi.iw.controller;
import java.security.Principal;
import java.util.ArrayList;
import java.util.List;
import javax.persistence.EntityManager;
import javax.servlet.http.HttpSession;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework... | apache-2.0 |
XLabs/xlabs.github.io | html/_event_extensions_8cs.html | 6341 | <!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">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... | apache-2.0 |
aseldawy/spatialhadoop | src/mapred/org/apache/hadoop/mapred/spatial/RTreeGridRecordWriter.java | 955 | package org.apache.hadoop.mapred.spatial;
import java.io.IOException;
import org.apache.hadoop.fs.FileSystem;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.io.IntWritable;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapred.RecordWriter;
import org.apache.hadoop.mapred.Reporter;
import org.... | apache-2.0 |
TremoloSecurity/OpenUnison | unison/unison-sdk/src/main/java/com/tremolosecurity/proxy/ExternalSessionExpires.java | 1124 | /*******************************************************************************
* Copyright 2019 Tremolo Security, 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://... | apache-2.0 |
cackharot/geosnap-server | src/geosnap/service/UserService.py | 2611 | from datetime import datetime
import random
import string
from bson import ObjectId
class DuplicateUserException(Exception):
def __init__(self, message='User name/email already exits'):
Exception.__init__(self, message)
pass
class UserServiceException(Exception):
def __init__(self, message=None... | apache-2.0 |
hpe-cct/cct-core | src/main/scala/cogx/cogmath/hypergraph/Levelize.scala | 3714 | /*
* (c) Copyright 2016 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 b... | apache-2.0 |
lpxz/grail-lucene358684 | src/java/org/apache/lucene/index/SegmentReader.java | 18645 | package org.apache.lucene.index;
/**
* Copyright 2004 The Apache Software Foundation
*
* 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 |
wildfly-swarm/wildfly-swarm-javadocs | 2017.1.1/apidocs/org/wildfly/swarm/config/messaging/activemq/server/class-use/RemoteConnectorSupplier.html | 8216 | <!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_60-ea) on Wed Jan 04 17:08:18 EST 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Interface org.wil... | apache-2.0 |
bartosh/zipline | zipline/testing/core.py | 47174 | from abc import ABCMeta, abstractmethod, abstractproperty
from contextlib import contextmanager
from functools import wraps
import gzip
from inspect import getargspec
from itertools import (
combinations,
count,
product,
)
import operator
import os
from os.path import abspath, dirname, join, realpath
import... | apache-2.0 |
darkcrash/bjd5 | Bjd.Startup/wwwroot/bjd5-ftp.html | 20202 | <!--
Copyright (c) Microsoft. All rights reserved.
Licensed under the MIT license. See LICENSE file in the project root for full license information.
-->
<!DOCTYPE html>
<html xmlns:msxsl="urn:schemas-microsoft-com:xslt">
<head>
<meta content="en-us" http-equiv="Content-Language" />
<meta content="tex... | apache-2.0 |
ezbake/ezmongo | ezmongo-java-driver/src/main/org/bson/util/ClassAncestry.java | 3530 | /* Copyright (C) 2013-2014 Computer Sciences Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | apache-2.0 |
rdblue/incubator-nifi | commons/data-provenance-utils/src/main/java/org/apache/nifi/provenance/lineage/FlowFileNode.java | 2335 | /*
* 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 |
qvuilliot/less.js | lib/less/parser.js | 49427 | var less, tree;
if (typeof environment === "object" && ({}).toString.call(environment) === "[object Environment]") {
// Rhino
// Details on how to detect Rhino: https://github.com/ringo/ringojs/issues/88
if (typeof(window) === 'undefined') { less = {} }
else { less = wind... | apache-2.0 |
xiehan/zoara-server | src/zoara/sfs2x/extension/LoginEventHandler.java | 4312 | package zoara.sfs2x.extension;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.Arrays;
import zoara.sfs2x.extension.simulation.World;
import zoara.sfs2x.extension.utils.RoomHelper;
import com.smartfoxserver.bitswarm.sessions.ISe... | apache-2.0 |
antihax/mock-esi | latest/go/model_get_corporations_corporation_id_fw_stats_kills.go | 606 | package esilatest
/*
Summary of kills done by the given corporation against enemy factions */
type GetCorporationsCorporationIdFwStatsKills struct {
/*
Last week's total number of kills by members of the given corporation against enemy factions */
LastWeek int32 `json:"last_week,omitempty"`
/*
Total number of k... | apache-2.0 |
MirekVales/FinesSE | FinesSE/FinesSE.Outil/Actions/Focus.cs | 455 | using FinesSE.Contracts.Infrastructure;
using FinesSE.Contracts.Invokable;
using FinesSE.Core.WebDriver;
namespace FinesSE.Outil.Actions
{
public class Focus : IVoidAction
{
public IExecutionContext Context { get; set; }
[EntryPoint]
public void Invoke(LocatedElements elements)
... | apache-2.0 |
xii/xii | src/xii/validator.py | 6612 | import socket
import re
from xii import error, util
# sample validator
# keys = Dict(
# [
# RequiredKey("foo", String(), desc="A string to manipulate something"),
# Key("bar", String(), desc="something usefull")
# ],
# desc="Implement this stuff as you want"
# )
class Validator():
d... | apache-2.0 |
stdlib-js/stdlib | lib/node_modules/@stdlib/strided/base/binary/include/stdlib/strided/base/binary/cc_c.h | 1293 | /**
* @license Apache-2.0
*
* Copyright (c) 2021 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 |
aws/aws-sdk-cpp | aws-cpp-sdk-iotwireless/source/model/MulticastGroup.cpp | 1434 | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/iotwireless/model/MulticastGroup.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace Aws
{
na... | apache-2.0 |
mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Piperales/Piperaceae/Peperomia/Peperomia lentibacca/README.md | 176 | # Peperomia lentibacca C.DC. SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
Bigsby/NetCore | src/webApp/Startup.cs | 1334 | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
namespace webApp
{
public class Startup
{
// This method gets called by the runtime. Use this method to add services to the container.
// For ... | apache-2.0 |
google/ctfscoreboard | scoreboard/mail.py | 4180 | # Copyright 2018 Google LLC. 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 ag... | apache-2.0 |
NLPIE/BioMedICUS | doc/dokka/biomedicus-core/edu.umn.biomedicus.common.types.syntax/-part-of-speech/-r-p.html | 1334 | <HTML>
<HEAD>
<meta charset="UTF-8">
<title>PartOfSpeech.RP - biomedicus-core</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">biomedicus-core</a> / <a href="../index.html">edu.umn.biomedicus.common.types.syntax</a> / <a href="index.html">PartOfSpee... | apache-2.0 |
ianmcxa/vortaro | app/src/test/java/org/mcxa/vortaro/ExampleUnitTest.java | 394 | package org.mcxa.vortaro;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
@Test
public void addit... | apache-2.0 |
Poniverse/Poniverse.net | app/api/fetchComponentDataBeforeRender.js | 710 | /**
* This looks at static needs parameter in components and waits for the promise to be fullfilled
* It is used to make sure server side rendered pages wait for APIs to resolve before
* returning res.end()
*
* As seen in: https://github.com/caljrimmer/isomorphic-redux-app
*/
export function fetchComponentDataBe... | apache-2.0 |
sonicdna/sonicdna-dev | plugins/opBandPlugin/apps/pc_frontend/modules/band/templates/homeSuccess.php | 4421 | <?php slot('op_sidemenu'); ?>
<?php
$options = array(
'object' => $band,
);
op_include_parts('memberImageBox', 'bandImageBox', $options);
?>
<?php
$options = array(
'title' => __('%band% Members', array('%band%' => $op_term['band']->titleize())),
'list' => $members,
'crownIds' => array($bandAdmin->getId()),
... | apache-2.0 |
jeromecn/caravel_viz_full | caravel/assets/visualizations/sequences.js | 11085 | /* eslint-disable no-underscore-dangle, no-param-reassign */
import d3 from 'd3';
require('./sequences.css');
// Modified from http://bl.ocks.org/kerryrodden/7090426
function sunburstVis(slice) {
const container = d3.select(slice.selector);
const render = function () {
// vars with shared scope within this ... | apache-2.0 |
googleinterns/supply-chain-map | README.md | 2477 | # Supply Chain Map

**This is not an officially supported Google product.**
This project is to enable end-to-end interactive geographical visualization and
customized dashboards for risk anal... | apache-2.0 |
HappyFaceGoettingen/HappyFaceCore | modules/dCacheDatasetRestoreLazy.html | 2297 | ## -*- coding: utf-8 -*-
<%inherit file="/module_base.html" />
<%def name="content()">
<table class="TableData">
<tr>
<td class="dCacheDatarestoreLazyFirstCol">Total number of stage requests</td>
<td>${module.dataset["total"]}</td>
</tr>
<tr>
<td class="dCacheDatarestoreLazyFirstCol"> ... with status Pool2Pool:</td>
... | apache-2.0 |
esteinberg/plantuml4idea | src/org/plantuml/idea/action/ImageHighlightToggleAction.java | 1200 | package org.plantuml.idea.action;
import com.intellij.openapi.actionSystem.AnActionEvent;
import com.intellij.openapi.actionSystem.ToggleAction;
import com.intellij.openapi.editor.Editor;
import com.intellij.openapi.fileEditor.FileEditorManager;
import com.intellij.openapi.project.DumbAware;
import com.intellij.openap... | apache-2.0 |
eile/ITK | Modules/ThirdParty/OpenJPEG/src/itk_openjpeg.h | 1150 | /*=========================================================================
*
* 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 |
deepmind/reverb | reverb/cc/testing/time_testutil.h | 1189 | // Copyright 2019 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
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable l... | apache-2.0 |
jonbinney/gazebo_ros_wrapper | plugins/SkidSteerDrivePlugin.cc | 4572 | /*
* Copyright (C) 2012-2014 Open Source Robotics Foundation
*
* 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... | apache-2.0 |
liquibase/liquibase | liquibase-core/src/test/java/liquibase/sqlgenerator/core/InsertOrUpdateGeneratorOracleTest.java | 7276 | package liquibase.sqlgenerator.core;
import liquibase.change.ColumnConfig;
import liquibase.database.ObjectQuotingStrategy;
import liquibase.database.core.OracleDatabase;
import liquibase.sql.Sql;
import liquibase.statement.DatabaseFunction;
import liquibase.statement.SequenceCurrentValueFunction;
import liquibase.sta... | apache-2.0 |
consulo/consulo-metrics | src/com/sixrr/metrics/ui/dialogs/ExplanationDialog.java | 4055 | /*
* Copyright 2005-2011 Sixth and Red River Software, Bas Leijdekkers
*
* 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 |
coocood/tidb | expression/builtin_test.go | 5387 | // Copyright 2015 PingCAP, 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 i... | apache-2.0 |
kishikawakatsumi/Mozc-for-iOS | src/gui/dictionary_tool/find_dialog.h | 2515 | // Copyright 2010-2014, Google Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of condit... | apache-2.0 |