repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
bshp/midPoint | model/model-common/src/main/java/com/evolveum/midpoint/model/common/mapping/MappingPreExpression.java | 1137 | /**
* Copyright (c) 2019 Evolveum and contributors
*
* This work is dual-licensed under the Apache License 2.0
* and European Union Public License. See LICENSE file for details.
*/
package com.evolveum.midpoint.model.common.mapping;
import com.evolveum.midpoint.repo.common.expression.ExpressionEvaluationContext;
... | apache-2.0 |
shubhamdhama/zulip | tools/lib/test_server.py | 3503 | import os
import subprocess
import sys
import time
from contextlib import contextmanager
from typing import Iterator, Optional
# Verify the Zulip venv is available.
from tools.lib import sanity_check
sanity_check.check_venv(__file__)
import django
import requests
MAX_SERVER_WAIT = 90
TOOLS_DIR = os.path.dirname(os... | apache-2.0 |
SAP/xliff-1-2 | com.sap.mlt.xliff12.api/src/main/java/com/sap/mlt/xliff12/api/attribute/Coord.java | 1251 | package com.sap.mlt.xliff12.api.attribute;
import com.sap.mlt.xliff12.api.base.XliffAttribute;
/**
* Coordinates - The coord attribute specifies the x, y, cx and cy coordinates
* of the text for a given element. The cx and cy values must represent the
* width and the height (as in Windows resources). The ex... | apache-2.0 |
gunan/tensorflow | tensorflow/core/grappler/optimizers/constant_folding_test.cc | 164270 | /* 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 |
xiejuntao/Xworkflow | src/xjt/workflow/exe/WorkFlowInstance.java | 1857 | package xjt.workflow.exe;
import java.util.Date;
import xjt.workflow.def.WorkFlow;
/**
* 工作流程实例
* @since Aug 30, 2010
* @author xjt
* @version 1.00 Aug 30, 2010
* */
public class WorkFlowInstance implements java.io.Serializable {
private static final long serialVersionUID = 1L;
/**
* 标识ID
* */
priv... | apache-2.0 |
DedMemez/ODS-August-2017 | town/TownBattleSOSPetInfoPanel.py | 8825 | # Fuck you Disyer. Stealing my fucking paypal. GET FUCKED: toontown.town.TownBattleSOSPetInfoPanel
from panda3d.core import TextNode, Vec4
from direct.fsm import StateData
from direct.gui.DirectGui import *
from toontown.toonbase import TTLocalizer
from toontown.pets import Pet, PetTricks, PetDetailPanel
from too... | apache-2.0 |
canalplus/rx-player | src/parsers/texttracks/ttml/html/ttml_color_to_css_color.ts | 2007 | /**
* Copyright 2015 CANAL+ Group
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | apache-2.0 |
nuest/iceland | core/src/main/java/org/n52/iceland/coding/encode/ProcedureEncoder.java | 1349 | /*
* Copyright 2015 52°North Initiative for Geospatial Open Source
* Software 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
*... | apache-2.0 |
aleo72/ww-ceem-radar | src/main/java/gov/nasa/worldwind/util/webview/AbstractWebView.java | 3705 | /*
* Copyright (C) 2012 United States Government as represented by the Administrator of the
* National Aeronautics and Space Administration.
* All Rights Reserved.
*/
package gov.nasa.worldwind.util.webview;
import gov.nasa.worldwind.*;
import gov.nasa.worldwind.avlist.AVKey;
import gov.nasa.worldwind.render.*;
im... | apache-2.0 |
reflectsoftware/Plato.NET | src/Plato.Messaging.AMQ/Pool/AMQObjectPoolAsync.cs | 2069 | // Plato.NET
// Copyright (c) 2018 ReflectSoftware Inc.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Plato.Cache;
using Plato.Messaging.AMQ.Interfaces;
using Plato.Messaging.AMQ.Settings;
using System;
using System.Threading.Tasks;
namespace P... | apache-2.0 |
ctc-g/sinavi-jfw | web/jfw-web-core/src/main/java/jp/co/ctc_g/jse/core/util/web/beans/HalfAndFullwidthDecimalEditor.java | 5078 | /*
* Copyright (c) 2013 ITOCHU Techno-Solutions 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 of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... | apache-2.0 |
eric-stanley/qalingo-engine | apis/api-web/api-web-fo-mcommerce/src/main/java/org/hoteia/qalingo/web/mvc/controller/common/ClpController.java | 3006 | /**
* Most of the code in the Qalingo project is copyrighted Hoteia and licensed
* under the Apache License Version 2.0 (release version 0.8.0)
* http://www.apache.org/licenses/LICENSE-2.0
*
* Copyright (c) Hoteia, 2012-2014
* http://www.hoteia.com - http://twitter.com/hoteia - contact@h... | apache-2.0 |
ubcsanskrit/dphil | lib/dphil/character.rb | 7019 | # frozen_string_literal: true
module Dphil
#
# Phylogenetic character for storing states and symbols.
#
# Immutable.
#
class Character
include Dphil::LDOutput
# Instantiates a new Character
# @overload initialize(id = nil, states = nil)
# @param id [Integer] a character ID
# @param... | apache-2.0 |
BigBoss424/portfolio | v7/development/node_modules/react-share/lib/OKIcon.js | 970 | 'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _iconFactory = require('./utils/iconFactory');
var _iconFactory2 = _interopRequireDefault(_iconFactory);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var OKIcon = (0, _iconFactory2.... | apache-2.0 |
zhe-thoughts/hadoop | hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/protocolPB/ClientNamenodeProtocolTranslatorPB.java | 58789 | /**
* 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 |
Otaka/mydifferentprojects | SqlProcessorProject/src/main/java/com/sqlprocessor/utils/StringBuilderWithSeparator.java | 1188 | package com.sqlprocessor.utils;
/**
* @author sad
*/
public class StringBuilderWithSeparator {
private StringBuilder sb;
private boolean newEntry;
private String separator = ",";
public StringBuilderWithSeparator() {
this.newEntry = false;
this.sb = new StringBuilder();
}
p... | apache-2.0 |
EvilMcJerkface/crate | plugins/azure-discovery/src/main/java/io/crate/azure/management/AzureComputeService.java | 3128 | /*
* 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 |
prime-framework/prime-mvc | src/main/java/org/primeframework/mvc/message/guice/MessageModule.java | 1910 | /*
* Copyright (c) 2012, Inversoft 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 a... | apache-2.0 |
xiayouli0122/Wardroid | src/com/example/ward/view/progressbar/HoloCircularProgressBar.java | 20400 | package com.example.ward.view.progressbar;
import com.example.ward.R;
import com.zhaoyan.common.utils.Log;
import android.annotation.SuppressLint;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import... | apache-2.0 |
rsimha-amp/amphtml | build-system/pr-check/visual-diff-tests.js | 1651 | /**
* Copyright 2019 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 |
cdmaok/matchp | matchp-core/src/main/java/cn/edu/xmu/gxj/matchp/util/Fields.java | 1163 | package cn.edu.xmu.gxj.matchp.util;
public class Fields {
/*
*
* text: just text as you know
* polarity: text's sentiment
* img: image's url
* imgSign: image's signature
* doc_id: text's id
*
*/
public static final String queryField = "text";
public static final String text... | apache-2.0 |
Norhaven/FluentBoilerplate | DotNet/FluentBoilerplate/PublicContract/Contexts/IImmutableErrorContext.cs | 7811 | /*
Copyright 2015 Chris Hannon
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 wri... | apache-2.0 |
wadearnold/ach | test/ach-pop-read/main.go | 1976 | // Licensed to The Moov Authors under one or more contributor
// license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright
// ownership. The Moov Authors licenses this file to you under
// the Apache License, Version 2.0 (the "License"); you may
// not use this... | apache-2.0 |
zhoffice/redisson | redisson/src/main/java/org/redisson/liveobject/core/LiveObjectInterceptor.java | 4990 | /**
* Copyright 2016 Nikita Koksharov
*
* 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 agree... | apache-2.0 |
HuangLS/neo4j | enterprise/neo4j-enterprise/src/test/java/upgrade/StoreMigratorFrom21IT.java | 20955 | /*
* 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 Affero General Public License as
* published by the Free Software Fo... | apache-2.0 |
przemyslaw-holownia/financial-manager | app/src/test/java/info/holownia/przemyslaw/financial/manager/feature/addeditaccount/presentation/AddEditAccountPresenterTest.java | 5297 | package info.holownia.przemyslaw.financial.manager.feature.addeditaccount.presentation;
import android.support.annotation.NonNull;
import org.junit.Before;
import org.junit.Test;
import org.mockito.Mock;
import org.mockito.MockitoAnnotations;
import org.mockito.invocation.InvocationOnMock;
import org.mockito.stubbing... | apache-2.0 |
cosmocode/cosmocode-json | src/main/java/org/json/extension/JSONEncoder.java | 1176 | /**
* Copyright 2010 CosmoCode 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 |
enketo/enketo-legacy | Code_Igniter/application/controllers/manifest.php | 14272 | <?php
/**
* Copyright 2012 Martijn van de Rijdt
*
* 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 |
seniya2/reference_webui_template | src/main/java/com/polarisoffice/kaia/newtech/prototype/domain/AfterlifeAssessment.java | 96 | package com.polarisoffice.kaia.newtech.prototype.domain;
public class AfterlifeAssessment {
}
| apache-2.0 |
square/spincycle | spinc/cmd/ps_test.go | 6989 | // Copyright 2017-2019, Square, Inc.
package cmd_test
import (
"bytes"
"fmt"
"strings"
"testing"
"time"
"github.com/square/spincycle/v2/proto"
"github.com/square/spincycle/v2/spinc/app"
"github.com/square/spincycle/v2/spinc/cmd"
"github.com/square/spincycle/v2/spinc/config"
"github.com/square/spincycle/v2/... | apache-2.0 |
googleapis/synthtool | tests/fixtures/snippets/interleaved.js | 764 | /**
* Copyright 2020 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 i... | apache-2.0 |
wangqi/gameserver | admin/src/main/java/com/xinqihd/sns/gameserver/admin/i18n/ColumnNames.java | 3924 | package com.xinqihd.sns.gameserver.admin.i18n;
import java.util.HashMap;
public class ColumnNames {
private static HashMap<String, String> map = new HashMap<String, String>();
static {
map.put("profile" , "profile");
map.put("vip" , "vip");
map.put("ability" , "ability");
map.put("login" , "登陆");
map.p... | apache-2.0 |
apache/hadoop-mapreduce | src/contrib/mrunit/src/java/org/apache/hadoop/mrunit/mapreduce/mock/MockMapContext.java | 2972 | /**
* 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 |
Stratoscale/osmosis | cpp/Osmosis/Hash.cpp | 2702 | #include <openssl/md5.h>
#include <openssl/sha.h>
#include <boost/filesystem/path.hpp>
#include <Osmosis/Hash.h>
#include <Osmosis/Tongue.h>
#include "Common/Error.h"
#include "Osmosis/Hex.h"
namespace Osmosis
{
Hash::Hash( const struct Tongue::Hash & raw ) :
_raw( raw )
{
ASSERT( _raw.hashAlgorithm == static_cast<... | apache-2.0 |
tomgarcia/micromouse2016 | libs/pid.cpp | 625 | #include "pid.h"
#include "float.h"
Pid::Pid(double P, double I, double D)
: P(P), I(I), D(D)
{
prev_error = 0;
integral = 0;
}
double Pid::correction(double error)
{
derivative = error - prev_error;
prev_error = error;
if(error > 0 && integral >= DBL_MAX - error) {
integral = DBL_MAX;
... | apache-2.0 |
wimarsha93/Digital-Pulz-for-Hospitals | HIS_Latest_Project_29-07-2016/OPD/Pearson_OPD/application/controllers/allergies_c.php | 5476 | <?php
session_start();
class allergies_c extends CI_Controller {
var $_site_base_url = SITE_BASE_URL;
public function __construct() {
parent::__construct();
}
public function index() {
}
public function view() {
}
public function add($pid, $visitid, $statu... | apache-2.0 |
infinitiessoft/nova2.0-api | src/main/java/com/infinities/nova/exception/OnsetFileLimitExceededException.java | 1198 | /*******************************************************************************
* Copyright 2015 InfinitiesSoft Solutions 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
*
* ... | apache-2.0 |
hohhots/materialize-minwei-mongol-class | gulpfile.babel.js | 13242 | /**
*
* Web Starter Kit
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*... | apache-2.0 |
josdem/client-control | messengine/src/main/java/com/all/messengine/Message.java | 11749 | /**
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, rep... | apache-2.0 |
hurricup/intellij-community | java/debugger/impl/src/com/intellij/debugger/impl/DebuggerManagerImpl.java | 23558 | /*
* Copyright 2000-2016 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 |
asha-nepal/AshaFusionCross | src/web/forms/editor/FormAdder.js | 1983 | /* @flow */
import React from 'react';
import Modal from '../../components/Modal';
import {
TextInputComponent,
} from '../fields';
type Props = {
onFormAdd: (id: string, label: string) => void,
className?: string,
}
export default class extends React.Component {
constructor(props: Props) {
super(props);... | apache-2.0 |
Pathfinder-Fr/YAFNET | yafsrc/YAF.Types/Interfaces/IRequireStartupServices.cs | 1173 | /* Yet Another Forum.NET
* Copyright (C) 2003-2005 Bjørnar Henden
* Copyright (C) 2006-2013 Jaben Cargman
* Copyright (C) 2014-2020 Ingo Herbote
* https://www.yetanotherforum.net/
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* dis... | apache-2.0 |
icza/sc2gears | src-sc2gearsdb/hu/belicza/andras/sc2gearsdb/apiuser/client/beans/ApiUserInfo.java | 2629 | /*
* Project Sc2gears
*
* Copyright (c) 2010 Andras Belicza <iczaaa@gmail.com>
*
* This software is the property of Andras Belicza.
* Copying, modifying, distributing, refactoring without the authors permission
* is prohibited and protected by Law.
*/
package hu.belicza.andras.sc2gearsdb.apiuser.clie... | apache-2.0 |
hwxiasn/archetypes | ygb/ygb-account-impl/src/main/java/com/qingbo/ginkgo/ygb/account/inner/impl/AccountDoServiceImpl.java | 6342 | package com.qingbo.ginkgo.ygb.account.inner.impl;
import java.math.BigDecimal;
import java.util.Map;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.alibaba.fastjson.JSONObject;... | apache-2.0 |
JaviMerino/lisa | libs/utils/analysis/frequency_analysis.py | 24894 | # SPDX-License-Identifier: Apache-2.0
#
# Copyright (C) 2015, ARM Limited and 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 |
ecabrerar/AirAlliance | src/main/java/org/ecabrerar/examples/airalliance/jaxb/data/Sector.java | 1501 | /*
* Copyright 2014 ecabrerar.
*
* 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 |
schmittjoh/php-stubs | res/php/eio/functions/eio-set-min-parallel.php | 162 | <?php
/**
* Set minimum parallel thread number
*
* @phpstub
*
* @param string $nthreads
*
* @return void
*/
function eio_set_min_parallel($nthreads)
{
} | apache-2.0 |
ivarptr/clobaframe | source/setting/src/main/java/org/archboy/clobaframe/setting/global/impl/DefaultGlobalSettingProvider.java | 3495 | package org.archboy.clobaframe.setting.global.impl;
import java.io.IOException;
import java.io.InputStream;
import java.util.LinkedHashMap;
import java.util.Map;
import javax.annotation.PostConstruct;
import javax.inject.Inject;
import javax.inject.Named;
import org.apache.commons.io.IOUtils;
import org.apache.commons... | apache-2.0 |
martinjirku/olManager | src/map/MapModel.js | 1306 | 'use strict';
var OlModel = require('../core/OlModel.js');
var eventedMixin = require('../core/eventedMixin');
var $ = require('../utils/jquery');
module.exports = OlModel.inheritWith(function(base, baseCtor){
return {
constructor: function(options){
baseCtor.call(this);
this.name = 'OlMapModel';
this.i... | apache-2.0 |
il9ue/cockroach | acceptance/put_test.go | 2231 | // Copyright 2015 The Cockroach 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 ag... | apache-2.0 |
xehoth/OnlineJudgeCodes | BZOJ/BZOJ4809.cpp | 841 | #include <cstdio>
inline int nextInt() {
int r = 0;
int c = getchar_unlocked();
for (; c < 48; c = getchar_unlocked())
;
for (; c > 47; c = getchar_unlocked()) r = r * 10 + c - 48;
return r;
}
const int MAXN = 20;
typedef unsigned long long ull;
int n, ans, map[MAXN][MAXN];
inline voi... | apache-2.0 |
ilopez/GamePerformanceReporter.Client | GamePerfReporter/Upload.Designer.cs | 4894 | namespace GamePerfReporter
{
partial class Upload
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <... | apache-2.0 |
cafjs/caf_deploy | lib/plug_deploy_kubernetes.js | 6100 | // Modifications copyright 2020 Caf.js Labs and contributors
/*!
Copyright 2013 Hewlett-Packard Development Company, L.P.
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 |
janebeckman/gpdb | gpMgmt/test/behave/mgmt_utils/steps/mgmt_utils.py | 220049 | import fnmatch
import getpass
import glob
import gzip
import json
import yaml
try:
import pexpect
except:
print "The pexpect module could not be imported."
import os
import platform
import shutil
import socket
import tarfile
import tempfile
import thread
import json
import csv
import subprocess
import commands... | apache-2.0 |
bendraaisma/gnuob-soap | src/main/java/br/com/netbrasoft/gnuob/generic/content/ContentWebServiceImpl.java | 7684 | /*
* Copyright 2016 Netbrasoft
*
* 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 writi... | apache-2.0 |
Alfredux79/softbills | src/main/webapp/app/entities/work-day/work-day.route.ts | 1980 | import { Injectable } from '@angular/core';
import { Resolve, ActivatedRouteSnapshot, RouterStateSnapshot, Routes, CanActivate } from '@angular/router';
import { UserRouteAccessService } from '../../shared';
import { JhiPaginationUtil } from 'ng-jhipster';
import { WorkDayComponent } from './work-day.component';
impo... | apache-2.0 |
zouzias/spark-lucenerdd-examples | src/main/scala/org/zouzias/spark/lucenerdd/examples/linkage/LinkageScholarvsDBLP.scala | 3643 | package org.zouzias.spark.lucenerdd.examples.linkage
import org.apache.spark.SparkConf
import org.apache.spark.rdd.RDD
import org.apache.spark.sql.{DataFrame, Row, SparkSession}
import org.zouzias.spark.lucenerdd.LuceneRDD
import org.zouzias.spark.lucenerdd._
import org.zouzias.spark.lucenerdd.logging.Logging
/**
* ... | apache-2.0 |
WolfgangFahl/Mediawiki-Japi | jaxbgenerator/src/com/bitplan/mediawiki/japi/api/ObjectFactory.java | 1954 | //
// 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: 2016.01.09 at 03:50... | apache-2.0 |
avadev/AvaTax-REST-V2-DotNet-SDK | src/enums/FilingRequestStatus.cs | 1221 | using System;
/*
* AvaTax API Client Library
*
* (c) 2004-2019 Avalara, Inc.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @author Genevieve Conty
* @author Greg Hester
* Swagger name: AvaTaxClient
*/
namespace Avalara.Av... | apache-2.0 |
google-ar/sceneform-android-sdk | sceneformsrc/sceneform/src/main/java/com/google/ar/sceneform/utilities/ChangeId.java | 929 | package com.google.ar.sceneform.utilities;
/**
* Used to identify when the state of an object has changed by incrementing an integer id. Other
* classes can determine when this object has changed by polling to see if the id has changed.
*
* <p>This is useful as an alternative to an event listener subscription mode... | apache-2.0 |
google-research/google-research | learning_parameter_allocation/utils.py | 22798 | # coding=utf-8
# Copyright 2022 The Google Research 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 applicab... | apache-2.0 |
vjanmey/EpicMudfia | com/planet_ink/coffee_mud/Locales/EndlessSky.java | 6191 | package com.planet_ink.coffee_mud.Locales;
import com.planet_ink.coffee_mud.core.interfaces.*;
import com.planet_ink.coffee_mud.core.*;
import com.planet_ink.coffee_mud.core.collections.*;
import com.planet_ink.coffee_mud.Abilities.interfaces.*;
import com.planet_ink.coffee_mud.Areas.interfaces.*;
import com.planet_ink... | apache-2.0 |
w9jds/azure-activedirectory-library-for-android | tests/Functional/src/com/microsoft/aad/adal/test/HashMapExtensionTests.java | 4289 | // Copyright © Microsoft Open Technologies, 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
//
// THIS CODE... | apache-2.0 |
saghm/mongo-ruby-driver | spec/lite_spec_helper.rb | 4400 | COVERAGE_MIN = 90
CURRENT_PATH = File.expand_path(File.dirname(__FILE__))
SERVER_DISCOVERY_TESTS = Dir.glob("#{CURRENT_PATH}/spec_tests/data/sdam/**/*.yml")
SDAM_MONITORING_TESTS = Dir.glob("#{CURRENT_PATH}/spec_tests/data/sdam_monitoring/*.yml")
SERVER_SELECTION_RTT_TESTS = Dir.glob("#{CURRENT_PATH}/spec_tests/data/se... | apache-2.0 |
Artyou/killbill-ingenico-plugin | src/main/java/org/killbill/billing/plugin/ingenico/client/model/UserData.java | 6875 | /*
* Copyright 2014-2016 Groupon, Inc
* Copyright 2014-2016 The Billing Project, LLC
*
* The Billing Project licenses this file to you under the Apache License, version 2.0
* (the "License"); you may not use this file except in compliance with the
* License. You may obtain a copy of the License at:
*
* http... | apache-2.0 |
elzzup/annict | app/helpers/markdown_helper.rb | 361 | # frozen_string_literal: true
require "github/markup"
module MarkdownHelper
def render_markdown(text)
html = GitHub::Markup.render_s(GitHub::Markups::MARKUP_MARKDOWN, text)
doc = Nokogiri::HTML::DocumentFragment.parse(html)
doc.search("img").each do |img|
img["class"] = "img-fluid img-thumbnail ro... | apache-2.0 |
xschildw/Synapse-Repository-Services | lib/lib-table-cluster/src/main/java/org/sagebionetworks/table/cluster/ColumnTypeInfo.java | 7508 | package org.sagebionetworks.table.cluster;
import static org.sagebionetworks.repo.model.table.ColumnConstants.*;
import org.apache.commons.lang3.StringUtils;
import org.sagebionetworks.repo.model.table.ColumnType;
import org.sagebionetworks.repo.model.table.ValueParser;
import org.sagebionetworks.repo.model.ta... | apache-2.0 |
lslewis901/SqlSchemaTool | SQL Schema Tool GUI/Forms/Main.Designer.cs | 80568 | namespace Lewis.SST.Gui
{
partial class Main
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | apache-2.0 |
olivier-voutat/BlackStar.Localization | BlackStar.Localization/SqlDataManager.cs | 6945 | /*
Copyright 2017 Oliver Voutat
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
... | apache-2.0 |
jentfoo/aws-sdk-java | aws-java-sdk-applicationinsights/src/main/java/com/amazonaws/services/applicationinsights/model/Problem.java | 18886 | /*
* 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 |
devent/globalpom-utils | globalpomutils-fileresources/src/main/java/com/anrisoftware/globalpom/fileresourcemanager/ResourceSaver.java | 5016 | /**
* Copyright © 2013 Erwin Müller (erwin.mueller@anrisoftware.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 |
google/assetMG | app/asset_browser/frontend/src/app/shared/loader/loader.component.spec.ts | 1225 | /**
* Copyright 2020 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 t... | apache-2.0 |
trevor/calendarserver | txweb2/client/interfaces.py | 2530 | # -*- test-case-name: txweb2.test.test_client -*-
##
# Copyright (c) 2007 Twisted Matrix Laboratories.
# Copyright (c) 2010-2014 Apple Inc. All rights reserved.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to dea... | apache-2.0 |
ontop/ontop | client/protege/src/main/java/org/protege/osgi/jdbc/impl/OSGiJdbcDriver.java | 1797 | package org.protege.osgi.jdbc.impl;
import org.osgi.framework.BundleContext;
import org.osgi.framework.Constants;
import org.osgi.framework.Version;
import org.protege.osgi.jdbc.JdbcRegistry;
import java.sql.*;
import java.util.Properties;
import java.util.logging.Logger;
public class OSGiJdbcDriver implements Drive... | apache-2.0 |
Communote/communote-server | communote/persistence/src/main/java/com/communote/server/core/client/ClientInitializationException.java | 915 | package com.communote.server.core.client;
/**
* Exception thrown by the {@link ClientInitializer} to indicate that the initialization failed.
*
* @author Communote GmbH - <a href="http://www.communote.com/">http://www.communote.com/</a>
*/
public class ClientInitializationException extends Exception {
... | apache-2.0 |
clementparizot/ET_Redux | src/main/java/org/earthtime/Tripoli/sessions/TripoliSessionFractionationCalculatorInterface.java | 1317 | /*
* TripoliSessionFractionationCalculatorInterface.java
*
* Created Jul 1, 2011
*
* Copyright 2006-2015 James F. Bowring and www.Earth-Time.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 ... | apache-2.0 |
jokeog/ProjectCalendae | library/src/main/java/com/mikephil/charting/formatter/DefaultYAxisValueFormatter.java | 1110 | package com.mikephil.charting.formatter;
import com.mikephil.charting.components.YAxis;
import java.text.DecimalFormat;
/**
* Created by Philipp Jahoda on 20/09/15.
* Default formatter used for formatting labels of the YAxis. Uses a DecimalFormat with
* pre-calculated number of digits (depending on max and min va... | apache-2.0 |
RBMHTechnology/vind | api/src/main/java/com/rbmhtechnology/vind/parser/queryparser/Literal.java | 245 | package com.rbmhtechnology.vind.parser.queryparser;
import com.rbmhtechnology.vind.api.query.filter.Filter;
import com.rbmhtechnology.vind.model.FieldDescriptor;
public interface Literal{
Filter toVindFilter(FieldDescriptor descriptor);
}
| apache-2.0 |
ssm/ssm-munin | spec/defines/munin_plugin_spec.rb | 4217 | require 'spec_helper'
t_conf_dir = {}
t_conf_dir.default = '/etc/munin'
t_conf_dir['Solaris'] = '/opt/local/etc/munin'
t_conf_dir['FreeBSD'] = '/usr/local/etc/munin'
t_share_dir = {}
t_share_dir.default = '/usr/share/munin'
t_share_dir['Solaris'] = '/opt/local/share/munin'
t_share_dir['FreeBSD'] = '/usr/local/share/m... | apache-2.0 |
pebble2015/cpoi | src/org/apache/poi/ss/formula/ptg/OperationPtg.cpp | 1108 | // Generated from /POI/java/org/apache/poi/ss/formula/ptg/OperationPtg.java
#include <org/apache/poi/ss/formula/ptg/OperationPtg.hpp>
#include <org/apache/poi/ss/formula/ptg/Ptg.hpp>
poi::ss::formula::ptg::OperationPtg::OperationPtg(const ::default_init_tag&)
: super(*static_cast< ::default_init_tag* >(0))
{
... | apache-2.0 |
fgdorais/lean | src/library/messages.cpp | 393 | /*
Copyright (c) 2016 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Gabriel Ebner
*/
#include <string>
#include "library/messages.h"
namespace lean {
message::message(parser_exception const & ex) :
message(ex.get_file_name(), pos_info(... | apache-2.0 |
tengqm/senlin-container | senlin/engine/parser.py | 2624 | # 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 unde... | apache-2.0 |
kohii/smoothcsv | smoothcsv-app-modules/smoothcsv-core/src/main/java/com/smoothcsv/core/sql/engine/SqlTaskWorker.java | 2672 | package com.smoothcsv.core.sql.engine;
import java.awt.Dialog;
import java.sql.ResultSet;
import java.util.function.Consumer;
import javax.swing.SwingUtilities;
import com.smoothcsv.core.component.AsyncTaskDialog;
import com.smoothcsv.core.sql.engine.core.Csvsql;
import com.smoothcsv.framework.error.ErrorHandlerFact... | apache-2.0 |
jlz27/gs-collections | unit-tests/src/test/java/com/gs/collections/impl/set/mutable/UnmodifiableMutableSetTest.java | 6945 | /*
* Copyright 2011 Goldman Sachs.
*
* 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 |
shanti/olio | tags/0.1-final/webapp/rails/trunk/config/environment.rb | 3871 | #
# 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 |
williammartin/guardian | rundmc/runrunc/runruncfakes/fake_bundle_loader.go | 2690 | // Code generated by counterfeiter. DO NOT EDIT.
package runruncfakes
import (
"sync"
"code.cloudfoundry.org/guardian/rundmc/goci"
"code.cloudfoundry.org/guardian/rundmc/runrunc"
)
type FakeBundleLoader struct {
LoadStub func(path string) (goci.Bndl, error)
loadMutex sync.RWMutex
loadArgsForCall [... | apache-2.0 |
dlemstra/Magick.NET | tests/Magick.NET.Tests/Colors/MagickColorTests/TheToStringMethod.cs | 1315 | // Copyright Dirk Lemstra https://github.com/dlemstra/Magick.NET.
// Licensed under the Apache License, Version 2.0.
using ImageMagick;
using Xunit;
namespace Magick.NET.Tests
{
public partial class MagickColorTests
{
public class TheToStringMethod
{
[Fact]
public void... | apache-2.0 |
cronn-de/jira-sync | src/main/java/de/cronn/jira/sync/mapping/DefaultPriorityMapper.java | 2278 | package de.cronn.jira.sync.mapping;
import java.util.Objects;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.util.Assert;
import de.cronn.jira.sync.config.JiraSyncConfi... | apache-2.0 |
soundcloud/zipkin | zipkin-server/src/test/java/zipkin/server/internal/ITZipkinServerQueryDisabled.java | 2196 | /**
* Copyright 2015-2018 The OpenZipkin 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 ... | apache-2.0 |
xiaopeng163/gocode | int.go | 276 | package main
import "fmt"
var (
a = 1
b = 2
c = 3
)
var d int
var e int = 5
func main() {
f := 6
fmt.Printf("a is %d\n", a)
fmt.Printf("b is %d\n", b)
fmt.Printf("c is %d\n", c)
fmt.Printf("d is %d\n", d)
fmt.Printf("e is %d\n", e)
fmt.Printf("f is %d\n", f)
}
| apache-2.0 |
pacozaa/BoofCV | main/recognition/src/boofcv/factory/tracker/FactoryTrackerObjectQuad.java | 7119 | /*
* 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 |
tberg12/murphy | src/tberg/murphy/sequence/HMM.java | 6849 | package tberg.murphy.sequence;
import tberg.murphy.sequence.ForwardBackward.StationaryLattice;
import tberg.murphy.sequence.ForwardBackward.StationaryStateProjector;
public class HMM {
public interface StationaryTransitionModel {
public int numSequences();
public int sequenceLength(int d);
public int numStat... | apache-2.0 |
teffy/okhttp | okhttp/src/main/java/okhttp3/ConnectionSpec.java | 12159 | /*
* Copyright (C) 2014 Square, 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 |
querytalk/library | extensions/Extensions_Select.cs | 3299 | #region License
// Copyright (c) Amos Voron. All rights reserved.
// Licensed under the Apache 2.0 License. See LICENSE in the project root for license information.
#endregion
using QueryTalk.Wall;
namespace QueryTalk
{
public static partial class Extensions
{
#region Select
/// <summary>
... | apache-2.0 |
aws/aws-sdk-java | aws-java-sdk-glacier/src/main/java/com/amazonaws/services/glacier/model/ServiceUnavailableException.java | 3024 | /*
* 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 |
david-romero/tfg-vaadin | appEducacionalVaadin/src/main/java/com/app/ui/user/tutores/view/TutorView.java | 1922 | /**
* LoginView.java
* appEducacionalVaadin
* 29/11/2014 14:05:37
* Copyright David
* com.app.ui
*/
package com.app.ui.user.tutores.view;
import ru.xpoft.vaadin.DiscoveryNavigator;
import com.app.infrastructure.security.Authority;
import com.app.ui.NavigatorUI;
import com.app.ui.user.MenuComponent;
import com.a... | apache-2.0 |
open-telemetry/opentelemetry-collector-contrib | receiver/redisreceiver/metric_functions_test.go | 1817 | // Copyright 2020, OpenTelemetry 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 ag... | apache-2.0 |
wpride/commcare | backend/src/org/commcare/util/SessionFrame.java | 2996 | /**
*
*/
package org.commcare.util;
import java.util.Vector;
/**
* @author ctsims
*
*/
public class SessionFrame {
/** CommCare needs a Command (an entry, view, etc) to proceed. Generally sitting on a menu screen. */
public static final String STATE_COMMAND_ID = "COMMAND_ID";
/** CommCare needs the ID... | apache-2.0 |
gamerson/bnd | biz.aQute.bndlib/src/aQute/bnd/maven/package-info.java | 100 | /**
*/
@Version("1.10.0")
package aQute.bnd.maven;
import org.osgi.annotation.versioning.Version;
| apache-2.0 |
CE-KMITL-CLOUD-2014/Automatic-CMS-Installation | dns/templates_c/96642fa89977ab56fbdfc6496ab4dd78e18d788c.file.pages.tpl.php | 4329 | <?php /* Smarty version Smarty-3.1.18, created on 2014-10-04 13:54:53
compiled from "../templates/pages.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1599438714542ffc2d7141b9-38499056%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>... | apache-2.0 |