repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
mechanicalobject/sandbox | MechanicalObject.Sandbox.TodoWithSQLite/MechanicalObject.Sandbox.TodoWithSQLite.Tests/Properties/AssemblyInfo.cs | 1466 | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Me... | apache-2.0 |
eval1749/elang | elang/vm/collectable.cc | 647 | // Copyright 2014-2015 Project Vogue. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "elang/vm/collectable.h"
#include "base/logging.h"
#include "elang/vm/factory.h"
namespace elang {
namespace vm {
void Collectable::operator del... | apache-2.0 |
NotFound403/WePay | src/main/java/cn/felord/wepay/ali/sdk/api/response/AlipayOfflineProviderUseractionRecordResponse.java | 384 | package cn.felord.wepay.ali.sdk.api.response;
import cn.felord.wepay.ali.sdk.api.AlipayResponse;
/**
* ALIPAY API: alipay.offline.provider.useraction.record response.
*
* @author auto create
* @version $Id: $Id
*/
public class AlipayOfflineProviderUseractionRecordResponse extends AlipayResponse {
private stat... | apache-2.0 |
fupslot/linkmator | client/js/component/Sidebar.js | 787 | import React from 'react';
import { connect } from 'react-redux';
import PersonAvatar from './PersonAvatar';
class Sidebar extends React.Component {
renderPersonAvatar() {
if (!this.props.person) {
return null;
}
const person = this.props.person;
const fullName = `${person.givenName} ${person... | apache-2.0 |
jentfoo/aws-sdk-java | aws-java-sdk-iot/src/main/java/com/amazonaws/services/iot/model/ListCACertificatesResult.java | 6594 | /*
* 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 |
dirk-thomas/vcstool | vcstool/clients/hg.py | 11970 | import os
from shutil import which
from threading import Lock
from vcstool.executor import USE_COLOR
from .vcs_base import VcsClientBase
from ..util import rmtree
class HgClient(VcsClientBase):
type = 'hg'
_executable = None
_config_color = None
_config_color_lock = Lock()
@staticmethod
de... | apache-2.0 |
locationtech/geomesa | geomesa-cassandra/geomesa-cassandra-datastore/src/main/scala/org/locationtech/geomesa/cassandra/data/CassandraDataStore.scala | 6127 | /***********************************************************************
* Copyright (c) 2017-2022 IBM
* Copyright (c) 2013-2022 Commonwealth Computer Research, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Apache License, Version 2.0
* which ac... | apache-2.0 |
leandrocr/kops | util/pkg/vfs/s3context.go | 6363 | /*
Copyright 2016 The Kubernetes 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 in writing, ... | apache-2.0 |
GDXN/CoActionOS-Public | CoActionOS-Applib/src/CoActionOS/Signal.cpp | 389 | /*
* Signal.cpp
*
* Created on: Dec 6, 2013
* Author: tgil
*/
#include "Signal.hpp"
using namespace Signal;
int Event::set_handler(Handler * handler) const {
if( handler->sigaction()->sa_flags & SA_SIGINFO ){
return ::sigaction(signo_, handler->sigaction(), 0);
} else {
_sig_func_ptr ptr = handler-... | apache-2.0 |
tilioteo/vmaps | src/main/java/org/vaadin/maps/client/geometry/wkb/WKBConstants.java | 1578 | package org.vaadin.maps.client.geometry.wkb;
/*
* The JTS Topology Suite is a collection of Java classes that
* implement the fundamental operations required to validate a given
* geo-spatial data set to a known topological specification.
*
* Copyright (C) 2001 Vivid Solutions
*
* This library is free ... | apache-2.0 |
leepc12/BigDataScript | src/org/bds/data/DataS3.java | 9312 | package org.bds.data;
import java.io.File;
import java.io.FileOutputStream;
import java.sql.Date;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
import org.bds.Config;
import org.bds.util.Gpr;
import org.bds.util.Timer;
import com.amazonaws.AmazonClientException;
import com.amazonaws.Ama... | apache-2.0 |
bykoianko/omim | routing/road_graph.hpp | 12245 | #pragma once
#include "routing/segment.hpp"
#include "routing_common/maxspeed_conversion.hpp"
#include "routing_common/vehicle_model.hpp"
#include "geometry/point2d.hpp"
#include "base/string_utils.hpp"
#include "indexer/feature_altitude.hpp"
#include "indexer/feature_data.hpp"
#include <initializer_list>
#includ... | apache-2.0 |
kiritbasu/datacollector | commonlib/src/test/java/com/streamsets/pipeline/lib/io/TestLiveFileChunk.java | 3607 | /**
* 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 |
Kiosani/OpenGTS | src/org/opengts/db/RuleFactoryAdapter.java | 3589 | // ----------------------------------------------------------------------------
// Copyright 2007-2017, GeoTelematic Solutions, Inc.
// All rights reserved
// ----------------------------------------------------------------------------
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not... | apache-2.0 |
nblair/bw-util | bw-util-servlet-filters/src/main/java/org/bedework/util/servlet/filters/XSLTFilterConfigInfo.java | 8875 | /* ********************************************************************
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,
... | apache-2.0 |
paladique/nodejstools | Nodejs/Product/Nodejs/Debugger/Communication/ExceptionEventArgs.cs | 553 | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.NodejsTools.Debugger.Events;
namespace Microsoft.NodejsTools.Debugger.Communication
{
internal sealed class ExceptionEventA... | apache-2.0 |
Autodesk/hig | packages/theme-data/src/colorSchemes/darkBlue/components/iconButton.js | 263 | export default {
"iconButton.dynamic.on.hover.iconColor": {
value: {
ref: "basics.colors.primary.autodeskBlue.300"
}
},
"iconButton.dynamic.on.pressed.iconColor": {
value: {
ref: "basics.colors.primary.autodeskBlue.300"
}
}
};
| apache-2.0 |
RomanPavliuk/taskRepo | Booking/Booking/App_Start/NinjectWebCommon.cs | 2329 | [assembly: WebActivatorEx.PreApplicationStartMethod(typeof(Booking.App_Start.NinjectWebCommon), "Start")]
[assembly: WebActivatorEx.ApplicationShutdownMethodAttribute(typeof(Booking.App_Start.NinjectWebCommon), "Stop")]
namespace Booking.App_Start
{
using System;
using System.Web;
using Microsoft.Web.Infr... | apache-2.0 |
shakamunyi/drill | contrib/storage-hbase/src/test/java/org/apache/drill/hbase/BaseHBaseTest.java | 4358 | /**
* 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 |
TeoVincent/TEO-KONKURS | Parser_v_4_1/Protocol/Asci.cs | 484 | namespace v_4_1.Protocol
{
public static class Asci
{
public const byte CR = 13;
public const byte LF = 10;
public const byte T = 84;
public const byte R = 82;
public const byte D = 68;
public const byte H = 72;
public const byte a = 97;
public co... | apache-2.0 |
super5000/aliapi | Alipay/Controller/AlipayController.class.php | 3651 | <?php
namespace Alipay\Controller;
use Think\Controller;
class AlipayController extends Controller {
// 支付宝支付示例
public function alipay(){
// 组装业务数据,然后支付
$pay_data=array(
'order_no'=> $order_no, //订单号,不能重复
'price'=> $price, //交易金额
'subject'=> '商品名称'
);
$_SESSION['order... | apache-2.0 |
jwennerberg/puppet-module-swrepo | spec/spec_helper.rb | 606 | require 'puppetlabs_spec_helper/module_spec_helper'
RSpec.configure do |config|
config.hiera_config = 'spec/fixtures/hiera/hiera.yaml'
config.before :each do
# Ensure that we don't accidentally cache facts and environment between
# test cases. This requires each example group to explicitly load the
# ... | apache-2.0 |
Aarhus-BSS/Aarhus-Research-Rebuilt | src/Common/Logging/cLogFile.java | 2643 | /*
* 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 Common.Logging;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.PrintStream;
import java.t... | apache-2.0 |
dbflute-test/dbflute-test-dbms-db2 | src/main/java/org/docksidestage/db2/dbflute/bsentity/customize/BsVendorCheckDecimalSum.java | 5837 | package org.docksidestage.db2.dbflute.bsentity.customize;
import java.util.List;
import java.util.ArrayList;
import org.dbflute.dbmeta.DBMeta;
import org.dbflute.dbmeta.AbstractEntity;
import org.dbflute.dbmeta.accessory.CustomizeEntity;
import org.docksidestage.db2.dbflute.exentity.customize.*;
/**
* The entity of... | apache-2.0 |
hereacg/popo | static/js/home.js | 1210 | //The Javascript By Alxtit
$("main").slideDown();
$(document).ready(function(){
$(".header_menu").click(function(){
menu_top.innerHTML=(menu_top.innerHTML=='expand_less'?'menu':'expand_less');
$("#menu_list").slideToggle("slow");
});
});
$(document).ready(function(){
$(function () {hitokotodata();});
function hi... | apache-2.0 |
Schinzel/basic-utils | src/main/java/io/schinzel/samples/file/ResourceReaderSample.java | 478 | package io.schinzel.samples.file;
import io.schinzel.basicutils.file.ResourceReader;
/**
* Purpose of this class is to provide sample usage of ResourceReader
* <p>
* Created by Schinzel on 2018-01-13
*/
public class ResourceReaderSample {
public static void main(String[] args) {
String fileContent = ... | apache-2.0 |
attatrol/Orekit | src/main/java/org/orekit/models/earth/tessellation/EllipsoidTessellator.java | 40354 | /* Copyright 2002-2015 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 |
billdawson/tidevtools | templates/one_heavy_window_mapview/app.js | 232 | /*global Ti, Titanium, alert, JSON */
Titanium.UI.setBackgroundColor('#000');
var win = Titanium.UI.createWindow({
title:'Map Test', backgroundColor:'#fff',
fullscreen: true, exitOnClose: true,
url: 'win.js'
});
win.open();
| apache-2.0 |
bonvoathtanson/mini_pos | app/Models/Import.php | 741 | <?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Import extends Model
{
protected $table = 'Imports';
protected $primaryKey = 'Id';
public $timestamps = false;
public static function rules()
{
$rules = array(
'ImportDate' => 'required',
... | apache-2.0 |
xxlabaza/ping | src/main/java/ru/xxlabaza/test/ping/pitcher/PitcherCommandExecutor.java | 2601 | /*
* Copyright 2017 Artem Labazin <xxlabaza@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 app... | apache-2.0 |
Blazemeter/jmeter-bzm-plugins | sense-uploader/src/test/java/com/blazemeter/api/explorer/BZAObjectTest.java | 841 | package com.blazemeter.api.explorer;
import kg.apc.jmeter.http.HttpUtils;
import kg.apc.jmeter.reporters.notifier.StatusNotifierCallbackTest;
import static org.junit.Assert.*;
public class BZAObjectTest {
@org.junit.Test
public void test() throws Exception {
HttpUtils httpUtils = new HttpUtils(new S... | apache-2.0 |
ampproject/amppackager | vendor/github.com/sacloud/libsacloud/sacloud/bridge.go | 1414 | // Copyright 2016-2020 The Libsacloud 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... | apache-2.0 |
xfournet/intellij-community | python/testData/intentions/PyAnnotateVariableTypeIntentionTest/typeCommentLocalSimpleAssignmentTargetInParentheses_after.py | 79 | from typing import Any
def func():
(var) = 'spam' # type: [Any]
var
| apache-2.0 |
motorina0/flowable-engine | modules/flowable-cdi/src/test/java/org/flowable/cdi/test/api/annotation/TaskIdTest.java | 1368 | /* 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
* di... | apache-2.0 |
stevemanderson/googleads-dotnet-lib | examples/Dfp/CSharp/v201502/UserTeamAssociationService/CreateUserTeamAssociations.cs | 3840 | // Copyright 2015, Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | apache-2.0 |
pkarmstr/NYBC | solr-4.2.1/lucene/queryparser/src/java/org/apache/lucene/queryparser/complexPhrase/ComplexPhraseQueryParser.java | 14932 | package org.apache.lucene.queryparser.complexPhrase;
/*
* 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 Ap... | apache-2.0 |
Koichi-Kobayashi/AipoReminder | AlertWindow/Properties/AssemblyInfo.cs | 1768 | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("AlertWindow")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[as... | apache-2.0 |
jaxzin/daytrader | javaee6/modules/web/src/main/java/org/apache/geronimo/daytrader/javaee6/core/api/TradeServices.java | 12427 | /**
* 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 |
cuipengpeng/p1-android | src/com/p1/mobile/p1android/net/withclause/WithParam.java | 1089 | package com.p1.mobile.p1android.net.withclause;
import java.util.Iterator;
import java.util.LinkedHashSet;
import java.util.Set;
public class WithParam implements Param {
private Set<String> withStrings = new LinkedHashSet<String>();
private static final String SEPARATOR = ";";
private static final Strin... | apache-2.0 |
istio/client-go | pkg/informers/externalversions/networking/v1alpha3/workloadentry.gen.go | 3748 | // Copyright Istio 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 in writ... | apache-2.0 |
swanandmehta/SMPA | src/Java/com/smpa/common/JsonUtility.java | 1227 | package com.smpa.common;
import java.io.IOException;
import java.io.Reader;
import com.fasterxml.jackson.core.JsonParseException;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.JsonMappingException;
import com.fasterxml.jackson.databind.ObjectMapper;
public... | apache-2.0 |
amit0701/rally | tests/unit/common/db/test_migrations.py | 6964 | # Copyright (c) 2016 Mirantis 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 require... | apache-2.0 |
lethalskillzz/Baker | app/src/main/java/com/lethalskillzz/baker/di/DatabaseInfo.java | 905 | /*
* Copyright (C) 2017 MINDORKS NEXTGEN PRIVATE LIMITED
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://mindorks.com/license/apache-v2
*
* Unless required by applicable... | apache-2.0 |
CenPC434/java-tools | en16931-edifact-to-xml/src/main/java/com/mapforce/core/get_fileext.java | 2848 | /**
* core/get_fileext.java
*
* This file was generated by MapForce 2017sp2.
*
* YOU SHOULD NOT MODIFY THIS FILE, BECAUSE IT WILL BE
* OVERWRITTEN WHEN YOU RE-RUN CODE GENERATION.
*
* Refer to the MapForce Documentation for further details.
* http://www.altova.com/mapforce
*/
package com.mapforce.core;
import... | apache-2.0 |
spinnaker/kayenta | kayenta-signalfx/src/main/java/com/netflix/kayenta/signalfx/security/SignalFxNamedAccountCredentials.java | 1462 | /*
* Copyright (c) 2018 Nike, 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 ... | apache-2.0 |
FasterXML/jackson-databind | src/test/java/com/fasterxml/jackson/databind/module/TestCustomEnumKeyDeserializer.java | 10038 | package com.fasterxml.jackson.databind.module;
import java.io.File;
import java.io.IOException;
import java.util.*;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.core.*;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.*;
import com.fast... | apache-2.0 |
moosbusch/xbLIDO | src/net/opengis/gml/impl/TrackTypeImpl.java | 6414 | /*
* Copyright 2013 Gunnar Kappei.
*
* 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 |
Gridtec/lambda4j | lambda4j/src-gen/main/java/at/gridtec/lambda4j/function/conversion/ThrowableIntToCharFunction.java | 36303 | /*
* Copyright (c) 2016 Gridtec. 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 applic... | apache-2.0 |
oMMu/Ommu-Core | views/zone_country/admin_add.php | 562 | <?php
/**
* Ommu Zone Countries (ommu-zone-country)
* @var $this ZonecountryController
* @var $model OmmuZoneCountry
* @var $form CActiveForm
*
* @author Putra Sudaryanto <putra@sudaryanto.id>
* @contact (+62)856-299-4114
* @copyright Copyright (c) 2015 Ommu Platform (www.ommu.co)
* @link https://git... | apache-2.0 |
jmrozanec/white-bkg-classification | scripts/dl-histograms/04-architecture-06b.py | 2177 | #TFLearn bug regarding image loading: https://github.com/tflearn/tflearn/issues/180
#Monochromes img-magick: https://poizan.dk/blog/2014/02/28/monochrome-images-in-imagemagick/
#How to persist a model: https://github.com/tflearn/tflearn/blob/master/examples/basics/weights_persistence.py
from __future__ import division,... | apache-2.0 |
j-coll/opencga | opencga-core/src/main/java/org/opencb/opencga/core/models/clinical/Interpretation.java | 5265 | /*
* 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 |
polats/gvr-unity-sdk | Samples/CardboardDesignLab/ustwo-cardboard-unity/Assets/Source/Monoscope/MonoscopicCamera.cs | 1031 | // 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 applicabl... | apache-2.0 |
mazhilin/neusoft-knowledge-platform | neusoft-knowledge-service/src/main/java/com/neusoft/knowledge/sys/service/UserRoleService.java | 918 | package com.neusoft.knowledge.sys.service;
import com.neusoft.knowledge.sys.entity.UserRoleEntity;
import java.util.List;
import java.util.Map;
/**
* @Title:UserRoleService.
* @Content:com.neusoft.knowledge.service.modules.sys.service.UserRoleService
* @Description:
* @Author:Marklin
* @Create-DateTime:2017-10-... | apache-2.0 |
puntodesarrollo/taxislibertador | admin/metodoEditar.php | 580 | <?php
$sesion = include $_SERVER['DOCUMENT_ROOT']."/admin/verificarSesion.php";
if($sesion===false){
header("location:/admin/login");
exit;
}
define ('SITE_ROOT', realpath(dirname(__FILE__)));
//Variables album
$ID = $_POST["ID"];
$texto1 = $_POST['txtEditorContent'];
$texto2 = $_POST['txtEditorContent2'... | apache-2.0 |
irudyak/ant-toolkit | dev/modules/native/general/src/main/java/com/anttoolkit/general/tasks/file/FileReadOnlyAttributeTask.java | 1388 | package com.anttoolkit.general.tasks.file;
import java.io.*;
import com.anttoolkit.general.tasks.GenericTask;
import org.apache.tools.ant.*;
public class FileReadOnlyAttributeTask
extends GenericTask
{
private boolean readOnly = false;
private String file = null;
private String dir = null;
public void setRea... | apache-2.0 |
c340c340/mybatis-3.2.22 | src/test/java/com/ibatis/dao/engine/impl/DaoContext.java | 3620 | /*
* Copyright 2009-2012 The MyBatis 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 a... | apache-2.0 |
charles-cooper/idylfin | src/org/apache/commons/math3/stat/clustering/package-info.java | 886 | /*
* 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 |
staneee/MyBlog.NetCore | MyBlog.Infrastructure/Command/ICommandInvokerFactory.cs | 430 | namespace MyBlog
{
/// <summary>
/// 命令工作工厂接口
/// </summary>
public interface ICommandInvokerFactory
{
/// <summary>
/// 命令处理
/// </summary>
/// <typeparam name="TIn"></typeparam>
/// <typeparam name="TOut"></typeparam>
/// <param name="input"></param... | apache-2.0 |
scnakandala/derby | java/engine/org/apache/derby/jdbc/EmbedXAConnection.java | 7023 | /*
Derby - Class org.apache.derby.jdbc.EmbedXAConnection
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 t... | apache-2.0 |
codesmart-co/bit | connectors/fb_ads/settings.py | 4163 | # Facebook Ads Config File
from packaging.version import Version
from facebook_business.adobjects.adsinsights import AdsInsights as fbAdsInsights
from superset import app
config = app.config
DB_PREFIX = '{}'.format(
config.get('APP_DB_PREFIX', 'bit'),
)
CONNECTOR_KEY = 'facebook' # rename to facebook_ads and ... | apache-2.0 |
jasdel/aws-sdk-go | service/identitystore/service.go | 3540 | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package identitystore
import (
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/client"
"github.com/aws/aws-sdk-go/aws/client/metadata"
"github.com/aws/aws-sdk-go/aws/request"
"github.com/aws/aws-sdk-go/aws/signer/v4"
"github.com... | apache-2.0 |
spinnaker/deck | packages/core/src/task/modal/TaskMonitorModal.tsx | 3456 | import type { FormikProps } from 'formik';
import { Form } from 'formik';
import React from 'react';
import { Modal } from 'react-bootstrap';
import type { Application } from '../../application';
import { ModalClose, SubmitButton } from '../../modal';
import { TaskMonitor } from '../monitor/TaskMonitor';
import { Task... | apache-2.0 |
Chirojeugd-Vlaanderen/gap | tools/Chiro.LoginService/Chiro.Ad.DirectoryInterface/IDirectoryAccess.cs | 3239 | /*
* Copyright 2016 Chirojeugd-Vlaanderen vzw. See the NOTICE file at the
* top-level directory of this distribution, and at
* https://gapwiki.chiro.be/copyright
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obt... | apache-2.0 |
RainZhai/rainzhai.github.com | raincss/js/jquery.dialog.js | 16213 | /**
* dailog 1.3.1
* Anthor: zhaiyu
* Date: 2013.1.21
* lastUpdate : 2016.05.19
*/
(function ($) {
/**
* @description dialog对象声明
* @constructor
* @param {Object} 参数对象
* @example var div = new $.dialog({
* width: 540,
* height: 300,
* top:'20%',
* content:$(".c_testwrap"),
* titleText:"hello dialog",
* ... | apache-2.0 |
Murphy-Lin/zhongqi | src/com/sinodata/evaluate/BaseActivity.java | 2896 | package com.sinodata.evaluate;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.content.DialogInterface.OnClickListener;
import android.content.Intent;
import android.content.pm.ActivityInfo;
import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
import android.... | apache-2.0 |
norrs/geocalendar | geocalendar/geocal/migrations/0001_initial.py | 1658 | # encoding: utf-8
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding model 'CalendarEntry'
db.create_table('geocal_calendarentry', (
('id', self.gf('djang... | apache-2.0 |
futuresimple/android-db-commons | library/src/main/java/com/getbase/android/db/loaders/ComposedCancellableFunction.java | 578 | package com.getbase.android.db.loaders;
import android.support.v4.os.CancellationSignal;
class ComposedCancellableFunction<TIn, T, TOut> implements CancellableFunction<TIn, TOut> {
private final CancellableFunction<TIn, T> mFirst;
private final CancellableFunction<T, TOut> mThen;
ComposedCancellableFunction(Ca... | apache-2.0 |
haoch/kylin | jdbc/src/main/java/org/apache/kylin/jdbc/KylinPreparedStatement.java | 4837 | /*
* 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 |
gosu-lang/gosu-lang | gosu-lab/src/main/java/editor/search/AbstractSearcher.java | 1996 | package editor.search;
import editor.FileTree;
import editor.FileTreeUtil;
import editor.NodeKind;
import editor.util.IProgressCallback;
import java.util.Collections;
import java.util.List;
import java.util.function.Predicate;
/**
*/
public abstract class AbstractSearcher
{
public abstract boolean search( FileTre... | apache-2.0 |
webos21/xi | java/jcl/vmclasses/java/lang/reflect/VMConstructor.java | 6032 | /* java.lang.reflect.VMConstructor - VM interface for reflection of Java constructors
Copyright (C) 1998, 2001, 2004, 2005 Free Software Foundation, Inc.
This file is part of GNU Classpath.
GNU Classpath is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as... | apache-2.0 |
F5Networks/k8s-bigip-ctlr | pkg/agent/as3/as3Manager_test.go | 10610 | /*-
* Copyright (c) 2016-2021, F5 Networks, 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 l... | apache-2.0 |
gongmingqm10/TrainTimer | app/src/main/java/net/gongmingqm10/traintimer/ui/fragment/DatePickerFragment.java | 1137 | package net.gongmingqm10.traintimer.ui.fragment;
import android.app.Activity;
import android.app.DatePickerDialog;
import android.app.Dialog;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.v4.app.DialogFragment;
import java.util.Calendar;
public class DatePickerFragment e... | apache-2.0 |
UXAspects/UXAspects | src/components/menu/menu-tabbable-item/menu-tabbable-item.directive.ts | 2642 | import { FocusableOption, FocusOrigin } from '@angular/cdk/a11y';
import { Directive, ElementRef, HostListener, Input, OnDestroy, OnInit, Renderer2 } from '@angular/core';
import { Subject } from 'rxjs';
import { takeUntil } from 'rxjs/operators';
import { FocusIndicator, FocusIndicatorService } from '../../../directiv... | apache-2.0 |
Netflix/conductor | cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/util/Constants.java | 2317 | /*
* Copyright 2022 Netflix, Inc.
* <p>
* 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
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless required by applicable law or agr... | apache-2.0 |
MarcinSzyszka/MobileSecondHand | AndroidStudio_Android/MobileSeconndHand/app/src/main/java/marcin_szyszka/mobileseconndhand/models/TokenModel.java | 150 | package marcin_szyszka.mobileseconndhand.models;
/**
* Created by marcianno on 2016-03-01.
*/
public class TokenModel {
public String Token;
}
| apache-2.0 |
tkao1000/pinot | pinot-core/src/main/java/com/linkedin/pinot/core/segment/memory/PinotByteBuffer.java | 11468 | /**
* Copyright (C) 2014-2015 LinkedIn Corp. (pinot-core@linkedin.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
*
* Unle... | apache-2.0 |
Samuel789/MediPi | MediPiPatient/MediPi/src/main/java/org/medipi/devices/drivers/domain/DeviceTimestampUpdateInterface.java | 987 | /*
Copyright 2016 Richard Robinson @ NHS Digital <rrobinson@nhs.net>
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 |
summerDp/dpCms | src/main/java/org/summer/dp/cms/support/persistence/ReduceJsonDataParam.java | 455 | package org.summer.dp.cms.support.persistence;
import java.util.ArrayList;
import java.util.List;
/**
* @category 这个类用于保存前端传过来减少Hibernate发送SQL
* @author Administrator
*
*/
public class ReduceJsonDataParam {
private List<String> rjdParams = new ArrayList<String>(3);
public List<String> getRjdParams() {
return... | apache-2.0 |
Thellmann/callimachus | webapp/scripts/vbox.js | 814 | // vbox.js
(function($){
$(document).ready(function() {
vbox(select(document, ".vbox"));
});
$(document).bind("DOMNodeInserted", handle);
$(window).resize(function(){vbox($('.vbox'))});
function select(node, selector) {
var set = $(node).find(selector).andSelf();
set = set.add($(node).parents(selector));
... | apache-2.0 |
huahuajjh/yueyouyuebei | src/TravelAgent.Web/TravelAgent.Web/member/UpdatePassword.aspx.designer.cs | 847 | //------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:2.0.50727.3053
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace Tr... | apache-2.0 |
jaschenk/jeffaschenk-commons | src/main/java/jeffaschenk/commons/standards/statecodes/StateCodes_SA.java | 2492 | package jeffaschenk.commons.standards.statecodes;
import jeffaschenk.commons.standards.CountryCode;
/**
* Official ISO-3166 State/Province Codes
* <p/>
* Country: Saudi Arabia
*
* @author jeffaschenk@gmail.com
* Date: May 19, 2010
* Time: 12:12:11 PM
*/
@SuppressWarnings("unused")
public enum ... | apache-2.0 |
scottdangelo/unity-sdk | Scripts/Utilities/FrameRateCounter.cs | 1546 | /**
* Copyright 2015 IBM Corp. 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 |
apache/incubator-freemarker | src/main/java/freemarker/template/MapKeyValuePairIterator.java | 2357 | /*
* 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 |
jdebrabant/parallel_arules | src/util/laur/dm/ar/Itemset.java | 21095 | /*
Itemset.java
(P)1999-2001 Laurentiu Cristofor
*/
/*
laur.dm.ar - A Java package for association rule mining
Copyright (C) 2002 Laurentiu Cristofor
This program 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 ... | apache-2.0 |
ov3rflow/eFaps-Kernel | src/main/java/org/efaps/admin/datamodel/ui/EnumUI.java | 1714 | /*
* Copyright 2003 - 2013 The eFaps Team
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | apache-2.0 |
EtherTyper/react-lang | lib/elements/patternElements.js | 5448 | "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
var _react = require("react");
var _react2 = _interopRequireDefault(_react);
var _ = require("..");
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _extends() { _extends = Object... | apache-2.0 |
SES-fortiss/SmartGridCoSimulation | core/cim15/src/CIM15/IEC61968/PaymentMetering/Receipt.java | 18452 | /**
*/
package CIM15.IEC61968.PaymentMetering;
import CIM15.IEC61970.Core.IdentifiedObject;
import java.util.Collection;
import org.eclipse.emf.common.notify.NotificationChain;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.InternalEObject;
import org.... | apache-2.0 |
basho/spark-riak-connector | connector/src/main/scala/com/basho/riak/spark/query/TSDataQueryingIterator.scala | 3609 | /**
* Copyright (c) 2015-2016 Basho Technologies, Inc.
*
* This file is provided 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/licenses/LICENSE-2.0
... | apache-2.0 |
ViDA-NYU/ache | ache/src/main/java/achecrawler/link/BipartiteGraphRepository.java | 16839 | package achecrawler.link;
import java.io.IOException;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.StringTokenizer;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import achecrawler.lin... | apache-2.0 |
bskierys/Pine | pine/src/main/java/com/github/bskierys/pine/LogAction.java | 278 | package com.github.bskierys.pine;
/**
* Interface to make a additional action on output log message.
*/
public interface LogAction {
/**
* Invoked the same way as {@link Pine#log} is.
*/
void action(int priority, String tag, String message, Throwable t);
}
| apache-2.0 |
reshaping-the-future/better-together-api | api/src/main/java/ac/robinson/bettertogether/api/messaging/BroadcastMessage.java | 4570 | /*
* Copyright (C) 2017 The Better Together Toolkit
*
* 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 |
ChattyCrow/chattycrow_ruby | test/contacts_test.rb | 2634 | require File.expand_path '../helper', __FILE__
# Unit test for contact methods
class ContactsTest < MiniTest::Should::TestCase
should 'Raise invalid argument when no contact list is present' do
expect { ChattyCrow.add_contacts }.to_raise ArgumentError
expect { ChattyCrow.remove_contacts }.to_raise ArgumentEr... | apache-2.0 |
mirkosertic/Bytecoder | core/src/main/java/de/mirkosertic/bytecoder/ssa/TypeRef.java | 9117 | /*
* Copyright 2017 Mirko Sertic
*
* 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 ... | apache-2.0 |
o-filippov/programming-for-testers | addressbook-selenium-tests/src/com/example/tests/ContactRemovalTests.java | 760 | package com.example.tests;
import static org.testng.Assert.assertEquals;
import java.util.List;
import java.util.Random;
import org.testng.annotations.Test;
public class ContactRemovalTests extends TestBase {
@Test
public void deleteSomeContact() {
app.navigateTo().mainPage();
// save state
List<Co... | apache-2.0 |
wanlitao/IDCard | src/Reader/IDCard.Reader.Standard/StandardIDCardReader.cs | 4472 | using System;
namespace IDCard.Reader.Standard
{
/// <summary>
/// 身份证阅读(公安部一所)
/// </summary>
public class StandardIDCardReader : IDCardReader
{
protected const string DefaultBmpPhotoFileName = "zp.bmp";
private int? _port;
#region 构造函数
public StandardIDCardReade... | apache-2.0 |
mrniko/redisson | redisson/src/main/java/org/redisson/api/RRateLimiterAsync.java | 6307 | /**
* Copyright (c) 2013-2020 Nikita Koksharov
*
* 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 |
goodwinnk/intellij-community | platform/lang-impl/src/com/intellij/codeInsight/documentation/AbstractExternalFilter.java | 16550 | // Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.codeInsight.documentation;
import com.intellij.ide.BrowserUtil;
import com.intellij.openapi.application.Application;
import com.intellij.openapi.application.... | apache-2.0 |
trasa/aws-sdk-java | aws-java-sdk-ses/src/main/java/com/amazonaws/services/simpleemail/model/transform/IdentityVerificationAttributesStaxUnmarshaller.java | 3029 | /*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "lice... | apache-2.0 |
MarsZone/EGame | src/com/Model/User.ts | 422 | module Model{
export class User extends egret.EventDispatcher{
public constructor(){
super();
}
public setData(name="",pw="",email="",started=false):void{
this.name=name;
this.pw = pw;
this.email=email;
this.started=starte... | apache-2.0 |
robv8r/FluentValidation | src/FluentValidation.Tests.Mvc6.dotnet/ExtensionTests.cs | 2665 | #region License
// Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk)
//
// 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-... | apache-2.0 |