repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
devemux86/graphhopper | reader-gtfs/src/test/java/com/graphhopper/AnotherAgencyIT.java | 5796 | /*
* Licensed to GraphHopper GmbH under one or more contributor
* license agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
*
* GraphHopper GmbH licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not ... | apache-2.0 |
code4wt/nutch-learning | src/java/org/apache/nutch/service/model/response/JobInfo.java | 2705 | /**
* 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 |
hazelcast/hazelcast-python-client | tests/hzrc/client.py | 2685 | import logging
from thrift import Thrift
from thrift.protocol import TBinaryProtocol
from thrift.transport import TSocket, TTransport
from tests.hzrc import RemoteController
class HzRemoteController(RemoteController.Iface):
logger = logging.getLogger("HzRemoteController")
def __init__(self, host, port):
... | apache-2.0 |
scott-taylor/toolkit | toolkit-chains/src/main/java/org/tewls/toolkit/chains/SideEffect.java | 1157 | /*
* Copyright 2010 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | apache-2.0 |
consulo/consulo-javascript | web-browser-impl/src/main/java/consulo/javascript/client/module/extension/ClientJavaScriptModuleExtension.java | 3862 | package consulo.javascript.client.module.extension;
import javax.annotation.Nonnull;
import org.jdom.Element;
import javax.annotation.Nullable;
import com.intellij.openapi.module.Module;
import com.intellij.openapi.module.ModuleUtilCore;
import com.intellij.openapi.projectRoots.Sdk;
import com.intellij.openapi.proje... | apache-2.0 |
ubastation/ubastation | spec/models/competition_article_spec.rb | 618 | # encoding: utf-8
# == Schema Information
#
# Table name: competition_articles
#
# id :integer not null, primary key
# title :string(255) not null
# body :text not null
# link :string(255)
# show_comments :boolean default(TRUE), not null
... | apache-2.0 |
Ariah-Group/Finance | af_webapp/src/main/java/org/kuali/kfs/sys/document/web/AccountingLineViewSequenceNumberField.java | 5000 | /*
* Copyright 2008 The Kuali Foundation
*
* Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php
*
* Unless required by appl... | apache-2.0 |
cvandeplas/plaso | plaso/lib/bufferlib_test.py | 1850 | #!/usr/bin/python
# -*- coding: utf-8 -*-
# Copyright 2013 The Plaso Project Authors.
# Please see the AUTHORS file for details on individual 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 Lic... | apache-2.0 |
jasongardnerlv/alakazam | alakazam-ws/src/test/java/io/alakazam/jaxws/JAXWSBundleTest.java | 4634 | package io.alakazam.jaxws;
import io.alakazam.jetty.setup.ServletEnvironment;
import io.alakazam.lifecycle.ServerLifecycleListener;
import io.alakazam.lifecycle.setup.LifecycleEnvironment;
import io.alakazam.setup.Bootstrap;
import io.alakazam.setup.Environment;
import org.junit.Before;
import org.junit.Test;
import ... | apache-2.0 |
stevespringett/Alpine | alpine/src/main/java/alpine/filters/package-info.java | 84 | /**
* This package contains JAX-RS and Servlet filters.
*/
package alpine.filters; | apache-2.0 |
lisaglendenning/zookeeper-lite | zkcore/src/main/java/edu/uw/zookeeper/netty/ChannelConnection.java | 1963 | package edu.uw.zookeeper.netty;
import io.netty.channel.Channel;
import java.util.Collection;
import java.util.Collections;
import org.apache.logging.log4j.Logger;
import org.apache.logging.log4j.LogManager;
import edu.uw.zookeeper.net.Connection;
public class ChannelConnection<I,O>
extends AbstractChanne... | apache-2.0 |
rmp91/jitd | java/src/jitd/test/RegressionTest.java | 1467 | package jitd.test;
import jitd.Cog;
import jitd.CrackerMode;
import jitd.Driver;
import jitd.Mode;
import jitd.PushdownMergeMode;
import org.junit.Ignore;
import org.junit.Test;
public class RegressionTest extends CogTest {
public Driver merge(Cog root)
{
return new Driver(new PushdownMergeMode(), root);
... | apache-2.0 |
Linggify/AtticEngine | attic/properties/src/main/java/com/github/linggify/attic/properties/SpriteRendererProperty.java | 3494 | package com.github.linggify.attic.properties;
import com.github.linggify.attic.render.IContext.VertexAttribute;
import com.github.linggify.attic.render.RenderData;
import com.github.linggify.attic.util.Color;
import com.github.linggify.attic.util.Matrix33;
import com.github.linggify.attic.util.Vector2D;
/**
... | apache-2.0 |
serilog/serilog-sinks-amazonkinesis | src/Serilog.Sinks.Amazon.Kinesis/Firehose/KinesisFirehoseLoggerConfigurationExtensions.cs | 4870 | // Copyright 2014 Serilog 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 required by applicable law or agr... | apache-2.0 |
ribbon-xx/VTVPro-Plus | VtvPro/src/mdn/vtvsport/fragment/RegisterFragment.java | 2009 | package mdn.vtvsport.fragment;
import mdn.vtvsport.R;
import mdn.vtvsport.common.ImageUtility;
import android.graphics.Bitmap;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import com.nostra13.universalimageloade... | apache-2.0 |
sallyom/online-hibernation | vendor/github.com/go-openapi/spec/expander_test.go | 45380 | // Copyright 2015 go-swagger maintainers
//
// 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 |
googleads/google-ads-dotnet | src/V9/Types/AccountLink.g.cs | 56591 | // <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/ads/googleads/v9/resources/account_link.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.C... | apache-2.0 |
googleads/googleads-java-lib | modules/adwords_axis/src/main/java/com/google/api/ads/adwords/axis/v201809/cm/ManualCpcBiddingScheme.java | 6147 | // Copyright 2018 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writi... | apache-2.0 |
mydataspace/mydataspace.github.io | js/entity-form.js | 44916 | /**
* @class
*/
function EntityForm() {
var self = this;
self.editing = false;
self.loadedListeners = [];
window.addEventListener('message', function (e) {
if ([
'MDSWizard.upload',
'MDSWizard.getFields',
'MDSWizard.getData',
'MDSWizard.save'
].indexOf(e.data.message) == -1) ... | apache-2.0 |
mbrown6944/LilSass | src/app/nav/navbar.component.js | 1949 | "use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Refl... | apache-2.0 |
tophua/spark1.52 | tools/src/main/scala/org/apache/spark/tools/JavaAPICompletenessChecker.scala | 16370 | /*
* 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 |
improbable-io/etcd | storage/kvstore.go | 11960 | // Copyright 2015 CoreOS, 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... | apache-2.0 |
opitzconsulting/orcas | orcas_core/build_source/orcas_dbdoc/src/main/java/de/oc/dbdoc/load/DbLoader.java | 3168 | package de.oc.dbdoc.load;
import de.oc.dbdoc.ant.Diagram;
import de.oc.dbdoc.ant.Tableregistry;
import de.oc.dbdoc.schemadata.Association;
import de.oc.dbdoc.schemadata.Column;
import de.oc.dbdoc.schemadata.Schema;
import de.oc.dbdoc.schemadata.Table;
import de.opitzconsulting.orcasDsl.Index;
import de.opitzconsulting... | apache-2.0 |
gund/tasktrack | modules/gh_buttons/module.js | 350 | /**
* @author Alex Malkevich
* @project tasktrack
* @file module.js
* @package js
* @date 08.08.2013 18:34:12
* @id $js-2013-module.js$
* module.js - Include Module GH-Buttons
*/
// Module Name
const MODULE_GHBTNS = 'gh_buttons';
// Include CSS
document.write('<link rel="stylesheet" href="'+MODULE_PATH[MODULE... | apache-2.0 |
RabbitTeam/RabbitHub | Components/Rabbit.Components.Data.EntityFramework.MySql/MySqlEntityFrameworkDataServicesProvider.cs | 849 | using MySql.Data.MySqlClient;
using Rabbit.Components.Data.EntityFramework.Providers;
using Rabbit.Components.Data.MySql;
using System.Data.Entity.Core.Common;
namespace Rabbit.Components.Data.EntityFramework.MySql
{
/// <summary>
/// MySql EntityFramework 数据服务提供程序。
/// </summary>
public class MySqlEn... | apache-2.0 |
malmazuke/SnakeTest | Assets/Scripts/CameraFollow.cs | 465 | using UnityEngine;
using System.Collections;
public class CameraFollow : MonoBehaviour {
public GameObject target;
private bool isFollowing;
void Start () {
isFollowing = true;
}
// Update is called once per frame
void Update () {
if (isFollowing) {
Vector3 destinati... | apache-2.0 |
hmrc/ct-calculations | src/main/scala/uk/gov/hmrc/ct/computations/CP284.scala | 1245 | /*
* 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 |
mulleady1/podsy | pods/wsgi.py | 383 | """
WSGI config for pods project.
It exposes the WSGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/1.7/howto/deployment/wsgi/
"""
import os
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "pods.settings")
from django.core.wsgi im... | apache-2.0 |
factoryfx/factoryfx | javafxFactoryEditing/src/main/java/io/github/factoryfx/javafx/widget/factory/masterdetail/DataView.java | 249 | package io.github.factoryfx.javafx.widget.factory.masterdetail;
import io.github.factoryfx.factory.FactoryBase;
import javafx.collections.ObservableList;
public interface DataView<T extends FactoryBase<?,?>> {
ObservableList<T> dataList();
}
| apache-2.0 |
eneiasbrumjr/cogib | app/Http/Controllers/SindicatoController.php | 4338 | <?php
namespace App\Http\Controllers;
use Session;
use App\Estado;
use Datatables;
use App\Sindicato;
use App\Http\Requests;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use App\Http\Requests\StoreSindicatoRequest;
class SindicatoController extends Controller
{
/**
* Create a new contr... | apache-2.0 |
mgraffg/simplegp | SimpleGP/utils.py | 3721 | # Copyright 2013 Mario Graff Guerrero
# 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 wri... | apache-2.0 |
oxymoron/azb-finance | app/src/main/java/com/azubkov/azbfinance/model/Rate.java | 1413 | /*
* Copyright 2014 Andrey Zubkov. 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 ap... | apache-2.0 |
emcvipr/dataservices-sdk-dotnet | AWSSDK/Amazon.IdentityManagement/Model/Internal/MarshallTransformations/GetGroupPolicyRequestMarshaller.cs | 1951 | /*
* Copyright 2010-2013 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 "l... | apache-2.0 |
KAMP-Research/KAMP | bundles/Toometa/de.uka.ipd.sdq.dsexplore.qml.handling/src/de/uka/ipd/sdq/dsexplore/qml/pcm/datastructures/builder/UsageScenarioBasedSatisfactionConstraintBuilder.java | 873 | package de.uka.ipd.sdq.dsexplore.qml.pcm.datastructures.builder;
import org.opt4j.core.Constraint.Direction;
import org.opt4j.core.Objective;
import org.palladiosimulator.pcm.usagemodel.UsageScenario;
import de.uka.ipd.sdq.dsexplore.qml.pcm.datastructures.UsageScenarioBasedSatisfactionConstraint;
public class UsageS... | apache-2.0 |
lemire/StronglyUniversalStringHashing | include/treehash/generic-treehash.hh | 2356 | #ifndef GENERIC_TREEHASH
#define GENERIC_TREEHASH
#include "simple-treehash.hh"
// This is like simple_generic_treehash, but works on generic tree
// hashing primitives. Here, ALGO's constructor must use a logarithmic
// amount of randomness and ALGO::treehash must return a pointer to
// its result.
template <templat... | apache-2.0 |
NuwanSameera/carbon-device-mgt-plugins | components/mobile-plugins/mobile-base-plugin/org.wso2.carbon.device.mgt.mobile.ui/src/main/resources/jaggeryapps/devicemgt/app/units/mdm.unit.policy.edit/edit.js | 1006 | /*
* Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you 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/li... | apache-2.0 |
romain-intel/bcc | examples/cpp/RecordMySQLQuery.cc | 2637 | /*
* RecordMySQLQuery Record MySQL queries by probing the alloc_query() function
* in mysqld. For Linux, uses BCC, eBPF. Embedded C.
*
* Basic example of BCC and uprobes.
*
* Copyright (c) Facebook, Inc.
* Licensed under the Apache License, Version 2.0 (the "License")
*/
#include <unistd.h>
#i... | apache-2.0 |
akarnokd/various-experiments | src/hu/akarnokd/experiments/concurrent/AtomicResizableArray.java | 6155 | package hu.akarnokd.experiments.concurrent;
import java.util.concurrent.atomic.*;
import rx.functions.*;
/**
* A lock-free append-only resizable array with optimized first bank of 16 elements.
*/
public final class AtomicResizableArray {
final AtomicReferenceArray<AtomicReferenceArray<Object>> arrays;
fina... | apache-2.0 |
Blind-Striker/infinityfiction | Core/ServiceContracts/IKeyResourceService.cs | 298 | using CodeFiction.InfinityFiction.Core.CommonTypes;
using CodeFiction.InfinityFiction.Core.Resources.Key;
namespace CodeFiction.InfinityFiction.Core.ServiceContracts
{
public interface IKeyResourceService
{
KeyResource GetKeyResource(GameEnum gameEnum, string keyfilePath);
}
} | apache-2.0 |
Top-Q/jsystem | jsystem-core-projects/jsystemApp/src/main/java/jsystem/treeui/exceleditor/ExcelScenarioEditor.java | 13787 | /*
* Created on 01/06/2006
*
* Copyright 2005-2010 Ignis Software Tools Ltd. All rights reserved.
*/
package jsystem.treeui.exceleditor;
public class ExcelScenarioEditor { /*implements ScenarioEditor
// public void executeSenarioEditor(Scenario scenario) throws Exception {
// File file = File.createTempFile(s... | apache-2.0 |
roebi/BehaviorDrivenDevelopmentBDD | src/test/java/pageobject/SearchResultsPage.java | 544 | package pageobject;
import net.serenitybdd.core.pages.PageObject;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import java.util.List;
import java.util.stream.Collectors;
/**
* @author Roebi
*/
public class SearchResultsPage extends PageObject {
@FindBy(css=".listing-card")... | apache-2.0 |
red6/serenity-js | packages/serenity-js/src/serenity-protractor/screenplay/interactions/clear.ts | 527 | import { Interaction, UsesAbilities } from '../../../serenity/screenplay';
import { BrowseTheWeb } from '../abilities/browse_the_web';
import { Target } from '../ui/target';
export class Clear implements Interaction {
static theValueOf = (field: Target): Interaction => new Clear(field);
performAs(actor: Uses... | apache-2.0 |
android-art-intel/Nougat | art-extension/opttests/src/OptimizationTests/ShortMethodsInliningNonVirtualInvokes/InvokeStaticRangeIShort_001/Main.java | 1395 | /*
* Copyright (C) 2016 Intel Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | apache-2.0 |
indashnet/InDashNet.Open.UN2000 | android/cts/tests/src/android/renderscript/cts/asinh_f32_relaxed.rs | 46 | #include "asinh_f32.rs"
#pragma rs_fp_relaxed
| apache-2.0 |
JavaMoney/jsr354-ri-bp | src/main/java/org/javamoney/moneta/spi/RoundedMoneyProducer.java | 2218 | /*
Copyright (c) 2012, 2014, Credit Suisse (Anatole Tresch), Werner Keil and others by the @author tag.
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/LICE... | apache-2.0 |
garethr/garethr-kubernetes | lib/puppet/provider/kubernetes_http_get_action/swagger.rb | 2173 |
# This file is automatically generated by puppet-swagger-generator and
# any manual changes are likely to be clobbered when the files
# are regenerated.
require_relative '../../../puppet_x/puppetlabs/kubernetes/provider'
Puppet::Type.type(:kubernetes_http_get_action).provide(:swagger, :parent => PuppetX::Pupp... | apache-2.0 |
boneman1231/org.apache.felix | trunk/framework/src/main/java/org/apache/felix/framework/util/StringMap.java | 3133 | /*
* 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 |
Hai-Lin/chef | cookbooks/postgresql91/recipes/client.rb | 82 | case node[:platform]
when "ubuntu"
include_recipe "postgresql::client_debian"
end
| apache-2.0 |
KITSABHIJIT/Ihalkhata-WebService | IhalkhataWebService/src/com/exp/cemk/controller/GridExpenditureProcessor.java | 4982 | package com.exp.cemk.controller;
import java.util.ArrayList;
import java.util.List;
import org.apache.log4j.Logger;
import net.sf.json.JSONArray;
import net.sf.json.JSONObject;
import test.Test;
import domainmodel.Expenditure;
public class GridExpenditureProcessor {
private static GridExpenditureProcessor _instance... | apache-2.0 |
Gadreel/dcraft | dcraft.core/src/main/java/dcraft/db/doc/QueryRequest.java | 907 | /* ************************************************************************
#
# designCraft.io
#
# http://designcraft.io/
#
# Copyright:
# Copyright 2012 eTimeline, LLC. All rights reserved.
#
# License:
# See the license.txt file in the project's top-level directory for details.
#
# Authors:
# ... | apache-2.0 |
lauvetech/lauve-tv | Js/Plugins/jquery.makemecentre.js | 5349 | /*!
@package makemecenter - jQuery Position Elements Centers Vertically and Horizontally Plugin
@version version: 0.1.0
@url https://github.com/tenbullstech/jquery-make-me-center
@documentation Examples and Documentation - https://github.com/tenbullstech/jquery-make-me-center
@contributors https://github.com/... | apache-2.0 |
teem2/dreem2 | core/promisepolyfill.js | 6780 | /* Copyright 2015-2016 Teem2 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 writing,
software dist... | apache-2.0 |
openstack-atlas/atlas-lb | core-api/core-common-api/src/main/java/org/openstack/atlas/api/validation/expectation/ExpectationTarget.java | 3867 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.openstack.atlas.api.validation.expectation;
import org.openstack.atlas.api.validation.exception.ValidationChainExecutionException;
import org.openstack.atlas.api.validation.result.ExpectationResult;
import o... | apache-2.0 |
NationalSecurityAgency/ghidra | Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/util/PcodeFieldLocation.java | 2596 | /* ###
* IP: GHIDRA
*
* 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 writin... | apache-2.0 |
yystju/tdcc_demo | routes/hello.js | 5380 | (function(module) {
var express = require('express');
var https = require("https");
var fs = require("fs");
var router = express.Router();
var hello = hello || {};
hello.__tokenExpireDate__ = null;
hello.__token__ = null;
var config = JSON.parse(fs.readFileSync(__dirname + '/../config.json'));
... | apache-2.0 |
timburks/gott | operations/reverse_case_character.go | 1031 | //
// 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... | apache-2.0 |
sifonsecac/capitalino-errante | wp-content/themes/nanomag/inc/new_builder/home_two_columns_post_list.php | 12131 | <?php
class home_post_two_columns_list extends AQ_Block {
//set and create block
function __construct() {
$block_options = array(
'name' => esc_attr__('Home post two columns list', 'jelly_text_main'),
'size' => 'span12',
);
//create the block
parent::__construct('home_post_two_columns... | apache-2.0 |
aarya123/Assassin | server/compare/opencv-cmake/modules/photo/precomp.hpp | 2404 | /*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, instal... | apache-2.0 |
bowlofstew/kythe | kythe/cxx/indexer/cxx/testdata/template/template_class_fn_spec.cc | 535 | // Checks that we get edges for member function specialization and calls
// thereto.
//- @F defines/binding MemDecl
//- @C defines/binding TmplDefn
template <typename T> struct C { static void F(); };
//- @F defines/binding IntMemDefn
//- @F completes/uniquely IntMemDecl
template <> void C<int>::F() {}
//- IntMemDecl.... | apache-2.0 |
thescouser89/pnc | facade/src/main/java/org/jboss/pnc/facade/impl/BrewPusherImpl.java | 14319 | /**
* JBoss, Home of Professional Open Source.
* Copyright 2014-2020 Red Hat, Inc., and individual contributors
* as indicated by the @author tags.
*
* 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... | apache-2.0 |
fine1021/library | support/src/main/java/com/yxkang/android/util/HashMap.java | 34584 | /*
* 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 |
testobject/visual-scripting | org.testobject.kernel/imgproc/src/main/java/org/testobject/kernel/imgproc/classifier/Context.java | 291 | package org.testobject.kernel.imgproc.classifier;
import org.testobject.commons.util.image.Image;
public class Context {
public final Image.Int before;
public final Image.Int after;
public Context(Image.Int before, Image.Int after) {
this.before = before;
this.after = after;
}
} | apache-2.0 |
hivemq/hivemq-spi | src/main/java/com/hivemq/spi/security/QueuedMessageStrategy.java | 799 | /*
* Copyright 2017 dc-square GmbH
*
* 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 |
beysims/reef | lang/cs/Tests/ReefTests/Evaluator.Tests/EvaluatorTests.cs | 4261 | /**
* 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 |
napalm-automation/napalm-yang | napalm_yang/models/openconfig/network_instances/network_instance/protocols/protocol/isis/levels/level/link_state_database/lsp/tlvs/tlv/mt_isis_neighbor_attribute/neighbors/neighbor/subTLVs/subTLVs_/max_reservable_link_bandwidth/__init__.py | 12596 | # -*- coding: utf-8 -*-
from operator import attrgetter
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType
from pyangbind.lib.yangtypes import RestrictedClassType
from pyangbind.lib.yangtypes import TypedListType
from pyangbind.lib.yangtypes import YANGBool
from pyangbind.lib.yangtypes import YANGListTy... | apache-2.0 |
funasoul/celldesigner-parser | src/org/sbml/_2001/ns/celldesigner/StartingPointInBlockDiagram.java | 5766 | /*******************************************************************************
* Copyright 2016 Kaito Ii, Akira Funahashi
* 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.apa... | apache-2.0 |
tensorflow/federated | tensorflow_federated/python/simulation/datasets/emnist_test.py | 2396 | # Copyright 2019, The TensorFlow Federated 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 o... | apache-2.0 |
mwasiluk/angular-surveys | src/builder/focus-me.directive.js | 988 | angular.module('mwFormBuilder')
.directive('wdFocusMe', function($timeout, $parse) {
return {
link: function(scope, element, attrs) {
var model = $parse(attrs.wdFocusMe);
scope.$watch(model, function(value) {
if(value === true) {
... | apache-2.0 |
blackberry/hadoop-logdriver | src/main/java/com/rim/logdriver/util/CatByTime.java | 3264 | /** Copyright 2013 BlackBerry, 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 ag... | apache-2.0 |
kidaa/any23 | core/src/main/java/org/apache/any23/writer/RDFXMLWriterFactory.java | 1631 | /*
* 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 |
arjuna-technologies/FileSystem_DataBroker_PlugIn | filesystem-file/src/main/java/com/arjuna/dbplugins/filesystem/file/FileChangeDataSource.java | 5312 | /*
* Copyright (c) 2014-2015, Arjuna Technologies Limited, Newcastle-upon-Tyne, England. All rights reserved.
*/
package com.arjuna.dbplugins.filesystem.file;
import java.io.File;
import java.nio.file.FileSystems;
import java.nio.file.Path;
import java.nio.file.StandardWatchEventKinds;
import java.nio.file.WatchEve... | apache-2.0 |
interhui/logmesh | logmesh-starter/src/main/java/org/pinae/logmesh/server/builder/MessageServerBuilder.java | 11153 | package org.pinae.logmesh.server.builder;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.pinae.ndb.Ndb;
/**
* 消息服务配置信息构建器
*
* @author Huiyugeng
*
*/
public class MessageServerBuilder {
private Map<String, Object> serverConf... | apache-2.0 |
mobilecashout/osprey | src/main/java/com/mobilecashout/osprey/project/config/BuildCommand.java | 1294 | /*
* Copyright 2016 Innovative Mobile Solutions Limited and 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 req... | apache-2.0 |
innowatio/iwwa-write-api | src/api/meter-reports/index.js | 280 | import collection from "lk-collection-convexpress";
import dispatchEvent from "services/dispatcher";
import * as authorize from "./authorize";
import schema from "./schema";
export default collection({
name: "meter-reports",
dispatchEvent,
authorize,
schema
});
| apache-2.0 |
nuest/iceland | statistics/core/src/main/java/org/n52/iceland/statistics/api/parameters/ElasticsearchTypeRegistry.java | 3472 | /*
* Copyright 2015 52°North Initiative for Geospatial Open Source
* Software GmbH
*
* 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 |
csosa2/my-pwp | public_html/documentation/milestone-2.php | 2278 | <!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<title>Milestone 2</title>
</head>
<body>
<header>
<h1>Milestone 2</h1>
<h2>Personal Web site: Christina Sosa</h2>
</header>
<main>
<h2>Sitemap</h2>
<p>This personal web site will contain 4 page-level pages total using a scroll down method i... | apache-2.0 |
hmtsoi/java_play_sax | src/main/java/sax/data/transform/RScriptMethods.java | 2927 | /*
* Copyright 2015 - Hung Ming Tsoi
*
* 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 |
moparisthebest/beehive | beehive-netui-compiler/src/main/java/org/apache/beehive/netui/compiler/BaseChecker.java | 2361 | /*
* 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 |
eemirtekin/Sakai-10.6-TR | kernel/api/src/main/java/org/sakaiproject/entity/api/Summary.java | 1649 | /**********************************************************************************
* $URL: https://source.sakaiproject.org/svn/kernel/tags/sakai-10.6/api/src/main/java/org/sakaiproject/entity/api/Summary.java $
* $Id: Summary.java 105077 2012-02-24 22:54:29Z ottenhoff@longsight.com $
*******************************... | apache-2.0 |
SATL/AlgorithmsJava | src/unionfind/WQuickUnionUF.java | 1105 | /*
* 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 unionfind;
/**
*
* @author eslem
*/
public class WQuickUnionUF {
private int[] ids;
private int[] si... | apache-2.0 |
ithander/frame | src/main/java/org/ithang/tools/model/auth/AuthRealm.java | 3706 | package org.ithang.tools.model.auth;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import org.apache.shiro.authc.AccountException;
import org.apache.shiro.authc.AuthenticationException;
import org.apache.shiro.authc.AuthenticationInfo;
import org.apache.shiro.authc... | apache-2.0 |
chacaa/DoApp | app/src/main/java/com/xmartlabs/scasas/doapp/controller/AuthController.java | 858 | package com.xmartlabs.scasas.doapp.controller;
import android.support.annotation.NonNull;
import com.xmartlabs.scasas.doapp.model.AuthResponse;
import com.xmartlabs.scasas.doapp.model.LoginRequest;
import com.xmartlabs.scasas.doapp.model.Session;
import com.xmartlabs.scasas.doapp.service.AuthService;
import javax.in... | apache-2.0 |
udotdevelopment/ATSPM | MOE.Common/Business/ApproachSpeed/SpeedExportApproachDirection.cs | 2726 | using System;
using System.Collections.Generic;
using System.Linq;
using MOE.Common.Models;
namespace MOE.Common.Business
{
public class SpeedExportApproachDirection
{
//private Data.MOE.SpeedDataTable speedTable;
public SpeedExportAvgSpeedCollection AvgSpeeds;
public List<RedToRedCyc... | apache-2.0 |
abates/AdventOfCode | 2017/graph/graph.go | 1180 | package graph
type Edge struct {
ID string
Vertex1 *Vertex
Vertex2 *Vertex
}
type Vertex struct {
ID string
Edges []*Edge
}
func NewVertex(id string) *Vertex {
return &Vertex{ID: id}
}
func (v *Vertex) Connect(other *Vertex) *Edge {
edge := &Edge{Vertex1: v, Vertex2: other}
v.Edges = append(v.Edges,... | apache-2.0 |
jentfoo/aws-sdk-java | aws-java-sdk-simpleworkflow/src/main/java/com/amazonaws/services/simpleworkflow/model/transform/WorkflowExecutionCompletedEventAttributesJsonUnmarshaller.java | 3368 | /*
* Copyright 2014-2019 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 |
waans11/incubator-asterixdb | hyracks-fullstack/hyracks/hyracks-tests/hyracks-storage-am-lsm-btree-test/src/test/java/org/apache/hyracks/storage/am/lsm/btree/perf/InMemorySortRunner.java | 6722 | /*
* 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 |
celigo/netsuite-service-manager-dotnet | ServiceManager/Utility/CustomFieldDictionary.cs | 9279 | using System.Collections.Generic;
using com.celigo.net.ServiceManager.SuiteTalk;
#if CLR_2_0
using Celigo.Linq;
#else
using System.Linq;
#endif
namespace com.celigo.net.ServiceManager.Utility
{
/// <summary>
/// A dictionary of Custom Fields indexed by the Internal IDs of the fields.
/// </sum... | apache-2.0 |
dvreeze/yaidom | js/src/main/scala/eu/cdevreeze/yaidom/convert/JsDomToYaidomConversions.scala | 10386 | /*
* Copyright 2011-2017 Chris de Vreeze
*
* 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 |
pelamfi/pelam-scala-csv | src/test/scala/fi/pelam/csv/stream/CsvWriterTest.scala | 3591 | /*
* This file is part of pelam-scala-csv
*
* Copyright © Peter Lamberg 2015 (pelam-scala-csv@pelam.fi)
*
* 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/... | apache-2.0 |
paidgeek/opkp | src/main/resources/static/js/explore.js | 2019 | app.controller("graphs", function($scope, opkpService, dataGraph) {
$scope.dataGraph = dataGraph;
$scope.path = [];
$scope.pathLength = 1;
$scope.selectedColumns = [];
$scope.getColumns = function(index) {
return $scope.dataGraph.fields[$scope.path[index]].map(function(field) {
return fi... | apache-2.0 |
jaredpar/random | WorkItemFixer/WorkItemFixer/Program.cs | 9558 | using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Text;
using Microsoft.TeamFoundation.Client;
using Microsoft.TeamFoundation.WorkItemTracking.Client;
using System;
using System.Collections.Generic;
using System.IO;
using System.... | apache-2.0 |
ynhng/Indigo.NET | Indigo.WebMatrix/static/base/base.js | 19596 | /*!
* Author: Yin Hang
* Date: 26 Jul 2014
* Description:
* This file should be included in all pages
!**/
(function ($) {
$(function () {
/* 为所有复选框、单选框配置样式 */
$("input[type='checkbox'], input[type='radio']").iCheck({
checkboxClass: 'icheckbox_square-blue',
... | apache-2.0 |
tlorentzen/laravel-followable | src/Like.php | 334 | <?php
namespace Tlorentzen\Likeable;
use Illuminate\Database\Eloquent\Model as Eloquent;
class Like extends Eloquent
{
protected $table = 'likes';
public $timestamps = false;
protected $fillable = ['likeable_id', 'likeable_type', 'user_id'];
public function likeable()
{
return $this->morp... | apache-2.0 |
shigeyf/AzureMediaVideoPortalSample | VideoPortalDemo/App_Start/Startup.Auth.cs | 6105 | //----------------------------------------------------------------------------------------------
// Copyright 2014 Microsoft 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 ... | apache-2.0 |
networksoft/erp.wellnet | application/views/website/ov/compra_reporte/datos_envio.php | 5841 | <link href="/cart/HTML/assets/css/style.css" rel="stylesheet">
<link href="/cart/HTML/assets/css/skin-3.css" rel="stylesheet">
<!-- css3 animation effect for this template -->
<link href="/cart/HTML/assets/css/animate.min.css" rel="stylesheet">
<!-- styles needed by carousel slider -->
<link href="/cart/HTML/assets/c... | apache-2.0 |
phongdly/puppetlabs-dsc | spec/unit/puppet/type/dsc_xwebconfigkeyvalue_spec.rb | 11844 | #!/usr/bin/env ruby
require 'spec_helper'
describe Puppet::Type.type(:dsc_xwebconfigkeyvalue) do
let :dsc_xwebconfigkeyvalue do
Puppet::Type.type(:dsc_xwebconfigkeyvalue).new(
:name => 'foo',
:dsc_websitepath => 'foo',
:dsc_configsection => 'AppSettings',
:dsc_key => 'foo',
)
e... | apache-2.0 |
jentfoo/aws-sdk-java | aws-java-sdk-guardduty/src/main/java/com/amazonaws/services/guardduty/model/transform/AccessKeyDetailsJsonUnmarshaller.java | 3481 | /*
* Copyright 2014-2019 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 |
flipkart-incubator/Lyrics | lyrics-core/src/main/java/com/flipkart/lyrics/annotators/AnnotatorStyle.java | 1716 | /*
* Copyright 2016 Flipkart Internet, pvt ltd.
*
* 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 o... | apache-2.0 |
orioncode/orionplatform | orion_math/orion_math_core/src/main/java/com/orionplatform/math/linearalgebra/matrix/generic/GenericMatrixInternalService.java | 932 | package com.orionplatform.math.linearalgebra.matrix.generic;
import com.orionplatform.math.MathObject;
import com.orionplatform.math.geometry.vector.generic.GenericVector;
import com.orionplatform.math.linearalgebra.matrix.generic.tasks.GenericMatrixEqualsTask;
import com.orionplatform.math.linearalgebra.matrix.generi... | apache-2.0 |
MayankGo/ec2-api | ec2api/openstack/common/service.py | 15202 | # Copyright 2010 United States Government as represented by the
# Administrator of the National Aeronautics and Space Administration.
# Copyright 2011 Justin Santa Barbara
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance wi... | apache-2.0 |