repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
MrNuggles/HeyBoet-Telegram-Bot | temboo/Library/Fitbit/Social/GetBadges.py | 4313 | # -*- coding: utf-8 -*-
###############################################################################
#
# GetBadges
# Gets a user's badges.
#
# Python versions 2.6, 2.7, 3.x
#
# Copyright 2014, Temboo Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compl... | gpl-3.0 |
MartyParty21/AwakenDreamsClient | mcp/src/minecraft/net/minecraft/util/MouseHelper.java | 837 | package net.minecraft.util;
import org.lwjgl.input.Mouse;
import org.lwjgl.opengl.Display;
public class MouseHelper
{
/** Mouse delta X this frame */
public int deltaX;
/** Mouse delta Y this frame */
public int deltaY;
/**
* Grabs the mouse cursor it doesn't move and isn't seen.
*/
... | gpl-3.0 |
kingland/consul | logging/log_levels.go | 703 | package logging
import (
"strings"
"github.com/hashicorp/go-hclog"
)
var (
allowedLogLevels = []string{"TRACE", "DEBUG", "INFO", "WARN", "ERR", "ERROR"}
)
func AllowedLogLevels() []string {
var c []string
copy(c, allowedLogLevels)
return c
}
// ValidateLogLevel verifies that a new log level is valid
func Val... | mpl-2.0 |
ricardclau/packer | vendor/github.com/google/go-github/v33/github/orgs_members.go | 13027 | // Copyright 2013 The go-github AUTHORS. All rights reserved.
//
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package github
import (
"context"
"fmt"
)
// Membership represents the status of a user's membership in an organization or team.
type Membership s... | mpl-2.0 |
dchapyshev/remote-desktop | source/third_party/libwebm/mkvmuxer/mkvmuxerutil.cc | 18572 | // Copyright (c) 2012 The WebM project authors. All Rights Reserved.
//
// Use of this source code is governed by a BSD-style license
// that can be found in the LICENSE file in the root of the source
// tree. An additional intellectual property rights grant can be found
// in the file PATENTS. All contributing projec... | mpl-2.0 |
alesstimec/juju | apiserver/hostkeyreporter/shim.go | 509 | // Copyright 2016 Canonical Ltd.
// Licensed under the LGPLv3, see LICENCE file for details.
package hostkeyreporter
import (
"github.com/juju/errors"
"github.com/juju/juju/apiserver/facade"
"github.com/juju/juju/state"
)
// newFacade wraps New to express the supplied *state.State as a Backend.
func newFacade(st... | agpl-3.0 |
geothomasp/kcmit | coeus-impl/src/main/java/org/kuali/kra/award/home/ContactUsage.java | 2607 | /*
* Kuali Coeus, a comprehensive research administration system for higher education.
*
* Copyright 2005-2015 Kuali, Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, eithe... | agpl-3.0 |
artsmorgan/crmtecnosagot | app/protected/modules/users/tests/unit/UserTest.php | 73940 | <?php
/*********************************************************************************
* Zurmo is a customer relationship management program developed by
* Zurmo, Inc. Copyright (C) 2015 Zurmo Inc.
*
* Zurmo is free software; you can redistribute it and/or modify it under
* the terms of t... | agpl-3.0 |
rashikpolus/MIT_KC | coeus-impl/src/main/java/org/kuali/kra/iacuc/committee/service/IacucCommitteeBatchCorrespondenceService.java | 1058 | /*
* Kuali Coeus, a comprehensive research administration system for higher education.
*
* Copyright 2005-2015 Kuali, Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, eithe... | agpl-3.0 |
cswhite2000/ProjectAres | Util/core/src/main/java/tc/oc/time/PeriodConverters.java | 2359 | package tc.oc.time;
import java.time.temporal.ChronoUnit;
import java.time.temporal.TemporalUnit;
import java.util.Arrays;
import java.util.Collection;
import tc.oc.commons.core.util.TimeUtils;
public final class PeriodConverters {
private static final PeriodConverter LARGEST_PRECISE_UNIT = largestPreciseUnit(C... | agpl-3.0 |
systems-rebooter/music | l10n/lv.php | 289 | <?php
$TRANSLATIONS = array(
"Description" => "Apraksts",
"Music" => "Mūzika",
"Next" => "Nākamā",
"Pause" => "Pauzēt",
"Play" => "Atskaņot",
"Previous" => "Iepriekšējā",
"Repeat" => "Atkārtot"
);
$PLURAL_FORMS = "nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);";
| agpl-3.0 |
sbriseid/GoTools | parametrization/src/PrPrmSurface.C | 7807 | /*
* Copyright (C) 1998, 2000-2007, 2010, 2011, 2012, 2013 SINTEF ICT,
* Applied Mathematics, Norway.
*
* Contact information: E-mail: tor.dokken@sintef.no
* SINTEF ICT, Department of Applied Mathematics,
* P.O. Box 124 Blindern, ... | agpl-3.0 |
studio666/gnu-social | lib/imagefile.php | 26441 | <?php
/**
* StatusNet, the distributed open-source microblogging tool
*
* Abstraction for an image file
*
* PHP version 5
*
* LICENCE: This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundatio... | agpl-3.0 |
HotChalk/canvas-lms | gems/canvas_i18nliner/js/generate_js.js | 1211 | var I18nliner = require("i18nliner");
var Commands = I18nliner.Commands;
var Check = Commands.Check;
var mkdirp = require("mkdirp");
var fs = require("fs");
/*
* GenerateJs determines what needs to go into each i18n js bundle (one
* per "i18n!scope"), based on the I18n.t calls in the code
*
* outputs a json file c... | agpl-3.0 |
Aca-jov/superdesk-client-core | scripts/apps/search/directives/index.js | 821 | export {ItemList} from './ItemList';
export {SearchPanel} from './SearchPanel';
export {SearchTags} from './SearchTags';
export {SearchResults} from './SearchResults';
export {SearchContainer} from './SearchContainer';
export {SearchParameters} from './SearchParameters';
export {SaveSearch} from './SaveSearch';
export ... | agpl-3.0 |
venturehive/canvas-lms | app/models/quizzes/quiz_user_finder.rb | 1911 | #
# Copyright (C) 2014 - present Instructure, Inc.
#
# This file is part of Canvas.
#
# Canvas is free software: you can redistribute it and/or modify it under
# the terms of the GNU Affero General Public License as published by the Free
# Software Foundation, version 3 of the License.
#
# Canvas is distributed in the ... | agpl-3.0 |
subutai/nupic.core | src/nupic/math/Convolution.hpp | 3680 | /* ---------------------------------------------------------------------
* Numenta Platform for Intelligent Computing (NuPIC)
* Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
* with Numenta, Inc., for a separate license for this software code, the
* following terms and conditions apply:
*
* This ... | agpl-3.0 |
mrcarlberg/cappuccino | Objective-J/Bootstrap.js | 5807 | /*
* Bootstrap.js
* Objective-J
*
* Created by Francisco Tolmasky.
* Copyright 2010, 280 North, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of th... | lgpl-2.1 |
zebrafishmine/intermine | intermine/web/main/src/org/intermine/webservice/server/output/JSONResultsIterator.java | 18465 | package org.intermine.webservice.server.output;
/*
* Copyright (C) 2002-2016 FlyMine
*
* This code may be freely distributed and modified under the
* terms of the GNU Lesser General Public Licence. This should
* be distributed with the code. See the LICENSE file for more
* information or http://www.gnu.org/cop... | lgpl-2.1 |
sunblithe/qt-everywhere-opensource-src-4.7.1 | src/3rdparty/webkit/WebCore/generated/JSConsole.cpp | 14822 | /*
This file is part of the WebKit open source project.
This file has been generated by generate-bindings.pl. DO NOT MODIFY!
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation... | lgpl-2.1 |
halfspiral/tuxguitar | TuxGuitar/src/org/herac/tuxguitar/app/view/dialog/documentation/TGDocumentationDialogController.java | 369 | package org.herac.tuxguitar.app.view.dialog.documentation;
import org.herac.tuxguitar.app.view.controller.TGOpenViewController;
import org.herac.tuxguitar.app.view.controller.TGViewContext;
public class TGDocumentationDialogController implements TGOpenViewController {
public void openView(TGViewContext context) {
... | lgpl-2.1 |
liuwenf/moose | test/src/kernels/Advection0.C | 2054 | /****************************************************************/
/* DO NOT MODIFY THIS HEADER */
/* MOOSE - Multiphysics Object Oriented Simulation Environment */
/* */
/* (c) 2010 Battelle Energy Alliance, LLC ... | lgpl-2.1 |
wildfly/wildfly | security/subsystem/src/main/java/org/jboss/as/security/SecuritySubsystemParser_2_0.java | 9559 | /*
* Copyright 2016 Red Hat, 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 ... | lgpl-2.1 |
ftahmed/LIA_RAL | LIA_SpkTools/src/AccumulateStat.cpp | 21093 | /*
This file is part of LIA_RAL which is a set of software based on ALIZE
toolkit for speaker recognition. ALIZE toolkit is required to use LIA_RAL.
LIA_RAL project is a development project was initiated by the computer
science laboratory of Avignon / France (Laboratoire Informatique d'Avignon -
LIA) [http://lia.univ-a... | lgpl-3.0 |
Hemofektik/Druckwelle | 3rdparty/GDAL/include/xercesc/util/XMLRegisterCleanup.hpp | 3088 | /*
* 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 ... | unlicense |
diegopacheco/scala-playground | caliban-graphql-fun/src/main/resources/gateway/node_modules/@apollo/protobufjs/index.js | 85 | // full library entry point.
"use strict";
module.exports = require("./src/index");
| unlicense |
nyuszika7h/youtube-dl | youtube_dl/extractor/nytimes.py | 8904 | # coding: utf-8
from __future__ import unicode_literals
import hmac
import hashlib
import base64
from .common import InfoExtractor
from ..utils import (
determine_ext,
float_or_none,
int_or_none,
js_to_json,
mimetype2ext,
parse_iso8601,
remove_start,
)
class NYTimesBaseIE(InfoExtractor):... | unlicense |
szegedim/hadoop | hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/api/pb/PlacementConstraintToProtoConverter.java | 6758 | /**
* 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 |
xq262144/hue | apps/pig/src/pig/static/pig/js/pig.ko.js | 20273 | // Licensed to Cloudera, Inc. under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. Cloudera, Inc. licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use t... | apache-2.0 |
abhishek24509/aribaweb | src/widgets/ariba/ui/outline/BindingNames.java | 1706 | /*
Copyright 1996-2008 Ariba, 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... | apache-2.0 |
dsdinter/oryx | framework/oryx-lambda-serving/src/main/java/com/cloudera/oryx/lambda/serving/CSVMessageBodyWriter.java | 2914 | /*
* Copyright (c) 2014, Cloudera, Inc. All Rights Reserved.
*
* Cloudera, 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/licenses/LICE... | apache-2.0 |
nizhikov/ignite | modules/core/src/test/java/org/apache/ignite/internal/processors/metastorage/DistributedMetaStorageTest.java | 15460 | /*
* 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 |
apache/incubator-htrace | htrace-core4/src/test/java/org/apache/htrace/core/TestHTrace.java | 5265 | /*
* 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 |
GBGamer/rust | src/test/run-pass/issues/issue-21361.rs | 752 | // Copyright 2014 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | apache-2.0 |
toxeh/presto | presto-main/src/main/java/com/facebook/presto/execution/SqlQueryExecution.java | 20921 | /*
* 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 |
Esri/geoportal-server | components/desktop/WMCOpener/branches/10.6.1/src/WMCDocument.cs | 11744 | /* 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 |
ebyhr/presto | core/trino-main/src/test/java/io/trino/operator/scalar/TestArrayFilterFunction.java | 4913 | /*
* 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 |
stiez/evelib | EveLib.EveCrest/Models/Resources/KillmailCollection.cs | 1169 | // ***********************************************************************
// Assembly : EveLib.EveCrest
// Author : Lars Kristian
// Created : 12-16-2014
//
// Last Modified By : Lars Kristian
// Last Modified On : 12-17-2014
// **************************************************************... | apache-2.0 |
Maccimo/intellij-community | java/java-impl/src/com/intellij/codeInspection/deadCode/UnusedParametersInspection.java | 10280 | // Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.codeInspection.deadCode;
import com.intellij.analysis.AnalysisScope;
import com.intellij.codeInsight.FileModificationService;
import com.i... | apache-2.0 |
hmcl/storm-apache | storm-client/src/jvm/org/apache/storm/streams/tuple/Tuple7.java | 3970 | /**
* 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 ... | apache-2.0 |
abhishek24509/aribaweb | src/expr/ariba/util/expr/ASTKeyValue.java | 2655 | //--------------------------------------------------------------------------
// Copyright (c) 1998-2004, Drew Davidson and Luke Blanshard
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
... | apache-2.0 |
flofreud/aws-sdk-java | aws-java-sdk-swf-libraries/src/main/java/com/amazonaws/services/simpleworkflow/flow/spring/WorkflowScopeBeanNames.java | 1589 | /*
* Copyright 2012-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 |
drewlyall/dasein-cloud-core | src/main/java/org/dasein/cloud/identity/CloudUser.java | 3063 | /**
* Copyright (C) 2009-2015 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 |
denzelsN/pinpoint | collector/src/main/java/com/navercorp/pinpoint/collector/util/AddressParser.java | 1216 | /*
* Copyright 2018 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 in w... | apache-2.0 |
ron8hu/spark | sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveExternalCatalog.scala | 60785 | /*
* 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 |
mengxn/tensorflow | tensorflow/contrib/image/__init__.py | 1497 | # Copyright 2016 The TensorFlow Authors. 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 |
mono/roslyn | src/VisualStudio/CSharp/Test/Debugging/DataTipInfoGetterTests.cs | 11574 | // 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 System.Linq;
using System.Threading;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Editor.UnitTests.Workspaces;
using Microso... | apache-2.0 |
ebyhr/presto | core/trino-main/src/main/java/io/trino/execution/scheduler/NodeSchedulerExporter.java | 2134 | /*
* 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 |
cloudfoundry-incubator/cf-networking-release | src/code.cloudfoundry.org/vendor/github.com/pivotal-cf-experimental/rainmaker/internal/network/transport.go | 993 | package network
import (
"crypto/tls"
"net"
"net/http"
"time"
)
/*
The purpose of the transports defined herein is to stop a program that
consumes this package from using up all of the file descriptors provided
by the operating system. The implementation here ensures that the HTTP
client for this library will con... | apache-2.0 |
11xor6/presto | core/trino-main/src/main/java/io/trino/sql/planner/PlanFragment.java | 10934 | /*
* 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 |
huonw/swift | tools/SourceKit/tools/complete-test/complete-test.cpp | 28790 | //===--- complete-test.cpp ------------------------------------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... | apache-2.0 |
Java8-CNAPI-Team/Java8CN | org/omg/CORBA/PrincipalHolder.java | 2591 | /*
* Copyright (c) 1996, 2004, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package org.omg.CORBA;
import org.omg.CORBA.portable.Streamable;
import org.omg.CORBA.portable.InputSt... | apache-2.0 |
Addepar/buck | src/com/facebook/buck/worker/WorkerJobResult.java | 1048 | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | apache-2.0 |
saurav4342/Hygieia-Devops-Dashboard | collectors/scm/bitbucket/src/main/java/com/capitalone/dashboard/model/GitRepo.java | 2841 | package com.capitalone.dashboard.model;
import java.util.Date;
/**
* CollectorItem extension to store the git repo url and branch.
*/
public class GitRepo extends CollectorItem {
private static final String REPO_URL = "url"; // http://git.company.com/jack/somejavacode
private static final String BRANCH = ... | apache-2.0 |
leafclick/intellij-community | java/debugger/impl/src/com/intellij/debugger/memory/action/ShowInstancesAction.java | 1425 | /*
* Copyright 2000-2016 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | apache-2.0 |
shankarh/geode | geode-core/src/main/java/org/apache/geode/redis/internal/ExecutionHandlerContext.java | 13360 | /*
* 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 ... | apache-2.0 |
afabris86/mykuapp | inst/www/bower_components/opencpu/opencpu-0.4.js | 12341 | /**
* Javascript client library for OpenCPU
* Version 0.4.4
* Depends: jQuery
* Requires HTML5 FormData support for file uploads
* http://github.com/jeroenooms/opencpu.js
*
* Include this file in your apps and packages.
* You only need to use ocpu.seturl if this page is hosted outside of the OpenCPU package. ... | apache-2.0 |
madjam/mxnet | python/mxnet/gluon/data/dataset.py | 2933 | # 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 u... | apache-2.0 |
juvchan/azure-sdk-for-net | src/ResourceManagement/SiteRecovery/SiteRecovery.Tests/ScenarioTests/FailoverTests.cs | 11780 | //
// Copyright (c) Microsoft. 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 la... | apache-2.0 |
projectcypress/health-data-standards | test/unit/import/cda/section_importer_test.rb | 1705 | require 'test_helper'
class SectionImporterTest < Minitest::Test
def setup
@si = HealthDataStandards::Import::CDA::SectionImporter.new(HealthDataStandards::Import::CDA::EntryFinder.new('/cda:simple/cda:entry'))
@si.status_xpath = './cda:status'
@doc = Nokogiri::XML(File.new('test/fixtures/section_importe... | apache-2.0 |
jpodeszwik/mifos | serviceInterfaces/src/main/java/org/mifos/application/admin/servicefacade/RolesPermissionServiceFacade.java | 2687 | /*
* Copyright (c) 2005-2011 Grameen Foundation USA
* 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
*
* Unl... | apache-2.0 |
vesense/incubator-rocketmq | example/src/main/java/org/apache/rocketmq/example/openmessaging/SimplePullConsumer.java | 2351 | /*
* 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 |
brettsam/azure-mobile-apps-net-server | test/Microsoft.Azure.Mobile.Server.Authentication.Test/Properties/AssemblyInfo.cs | 367 | // ----------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// ----------------------------------------------------------------------------
using System.Reflection;
[assembly: AssemblyTitle("Microsoft.Azure.Mobile.Server.Authenticatio... | apache-2.0 |
tekul/spring-security | web/src/test/java/org/springframework/security/web/authentication/session/RegisterSessionAuthenticationStrategyTests.java | 2333 | /*
* Copyright 2002-2013 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 ap... | apache-2.0 |
ol-loginov/intellij-community | jps/jps-builders/src/org/jetbrains/jps/cmdline/BuildSession.java | 27757 | /*
* Copyright 2000-2014 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | apache-2.0 |
QuantConnect/Lean | ToolBox/Properties/AssemblyInfo.cs | 865 | 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("Qu... | apache-2.0 |
clicktravel-chris/Cheddar | cheddar/cheddar-messaging/src/main/java/com/clicktravel/cheddar/infrastructure/messaging/exception/MessageHandlingException.java | 932 | /*
* Copyright 2014 Click Travel 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 or agreed ... | apache-2.0 |
romankagan/DDBWorkbench | plugins/groovy/src/org/jetbrains/plugins/groovy/gpp/GppExpectedTypesContributor.java | 3841 | package org.jetbrains.plugins.groovy.gpp;
import com.intellij.openapi.util.Pair;
import com.intellij.psi.*;
import com.intellij.util.NullableFunction;
import com.intellij.util.containers.ContainerUtil;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.plugins.groovy.lang.psi.api.GroovyResolveResult;
impor... | apache-2.0 |
forjobshunting/hh2016 | app/lib/jsPDFMod/TiJSPDF.js | 336 | /*jslint maxerr:1000 */
/*
* CommonJS convenience wrapper around jsPDF
*/
Ti.include(
'/jsPDFMod/libs/sprintf.js',
'/jsPDFMod/libs/base64.js'
);
Ti.include('/jsPDFMod/plugins/jspdf.js');
Ti.include('/jsPDFMod/plugins/jspdf.plugin.addimage.js');
Ti.include('/jsPDFMod/plugins/jspdf.plugin.save.js');
module.exports ... | apache-2.0 |
Mohitsahu123/magento-elasticsearch | lib/Elastica/Filter/Or.php | 875 | <?php
/**
* Or Filter
*
* @uses Elastica_Filter_Abstract
* @category Xodoa
* @package Elastica
* @author Nicolas Ruflin <spam@ruflin.com>
* @link http://www.elasticsearch.com/docs/elasticsearch/rest_api/query_dsl/or_filter/
*/
class Elastica_Filter_Or extends Elastica_Filter_Abstract {
/**
* Filter array
*... | apache-2.0 |
paulswithers/XPagesExtensionLibrary | extlib-des/lwp/openntf/tools/xpages-doc-generator/eclipse/plugins/com.ibm.designer.xsp.docgenerator/src/com/ibm/xsp/eclipse/tools/ui/RunGeneratorAction.java | 1562 | /*
* © Copyright IBM Corp. 2010
*
* 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 |
xtern/ignite | modules/indexing/src/test/java/org/apache/ignite/internal/processors/query/h2/twostep/RetryCauseMessageSelfTest.java | 18784 | /*
* 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 |
chetanmeh/jackrabbit-oak | oak-store-document/src/test/java/org/apache/jackrabbit/oak/plugins/document/LastRevRecoveryTest.java | 14206 | /*
* 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 |
MER-GROUP/intellij-community | java/java-tests/testData/inspection/dataFlow/fixture/VolatileFieldNPEFixes.java | 298 | import org.jetbrains.annotations.Nullable;
class Test {
@Nullable volatile String x;
public void foo() {
if (x != null) {
System.out.println(<warning descr="Method invocation 'x.substring(1)' may produce 'java.lang.NullPointerException'">x.sub<caret>string(1)</warning>);
}
}
} | apache-2.0 |
kba/clstm | test-cderiv.cc | 12059 | #include <assert.h>
#include <math.h>
#include <cmath>
#include <iostream>
#include <memory>
#include <string>
#include <vector>
#include "clstm.h"
#include "clstm_compute.h"
#include "extras.h"
#include "utils.h"
using std_string = std::string;
#define string std_string
using std::vector;
using std::shared_ptr;
using... | apache-2.0 |
mycFelix/heron | heron/api/src/java/org/apache/heron/streamlet/impl/operators/UnionOperator.java | 1444 | /**
* 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 |
naveedaz/azure-powershell | src/Common/Commands.Common.Authentication.Abstractions/Interfaces/IDataStore.cs | 8337 | // ----------------------------------------------------------------------------------
//
// Copyright 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 License at
// http://www.apa... | apache-2.0 |
Gayany/product-mdm | modules/mobile-agents/windows/jax-rs/src/main/java/org/wso2/carbon/mdm/mobileservices/windows/operations/AlertTag.java | 1913 | /*
* Copyright (c) 2015, 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/... | apache-2.0 |
Microsoft/TypeScript | tests/baselines/reference/super.js | 2504 | //// [super.ts]
class Base {
constructor() {
var x;
}
public foo() {
return "base";
}
public bar() {
return "basebar";
}
}
class Sub1 extends Base {
public foo() {
return "sub1" + super.foo() + super.bar();
}
}
class SubSub1 extends Sub1 {
public ... | apache-2.0 |
lyogavin/spark | streaming/src/test/scala/spark/streaming/TestSuiteBase.scala | 11725 | /*
* 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 |
tst-lsavoie/earthenterprise | earth_enterprise/src/fusion/geindexgen/Todo.cpp | 3687 | // Copyright 2017 Google Inc.
// Copyright 2020 The Open GEE 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
//
// Unles... | apache-2.0 |
shankarh/geode | geode-core/src/main/java/org/apache/geode/admin/SystemMemberRegion.java | 9030 | /*
* 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 ... | apache-2.0 |
sekikn/ambari | ambari-admin/src/main/resources/ui/admin-web/test/e2e/signout.js | 1654 | /**
* 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 |
awillis/dirsrv-cookbook | recipes/_vagrant_consumer.rb | 1596 | #
# Cookbook Name:: dirsrv
# Recipe:: _vagrant_consumer
#
# Copyright 2014 Riot Games, Inc.
# Author:: Alan Willis <alwillis@riotgames.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 |
hqstevenson/camel | components-starter/camel-core-starter/src/main/java/org/apache/camel/impl/springboot/StringDataFormatAutoConfiguration.java | 4733 | /**
* 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 |
blois/AndroidSDKCloneMin | sdk/sources/android-20/com/android/rs/image/LevelsV4.java | 5183 | /*
* Copyright (C) 2012 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 |
jcamachor/hive | ql/src/java/org/apache/hadoop/hive/ql/plan/BaseWork.java | 18356 | /*
* 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 |
cloudfoundry-incubator/bosh-google-cpi-release | src/bosh-google-cpi/google/instance_group_service/google_instance_group_service_find_by_instance.go | 586 | package instancegroup
func (i GoogleInstanceGroupService) FindByInstance(vmLink string, zone string) (string, bool, error) {
// Unfortunatelly, there is no direct way to find what instance group is attached to an instance,
// so we need to list all instance groups and look up for the instance
instanceGroups, err :=... | apache-2.0 |
gopal1cloud/neutron | neutron/db/metering/metering_db.py | 10297 | # Copyright (C) 2013 eNovance SAS <licensing@enovance.com>
#
# Author: Sylvain Afchain <sylvain.afchain@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.apach... | apache-2.0 |
OscarSwanros/swift | lib/SILOptimizer/ARC/RCStateTransitionVisitors.cpp | 14052 | //===--- RCStateTransitionVisitors.cpp ------------------------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... | apache-2.0 |
reaction1989/roslyn | src/EditorFeatures/Core/Extensibility/SignatureHelp/SignatureHelpItemEventArgs.cs | 579 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using Microsoft.CodeAnalysis.SignatureHelp;
namespace Microsoft.CodeAnalysis.Editor
{
internal c... | apache-2.0 |
jpettitt/amphtml | extensions/amp-mustache/0.1/test/test-amp-mustache.js | 23337 | import * as sanitizer from '../../../../src/sanitizer';
import * as service from '../../../../src/service-helpers';
import {AmpMustache} from '../amp-mustache';
import mustache from '#third_party/mustache/mustache';
describes.repeated(
'amp-mustache 0.1',
{
'with script[type=text/plain][template=amp-mustache]'... | apache-2.0 |
bitbouncer/avro | lang/java/mapred/src/main/java/org/apache/avro/mapred/AvroMultipleOutputs.java | 22063 | /**
* 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 |
DariusX/camel | components/camel-lra/src/test/java/org/apache/camel/service/lra/AbstractLRATestSupport.java | 3766 | /*
* 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 |
adup-tech/amphtml | extensions/amp-3q-player/0.1/test/test-amp-3q-player.js | 3374 | /**
* Copyright 2017 The AMP HTML Authors. 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 |
mbrukman/gcloud-java | google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/FakeSubscriberServiceImpl.java | 13984 | /*
* Copyright 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... | apache-2.0 |
gombadi/aws-tools | vendor/github.com/aws/aws-sdk-go/service/ssm/api.go | 51120 | // THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
// Package ssm provides a client for Amazon Simple Systems Management Service.
package ssm
import (
"time"
"github.com/aws/aws-sdk-go/aws/awsutil"
"github.com/aws/aws-sdk-go/aws/request"
)
const opCancelCommand = "CancelCommand"
// CancelCommandRequest gener... | apache-2.0 |
Saulis/gerrit | gerrit-server/src/main/java/com/google/gerrit/common/Version.java | 1674 | // Copyright (C) 2009 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 applicable ... | apache-2.0 |
cgruber/dagger | javatests/dagger/functional/modules/subpackage/PackagePrivateModule.java | 899 | /*
* Copyright (C) 2019 The Dagger 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 ag... | apache-2.0 |
anjalshireesh/gluster-ovirt-poc | backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/vds/VdsStaticDAOHibernateImpl.java | 510 | package org.ovirt.engine.core.dao.vds;
import org.ovirt.engine.core.common.businessentities.VdsStatic;
import org.ovirt.engine.core.compat.NGuid;
import org.ovirt.engine.core.dao.BaseDAOHibernateImpl;
/**
* <code>VdsStaticDAOHibernateImpl</code> extends {@link BaseDAOHibernateImpl} to work with instances of
* {@lin... | apache-2.0 |