repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
sergeXu/JavaStudy | hrmApp/src/cn/serge/domain/Dept.java | 683 | package cn.serge.domain;
import java.io.Serializable;
public class Dept implements Serializable {
private Integer id;
private String name;
private String remark;//ÃèÊö
public Dept() {
super();
// TODO Auto-generated constructor stub
}
public Integer getId() {
return id;
}
public void setId(Integer id) {... | apache-2.0 |
DPSablowski/silent | SILENT/fpe.cpp | 2280 | #include "fpe.h"
#include "ui_fpe.h"
#include <cmath>
FPE::FPE(QWidget *parent) :
QDialog(parent),
ui(new Ui::FPE)
{
ui->setupUi(this);
this->setWindowTitle("Fabry-Perot-Etalon Tool");
ui->doubleSpinBox->setValue(3);
ui->doubleSpinBox_2->setValue(1);
ui->doubleSpinBox_3->setValue(0.9);
... | apache-2.0 |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/aaa/aaagroup_authorizationpolicy_binding.java | 11096 | /*
* Copyright (c) 2008-2015 Citrix Systems, 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... | apache-2.0 |
alexruiz/fest-assert-1.x | src/main/java/org/fest/assertions/RGBColor.java | 1684 | /*
* Created on Mar 25, 2009
*
* 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 writ... | apache-2.0 |
jorgevillaverde/dacs | java/loan-app/savings-account-service/src/main/java/ar/edu/utn/frre/dacs/loan/savings/model/Transaction.java | 2271 | /*
* Copyright (C) 2015-2018 UTN-FRRe
*
* 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 |
moosbusch/xbLIDO | src/net/opengis/gml/impl/AxisDirectionDocumentImpl.java | 2431 | /*
* 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 |
dbeaver/dbeaver | plugins/org.jkiss.dbeaver.model/src/org/jkiss/dbeaver/model/access/DBAAuthProfile.java | 2271 | /*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2022 DBeaver Corp and 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/LICE... | apache-2.0 |
consulo/consulo-python | python-psi-api/src/main/java/com/jetbrains/python/psi/types/PyClassMembersProvider.java | 1369 | /*
* Copyright 2000-2014 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | apache-2.0 |
kashiwasan/symfony-advanced | lib/filter/saEmojiFilter.class.php | 1217 | <?php
/**
* This file is part of the SfAdvanced package.
* (c) SfAdvanced Project (http://www.sfadvanced.jp/)
*
* For the full copyright and license information, please view the LICENSE
* file and the NOTICE file that were distributed with this source code.
*/
/**
* saEmojiFilter converts Emoji symbols in the ... | apache-2.0 |
forcedotcom/aura | aura-impl/src/main/java/org/auraframework/impl/java/type/converter/LocalizedDateToStringConverter.java | 1805 | /*
* Copyright (C) 2013 salesforce.com, 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 ... | apache-2.0 |
Medium/closure-templates | java/src/com/google/template/soy/logging/SoyLogger.java | 1528 | /*
* Copyright 2017 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 ... | apache-2.0 |
lunisolar/magma | magma-asserts/src/main/java/eu/lunisolar/magma/asserts/func/consumer/primitives/obj/LBiObjIntConsumerAssert.java | 3805 | /*
* This file is part of "lunisolar-magma".
*
* (C) Copyright 2014-2019 Lunisolar (http://lunisolar.eu/).
*
* 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.o... | apache-2.0 |
stuhood/cassandra-old | src/java/org/apache/cassandra/utils/CloseableIterator.java | 1081 | package org.apache.cassandra.utils;
/*
*
* 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 Licen... | apache-2.0 |
lin2020/csapp | app/src/main/java/club/baidu/hust/edu/cn/csapp/view/RayMenu.java | 11859 | package club.baidu.hust.edu.cn.csapp.view;
import android.content.Context;
import android.content.Intent;
import android.content.res.TypedArray;
import android.support.v4.view.ScrollingView;
import android.util.AttributeSet;
import android.util.TypedValue;
import android.view.View;
import android.view.ViewGroup;
impo... | apache-2.0 |
ankor-io/ankor-framework | ankor-js/src/main/webapp/js/wrap-end.frag.js | 271 | //The modules for your project will be inlined above
//this snippet. Ask almond to synchronously require the
//module value for 'main' here and return it as the
//value to use for the public API for the built file.
return require('ankor/ankor');
}));
| apache-2.0 |
roboconf/roboconf-web-administration | src/app/commands/commands.directive.history.js | 2841 | (function() {
'use strict';
angular
.module('roboconf.commands')
.directive('rbcfCommandsHistory', rbcfCommandsHistory);
function rbcfCommandsHistory() {
return {
restrict: 'E',
templateUrl: 'templates/commands/html/_commands_history_directive.html',
controller: rbcfCommandsHistoryDire... | apache-2.0 |
Inlustra/UoG-Web-Services | app/database/migrations/2014_11_15_151509_create_posts.php | 1427 | <?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreatePosts extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('posts', function (Blueprint $table) {
$table->in... | apache-2.0 |
aaronmontague/ud851-Exercises | Lesson02-GitHub-Repo-Search/T02.02-Exercise-AddMenu/app/src/main/java/com/example/android/datafrominternet/MainActivity.java | 3340 | /*
* Copyright (C) 2016 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | apache-2.0 |
thabart/SimpleIdentityServer | SimpleIdentityServer/src/Apis/Uma/SimpleIdentityServer.Uma.Core/Constants.cs | 2435 | #region copyright
// Copyright 2015 Habart Thierry
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applic... | apache-2.0 |
keepsl/keepsmis | ksxtmanager/src/main/java/com/keeps/ksxtmanager/utils/aliyunoss/OSSClientConstants.java | 806 | package com.keeps.ksxtmanager.utils.aliyunoss;
/**
* <p>Title: OSSClientConstants.java</p>
* <p>Description: @TODO </p>
* <p>Copyright: Copyright (c) KEEPS</p>
* @author keeps
* @version v 1.00
* @date 创建日期:2017年4月27日
* 修改日期:
* 修改人:
* 复审人:
*/
public class OSSClientConstants {
//阿里云API的外网域... | apache-2.0 |
InceptionFactory/hamlet | app/src/main/java/com/genesis/hamlet/util/BaseFragmentInteractionListener.java | 1204 | package com.genesis.hamlet.util;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import com.genesis.hamlet.data.DataRepository;
/**
* Base {@link Fragment} listener interface to be implemented by the hosting
* {@link android.support.v4.app.ActivityCompat}. It should be extended by a
* Fragment ... | apache-2.0 |
moto-timo/robotframework | utest/utils/test_text.py | 11531 | import unittest
import os
from os.path import abspath
from robot.utils.asserts import *
from robot.utils.text import (cut_long_message, get_console_length,
pad_console_length, split_tags_from_doc,
split_args_from_name_or_path,
_... | apache-2.0 |
googleapis/google-cloud-dotnet | apis/Google.Cloud.ArtifactRegistry.V1Beta2/Google.Cloud.ArtifactRegistry.V1Beta2/FileResourceNames.g.cs | 16004 | // Copyright 2022 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 ... | apache-2.0 |
pepstock-org/Charba | src/org/pepstock/charba/client/commons/NativeJsObjectImage.java | 1725 | /**
Copyright 2017 Andrea "Stock" Stocchero
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 |
TNG/ArchUnit | archunit/src/test/java/com/tngtech/archunit/core/importer/testexamples/integration/ClassA.java | 405 | package com.tngtech.archunit.core.importer.testexamples.integration;
public class ClassA implements InterfaceOfClassA {
private String init;
private String state;
int accessibleField = 5;
public ClassA(String init) {
this.init = init;
}
public String getState() {
return state;... | apache-2.0 |
aaronwalker/camel | components/camel-aws/src/test/java/org/apache/camel/component/aws/s3/AmazonS3ClientMock.java | 18887 | /**
* 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 |
vaikas-google/deployment-manager | cmd/helm/create.go | 2357 | /*
Copyright 2016 The Kubernetes 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 ag... | apache-2.0 |
booz-allen-hamilton/culvert | culvert-main/src/main/java/com/bah/culvert/constraints/filter/ResultFilter.java | 10993 | /**
* Copyright 2011 Booz Allen Hamilton.
*
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership. Booz Allen Hamilton
* licenses this file to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with ... | apache-2.0 |
lithiumtech/lithium-sdk | templates/directive/_directive_.js | 383 | 'use strict';
angular.module('li.<%= type %>s.<%= subModule %>.<%= name %>', [])
/**
* @module <%= subModule %>
* @ngdoc <%= type %>
* @name <%= name %>
*
* @restrict AE
*
* @description
* TODO: add description
*/
.directive('<%= directiveName %>', function () {
return {
restrict: 'AE',
templateUrl... | apache-2.0 |
adaptivdesign/odooku-compat | odooku/addons/cdn/models/ir_qweb.py | 3985 | # -*- coding: utf-8 -*-
import ast
import odoo
from odoo import models, tools, SUPERUSER_ID
from odoo.http import request
from odoo.addons.base.ir.ir_qweb.assetsbundle import AssetsBundle
from odooku.backends import get_backend
from odooku.params import params
CDN_ENABLED = getattr(params, 'CDN_ENABLED', False)
s3_... | apache-2.0 |
NinjaVault/NinjaHive | NinjaHive.Core/Extensions/CollectionExtensions.cs | 619 | using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace NinjaHive.Core.Extensions
{
public static class CollectionExtensions
{
public static IReadOnlyCollection<T> ToReadOnlyCollection<T>(this IEnumerable<T> list)
{
var localList = new List<T>(list);
... | apache-2.0 |
YanTangZhai/tf | tensorflow/core/kernels/cast_op_gpu.cu.cc | 1786 | /* Copyright 2015 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 ... | apache-2.0 |
mongodb/mongo-ruby-driver | spec/mongo/operation/remove_user_spec.rb | 1230 | # frozen_string_literal: true
# encoding: utf-8
require 'spec_helper'
describe Mongo::Operation::RemoveUser do
require_no_required_api_version
let(:context) { Mongo::Operation::Context.new }
describe '#execute' do
before do
users = root_authorized_client.database.users
if users.info('durran')... | apache-2.0 |
yahoo/athenz | servers/zts/src/test/java/com/yahoo/athenz/zts/cert/impl/HttpCertSignerTest.java | 14507 | /*
* Copyright 2016 Yahoo 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 i... | apache-2.0 |
envoyproxy/protoc-gen-validate | templates/cc/register.go | 11474 | package cc
import (
"fmt"
"reflect"
"strconv"
"strings"
"text/template"
"github.com/envoyproxy/protoc-gen-validate/templates/shared"
"github.com/iancoleman/strcase"
pgs "github.com/lyft/protoc-gen-star"
pgsgo "github.com/lyft/protoc-gen-star/lang/go"
"google.golang.org/protobuf/types/known/durationpb"
"goo... | apache-2.0 |
pascalgrimaud/qualitoast | src/main/webapp/app/entities/campagne/campagne.module.ts | 1376 | import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import { RouterModule } from '@angular/router';
import { QualiToastSharedModule } from '../../shared';
import { ChartModule } from 'primeng/primeng';
import {
CampagneService,
CampagnePopupService,
CampagneComponent,
CampagneDetailCompon... | apache-2.0 |
openstack/smaug | karbor/tests/unit/db/test_models.py | 35884 | # 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 |
klmitch/python-keystoneclient | keystoneclient/session.py | 41619 | # 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
# distributed under t... | apache-2.0 |
googleapis/python-pubsub | tests/unit/pubsub_v1/subscriber/test_histogram.py | 2378 | # Copyright 2017, Google LLC All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or a... | apache-2.0 |
cyr62110/fmrcxx | test/internal/LimitingIteratorTest.cpp | 574 | #include "../catch.hpp"
#include <fmrcxx/Range.h>
#include <fmrcxx/internal/LimitingIterator.h>
using namespace fmrcxx;
using namespace fmrcxx::internal;
TEST_CASE( "LimitingIterator doComputeNext", "[LimitingIterator]" ) {
Range<int> range1(1, 5);
LimitingIterator<int, Range<int>> it(0, std::move(range1));
REQUI... | apache-2.0 |
KarloKnezevic/Ferko | src/java/hr/fer/zemris/util/scheduling/algorithms/GENETIC/DatedTimeSpan.java | 1000 | package hr.fer.zemris.util.scheduling.algorithms.GENETIC;
import hr.fer.zemris.util.time.DateStamp;
import hr.fer.zemris.util.time.TimeSpan;
public class DatedTimeSpan {
private DateStamp date;
private TimeSpan span;
public DatedTimeSpan(DateStamp date, TimeSpan span) {
this.date = date;
this.span = span;
}
... | apache-2.0 |
eddremonts86/Drupal-8 | Modules/ED_Others/articlestreamprovider/js/artstream_jscritp.js | 38 | /**
* Created by edd on 4/24/17.
*/
| apache-2.0 |
tzou24/BPS | BPS/src/com/frameworkset/platform/cms/util/GetFileNamesException.java | 378 | /**
获取指定路径和文件后缀名的文件名列表 Exception
Author:GongChunQuan
Date:2003.05.16
*/
package com.frameworkset.platform.cms.util;
public class GetFileNamesException extends FileOperException implements java.io.Serializable
{
public GetFileNamesException()
{
super("获取指定路径和文件后缀名的文件名列表.失败.");
}
} | apache-2.0 |
chef-cookbooks/ark | spec/fixtures/cookbooks/ark_spec/recipes/dump.rb | 279 | ark 'test_dump' do
url 'https://github.com/sous-chefs/ark/raw/main/files/default/foo.zip'
checksum 'deea3a324115c9ca0f3078362f807250080bf1b27516f7eca9d34aad863a11e0'
path '/usr/local/foo_dump'
creates 'foo1.txt'
owner 'foobarbaz'
group 'foobarbaz'
action :dump
end
| apache-2.0 |
simbest/simbest-bps | src/main/java/com/simbest/bps/query/web/MyTaskController.java | 7825 | package com.simbest.bps.query.web;
import com.github.pagehelper.PageInfo;
import com.google.common.collect.Maps;
import com.simbest.bps.query.model.ActBusinessStatus;
import com.simbest.bps.query.service.IActBusinessStatusService;
import com.simbest.cores.model.JsonResponse;
import com.simbest.cores.shiro.AppUserSessi... | apache-2.0 |
pacozaa/BoofCV | main/ip/src/boofcv/alg/filter/convolve/border/ConvolveJustBorder_General.java | 13702 | /*
* Copyright (c) 2011-2015, Peter Abeles. All Rights Reserved.
*
* This file is part of BoofCV (http://boofcv.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... | apache-2.0 |
dushougudu/CraneAlert | CraneAlert/CraneAlert/manage/AddMonitor.aspx.designer.cs | 12224 | //------------------------------------------------------------------------------
// <自动生成>
// 此代码由工具生成。
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </自动生成>
//------------------------------------------------------------------------------
namespace CraneAlert.manage {
pub... | apache-2.0 |
amischler/JRebirth | org.jrebirth/archetype/src/main/resources/archetype-resources/src/main/java/command/SampleCommand.java | 1096 | #set( $symbol_pound = '#' )
#set( $symbol_dollar = '$' )
#set( $symbol_escape = '\' )
package ${package}.command;
import org.jrebirth.core.command.DefaultCommand;
import org.jrebirth.core.exception.CoreException;
import org.jrebirth.core.wave.Wave;
import org.jrebirth.sample.command.SampleCommand;
import or... | apache-2.0 |
ROKIRA/TENDERS | app/config/app.php | 7584 | <?php
return array(
/*
|--------------------------------------------------------------------------
| Application Debug Mode
|--------------------------------------------------------------------------
|
| When your application is in debug mode, detailed error messages with
| stack traces will be shown on every ... | apache-2.0 |
bulldog2011/luxun | src/main/java/com/leansoft/luxun/api/generated/ProduceRequest.java | 15559 | /**
* Autogenerated by Thrift Compiler (0.9.3)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
package com.leansoft.luxun.api.generated;
import org.apache.thrift.scheme.IScheme;
import org.apache.thrift.scheme.SchemeFactory;
import org.apache.thrift.scheme.StandardS... | apache-2.0 |
hxf0801/jbpm | jbpm-services/jbpm-kie-services/src/test/java/org/jbpm/kie/services/test/store/DeploymentStoreTest.java | 3500 | package org.jbpm.kie.services.test.store;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import java.util.Collection;
import java.util.Date;
import java.util.HashSet;
import org.jbpm.kie.services.impl.KModuleDeploymentUnit;
import org.jbpm.kie.services.impl.store.Deploymen... | apache-2.0 |
jdilallo/jdilallo-test | examples/dfp/v201311/report_service/run_reach_report.py | 2004 | #!/usr/bin/python
#
# Copyright 2014 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required b... | apache-2.0 |
yssk22/gaecouch | futon/script/couch_tests.js | 4298 | // 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
// distributed un... | apache-2.0 |
Re-Rabbit/pandola | script/build.js | 156 | var gulp = require('gulp')
var build = require('./libbuild')
function main() {
gulp.task('default', gulp.series(build.clean, build.buildAll))
}
main() | apache-2.0 |
NativeScript/nativescript-cli | lib/services/analytics/analytics-service.ts | 14298 | import { ChildProcess } from "child_process";
import * as path from "path";
import * as _ from "lodash";
import { cache } from "../../common/decorators";
import { isInteractive, toBoolean } from "../../common/helpers";
import { DeviceTypes, AnalyticsClients } from "../../common/constants";
import { TrackActionNames } f... | apache-2.0 |
vespa-engine/vespa | storage/src/tests/distributor/throttlingoperationstartertest.cpp | 5557 | // Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include <vespa/storage/distributor/throttlingoperationstarter.h>
#include <tests/distributor/maintenancemocks.h>
#include <vespa/document/test/make_document_bucket.h>
#include <vespa/vespalib/gtest/gtest.h>
names... | apache-2.0 |
ryandcarter/hybris-connector | src/main/java/org/mule/modules/hybris/model/BtgQuantityOfProductInCartOperandsDTO.java | 2541 | //
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-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: 2013.11.29 at 12:35... | apache-2.0 |
canoo/dolphin-platform | platform/dolphin-platform-remoting-server/src/main/java/com/canoo/dp/impl/server/servlet/InterruptServlet.java | 1981 | /*
* Copyright 2015-2018 Canoo Engineering AG.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... | apache-2.0 |
cautiontowind/alpha-vantage | src/main/java/com/jalpha_vantage/exception/InvalidApiKeyException.java | 175 | package com.jalpha_vantage.exception;
public class InvalidApiKeyException extends Exception {
public InvalidApiKeyException(String value) {
super(value);
}
}
| apache-2.0 |
spinnaker/deck | packages/cloudfoundry/src/presentation/widgets/accountRegionClusterSelector/AccountRegionClusterSelector.spec.tsx | 15140 | import type { IScope } from 'angular';
import { mock, noop } from 'angular';
import { mount, shallow } from 'enzyme';
import React from 'react';
import type { Application, ApplicationDataSource, IMoniker, IServerGroup } from '@spinnaker/core';
import { ApplicationModelBuilder, REACT_MODULE } from '@spinnaker/core';
i... | apache-2.0 |
tomtom-international/speedtools-examples | src/main/java/com/tomtom/examples/exampleUsingLbsServices/ExampleLbsModule.java | 1947 | /*
* Copyright (C) 2012-2021, TomTom (http://tomtom.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 ap... | apache-2.0 |
SimY4/xpath-to-xml | xpath-to-xml-jdom/src/main/java/com/github/simy4/xpath/jdom/navigator/node/JDomElement.java | 3411 | package com.github.simy4.xpath.jdom.navigator.node;
import com.github.simy4.xpath.XmlBuilderException;
import org.jdom2.Attribute;
import org.jdom2.Content;
import org.jdom2.Element;
import org.jdom2.IllegalAddException;
import org.jdom2.Text;
import org.jdom2.filter.Filter;
import org.jdom2.filter.Filters;
import ja... | apache-2.0 |
Pronoy999/Project-OneX | One X/One X/Assembler.Designer.cs | 8904 | namespace One_X {
partial class Assembler {
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="... | apache-2.0 |
dbeaver/dbeaver | plugins/org.jkiss.dbeaver.ext.oracle/src/org/jkiss/dbeaver/ext/oracle/model/OracleTable.java | 19135 | /*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2022 DBeaver Corp and 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/LICE... | apache-2.0 |
senotrusov/rubymq | lib/rubymq/tcp_transport/transmiting.rb | 1109 | #
# Copyright 2006-2008 Stanislav Senotrusov <senotrusov@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 req... | apache-2.0 |
googleapis/google-api-java-client-services | clients/google-api-services-cloudidentity/v1/1.30.1/com/google/api/services/cloudidentity/v1/model/GoogleAppsCloudidentityDevicesV1ApproveDeviceUserRequest.java | 3295 | /*
* 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 distributed under t... | apache-2.0 |
ruspl-afed/dbeaver | plugins/org.jkiss.dbeaver.model/src/org/jkiss/dbeaver/model/exec/DBCExecutionPurpose.java | 1782 | /*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2017 Serge Rider (serge@jkiss.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.apache.org... | apache-2.0 |
leafclick/intellij-community | java/java-impl/src/com/intellij/refactoring/replaceConstructorWithBuilder/ReplaceConstructorWithBuilderHandler.java | 3071 | /*
* 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 |
chengduoZH/Paddle | paddle/fluid/operators/quantize_op.cc | 1722 | /* Copyright (c) 2016 PaddlePaddle 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... | apache-2.0 |
UnquietCode/UQCLib | src/main/java/unquietcode/stately/closure/Closure0.java | 1091 | /*******************************************************************************
Copyright 2009-2011 Benjamin Fagin
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/licens... | apache-2.0 |
dbflute-test/dbflute-test-dbms-mysql | src/main/java/org/docksidestage/mysql/dbflute/cbean/cq/bs/AbstractBsWhiteEscapedNumberInitialCQ.java | 32178 | /*
* Copyright 2004-2013 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 |
dcloudio/uni-app | src/platforms/app-plus-nvue/runtime/components/icon.js | 1843 | const iconChars = {
'success': '\uEA06',
'info': '\uEA03',
'warn': '\uEA0B',
'waiting': '\uEA09',
'safe_success': '\uEA04',
'safe_warn': '\uEA05',
'success_circle': '\uEA07',
'success_no_circle': '\uEA08',
'waiting_circle': '\uEA0A',
'circle': '\uEA01',
'download': '\uEA02',
'info_circle': '\uEA... | apache-2.0 |
beautifultable/phpwind | phpwind9/src/service/forum/srv/post/PwReplyPost.php | 5429 | <?php
defined('WEKIT_VERSION') || exit('Forbidden');
/**
* 回复发布相关服务
*
* @author Jianmin Chen <sky_hold@163.com>
* @copyright ©2003-2103 phpwind.com
* @license http://www.phpwind.com
*
* @version $Id: PwReplyPost.php 28950 2013-05-31 05:58:25Z jieyin $
*/
class PwReplyPost extends PwPostAction
{
public $ti... | apache-2.0 |
dtk/dtk-server | application/model/module/module_utils/list_method.rb | 6380 | #
# Copyright (C) 2010-2016 dtk contributors
#
# This file is part of the dtk 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
#
# Unles... | apache-2.0 |
apo-soft/wechat | aposoft-wechat-company-parent/aposoft-wechat-company-managemnt/src/main/java/org/aposoft/wechat/company/managemnt/tag/impl/BasicTag.java | 553 | package org.aposoft.wechat.company.managemnt.tag.impl;
import org.aposoft.wechat.company.managemnt.tag.Tag;
/**
* 标签简单实现
*
* @author Jann Liu
*
*/
public class BasicTag implements Tag {
private String tagname;
private Integer tagid;
public void setTagname(String tagname) {
this.tagname = ... | apache-2.0 |
mapway/mapway-ui-frame | src/main/java/com/ksyzt/gwt/client/event/HasMessageHandlers.java | 457 | package com.ksyzt.gwt.client.event;
import com.google.gwt.event.shared.HandlerRegistration;
import com.google.gwt.event.shared.HasHandlers;
// TODO: Auto-generated Javadoc
/**
* The Interface HasMessageHandlers.
*/
public interface HasMessageHandlers extends HasHandlers {
/**
* Adds the message handler.
*
... | apache-2.0 |
digital-antiquity/repo-metadata | src/main/java/gov/loc/mods/v3/BaseTitleInfoType.java | 12216 | //
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-661
// 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: ... | apache-2.0 |
griffon/griffon-pivot-plugin | src/main/griffon/pivot/support/adapters/ComponentStyleAdapter.java | 1448 | /*
* 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... | apache-2.0 |
kawasima/moshas | moshas/src/main/java/net/unit8/moshas/RenderFunction.java | 268 | package net.unit8.moshas;
import net.unit8.moshas.context.IContext;
import net.unit8.moshas.dom.Element;
import java.io.Serializable;
/**
*
* @author kawasima
*/
public interface RenderFunction extends Serializable {
void render(Element el, IContext ctx);
}
| apache-2.0 |
Intacct/intacct-sdk-php | test/Intacct/Functions/PlatformServices/ApplicationInstallTest.php | 1321 | <?php
/**
* Copyright 2021 Sage Intacct, 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
*
* or in the "LICENSE" file accompanying... | apache-2.0 |
kgiannakakis/MonoGameEffects | WindowsStore/GamePage.xaml.cs | 586 | using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using MonoGame.Framework;
using Windows.ApplicationModel.Activation;
namespace MonoGameEffects
{
/// <summary>
/// The root page used to display the game.
/// </summary>
public sealed partial class GamePage : SwapChainBackgroundPanel
{
... | apache-2.0 |
Sellegit/retrofit | retrofit/src/main/java/retrofit/sharehttp/Response.java | 10237 | package retrofit.sharehttp;
import java.util.List;
import static retrofit.sharehttp.StatusLine.HTTP_PERM_REDIRECT;
import static retrofit.sharehttp.StatusLine.HTTP_TEMP_REDIRECT;
import static java.net.HttpURLConnection.HTTP_MOVED_PERM;
import static java.net.HttpURLConnection.HTTP_MOVED_TEMP;
import static java.net.... | apache-2.0 |
googleads/google-ads-java | google-ads-stubs-v9/src/main/java/com/google/ads/googleads/v9/services/MutateCampaignBudgetsRequest.java | 50021 | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/ads/googleads/v9/services/campaign_budget_service.proto
package com.google.ads.googleads.v9.services;
/**
* <pre>
* Request message for [CampaignBudgetService.MutateCampaignBudgets][google.ads.googleads.v9.services.CampaignBudgetService.M... | apache-2.0 |
NSRFSN/chenWeather | app/src/main/java/com/example/chenweather/db/County.java | 802 | package com.example.chenweather.db;
import org.litepal.crud.DataSupport;
public class County extends DataSupport {
private int id;
private String countyName;
private String weatherId;
private int cityId;
public int getCityId() {
return cityId;
}
public void setCityId(int city... | apache-2.0 |
jpogran/puppetlabs-dsc | lib/puppet/type/dsc_sqldatabaserecoverymodel.rb | 4477 | require 'pathname'
Puppet::Type.newtype(:dsc_sqldatabaserecoverymodel) do
require Pathname.new(__FILE__).dirname + '../../' + 'puppet/type/base_dsc'
require Pathname.new(__FILE__).dirname + '../../puppet_x/puppetlabs/dsc_type_helpers'
@doc = %q{
The DSC SqlDatabaseRecoveryModel resource type.
Automatic... | apache-2.0 |
betsythefc/custard | login_exec.php | 2274 | <?php
//Start session
session_start();
//Include database connection details
require 'connection.php';
require 'mysql.php';
//Array to store validation errors
$errmsg_arr = array();
//Validation error flag
$errflag = false;
//Function to sanitize values received from the form. Prevents SQL injection
... | apache-2.0 |
injitools/cms-Inji | system/modules/Users/appControllers/UsersController.php | 10420 | <?php
/**
* Users app controller
*
* @author Alexey Krupskiy <admin@inji.ru>
* @link http://inji.ru/
* @copyright 2015 Alexey Krupskiy
* @license https://github.com/injitools/cms-Inji/blob/master/LICENSE
*/
/**
* @property Users $users
*/
class UsersController extends Controller {
public function indexA... | apache-2.0 |
jdahlstrom/vaadin.react | uitest/src/test/java/com/vaadin/tests/components/listselect/ListSelectNoDomRebuildTest.java | 2292 | /*
* Copyright 2000-2014 Vaadin Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | apache-2.0 |
VHAINNOVATIONS/ASRCM | srcalc/src/main/java/gov/va/med/srcalc/web/view/admin/NumericalRangeBuilder.java | 4441 | package gov.va.med.srcalc.web.view.admin;
import com.google.common.base.MoreObjects;
import gov.va.med.srcalc.domain.model.NumericalRange;
/**
* <p>Builds a {@link NumericalRange} from incrementally-specified component
* parts. This class is useful because NumericalRange is immutable: you must
* specify all prope... | apache-2.0 |
NationalSecurityAgency/ghidra | Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/lang/LanguageProvider.java | 1692 | /* ###
* IP: GHIDRA
*
* 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 writin... | apache-2.0 |
dpursehouse/elasticsearch | modules/transport-netty4/src/test/java/org/elasticsearch/transport/netty4/SimpleNetty4TransportTests.java | 3548 | /*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | apache-2.0 |
r39132/airflow | airflow/executors/base_executor.py | 6948 | # -*- coding: utf-8 -*-
#
# 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
#... | apache-2.0 |
eoasoft/evolve | application/modules/hra/controllers/AttendanceController.php | 37562 | <?php
/**
* 2013-8-17 上午5:49:43
* @author x.li
* @abstract
*/
class Hra_AttendanceController extends Zend_Controller_Action
{
public function indexAction()
{
$user_session = new Zend_Session_Namespace('user');
$this->view->hraAdmin = 0;
$this->view->user_id = 0;
... | apache-2.0 |
martin-g/wicket-osgi | wicket-core/src/test/java/org/apache/wicket/request/cycle/RequestCycleUrlForTest.java | 6662 | /*
* 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 |
dzhemriza/fsola | src/test/java/org/fsola/test/searching/FibonacciSearchTest.java | 1305 | /*
* org.fsola
*
* File Name: FibonacciSearchTest.java
*
* Copyright 2014 Dzhem Riza
*
* 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... | apache-2.0 |
KonstantinSviridov/raml-1-parser-test-utils | src/index.ts | 2006 | import impl = require("./impl");
import valuesCompare = require("./valuesCompare");
export const TRAVIS_COMMIT_MESSAGE = 'TRAVIS_COMMIT_MESSAGE';
export const TRAVIS_TRIGGER_FILE_NAME = "trigger.txt";
export function rootDir(currentDir:string) {
return impl.rootDir(currentDir);
}
export function configureSecuri... | apache-2.0 |
webadvancedservicescom/magento | app/code/Magento/CatalogSearch/Model/Indexer/Fulltext/Plugin/Product/Action.php | 1703 | <?php
/**
* @copyright Copyright (c) 2014 X.commerce, Inc. (http://www.magentocommerce.com)
*/
namespace Magento\CatalogSearch\Model\Indexer\Fulltext\Plugin\Product;
use Magento\CatalogSearch\Model\Indexer\Fulltext\Plugin\AbstractPlugin;
class Action extends AbstractPlugin
{
/**
* Reindex on product attri... | apache-2.0 |
makeok/zhw-util | src/com/zhw/core/util/JsonUtil.java | 1579 | package com.zhw.core.util;
import java.sql.Timestamp;
import java.util.Date;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.serializer.SerializeConfig;
import com.alibaba.fastjson.serializer.SerializerFeature;
import com.alibaba.fastjson.serializer.SimpleDateFormatSerializer;
public class JsonUtil { ... | apache-2.0 |
ManfredTremmel/gwt-bean-validators | gwt-bean-validators/src/main/java/de/knightsoftnet/validators/client/decorators/UniversalDecoratorWithIcons.java | 2937 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional information regarding
* copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the
* "License"); you may not ... | apache-2.0 |
MouslihAbdelhakim/Quick | src/main/scala/com/scalableQuality/quick/mantle/reportInterptations/textReport/ColumnComparisonTableRow.scala | 2921 | package com.scalableQuality.quick.mantle.reportInterptations.textReport
case class ColumnComparisonTableRow(
label: String,
position: String,
leftValue: String,
rightValue: String
)
object ColumnComparisonTableRow {
def apply(
sizes: ColumnComparisonTableColumnSizes,
label: String,
... | apache-2.0 |