repo_name
stringlengths
4
116
path
stringlengths
3
942
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
woutervh-/csgjson
js/assets/triangle.js
740
/** * Copyright 2015 Wouter van Heeswijk * * 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
haoch/kylin
source-kafka/src/main/java/org/apache/kylin/source/kafka/util/KafkaRequester.java
7848
/* * * * 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 * * (th...
apache-2.0
McLeodMoores/starling
projects/util/src/main/java/com/opengamma/DataDuplicationException.java
954
/** * Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma; /** * Runtime exception used to indicate that the action would create a duplicate. * <p> * A typical use case is when adding data and a similar item alread...
apache-2.0
flipkart-incubator/hbase-object-mapper
src/test/java/com/flipkart/hbaseobjectmapper/testcases/TestsReactiveHBDAO.java
29551
package com.flipkart.hbaseobjectmapper.testcases; import com.flipkart.hbaseobjectmapper.HBAdmin; import com.flipkart.hbaseobjectmapper.Records; import com.flipkart.hbaseobjectmapper.WrappedHBColumnTC; import com.flipkart.hbaseobjectmapper.testcases.daos.reactive.CitizenDAO; import com.flipkart.hbaseobjectmapper.testca...
apache-2.0
A-Miracle/QiangHongBao
themelib/src/main/java/com/afollestad/appthemeengine/views/ATERadioButton.java
1317
package com.afollestad.appthemeengine.views; import android.content.Context; import android.content.res.TypedArray; import android.util.AttributeSet; import androidx.appcompat.widget.AppCompatRadioButton; import com.afollestad.appthemeengine.ATE; import com.afollestad.appthemeengine.R; /** * @author Aidan Follesta...
apache-2.0
eile/ITK
Modules/Segmentation/LabelVoting/include/itkMultiLabelSTAPLEImageFilter.h
11529
/*========================================================================= * * 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
onecloud/ovs-igmp-v3
lib/dpif.c
54787
/* * Copyright (c) 2008, 2009, 2010, 2011, 2012, 2013, 2014 Nicira, 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 * * Unles...
apache-2.0
talsma-ict/enumerables
enumerables-bom/README.md
1211
[![Released Version][maven-img]][maven] # Enumerables bill-of-materials To make sure your project uses consistent versions of the various `enumerables` modules, you can import this _bill of materials_ into your maven project in a `depencencyManagement` section of your build. ## How to import this bill-of-materials...
apache-2.0
unicef/un-partner-portal
frontend/src/components/eois/buttons/preselectButton.js
981
import React from 'react'; import PropTypes from 'prop-types'; import Preselect from 'material-ui-icons/ThumbUp'; import IconWithTooltipButton from '../../common/iconWithTooltipButton'; import withApplicationStatusChange from '../../common/hoc/withApplicationStatusChange'; import { APPLICATION_STATUSES } from '../../.....
apache-2.0
dmillett/prank
src/test/java/net/prank/core/PranksterTest.java
12515
package net.prank.core; import net.prank.example.ExampleObject; import net.prank.example.ExampleScoreCard; import org.junit.Test; import java.math.BigDecimal; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Set; import java.util.concurrent.Future; import java.util.concurrent...
apache-2.0
quanla/quan-util-core
src/main/java/qj/util/cache/Cache2.java
615
package qj.util.cache; import java.util.ArrayList; import qj.util.funct.F2; public class Cache2<A, B, T> { private final F2<A, B, T> func; ArrayList<Holder> holders = new ArrayList<Holder>(); public Cache2(F2<A, B, T> func) { this.func = func; } public T get(A a, B b) { for (Holder holder : holders) { ...
apache-2.0
Ensembl/ensembl-webcode
modules/EnsEMBL/Web/Attributes.pm
4554
=head1 LICENSE Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute Copyright [2016-2021] EMBL-European Bioinformatics Institute Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obta...
apache-2.0
romeoinbar/MDTB
vendor/laravel/framework/src/Illuminate/Session/Store.php
10290
<?php namespace Illuminate\Session; use SessionHandlerInterface; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Session\SessionBagInterface; use Symfony\Component\HttpFoundation\Session\Storage\MetadataBag; class Store implements SessionInterface { /** * The session I...
apache-2.0
adligo/tests4j_4jacoco.adligo.org
src/org/adligo/tests4j_4jacoco/plugin/discovery/CircularDependenciesDiscovery.java
4828
package org.adligo.tests4j_4jacoco.plugin.discovery; import java.io.IOException; import java.util.Collection; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Set; import org.adligo.tests4j.models.shared.association.ClassAssociationsLocal; import org.adligo.tests4j.models.sha...
apache-2.0
mdoering/backbone
life/Plantae/Magnoliophyta/Liliopsida/Asparagales/Asparagaceae/Yucca/Yucca flaccida/ Syn. Yucca orchioides major/README.md
184
# Yucca orchioides var. major VARIETY #### Status SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
apache-2.0
cethap/cbcompiled
addons/cb.files.editor/theme/textmate.js
174
define([ "less!theme/textmate.less" ], function(cssContent) { return { 'isDark': false, 'cssClass': "ace-tm", 'cssText': cssContent } });
apache-2.0
brettcannon/oplop
WebOS/app/assistants/preferences-assistant.js
2299
function PreferencesAssistant() { /* this is the creator function for your scene assistant object. It will be passed all the additional parameters (after the scene name) that were passed to pushScene. The reference to the scene controller (this.controller) has not be established yet, so any initializ...
apache-2.0
medvekoma/cassandra-presentation
2020.03.24/demo/2-data-types.md
1669
## Collections #### Create table * Column `phones` is a map ```sql CREATE TABLE contacts ( id int, name text, phones map<text, text>, PRIMARY KEY (id) ); ``` #### Insert values * Observe brackets in the map field ```sql INSERT INTO contacts (id, name, phones) VALUES (1, 'Cassandra Smiths', {'Ho...
apache-2.0
Ramzi-Alqrainy/SELK
apache-nutch-1.9.0/docs/api/org/apache/nutch/indexer/class-use/IndexingFilter.html
24105
<!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_55) on Tue Aug 12 22:12:20 PDT 2014 --> <title>Uses of Interface org.apache.nutch.indexer.IndexingFilter (apache-nutch 1.9 API)</title>...
apache-2.0
eheikes/oscar
collector/test/database.spec.ts
1755
import { file as tempfile } from 'tempy' import { SourceModel } from '../src/models/source-model' import { SourceLogModel } from '../src/models/source-log-model' import { ItemModel } from '../src/models/item-model' import { TypeModel } from '../src/models/type-model' import { init, sourceLogs, sources, items, ...
apache-2.0
ares333/php-curlmulti
demo/vendor/electrolinux/phpquery/api-reference/phpQuery/phpQueryEvents.html
17308
<html> <head> <title>Docs For Class phpQueryEvents</title> <link rel="stylesheet" type="text/css" href="../media/style.css"> </head> <body> <table border="0" cellspacing="0" cellpadding="0" height="48" width="100%"> <tr> <td class="header_top">phpQuery</td> </tr> <tr> <td class="header_line"><img src="....
apache-2.0
benbenw/jmeter
src/functions/src/main/java/org/apache/jmeter/functions/TimeShift.java
9758
/* * 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
ashward/buddycloud-server-java
src/test/java/org/buddycloud/channelserver/packetprocessor/iq/namespace/pubsub/set/PublishTest.java
17181
package org.buddycloud.channelserver.packetprocessor.iq.namespace.pubsub.set; import java.util.ArrayList; import java.util.concurrent.BlockingQueue; import java.util.concurrent.LinkedBlockingQueue; import junit.framework.Assert; import org.buddycloud.channelserver.Configuration; import org.buddycloud.channelserver.c...
apache-2.0
rllc/llc-archives-mobile
www/modules/settings/settings.html
676
<ion-view view-title="Settings"> <ion-content> <ion-list> <label class="item item-input item-select"> <div class="input-label"> Default Congregation </div> <select ng-options="c.name as c.fullName for c in settingsCtrl.congregations track by $index " ...
apache-2.0
mdoering/backbone
life/Fungi/Basidiomycota/Pucciniomycetes/Pucciniales/Raveneliaceae/Kernkampella/Kernkampella emblicae/README.md
272
# Kernkampella emblicae (Syd. & P. Syd.) G.F. Laundon, 1975 SPECIES #### Status ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in Mycotaxon 3(1): 144 (1975) #### Original name Ravenelia emblicae Syd. & P. Syd., 1906 ### Remarks null
apache-2.0
aBothe/MagoWrapper
CVSym/CVSTI/ImageAddrMap.cpp
2933
/* Copyright (c) 2010 Aldo J. Nunez Licensed under the Apache License, Version 2.0. See the LICENSE text file for details. */ #include "Common.h" #include "ImageAddrMap.h" namespace MagoST { ImageAddrMap::ImageAddrMap() : mRefCount( 0 ), mSecCount( 0 ) { }...
apache-2.0
neykov/incubator-brooklyn
utils/common/src/main/java/brooklyn/util/javalang/StackTraceSimplifier.java
6792
/* * 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
wardev/orekit
src/main/java/org/orekit/propagation/events/DihedralFieldOfViewDetector.java
9006
/* Copyright 2002-2014 CS Systèmes d'Information * Licensed to CS Systèmes d'Information (CS) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * CS licenses this file to You under the Apache License, Versi...
apache-2.0
rwightman/pytorch-image-models
timm/models/layers/create_attn.py
3526
""" Attention Factory Hacked together by / Copyright 2021 Ross Wightman """ import torch from functools import partial from .bottleneck_attn import BottleneckAttn from .cbam import CbamModule, LightCbamModule from .eca import EcaModule, CecaModule from .gather_excite import GatherExcite from .global_context import Gl...
apache-2.0
ionutbarau/petstore
petstore-app/src/main/resources/static/node_modules/protractor/built/runner.js
15123
"use strict"; var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; var q = req...
apache-2.0
blue7zz/BlueDemo
permission/src/test/java/top/blue7/permission/ExampleUnitTest.java
398
package top.blue7.permission; 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 a...
apache-2.0
jinshiyi11/QuickTest
proj.wp8/quickComponent/pch.h
41
#pragma once #include "cocos2d.h"
apache-2.0
aws/aws-sdk-java
aws-java-sdk-connect/src/main/java/com/amazonaws/services/connect/model/transform/CreateUseCaseResultJsonUnmarshaller.java
3047
/* * 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
vitalityfamilychiropractic/vitalityfamilychiropractic.github.io
monthly-workshops/index.html
431
--- layout: page title: Monthly Workshops --- <main class="content"> <article class="post-133 page type-page status-publish has-post-thumbnail entry" itemscope itemtype="https://schema.org/CreativeWork"> <header class="entry-header"> <h1 class="entry-title" itemprop="headline">Monthly Workshop...
apache-2.0
mdoering/backbone
life/Plantae/Magnoliophyta/Magnoliopsida/Fabales/Fabaceae/Tephrosia/Tephrosia pumila/Tephrosia pumila aldabrensis/README.md
233
# Tephrosia pumila var. aldabrensis (J.R.Drumm. & Hemsl.) Bosman & A.J.P.de H VARIETY #### Status ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
apache-2.0
JetBrains/intellij-scala
scala/scala-impl/src/org/jetbrains/plugins/scala/lang/surroundWith/surrounders/expression/ScalaWithTryFinallySurrounder.scala
1261
package org.jetbrains.plugins.scala package lang package surroundWith package surrounders package expression import com.intellij.lang.ASTNode import com.intellij.openapi.util.TextRange import com.intellij.psi.PsiElement import org.jetbrains.plugins.scala.lang.psi.api.expr._ /** * @author Alexander Podkhalyuzin * ...
apache-2.0
Meeca/OOHttpRequest
OOHttpRequest/code/OONetworking/OOHttpManager/OOHttpRequestConfig.h
2808
// // OOHttpRequestConfig.h // 链式网络请求 // // Created by feng on 2017/9/15. // Copyright © 2017年 皮蛋. All rights reserved. // #import <Foundation/Foundation.h> typedef NS_ENUM(NSInteger, OORequestMethod) { /** GET */ OORequestMethodGET = 1, /** POST */ OORequestMethodPOST, /** UPLOAD */ OOReq...
apache-2.0
sdgdsffdsfff/appleframework
apple-distributed/src/test/java/com/appleframework/distributed/id/snowflake/IdProviderTest.java
640
package com.appleframework.distributed.id.snowflake; import com.appleframework.distributed.id.snowflake.IdProvider; import com.appleframework.distributed.id.snowflake.IdProviderFactory; public class IdProviderTest { public static void main(String[] args) throws Exception { IdProviderFactory idProviderFact...
apache-2.0
glinjy/react-native-apex-ui
src/Tooltip/TooltipAnimation.js
728
'use strict'; import React, {Component, PropTypes} from 'react'; import ReactNative, {Animated, Easing} from 'react-native'; var Animation = require('../Popover/Animation'); class TooltipAnimation extends Animation { prepareStyle() { const { placement, open, } = this.props; const tooltipPlacement = p...
apache-2.0
attakei/openshift-ansible
playbooks/aws/openshift-cluster/library/ec2_ami_find.py
9777
#!/usr/bin/env python2 #pylint: skip-file # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. ...
apache-2.0
bingoogolapple/J2EENote
algorithmhome/src/main/java/com/bingoogol/algorithmhome/dao/UserInfoDao.java
177
package com.bingoogol.algorithmhome.dao; public interface UserInfoDao { public int plusPrice(String sellerid, int price); public int minusPrice(String buyerid, int price); }
apache-2.0
T649781645/ltbl
Lib/Action/Admin/CommonAction.class.php
13739
<?php class CommonAction extends Action { function _initialize() { import('@.ORG.Util.Cookie'); // 用户权限检查 if (C('USER_AUTH_ON') && !in_array(MODULE_NAME, explode(',', C('NOT_AUTH_MODULE')))) { import('@.ORG.Util.RBAC'); if (!RBAC::AccessDecision()) { ...
apache-2.0
CiscoSystems/nova
nova/tests/test_notifications.py
13358
# Copyright (c) 2012 OpenStack Foundation # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless ...
apache-2.0
jluisred/HotSpots
src/fr/eurecom/hotspots/web/main.java
1105
package fr.eurecom.hotspots.web; import java.io.File; import java.io.IOException; import java.util.List; import org.apache.commons.io.FileUtils; import com.googlecode.mp4parser.authoring.tracks.TextTrackImpl.Line; import fr.eurecom.hotspots.core.HotSpotGenerator; import fr.eurecom.hotspots.datastructures.Timeline; ...
apache-2.0
LorenzReinhart/ONOSnew
providers/ietfte/tunnel/src/main/java/org/onosproject/provider/te/tunnel/TeTunnelRestconfProvider.java
14517
/* * Copyright 2016-present 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 appli...
apache-2.0
Cargill/pipewrench
templates/shared/hdfs-unarchive.sh
774
#!/bin/bash {# Copyright 2017 Cargill Incorporated 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
aws/aws-sdk-java-v2
services-custom/dynamodb-enhanced/src/main/java/software/amazon/awssdk/enhanced/dynamodb/internal/AttributeConfiguration.java
1882
/* * Copyright 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" file ...
apache-2.0
dadarom/dubbo
dubbo-remoting/dubbo-remoting-netty4/src/main/java/com/alibaba/dubbo/remoting/transport/netty4/logging/FormattingTuple.java
2138
/* * 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
kartben/iotivity
examples/OICSensorBoard/sensors.h
2724
//****************************************************************** // // Copyright 2014 Intel Corporation. // //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // ...
apache-2.0
scalameta/metadoc
sbt-metabrowse/src/main/scala-sbt-1.0/metabrowse.sbt/Compat.scala
430
package metabrowse.sbt import sbt._ import sbt.Keys._ object Compat { def forkOptions = Def.task { ForkOptions( javaHome = javaHome.value, outputStrategy = outputStrategy.value, bootJars = Vector.empty[java.io.File], workingDirectory = Option(baseDirectory.value), runJVMOptions = j...
apache-2.0
teamlazerbeez/PHP
Log5PHP/src/examples/php/ndc.php
1201
<?php /** * 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"); y...
apache-2.0
aws/aws-sdk-java
aws-java-sdk-devicefarm/src/main/java/com/amazonaws/services/devicefarm/model/transform/CreateDevicePoolRequestProtocolMarshaller.java
2719
/* * 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
UCL/EIDP-4
eidpdata/src/main/java/uk/ac/ucl/eidp/data/NodeQualifier.java
823
package uk.ac.ucl.eidp.data; import static java.lang.annotation.ElementType.FIELD; import static java.lang.annotation.ElementType.METHOD; import static java.lang.annotation.ElementType.PARAMETER; import static java.lang.annotation.ElementType.TYPE; import static java.lang.annotation.RetentionPolicy.RUNTIME; import ja...
apache-2.0
CurtHagenlocher/ParquetSharp
ParquetHadoop/src/External/FSDataInputStream.cs
1146
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); yo...
apache-2.0
leonarduk/unison
src/main/java/uk/co/sleonard/unison/input/DataHibernatorWorker.java
4719
/** * DataHibernatorWorker.java * * Created on 24 October 2007, 18:10 * * To change this template, choose Tools | Template Manager and open the template in the editor. */ package uk.co.sleonard.unison.input; import java.util.ArrayList; import java.util.ListIterator; import java.util.concurrent.LinkedBlockingQue...
apache-2.0
cgcastro/DBPoolModule
javadoc/dbpool/utils/Constants/DBCPStatus.html
10658
<!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_111) on Thu Jun 29 01:29:23 CST 2017 --> <title>DBCPStatus</title> <meta name="date" content="2017-06-29"> <link rel="stylesheet" type="text/cs...
apache-2.0
Eneco/landscaper
example/README.md
6507
## Prerequisites This example assumes a built Landscaper, a local Helm setup and a kubectl configured to a working Kubernetes cluster. ## Serve Example Charts The example landscape deploys a `hello-world` Chart. This Chart echoes a specified message to `stdout` every `n` seconds. From a terminal, locally serve it w...
apache-2.0
yangjiandong/MobileBase.G
MobileBase/src/main/java/com/ek/mobileapp/model/Entity.java
380
package com.ek.mobileapp.model; import java.io.Serializable; public abstract class Entity implements Serializable { protected int id; public int getId() { return id; } protected String cacheKey; public String getCacheKey() { return cacheKey; } public void setCacheKey(S...
apache-2.0
tobiasflohre/movie-database-content-repository
README.md
78
# movie-database-content-repository content repository for the movie database
apache-2.0
flavoi/diventi
diventi/accounts/migrations/0051_auto_20190423_0803.py
452
# Generated by Django 2.1.7 on 2019-04-23 06:03 import diventi.accounts.models from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('accounts', '0050_auto_20190421_2252'), ] operations = [ migrations.AlterModelManagers( name='diventiuser'...
apache-2.0
zpao/buck
test/com/facebook/buck/parser/DefaultUnconfiguredTargetNodeFactoryTest.java
6692
/* * Copyright (c) Facebook, Inc. and its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
apache-2.0
ghkim69/win-beacon
src/WinBeacon/Beacon.cs
6592
/* * Copyright 2015 Huysentruit Wouter * * 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
usc-cs599-group5/Content_Enrichment
Part12/D3VisualizationsWebsite.php
1782
<?php header('Content-Type:text/html;charset=utf-8'); //$query=isset($_REQUEST['q'])?$_REQUEST['q']:false; $query="*:*"; $results=false; if($query&&isset($_REQUEST['q'])) { if($_REQUEST['q']=="grobid"||$_REQUEST['q']=="geotopic"||$_REQUEST['q']=="sweet") { require_once('solr-php-client/Apache/Solr/Servic...
apache-2.0
nherbaut/jdev2015T6A01
dvd2c-box/src/main/java/com/enseirb/telecom/dngroup/dvd2c/service/impl/ThridPartyStorageServiceImpl.java
2150
package com.enseirb.telecom.dngroup.dvd2c.service.impl; import java.net.URI; import java.util.ArrayList; import java.util.Collections; import java.util.List; import javax.inject.Inject; import javax.ws.rs.core.UriBuilder; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype....
apache-2.0
rao2100/SpringBootStarter
src/test/java/com/rao2100/starter/utils/SystemdJournalUtilsTest.java
1156
/* * 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 com.rao2100.starter.utils; import org.junit.After; import org.junit.AfterClass; import org.junit.Before; import org.junit.Befo...
apache-2.0
codeaudit/random-projections-at-berlinbuzzwords
src/main/scala/com/stefansavev/randomprojections/utils/AllNearestNeighborsForDataset.scala
1082
package com.stefansavev.randomprojections.utils import com.stefansavev.randomprojections.datarepr.dense.DataFrameView import com.stefansavev.randomprojections.implementation.{KNNS, Searcher} import scala.collection.mutable.ArrayBuffer object AllNearestNeighborsForDataset { def getTopNearestNeighborsForAllPointsTe...
apache-2.0
prometheus/statsd_exporter
main.go
19428
// Copyright 2013 The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to...
apache-2.0
siuccwd/IOER
Presentation/IOER.web/secure/IsleSSO.aspx.cs
1581
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using ILPathways.Utilities; using IOER.classes; using ILPathways.Business; using LRWarehouse.Business; using IOER.Controllers; using LDAL = LRWarehouse.DAL...
apache-2.0
Saber-Tecnologias/acervo-app
app/src/main/java/br/ufpe/sabertecnologias/acervoapp/ui/callbacks/GruposCallback.java
351
package br.ufpe.sabertecnologias.acervoapp.ui.callbacks; import java.util.ArrayList; import br.ufpe.sabertecnologias.acervoapp.modelo.dados.Grupo; /** * Created by joaotrindade on 25/10/16. */ public interface GruposCallback{ public void abrirGrupo(Grupo g); public void exit(); void notifyGrupoControll...
apache-2.0
openshift/origin-web-console
app/scripts/directives/processTemplate.js
10871
'use strict'; (function() { angular.module('openshiftConsole').component('processTemplate', { controller: [ '$filter', '$q', '$scope', '$uibModal', 'APIDiscovery', 'APIService', 'DataService', 'Navigate', 'NotificationsService', 'ProcessedTemplateServic...
apache-2.0
brynpickering/calliope
doc/_themes/flask_calliope/globaltoc.html
80
<div id="sidebartoc"> <div> {{ toctree(maxdepth=3) }} </div> </div>
apache-2.0
nblair/sometime
sometime-war/src/main/java/org/jasig/schedassist/web/security/DelegateCalendarAccountUserDetailsImpl.java
5819
/** * Licensed to Jasig under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. * Jasig licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file * except...
apache-2.0
Adriano72/ZiriZiri-Daniele
Resources/android/zz.api/zz.internal.local.fs.js
5650
var zz = { Internal: { Local: { FS: { File: {}, Directory: {} } } } }; zz.Internal.Local.FS.File.read = function(path, successCallback, errorCallback) { Ti.API.debug("ZZ.Internal.Local.FS.File.read"); Ti.API.debug("ZZ.Internal.Loca...
apache-2.0
mdoering/backbone
life/Plantae/Magnoliophyta/Magnoliopsida/Lamiales/Lamiaceae/Hyptis/Hyptis perplexa/README.md
172
# Hyptis perplexa Epling SPECIES #### Status ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
apache-2.0
CollabQ/CollabQ
middleware/verify.py
608
# Copyright 2010 http://www.collabq.com import logging from django.conf import settings from django.http import HttpResponseRedirect from common import api from common import exception class VerifyInstallMiddleware(object): def process_request(self, request): logging.info("VerifyInstallMiddleware") logging...
apache-2.0
cafjs/caf
README.md
5988
# Caf.js <a href="https://www.cafjslabs.com"><img src="https://raw.githubusercontent.com/cafjs/caf/master/assets/logosquare.svg?sanitize=true" alt="Caf.js" width="200"></a> Co-design cloud assistants with your web app and IoT devices. [Website](http://www.cafjslabs.com) | [Documentation](https://www.cafjslabs.com/do...
apache-2.0
preet/ks_gl
ks/gl/KsGLVertexBuffer.cpp
5438
/* Copyright (C) 2015 Preet Desai (preet.desai@gmail.com) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applic...
apache-2.0
Heres-A-Hand/Heres-A-Hand-Web
public_html/js/rollovers.js
1099
/** Copyright 2011-2013 Here's A Hand 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 law or agreed to in writing, ...
apache-2.0
mixed/lighthouse
lighthouse-core/test/gather/computed/metrics/estimated-input-latency-test.js
2976
/** * @license Copyright 2018 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 a...
apache-2.0
patricklaw/pants
src/python/pants/backend/go/util_rules/analyze_test_sources.go
7132
/* Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). * Licensed under the Apache License, Version 2.0 (see LICENSE). * * Parts adapted from Go SDK and Bazel rules_go, both under BSD-compatible licenses. */ package main import ( "encoding/json" "errors" "fmt" "go/ast" "go/doc" "go/parser" "go...
apache-2.0
punkhorn/camel-upstream
components/camel-spring/src/test/java/org/apache/camel/spring/MainTest.java
2166
/** * 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
RightScale-Services-Cookbooks/pound
metadata.rb
1150
name 'pound' maintainer 'RightScale Inc' maintainer_email 'premium@rightscale.com' license 'Apache 2.0' description 'Installs/Configures pound' long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) version '0.1.3' issues_url 'https://github.com/RightScal...
apache-2.0
OWASP/open-swamp
registry-web-server/var/www/html/scripts/views/packages/info/versions/info/source/dialogs/package-version-file-types-view.js
2896
/******************************************************************************\ | | | package-version-file-types-view.js | | ...
apache-2.0
philips/etcd
raft_handlers.go
3917
package main import ( "encoding/json" "github.com/coreos/go-raft" "net/http" ) //------------------------------------------------------------- // Handlers to handle raft related request via raft server port //------------------------------------------------------------- // Get all the current logs func GetLogHttp...
apache-2.0
jrajahalme/envoy
test/integration/filters/process_context_filter.cc
2187
#include "test/integration/filters/process_context_filter.h" #include <memory> #include <string> #include "envoy/http/filter.h" #include "envoy/http/header_map.h" #include "envoy/registry/registry.h" #include "envoy/server/filter_config.h" #include "extensions/filters/http/common/pass_through_filter.h" #include "te...
apache-2.0
Tankernn/TankernnGameEngine
src/main/java/eu/tankernn/gameEngine/particles/ParticleRenderer.java
4913
package eu.tankernn.gameEngine.particles; import java.nio.FloatBuffer; import java.util.List; import java.util.Map; import org.lwjgl.BufferUtils; import org.lwjgl.opengl.GL11; import org.lwjgl.opengl.GL15; import org.lwjgl.opengl.GL31; import org.lwjgl.util.vector.Matrix4f; import org.lwjgl.util.vector.Vector3f; imp...
apache-2.0
mdoering/backbone
life/Plantae/Rhodophyta/Florideophyceae/Gigartinales/Phyllophoraceae/Ahnfeltiopsis/Ahnfeltiopsis fastigiata/ Syn. Gymnogongrus fastigiatus/README.md
188
# Gymnogongrus fastigiatus Harvey SPECIES #### Status SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
apache-2.0
tboox/tbox
src/tbox/platform/impl/exception.h
1503
/*!The Treasure Box Library * * 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
MarxDimitri/schmankerl
schmankerl/urls.py
2082
"""schmankerl URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class...
apache-2.0
legnaleurc/tornado
tornado/test/tcpclient_test.py
16665
#!/usr/bin/env python # # Copyright 2014 Facebook # # 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
mynamecsl/ppweather
src/com/ppweather/app/activity/WeatherActivity.java
5935
package com.ppweather.app.activity; import com.ppweather.app.R; import com.ppweather.app.service.AutoUpdateService; import com.ppweather.app.util.HttpCallbackListener; import com.ppweather.app.util.HttpUtil; import com.ppweather.app.util.Utility; import android.app.Activity; import android.content.Intent; import andr...
apache-2.0
oakmound/oak
entities/x/move/mover.go
498
package move import ( "github.com/oakmound/oak/v3/collision" "github.com/oakmound/oak/v3/physics" "github.com/oakmound/oak/v3/render" ) // A Mover can move its position, renderable, and space. Unless otherwise documented, // functions effecting a mover move all of its logical position, renderable, and space // sim...
apache-2.0
mdoering/backbone
life/Fungi/Ascomycota/Arthoniomycetes/Arthoniales/Roccellaceae/Leciographa/Leciographa picea/README.md
214
# Leciographa picea Velen. SPECIES #### Status ACCEPTED #### According to Index Fungorum #### Published in Monogr. Discom. Bohem. (Prague) 88 (1934) #### Original name Leciographa picea Velen. ### Remarks null
apache-2.0
play2-maven-plugin/play2-maven-plugin.github.io
play2-maven-plugin/1.0.0-beta2/play2-providers/play2-provider-play23/apidocs/constant-values.html
5204
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="pl"> <head> <!-- Generated by javadoc --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Constant Field Values (Play! 2.x Provider for Play! 2.3.x 1.0.0-beta2 A...
apache-2.0
gravitee-io/gravitee-management-webui
src/entities/application.ts
2034
/* * Copyright (C) 2015 The Gravitee team (http://gravitee.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 requi...
apache-2.0
Mirantis/pumphouse
pumphouse/tasks/user.py
4857
# Copyright (c) 2014 Mirantis Inc. # # Licensed under the Apache License, Version 2.0 (the License); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, ...
apache-2.0
sdodson/origin
pkg/build/builder/sti.go
2069
package builder import ( "github.com/fsouza/go-dockerclient" "github.com/golang/glog" stiapi "github.com/openshift/source-to-image/pkg/api" sti "github.com/openshift/source-to-image/pkg/build/strategies" "github.com/openshift/origin/pkg/build/api" ) // STIBuilder performs an STI build given the build object typ...
apache-2.0
williamFalcon/pytorch-lightning
pytorch_lightning/profiler/base.py
6875
# Copyright The PyTorch Lightning 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 agreed to i...
apache-2.0
arrow-acs/acn-sdk-android
sdk/src/main/java/com/konexios/api/models/AuditLogModel.java
4939
/* * Copyright (c) 2017-2019 Arrow Electronics, Inc. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Apache License 2.0 * which accompanies this distribution, and is available at * http://apache.org/licenses/LICENSE-2.0 * * Contributors: * Arrow...
apache-2.0
InMobi/hadoop
docs/api/org/apache/hadoop/security/class-use/SecurityUtil.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_20) on Fri Mar 25 19:54:53 PDT 2011 --> <TITLE> Uses of Class org.apache.hadoop.security.SecurityUtil (Hadoop 0.20.2-cdh3u0 API) </TITLE> <META NAME...
apache-2.0