repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
bitclaw/netsuite-php | src/Classes/ManufacturingOperationTaskPredecessor.php | 494 | <?php namespace Fungku\NetSuite\Classes;
class ManufacturingOperationTaskPredecessor {
public $task;
public $type;
public $startDate;
public $endDate;
public $lagType;
public $lagAmount;
public $lagUnits;
static $paramtypesmap = array(
"task" => "RecordRef",
"type" => "ManufacturingOperationTaskPredecessor... | apache-2.0 |
VHAINNOVATIONS/TheDailyPlan | LegacyApp/tdpWeb/src/main/java/gov/va/medora/mdws/emrsvc/TextTO.java | 1379 |
package gov.va.medora.mdws.emrsvc;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for TextTO complex type.
*
* <p>The following schema fragment specifies the expected content contained wit... | apache-2.0 |
plasma-framework/plasma | plasma-metamodel/src/main/java/org/plasma/metamodel/adapter/ModelAdapter.java | 14333 | /**
* Copyright 2017 TerraMeta Software, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | apache-2.0 |
mrinsss/Full-Repo | tripezi/system/database/drivers/mssql/mssql_forge.php | 6075 | <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* CodeIgniter
*
* An open source application development framework for PHP 4.3.2 or newer
*
* @package CodeIgniter
* @author ExpressionEngine Dev Team
* @copyright Copyright (c) 2008 - 2010, EllisLab, Inc.
* @license htt... | apache-2.0 |
exa-analytics/atomic | exatomic/qe/__pw/header.py | 376 | ## -*- coding: utf-8 -*-
## Copyright (c) 2015-2020, Exa Analytics Development Team
## Distributed under the terms of the Apache License 2.0
#"""
#PW Header Subsection Parser
##############################
#"""
#from exa.typed import TypedProperty
#from exa.core.parser import Sections, Parser
#
#
#class Header(Parser):... | apache-2.0 |
karlmortensen/autopsy | Core/src/org/sleuthkit/autopsy/timeline/ui/TimeLineResultView.java | 4279 | /*
* Autopsy Forensic Browser
*
* Copyright 2013 Basis Technology Corp.
* Contact: carrier <at> sleuthkit <dot> org
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://ww... | apache-2.0 |
masonmei/apm-agent | bootstrap/src/test/java/com/baidu/oped/apm/bootstrap/config/ProfilableClassFilterTest.java | 2336 | /*
* Copyright 2014 NAVER Corp.
*
* 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 |
ludovicc/testng-debian | test-14/v4/src/test/enabled/VerifyEnabledTest.java | 406 | package test.enabled;
import test.BaseTest;
public class VerifyEnabledTest extends BaseTest {
/**
* @testng.test
*/
public void disabledMethodsShouldNotRun() {
addClass("test.enabled.EnabledTest");
run();
String[] failed = {
};
String[] passed = {
};
verifyTests("Passed", p... | apache-2.0 |
evias/imeals | public/js/jquery.highcharts-3d.min.js | 20436 | /*
Highcharts JS v4.1.9 (2015-10-07)
(c) 2009-2013 Torstein H?nsi
License: www.highcharts.com/license
*/
(function(d){function p(c,b,a){var e,g,f=b.options.chart.options3d,h=!1;a?(h=b.inverted,a=b.plotWidth/2,b=b.plotHeight/2,e=f.depth/2,g=z(f.depth,1)*z(f.viewDistance,0)):(a=b.plotLeft+b.plotWidth/2,b=b.plotTop+b... | apache-2.0 |
minewhat/druid | processing/src/main/java/io/druid/query/extraction/TimeDimExtractionFn.java | 3408 | /*
* Druid - a distributed column store.
* Copyright 2012 - 2015 Metamarkets Group 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-... | apache-2.0 |
ApocalypsjeNL/OpenAudioMc | plugin/src/main/java/com/craftmend/openaudiomc/spigot/modules/show/runnables/CommandRunnable.java | 1824 | package com.craftmend.openaudiomc.spigot.modules.show.runnables;
import com.craftmend.openaudiomc.generic.redis.packets.ExecuteCommandPacket;
import com.craftmend.openaudiomc.spigot.OpenAudioMcSpigot;
import com.craftmend.openaudiomc.spigot.modules.show.interfaces.ShowRunnable;
import lombok.AllArgsConstructor;
import... | apache-2.0 |
apaprocki/bde | groups/bsl/bslalg/bslalg_bidirectionalnode.t.cpp | 23154 | // bslalg_bidirectionalnode.t.cpp -*-C++-*-
#include <bslalg_bidirectionalnode.h>
#include <bslalg_scalardestructionprimitives.h>
#include <bslalg_scalarprimitives.h>
#include <bslma_allocator.h>
#include <bslma_default.h>
#include <bslma_defaultallocatorguard.h>
#include <bslma_te... | apache-2.0 |
limoncello-php/framework | components/Passport/tests/Adaptors/PostgreSql/TokenRepositoryTest.php | 3377 | <?php declare(strict_types=1);
namespace Limoncello\Tests\Passport\Adaptors\PostgreSql;
/**
* Copyright 2015-2019 info@neomerx.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
*
*... | apache-2.0 |
kikov79/scalr | app/src/Scalr/Tests/Fixtures/Util/Api/TestMutator.php | 612 | <?php
namespace Scalr\Tests\Fixtures\Util\Api;
use Scalr\System\Config\Yaml;
use Scalr\Util\Api\SpecMutator;
/**
* Mutator Test
*
* @author N.V.
*/
class TestMutator extends SpecMutator
{
private $modifications;
public function __construct(array $modifications)
{
$this->modifications = $mod... | apache-2.0 |
zzcclp/carbondata | integration/spark/src/main/scala/org/apache/carbondata/events/AlterTableEvents.scala | 8003 | /*
* 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 |
11xor6/presto | lib/trino-memory-context/src/main/java/io/trino/memory/context/SimpleLocalMemoryContext.java | 3462 | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | apache-2.0 |
tgroh/incubator-beam | runners/core-construction-java/src/main/java/org/apache/beam/runners/core/construction/graph/FusedPipeline.java | 5050 | /*
* 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 |
DiamantiCom/kubernetes | pkg/apis/core/fuzzer/fuzzer.go | 16962 | /*
Copyright 2017 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 |
jmhodges/couchrest | lib/couchrest/monkeypatches.rb | 932 | # This file must be loaded after the JSON gem and any other library that beats up the Time class.
class Time
# This date format sorts lexicographically
# and is compatible with Javascript's <tt>new Date(time_string)</tt> constructor.
# Note this this format stores all dates in UTC so that collation
# order is ... | apache-2.0 |
camunda/camunda-consulting | snippets/rugby-teams-dmn/src/main/java/org/camunda/demo/dmnTest/RugbyRules/LoggerDelegate.java | 1037 | package org.camunda.demo.dmnTest.RugbyRules;
import java.util.logging.Logger;
import org.camunda.bpm.engine.delegate.DelegateExecution;
import org.camunda.bpm.engine.delegate.JavaDelegate;
/**
* This is an empty service implementation illustrating how to use a plain Java
* class as a BPMN 2.0 Service Task delegat... | apache-2.0 |
wuyuntao/Nostradamus | NotradamusUnity/Assets/Plugins/BulletUnity/BulletSharp/Dynamics/Featherstone/MultiBodySolverConstraint.cs | 18653 | using System;
using System.Runtime.InteropServices;
using System.Security;
using BulletSharp.Math;
namespace BulletSharp
{
public class MultiBodySolverConstraint : IDisposable
{
internal IntPtr _native;
protected MultiBody _multiBodyA;
protected MultiBody _multiBodyB;
internal MultiBodySolverCo... | apache-2.0 |
pfxuan/NuProcess | src/main/java/com/zaxxer/nuprocess/linux/ProcessEpoll.java | 9947 | /*
* Copyright (C) 2013 Brett Wooldridge
*
* 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 |
Ervii/garage-time | garage/src/python/pants/process/xargs.py | 1767 | # coding=utf-8
# Copyright 2014 Pants project contributors (see CONTRIBUTORS.md).
# Licensed under the Apache License, Version 2.0 (see LICENSE).
from __future__ import (nested_scopes, generators, division, absolute_import, with_statement,
print_function, unicode_literals)
import errno
import ... | apache-2.0 |
gencer/python-phonenumbers | python/phonenumbers/shortdata/region_CU.py | 581 | """Auto-generated file, do not edit by hand. CU metadata"""
from ..phonemetadata import NumberFormat, PhoneNumberDesc, PhoneMetadata
PHONE_METADATA_CU = PhoneMetadata(id='CU', country_code=None, international_prefix=None,
general_desc=PhoneNumberDesc(national_number_pattern='1\\d{2,5}', possible_length=(3, 6)),
... | apache-2.0 |
GeoinformationSystems/GeoprocessingAppstore | src/com/esri/gpt/catalog/schema/indexable/IndexableProperty.java | 17817 | /* See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* Esri 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
*
... | apache-2.0 |
dmage/origin | pkg/build/clientset/release_v3_6/typed/build/v1/fake/fake_build.go | 3103 | package fake
import (
v1 "github.com/openshift/origin/pkg/build/api/v1"
api "k8s.io/kubernetes/pkg/api"
unversioned "k8s.io/kubernetes/pkg/api/unversioned"
api_v1 "k8s.io/kubernetes/pkg/api/v1"
core "k8s.io/kubernetes/pkg/client/testing/core"
labels "k8s.io/kubernetes/pkg/labels"
watch "k8s.io/kubernetes/pkg/wa... | apache-2.0 |
kuujo/copycat | utils/src/main/java/io/atomix/utils/concurrent/NullThreadContext.java | 1248 | /*
* Copyright 2018-present Open Networking Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicabl... | apache-2.0 |
tomncooper/heron | heron/api/src/java/org/apache/heron/streamlet/impl/streamlets/LogStreamlet.java | 1792 | /**
* 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 |
kubeflow/pipelines | backend/src/apiserver/common/paths.go | 846 | // Copyright 2018 The Kubeflow 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... | apache-2.0 |
signalfx/metricproxy | vendor/github.com/uber/tchannel-go/calloptions.go | 3237 | // Copyright (c) 2015 Uber Technologies, Inc.
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, ... | apache-2.0 |
vivint-smarthome/scalyr-logback | src/test/java/com/scalyr/util/UtilTest.java | 2852 | package com.scalyr.util;
import com.scalyr.api.logs.EventAttributes;
import org.testng.annotations.AfterMethod;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
import static org.testng.Assert.assertEquals;
i... | apache-2.0 |
danielpalme/ReportGenerator | src/Testprojects/CSharp/Project/CoverageExcludeAttribute.cs | 221 | using System;
namespace Test
{
[CoverageExclude]
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Class)]
public class CoverageExcludeAttribute : Attribute
{
}
}
| apache-2.0 |
fuhongliang/2015weitonghui | Application/User/Model/ProductDiningtableModel.class.php | 805 | <?php
// .-----------------------------------------------------------------------------------
// |
// | WE TRY THE BEST WAY
// | Site: http://www.gooraye.net
// |-----------------------------------------------------------------------------------
// | Author: 贝贝 <hebiduhebi@163.com>
// | Copyright (c) 2012-2014,... | apache-2.0 |
greese/dasein-cloud-flexiant | src/main/java/org/dasein/cloud/flexiant/FCOConfigurationException.java | 1425 | /**
* Copyright (C) 2012-2013 Dell, Inc.
* See annotations for authorship information
*
* ====================================================================
* 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 co... | apache-2.0 |
androidx/constraintlayout | projects/MotionLayoutVerification/app/src/main/java/android/support/constraint/app/RotationAngular.java | 8699 | /*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | apache-2.0 |
chrz89/upb-son-editor-backend | src/son_editor/apis/nsfslookup.py | 2694 | '''
Created on 22.07.2016
@author: Jonas
'''
from flask.globals import session
from flask_restplus import Namespace, Model, fields
from flask_restplus import Resource
from son_editor.impl import nsfslookupimpl
from son_editor.util.constants import WORKSPACES, PROJECTS, NSFS, SERVICES, VNFS
from son_editor.util.reques... | apache-2.0 |
devdattakulkarni/Cassandra-KVAC | src/java/org/apache/cassandra/gms/VersionedValue.java | 6616 | /**
* 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 |
asanka88/apache-synapse | modules/commons/src/main/java/org/apache/synapse/commons/evaluators/config/EqualSerializer.java | 2022 | /*
* 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")... | apache-2.0 |
jendap/usergrid-stack | core/src/main/java/org/usergrid/persistence/schema/CollectionInfo.java | 6897 | /*******************************************************************************
* Copyright 2012 Apigee 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-2.0 |
mhlx/blog5 | src/main/java/me/qyh/blog/template/render/thymeleaf/ThymeleafRenderExecutor.java | 9148 | /*
* Copyright 2016 qyh.me
*
* 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 |
gameduell/kythe | cxx/indexer/cxx/testdata/template/template_var_ps_completes.cc | 270 | // Checks completion edges for variable template partial specializations.
template <typename T, typename S> extern T z;
//- @z defines VarZPsAbsDecl
template <typename U> extern int z<int, U>;
//- @z completes/uniquely VarZPsAbsDecl
template <typename U> int z<int, U>;
| apache-2.0 |
CaptainHayashi/roslyn | concepts/code/CsTypeClasses/Eq.cs | 4340 | using System;
namespace Eq
{
/*
We represent Haskell type classes as Generic interfaces.
class Eq a where
(==) :: a -> a -> Bool
*/
interface Eq<A>
{
bool Equals(A a, A b);
}
/*
The Haskell declaration of class Eq implicitly declares the overloaded operations induc... | apache-2.0 |
applift/vitess | go/sqltypes/proto3_test.go | 6972 | /*
Copyright 2017 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
dis... | apache-2.0 |
lxsmnv/spark | python/pyspark/ml/regression.py | 66013 | #
# 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 not us... | apache-2.0 |
johnzeringue/ET_Redux | src/main/java/org/earthtime/UPb_Redux/initialPbModels/InitialPbModelI.java | 1986 | /*
* InitialPbModelI.java
*
* Created on August 5, 2007, 10:26 AM
*
*
* Copyright 2006-2015 James F. Bowring and www.Earth-Time.org
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License a... | apache-2.0 |
sshcherbakov/incubator-geode | gemfire-core/src/main/java/com/gemstone/gemfire/cache/operations/ExecuteCQOperationContext.java | 2185 | /*
* 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 |
arborworkflows/Visomics | ThirdParty/CTK/ctkErrorLogStreamMessageHandler.cpp | 6532 | /*=========================================================================
Library: CTK
Copyright (c) Kitware 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.ap... | apache-2.0 |
shantanusharma/closure-compiler | test/com/google/javascript/jscomp/JsMessageTest.java | 2119 | /*
* Copyright 2009 The Closure Compiler 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... | apache-2.0 |
yao-matrix/mProto | auditory/package/voicelock/java/src/com/intel/awareness/voicelock/VoiceLockService.java | 15102 | package com.intel.awareness.voicelock;
import java.nio.ByteBuffer;
import android.app.Service;
import android.content.Context;
import android.content.Intent;
import android.media.AudioFormat;
import android.media.AudioRecord;
import android.media.MediaRecorder;
import android.os.Handler;
import android.os.Handler.Cal... | apache-2.0 |
apache/avro | lang/java/tools/src/main/java/org/apache/avro/tool/ToTextTool.java | 2914 | /*
* 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 |
AubinMahe/AubinMahe.github.io | doxygen-cpp/html/search/functions_13.js | 1887 | var searchData=
[
['_7earguments',['~Arguments',['../db/df5/classdcrud_1_1_arguments.html#a9a08f8f7637c56dac7715c06a8470a1f',1,'dcrud::Arguments']]],
['_7ebytebuffer',['~ByteBuffer',['../dd/dd8/classio_1_1_byte_buffer.html#ade55e28be5925cb8c20dbc9a9857b712',1,'io::ByteBuffer']]],
['_7eicache',['~ICache',['../d8/d... | apache-2.0 |
miniway/presto | presto-main/src/main/java/io/prestosql/sql/planner/optimizations/LimitPushDown.java | 9344 | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | apache-2.0 |
bshaffer/google-api-php-client-services | src/Google/Service/Sheets/EmbeddedChart.php | 2059 | <?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | apache-2.0 |
ChosenGlobal/bbs | src/main/java/cn/jfinalbbs/index/IndexClientController.java | 617 | package cn.jfinalbbs.index;
import cn.jfinalbbs.common.BaseController;
import cn.jfinalbbs.topic.Topic;
import com.jfinal.kit.PropKit;
import com.jfinal.plugin.activerecord.Page;
/**
* Created by Tomoya on 15/6/9.
*/
public class IndexClientController extends BaseController {
public void index() {
Stri... | apache-2.0 |
omribahumi/redshift_console | redshift_console/redshift.py | 12883 | from itertools import chain
import psycopg2
import datetime
import logging
import yaml
import os
import toro
import settings
import re
from tornado.ioloop import IOLoop, PeriodicCallback
from tornado.gen import coroutine, Return
from tornado.concurrent import run_on_executor
from concurrent.futures import ThreadPoolExe... | apache-2.0 |
Terminator-Aaron/Katana | aspnetwebsrc/System.Web.Http.WebHost/SeekableBufferedRequestStream.cs | 5549 | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
using System.ComponentModel;
using System.Diagnostics;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
namespace System.Web.Http.WebHost
{
internal class See... | apache-2.0 |
ernestp/consulo | platform/graph-impl/src/com/mxgraph/view/mxSwimlaneManager.java | 8595 | /**
* $Id: mxSwimlaneManager.java,v 1.2 2013/08/29 09:19:41 gaudenz Exp $
* Copyright (c) 2007, Gaudenz Alder
*/
package com.mxgraph.view;
import com.mxgraph.model.mxGeometry;
import com.mxgraph.model.mxIGraphModel;
import com.mxgraph.util.*;
import java.util.Map;
/**
* Manager for swimlanes and nested swimlanes... | apache-2.0 |
Saw85/DibikeManagement | src/com/Dibike/controller/PushController.java | 8097 | package com.Dibike.controller;
import java.io.IOException;
import java.math.BigDecimal;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import javax.annotation.Resource;
import org.apache.log4j.Logger;
import org.springframework.stereotype.Controller;
import org.springframe... | apache-2.0 |
masonmei/apm-agent | thrift/src/main/java/com/baidu/oped/apm/thrift/io/TBaseLocator.java | 1130 | /*
* Copyright 2014 NAVER Corp.
*
* 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 |
giggsey/libphonenumber-for-php | src/carrier/data/en/253.php | 425 | <?php
/**
* This file has been @generated by a phing task by {@link GeneratePhonePrefixData}.
* See [README.md](README.md#generating-data) for more information.
*
* Pull requests changing data in these files will not be accepted. See the
* [FAQ in the README](README.md#problems-with-invalid-numbers] on how to make... | apache-2.0 |
CraigHarris/gpdb | src/test/tinc/tincrepo/mpp/gpdb/tests/package/procedural_language/pljava/test_pljava.py | 2461 | #!/usr/bin/env python
"""
Copyright (C) 2004-2015 Pivotal Software, Inc. All rights reserved.
This program and the accompanying materials are made available under
the terms of the 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 co... | apache-2.0 |
TremoloSecurity/MyVirtualDirectory | server/src/main/java/net/sourceforge/myvd/types/Bool.java | 846 | /*
* Copyright 2008 Marc Boorshtein
*
* 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 |
mikebrow/containerd | pkg/process/init.go | 12025 | //go:build !windows
// +build !windows
/*
Copyright The containerd 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... | apache-2.0 |
apache/sis | core/sis-referencing/src/main/java/org/apache/sis/internal/referencing/provider/Geographic3Dto2D.java | 7953 | /*
* 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 |
alibaba/fastjson | src/test/java/com/alibaba/json/bvt/parser/DefaultExtJSONParserTest_4.java | 3392 | package com.alibaba.json.bvt.parser;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.fastjson.JSONObject;
import com.alibaba.fastjson.parser.DefaultJSONParser;
import com.alibaba.fastjson.parser.Defaul... | apache-2.0 |
Dominator008/buck | test/com/facebook/buck/cli/BuildCommandTest.java | 5971 | /*
* Copyright 2014-present Facebook, 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... | apache-2.0 |
whumph/sakai | lessonbuilder/tool/src/java/org/sakaiproject/lessonbuildertool/service/BltiEntity.java | 19054 | /**********************************************************************************
* $URL: $
* $Id: $
***********************************************************************************
*
* Author: Charles Hedrick, hedrick@rutgers.edu
*
* Copyright (c) 2010 Rutgers, the State University of New Jersey
*
* Lice... | apache-2.0 |
joachimhs/Montric | Montric.Api/src/main/java/org/eurekaj/api/util/ListToString.java | 3284 | package org.eurekaj.api.util;
import java.util.ArrayList;
import java.util.List;
public class ListToString {
public static String convertFromArray(Object[] array, String delimeter) {
if (array.length == 0) {
return "";
}
StringBuffer sb = new StringBuffer();
sb.append... | apache-2.0 |
grundprinzip/Impala | thirdparty/hive-0.13.1-cdh5.4.0-SNAPSHOT/src/metastore/src/test/org/apache/hadoop/hive/metastore/txn/TestCompactionTxnHandler.java | 16638 | /**
* 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 |
Photobucket/Solbase-Lucene | src/test/org/apache/lucene/search/spans/TestBasics.java | 16139 | package org.apache.lucene.search.spans;
/**
* 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... | apache-2.0 |
ened/ExoPlayer | library/smoothstreaming/src/main/java/com/google/android/exoplayer2/source/smoothstreaming/SsMediaPeriod.java | 10634 | /*
* Copyright (C) 2016 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | apache-2.0 |
8u1a/plaso | plaso/parsers/winreg_plugins/userassist.py | 7898 | # -*- coding: utf-8 -*-
"""This file contains the UserAssist Windows Registry plugin."""
import logging
import construct
from plaso.events import windows_events
from plaso.parsers import winreg
from plaso.parsers.winreg_plugins import interface
from plaso.winnt import environ_expand
from plaso.winnt import known_fol... | apache-2.0 |
mattbertolini/liquibase | liquibase-core/src/main/java/liquibase/dbdoc/ChangeLogWriter.java | 1497 | package liquibase.dbdoc;
import liquibase.GlobalConfiguration;
import liquibase.resource.ResourceAccessor;
import liquibase.util.StreamUtil;
import java.io.*;
public class ChangeLogWriter {
protected File outputDir;
private ResourceAccessor resourceAccessor;
public ChangeLogWriter(ResourceAccessor r... | apache-2.0 |
palantir/giraffe | core/src/main/java/com/palantir/giraffe/command/ExecutionSystemNotFoundException.java | 1046 | /**
* Copyright 2015 Palantir Technologies, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | apache-2.0 |
cftorres/runtimes-common | iDiff/differs/pipDiff_test.go | 2284 | package differs
import (
"reflect"
"testing"
"github.com/GoogleCloudPlatform/runtimes-common/iDiff/utils"
)
func TestGetPythonVersion(t *testing.T) {
testCases := []struct {
layerPath string
expectedVersion string
expectedSuccess bool
}{
{
layerPath: "testDirs/pipTests/pythonVersionTests/... | apache-2.0 |
sverkera/camel | camel-core/src/test/java/org/apache/camel/runtimecatalog/RuntimeCamelCatalogTest.java | 15932 | /**
* 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 |
barnyard/p2p-app | src/main/java/com/bt/pi/app/common/net/SubnetAllocationResult.java | 920 | package com.bt.pi.app.common.net;
import org.apache.commons.lang.builder.ToStringBuilder;
public class SubnetAllocationResult {
private long subnetBaseAddress;
private long subnetMask;
private String dnsAddress;
public SubnetAllocationResult(long aSubnetBaseAddress, long aSubnetMask, String aDnsAddre... | apache-2.0 |
eurosecom/projekt1 | faktury/nacitajsluzbycsv.php | 3833 | <HTML>
<?php
// celkovy zaciatok dokumentu
do
{
$sys = 'FAK';
$urov = 2000;
$clsm = 820;
$cslm=404200;
$uziv = include("../uziv.php");
if( !$uziv ) exit;
// cislo operacie
$copern = 1*$_REQUEST['copern'];
$drupoh = 1*$_REQUEST['drupoh'];
$cislo_dok = 1*$_REQUEST['cislo_dok'];
$odeslano = 1*$_REQUEST['od... | apache-2.0 |
jcfr/Midas | modules/ldap/models/AppModel.php | 984 | <?php
/*=========================================================================
Midas Server
Copyright Kitware SAS, 26 rue Louis Guérin, 69100 Villeurbanne, France.
All rights reserved.
For more information visit http://www.kitware.com/.
Licensed under the Apache License, Version 2.0 (the "License");
you may n... | apache-2.0 |
punkhorn/camel-upstream | components/camel-sql/src/main/java/org/apache/camel/component/sql/SqlConsumer.java | 16018 | /**
* 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 |
FieldDB/fielddb-spreadsheet-sikuli | select-corpus.sikuli/select-corpus.py | 239 | find("1416542452932.png")
click("1416542464884.png")
type("jenkins\tphoneme\n")
wait("1416543208055.png")
click("1416543208055.png")
wait("1416543251929.png")
wait("1416542595201.png")
click("1416542595201.png")
wait("1416542452932.png")
| apache-2.0 |
chrisdunelm/google-cloud-dotnet | apis/Google.Cloud.EntityFrameworkCore.Spanner/Google.Cloud.EntityFrameworkCore.Spanner/Infrastructure/Internal/SpannerOptionsExtension.cs | 1711 | // Copyright 2017 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 applica... | apache-2.0 |
google/binnavi | src/main/java/com/google/security/zynamics/binnavi/API/disassembly/ViewListenerAdapter.java | 2111 | // Copyright 2011-2016 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 ... | apache-2.0 |
csharpfritz/NuGet.VisualStudioExtension | src/PackageManagement.PowerShellCmdlets/Cmdlets/GetProjectCommand.cs | 2360 | using EnvDTE;
using NuGet.ProjectManagement;
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Management.Automation;
namespace NuGet.PackageManagement.PowerShellCmdlets
{
/// <summary>
/// This cmdlet returns the list of project names in th... | apache-2.0 |
cloudnautique/cloud-cattle | code/framework/eventing/src/main/java/io/cattle/platform/eventing/memory/InMemoryEventService.java | 1623 | package io.cattle.platform.eventing.memory;
import io.cattle.platform.eventing.EventListener;
import io.cattle.platform.eventing.impl.AbstractThreadPoolingEventService;
import io.cattle.platform.eventing.model.Event;
import java.io.IOException;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerF... | apache-2.0 |
flofreud/aws-sdk-java | aws-java-sdk-workspaces/src/main/java/com/amazonaws/services/workspaces/model/transform/ComputeTypeJsonMarshaller.java | 2158 | /*
* 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 "l... | apache-2.0 |
apache/zest-qi4j | core/runtime/src/test/java/org/apache/polygene/runtime/mixin/PrivateMixinTest.java | 3076 | /*
* 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")... | apache-2.0 |
apache/portals-pluto | portlet-tck_3.0/V2WrapperTests/src/main/java/javax/portlet/tck/portlets/WrapperTests_ActionRequestWrapper_ApiAction.java | 14705 | /* 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 |
alexkuk/elasticsearch | core/src/main/java/org/elasticsearch/gateway/GatewayAllocator.java | 30497 | /*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | apache-2.0 |
RodrigoSilv4/web | web%200.2/paginas/ranking1.php | 7244 | <?php
include 'rodrigosilvaconfig.php';
?>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, maximum-scale=1">
<title><?=$title?></title>
<link rel="icon" href="../PBSuicida/favicon.png" type="image/png">
<link rel="shortcut icon" href="#" type="img/x-... | apache-2.0 |
apache/portals-pluto | portlet-tck_3.0/V3PortletHubTests/src/main/webapp/javascript/PortletHubTests_SPEC_23_JSListener.js | 10391 | /* 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 |
enovance/infra-virt | tests/test_dumpelastic.py | 1561 | # -*- coding: utf-8 -*-
#
# Copyright 2015 eNovance SAS <licensing@enovance.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... | apache-2.0 |
kapilt/cloud-custodian | tools/c7n_azure/tests_azure/test_dependency_manager.py | 4279 | # Copyright 2015-2018 Capital One Services, 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... | apache-2.0 |
copasi/COPASI | copasi/sbml/unittests/test000002.hpp | 1151 | // Copyright (C) 2017 by Pedro Mendes, Virginia Tech Intellectual
// Properties, Inc., University of Heidelberg, and University of
// of Connecticut School of Medicine.
// All rights reserved.
// Copyright (C) 2010 - 2016 by Pedro Mendes, Virginia Tech Intellectual
// Properties, Inc., University of Heidelberg, and Th... | artistic-2.0 |
brunolauze/pegasus-providers | UNIXProviders/iSCSICapabilities/UNIX_iSCSICapabilitiesMain.cpp | 2204 | //%LICENSE////////////////////////////////////////////////////////////////
//
// Licensed to The Open Group (TOG) under one or more contributor license
// agreements. Refer to the OpenPegasusNOTICE.txt file distributed with
// this work for additional information regarding copyright ownership.
// Each contributor lice... | bsd-2-clause |
CI-WATER/tethys | tests/unit_tests/test_tethys_compute/test_models/test_CondorWorkflow.py | 8793 | from tethys_sdk.testing import TethysTestCase
from tethys_compute.models.condor.condor_scheduler import CondorScheduler
from tethys_compute.models.condor.condor_py_workflow import CondorPyWorkflow
from tethys_compute.models.condor.condor_workflow_job_node import CondorWorkflowJobNode
from tethys_compute.models.condor.c... | bsd-2-clause |
pcastanha/frame | src/softframe/classification/utils.py | 2236 | import os
import codecs
import requests, json
from os import walk
from sklearn.datasets import load_svmlight_file
import pickle
from text_unidecode import unidecode
def TextToDep(text):
dados = {"doc": text }
jsonArray = json.dumps(dados)
response = requests.post("http://172.23.227.172:4567/parse", data=j... | bsd-2-clause |
eHealthAfrica/onadata | onadata/apps/api/tests/models/test_organization_profile.py | 1060 | from onadata.apps.main.tests.test_base import TestBase
from onadata.apps.api import tools
from onadata.apps.api.models.organization_profile import OrganizationProfile
from onadata.apps.api.models.team import Team
class TestOrganizationProfile(TestBase):
def test_create_organization_creates_team_and_perms(self):
... | bsd-2-clause |
yuany/ghostdriver | test/java/src/test/java/ghostdriver/server/CallbackServlet.java | 2116 | /*
This file is part of the GhostDriver by Ivan De Marino <http://ivandemarino.me>.
Copyright (c) 2012, Ivan De Marino <http://ivandemarino.me>
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Red... | bsd-2-clause |
makinacorpus/Geotrek | geotrek/maintenance/migrations/0009_auto_20200211_1011.py | 14867 | # -*- coding: utf-8 -*-
# Generated by Django 1.11.27 on 2020-02-11 10:11
from __future__ import unicode_literals
import datetime
from django.db import migrations, models
import django.db.models.deletion
import geotrek.authent.models
class Migration(migrations.Migration):
dependencies = [
('maintenance'... | bsd-2-clause |