repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
mirams/opencor
src/misc/guiutils.cpp
1582
/******************************************************************************* Copyright The University of Auckland 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/lice...
apache-2.0
bartoszmajsak/arquillian-extension-persistence
core/src/main/java/org/jboss/arquillian/persistence/util/SecurityActions.java
12031
package org.jboss.arquillian.persistence.util; /* * JBoss, Home of Professional Open Source * Copyright 2009, Red Hat Middleware LLC, and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * Licensed under the Apache License...
apache-2.0
carnegiespeech/translations
zh_cn/moodle.php
107320
<?php // This file is part of Moodle - http://moodle.org/ // // Moodle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Moodle...
apache-2.0
ste69r/Biokanga
biokanga/SQLiteMarkers.cpp
44941
/* * CSIRO Open Source Software License Agreement (GPLv3) * Copyright (c) 2017, Commonwealth Scientific and Industrial Research Organisation (CSIRO) ABN 41 687 119 230. * See LICENSE for the complete license information (https://github.com/csiro-crop-informatics/biokanga/LICENSE) * Contact: Alex Whan <alex.whan@csi...
apache-2.0
consulo/consulo-java
java-execution-impl/src/main/java/com/intellij/execution/JavaRunConfigurationExtensionManager.java
1948
/* * Copyright 2000-2011 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
aesean/AndroidInject
injectlib/src/main/java/com/aesean/injectlib/ioc/annotation/EventUtils.java
1450
/* * Copyright (C) 2015. Aesean * * 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
WindowsInsiders/Website
app/person/index.js
270
"use strict"; function __export(m) { for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; } __export(require('./person-model.ts')); __export(require('./person.service.ts')); __export(require('./person.component.ts')); //# sourceMappingURL=index.js.map
apache-2.0
thedanfernandez/DockerCortanaClient
DockerCortanaClient/Docker.Universal/Models/CreateImageParameters.cs
515
namespace Docker.DotNet.Models { public class CreateImageParameters { [QueryStringParameter("fromImage", false)] public string FromImage { get; set; } [QueryStringParameter("repo", false)] public string Repo { get; set; } [QueryStringParameter("tag", false)] pu...
apache-2.0
FederatedAI/FATE
python/federatedml/framework/homo/blocks/aggregator.py
2559
# # Copyright 2019 The FATE 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 appli...
apache-2.0
pravega/pravega
bindings/src/main/java/io/pravega/storage/extendeds3/ExtendedS3StorageConfig.java
4435
/** * Copyright Pravega 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...
apache-2.0
bendavidson/graphhopper
core/src/test/java/com/graphhopper/reader/osm/conditional/ConditionalParserTest.java
2653
/* * Licensed to GraphHopper and Peter Karich under one or more contributor * license agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. * * GraphHopper licenses this file to you under the Apache License, * Version 2.0 (the "License"); yo...
apache-2.0
shagraths/LinaExpress
application/controllers/controllerAdmin.php
5338
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); class controllerAdmin extends CI_Controller { function __construct() { parent::__construct(); $this->load->model('modelo'); } //TODO SECTOR function cargar_ciudades() { $datos['ciudades'] = $this->m...
apache-2.0
garygunarman/firanew
admin/account/signin.php
4023
<?php function password($post_username, $post_password){ $conn = connDB(); $sql = "SELECT * FROM tbl_admin WHERE `username` = '$post_username' AND `password` = md5($post_password)"; $query = mysql_query($sql, $conn); $result = mysql_fetch_array($query); return $result; } function get_user...
apache-2.0
deephacks/confit
tck/src/main/java/org/deephacks/confit/test/ConfigTestData.java
26146
/** * 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 * d...
apache-2.0
nashvail/zulip-mobile
src/account-info/AccountDetails.js
3151
/* @flow */ import React, { PureComponent } from 'react'; import { StyleSheet, Text, View, Dimensions } from 'react-native'; import { Avatar, ZulipButton } from '../common'; import { BRAND_COLOR } from '../styles'; import { privateNarrow } from '../utils/narrow'; import UserStatusIndicator from '../common/UserStatusIn...
apache-2.0
Metaswitch/fuel-library
deployment/puppet/vmware/spec/defines/vmware_compute_ha_spec.rb
885
require 'spec_helper' describe 'vmware::compute::ha' do let(:title) { 'cluster1' } let(:params) { { :index => '0' } } it 'must create /etc/nova/nova-compute.d directory' do should contain_file('/etc/nova/nova-compute.d').with({ 'ensure' => 'directory', 'owner' => 'nova', 'group' => 'nov...
apache-2.0
MaferYangPointJun/Spring.net
test/Spring/Spring.Aop.Tests/Aop/Framework/CountingThrowsAdvice.cs
1301
#region License /* * Copyright © 2002-2005 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 * * Un...
apache-2.0
ampproject/amppackager
vendor/github.com/sacloud/libsacloud/sacloud/gslb.go
6603
// Copyright 2016-2020 The Libsacloud Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law...
apache-2.0
dmitrymex/oslo.messaging-check-tool
oslo_msg_check/client_app.py
1980
import eventlet eventlet.monkey_patch() import sys import threading import flask from flask import request from oslo_log import log from oslo_config import cfg import oslo_messaging as messaging opts = [ cfg.StrOpt('listen_port', help='Client app will listen for HTTP requests on that port', ...
apache-2.0
EvanMark/Spring-REST-API
src/main/java/mdx/gsd/dao/impl/SurveyBelbinDAOImpl.java
3107
package mdx.gsd.dao.impl; import mdx.gsd.dao.SurveyBelbinDAO; import mdx.gsd.data.model.SurveyBelbin; import org.apache.log4j.Logger; import org.hibernate.ObjectNotFoundException; import org.hibernate.Session; import org.hibernate.SessionFactory; import org.springframework.beans.factory.annotation.Autowired; import or...
apache-2.0
sabriarabacioglu/engerek
gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/workflow/PageWorkItem.java
37163
/* * Copyright (c) 2010-2013 Evolveum * * 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
EmaraLab/openvet
emareatech-lab/restful-services-layer/src/main/java/com/emaratech/services/models/package-info.java
566
@XmlJavaTypeAdapters({ @XmlJavaTypeAdapter(type=DateTime.class, value=JodaDateTimeAdapter.class), }) @XmlNameTransformer(DefaultNameGeneration.class) package com.emaratech.services.models; import com.emaratech.services.utils.DefaultNameGeneration; import com.emaratech.services.utils....
apache-2.0
sdinot/hipparchus
hipparchus-filtering/src/main/java/org/hipparchus/filtering/kalman/package-info.java
886
/* * Licensed to the Hipparchus project under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The Hipparchus project licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
apache-2.0
S3S3L/jdbc
src/main/java/com/s3s3l/jdbc/exec/enumerations/SqlExecuteType.java
477
/** * Project Name:jdbc * File Name:SqlExecuteType.java * Package Name:com.s3s3l.jdbc.exec.enumerations * Date:2016年7月15日下午1:36:01 * Copyright (c) 2016, kehw.zwei@gmail.com All Rights Reserved. * */ package com.s3s3l.jdbc.exec.enumerations; /** * ClassName:SqlExecuteType <br> * Date: 2016年7月15日 下午1:36:...
apache-2.0
brendandouglas/intellij
aswb/src/com/google/idea/blaze/android/sync/sdk/AndroidSdkFromProjectView.java
5172
/* * Copyright 2016 The Bazel 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 appl...
apache-2.0
alvaromarco/CleanArchitecturePlugin
resources/templates/ServiceCleanArch.java
592
#if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME};#end import ${PACKAGE_BASE_SERVICE}.${BASE_SERVICE}; import javax.inject.Inject; import retrofit2.http.GET; import retrofit2.http.Query; import rx.Observable; #parse("File Header.java") public class ${NAME} extends ${BASE_SERVICE} { ...
apache-2.0
LQJJ/demo
126-go-common-master/app/service/main/vip/model/oldvip.go
1949
package model import "go-common/library/time" //VipUserInfo vip_user_info table for vip java type VipUserInfo struct { ID int64 `json:"id"` Mid int64 `form:"mid" validate:"required" json:"mid"` VipType int32 `form:"vipType" json:"vipType"` VipStatus ...
apache-2.0
simark/lolc
ca/polymtl/lol/grammar/VisiteurDOTOutput.java
4278
package ca.polymtl.lol.grammar; import ca.polymtl.lol.LoopOperation; class VisiteurDOTOutput extends LOLVisitorBasic { public static void main(String[] args) throws Exception { LOL lol = new LOL(System.in); if (args.length > 0 && args[0].equals("debug")) { lol.setDebug(true); } SimpleNode n = lol.Start(...
apache-2.0
azkanurunala/bisabelajarNew
pages/call/layout/headerHalf.php
604
<section id="footer" class="header-call white-text"> <div class="dark-bg-darker"> <div class=" no-padding container"> <div class="text-left"> <div class="col-sm-12 col-md-1 text-left"> <img class="header-margin logo-small img-respons...
apache-2.0
camilesing/zstack
plugin/applianceVm/src/main/java/org/zstack/appliancevm/ApplianceVmCascadeExtension.java
32388
package org.zstack.appliancevm; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.transaction.annotation.Transactional; import org.zstack.core.cascade.AbstractAsyncCascadeExtension; import org.zstack.core.cascade.CascadeAction; import org.zstack.core.cascade.CascadeConstant; imp...
apache-2.0
BigFav/mathjs
lib/function/arithmetic/round.js
3751
'use strict'; module.exports = function (math) { var util = require('../../util/index'), BigNumber = math.type.BigNumber, Complex = require('../../type/Complex'), collection = require('../../type/collection'), isNumber = util.number.isNumber, isInteger = util.number.isInteger, i...
apache-2.0
blackcathacker/kc.preclean
coeus-code/src/main/java/org/kuali/coeus/common/framework/mail/KcEmailService.java
1216
/* * 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/ecl1.php * * Unless required by...
apache-2.0
moumie/Collatexserver
server/models/user.js
431
var mongoose = require("mongoose"); //mongoose.connect('mongodb://localhost:27017/demoDb'); var dbUrl= 'mongodb://localhost:27017/test'; mongoose.createConnection(dbUrl); // create instance of Schema var mongoSchema = mongoose.Schema; // create schema var userSchema = { "userEmail" : String, "u...
apache-2.0
akjava/gwt-three.js-test
src/com/akjava/gwt/three/client/java/bone/CloseVertexAutoWeight.java
2050
package com.akjava.gwt.three.client.java.bone; import com.akjava.gwt.lib.client.JavaScriptUtils; import com.akjava.gwt.three.client.js.core.Geometry; import com.akjava.gwt.three.client.js.math.Vector3; import com.akjava.gwt.three.client.js.math.Vector4; import com.google.gwt.core.client.JsArray; public class ...
apache-2.0
rehacktive/waspdb
waspdb/src/main/java/net/rehacktive/waspdb/internals/utils/Salt.java
290
package net.rehacktive.waspdb.internals.utils; /** * Created by stefano on 20/07/2015. */ public class Salt { private byte[] salt; public Salt() { } public Salt(byte[] salt) { this.salt = salt; } public byte[] getSalt() { return salt; } }
apache-2.0
jentfoo/aws-sdk-java
aws-java-sdk-glacier/src/main/java/com/amazonaws/services/glacier/model/transform/VaultAccessPolicyMarshaller.java
1962
/* * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
apache-2.0
BOXOUT-THINKERS/TiOpenChat
app/controllers/setting/banFriendManage.js
3930
var args = arguments[0] || {}; $.container.title = L('sb_banFriendTitle'); var Q = require('q'); var banContactsCol; ////////////// $.getView().addEventListener('open', function () { //fetch데이터가 불러온것만 들어가게됨. 그러니 새것으로 해야함 // Alloy.Globals.startWaiting('c_waitingMsgFriend'); // banContactsCol.defaultFetchData =...
apache-2.0
qamate/iOS-selenium-server
javascript/safari-driver/inject/commands/commands.js
16906
// Copyright 2012 Selenium committers // Copyright 2012 Software Freedom Conservancy // // 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 ...
apache-2.0
HackerPack/thePlaneteers
social-auth-examples/index.js
505
var express = require('express'); var app = express(); app.set('port', (process.env.PORT || 5000)); app.use(express.static(__dirname + '/public')); app.use(express.static(__dirname + '/lib')); // views is directory for all template files app.set('views', __dirname + '/views'); app.set('view engine', 'ejs'); app.get...
apache-2.0
google/jwt_verify_lib
test/verify_jwk_rsa_test.cc
12751
// Copyright 2018 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 w...
apache-2.0
ShinyTechTastic/EsthersGame
src/com/foo/esthersgame/MyGLRenderer.java
10192
package com.foo.esthersgame; /* * 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....
apache-2.0
usdot-jpo-ode/jpo-ode
jpo-ode-core/src/main/java/us/dot/its/jpo/ode/wrapper/WebSocketClient.java
1190
/******************************************************************************* * Copyright 2018 572682 * * 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.apac...
apache-2.0
lukin0110/poeditor-java
src/main/java/be/lukin/poeditor/exceptions/PermissionDeniedException.java
103
package be.lukin.poeditor.exceptions; public class PermissionDeniedException extends ApiException { }
apache-2.0
openstack/mistral
mistral/tests/unit/notifiers/test_notify.py
44129
# Copyright 2018 - Extreme Networks, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable l...
apache-2.0
thymeleaf/thymeleaf-spring
thymeleaf-spring6/src/main/java/org/thymeleaf/spring6/processor/SpringValueTagProcessor.java
4978
/* * ============================================================================= * * Copyright (c) 2011-2018, The THYMELEAF team (http://www.thymeleaf.org) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may ob...
apache-2.0
thirdy/TomP2P
core/src/main/java/net/tomp2p/message/Message.java
36683
/* * Copyright 2009 Thomas Bocek * * 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
rocketjob/iostreams
lib/io_streams/line/writer.rb
1744
module IOStreams module Line class Writer < IOStreams::Writer attr_reader :delimiter # Write a line at a time to a stream. def self.stream(output_stream, **args) # Pass-through if already a line writer return yield(output_stream) if output_stream.is_a?(self.class) yield...
apache-2.0
qingyuancloud/qingyuan
pkg/api/resource_helpers.go
1960
/* Copyright 2014 The QingYuan 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 agre...
apache-2.0
toger5/godotdevs-Forum
Themes/aldo/languages/ThemeStrings.english.php
308
<?php // Version: 2.0; Themes global $scripturl; $txt['facebook_url'] = 'Facebook URL'; $txt['twitter_url'] = 'Twitter URL'; $txt['google+_url'] = 'google+ URL'; $txt['rss_url'] = 'RSS URL'; $txt['maintenance'] = '(Maintenance)'; $txt['approval_member'] = 'Approval'; $txt['open_reports'] = 'Reports'; ?>
apache-2.0
niwasmala/alt-angularjs
dist/alt/store.js
456
alt.loader.store=function(){return"undefined"!=typeof alt.modules.store?alt.modules.store:(alt.modules.store=angular.module("alt-store",["angular-storage","ngCookies"]).factory("$store",["$log","store",function(e,o){return o.getNamespacedStore(alt.application)}]).run(["$rootScope","$store",function(e,o){e.$store=o}]),v...
apache-2.0
hortonworks/cloudbreak
custom-configurations-api/src/test/java/com/sequenceiq/cloudbreak/api/endpoint/requests/CustomConfigurationsV4RequestTest.java
2072
package com.sequenceiq.cloudbreak.api.endpoint.requests; import static org.junit.jupiter.api.Assertions.assertEquals; import java.util.Set; import javax.validation.ConstraintViolation; import com.sequenceiq.cloudbreak.api.endpoint.v4.requests.CustomConfigurationsV4Request; import org.hibernate.validator.HibernateV...
apache-2.0
steny138/TwssApi
quote/twse.py
371
#-*- coding: utf-8 -*- import json import flask from flask.ext import restful from twss import fetch_from_twse as twse from datetime import datetime , timedelta class TWSE_Quote(restful.Resource): def get(self, no, date): data = twse.QuoteStock(no, datetime.strptime(date, '%Y-%M-%d')).data result = [] for x in ...
apache-2.0
tumblr/jetpants
plugins/simple_tracker/lib/db.rb
1630
module Jetpants class DB def is_spare? Jetpants.topology.spares.include? self end def claim! spares = Jetpants.topology.spares.reject do |sp| self == (sp.is_a?(Hash) && sp['node'] ? sp['node'].to_db : sp.to_db) end Jetpants.topology.tracker.spares = spares Jetpants...
apache-2.0
act262/CustomView
app/src/main/java/com/github/act262/customview/view/GridsView.java
2043
package com.github.act262.customview.view; import android.annotation.TargetApi; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.os.Build; import android.util.AttributeSet; import android.view.View; /** * @author act262@gmail...
apache-2.0
raulnq/Jal.Aop
Jal.Aop.Aspects.Logger/Impl/DataContractSerializer.cs
677
using System.IO; using System.Text; namespace Jal.Aop.Aspects.Logger { public class DataContractSerializer : ISerializer { public string Serialize(object value) { using (var ms = new MemoryStream()) { var typeToSerialize = value.GetType(); ...
apache-2.0
ifzing/ceilometer-extended-monitor
neutron_client.py
803
from neutronclient.v2_0 import client as neutron_client class Client(object): def __init__(self): self.nets = neutron_client.Client( username='ceilometer',password='password', tenant_name='service',region_name='region_name', auth_url="http:/...
apache-2.0
longXboy/lunnel
server/serControl.go
20007
// Copyright 2017 longXboy, longxboyhi@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 applicable l...
apache-2.0
naterivah/dynaorm
src/main/java/be/bittich/dynaorm/maping/ReflectionMapper.java
2083
/* * Copyright 2014 Nordine. * * 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
openstack/castellan
castellan/common/objects/private_key.py
1996
# Copyright (c) 2015 The Johns Hopkins University/Applied Physics Laboratory # 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/...
apache-2.0
tensorflow/datasets
tensorflow_datasets/image_classification/dtd_test.py
951
# coding=utf-8 # Copyright 2022 The TensorFlow Datasets 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 appl...
apache-2.0
ringmaster217/galactic-media-server
src/main/java/gms/model/movies/Movie.java
8728
package gms.model.movies; import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Comparator; import java.util.LinkedList; import java.util.List; import gms.model.MediaItem; import gms.model.moviedb.movie.MovieDbMovie; import gms.model.moviedb.movie.MovieDbMovieGenre; import gms.model.moviedb.m...
apache-2.0
volodymyrpavlenko/muon-java
muon-transport-amqp/src/main/java/io/muoncore/extension/amqp/QueueListener.java
3934
package io.muoncore.extension.amqp; import com.rabbitmq.client.Channel; import com.rabbitmq.client.ConsumerCancelledException; import com.rabbitmq.client.QueueingConsumer; import com.rabbitmq.client.ShutdownSignalException; import io.muoncore.Muon; import io.muoncore.transport.MuonMessageEvent; import io.muoncore.tran...
apache-2.0
gawkermedia/googleads-java-lib
modules/dfp_appengine/src/main/java/com/google/api/ads/dfp/jaxws/v201602/DaypartPremiumFeature.java
904
package com.google.api.ads.dfp.jaxws.v201602; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlType; /** * * A premium feature applied to daypart targeting. * * * <p>Java class for DaypartPremiumFeatur...
apache-2.0
BerlinUnited/webspark
webspark/lib/three/js/loaders/OBJMTLLoader.js
8701
/** * Loads a Wavefront .obj file with materials * * @author mrdoob / http://mrdoob.com/ * @author angelxuanchang */ THREE.OBJMTLLoader = function (materialBaseUrl, textureBaseUrl) { this.materialBaseUrl = materialBaseUrl; this.textureBaseUrl = textureBaseUrl; }; THREE.OBJMTLLoader.prototype = { constructor...
apache-2.0
a156845044/BrilliantSDK
trunk/Brilliant.Web.UI/Properties/AssemblyInfo.cs
1338
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的常规信息通过以下 // 特性集控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("Brilliant.Web.UI")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Microsoft")] [as...
apache-2.0
SudhersonV/DotNetRoot
SampleCode/SignalRChat/Properties/AssemblyInfo.cs
1358
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("Si...
apache-2.0
umuzungu/zipline
tests/pipeline/test_buyback_auth.py
5592
""" Tests for the reference loader for Buyback Authorizations. """ import blaze as bz from blaze.compute.core import swap_resources_into_scope import pandas as pd from six import iteritems from zipline.pipeline.common import( BUYBACK_AMOUNT_FIELD_NAME, BUYBACK_ANNOUNCEMENT_FIELD_NAME, BUYBACK_TYPE_FIELD_NA...
apache-2.0
IHTSDO/OTF-User-Module
security/src/main/java/org/ihtsdo/otf/security/UserSecurityModel.java
2612
package org.ihtsdo.otf.security; import java.util.Collection; import java.util.List; import java.util.Map; import org.ihtsdo.otf.security.dto.OtfAccount; import org.ihtsdo.otf.security.dto.OtfAccountMin; import org.ihtsdo.otf.security.dto.OtfApplication; import org.ihtsdo.otf.security.dto.OtfDirectory; import org.iht...
apache-2.0
ntt-sic/glance
glance/common/property_utils.py
6833
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright 2013 Rackspace # # 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 # # ...
apache-2.0
trycoon/JEL
jel-server/src/main/java/se/liquidbytes/jel/system/package-info.java
208
@ModuleGen(name = "jelservice", groupPackage = "se.liquidbytes.jel") package se.liquidbytes.jel.system; // This file is needed for Vert.x Service-Proxy to work. import io.vertx.codegen.annotations.ModuleGen;
apache-2.0
EnMasseProject/enmasse
vendor/github.com/99designs/gqlgen/graphql/executable_schema.go
4016
//go:generate go run github.com/matryer/moq -out executable_schema_mock.go . ExecutableSchema package graphql import ( "context" "fmt" "github.com/vektah/gqlparser/v2/ast" ) type ExecutableSchema interface { Schema() *ast.Schema Complexity(typeName, fieldName string, childComplexity int, args map[string]inter...
apache-2.0
CMTelecom/kafka-net
src/Kafka/Kafka.Tests/Integration/AutoOffsetResetTest.cs
4230
using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using Kafka.Client.Consumers; using Kafka.Client.Producers; using Kafka.Client.Serializers; using Kafka.Client.Utils; using Kafka.Tests.Custom.Server; using Kafka.Tests.Utils; using log4net; using Xunit; namespace Kafka.T...
apache-2.0
vladisav/ignite
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtTxLocalAdapter.java
28018
/* * 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
btcontract/wallet
app/src/main/java/immortan/sqlite/SQLiteLNUrlPay.scala
2448
package immortan.sqlite import java.lang.{Long => JLong} import immortan.utils.ImplicitJsonFormats._ import immortan.{ChannelMaster, LNUrlDescription, LNUrlPayLink} import spray.json._ class SQLiteLNUrlPay(db: DBInterface) { def updDescription(description: LNUrlDescription, domain: String, pay: String): Unit = db...
apache-2.0
deleet/couchbase-lite-java-core
src/main/java/com/couchbase/lite/support/RemoteRequestCompletionBlock.java
148
package com.couchbase.lite.support; public interface RemoteRequestCompletionBlock { public void onCompletion(Object result, Throwable e); }
apache-2.0
synyx/minos
archetypes/application/src/main/resources/archetype-resources/src/main/java/SampleLifecycle.java
1484
#set( $symbol_pound = '#' ) #set( $symbol_dollar = '$' ) #set( $symbol_escape = '\' ) package ${package}; import org.springframework.core.annotation.Order; import org.springframework.util.Assert; import org.synyx.minos.core.domain.Role; import org.synyx.minos.core.domain.User; import org.synyx.minos.core.module.Modu...
apache-2.0
ms123s/simpl4-src
bundles/exporting/src/main/java/org/ms123/common/exporting/BaseExportingServiceImpl.java
7582
/** * This file is part of SIMPL4(http://simpl4.org). * * Copyright [2017] [Manfred Sattler] <manfred@ms123.org> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.ap...
apache-2.0
fjoglar/ETSIT-News
app/src/main/java/com/fjoglar/etsitnoticias/presenter/NewsListPresenter.java
8865
/* * Copyright (C) 2016 Felipe Joglar Santos * * 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
alien11689/sputnik
src/test/java/pl/touk/sputnik/connector/gerrit/GerritFacadeExceptionTest.java
1166
package pl.touk.sputnik.connector.gerrit; import com.google.gerrit.extensions.api.GerritApi; import com.google.gerrit.extensions.api.changes.Changes; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; import...
apache-2.0
vespa-engine/vespa
document/src/main/java/com/yahoo/vespaxmlparser/DocumentUpdateFeedOperation.java
739
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespaxmlparser; import com.yahoo.document.DocumentUpdate; import com.yahoo.document.TestAndSetCondition; public class DocumentUpdateFeedOperation extends ConditionalFeedOperation { private fi...
apache-2.0
Contezero74/cloudapp-mp2
PopularityLeague.java
8808
import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.conf.Configured; import org.apache.hadoop.fs.FSDataInputStream; import org.apache.hadoop.fs.FileSystem; import org.apache.hadoop.fs.Path; import org.apache.hadoop.io.ArrayWritable; import org.apache.hadoop.io.IntWritable; import org.apache.hadoop.io....
apache-2.0
jorik041/plaso
plaso/parsers/mac_securityd.py
8868
# -*- coding: utf-8 -*- """This file contains the ASL securityd log plaintext parser.""" import datetime import logging import pyparsing from plaso.events import time_events from plaso.lib import eventdata from plaso.lib import timelib from plaso.parsers import manager from plaso.parsers import text_parser __autho...
apache-2.0
unibas-gravis/scalismo-faces
src/main/scala/scalismo/faces/image/filter/SeparableMorphologicalFilter.scala
2520
/* * Copyright University of Basel, Graphics and Vision Research Group * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless ...
apache-2.0
FMplus/secminer
src/sellergoodsinfo.php
3203
<?php session_start(); include_once("goods_info_class.php"); $PAGE_MAX_NUM = 10; $PAGE_ID = 0; $MAX_PAGE_ID = 7; /*Default Page is zero!*/ if(isset($_GET['page'])){ $PAGE_ID = (integer)($_GET['page']); } if(isset($_SESSION['id'])){ $sid = $_SESSION['id']; $goods_d...
apache-2.0
StratusLab/use-cases
src/main/python/stratuslab_usecases/api/testBasicVmLifecycleCernVM.py
265
import unittest import BasicVmLifecycleTestBase class testBasicVmLifecycle(BasicVmLifecycleTestBase.BasicVmLifecycleTestBase): vmName = 'cernvm' timeout = 20*60 def suite(): return unittest.TestLoader().loadTestsFromTestCase(testBasicVmLifecycle)
apache-2.0
Mogztter/kafka-manager
app/kafka/manager/KafkaManagerActor.scala
25487
/** * Copyright 2015 Yahoo Inc. Licensed under the Apache License, Version 2.0 * See accompanying LICENSE file. */ package kafka.manager import java.nio.charset.StandardCharsets import java.util.concurrent.{LinkedBlockingQueue, TimeUnit, ThreadPoolExecutor} import akka.pattern._ import akka.actor.{Props, ActorPat...
apache-2.0
joewalnes/idea-community
plugins/git4idea/src/git4idea/changes/ChangeCollector.java
12393
/* * Copyright 2000-2009 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
jkdcdlly/zipkin
zipkin-hbase/src/test/scala/com/twitter/zipkin/storage/hbase/HBaseSpanStoreSpec.scala
6570
package com.twitter.zipkin.storage.hbase import com.twitter.zipkin.Constants import com.twitter.zipkin.common.{Annotation, Span, Endpoint} import com.twitter.zipkin.hbase.TableLayouts import com.twitter.zipkin.storage.hbase.mapping.ServiceMapper import com.twitter.zipkin.storage.hbase.utils.{HBaseTable, IDGenerator} ...
apache-2.0
n2hsu/Nii-Launcher
src/com/google/protobuf/FieldSet.java
29379
// Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // http://code.google.com/p/protobuf/ // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistri...
apache-2.0
SoulBeaver/i-hate-rectangles
IHateRectangles/IHateRectangles/Components/ColorComponent.cs
295
using Artemis; using Microsoft.Xna.Framework; namespace IHateRectangles.Components { public class ColorComponent : ComponentPoolable { public Color Color { get; private set; } public ColorComponent(Color color) { Color = color; } } }
apache-2.0
kryptnostic/rhizome
src/test/java/com/geekbeast/rhizome/tests/bootstrap/RhizomeTests.java
7781
package com.geekbeast.rhizome.tests.bootstrap; import com.fasterxml.jackson.databind.ObjectMapper; import com.geekbeast.rhizome.hazelcast.pods.TestSharedStreamSerializersPod; import com.geekbeast.rhizome.tests.authentication.Auth0SecurityTestPod; import com.geekbeast.rhizome.tests.configurations.TestConfiguration; imp...
apache-2.0
kunalkushwaha/containerd
vendor/github.com/containerd/cri/pkg/server/image_status.go
3209
/* Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, ...
apache-2.0
landeeyo/PizzaOrdering
Landeeyo.Pizza.DataAccess/Migrations/201405041219279_AddedSoftDeleteToSomeEntities.cs
1114
namespace Landeeyo.Pizza.DataAccessLayer.Migrations { using System; using System.Data.Entity.Migrations; public partial class AddedSoftDeleteToSomeEntities : DbMigration { public override void Up() { AddColumn("dbo.Pizza", "CreateDate", c => c.DateTime()); Ad...
apache-2.0
termsuite/termsuite-core
src/main/java/fr/univnantes/termsuite/engines/splitter/CompostIndexEntry.java
2153
/******************************************************************************* * Copyright 2015-2016 - CNRS (Centre National de Recherche Scientifique) * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for ad...
apache-2.0
UltraCart/rest_api_v2_sdk_csharp
src/com.ultracart.admin.v2/Model/AffiliateLedgerQuery.cs
8478
/* * UltraCart Rest API V2 * * UltraCart REST API Version 2 * * OpenAPI spec version: 2.0.0 * Contact: support@ultracart.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using System; using System.Linq; using System.IO; using System.Text; using System.Text.RegularExpressions; using Sy...
apache-2.0
afaucher/see-the-dark
core/src/com/beanfarmergames/seethedark/game/Emission.java
443
package com.beanfarmergames.seethedark.game; import com.badlogic.gdx.math.Vector2; //Immutable public class Emission { public Vector2 source = null; public Vector2 dest = null; public float power = 0; // TODO: In the future we would want things like 'spectrum' here public Emission(Vector2 source...
apache-2.0
rjptegelaar/liquid-os
src/main/java/com/pte/liquid/Liquid.java
2745
//Copyright 2015 Paul Tegelaar // //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
markjolah/MexIFace
test/VMC_IFace.cpp
6735
/** @file TestArmadilloIFace.cpp * @author Mark J. Olah (mjo\@cs.unm.edu) * @date 2018-2019 */ #include <omp.h> #include <functional> #include "TestArmadillo.h" #include "MexIFace/MexIFace.h" /* vector, matrix, cube test */ class TestVMC { public: using VecT = arma::Col<double>; using MatT = arma::Mat<dou...
apache-2.0
UXAspects/UXAspects
docs/app/pages/components/components-sections/input-controls/checkbox/snippets/app.ts
327
import { Component } from '@angular/core'; @Component({ selector: 'app', templateUrl: './app.component.html' }) export class AppComponent { checkModel = { option1: true, option2: false, option3: false, option4: false }; indeterminateValue = -1; disableCheck = fa...
apache-2.0
dheraclio/dependometer
dependometer-core/src/main/java/com/valtech/source/dependometer/app/controller/layer/DispatcherLayerCycleParticipationCollectedEvent.java
683
// GENERATED FILE! // VERSION-INFO: com.valtech.source.ag.evf.codegen.Dispatcher // DATE/TIME-INFO: 17.05.04 09:36:43 package com.valtech.source.dependometer.app.controller.layer; import com.valtech.source.ag.evf.Dispatcher; import com.valtech.source.ag.evf.EventIf; final class DispatcherLayerCycleParticipa...
apache-2.0