code
stringlengths
3
1.05M
repo_name
stringlengths
4
116
path
stringlengths
4
991
language
stringclasses
9 values
license
stringclasses
15 values
size
int32
3
1.05M
/* global QUnit, sinon, testEventHandlerResolver, someGlobalMethodOnWindow */ sap.ui.define([ "sap/ui/core/Control", "sap/ui/model/json/JSONModel", "sap/ui/core/mvc/EventHandlerResolver", "sap/base/Log" ], function(Control, JSONModel, EventHandlerResolver, Log) { "use strict"; var oController; var thisContext; ...
SAP/openui5
src/sap.ui.core/test/sap/ui/core/qunit/mvc/EventHandlerResolver.qunit.js
JavaScript
apache-2.0
27,088
/* * Copyright 2017 MovingBlocks * * 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...
Vizaxo/Terasology
engine/src/main/java/org/terasology/rendering/dag/nodes/LateBlurNode.java
Java
apache-2.0
3,861
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CloudStorage.Azure { public class Blob { public Int32 Index { get; set; } public String Name { get; set; } public Properties Properties { get; set; } ...
jusfr/CloudStorage
src/CloudStorage.Azure/Blob.cs
C#
apache-2.0
329
import { Constructor } from '../type'; import { Serializer as ISerializer, SerializersFactory } from '../serializers'; import { NoSerializerError } from '../errors'; import { __FIELD_SERIALIZER_METADATA_KEY } from '../metadata/metadata.keys'; import { defineFieldName } from '../metadata/define-field-name'; /** * Defi...
AndreyZelenskiy/serialize
src/decorators/type.decorator.ts
TypeScript
apache-2.0
2,381
/* * 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/li...
ayyoob/product-iot-server
modules/tools/mdm-android-agent-archetype/src/main/resources/archetype-resources/src/main/plugins/IDPProxy/src/main/java/org/wso2/mdm/agent/proxy/beans/EndPointInfo.java
Java
apache-2.0
1,648
#!/usr/bin/env python # encoding: utf-8 """ populate_rango.py Created by Luis C. Berrocal on 2013-10-20. Copyright (c) 2013 __MyCompanyName__. All rights reserved. """ import os import sys def populate(): python_cat = add_cat('Python', 128,64) add_page(cat=python_cat, title="Official Python Tutorial"...
luiscberrocal/rango_tutorial
populate_rango.py
Python
apache-2.0
2,007
module Rtermsuite module Pipeline class SpotterStream def initialize lang, *args @lang = lang @tsp = Java::EuProjectTtcTools::TermSuitePipeline.create(@lang, "file:") .setResourcePath(Rtermsuite.configuration.resource_path) .aeWordTokenizer() .setTreeTag...
termsuite/rtermsuite
lib/rtermsuite/pipeline/streaming_spotter.rb
Ruby
apache-2.0
1,451
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (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.mozilla.org/MPL/ * ...
medicayun/medicayundicom
dcm4jboss-all/branches/DCM4JBOSS_2_7_BRANCH/dcm4jboss-ejb/src/java/org/dcm4chex/archive/ejb/entity/FileBean.java
Java
apache-2.0
10,510
package com.logginghub.utils; public class AbstractSource<T> { }
logginghub/core
logginghub-utils/src/main/java/com/logginghub/utils/AbstractSource.java
Java
apache-2.0
72
/* * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
aws/aws-sdk-java
aws-java-sdk-apigatewayv2/src/main/java/com/amazonaws/services/apigatewayv2/model/IntegrationResponse.java
Java
apache-2.0
28,169
/* * Copyright (c) 2011-2015 BlackBerry 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 applicable law ...
syedshaishad/Clouder
src/applicationui.cpp
C++
apache-2.0
4,878
// ----------------------------------------------------------------------- // <copyright file="RestServiceController.cs"> // Copyright (c) 2015 Akka.NET Dragons Demo contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the Licen...
hhandoko/akka-dotnet-ddd
src/AkkaDotNetDragons.Service/RestServiceController.cs
C#
apache-2.0
2,805
package org.sagebionetworks.web.client.widget.entity.tabs; import java.util.ArrayList; import java.util.List; import org.sagebionetworks.repo.model.Entity; import org.sagebionetworks.repo.model.EntityType; import org.sagebionetworks.repo.model.table.Dataset; import org.sagebionetworks.repo.model.table.Table; import o...
Sage-Bionetworks/SynapseWebClient
src/main/java/org/sagebionetworks/web/client/widget/entity/tabs/TablesTab.java
Java
apache-2.0
1,759
package org.apache.mesos.elasticsearch.systemtest; import com.mashape.unirest.http.HttpResponse; import com.mashape.unirest.http.JsonNode; import com.mashape.unirest.http.Unirest; import com.mashape.unirest.http.exceptions.UnirestException; import org.apache.log4j.Logger; import org.json.JSONObject; import java.util....
openwis-ss/elasticsearch
system-test/src/systemTest/java/org/apache/mesos/elasticsearch/systemtest/TasksResponse.java
Java
apache-2.0
2,000
/* * */ package net.community.apps.apache.maven.conv2maven; import java.awt.BorderLayout; import java.awt.Container; import java.awt.Cursor; import java.awt.Font; import java.awt.GridLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.KeyAdapter; import java.awt.eve...
lgoldstein/communitychest
apps/apache/maven/conv2maven/src/main/java/net/community/apps/apache/maven/conv2maven/MainFrame.java
Java
apache-2.0
13,850
package org.soujava.cost.street.resource; import javax.ejb.Singleton; @Singleton public class Schudule { public void run(){ System.out.println("running..."); } }
otaviojava/cost.street
cost.street-web/src/main/java/org/soujava/cost/street/resource/Schudule.java
Java
apache-2.0
169
package com.doun.chapter9interface; /** * Created by Doun on 2017/3/21. */ public class LettersExchanger { public String name() { return getClass().getSimpleName(); } public String doLetterExchange(String str){ char oldCharArray[] = str.toCharArray(); char charArray[] = new cha...
Doun2017/StudyJavaCode
Chapter9Interface/app/src/main/java/com/doun/chapter9interface/LettersExchanger.java
Java
apache-2.0
1,140
package io.dropwizard.auth; import org.glassfish.hk2.api.InjectionResolver; import org.glassfish.hk2.api.ServiceLocator; import org.glassfish.hk2.api.TypeLiteral; import org.glassfish.hk2.utilities.binding.AbstractBinder; import org.glassfish.jersey.server.internal.inject.AbstractContainerRequestValueFactory; import o...
philandstuff/dropwizard
dropwizard-auth/src/main/java/io/dropwizard/auth/AuthValueFactoryProvider.java
Java
apache-2.0
4,226
<?php /** * @author Dawnc * @date 2015-09-01 */ return [ "default" => [ "driver" => 'wumashi\lib\Mysqli', "hostname" => "127.0.0.1", "username" => "root", "password" => "123456", "database" => "item", "port" => 3306, "charset" => "UTF8", ] ]...
dawnco/wumashi
conf/local/db.conf.php
PHP
apache-2.0
323
package i5.las2peer.services.ocd.algorithms.utils; import i5.las2peer.services.ocd.graphs.CustomGraph; import java.util.Map; import y.base.Node; /** * Abstract Class for the Listener Rule used by the Speaker Listener * Label Propagation Algorithm. Is part of the command pattern. * @author Sebastian * */ public...
rwth-acis/REST-OCD-Services
rest_ocd_services/src/main/java/i5/las2peer/services/ocd/algorithms/utils/SlpaListenerRuleCommand.java
Java
apache-2.0
762
/** * Copyright © 2017 albahrani (https://github.com/albahrani) * * 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...
albahrani/aquacontrol-server
src/main/java/com/github/albahrani/aquacontrol/server/LightServerController.java
Java
apache-2.0
3,362
# 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 applica...
ghchinoy/tensorflow
tensorflow/python/ops/variable_scope.py
Python
apache-2.0
113,647
package cherry.fundamental.db.gen.query; import static com.querydsl.core.types.PathMetadataFactory.*; import com.querydsl.core.types.dsl.*; import com.querydsl.core.types.PathMetadata; import javax.annotation.Generated; import com.querydsl.core.types.Path; import com.querydsl.sql.ColumnMetadata; import java.sql.Typ...
agwlvssainokuni/springapp2
corelib/fundamental/src/testGenerated/java/cherry/fundamental/db/gen/query/QVerifyDatetime.java
Java
apache-2.0
2,348
package org.docksidestage.sqlserver.dbflute.cbean.cq.ciq; import java.util.Map; import org.dbflute.cbean.*; import org.dbflute.cbean.ckey.*; import org.dbflute.cbean.coption.ConditionOption; import org.dbflute.cbean.cvalue.ConditionValue; import org.dbflute.cbean.sqlclause.SqlClause; import org.dbflute.exception.Illeg...
dbflute-test/dbflute-test-dbms-sqlserver
src/main/java/org/docksidestage/sqlserver/dbflute/cbean/cq/ciq/SummaryWithdrawalCIQ.java
Java
apache-2.0
4,946
package ch11holding; import java.util.*; /** * <pre> * Output: * 0 * 1 * 2 * 0 * 1 * 2 * </pre> */ public class D02_ApplesAndOrangesWithGenerics { public static void main(String[] args) { ArrayList<Apple> apples = new ArrayList<Apple>(); for (int i = 0; i < 3; i++) apples.add(new Apple()); // Comp...
deguo/tij4
src/main/java/ch11holding/D02_ApplesAndOrangesWithGenerics.java
Java
apache-2.0
532
// Copyright 2019 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in wr...
google/fleetspeak
fleetspeak/src/config/certs/trusted.go
GO
apache-2.0
5,442
/* * 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...
yuananf/presto
presto-parser/src/main/java/com/facebook/presto/sql/tree/LikePredicate.java
Java
apache-2.0
3,122
/* * Copyright 2013 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 ...
mnm9994u/Stock_DashClock
main/src/com/google/android/apps/dashclock/DashClockService.java
Java
apache-2.0
5,742
/* * 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 ...
boneman1231/org.apache.felix
trunk/framework/src/main/java/org/apache/felix/framework/PackageAdminImpl.java
Java
apache-2.0
9,594
// Copyright 2016-2022 The Libsacloud Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law...
sacloud/libsacloud
v2/internal/define/esme.go
GO
apache-2.0
6,874
/* * Copyright 2022 Apollo 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 i...
nobodyiam/apollo
apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/service/NamespaceLockService.java
Java
apache-2.0
1,527
package regsrc import ( "errors" "fmt" "regexp" "strings" "github.com/hashicorp/terraform-plugin-sdk/internal/svchost" ) var ( ErrInvalidModuleSource = errors.New("not a valid registry module source") // nameSubRe is the sub-expression that matches a valid module namespace or // name. It's strictly a super-...
yamamoto-febc/terraform-provider-sakuracloud
vendor/github.com/hashicorp/terraform-plugin-sdk/internal/registry/regsrc/module.go
GO
apache-2.0
6,900
package co.mindie.cindy.async.manager; import co.mindie.cindy.async.task.AsyncResult; import co.mindie.cindy.async.task.AsyncResultTask; import java.lang.reflect.Method; /** * Created by simoncorsin on 20/11/14. */ public class AsyncRunner { //////////////////////// // VARIABLES //////////////// final privat...
mindie/Cindy
src/main/java/co/mindie/cindy/async/manager/AsyncRunner.java
Java
apache-2.0
954
#include <bits/stdc++.h> template<typename T> T gcd(T a, T b) { if(!b) return a; return gcd(b, a % b); } template<typename T> T lcm(T a, T b) { return a * b / gcd(a, b); } template<typename T> void chmin(T& a, T b) { a = (a > b) ? b : a; } template<typename T> void chmax(T& a, T b) { a = (a < b) ? b : a; ...
aajjbb/contest-files
Codeforces/Team.cpp
C++
apache-2.0
1,823
/* Copyright 2016 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 law or agreed to in ...
ithinkihaveacat/sw-proxy
examples/stale-if-error.ts
TypeScript
apache-2.0
1,220
/* * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
jentfoo/aws-sdk-java
aws-java-sdk-organizations/src/main/java/com/amazonaws/services/organizations/model/Child.java
Java
apache-2.0
10,391
/* * Copyright 2011 Nate Koenig & Andrew Howard * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
Karandaras/scene-reconstruction-gazebo
tools/sdf2pov.cc
C++
apache-2.0
12,696
/* * Waltz - Enterprise Architecture * Copyright (C) 2016, 2017, 2018, 2019 Waltz open source project * See README.md 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 may obtain a copy of the License ...
kamransaleem/waltz
waltz-common/src/test/java/com/khartec/waltz/common/EnumUtilities_names.java
Java
apache-2.0
1,602
<?php declare(strict_types=1); /** * This file is part of the AuthnetJSON package. * * (c) John Conde <stymiee@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Authnetjson\Exception; /** * Exception that is...
stymiee/authnetjson
src/Authnetjson/Exception/AuthnetInvalidCredentialsException.php
PHP
apache-2.0
694
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-2 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2016.0...
ianache/didara-bpm
bpmengine-service/bpmengine-bpmn/src/main/java/com/bpm4sb/bpmn/Plane.java
Java
apache-2.0
2,832
/* * Copyright 2010-2012 Luca Garulli (l.garulli--at--orientechnologies.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 ...
nengxu/OrientDB
tests/src/test/java/com/orientechnologies/orient/test/database/auto/IndexTest.java
Java
apache-2.0
64,141
using Telerik.Geospatial; using Windows.Foundation; namespace Telerik.UI.Xaml.Controls.Map { /// <summary> /// Defines a contract that allows arbitrary data items to be visualized within a <see cref="RadMap"/> instance. /// </summary> public interface IMapDataItem { /// <summary> /...
geotinc/UI-For-UWP
Controls/Map/Map.UWP/Layers/IMapDataItem.cs
C#
apache-2.0
1,199
/* * Copyright 2016 Layne Mobile, 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 agre...
LayneMobile/Proxy
proxy-functions-rx/src/main/java/com/laynemobile/proxy/functions/Action6.java
Java
apache-2.0
786
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/ads/googleads/v10/enums/ad_serving_optimization_status.proto package com.google.ads.googleads.v10.enums; public interface AdServingOptimizationStatusEnumOrBuilder extends // @@protoc_insertion_point(interface_extends:google.ads.googlead...
googleads/google-ads-java
google-ads-stubs-v10/src/main/java/com/google/ads/googleads/v10/enums/AdServingOptimizationStatusEnumOrBuilder.java
Java
apache-2.0
410
'use strict'; /** * @ngdoc function * @name sbAdminApp.controller:MainCtrl * @description * # MainCtrl * Controller of the sbAdminApp */ angular.module('sbAdminApp') .controller('ChartCtrl', ['$scope', '$timeout', '$http', 'employeeService', 'socket', '$modalStack', 'settingsService', '$state', function ($scope, $timeo...
vynci/deped-tas
app/scripts/controllers/chartContoller.js
JavaScript
apache-2.0
22,657
sap.ui.define([ "sap/ui/core/mvc/Controller", "sap/base/util/deepClone" ], function (Controller, deepClone) { "use strict"; var oCardManifest = { "_version": "1.8.0", "sap.app": { "id": "dataMode1", "type": "card", "i18n": "i18n/i18n.properties" }, "sap.ui5": { "services": { "RandomRevenue"...
SAP/openui5
src/sap.f/test/sap/f/cardsdemo/controller/DataMode.controller.js
JavaScript
apache-2.0
2,613
/* * Copyright 2015 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, soft...
porcelli-forks/guvnor
guvnor-webapp/src/main/java/org/guvnor/client/screens/clients/OAuthClientSettingsScreenPresenter.java
Java
apache-2.0
1,631
/* * Licensed to the Technische Universität Darmstadt under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The Technische Universität Darmstadt * licenses this file to you under the Apache License, Versio...
webanno/webanno
webanno-api-annotation/src/main/java/de/tudarmstadt/ukp/clarin/webanno/api/annotation/layer/RelationLayerTraitsEditor.java
Java
apache-2.0
3,634
/*------------------------------------------------------------------------------ * 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...
annchovie/edgwoodtripletherat
src/com/harris/challenge/incidents/TwoPlacesAtOnce.java
Java
apache-2.0
843
package com.epam.androidtraining.activities; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.view.ViewPager; import android.support.v7.app.AppCompatActivity; import com.epam.androidtraining.R; import com.epam.androidtraining.adapter.MessagePagerAdapter; import com.epam....
IstiN/android-training-2017
app/src/main/java/com/epam/androidtraining/activities/ViewPagerSampleActivity.java
Java
apache-2.0
1,018
using System.Collections.Generic; using System.Threading.Tasks; namespace XTCSample.Services.Person { public interface IPeopleService { Task<IEnumerable<Models.Person>> GetPeople(int count = 100); } }
mallibone/XtcSample
XTCSample/XTCSample/Services/Person/IPeopleService.cs
C#
apache-2.0
221
package com.zerodes.bta.domain; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.EnumType; import javax.persistence.Enumerated; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.JoinColumn; i...
gdenning/bta
src/main/java/com/zerodes/bta/domain/Category.java
Java
apache-2.0
2,748
/* * Copyright 2015-present Boundless Spatial Inc., http://boundlessgeo.com * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * Unless required ...
jjmulenex/sdk
src/constants.js
JavaScript
apache-2.0
2,452
// Copyright (c) 2016-2022 James Skimming. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. namespace Castle.DynamicProxy; using System.Collections.Concurrent; using System.Diagnostics; using System.Reflection; /// <summary> /// Intercep...
JSkimming/Castle.Core.AsyncInterceptor
src/Castle.Core.AsyncInterceptor/AsyncDeterminationInterceptor.cs
C#
apache-2.0
4,340
<!DOCTYPE html> <html lang="zh_CN"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="description" content="writor" /> <meta name="author" content="writor.me" /> <title>登录</titl...
Denniskevin/dennis-kevin
app/views/backend/pages/login.blade.php
PHP
apache-2.0
4,861
// // Copyright 2016 R. Stanley Hum <r.stanley.hum@gmail.com> // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // ...
humrs/HandbookApp
HandbookApp/HandbookApp/Views/UnauthorizedErrorPage.cs
C#
apache-2.0
2,158
/* * Copyright (c) 2014. by Robusta Code and individual contributors * as indicated by the @authors tag. See the copyright.txt in the * distribution for a full listing of individual contributors. * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOT...
robusta-code/rra
src/main/java/io/robusta/rra/controller/ControllerException.java
Java
apache-2.0
1,527
package org.apache.lucene.search; /** * Copyright 2004 The Apache Software 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....
lpxz/grail-lucene358684
src/java/org/apache/lucene/search/PhrasePositions.java
Java
apache-2.0
1,948
// 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...
michaelhkw/incubator-impala
be/src/udf/udf.cc
C++
apache-2.0
19,483
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/googleads/v9/common/criteria.proto namespace Google\Ads\GoogleAds\V9\Common; use Google\Protobuf\Internal\GPBType; use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; /** * A placement criterion. This...
googleads/google-ads-php
src/Google/Ads/GoogleAds/V9/Common/PlacementInfo.php
PHP
apache-2.0
1,992
/* * ../../../..//extensions/a11y/mathmaps/es/symbols/latin-upper-double-accent.js * * Copyright (c) 2009-2018 The MathJax Consortium * * 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 ...
GerHobbelt/MathJax
extensions/a11y/mathmaps/es/symbols/latin-upper-double-accent.js
JavaScript
apache-2.0
6,021
 using System; using System.Collections.Generic; using System.Text; using System.Data; using System.Linq; using System.Data.SqlClient; using Softv.Entities; using Softv.Providers; using SoftvConfiguration; using Globals; namespace Softv.DAO { /// <summary> /// C...
isfon/CallCenter
Encuestas/Softv/Softv.SQL/CiudadServidorData.cs
C#
apache-2.0
12,032
/* * 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 ...
pax95/camel
core/camel-management-api/src/main/java/org/apache/camel/api/management/mbean/CamelOpenMBeanTypes.java
Java
apache-2.0
15,425
/* * Copyright 2012 Open Source Robotics 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 applicab...
thomas-moulard/gazebo-deb
gazebo/common/Material.hh
C++
apache-2.0
8,040
from __future__ import division, print_function, absolute_import, unicode_literals import os from mog_commons.case_class import CaseClass from mog_commons.functional import omap from javactl.util import normalize_path class AppSetting(CaseClass): def __init__(self, name=None, home=None, jar=None, entry_point=Non...
mogproject/javactl
src/javactl/setting/app_setting.py
Python
apache-2.0
1,507
// Copyright 2016 The etcd 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 t...
mkumatag/etcd
integration/cluster.go
GO
apache-2.0
35,192
/* 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...
ahwxl/deep
src/main/java/org/activiti/engine/impl/RuntimeServiceImpl.java
Java
apache-2.0
19,618
/* * Copyright Siemens AG, 2014 * * 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, sof...
siemens/omniproperties
src/main/java/com/siemens/oss/omniproperties/builders/ExistingFile.java
Java
apache-2.0
1,314
package natlab.tame.valueanalysis.aggrvalue; import natlab.tame.valueanalysis.ValueSet; import natlab.tame.valueanalysis.components.constant.Constant; import natlab.tame.valueanalysis.components.isComplex.isComplexInfoFactory; import natlab.tame.valueanalysis.components.shape.ShapeFactory; import natlab.tame.valueanal...
Sable/mclab-core
languages/Natlab/src/natlab/tame/valueanalysis/aggrvalue/AggrValueFactory.java
Java
apache-2.0
2,482
package cc_messages import ( "encoding/json" "code.cloudfoundry.org/bbs/models" ) type StagingErrorID string const ( STAGING_ERROR StagingErrorID = "StagingError" INSUFFICIENT_RESOURCES StagingErrorID = "InsufficientResources" NO_COMPATIBLE_CELL StagingErrorID = "NoCompatibleCell" CELL_COMM...
cf-furnace/k8s-stager
vendor/code.cloudfoundry.org/runtimeschema/cc_messages/staging_messages.go
GO
apache-2.0
2,818
// Copyright 2007 The Closure Library 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 requ...
alex-popkov/zz.ui.mdl
lib/sources/controlrenderer.js
JavaScript
apache-2.0
5,156
/* * Copyright 2012 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 b...
bingo-open-source/bingo-core
core-lang/src/test/java/bingo/lang/DatesTest.java
Java
apache-2.0
2,905
/* * Copyright 2006-2016 Edward Smith * * 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...
macvelli/RootFramework
src/root/data/verifiction/DomainVerifier.java
Java
apache-2.0
4,412
// // PropManager.cpp // WittedMouse // // Created by wc on 15/2/25. // // #include "PropManager.h" #include "Prop.h" #include <stdio.h> bool PropManager::init() { if (!Sprite::init()) return false; fertilizers = PropContainer::createPropContainer(FERTILIZER); block = PropContainer::createPropContainer(BLOCK...
JieweiWei/TheWittyMouse
Classes/PropManager.cpp
C++
apache-2.0
3,814
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules #include "BlockID.h" #include "World.h" #include "ChunkDef.h" #include "ClientHandle.h" #include "Server.h" #include "Item.h" #include "Root.h" #include "IniFile.h" #include "ChunkMap.h" #include "Generating/ChunkDesc.h" #i...
linnemannr/MCServer
src/World.cpp
C++
apache-2.0
95,622
package org.shaolin.bmdp.runtime.ddc.client.api; /** * Created by lizhiwe on 4/5/2016. */ public interface DataAction { byte[] execute(ZData data); }
shaolinwu/uimaster
modules/runtime/src/main/java/org/shaolin/bmdp/runtime/ddc/client/api/DataAction.java
Java
apache-2.0
157
<?php namespace Swoft\Console; use Swoft\App; use Swoft\Console\Input\Input; use Swoft\Console\Output\Output; use Swoft\Console\Style\Style; use Swoft\Helper\PhpHelper; use Swoft\Web\ErrorHandler; /** * 命令行 * * @uses Application * @version 2017年10月06日 * @author stelin <phpcrazy@126.com> * @copyright ...
uhonliu/swoft
src/Console/Console.php
PHP
apache-2.0
7,314
package main import ( "fmt" "io/ioutil" "log" "mime" "net/http" "path/filepath" "github.com/gorilla/mux" ) func Index(w http.ResponseWriter, r *http.Request) { p, err := loadPage("single") if err != nil { panic(err) } fmt.Fprintf(w, string(p)) } func Monitor(w http.ResponseWriter, r *http.Request) { p...
Matius87/turbocam
frontend/handlers.go
GO
apache-2.0
890
package ch.uzh.ddis.katts.monitoring; import java.io.IOException; import java.util.ArrayList; import java.util.Collections; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import java.util.concurrent.atomic.AtomicBoolean; import org.apache.commons.lang.SerializationUtils; ...
uzh/katts
src/main/java/ch/uzh/ddis/katts/monitoring/TerminationMonitor.java
Java
apache-2.0
13,693
// 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...
jpeach/mesos
src/v1/resources.cpp
C++
apache-2.0
66,806
/* * Copyright 2013~2014 Dan Haywood * * 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...
mariannehagaseth/CreationToolEcompliance
fixture/src/main/java/org/isisaddons/wicket/summernote/fixture/dom/SummernoteEditorToDoItems.java
Java
apache-2.0
7,779
# -*- coding: utf-8 -*- # Copyright 2016 Yelp 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 ...
Yelp/kafka-utils
tests/kafka_cluster_manager/helper.py
Python
apache-2.0
1,295
# 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 applicable law or a...
jdanbrown/pydatalab
solutionbox/image_classification/mltoolbox/image/classification/_api.py
Python
apache-2.0
6,780
# Copyright 2011, OpenStack Foundation # Copyright 2012, Red Hat, Inc. # Copyright 2013 IBM 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/li...
stevelle/glance
glance/notifier.py
Python
apache-2.0
31,619
package weixin.popular.bean.paymch; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; @XmlRootElement(name = "xml") @XmlAccessorType(XmlAccessType.FIELD) public class ...
liyiorg/weixin-popular
src/main/java/weixin/popular/bean/paymch/MchOrderquery.java
Java
apache-2.0
2,181
/* * Copyright 2017 Niklas Persson * * 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 i...
equadon/intellij-mips
src/com/equadon/intellij/mips/lang/psi/impl/MipsElementImpl.java
Java
apache-2.0
987
package ru.greg3d.model; public class Film { private String id = ""; private String imdb = ""; private String title = ""; private String year = ""; private String notes = ""; private String duration = ""; private String rating = ""; public String getId() { return id; } public Film setId(String id) { t...
Greg3dot14D/PageObjectWithLocatorCorrector
src/main/java/ru/greg3d/model/Film.java
Java
apache-2.0
1,537
package uk.ac.ebi.subs.api.processors; import lombok.Data; import lombok.NonNull; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.data.rest.webmvc.support.RepositoryEntityLinks; import org.springframework.hateoas.Link; import org.springframework.hateoas.Resource; import org.springfr...
EMBL-EBI-SUBS/subs-api
src/main/java/uk/ac/ebi/subs/api/processors/SubmissionContentsProcessor.java
Java
apache-2.0
5,617
package com.way.util; import java.net.URLEncoder; import android.os.AsyncTask; import android.os.Handler; import android.text.TextUtils; import com.way.app.Application; import com.way.bean.City; import com.way.bean.WeatherInfo; import com.way.weather.MainActivity; public class GetWeatherTask extends AsyncTask<Void,...
Wodner/weather
src/com/way/util/GetWeatherTask.java
Java
apache-2.0
2,870
package com.simukappu.coherence.cachestore.spring.mybatis; /** * CacheStore implementation class integrated with Spring and MyBatis framework.<br> * This CacheStore is able to only write (insert or update) to database through * Coherence cache, not load or delete.<br> * * @author Shota Yamazaki */ publ...
simukappu/Coherence-tools
spring-mybatis-cachestore/src/main/java/com/simukappu/coherence/cachestore/spring/mybatis/SpringMyBatisCacheStoreWriteOnly.java
Java
apache-2.0
541
/** * Copyright (C) 2015 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...
alesj/kubernetes-client
openshift-client/src/main/java/io/fabric8/openshift/client/dsl/BuildConfigResource.java
Java
apache-2.0
1,276
/*! * SAP UI development toolkit for HTML5 (SAPUI5/OpenUI5) * (c) Copyright 2009-2015 SAP SE or an SAP affiliate company. * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. */ // Provides control sap.m.PagingButton. sap.ui.define(['jquery.sap.global', './Button', 'sap/ui/core/Control'], function ...
fconFGDCA/DetailCADA
resources/sap/m/PagingButton-dbg.js
JavaScript
apache-2.0
5,788
/* * 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 ...
acsukesh/java-chassis
service-registry/src/main/java/org/apache/servicecomb/serviceregistry/api/request/CreateServiceRequest.java
Java
apache-2.0
1,190
package pl.dzielins42.dmtools.calculator.building.model; public enum StyleType { INTERIOR, EXTERIOR; }
dzielins42/urban-bear
src/main/java/pl/dzielins42/dmtools/calculator/building/model/StyleType.java
Java
apache-2.0
108
require 'beaker-rspec' hosts.each do |host| install_package(host, 'wget') install_package(host, 'rsync') install_package(host, 'locales') create_remote_file host, '/etc/locale.gen', 'en_US.UTF-8 UTF-8' shell 'locale-gen' host.add_env_var('LANG', 'en_US.UTF-8') host.add_env_var('LANGUAGE', 'en_US.UTF-8')...
MrAlias/druid
spec/spec_helper_acceptance.rb
Ruby
apache-2.0
1,368
/* * Copyright 2012 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
dynamicguy/spring-data-solr
src/main/java/org/springframework/data/solr/repository/config/SolrRepositoryNamespaceHandler.java
Java
apache-2.0
2,030
// Copyright 2017 Foxysoft GmbH // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agre...
foxysoft/idm-connector-bobj
src/main/javascript/fx_IDSID.js
JavaScript
apache-2.0
1,139
/* Copyright (C) 2015 Preet Desai (preet.desai@gmail.com) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applic...
preet/ks_gl
ks/gl/KsGLTexture2D.cpp
C++
apache-2.0
10,908
/** * Copyright (C) 2013 * by 52 North Initiative for Geospatial Open Source Software GmbH * * Contact: Andreas Wytzisk * 52 North Initiative for Geospatial Open Source Software GmbH * Martin-Luther-King-Weg 24 * 48155 Muenster, Germany * info@52north.org * * This program is free software; you can r...
sauloperez/sos
src/core/api/src/main/java/org/n52/sos/ogc/om/OmConstants.java
Java
apache-2.0
8,069
package org.openntf.domino.graph2.impl; import java.util.Iterator; import org.openntf.domino.big.NoteCoordinate; import com.tinkerpop.blueprints.Vertex; public class DVertexIterable implements Iterable<Vertex> { public static class DVertexIterator implements Iterator<Vertex> { private final DElementStore element...
rPraml/org.openntf.domino
domino/graph/src/main/java/org/openntf/domino/graph2/impl/DVertexIterable.java
Java
apache-2.0
1,380