repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
StromInc/Strongfit
StrongFit/src/java/servlets/Scontarvoto.java
3473
/* * 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 servlets; import java.io.IOException; import java.io.PrintWriter; import java.sql.SQLException; import java.util.logging.Leve...
apache-2.0
zhangminglei/flink
flink-runtime/src/main/java/org/apache/flink/runtime/state/filesystem/FsCheckpointMetadataOutputStream.java
4577
/* * 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
webx-top/echo
translator.go
3031
/* Copyright 2016 Wenhui Shen <www.webx.top> 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
FasterXML/jackson-databind
src/main/java/com/fasterxml/jackson/databind/cfg/ConfigFeature.java
705
package com.fasterxml.jackson.databind.cfg; /** * Interface that actual SerializationFeature enumerations used by * {@link MapperConfig} implementations must implement. * Necessary since enums cannot be extended using normal * inheritance, but can implement interfaces */ public interface ConfigFeature { /** ...
apache-2.0
OpenRA/GeoIP2-dotnet
GeoIP2/Exceptions/AddressNotFoundException.cs
758
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; namespace MaxMind.GeoIP2.Exceptions { /// <summary> /// This exception is thrown when the IP address is not found in the database. /// This generally means that the address was a private or rese...
apache-2.0
ngageoint/geowave
core/store/src/main/java/org/locationtech/geowave/core/store/util/SecondaryIndexEntryIteratorWrapper.java
1930
/** * Copyright (c) 2013-2020 Contributors to the Eclipse Foundation * * <p> See the NOTICE file distributed with this work for additional information regarding copyright * ownership. All rights reserved. This program and the accompanying materials are made available * under the terms of the Apache License, Versio...
apache-2.0
YogeshUmeshVaity/Sunshine
app/src/main/java/com/example/android/sunshine/app/DetailActivity.java
2418
/* * Copyright (C) 2014 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
ygorshenin/omim
android/src/com/mapswithme/util/log/FileLoggerStrategy.java
5013
package com.mapswithme.util.log; import android.content.Context; import android.location.LocationManager; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.os.Build; import android.support.annotation.NonNull; import android.util.Log; import com.mapswithme.maps.BuildConfig; import ...
apache-2.0
freedot/tstolua
tests/cases/conformance/types/typeRelationships/typeAndMemberIdentity/objectTypesIdentityWithStringIndexers.ts
2281
// object types are identical structurally class A { [x: string]: string; } class B { [x: string]: string; } class C<T> { [x: string]: T; } interface I { [x: string]: string; } class PA extends A { } class PB extends B { } var a: { [x: string]: string; } var b: { [x: string]: string; } = { fo...
apache-2.0
JavaSummer/JavaMainRepo
Students/Pop P. Roxana/assignment4/src/javasmmr/zoowsome/models/animals/Insect.java
1070
package javasmmr.zoowsome.models.animals; public abstract class Insect extends Animal { private Boolean canFly; private Boolean isDangerous; public Insect(double maintenanceCost, double dangerPerc){ super(maintenanceCost,dangerPerc); } public Boolean getCanFly() { return canFly; } public void setCanFly...
apache-2.0
cloud-software-foundation/c5-replicator
c5-replicator-log/src/test/java/c5db/log/OLogEntryDescriptionTest.java
5098
/* * Copyright 2014 WANdisco * * WANdisco 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/LICENSE-2.0 * * Unless required by ap...
apache-2.0
olupas/cougar
cougar-framework/cougar-core-impl/src/main/java/com/betfair/cougar/core/impl/ev/ServiceExecutableResolver.java
12064
/* * Copyright 2014, The Sporting Exchange Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicabl...
apache-2.0
apache/camel
core/camel-support/src/main/java/org/apache/camel/support/SimpleRegistry.java
4117
/* * 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
ChuyX3/angsys
branch/old_angsys/angsys_beta3/source/angsys/angsys.shared/source/files/pack_file.cpp
7445
/*********************************************************************************************************************/ /* File Name: pack_file.cpp */ /* Author: Ing. Jesus Rocha <chuyangel.rm@gmail.com>, July 2016. ...
apache-2.0
cbaenziger/oozie
core/src/test/java/org/apache/oozie/command/wf/TestCompletedActionXCommand.java
8618
/** * 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
lshift/diffa
client-support/src/main/scala/net/lshift/diffa/client/ExternalRestClient.scala
5820
/** * Copyright (C) 2010-2011 LShift 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...
apache-2.0
implydata/druid
web-console/src/entry.ts
3971
/* * 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
home-assistant/home-assistant
tests/components/vacuum/test_device_action.py
3258
"""The tests for Vacuum device actions.""" import pytest import homeassistant.components.automation as automation from homeassistant.components.device_automation import DeviceAutomationType from homeassistant.components.vacuum import DOMAIN from homeassistant.helpers import device_registry from homeassistant.setup imp...
apache-2.0
52North/sensorweb-thin-client
src/common/profiles/services/profiles.service.ts
2338
import { Injectable } from '@angular/core'; import { ColorService, DatasetService, LocalStorage, TimedDatasetOptions } from '@helgoland/core'; const PROFILES_OPTIONS_CACHE_PARAM = 'profilesOptions'; const PROFILES_IDS_CACHE_PARAM = 'profilesIds'; @Injectable() export class ProfilesService extends DatasetService<Array...
apache-2.0
nzamani/openui5
src/sap.m/test/sap/m/demokit/sample/InputAssistedTwoValues/C.controller.js
1505
sap.ui.define([ 'jquery.sap.global', 'sap/ui/core/Fragment', 'sap/ui/core/mvc/Controller', 'sap/ui/model/Filter', 'sap/ui/model/json/JSONModel' ], function(jQuery, Fragment, Controller, Filter, JSONModel) { "use strict"; var CController = Controller.extend("sap.m.sample.InputAssistedTwoValues.C", { inpu...
apache-2.0
nkolosnjaji/generator-jhipster
generators/server/templates/src/test/java/package/web/rest/_ProfileInfoResourceIntTest.java
4448
<%# Copyright 2013-2018 the original author or authors from the JHipster project. This file is part of the JHipster project, see http://www.jhipster.tech/ for more information. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You ma...
apache-2.0
djkonro/client-python
kubernetes/test/test_v2alpha1_pods_metric_source.py
933
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.7.4 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import os import sys im...
apache-2.0
gchq/Gaffer
store-implementation/federated-store/src/test/java/uk/gov/gchq/gaffer/federatedstore/operation/FederatedOperationChainValidatorTest.java
3546
/* * Copyright 2017-2020 Crown 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 obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
apache-2.0
laszlocsomor/tensorflow
tensorflow/core/ops/array_ops.cc
198963
/* Copyright 2015 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 applicable law or a...
apache-2.0
rcassola/DigiCard
src/main/webapp/bower_components/pdfjs-dist/lib/test/unit/parser_spec.js
7646
/* Copyright 2017 Mozilla 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 applicable law or agreed...
apache-2.0
Fabryprog/camel
components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsFilterTest.java
2757
/* * 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
erickt/rust
src/test/compile-fail/issue-3907-2.rs
674
// Copyright 2013-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-MI...
apache-2.0
phatboyg/Stact
src/Stact.Specs/Actors/CleanUsing_Specs.cs
1788
// Copyright 2010 Chris Patterson // // 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
emecell/react-server
packages/react-server-cli/src/defaultOptions.js
1362
// these are the default options for startServer. // host: the hostname for the server. // port: the port number for the server. // jsPort: the port number for JavaScript and CSS on the server. // hot: enable hot reloading. do not use in production. // minify: minify the client-side JavaScript. // compileOnStartup: sta...
apache-2.0
dump247/aws-sdk-java
aws-java-sdk-ecs/src/main/java/com/amazonaws/services/ecs/model/DeregisterContainerInstanceRequest.java
17163
/* * 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
MichaelSun/SiXin
Sixin_Newest/src/ui/com/renren/mobile/chat/ui/BaseLocationActivity.java
1587
package com.renren.mobile.chat.ui; import org.json.JSONObject; import android.content.Context; import android.os.Handler; import com.core.json.JsonObject; import com.core.json.JsonParser; import com.core.json.JsonValue; import com.renren.mobile.chat.lbs.ILocationListener; import com.renren.mobile.chat.lbs...
apache-2.0
hoko/hoko-android
hoko/src/main/java/com/hokolinks/utils/lifecycle/ApplicationLifecycle.java
6823
package com.hokolinks.utils.lifecycle; import android.app.Activity; import android.app.Application; import android.content.Context; import android.os.Bundle; import com.hokolinks.activity.HokoActivity; import com.hokolinks.activity.HokoAppLinksActivity; import com.hokolinks.utils.log.HokoLog; import java.util.ArrayL...
apache-2.0
AndreSteenveld/cellstore
app/modules/ui/formula-list.js
2816
'use strict'; angular .module('report-editor') .directive('formulaList', function($modal, $log){ return { restrict: 'E', scope: { 'conceptName': '@', 'type': '@', 'report': '=' }, templateUrl: '/modules/ui/f...
apache-2.0
akara/squbs
squbs-pattern/src/main/scala/org/squbs/pattern/timeoutpolicy/TimeoutPolicy.scala
11231
/* * Copyright 2017 PayPal * * 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
meruvian/midasjs-showcase
app/backend/backend.controller.js
179
'use strict'; angular.module('midasApp').controller('BackendCtrl', function ($state) { if ('backend' === $state.current.name) { $state.transitionTo('backend.summary'); } });
apache-2.0
ahsyuyu/moedict_test
ksana.js
775
jsonp_handler({ "version": "1", "build": 4, "title": "moedict_test", "minruntime": 1.3, "baseurl": "http:/rawgit.com/ahsyuyu/moedict_test/master/", "description": "", "files": [ "index.html", "index.css", "bundle.js", "jquery.js", "react-with-addons.js", "ksana.js", "bootstrap.min.js", "bootstrap...
apache-2.0
tikue/jcs2-snapshot
src/test/org/apache/commons/jcs/auxiliary/remote/http/client/MockRemoteCacheDispatcher.java
2053
package org.apache.commons.jcs.auxiliary.remote.http.client; /* * 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 * ...
apache-2.0
raja15792/googleads-java-lib
examples/dfp_axis/src/main/java/dfp/axis/v201411/contentmetadatakeyhierarchyservice/CreateContentMetadataKeyHierarchies.java
4624
// 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 applicable...
apache-2.0
flofreud/aws-sdk-java
aws-java-sdk-redshift/src/main/java/com/amazonaws/services/redshift/model/DeleteHsmConfigurationResult.java
2043
/* * 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
sajavadi/pinot
thirdeye/thirdeye-hadoop/src/test/java/com/linkedin/thirdeye/hadoop/util/ThirdeyeAggregateMetricUtilsTest.java
2544
/** * 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
thbonk/electron-openui5-boilerplate
libs/openui5-runtime/resources/sap/m/semantic/DeleteAction.js
352
/*! * UI development toolkit for HTML5 (OpenUI5) * (c) Copyright 2009-2017 SAP SE or an SAP affiliate company. * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. */ sap.ui.define(['sap/m/semantic/SemanticButton'],function(S){"use strict";var D=S.extend("sap.m.semantic.DeleteAction",{metadata:{libra...
apache-2.0
zzsoszz/webservice_gzdx
opensource_cxf/org/apache/cxf/endpoint/ServerRegistry.java
1000
/** * 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 m...
apache-2.0
siosio/intellij-community
java/java-impl/src/com/intellij/refactoring/typeMigration/ui/FailedConversionsDialog.java
3699
/* * Copyright 2000-2015 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
WANdisco/gerrit
javatests/com/google/gerrit/acceptance/rest/config/FlushCacheIT.java
2960
// Copyright (C) 2014 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
8l/beri
cheritest/trunk/tests/mem/test_raw_sd.py
2342
#- # Copyright (c) 2011 Steven J. Murdoch # All rights reserved. # # This software was developed by SRI International and the University of # Cambridge Computer Laboratory under DARPA/AFRL contract FA8750-10-C-0237 # ("CTSRD"), as part of the DARPA CRASH research programme. # # @BERI_LICENSE_HEADER_START@ # # Licensed ...
apache-2.0
xorware/android_frameworks_base
packages/SystemUI/src/com/android/systemui/qs/TileLayout.java
4532
package com.android.systemui.qs; import android.content.Context; import android.content.res.Resources; import android.util.AttributeSet; import android.view.View; import android.view.ViewGroup; import com.android.systemui.R; import com.android.systemui.qs.QSPanel.QSTileLayout; import com.android.systemui.qs.QSPanel.T...
apache-2.0
manish-sethi/fabric
vendor/github.com/mmcloughlin/addchain/acc/ir/ir.go
3870
// Package ir declares an intermediate representation for acc programs. package ir import ( "fmt" "strings" "github.com/mmcloughlin/addchain" ) // Program is a sequence of acc instructions. type Program struct { Instructions []*Instruction // Pass/analysis results. Operands map[int]*Operand ReadCount ma...
apache-2.0
scrosby/fedone
src/org/waveprotocol/wave/examples/fedone/waveserver/InvalidHashException.java
1030
/** * Copyright 2009 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
00wendi00/MyProject
W_myeclipse/binary/com.sun.java.jdk.win32.x86_1.6.0.013/demo/jfc/SwingSet2/src/ColorChooserDemo.java
7500
/* * @(#)ColorChooserDemo.java 1.12 05/11/17 * * Copyright (c) 2006 Sun Microsystems, Inc. All Rights Reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * -Redistribution of source code must retain t...
apache-2.0
Magenic/MyVote
src/UI/MyVote.UI.Windows/Properties/AssemblyInfo.cs
1054
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("My...
apache-2.0
rachel-fenichel/blockly
demos/code/msg/pms.js
1040
var MSG = { title: "Còdes", blocks: "Blòch", linkTooltip: "Argistré e lijé ai blòch.", runTooltip: "Fé andé ël programa definì dai blòch ant lë spassi ëd travaj.", badCode: "Eror dël programa:\n%1", timeout: "Nùmer màssim d'arpetission d'esecussion sorpassà.", trashTooltip: "Scarté tuti ij blòch.", catL...
apache-2.0
maduhu/mifos-head
application/src/main/java/org/mifos/application/master/business/CustomFieldType.java
1522
/* * Copyright (c) 2005-2010 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
A6FJ/sugar
sample/src/androidTest/java/com/sugar/ApplicationTest.java
340
package com.sugar; import android.app.Application; import android.test.ApplicationTestCase; /** * <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a> */ public class ApplicationTest extends ApplicationTestCase<Application> { public ApplicationTest() { super(Applica...
apache-2.0
sublimter/FindMe_Server
src/com/fm/service/impl/StatsServiceImpl2Mongo.java
551
package com.fm.service.impl; import org.springframework.stereotype.Service; import com.fm.model.User; import com.fm.service.StatsService; @Service("statsService") public class StatsServiceImpl2Mongo extends BaseService implements StatsService { @Override public boolean userCountStatsPerDay(User user) { // TODO ...
apache-2.0
grails-plugins/grails-spring-security-acl
plugin/src/main/groovy/grails/plugin/springsecurity/acl/annotation/AclVoters.java
1288
/* Copyright 2009-2015 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 appli...
apache-2.0
networknt/light-java
sanitizer/src/test/java/com/networknt/sanitizer/builder/ServerBuilder.java
1151
package com.networknt.sanitizer.builder; import com.networknt.body.BodyHandler; import com.networknt.sanitizer.SanitizerHandler; import io.undertow.Undertow; import io.undertow.server.HttpHandler; public class ServerBuilder { private static ServerBuilder instance; private String configName = SanitizerHandler...
apache-2.0
opis-colibri/core
tests/modules/Foo/src/Middleware/AuthMiddleware.php
998
<?php /* =========================================================================== * Copyright 2018 Zindex Software * * 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
apache/openwebbeans
webbeans-impl/src/test/java/org/apache/webbeans/test/interceptors/lifecycle/inheritance/LifecycleInheritedOverridenTest.java
3118
/* * 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 ma...
apache-2.0
markjin1990/solr
lucene/analysis/common/src/test/org/apache/lucene/analysis/reverse/TestReverseStringFilter.java
5094
/* * 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
amansinha100/incubator-calcite
avatica/src/main/java/net/hydromatic/avatica/ColumnMetaData.java
4887
/* // Licensed to Julian Hyde under one or more contributor license // agreements. See the NOTICE file distributed with this work for // additional information regarding copyright ownership. // // Julian Hyde licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file e...
apache-2.0
Azure/azure-sdk-for-media-services-extensions
MediaServices.Client.Extensions.Tests/IAssetExtensionsFixture.cs
40367
// <copyright file="IAssetExtensionsFixture.cs" company="Microsoft">Copyright 2013 Microsoft Corporation</copyright> // <license> // 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
apache/tuscany-sdo
impl/src/main/java/org/apache/tuscany/sdo/util/metadata/impl/XSDMetaDataImpl.java
4766
/** * * 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 * "Licen...
apache-2.0
levi-h/aluminumproject
tests/src/test/java/com/googlecode/aluminumproject/libraries/logging/LoggingLibraryTest.java
2884
/* * Copyright 2013 Aluminum 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 law or agreed to...
apache-2.0
vjaymac/test
application/views/upd_form.php
369
<form method="post" action="<?php echo base_url().$this->config->config['index_page']."/test/update"; ?>"> <input name="fname" value="<?php echo $data[0]->fname; ?>"><br> <input name="lname" value="<?php echo $data[0]->lname; ?>"><br> <input name="id" type="hidden" value="<?php echo $data[0]->id; ?>"> <input name...
apache-2.0
prepare/FO.NET
src/Core/Fo/Properties/VolumeMaker.cs
801
//Apache2, 2017, WinterDev //Apache2, 2009, griffm, FO.NET using Fonet.DataTypes; namespace Fonet.Fo.Properties { internal class VolumeMaker : ToBeImplementedProperty.Maker { new public static PropertyMaker Maker(string propName) { return new VolumeMaker(propName); } ...
apache-2.0
jwills/javaoctave
src/test/java/dk/ange/octave/io/impl/TestIoOctaveInt.java
1828
/* * Copyright 2010 Ange Optimization ApS * * 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
ngageoint/geowave
extensions/datastores/hbase/core/src/main/java/org/locationtech/geowave/datastore/hbase/server/MergingServerOp.java
9386
/** * Copyright (c) 2013-2020 Contributors to the Eclipse Foundation * * <p> See the NOTICE file distributed with this work for additional information regarding copyright * ownership. All rights reserved. This program and the accompanying materials are made available * under the terms of the Apache License, Versio...
apache-2.0
mgsx-dev/box2d-editor
core/src/net/mgsx/game/core/storage/EntityGroupStorage.java
11842
package net.mgsx.game.core.storage; import java.io.IOException; import java.io.Writer; import com.badlogic.ashley.core.Component; import com.badlogic.ashley.core.Engine; import com.badlogic.ashley.core.Entity; import com.badlogic.ashley.core.Family; import com.badlogic.gdx.assets.AssetDescriptor; import com.badlogic....
apache-2.0
sisve/lucenenet
src/Lucene.Net.Grouping/Term/TermAllGroupHeadsCollector.cs
31316
using Lucene.Net.Index; using Lucene.Net.Util; using System.Collections.Generic; using JCG = J2N.Collections.Generic; namespace Lucene.Net.Search.Grouping.Terms { /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed wi...
apache-2.0
Mirantis/tempest
tempest/thirdparty/boto/test.py
27462
# Copyright 2012 OpenStack Foundation # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requ...
apache-2.0
mamont80/MamontSql
Core/Tables/TableDesc.cs
1438
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; namespace ParserCore { public class TableDesc : SqlToken, ITableDesc { public string LogicalTableName { get; set; } public string LogicalSchema { get; set; } pub...
apache-2.0
tabish121/proton4j
protonj2/src/main/java/org/apache/qpid/protonj2/engine/exceptions/EngineNotWritableException.java
1446
/* * 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
cycronix/cloudturbine
JavaCode/CTexample/src/main/java/CTsource.java
2075
import java.util.LinkedHashMap; import java.util.Map; import cycronix.ctlib.*; /** * CloudTurbine demo source * <p> * @author Matt Miller (MJM), Cycronix * @version 2016/09/13 * */ /* Copyright 2018 Cycronix Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in c...
apache-2.0
harsha89/carbon-apimgt
components/apimgt/org.wso2.carbon.apimgt.keymgt/src/main/java/org/wso2/carbon/apimgt/keymgt/service/APIKeyRevokeService.java
975
/* * Copyright (c) 2019, 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.apach...
apache-2.0
koo-taejin/pinpoint
plugins/mysql-jdbc/src/test/java/com/navercorp/pinpoint/plugin/jdbc/mysql/MySqlJdbcUrlParserTest.java
7649
/* * 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
FutureGateway/LiferayPlugIns
service-iam-token/service-iam-token-api/src/main/java/com/liferay/portal/security/sso/iam/model/TokenInfo.java
2998
/** * ********************************************************************* * Copyright (c) 2016: Istituto Nazionale di Fisica Nucleare (INFN) - * INDIGO-DataCloud * * See http://www.infn.it and and http://www.consorzio-cometa.it for details on * the copyright holders. * * Licensed under the Apache License, Ver...
apache-2.0
juwi/hbase
hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestMasterTransitions.java
20879
/** * * 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
alodavide/sugarBuilder
karma.conf.js
2996
// Karma configuration module.exports = function(config) { config.set({ // base path that will be used to resolve all patterns (eg. files, exclude) basePath: '', // frameworks to use // available frameworks: https://npmjs.org/browse/keyword/karma-adapter frameworks: ['quni...
apache-2.0
Laurawly/tvm-1
tests/python/integration/test_lower.py
17915
# 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
apache/uima-uimaj
uimaj-core/src/main/java/org/apache/uima/cas/impl/CasCompare.java
82764
/* * 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
arenadata/ambari
ambari-agent/src/main/python/ambari_agent/StatusCommandsExecutor.py
2837
#!/usr/bin/env python """ 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
yugangw-msft/azure-sdk-for-net
sdk/timeseriesinsights/Azure.Iot.TimeSeriesInsights/src/Generated/Models/TimeSeriesHierarchySource.cs
1357
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Collections.Generic; using Azure.Core; namespace Azure.Iot.TimeSeriesInsights.Models { /// <summary> Definition of how time series hierarchy tree levels are created...
apache-2.0
markjin1990/solr
solr/core/src/test/org/apache/solr/cloud/OverseerTest.java
43084
package org.apache.solr.cloud; /* * 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 ...
apache-2.0
kevin-coder/tensorflow-fork
tensorflow/python/kernel_tests/py_func_test.py
24449
# -*- coding: utf-8 -*- # Copyright 2015 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 # # Un...
apache-2.0
mgsx-dev/gdx-kit
core/src/net/mgsx/game/core/commands/SetCommand.java
638
package net.mgsx.game.core.commands; import java.lang.reflect.Field; import net.mgsx.game.core.helpers.ReflectionHelper; public class SetCommand<T> extends Command { private T backup, value; private Object object; private Field field; public SetCommand(Object object, Field field, T value) { super(); this.o...
apache-2.0
sopeco/DynamicSpotter
org.spotter.shared/src/org/spotter/shared/result/ResultsLocationConstants.java
1201
/** * Copyright 2014 SAP AG * * 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
letsencrypt/letsencrypt
acme/acme/jws_test.py
2081
"""Tests for acme.jws.""" import unittest import josepy as jose from acme import test_util KEY = jose.JWKRSA.load(test_util.load_vector('rsa512_key.pem')) class HeaderTest(unittest.TestCase): """Tests for acme.jws.Header.""" good_nonce = jose.encode_b64jose(b'foo') wrong_nonce = u'F' # Following ...
apache-2.0
shanewalters/gedcomx-csharp
Gedcomx.Model.Fs/Feature.cs
4222
using Gedcomx.Model.Util; // <auto-generated> // // // Generated by <a href="http://enunciate.codehaus.org">Enunciate</a>. // </auto-generated> using System; namespace Gx.Fs { /// <remarks> /// A description of a FamilySearch feature. /// </remarks> /// <summary> /// A description of a FamilySe...
apache-2.0
ncalexan/mentat
sql/src/lib.rs
10018
// Copyright 2016 Mozilla // // 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...
apache-2.0
cping/LGame
Java/Loon-Neo-GWT/src/loon/html5/gwt/emu2.8/java/lang/reflect/Array.java
21002
/* * 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
maximegens/ng-cordova-demo
plugins/com.phonegap.plugins.barcodescanner/src/android/LibraryProject/src/com/google/zxing/client/result/ParsedResultType.java
965
/* * Copyright 2010 ZXing authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
apache-2.0
mani-monaj/ros_buildfarm
ros_buildfarm/doc_job.py
14390
from __future__ import print_function import sys from catkin_pkg.package import parse_package_string from rosdistro import get_distribution_cache from rosdistro import get_index from ros_buildfarm.common import get_doc_job_name from ros_buildfarm.common import get_doc_view_name from ros_buildfarm.common import git_g...
apache-2.0
frrahat/Quran-For-My-Android
src/com/frrahat/quransimple/HelpActivity.java
1148
package com.frrahat.quransimple; import android.app.Activity; import android.os.Bundle; import android.text.util.Linkify; import android.view.Menu; import android.view.MenuItem; import android.widget.EditText; public class HelpActivity extends Activity { @Override protected void onCreate(Bundle savedIn...
apache-2.0
ua-eas/ua-rice-2.1.9
impl/src/main/java/org/kuali/rice/kew/actions/SuperUserDisapproveEvent.java
2993
/** * Copyright 2005-2014 The Kuali Foundation * * Licensed under the Educational Community License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.opensource.org/licenses/ecl2.php * * Unless required by a...
apache-2.0
bjvoth/oppia
utils_test.py
7728
# coding: utf-8 # # Copyright 2014 The Oppia 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 requi...
apache-2.0
joaonvfigueiredo/gros
gros/src/entity/entity.cpp
1761
#include "entity.h" #include "../utils/utils.h" #include <cstring> Entity::Entity(const char *id) { memset(this->_id,0,MAX_ENTITY_STRING_SIZE); Utils::charCopy(this->_id,id,MAX_ENTITY_STRING_SIZE); // State init this->_command = 0; this->_inTransit = false; // Dynamic Info Init memset(&th...
apache-2.0
CaMnter/front-end-life
node-life/build/build/react-native-life/ReactNativeLife/js/setup.js
4236
/** * Copyright 2016 Facebook, Inc. * * You are hereby granted a non-exclusive, worldwide, royalty-free license to * use, copy, modify, and distribute this software in source code or binary * form for use in connection with the web services and APIs provided by * Facebook. * * As with any software that integrat...
apache-2.0
kevinvn1709/6ee03ebec9a8d5b5481a36e82af4db98
web.cvo.io/public/assets/authorize/js/charts/pie-charts-custom.js
17481
//Nvd3 pie charts var testdata = [ { key: "One", y: 5 }, { key: "Two", y: 2 }, { key: "Three", y: 9 }, { key: "Four", y: 7 }, { key: "Five", y: 4 }, { key: "Six", y: 3 } ]; nv.addGrap...
apache-2.0
hgschmie/presto
presto-mysql/src/test/java/io/prestosql/plugin/mysql/TestMySqlIntegrationSmokeTest.java
10649
/* * 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
blueboxgroup/cinder
cinder/tests/api/v2/test_limits.py
32747
# Copyright 2011 OpenStack Foundation # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requ...
apache-2.0