repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
duncte123/Dunctebot-website
includes/db.php
911
<?php /** * Copyright 2017-2018 Duncan "duncte123" Sterken * * 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
RepIR/RepIR
src/main/java/io/github/repir/Repository/ModelParameters.java
4324
package io.github.repir.Repository; import java.util.Map; import java.util.TreeMap; import io.github.repir.Repository.ModelParameters.File; import io.github.repir.Repository.ModelParameters.Record; import io.github.htools.io.Datafile; import io.github.htools.io.struct.StructuredFileKeyValue; import io.github.htools.io...
apache-2.0
cmbasnett/mandala
engine/src/input_event_flags.hpp
734
// naga #include "types.hpp" // stl #include <iostream> namespace naga { typedef u8 InputEventFlagsType; enum : InputEventFlagsType { // TODO: this got messed up, they map directly to GLFW flags INPUT_EVENT_FLAG_SHIFT = (1 << 0), INPUT_EVENT_FLAG_CTRL = (1 << 1), INPUT_EVENT_FLAG_ALT = (1 << 2), INPUT_...
apache-2.0
citlab/Intercloud
xmpp-client/src/main/java/de/tu_berlin/cit/intercloud/xmpp/client/service/impl/XmppService.java
5191
package de.tu_berlin.cit.intercloud.xmpp.client.service.impl; import de.tu_berlin.cit.intercloud.xmpp.client.service.IXmppConnectionManager; import de.tu_berlin.cit.intercloud.xmpp.client.extension.GetXwadlIQ; import de.tu_berlin.cit.intercloud.xmpp.client.extension.RestIQ; import de.tu_berlin.cit.intercloud.xmpp.clie...
apache-2.0
scottlepp/navigo
app/common/security/auth-service.js
7716
'use strict'; angular.module('voyager.security'). factory('authService', function ($http, config, $q) { var observers = []; var errorCallback; var authCallback; var loggedIn = false; var permissions = {}; var _user; var _groups = []; var _sso = true;...
apache-2.0
OpenHFT/Chronicle-Queue
src/test/java/net/openhft/chronicle/queue/WriteBytesTest.java
60431
/* * Copyright 2016-2020 https://chronicle.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.org/licenses/LICENSE-2.0 * * Unless required by appl...
apache-2.0
kfmaster/cicdlab
modules/docker-roundcubemail/program/js/app.js
258944
/** * Roundcube Webmail Client Script * * This file is part of the Roundcube Webmail client * * @licstart The following is the entire license notice for the * JavaScript code in this file. * * Copyright (C) 2005-2014, The Roundcube Dev Team * Copyright (C) 2011-2014, Kolab Systems AG * * The JavaScript code...
apache-2.0
ostap0207/remotify.me
remotify.common/src/main/java/messages/device/FileListMessage.java
410
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package messages.device; import entities.File; /** * * @author Ostap */ public class FileListMessage extends CommandMessage{ //in public String dirPath; //out public File[] files; @Ove...
apache-2.0
chonton/apm-client
client/src/test/java/org/honton/chas/datadog/apm/cdi/TracerTest.java
560
package org.honton.chas.datadog.apm.cdi; import org.honton.chas.datadog.apm.SpanBuilder; import org.junit.Assert; import org.junit.Before; import org.junit.Test; public class TracerTest { private TracerTestImpl tracer; @Before public void setupTracer() { tracer = new TracerTestImpl(); } @Test publi...
apache-2.0
keepcosmos/beanmother
beanmother-core/src/main/java/io/beanmother/core/mapper/MapperMediator.java
488
package io.beanmother.core.mapper; /** * Mediator for {@link FixtureMapper}. * * Generally, FixtureMapper has a {@link FixtureConverter} and FixtureConverter has a FixtureMapper. * MapperMediator solves circular reference problem between FixtureMapper and FixtureConverter. */ public interface MapperMediator { ...
apache-2.0
ankurkotwal/making-apps-beautiful
XYZReader_CP1/src/main/java/com/example/xyzreader/cp1/ArticleListFragment.java
9181
/* * Copyright 2013 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 applicab...
apache-2.0
dpflower/dptools
DP/Core/DP/Common/ByteHelper.cs
2552
using System; using System.Collections.Generic; using System.Text; namespace DP.Common { public class ByteHelper { /// <summary> /// 合并字节数组 /// Merges the specified source array. /// </summary> /// <param name="sourceArray">The source array.</param> /// <param n...
apache-2.0
nus-ncl/services-in-one
common/src/main/java/sg/ncl/common/exception/base/ForbiddenException.java
348
package sg.ncl.common.exception.base; import org.springframework.http.HttpStatus; import org.springframework.web.bind.annotation.ResponseStatus; /** * @author Te Ye */ @ResponseStatus(HttpStatus.FORBIDDEN) public class ForbiddenException extends RuntimeException { public ForbiddenException() { super("P...
apache-2.0
bavuongco10/react-native-school-board
js/components/detailsMiniPoster/styles.js
956
import React from 'react-native'; const { StyleSheet } = React; export default StyleSheet.create ({ cardContainer: { flex: 1, position: 'absolute', top: 200, right: 16, left: 16, flexDirection: 'row' }, cardImage: { height: 184, width: 135, borderRadius: 3 }, cardDetails...
apache-2.0
googleapis/google-auth-library-nodejs
samples/adc.js
1232
// 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 // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in wr...
apache-2.0
AzuraCast/AzuraCast
src/Entity/Api/StationRemote.php
1976
<?php declare(strict_types=1); namespace App\Entity\Api; use App\Entity\Api\Traits\HasLinks; use App\Traits\LoadFromParentObject; use OpenApi\Attributes as OA; #[OA\Schema( schema: 'Api_StationRemote', type: 'object' )] class StationRemote { use LoadFromParentObject; use HasLinks; #[OA\Property...
apache-2.0
aws/aws-sdk-java
aws-java-sdk-pinpointemail/src/main/java/com/amazonaws/services/pinpointemail/model/MailFromAttributes.java
21772
/* * 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...
apache-2.0
erdi/grails-core
grails-hibernate/src/main/groovy/org/codehaus/groovy/grails/orm/hibernate/support/HibernateDialectDetectorFactoryBean.java
3873
/* * Copyright 2004-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 * * Unless required by ap...
apache-2.0
WestCoastInformatics/OTF-Mapping-Service
webapp/src/main/webapp/js/widgets/projectDetails/projectDetails.js
59010
'use strict'; angular.module('mapProjectApp.widgets.projectDetails', [ 'adf.provider' ]).config( function(dashboardProvider) { dashboardProvider.widget('projectDetails', { title : 'Project Details', description : 'Displays details for a specific map project.', templateUrl : 'js/widgets/projectD...
apache-2.0
lenicliu/spring-boot
spring-boot-samples/spring-boot-sample-hypermedia-jpa/src/test/java/sample/hypermedia/jpa/SampleHypermediaJpaApplicationTests.java
1130
/* * Copyright 2012-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
apache-2.0
qobel/esoguproject
spring-framework/spring-web/src/test/java/org/springframework/http/HttpHeadersTests.java
9305
/* * Copyright 2002-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 ap...
apache-2.0
zyj1609wz/AndroidFilePreferences
filePreferences/src/main/java/com/zyj/filepreferences/lib/util/LogUtil.java
2811
package com.zyj.filepreferences.lib.util; import android.util.Log; /** * Created by ${zyj} on 2016/9/2. */ public class LogUtil { /** * true: open all log * false: close all log */ private static boolean OPEN_LOG = false ; /** * TAG 名称 */ private static String tag = "fileP...
apache-2.0
nuwand/carbon-apimgt
components/apimgt/org.wso2.carbon.apimgt.rest.api.admin.v1/src/main/java/org/wso2/carbon/apimgt/rest/api/admin/v1/impl/ApplicationsApiServiceImpl.java
6062
/* * Copyright (c) 2020, WSO2 Inc. (http://www.wso2.org) 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 * * ...
apache-2.0
mdavid/SuperSocket
mainline/Common/Logging/Log4NetLog.cs
14921
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace SuperSocket.Common.Logging { /// <summary> /// Log4NetLog /// </summary> public class Log4NetLog : ILog { private log4net.ILog m_Log; /// <summary> /// Initialize...
apache-2.0
tscjavawg/S00Common
src/main/resources/jp/co/tokaisoftware/form/S100A020Form.java
714
/* * Copyright 2004-2008 the Seasar Foundation and the Others. * * 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
Meisolsson/GitHubSdk
library/src/main/java/com/meisolsson/githubsdk/model/request/pull_request/EditPullRequest.java
1710
/* * Copyright 2015 Henrik Olsson * * 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
cadeeper/my-spring
src/main/java/indi/nut/myspring/web/servlet/handler/AbstractHandlerMapping.java
1657
package indi.nut.myspring.web.servlet.handler; import indi.nut.myspring.ioc.context.support.ApplicationObjectSupport; import indi.nut.myspring.util.PathMatcher; import indi.nut.myspring.util.TruePathMatcher; import indi.nut.myspring.web.servlet.HandlerExecutionChain; import indi.nut.myspring.web.servlet.HandlerMapping...
apache-2.0
sibvisions/jvx.spring.security
jvx-spring-security-client/src/main/java/com/sibvisions/auth/spring/SpringAuthenticator.java
1807
/* * Copyright 2015 SIB Visions 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 ...
apache-2.0
j-coll/opencga
opencga-storage/opencga-storage-mongodb/src/main/java/org/opencb/opencga/storage/mongodb/variant/adaptors/VariantMongoDBAdaptor.java
68984
/* * Copyright 2015-2017 OpenCB * * 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
aliayhan/todomanager
src/main/java/com/todomanager/package-info.java
133
/** * This is the root package of the demo application "ToDo Manager". * * @author Ayhan Dardagan * */ package com.todomanager;
apache-2.0
applyke/zebro
module/Application/src/Application/Entity/Issue.php
2179
<?php namespace Application\Entity; use Doctrine\ORM\Mapping as ORM; /** * @ORM\Entity(repositoryClass="Application\Repository\IssueRepository")) * @ORM\HasLifecycleCallbacks * @ORM\Table(name="`issue`") */ class Issue extends EntityAbstract { /** * @ORM\Id * @ORM\GeneratedValue(strategy="AUTO") ...
apache-2.0
open-power/eCMD
dllNetwork/server/BrkptInstruction.C
17693
//IBM_PROLOG_BEGIN_TAG /* * Copyright 2019 IBM International Business Machines 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 *...
apache-2.0
mpeuster/son-emu
src/emuvim/api/openstack/helper.py
1433
# Copyright (c) 2015 SONATA-NFV and Paderborn University # 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 re...
apache-2.0
openstack/networking-plumgrid
networking_plumgrid/neutron/plugins/db/policy/policy_rule_db.py
17117
# 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
didclab/onedatashare
src/main/java/org/onedatashare/server/module/vfs/VfsSession.java
5320
/** ##************************************************************** ## ## Copyright (C) 2018-2020, OneDataShare Team, ## Department of Computer Science and Engineering, ## University at Buffalo, Buffalo, NY, 14260. ## ## Licensed under the Apache License, Version 2.0 (the "License"); you ## may not use this ...
apache-2.0
moosbusch/xbLIDO
src/net/opengis/gml/ObservationType.java
9850
/* * Copyright 2013 Gunnar Kappei. * * 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
jpallas/beakerx
js/notebook/test/src/tableDisplay/dataGrid/highlighter/ValuesHighlighter.spec.ts
2344
/* * Copyright 2017 TWO SIGMA OPEN SOURCE, 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 appl...
apache-2.0
suited/suited.js
src/main/assets/js/plugins/modes/builtins/lecture/index.js
5938
/** * @Author: Roberts Karl <Karl_Roberts> * @Date: 2016-Aug-02 * @Project: suited * @Last modified by: robertk * @Last modified time: 2016-Aug-15 * @License: Copyright 2016 Karl Roberts <karl.roberts@owtelse.com> and Dirk van Rensburg <dirk.van.rensburg@gmail.com> Licensed under the Apache License, Version 2.0...
apache-2.0
Xmaoyh/TC1.0
app/src/main/java/com/example/tcwl_manage/models/enties/TabEntity.java
696
package com.example.tcwl_manage.models.enties; import com.flyco.tablayout.listener.CustomTabEntity; public class TabEntity implements CustomTabEntity { public String title; public int selectedIcon; public int unSelectedIcon; public TabEntity(String title, int selectedIcon, int unSelectedIcon) { ...
apache-2.0
lslluks/projetoteste
src/br/com/hdev/exceptions/DBCommitException.java
870
package br.com.hdev.exceptions; /** * Classe que herda de Exception, responsável pelo tratamento de exceções do Banco de Dados. * @author HDEV * */ public class DBCommitException extends Exception { public DBCommitException() { super(); // TODO Auto-generated constructor stub } public DBCommitException(St...
apache-2.0
HuangLS/neo4j
community/server/src/test/java/org/neo4j/server/webadmin/rest/ConfigureEnabledManagementConsolesDocIT.java
2449
/* * Copyright (c) 2002-2018 "Neo Technology," * Network Engine for Objects in Lund AB [http://neotechnology.com] * * This file is part of Neo4j. * * Neo4j 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 Foundatio...
apache-2.0
jkulabuha/akulabuhov
chapter_001/src/main/java/ru/job4j/loop/package-info.java
137
/** * Package for Counter. * * @author akulabuhov (mailto:jkulabuha@yandex.ru) * @version 1 * @since 30.07.2017 */ package ru.job4j.loop;
apache-2.0
isper3at/incubator-rya
common/rya.api/src/test/java/mvm/rya/api/resolver/impl/DoubleRyaTypeResolverTest.java
1560
package mvm.rya.api.resolver.impl; /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, ...
apache-2.0
UltraCart/rest_api_v2_sdk_csharp
src/com.ultracart.admin.v2/Model/PaymentsThemeTransactionType.cs
7166
/* * 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
zouzhberk/ambaridemo
demo-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/hdfs_datanode.py
2877
""" 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 use this ...
apache-2.0
slamdata/slamengine
impl/src/test/scala/quasar/impl/datasources/middleware/ConditionReportingMiddlewareSpec.scala
3157
/* * Copyright 2014–2018 SlamData 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 agr...
apache-2.0
raviprakashgiri/Internship_Portal
src/com/iit/commons/Commons.java
219
/*Author Priyanka & Ravi */ package com.iit.commons; import java.sql.Date; public class Commons { public static Date stringToSqlDate(String date){ Date sql = java.sql.Date.valueOf(date); return sql; } }
apache-2.0
yintaoxue/read-open-source-code
kettle4.3/src/org/pentaho/di/trans/steps/sql/ExecSQLMeta.java
16547
/******************************************************************************* * * Pentaho Data Integration * * Copyright (C) 2002-2012 by Pentaho : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version 2.0 (the ...
apache-2.0
jterry75/Docker.DotNet
src/Docker.DotNet/Models/PluginConfig.Generated.cs
1738
using System.Collections.Generic; using System.Runtime.Serialization; namespace Docker.DotNet.Models { [DataContract] public class PluginConfig // (types.PluginConfig) { [DataMember(Name = "Args", EmitDefaultValue = false)] public PluginConfigArgs Args { get; set; } [DataMember(Nam...
apache-2.0
corestoreio/csfw
net/geoip/backendgeoip/doc.go
747
// Copyright 2015-present, Cyrill @ Schumacher.fm and the CoreStore contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // //...
apache-2.0
cexbrayat/camel
camel-core/src/main/java/org/apache/camel/management/mbean/ManagedConsumer.java
1774
/** * 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
dbflute-test/dbflute-test-dbms-oracle
src/main/java/org/docksidestage/oracle/dbflute/bsbhv/loader/LoaderOfSummaryMemberPurchase.java
2487
package org.docksidestage.oracle.dbflute.bsbhv.loader; import java.util.List; import org.dbflute.bhv.*; import org.docksidestage.oracle.dbflute.exbhv.*; import org.docksidestage.oracle.dbflute.exentity.*; /** * The referrer loader of (会員購入さまりまてびゅー)SUMMARY_MEMBER_PURCHASE as TABLE. <br> * <pre> * [primary key] * ...
apache-2.0
TomRoush/PdfBox-Android
library/src/main/java/com/tom_roush/pdfbox/rendering/Type1Glyph2D.java
2897
/* * 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
khadgarmage/khadgarmage.github.io
site_config/site.js
5888
// 全局的一些配置 export default { rootPath: '/web_site', // 发布到服务器的根目录,需以/开头但不能有尾/,如果只有/,请填写空字符串 port: 8080, // 本地开发服务器的启动端口 domain: 'khadgarmage.github.io', // 站点部署域名,无需协议和path等 defaultSearch: 'google', // 默认搜索引擎,baidu或者google defaultLanguage: 'en-us', 'en-us': { pageMenu: [ { key: 'home', // 用...
apache-2.0
tokings/loganalysis
loganalysis.webapp-0.1.1/src/main/webapp/js/page/history/txnplte.js
9436
/** * @author tdz * @date 2017年3月20日 下午4:42:32 * */ var db = CONSTANTS.stat.indice || 'stat_info'; var table = CONSTANTS.stat.table || 'STAT_DATA'; var pageNo = CONSTANTS.pageNo || 1; var pageSize = CONSTANTS.pageSize || 15; var queryRecentDataMinutes = CONSTANTS.queryRecentDataMinutes || 10; $(document).ready(fu...
apache-2.0
nandakishorm/batatebeta
src/test/java/com/kishor/batatebeta/BatatebetaApplicationTests.java
513
package com.kishor.batatebeta; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.test.context.web.WebAppConfiguration; import org.springframework.boot.test.SpringApplicationConfiguration; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @RunWith(SpringJUnit4Clas...
apache-2.0
tempbottle/copycat
server/src/main/java/net/kuujo/copycat/raft/protocol/request/LeaveRequest.java
4096
/* * Copyright 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 applicable l...
apache-2.0
lesaint/experimenting-annotation-processing
experimenting-rounds/massive-count-of-annotated-classes/src/main/java/fr/javatronic/blog/massive/annotation1/sub1/Class_4125.java
151
package fr.javatronic.blog.massive.annotation1.sub1; import fr.javatronic.blog.processor.Annotation_001; @Annotation_001 public class Class_4125 { }
apache-2.0
OpenXIP/xip-libraries
src/database/core/SoXipLazyGroup.cpp
1132
/* Copyright (c) 2011, Siemens Corporate Research a Division of Siemens Corporation 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....
apache-2.0
Naeregwen/games-librarian
src/commons/enums/DumpMode.java
1959
/** * Copyright 2012-2014 Naeregwen * * 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
eaglelzy/myglide
library/src/main/java/com/lizy/myglide/load/engine/bitmap_recycle/Poolable.java
141
package com.lizy.myglide.load.engine.bitmap_recycle; /** * Created by lizy on 16-4-21. */ public interface Poolable { void offer(); }
apache-2.0
mufaddalq/cloudstack-datera-driver
ui/scripts/ui-custom/zoneChart.js
19593
// 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
aws/aws-sdk-java
aws-java-sdk-codepipeline/src/main/java/com/amazonaws/services/codepipeline/model/transform/ListActionExecutionsRequestProtocolMarshaller.java
2783
/* * 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...
apache-2.0
GerHobbelt/lovefield
tests/index/nullable_index_test.js
4786
/** * @license * Copyright 2015 The Lovefield Project 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 ...
apache-2.0
GroupeStageSPPP/Mission2
EntretienSPPP/EntretienSPPP.WF/Properties/Settings.Designer.cs
1126
//------------------------------------------------------------------------------ // <auto-generated> // Ce code a été généré par un outil. // Version du runtime :4.0.30319.34014 // // Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si // le code es...
apache-2.0
rhtconsulting/fuse-quickstarts
eap/amq_mdb/src/main/java/com/redhat/consulting/fusequickstarts/eap/amq/mdb/ConsumerRoute.java
619
package com.redhat.consulting.fusequickstarts.eap.amq.mdb; import javax.ejb.Startup; import javax.enterprise.context.ApplicationScoped; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.cdi.ContextName; /* * This consumer route receives messages sent from the Producer Template in the MDB */ @...
apache-2.0
vanilladb/vanillacore
src/test/java/org/vanilladb/core/QueryTestSuite.java
2203
/******************************************************************************* * Copyright 2016, 2017 vanilladb.org contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at ...
apache-2.0
aeffrig/adventofcode15
src/main/scala/day1/DayofCode1.scala
396
package day1 import scala.io.Source object DayofCode1 { def main(args: Array[String]) { val answerPart1 = Source.fromFile("day1input").mkString.map { case '(' => 1 case ')' => -1 }.reduce(_ + _) println(answerPart1) val answerPart2 = Source.fromFile("day1input").mkString.map { case '(' => 1 cas...
apache-2.0
couchbase/CouchbaseMock
src/main/java/com/couchbase/mock/memcached/UnknownCommandExecutor.java
1137
/* * Copyright 2017 Couchbase, 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 applicabl...
apache-2.0
ReliefZk/minor-rpc
src/main/java/com/zk/rpc/common/client/AbstractClient.java
1816
package com.zk.rpc.common.client; import java.util.concurrent.ArrayBlockingQueue; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicInteger; import com.zk.rpc.bean.RpcRequest; import com.zk.rpc.bean.RpcResponse; import com.zk.rpc.common.commo...
apache-2.0
nhoHQ/SSMIX2DataTestingTool
src/lib/checkFilePath.py
1754
# coding: UTF-8 import os import codecs locationNG = [] #ファイル名とディレクトリ名に矛盾があるファイルを列挙する def checkFilePath(rootDir, fileName): try: #root = 0/1/2/3/4/5/6 #0: other #1: ss-mix standard storage root #2: patient id 0,1,2 #3: patient id 3,4,5 #4: patient id full ...
apache-2.0
svn2github/scalatest
src/test/scala/org/scalatest/ShouldIncludeRegexSpec.scala
42351
/* * Copyright 2001-2013 Artima, 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 agre...
apache-2.0
Sage-Bionetworks/Synapse-Repository-Services
services/repository-managers/src/main/java/org/sagebionetworks/repo/manager/table/metadata/providers/DatasetMetadataIndexProvider.java
3840
package org.sagebionetworks.repo.manager.table.metadata.providers; import java.util.List; import java.util.Optional; import java.util.Set; import java.util.stream.Collectors; import org.sagebionetworks.repo.manager.NodeManager; import org.sagebionetworks.repo.manager.table.metadata.DefaultColumnModel; import org.sage...
apache-2.0
hortonworks/cloudbreak
freeipa/src/main/java/com/sequenceiq/freeipa/converter/network/NetworkRequestToNetworkConverter.java
1987
package com.sequenceiq.freeipa.converter.network; import java.util.Map; import java.util.Optional; import javax.inject.Inject; import org.springframework.core.convert.converter.Converter; import org.springframework.stereotype.Component; import com.sequenceiq.cloudbreak.common.converter.MissingResourceNameGenerator;...
apache-2.0
betterplace/ablass
spec/controllers/sin_projects_controller_spec.rb
512
require 'spec_helper' describe SinProjectsController, type: :controller do describe "GET 'index'" do let :sin do FactoryGirl.create(:sin) end it "returns http success" do get 'index', sin_id: sin expect(response).to be_success end end describe "GET 'show'" do let :sin_project do ...
apache-2.0
zy4kamu/Coda
src/nlp-stack/Dictionary/Core/DictionaryTrie/DictionaryTrieBinaryFile.cpp
35504
/** * DictionaryTrieBinaryFileCreator.cpp */ #include "DictionaryTrieBinaryFile.h" #include "Dictionary.h" #define LINK_FILE_PATH "2015_03_23_links.txt" #define MAX_BUFFER_SIZE 15000000 /** * Constructor of DictionaryTrieBinaryFileCreator */ DictionaryTrieBinaryFileCreator::DictionaryTrieBinaryFileCreator(Dicti...
apache-2.0
distribuitech/datos
datos-vfs/src/main/java/com/datos/vfs/provider/sftp/SftpStreamProxy.java
5826
/* * 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
RealTimeWeb/wikisite
MoinMoin/parser/text_python.py
845
# -*- coding: iso-8859-1 -*- """ MoinMoin - Python Source Parser DEPRECATED compatibility wrapper calling the highlight parser. This is to support (deprecated) existing syntax like: {{{#!python ... ... }}} It is equivalent to the new way to highlight code: {{{#!highlight python ... ...
apache-2.0
aws/aws-sdk-java
aws-java-sdk-connect/src/main/java/com/amazonaws/services/connect/model/transform/ListSecurityKeysRequestProtocolMarshaller.java
2689
/* * 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...
apache-2.0
radishgz/ui-1.5.9
app/admin-tab/processes/list/controller.js
2161
import Ember from 'ember'; export default Ember.Controller.extend({ prefs: Ember.inject.service(), queryParams: ['which','sortBy','descending'], which: 'running', sortBy: 'id', descending: false, actions: { replay(process) { if ( process.hasAction('replay') ) { process.doAction('replay'...
apache-2.0
macchina-io/macchina.io
platform/JS/V8/v8/src/builtins/arm64/builtins-arm64.cc
109227
// Copyright 2013 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #if V8_TARGET_ARCH_ARM64 #include "src/arm64/macro-assembler-arm64-inl.h" #include "src/codegen.h" #include "src/counters.h" #include "src/debug/debug....
apache-2.0
jaege/Cpp-Primer-5th-Exercises
ch7/7.21.cpp
2175
#include <string> #include <iostream> class Sales_data; std::istream &read(std::istream &, Sales_data &); class Sales_data { friend Sales_data add(const Sales_data &, const Sales_data &); friend std::istream &read(std::istream &, Sales_data &); friend std::ostream &print(std::ostream &, const Sales_data &); pu...
apache-2.0
alex-charos/mailer
src/main/java/gr/charos/mailer/model/CommandResult.java
92
package gr.charos.mailer.model; public enum CommandResult { success, failure, exit }
apache-2.0
jentfoo/aws-sdk-java
aws-java-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/transform/ListEntityRecognizersResultJsonUnmarshaller.java
3303
/* * 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
berkaybasoz/algo_trade
Engine/DataFeeds/SubscriptionDataReader.cs
28421
/* * QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. * Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy ...
apache-2.0
yukuai518/gobblin
gobblin-cluster/src/main/java/gobblin/cluster/NoopReplyHandler.java
676
package gobblin.cluster; import org.apache.helix.messaging.AsyncCallback; import org.apache.helix.model.Message; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * Class that handles Helix messaging response via no-op. * * @author Abhishek Tiwari */ public class NoopReplyHandler extends AsyncCallback...
apache-2.0
hs-web/hsweb-framework
hsweb-system/hsweb-system-authorization/hsweb-system-authorization-oauth2/src/main/java/org/hswebframework/web/oauth2/service/InDBOAuth2ClientManager.java
708
package org.hswebframework.web.oauth2.service; import lombok.AllArgsConstructor; import org.hswebframework.web.oauth2.entity.OAuth2ClientEntity; import org.hswebframework.web.oauth2.server.OAuth2Client; import org.hswebframework.web.oauth2.server.OAuth2ClientManager; import reactor.core.publisher.Mono; @AllArgsConstr...
apache-2.0
CruGlobal/MissionHub-iOS-V1
Resources/mh/ui/login/login.js
7194
/*! * MissionHub Login Window * https://www.missionhub.com * * Copyright 2011, Campus Crusade for Christ International * * Description: Builds and Controls Login Window and Processes * Author: Chris Roemmich <chris.roemmich@cojourners.com> * Date: Wed, 29 Jun 2011 14:29:42 -0400 */ (function() { mh.ui.logi...
apache-2.0
PhenixP2P/WebSDK
node/index.js
1643
/** * Copyright 2020 Phenix Real Time Solutions, 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 * * Unle...
apache-2.0
vmware/govmomi
vapi/namespace/internal/internal.go
1189
/* Copyright (c) 2020 VMware, 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 t...
apache-2.0
ManishJayaswal/roslyn
src/Features/CSharp/EditAndContinue/CSharpEditAndContinueAnalyzer.cs
123429
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Composition; using System.Diagnostics; using System.Linq; us...
apache-2.0
KAMP-Research/KAMP
bundles/Toometa/toometa.qualities/src/qualities/Reliability.java
310
/** */ package qualities; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Reliability</b></em>'. * <!-- end-user-doc --> * * * @see qualities.QualitiesPackage#getReliability() * @model * @generated */ public interface Reliability extends QualityType { } // Reliability
apache-2.0
ImJasonH/tros
benchmark_test.go
1616
package tros import ( "math/rand" "sort" "strings" "testing" ) const ( alphabet = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789" sliceLen = 1000 ) /// Regular field comparison type el struct { A string } func randSlice() []el { s := make([]el, sliceLen) for i := 0; i < len(s); i++ { s[...
apache-2.0
google/framework-for-osdu
compatibility-layer/common/src/main/java/com/osdu/exception/OsduNotFoundException.java
1004
/* * 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 ...
apache-2.0
nisrulz/screenshott
screenshott/src/main/java/github/nisrulz/screenshott/ScreenShott.java
4354
/* * Copyright (C) 2016 Nishant Srivastava * * 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
twitter/algebird
algebird-util/src/test/scala/com/twitter/algebird/util/PromiseLinkMonoidProperties.scala
1116
/* Copyright 2012 Twitter, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distr...
apache-2.0
darranl/directory-server
xdbm-partition/src/test/java/org/apache/directory/server/xdbm/PartitionTest.java
15646
/* * 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
xiaguangme/struts2-src-study
src/com/opensymphony/xwork2/validator/FieldValidator.java
1271
/* * Copyright 2002-2007,2009 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.0 * * Unle...
apache-2.0
altavant/Fusion
Android/Source/Graphics/Size.cs
4100
/* © 2017 Altavant Technologies Inc. Web: http://www.altavant.com */ namespace Altavant.Fusion.Graphics { using System; using Fusion.Utils; public class Size : IDimension { private static readonly Size _default; static Size() { _default = new Size(); } public static Size Default ...
apache-2.0
Talvish/Tales
product/common/src/com/talvish/tales/serialization/json/translators/JsonElementToLongTranslator.java
2062
//*************************************************************************** //* Copyright 2016 Joseph Molnar //* //* 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