repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
osmanpub/java-games | c64/1.4-j8/j64-net/src/main/java/org/free/j64/net/Utils.java | 2619 | package org.free.j64.net;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Toolkit;
import java.awt.Window;
import java.io.BufferedWriter;
import java.io.FileWriter;
import java.io.IOException;
import java.io.Writer;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;... | apache-2.0 |
rhyolight/nupic.son | app/soc/logic/delete_account.py | 6564 | # Copyright 2008 the Melange 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 wr... | apache-2.0 |
gogit/popcorn | src/main/java/uk/co/thinktag/Wrapper.java | 1466 | package uk.co.thinktag;
import uk.co.thinktag.cmd.CommandConsole;
import uk.co.thinktag.server.CoreServer;
import uk.co.thinktag.server.RestServer;
/**
* The class is a wrapper for starting in either the client or the server mode
*
* @author pt
*
*/
public class Wrapper {
private static void hel... | apache-2.0 |
Shawnten49/AngularJS | frameworkDemo/webapp/app/core/app.core.module.js | 67 | (function(){
'use strict';
angular.module('app.core', []);
})(); | apache-2.0 |
sindicate/solidbase | src/test/java/solidbase/test/ant/SqlSectionsTests.java | 1789 | /*--
* Copyright 2010 René M. de Bloois
*
* 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 |
JetBrains/xodus | entity-store/src/main/java/jetbrains/exodus/entitystore/iterate/PropertyChangedHandleChecker.java | 929 | /**
* Copyright 2010 - 2022 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | apache-2.0 |
IvanGarza07/MaterialDesignLibrary | MaterialDesignLibrary/MaterialDesign/src/main/java/com/ivan/materialdesign/views/LayoutRipple.java | 5185 | package com.ivan.materialdesign.views;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Bitmap.Config;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.Rect;
import android.util.AttributeSet;
import android.view... | apache-2.0 |
whummer/WS-Aggregation | code/wsaggr-testbed/src/main/java/at/ac/tuwien/infosys/aggr/testbed/RequestServer.java | 3835 | /*
* Project 'WS-Aggregation':
* http://www.infosys.tuwien.ac.at/prototype/WS-Aggregation/
*
* Copyright 2010-2012 Vienna University of Technology
*
* 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... | apache-2.0 |
googleapis/java-datastore | proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CompositeFilterOrBuilder.java | 2719 | /*
* 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 |
avenwu/support | support/src/main/java/net/avenwu/support/widget/ExTextView.java | 9247 | package net.avenwu.support.widget;
import android.animation.ValueAnimator;
import android.annotation.TargetApi;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.drawable.Drawable;
import android.text.Html;
import android.text.TextUtils;
import android.util.AttributeSet;
im... | apache-2.0 |
utybo/epc2eu | java/utybo/mod/epc2eu/common/BonusEvent.java | 4777 | package utybo.mod.epc2eu.common;
import net.minecraft.client.Minecraft;
import net.minecraft.client.entity.AbstractClientPlayer;
import net.minecraft.client.model.ModelBiped;
import net.minecraft.client.renderer.IImageBuffer;
import net.minecraft.client.renderer.ThreadDownloadImageData;
import net.minecraft.client.ren... | apache-2.0 |
whitewalter/fleetwood-bounder | src/main/java/com/heisenberg/impl/definition/TimerDefinitionImpl.java | 1393 | /*
* Copyright 2014 Heisenberg Enterprises 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 a... | apache-2.0 |
OLR-xray/OLR-3.0 | src/xray/xr_3da/xrGame/space_restrictor.cpp | 7584 | ////////////////////////////////////////////////////////////////////////////
// Module : space_restrictor.cpp
// Created : 17.08.2004
// Modified : 17.08.2004
// Author : Dmitriy Iassenev
// Description : Space restrictor
////////////////////////////////////////////////////////////////////////////
#include "pch_... | apache-2.0 |
DanielInGitHub/CrazyDog | src/main/java/org/crazydog/controller/PageDispatcher.java | 689 | package org.crazydog.controller;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import javax.servlet.http.HttpServletRequest;
/**
* 这个是jsp资源跳转的分配器
* Created by never on 2015/8/27.
*/
@Deprecated
@Controller
public class PageDispatcher {
@Reque... | apache-2.0 |
dhgarrette/2015-ccg-parsing | src/main/scala/dhg/ccg/bisk/Bisk.scala | 15630 | package dhg.ccg.bisk
import dhg.util._
import dhg.util.viz._
import dhg.ccg.cat._
import dhg.ccg.rule._
import dhg.ccg.tagdict._
import dhg.ccg.parse._
import dhg.ccg.parse.pcfg._
import scalaz.{ \/ => _, _ }
import Scalaz._
import scala.collection.parallel.immutable.ParVector
import dhg.gfl.Fudg
import dhg.gfl.FudgSe... | apache-2.0 |
googlearchive/appengine-nodejs | lib/net/proto2/contrib/WireSerializer.js | 19125 | // Copyright 2014 Google Inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | apache-2.0 |
Glamdring/welshare | src/main/java/com/welshare/service/impl/GoogleTranslateService.java | 1318 | package com.welshare.service.impl;
import org.codehaus.jackson.JsonNode;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;
import org.springframework.web.client.RestTemplate;
@Service
public class GoogleTr... | apache-2.0 |
solusi-integral/hrm | HRM/application/controllers/Welcome.php | 680 | <?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Welcome extends CI_Controller {
/**
* Index Page for this controller.
*
* Maps to the following URL
* http://example.com/index.php/welcome
* - or -
* http://example.com/index.php/welcome/index
* - or -
* Since this contro... | apache-2.0 |
danielkza/h2scala | core/src/test/scala/net/danielkza/http2/stream/FrameDecoderStageTest.scala | 1540 | package net.danielkza.http2.stream
import net.danielkza.http2.api.Header
import scala.collection.immutable
import akka.stream.scaladsl._
import akka.stream.testkit.scaladsl._
import akka.util.ByteString
import net.danielkza.http2.{AkkaStreamsTest, TestHelpers}
import net.danielkza.http2.protocol.{Frame, HTTP2Error}
i... | apache-2.0 |
feorean/JumpOnCloud | WebContent/js/angular-sanitize.js | 26972 | /**
* @license AngularJS v1.5.9-build.4970+sha.1660ddd
* (c) 2010-2016 Google, Inc. http://angularjs.org
* License: MIT
*/
(function(window, angular) {'use strict';
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Any commits to this file should be reviewed with security in mind.... | apache-2.0 |
devigned/azure-sdk-for-ruby | management/azure_mgmt_service_bus/lib/generated/azure_mgmt_service_bus/models/topic_create_or_update_parameters.rb | 9701 | # encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::ARM::ServiceBus
module Models
#
# Parameters supplied to the Create Or Update Topic operation.
#
class TopicCreateOrU... | apache-2.0 |
legend0702/zhq | zhq-core/src/main/java/cn/zhuhongqing/utils/scan/TrueResourceFilter.java | 503 | package cn.zhuhongqing.utils.scan;
/**
* True filter
*
* @author HongQing.Zhu
* <nl>
* <li>Mail:qwepoidjdj(a)gmail.com</li>
* <li>HomePage:www.zhuhongqing.cn</li>
* <li>Github:github.com/legend0702</li>
* </nl>
*
*/
public class TrueResourceFilter<R> imple... | apache-2.0 |
viaper/DBPlus | DerbyHodgepodge/java/engine/org/apache/derby/iapi/jdbc/EngineStatement.java | 2915 | /*
Derby - Class org.apache.derby.iapi.jdbc.EngineStatement
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 unde... | apache-2.0 |
pdiemert/sstv | lib/find.js | 236 | var _channels = require('./channels');
function init()
{
_channels.addDir('find-channels', 'find');
}
function getItems(path, cb)
{
return _channels.getItems('find', path, cb);
}
init();
module.exports = {
getItems : getItems
};
| apache-2.0 |
kubernetes/cloud-provider-alibaba-cloud | vendor/github.com/aliyun/alibaba-cloud-sdk-go/services/ecs/struct_entry.go | 869 | package ecs
//Licensed under the Apache License, Version 2.0 (the "License");
//you may not use this file except in compliance with the License.
//You may obtain a copy of the License at
//
//http://www.apache.org/licenses/LICENSE-2.0
//
//Unless required by applicable law or agreed to in writing, software
//distribut... | apache-2.0 |
debanjanmahata/textmining-kit | inputoutput/util.py | 10587 | '''
Created on Mar 1, 2017
@author: debanjan
'''
"""
Borrowed from textacy (https://github.com/chartbeat-labs/textacy)
"""
import bz2
import gzip
import io
from itertools import tee, starmap
import os
import re
import warnings
try: # Py3
import lzma
except ImportError: # Py2
pass
from cytoolz.itertoolz impo... | apache-2.0 |
alex-dorokhov/gdx-pay | gdx-pay-android-googleplay/src/test/java/com/badlogic/gdx/pay/android/googleplay/testdata/GetBuyIntentResponseObjectMother.java | 1168 | package com.badlogic.gdx.pay.android.googleplay.testdata;
import android.app.PendingIntent;
import android.content.IntentSender;
import android.os.Bundle;
import static com.badlogic.gdx.pay.android.googleplay.GoogleBillingConstants.BUY_INTENT;
import static com.badlogic.gdx.pay.android.googleplay.GoogleBillingConstan... | apache-2.0 |
ourbeehive/AndPlug | DaoGen/src/main/java/de/greenrobot/daogenerator/EntityGenerator.java | 5860 | package de.greenrobot.daogenerator;
import freemarker.template.Configuration;
import freemarker.template.DefaultObjectWrapper;
import freemarker.template.Template;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.io.Writer;
import java.util.HashMap;
import java.util.List;
import... | apache-2.0 |
shioyang/StatsBar | e2e/app.e2e-spec.ts | 315 | import { StatsBarPage } from './app.po';
describe('stats-bar App', function() {
let page: StatsBarPage;
beforeEach(() => {
page = new StatsBarPage();
});
it('should display message saying app works', () => {
page.navigateTo();
expect(page.getParagraphText()).toEqual('app works!');
});
});
| apache-2.0 |
loshine/GalleryPicker | gallerypicker/src/main/java/me/loshine/gallerypicker/entity/MediaBucket.java | 1979 | package me.loshine.gallerypicker.entity;
/**
* 描 述:
* 作 者:loshine1992@gmail.com
* 时 间:2016/12/22
*/
public class MediaBucket {
private String bucketId;
private String bucketName;
private int imageCount;
private String cover;
//图片方向
private int orientation;
private boolean isC... | apache-2.0 |
ppamorim/SmallProject | app/src/main/java/com/smallproject/ui/util/CircleTransform.java | 1128 | package com.smallproject.ui.util;
import android.graphics.Bitmap;
import android.graphics.BitmapShader;
import android.graphics.Canvas;
import android.graphics.Paint;
import com.squareup.picasso.Transformation;
public class CircleTransform implements Transformation {
@Override public Bitmap transform(Bitmap source... | apache-2.0 |
LetsBuildSomething/vmag_mobile | js/themes/variables.js | 6855 | import color from 'color';
import { Platform, Dimensions, PixelRatio } from 'react-native';
const deviceHeight = Dimensions.get('window').height;
const deviceWidth = Dimensions.get('window').width;
const platform = Platform.OS;
const platformStyle = undefined;
export default {
platformStyle,
platform,
// And... | apache-2.0 |
T5750/maven-archetype-templates | dubbo-wusc/edu-demo/src/main/java/wusc/edu/demo/common/page/PageBean.java | 4626 | package wusc.edu.demo.common.page;
import java.io.Serializable;
import java.util.List;
import java.util.Map;
/**
*
* @描述: 分页组件.
* @作者: WuShuicheng .
* @创建时间: 2013-7-25,下午11:33:41 .
* @版本: 1.0 .
*/
public class PageBean implements Serializable {
/**
*
*/
private static final long serialVersionUID = 84706... | apache-2.0 |
SAP/sap_mobile_platform_windows | E2ETraceWPFSolution/RKT_WPF_E2ETracing/Properties/Resources.Designer.cs | 2801 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34003
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | apache-2.0 |
gdl-lang/gdl2 | src/main/java/org/gdl2/expression/OrdinalConstant.java | 1188 | package org.gdl2.expression;
import org.gdl2.datatypes.CodePhrase;
import org.gdl2.datatypes.DvCodedText;
import org.gdl2.datatypes.DvOrdinal;
import java.util.Objects;
public class OrdinalConstant extends ConstantExpression {
private DvOrdinal ordinal;
public OrdinalConstant(int order, String value, CodePh... | apache-2.0 |
GAIPS-INESC-ID/FAtiMA-Toolkit | AuthoringTools/EmotionalAppraisalWF/AddOrEditAppraisalVariableForm.cs | 7273 | using AutobiographicMemory;
using Conditions.DTOs;
using EmotionalAppraisal.DTOs;
using EmotionalAppraisal.OCCModel;
using EmotionalAppraisalWF.Properties;
using EmotionalAppraisalWF.ViewModels;
using System;
using System.Globalization;
using System.Windows.Forms;
using WellFormedNames;
namespace EmotionalAppraisalWF... | apache-2.0 |
sekiguchi-nagisa/Aquarius | aquarius-core/src/main/java/aquarius/Token.java | 1564 | /*
* Copyright (C) 2014-2015 Nagisa Sekiguchi
*
* 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 |
nate-rcl/irplus | ir_web/src/edu/ur/ir/web/action/ResponseBufferedOutputWriter.java | 3314 | /**
Copyright 2008 University of Rochester
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 |
jarvisji/Demo-Java-RestService | src/main/java/net/freecoder/restdemo/model/ReferenceType.java | 947 | /**
*
*/
package net.freecoder.restdemo.model;
/**
* Keywords reply is different to auto reply and follow reply, it will not only
* refer to material, but also other modules, for example an article, weather
* report function, etc. So it has "ref_id", "ref_type", rather than
* "material_id" and "material_type".
... | apache-2.0 |
emmartins/wildfly-server-migration | migrations/wildfly22.0/wildfly8.2/src/main/java/org/jboss/migration/wfly/WildFly8ToWildFly22_0UpdateUndertowSubsystem.java | 1865 | /*
* Copyright 2021 Red Hat, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... | apache-2.0 |
Talend/ui | packages/containers/src/DeleteResource/actions.test.js | 1371 | import actions from './actions';
import deleteResourceConst from './constants';
describe('deleteResource actions', () => {
describe('deleteResource:open', () => {
beforeEach(() => {
delete window.location;
window.location = { pathname: '/test' };
});
afterAll(() => {
window.location = location;
});
... | apache-2.0 |
jaquadro/MonoGdx | MonoGdx/Utils/SnapshotList.cs | 5420 | /**
* Copyright 2011-2013 See AUTHORS file.
*
* 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 |
RobMcZag/AlgoritmiGenetici | HelloWorld/src/main/java/com/rzagni/salesman/Tour.java | 1306 | package com.rzagni.salesman;
import java.util.Arrays;
import java.util.List;
/**
* The class representing a potential solution to visit all the city in the destination list
* @author Roberto
*
*/
public class Tour {
private final City[] tour;
public Tour(int lenght) {
this.tour = new City... | apache-2.0 |
slspeek/camlistore_tls_test | pkg/types/serverconfig/config.go | 6676 | /*
Copyright 2014 The Camlistore 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 |
ufcpp/UfcppSample | Chapters/Old/spctrum/Graph/Graph.cs | 9439 | using System;
using System.Collections;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Windows.Forms;
namespace Graph
{
/// <summary>
/// グラフを表示するコントロールクラス。
/// </summary>
public class Graph : System.Windows.Forms.UserControl
{
private System.Windows.Forms.Panel plotArea;
... | apache-2.0 |
phatboyg/Machete | src/Machete.X12/Parsers/ParsedX12Settings.cs | 1496 | namespace Machete.X12.Parsers
{
using System;
using TextParsers;
public class ParsedX12Settings :
X12ParserSettings
{
public char ElementSeparator { get; set; }
public char SubElementSeparator { get; set; }
public char SegmentSeparator { get; set; }
public char... | apache-2.0 |
shahramgdz/hibernate-validator | engine/src/test/java/org/hibernate/validator/test/constraints/ObjectConstraintValidator.java | 680 | /*
* Hibernate Validator, declare and validate application constraints
*
* License: Apache License, Version 2.0
* See the license.txt file in the root directory or <http://www.apache.org/licenses/LICENSE-2.0>.
*/
package org.hibernate.validator.test.constraints;
import javax.validation.ConstraintValidator;
import... | apache-2.0 |
dengxiangyu768/dengxytools | harbor/harbor/src/ui/static/resources/js/layout/details/details.module.js | 801 | /*
Copyright (c) 2016 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... | apache-2.0 |
mhausenblas/burry.sh | vendor/github.com/minio/minio-go/core_test.go | 20809 | /*
* Minio Go Library for Amazon S3 Compatible Cloud Storage
* Copyright 2017 Minio, 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/LICENS... | apache-2.0 |
x0mak/test---project---python---Kurbatova | php4dvd/test_add.py | 1994 | # -*- coding: utf-8 -*-
from selenium import webdriver
from selenium.common.exceptions import *
from selenium_fixture import app
import time
from model.user import User
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.support.wait import WebDriverWait
from selenium.webdriver.support.expected_co... | apache-2.0 |
gromgull/cgajs | src/format.js | 2832 | /* global define, module */
// Saves me from ugly string formatting with +
// https://raw.githubusercontent.com/davidchambers/string-format/master/index.js
;(function(global) {
'use strict';
// ValueError :: String -> Error
var ValueError = function(message) {
var err = new Error(message);
err.name =... | apache-2.0 |
hhu94/Synapse-Repository-Services | lib/lib-utils/src/main/java/org/sagebionetworks/util/ValidateArgument.java | 1304 | package org.sagebionetworks.util;
import org.apache.commons.validator.routines.UrlValidator;
public class ValidateArgument {
private static UrlValidatorPatched urlValidator = new UrlValidatorPatched(UrlValidator.ALLOW_2_SLASHES + UrlValidator.ALLOW_ALL_SCHEMES);
public static void required(Object fieldValue, Stri... | apache-2.0 |
freedot/tstolua | tests/cases/compiler/crashInsourcePropertyIsRelatableToTargetProperty.ts | 205 | class C {
private x = 1;
}
class D extends C { }
function foo(x: "hi", items: string[]): typeof foo;
function foo(x: string, items: string[]): typeof foo {
return null;
}
var a: D = foo("hi", []);
| apache-2.0 |
MarcoAntonio13/SistTemperanca | src/conexao/Main.java | 5010 | package conexao;
import java.time.LocalDate;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.List;
import dao.jdbc.JDBCClienteDAO;
import dao.jdbc.JDBCEnderecoDAO;
import dao.jdbc.JDBCFornecedorDAO;
import dao.jdbc.JDBCProdutoDAO;
import dao.jdbc.JDBCVendaDAO;
import dao.jdbc.JDB... | apache-2.0 |
zstackio/zstack | plugin/portForwarding/src/main/java/org/zstack/network/service/portforwarding/PortForwardingExtension.java | 9643 | package org.zstack.network.service.portforwarding;
import org.springframework.beans.factory.annotation.Autowired;
import org.zstack.compute.vm.StaticIpOperator;
import org.zstack.core.db.SimpleQuery;
import org.zstack.header.core.Completion;
import org.zstack.header.core.NoErrorCompletion;
import org.zstack.header.err... | apache-2.0 |
devigned/azure-sdk-for-ruby | management/azure_mgmt_sql/lib/generated/azure_mgmt_sql/models/server_firewall_rule_list_result.rb | 1466 | # encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::ARM::SQL
module Models
#
# Represents the response to a List Firewall Rules request.
#
class ServerFirewallRuleListRe... | apache-2.0 |
cedral/aws-sdk-cpp | aws-cpp-sdk-kinesisanalyticsv2/source/model/MappingParameters.cpp | 2030 | /*
* Copyright 2010-2017 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 "license" fil... | apache-2.0 |
unicef/un-partner-portal | frontend/src/components/partners/profile/overview/observations/observationExpand.js | 3604 | import R from 'ramda';
import React from 'react';
import PropTypes from 'prop-types';
import { withStyles } from 'material-ui/styles';
import Attachment from 'material-ui-icons/Attachment';
import GridColumn from '../../../../../components/common/grid/gridColumn';
import GridRow from '../../../../../components/common/g... | apache-2.0 |
raju249/oppia | core/domain/feedback_services_test.py | 27168 | # Copyright 2014 The Oppia Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable ... | apache-2.0 |
CAH-FlyChen/ScrumBasic | src/ScrumBasic/Migrations/20160323074709_Modify_UserStory_Colum.cs | 5747 | using System;
using System.Collections.Generic;
using Microsoft.Data.Entity.Migrations;
namespace ScrumBasic.Migrations
{
public partial class Modify_UserStory_Colum : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropForeignK... | apache-2.0 |
hfp/tensorflow-xsmm | tensorflow/compiler/xla/service/llvm_ir/llvm_util.cc | 28335 | /* Copyright 2017 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | apache-2.0 |
tyler-johnson/pouchdb | bin/test-browser.js | 7741 | #!/usr/bin/env node
'use strict';
var wd = require('wd');
wd.configureHttp({timeout: 180000}); // 3 minutes
var sauceConnectLauncher = require('sauce-connect-launcher');
var selenium = require('selenium-standalone');
var querystring = require("querystring");
var MochaSpecReporter = require('mocha').reporters.Spec;
... | apache-2.0 |
xuyonghai123/jeesite | src/main/java/com/thinkgem/jeesite/modules/gen/util/GenUtils.java | 12927 | /**
* Copyright © 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
*/
package com.thinkgem.jeesite.modules.gen.util;
import java.io.BufferedReader;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.u... | apache-2.0 |
jangorecki/h2o-3 | h2o-app/src/main/java/water/H2OApp.java | 355 | package water;
public class H2OApp extends H2OStarter {
public static void main(String[] args) {
if (H2O.checkUnsupportedJava())
System.exit(1);
start(args, System.getProperty("user.dir"));
}
@SuppressWarnings("unused")
public static void main2(String relativeResourcePath) {
start(new Stri... | apache-2.0 |
strongo/bots-framework | package.go | 80 | package botsframework
// Main code for the package is in the `core` directory.
| apache-2.0 |
jetstack-experimental/cert-manager | pkg/controller/certificates/listers.go | 2830 | /*
Copyright 2020 The cert-manager 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 |
mcintyred/cli | cf/ssh/ssh_test.go | 34673 | // +build !windows,!386
// skipping 386 because lager uses UInt64 in Session()
// skipping windows because Unix/Linux only syscall in test.
// should refactor out the conflicts so we could test this package in multi platforms.
package sshCmd_test
import (
"errors"
"fmt"
"io"
"net"
"os"
"syscall"
"time"
"git... | apache-2.0 |
joeyvanderbie/Bluetooth-LE-Library---Android | sample_app/src/main/java/org/hva/createit/btlescan/util/BluetoothUtils.java | 1489 | package org.hva.createit.btlescan.util;
import android.app.Activity;
import android.bluetooth.BluetoothAdapter;
import android.bluetooth.BluetoothManager;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;
public final class BluetoothUtils {
public final stati... | apache-2.0 |
lugray/amphtml | test/functional/test-sanitizer.js | 4401 | /**
* Copyright 2015 The AMP HTML 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 require... | apache-2.0 |
wayshall/onetwo | core/modules/boot/src/main/java/org/onetwo/boot/module/cache/ZifishRedisCachePrefix.java | 1018 | package org.onetwo.boot.module.cache;
import org.onetwo.boot.module.redis.RedisOperationService;
import org.onetwo.common.utils.StringUtils;
import org.springframework.data.redis.cache.DefaultRedisCachePrefix;
/**
* @author weishao zeng
* <br/>
*/
public class ZifishRedisCachePrefix extends DefaultRedisCachePrefix... | apache-2.0 |
ashokblend/incubator-carbondata | core/src/main/java/org/apache/carbondata/core/carbon/datastore/impl/btree/BTreeNonLeafNode.java | 7467 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | apache-2.0 |
hgl888/TeamTalk | win-client/core/utility/Multilingual.cpp | 1285 | /*******************************************************************************
* @file Multilingual.cpp 2014\11\25 21:14:50 $
* @author ¿ìµ¶<kuaidao@mogujie.com>
* @brief
******************************************************************************/
#include "stdafx.h"
#include "GlobalCo... | apache-2.0 |
pister/wint | maven-wint-plugin/src/main/java/wint/maven/plugins/gen/common/ProjectConfig.java | 6103 | package wint.maven.plugins.gen.common;
public class ProjectConfig {
private String projectPath;
private String groupId;
private String artifactId;
private String path;
private String wintPackage;
private String dbName;
private String dbUser;
private String dbPwd;
privat... | apache-2.0 |
Bigotry/OneBase | app/common/service/pay/driver/alipay/alipay-sdk-PHP-3.4.2/aop/request/AlipayEcoMycarDataserviceViolationinfoShareRequest.php | 1948 | <?php
/**
* ALIPAY API: alipay.eco.mycar.dataservice.violationinfo.share request
*
* @author auto create
* @since 1.0, 2019-08-29 11:20:52
*/
class AlipayEcoMycarDataserviceViolationinfoShareRequest
{
/**
* ISV获取违章车辆信息
**/
private $bizContent;
private $apiParas = array();
private $terminalType;
priv... | apache-2.0 |
jmaoito/happyCoding | algorithm/reverseWords.cpp | 1072 | /***************
LeetCode Reverse Words in a String
Given an input string, reverse the string word by word.
For example,
Given s = "the sky is blue",
return "blue is sky the".
Clarification:
A sequence of non-space characters constitutes a word.
the input string contain leading or trailing spaces. Ho... | apache-2.0 |
vaadin/designer-tutorials | emailclient-tutorial-data/src/main/java/org/vaadin/example/ui/MessageDesign.java | 795 | package org.vaadin.example.ui;
import com.vaadin.annotations.AutoGenerated;
import com.vaadin.annotations.DesignRoot;
import com.vaadin.ui.Button;
import com.vaadin.ui.HorizontalLayout;
import com.vaadin.ui.Label;
import com.vaadin.ui.declarative.Design;
/**
* !! DO NOT EDIT THIS FILE !!
*
* This class is generat... | apache-2.0 |
gdbots/query-parser-php | src/Enum/BoolOperator.php | 166 | <?php
declare(strict_types=1);
namespace Gdbots\QueryParser\Enum;
enum BoolOperator: int
{
case OPTIONAL = 0;
case REQUIRED = 1;
case PROHIBITED = 2;
}
| apache-2.0 |
HuangLS/neo4j | community/function/src/main/java/org/neo4j/function/ThrowingIntPredicate.java | 1422 | /*
* 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 |
williamleif/socialsent | example.py | 1252 | from socialsent import seeds
from socialsent import lexicons
from socialsent.polarity_induction_methods import random_walk
from socialsent.evaluate_methods import binary_metrics
from socialsent.representations.representation_factory import create_representation
if __name__ == "__main__":
print "Evaluting SentProp ... | apache-2.0 |
SimonCat1989/simoncat-framework | simoncat-framework-graph/simoncat-framework-graph-spec/src/main/java/com/simoncat/framework/graph/elements/impl/AbsGraph.java | 4782 | package com.simoncat.framework.graph.elements.impl;
import java.util.Collection;
import java.util.Collections;
import java.util.Objects;
import java.util.Optional;
import java.util.stream.Collectors;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang3.StringUtils;
import com.google.common.collect.Hash... | apache-2.0 |
gdefias/JavaDemo | InitJava/jcip/src/main/java/net/jcip/examples/part4_advancedtopics/chapter14_customsynctool/GrumpyBoundedBuffer.java | 1453 | package net.jcip.examples.part4_advancedtopics.chapter14_customsynctool;
import net.jcip.annotations.ThreadSafe;
/**
* GrumpyBoundedBuffer
将前提条件的失败传递给调用者
*/
@ThreadSafe
public class GrumpyBoundedBuffer <V> extends BaseBoundedBuffer<V> {
public GrumpyBoundedBuffer() {
this(100);
}
public Gru... | apache-2.0 |
saqlainmediasoft/Maintenance-Management-System | admin/kendoui/wrappers/php/web/datetimepicker/rangeselection.php | 1793 | <?php
require_once '../../lib/Kendo/Autoload.php';
require_once '../../include/header.php';
?>
<?php
$start = new \Kendo\UI\DateTimePicker('start');
$start->value(new DateTime('now', new DateTimeZone('UTC')))
->parseFormats(array('MM/dd/yyyy'))
->change('startChange');
$end = new \Kendo\UI\DateTimePicker... | apache-2.0 |
gomatcha/matcha | view/ios/progressview.go | 1911 | // Package ios implements a native ios views.
package ios
import (
"image/color"
"gomatcha.io/matcha/comm"
"gomatcha.io/matcha/internal"
"gomatcha.io/matcha/layout/constraint"
"gomatcha.io/matcha/paint"
pb "gomatcha.io/matcha/proto"
pbios "gomatcha.io/matcha/proto/view/ios"
"gomatcha.io/matcha/view"
)
// Pro... | apache-2.0 |
AlekseyZhelo/idea-mob-plugin | src/main/java/com/alekseyzhelo/evilislands/mobplugin/EIMessages.java | 618 | package com.alekseyzhelo.evilislands.mobplugin;
import com.intellij.AbstractBundle;
import org.jetbrains.annotations.NonNls;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.PropertyKey;
public class EIMessages extends AbstractBundle {
public static String message(@NotNull @PropertyKey(re... | apache-2.0 |
danc86/jena-core | src/main/java/com/hp/hpl/jena/ontology/impl/OntPropertyImpl.java | 39011 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | apache-2.0 |
xLeitix/jcloudscale | core/src/main/java/at/ac/tuwien/infosys/jcloudscale/logging/ClientLoggingConfiguration.java | 8677 | /*
Copyright 2013 Philipp Leitner
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 |
pulecp/puppet-corosync | lib/puppet/type/cs_colocation.rb | 4434 | Puppet::Type.newtype(:cs_colocation) do
@doc = "Type for manipulating corosync/pacemaker colocation. Colocation
is the grouping together of a set of primitives so that they travel
together when one of them fails. For instance, if a web server vhost
is colocated with a specific ip address and the web ser... | apache-2.0 |
leafclick/intellij-community | platform/platform-impl/src/com/intellij/internal/rulerguide/RulerGuidePainter.java | 7462 | package com.intellij.internal.rulerguide;
import com.intellij.openapi.Disposable;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.ui.AbstractPainter;
import com.intellij.openapi.ui.JBPopupMenu;
import com.intellij.openapi.util.Disposer;
import com.intellij.openapi.wm.IdeGlassPane;
import com... | apache-2.0 |
mocc/bookkeeper-lab | hedwig-server/src/test/java/org/apache/hedwig/server/persistence/TestBookKeeperPersistenceManagerBlackBox.java | 2924 | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... | apache-2.0 |
xieyufish/note | 代码/spring-cloud/spring-cloud-eureka-client/src/main/java/com/xieyu/eureka/client/DcController.java | 853 | package com.xieyu.eureka.client;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cloud.client.discovery.DiscoveryClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <b>类作用描述:</b>
* <pre>
* ... | apache-2.0 |
google/access-bridge-explorer | src/WindowsAccessBridgeInterop/VersionNumber.cs | 809 | // Copyright 2016 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required b... | apache-2.0 |
Grastveit/NEST | src/Tests/Elasticsearch.Net.Integration.Yaml/create/50_parent.yaml.cs | 1584 | using System;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
namespace Elasticsearch.Net.Integration.Yaml.Create8
{
public partial class Create8YamlTests
{
[NCrunch.Framework.ExclusivelyUses("ElasticsearchYamlTests")]
public class Parent1Tests : YamlTestsBase
{
[Test]
pub... | apache-2.0 |
layerhq/instastart-identity-provider | db/migrate/20161116231406_create_sessions.rb | 216 | class CreateSessions < ActiveRecord::Migration[5.0]
def change
create_table :sessions do |t|
t.integer :user_id
t.string :token
t.timestamps
end
add_index :sessions, :token
end
end
| apache-2.0 |
markus1978/citygml4emf | de.hub.citygml.emf.ecore/src/net/opengis/citygml/ExternalObjectReferenceType.java | 2633 | /**
* <copyright>
* </copyright>
*
* $Id$
*/
package net.opengis.citygml;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>External Object Reference Type</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <... | apache-2.0 |
slamdata/quasar | qsu/src/main/scala/quasar/qsu/minimizers/FilterToCond.scala | 4540 | /*
* Copyright 2014–2020 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 |
EsriUK/wab-dijit-drilldown | Drilldown/Search/setting/nls/pt-br/strings.js | 1783 | define(
({
"instruction": "Adicione e configure serviços de geocódigo ou camadas de feição como fontes de pesquisa. Estas fontes especificadas determinam o que é pesquisável dentro da caixa de pesquisa.",
"add": "Adicionar Fonte de Pesquisa",
"addGeocoder": "Adicionar Geocodificador",
"geocoder": "G... | apache-2.0 |
XamarinGarage/GiTracker | Droid/Resources/Resource.designer.cs | 12108 | #pragma warning disable 1591
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is reg... | apache-2.0 |
rockmkd/datacollector | basic-lib/src/main/java/com/streamsets/pipeline/stage/origin/remote/RemoteDownloadSource.java | 23087 | /*
* Copyright 2017 StreamSets 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... | apache-2.0 |
alump/BeforeUnload | beforeunload-demo/src/main/java/org/vaadin/alump/beforeunload/demo/BeforeUnloadDemoServlet.java | 1153 | /**
* BeforeUnloadServlet.java (BeforeUnload)
*
* Copyright 2013 Vaadin Ltd, Sami Viitanen <alump@vaadin.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.or... | apache-2.0 |
CodeAndMagic/TypefaceLibrary | Library/src/main/java/org/codeandmagic/android/SourceSansProTextStyle.java | 898 | package org.codeandmagic.android;
/**
* Implementation of {@link TextStyle} defining the possible values for the 'textStyle' attribute
* using the SourceSansPro font.
* Created by evelina on 17/01/2014.
*/
public enum SourceSansProTextStyle implements TextStyle {
NORMAL("regular", "sourcesanspro/SourceSansPro... | apache-2.0 |