code
stringlengths
3
1.05M
repo_name
stringlengths
4
116
path
stringlengths
4
991
language
stringclasses
9 values
license
stringclasses
15 values
size
int32
3
1.05M
/* * TestTracker.cs * SnowplowTrackerTests * * Copyright (c) 2015 Snowplow Analytics Ltd. All rights reserved. * * This program is licensed to you under the Apache License Version 2.0, * and you may not use this file except in compliance with the Apache License Version 2.0. * You may obtain a copy of the Apach...
snowplow/snowplow-unity-tracker
SnowplowTracker.Tests/Assets/Tests/TestTracker.cs
C#
apache-2.0
5,574
package com.skyrocketgwt.core.client.layouts.layoutpanel.appearance; import com.google.gwt.dom.client.Element; /** * Created by v on 2/22/2015. */ public interface SkySplitterAppearance { Element render(double splitterSize); }
SkyRocketGWT/skyrocketgwt
skyrocket-core/src/main/java/com/skyrocketgwt/core/client/layouts/layoutpanel/appearance/SkySplitterAppearance.java
Java
apache-2.0
237
package com.example.chengqi.mycoderepo.layouts; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import com.example.chengqi.mycoderepo.R; public class RelativeLayoutActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onC...
firstbytegithub/MyCodeRepo
app/src/main/java/com/example/chengqi/mycoderepo/layouts/RelativeLayoutActivity.java
Java
apache-2.0
415
## # Copyright (c) 2009-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 deal # in the Software without restriction, including without limitation the rights # to use, copy, mod...
trevor/calendarserver
twistedcaldav/test/test_memcacheprops.py
Python
apache-2.0
14,385
package ru.stqa.pft.sandbox; /** * Created by Yulia on 3/1/2017. */ public class Equality { public static void main(String [] args){ String s1 = "firefox"; String s2 = new String(s1); System.out.println(s1 == s2); System.out.println(s1.equals(s2)); } }
yvasilevskaya/java_pft
sandbox/src/main/java/ru/stqa/pft/sandbox/Equality.java
Java
apache-2.0
279
# -*- coding: utf-8 -*- from selenium import webdriver from fixture.session import SessionHelper from fixture.group import GroupHelper from fixture.address import AddressHelper class Application(object): def __init__(self, browser, base_url): if browser == "firefox": self.wd = webdriver.Firef...
vpalex999/python_training
fixture/application.py
Python
apache-2.0
1,165
jQuery(document).ready(function($){ $("a[data-upvote-id]").click(function(){ var id = $(this).attr('data-upvote-id'); $.ajax( { url: WP_API_Settings.root + 'goodmorning-news/1.0/upvote/' + id, method: 'GET', beforeSend: function ( xhr ) { xhr.setRequestHeader( 'X-WP-Nonce', WP_API_Settings.nonce ...
Luehrsen/good_morning_news
www/wp-content/plugins/goodmorning_plugin/js/admin.js
JavaScript
apache-2.0
787
<?php include 'db.php';?> <?php if(isset($_POST["login-submit"])) { $sql="SELECT `email`, `passwd` FROM `register` WHERE email ='".$_POST['email']."';"; if($res = $mysqli->query($sql)) { if ($res->num_rows > 0) { // output data of each row while($row = $res->fetch_as...
hkbhkb7/online_complaitbox
login.php
PHP
apache-2.0
672
/** * */ package edu.mycourses.adt.st; /** * @author Ibrahima Diarra * */ public class BasicST<Key, Value> extends AbstractST<Key, Value> { @Override public void put(Key key, Value value) { } @Override public Value get(Key key) { return null; } @Override public int size() { ...
githubdiarra/playground-repo
playground/src/main/java/edu/mycourses/adt/st/BasicST.java
Java
apache-2.0
407
#!/usr/bin/python from __future__ import absolute_import, print_function import argparse import csv import os import re import sys try: from plistlib import load as load_plist # Python 3 from plistlib import dump as dump_plist except ImportError: from plistlib import readPlist as load_plist # Python 2 ...
nmcspadden/PrinterGenerator
print_generator.py
Python
apache-2.0
10,809
package jp.co.altxt2db.dto; /** * 環境情報保持DTO * */ public class EnvironmentDto { /** 実行用アクションクラスパス */ public String actionClass; /** 実行時引数 */ public String[] args; }
hisataka/altxt2db
src/main/java/jp/co/altxt2db/dto/EnvironmentDto.java
Java
apache-2.0
236
#include <iostream> #include <ctime> class Stos { private: int dane[100]; int n; int id; public: Stos(int id){ this->id = id; n=0; std::cout << "["<< id <<"] Pojawiam sie!" << std::endl; } ~Stos(){ std::cout << "["<< id <<"] Znikam!" << std::endl; } ...
grzegorz2047/UAMRepo
POB/po-c1/po-c1.cpp
C++
apache-2.0
2,750
package org.onvif.ver10.schema; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAnyElement; import javax.xml.bind.annotation.XmlType; import org.apache.commons.lang3.builder.ToStrin...
fpompermaier/onvif
onvif-ws-client/src/main/java/org/onvif/ver10/schema/IOCapabilitiesExtension2.java
Java
apache-2.0
2,379
/* * Copyright (C) 2011 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 requir...
soeminnminn/LatinIME_ICS_ported
src/com/android/inputmethod/compat/ArraysCompatUtils.java
Java
apache-2.0
2,027
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/inspector2/model/GetFindingsReportStatusResult.h> #include <aws/core/utils/json/JsonSerializer.h> #include <aws/core/AmazonWebServiceResult.h> #include <aws/core/utils/StringUtils.h> #in...
aws/aws-sdk-cpp
aws-cpp-sdk-inspector2/source/model/GetFindingsReportStatusResult.cpp
C++
apache-2.0
1,854
package com.joyue.tech.gankio.mvp.history; import com.joyue.tech.core.mvp.listener.OnLoadDataListListener; import com.joyue.tech.gankio.api.GankApi; import rx.Observer; public class HistoryModel implements HistoryContract.Model { @Override public void history(OnLoadDataListListener listener) { GankA...
skyofthinking/AndRapid
gankio/src/main/java/com/joyue/tech/gankio/mvp/history/HistoryModel.java
Java
apache-2.0
764
module Amigrind class Repo include Amigrind::Core::Logging::Mixin attr_reader :path def initialize(path) @path = File.expand_path path raise "'path' (#{path}) is not a directory." unless Dir.exist?(path) raise "'path' is not an Amigrind root (lacks .amigrind_root file)." \ unl...
eropple/amigrind
lib/amigrind/repo.rb
Ruby
apache-2.0
6,902
require_relative '../../test_helper' class TestVersion < Minitest::Test def test_version assert_equal( false, SendWithUs::VERSION.nil? ) end end
sendwithus/sendwithus_ruby
test/lib/send_with_us/version_test.rb
Ruby
apache-2.0
156
package com.google.ratel.deps.jackson.databind.ser.std; import java.io.IOException; import java.lang.reflect.Type; import com.google.ratel.deps.jackson.core.*; import com.google.ratel.deps.jackson.databind.JavaType; import com.google.ratel.deps.jackson.databind.JsonMappingException; import com.google.ratel.deps.jack...
sabob/ratel
ratel/src/com/google/ratel/deps/jackson/databind/ser/std/StringSerializer.java
Java
apache-2.0
1,752
/** * Copyright 2016 Sebastien Pelletier * * 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...
pellse/decorator
src/test/java/io/github/pellse/decorator/collection/InitializedBoundedList.java
Java
apache-2.0
772
import Ember from 'ember'; import HasIdMixin from '../mixins/has-id'; const { computed, Mixin, assert, defineProperty } = Ember; /* A mixin that enriches a component that is attached to a model property. The property name by default is taken from the formComponent, computed unless explictly defined in the `prope...
slannigan/computed_input_errors
addon/mixins/has-property.js
JavaScript
apache-2.0
1,005
using DotvvmAcademy.Meta.Syntax; using System; using System.Diagnostics; using System.Linq; using System.Reflection; namespace DotvvmAcademy.Meta { internal class MetaMemberInfoVisitor : MemberInfoVisitor<NameNode> { public override NameNode DefaultVisit(MemberInfo info) { throw ne...
riganti/dotvvm-samples-academy
src/DotvvmAcademy.Meta/MetaMemberInfoVisitor.cs
C#
apache-2.0
2,764
using System; using System.Collections; using System.Collections.Generic; using System.Collections.Specialized; using System.ComponentModel; using System.Linq; using System.Management.Automation; using System.Text; using System.Threading; namespace NetworkUtility { #pragma warning disable CS1591 // Missing XML comment...
lerwine/PowerShell-Modules
src/NetworkUtility/UriPathSegmentList.cs
C#
apache-2.0
21,377
package botservice.schedule; import botservice.model.system.UserLogEntity; import botservice.model.system.UserLogEntity_; import botservice.properties.BotServiceProperty; import botservice.properties.BotServicePropertyConst; import botservice.service.SystemService; import botservice.service.common.BaseParam; i...
dev-comp/botservice
botservice-ejb/src/main/java/botservice/schedule/MsgToUserResender.java
Java
apache-2.0
2,890
package com.unit16.z.indexed; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java.util.function.Function; import java.util.function.Predicate; import com.google.common.collect.Iterators; import com.google.common.collect.Lists; import com.google.common.collect.UnmodifiableIterator...
vincentk/unit16-z
src/main/java/com/unit16/z/indexed/DSL.java
Java
apache-2.0
3,250
<h1>This is an taxonomy</h1> <ul> <li>id: {{ $taxonomy->id }}</li> <li>slug: {{ $taxonomy->slug }}</li> <li>hierarchical: {{ $taxonomy->hierarchical }}</li> {{ dump($taxonomy->terms) }} </ul>
Datahjelpen/PEAK
resources/views/item/taxonomy/content-main.blade.php
PHP
apache-2.0
206
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using Elasticsearch.Net; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace Nest { [JsonConverter(typeof(GetAliasResponseConverter))] public interface IGetAliasResponse : IResponse { IReadOnlyDictionary<st...
CSGOpenSource/elasticsearch-net
src/Nest/Indices/AliasManagement/GetAlias/GetAliasResponse.cs
C#
apache-2.0
2,661
/* * #%L * FlatPack Demonstration Client * %% * Copyright (C) 2012 Perka 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...
perka/flatpack-java
demo-client/src/test/java/com/getperka/flatpack/demo/client/ClientSmokeTest.java
Java
apache-2.0
8,420
package com.example.testconnectionappmart; public class Service { private int id; private String discountEndDt; private String discountPrice; private String logoImagePath; private String discountAmount; private String saveType; private String appmartPrice; private String serviceName; private String appNa...
info-appmart/OthersMethods
src/com/example/testconnectionappmart/Service.java
Java
apache-2.0
3,650
package com.animerom.filemanager.commands.shell; import com.animerom.filemanager.commands.ChangePermissionsExecutable; import com.animerom.filemanager.console.CommandNotFoundException; import com.animerom.filemanager.console.ExecutionException; import com.animerom.filemanager.console.InsufficientPermissionsException; ...
AnimeROM/android_package_AnimeManager
src/com/animerom/filemanager/commands/shell/ChangePermissionsCommand.java
Java
apache-2.0
2,364
<?php /** * This example updates a proposal's notes. To determine which proposals exist, * run GetAllProposals.php. * * PHP version 5 * * 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 th...
Getsidecar/googleads-php-lib
examples/Dfp/v201702/ProposalService/UpdateProposals.php
PHP
apache-2.0
2,856
/* * Copyright © 2014 - 2019 Leipzig University (Database Research Group) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unles...
rostam/gradoop
gradoop-flink/src/test/java/org/gradoop/flink/model/impl/operators/matching/single/cypher/common/functions/ReverseEdgeEmbeddingTest.java
Java
apache-2.0
1,568
/* * 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...
moosbusch/xbLIDO
src/net/opengis/gml/MultiSurfaceDomainType.java
Java
apache-2.0
8,916
package o; import android.content.Context; import android.content.res.Resources; import android.graphics.Bitmap; import android.graphics.drawable.Drawable; import android.util.TypedValue; import android.view.View; import android.view.ViewGroup; import android.widget.AbsListView.LayoutParams; import android.widget.Base...
mmmsplay10/QuizUpWinner
quizup/o/ฯ.java
Java
apache-2.0
2,925
<?php /** * 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"); y...
d-ulyanov/log4php-graylog2
src/main/php/layouts/LoggerLayoutGelf.php
PHP
apache-2.0
8,053
<?php namespace MonologCreator\Processor; /** * Class ExtraFieldProcessor * * Allows adding additional high-level or special fields to the log output. * * @package MonologCreator\Processor * @author Sebastian Götze <s.goetze@bigpoint.net> */ class ExtraFieldProcessor implements \Monolog\Processor\ProcessorInter...
Bigpoint/monolog-creator
src/MonologCreator/Processor/ExtraFieldProcessor.php
PHP
apache-2.0
1,014
#include "common/router/upstream_request.h" #include <chrono> #include <cstdint> #include <functional> #include <memory> #include <string> #include "envoy/event/dispatcher.h" #include "envoy/event/timer.h" #include "envoy/grpc/status.h" #include "envoy/http/conn_pool.h" #include "envoy/runtime/runtime.h" #include "en...
envoyproxy/envoy-wasm
source/common/router/upstream_request.cc
C++
apache-2.0
22,548
package com.planet_ink.coffee_mud.Abilities.Spells; 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...
bozimmerman/CoffeeMud
com/planet_ink/coffee_mud/Abilities/Spells/Spell_Erase.java
Java
apache-2.0
3,338
/******************************************************************************* * Copyright 2020 Tremolo Security, 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://...
TremoloSecurity/OpenUnison
unison/unison-applications-gitlab/src/main/java/com/tremolosecurity/unison/gitlab/provisioning/targets/GitlabUserProvider.java
Java
apache-2.0
21,837
package com.github.gserv.serv.wx.message; /** * 消息解析异常 * * @author shiying * */ public class XmlMessageParseException extends RuntimeException { /** * */ private static final long serialVersionUID = 6648701329524322380L; public XmlMessageParseException() { super(); // TODO Auto-generated constructo...
gserv/serv
serv-wx/src/main/java/com/github/gserv/serv/wx/message/XmlMessageParseException.java
Java
apache-2.0
700
/* * Copyright (c) 2020 EmeraldPay Inc, All Rights Reserved. * Copyright (c) 2016-2017 Infinitape 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 * * ...
ethereumproject/etherjar
etherjar-abi/src/main/java/io/emeraldpay/etherjar/abi/UFixedType.java
Java
apache-2.0
3,629
<?php /** * @var \Ecommerce\Item $item ; */ ?> <div class="ecommerce"> <div class="row"> <div class="col-md-3 item-sidebar"> <div class="sidebar-block"> <div class="items"> <?php $this->widget('Ecommerce\categorys'); ?> </div> </d...
injitools/cms-Inji
system/modules/Ecommerce/appControllers/content/view.php
PHP
apache-2.0
3,001
// 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 by applicabl...
ivannaranjo/google-cloud-visualstudio
GoogleCloudExtension/GoogleCloudExtension/CloudExplorerSources/Gae/VersionItem.cs
C#
apache-2.0
3,463
/** * */ package com.app.base.common.calculation; /** * 用来定义两个点之间的距离. * * @author tianyu912@yeah.net */ public class Space { /** * x,y轴需要增加或增小的距离. */ public float x_space = 0, y_space = 0; /** * */ public Space() { super(); } /** * 构造Space对象. * @param x_space x轴需要增加或增小的距离. * @param y...
treason258/TreLibrary
LovelyReaderAS/appbase/src/main/java/com/app/base/common/calculation/Space.java
Java
apache-2.0
560
angular.module('asics').controller('ReportCtrl', [ '$mdToast', '$scope', '$interval', 'admin', '$stateParams', function ($mdToast, $scope, $interval, admin, $stateParams) { $scope.strings = {}; $scope.language = $stateParams.language; $scope.country_count = []; $scope.available_dates = []; ...
d3estudio/asics-access
web/app/assets/javascripts/controllers/admin/reportCtrl.js
JavaScript
apache-2.0
1,736
package org.mimacom.commons.liferay.adapter6110; /* * Copyright (c) 2014 mimacom a.g. * * 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....
mimacom/maven-liferay-plugin
mimacom-liferay-adapter/mimacom-liferay-adapter-6.1.10/src/main/java/org/mimacom/commons/liferay/adapter6110/LiferayToolsImpl.java
Java
apache-2.0
3,832
/* * Copyright 2007 Sun Microsystems, Inc. All Rights Reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundati...
KyoSherlock/SherlockMidi
sherlockmidi/src/main/java/cn/sherlock/com/sun/media/sound/ModelConnectionBlock.java
Java
apache-2.0
4,417
/* * Copyright 1999-2018 Alibaba Group Holding 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 applica...
alibaba/nacos
common/src/main/java/com/alibaba/nacos/common/http/client/handler/AbstractResponseHandler.java
Java
apache-2.0
2,256
/** * */ package org.apache.hadoop.hdfs.server.namenodeFBT.rule; import org.apache.hadoop.hdfs.server.namenodeFBT.FBTDirectory; import org.apache.hadoop.hdfs.server.namenodeFBT.NameNodeFBTProcessor; import org.apache.hadoop.hdfs.server.namenodeFBT.NodeVisitor; import org.apache.hadoop.hdfs.server.namenodeFBT...
hanhlh/hadoop-0.20.2_FatBTree
src/hdfs/org/apache/hadoop/hdfs/server/namenodeFBT/rule/CompleteFileRule.java
Java
apache-2.0
1,272
/* * Copyright (C) ExBin Project * * This application or library is free software: you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation, either version 3 of the License, * or (at your option) any later version. * * Thi...
hajdam/deltahex-netbeans
src/org/exbin/framework/editor/text/panel/TextFontOptionsPanel.java
Java
apache-2.0
15,094
<? $error = false; if (isset($_POST['action'])) { switch ($_POST['action']) { case 'crypt_set_key': $_SESSION['core']['install']['crypt']['key'] = $_POST['key']; break; } } ob_start(); ?> <!DOCTYPE html> <html lang="en-US"> <head> <title>Install Crypt</title> <meta char...
Tendors/phpshell
protected/modules/Crypt/install.php
PHP
apache-2.0
1,294
/* * Copyright 2012 GitHub 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 ...
DeLaSalleUniversity-Manila/forkhub-Janelaaa
app/src/main/java/com/janela/mobile/ui/gist/CreateGistActivity.java
Java
apache-2.0
4,694
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace Rawr.CustomControls { public partial class ExtendedToolTipLabel : Label { private ToolTip _ToolTip; private string _Too...
Alacant/Rawr-RG
Rawr.Base/CustomControls/ExtendedToolTipLabel.cs
C#
apache-2.0
1,292
package org.gradle.test.performance.mediummonolithicjavaproject.p388; import org.junit.Test; import static org.junit.Assert.*; public class Test7764 { Production7764 objectUnderTest = new Production7764(); @Test public void testProperty0() { String value = "value"; objectUnderTest....
oehme/analysing-gradle-performance
my-app/src/test/java/org/gradle/test/performance/mediummonolithicjavaproject/p388/Test7764.java
Java
apache-2.0
2,111
/** * Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.engine.fudgemsg; import java.util.ArrayList; import java.util.List; import org.fudgemsg.FudgeField; import org.fudgemsg.FudgeMsg; import org.fudgemsg.MutableF...
McLeodMoores/starling
projects/engine/src/main/java/com/opengamma/engine/fudgemsg/ValuePropertiesFudgeBuilder.java
Java
apache-2.0
4,577
/// <reference path="BaseCallback.d.ts" /> /// <reference path="CommonUtil.d.ts" /> /// <reference path="IServiceResultCallback.d.ts" /> /// <reference path="IServiceResultCallbackError.d.ts" /> /// <reference path="IServiceResultCallbackWarning.d.ts" /> /// <reference path="ServiceResponse.d.ts" /> /** --| ADAPTIVE RU...
AdaptiveMe/adaptive-arp-javascript
adaptive-arp-js/src_units/ServiceResultCallback.d.ts
TypeScript
apache-2.0
5,079
package voltric.io.data.arff; /** * Created by Fernando on 2/15/2017. */ public class ArffFolderReader { }
fernandoj92/mvca-parkinson
voltric-ltm-analysis/src/main/java/voltric/io/data/arff/ArffFolderReader.java
Java
apache-2.0
110
/* * Copyright (C) 2015 The Gravitee team (http://gravitee.io) * * 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 requi...
gravitee-io/gravitee-management-webui
src/management/api/proxy/backend/endpoint/group.controller.ts
TypeScript
apache-2.0
5,282
/* * Copyright 2020 Red Hat, Inc. and/or its affiliates. * * 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...
droolsjbpm/optaplanner
optaplanner-core/src/main/java/org/optaplanner/core/impl/solver/scope/SolverScope.java
Java
apache-2.0
9,712
package org.flowcolab.account.service.client.dto.account; import org.flowcolab.account.service.client.dto.person.PersonCreateRequest; import org.hibernate.validator.constraints.Email; import org.hibernate.validator.constraints.NotEmpty; import javax.validation.constraints.AssertTrue; import javax.validation.constrain...
omacarena/novaburst.flowcolab
app/modules/account/account.service.client/src/main/org/flowcolab/account/service/client/dto/account/AccountCreateRequest.java
Java
apache-2.0
2,219
/** * Copyright (C) 2012 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.analytics.financial.credit.creditdefaultswap.pricing; import javax.time.calendar.ZonedDateTime; import com.opengamma.analytics.financial.credit.BuySellProtec...
charles-cooper/idylfin
src/com/opengamma/analytics/financial/credit/creditdefaultswap/pricing/PresentValueLegacyCreditDefaultSwap.java
Java
apache-2.0
24,342
package com.twu.biblioteca; public class MockMenuOption { }
archana-khanal/twu-biblioteca-archanakhanal
test/com/twu/biblioteca/MockMenuOption.java
Java
apache-2.0
61
<?php if (!defined('IN_IAEWEB')) exit(); /** * 图片路径自动补全 */ function image($url) { if (empty($url) || strlen($url) < 4) return SITE_PATH.'data/upload/nopic.gif'; if (substr($url, 0, 7) == 'http://') return $url; if (strpos($url, SITE_PATH) !== false && SITE_PATH != '/') return $url; if (substr($url, ...
xiaohaoyong/www.jzfupin.cn
core/library/global.function.php
PHP
apache-2.0
10,008
/* * Copyright (c) 2013-2015, Arjuna Technologies Limited, Newcastle-upon-Tyne, England. All rights reserved. */ package com.arjuna.databroker.metadata.client; import java.util.List; import javax.ws.rs.Consumes; import javax.ws.rs.GET; import javax.ws.rs.POST; import javax.ws.rs.PUT; import javax.ws.rs.Path; import...
RISBIC/DataBroker
metadata-ws/src/main/java/com/arjuna/databroker/metadata/client/ContentProxy.java
Java
apache-2.0
1,572
/* * 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...
aws/aws-sdk-java
aws-java-sdk-devopsguru/src/main/java/com/amazonaws/services/devopsguru/model/ThrottlingException.java
Java
apache-2.0
5,545
# Copyright 2016 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 writing...
stratis-storage/stratis-cli
src/stratis_cli/_parser/_physical.py
Python
apache-2.0
1,060
package org.dongzhou.rescueTime; import java.net.URI; import java.net.URISyntaxException; import org.apache.http.client.methods.RequestBuilder; import org.apache.log4j.Logger; public class ApiUtil { private static Logger logger = Logger.getLogger(ApiUtil.class.getName()); private static final String KEY = "B63vb...
zhou-dong/probabilistic-graphical-models
src/org/dongzhou/rescueTime/ApiUtil.java
Java
apache-2.0
767
/** * Copyright (c) 2011-2013, Lukas Eder, lukas.eder@gmail.com * All rights reserved. * * This software is licensed to you under the Apache License, Version 2.0 * (the "License"); You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Redistribution and use in source and ...
yangyining/JFinal-plus
src/main/java/com/janeluo/jfinalplus/kit/ReflectException.java
Java
apache-2.0
2,843
package org.dbflute.erflute.db; import java.net.MalformedURLException; import java.net.URL; import java.net.URLClassLoader; import java.sql.Connection; import java.sql.DatabaseMetaData; import java.sql.Driver; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util.Enumera...
dbflute-session/erflute
src/org/dbflute/erflute/db/DBManagerBase.java
Java
apache-2.0
5,834
package com.centurylink.mdw.model.request; import com.centurylink.mdw.model.Jsonable; import com.centurylink.mdw.xml.XmlPath; import org.apache.xmlbeans.XmlException; /** * Request handler spec. * TODO: JSONPath */ public class HandlerSpec implements Comparable<HandlerSpec>, Jsonable { private String name; ...
CenturyLinkCloud/mdw
mdw-common/src/com/centurylink/mdw/model/request/HandlerSpec.java
Java
apache-2.0
1,912
package tk.zielony.carbonsamples.applibrary; import android.app.Activity; import android.os.Bundle; import android.support.v7.widget.LinearLayoutManager; import java.util.Arrays; import java.util.List; import carbon.widget.RecyclerView; import tk.zielony.carbonsamples.R; /** * Created by Marcin on 2014-12-15. */ ...
sevoan/Carbon
samples/src/main/java/tk/zielony/carbonsamples/applibrary/RecyclerCardsActivity.java
Java
apache-2.0
1,051
package dk.lessismore.nojpa.net.link; import dk.lessismore.nojpa.serialization.Serializer; import java.net.Socket; import java.io.IOException; public class ClientLink extends AbstractLink { public ClientLink(String serverName, int port) throws IOException { this(serverName, port, null); } publi...
NoJPA-LESS-IS-MORE/NoJPA
nojpa_common/src/main/java/dk/lessismore/nojpa/net/link/ClientLink.java
Java
apache-2.0
687
/* * Copyright (C) 2014 Divide.io * * 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 ...
HiddenStage/divide
Client/mock-client/src/main/java/io/divide/client/auth/MockKeyManager.java
Java
apache-2.0
1,473
def write(es,body,index,doc_type): try: res = es.index(index=index, doc_type=doc_type, body=body) return res except Exception, e: return e def search(es,body,index,doc_type,size=None): if size is None: size=1000 try: res = es.search(index=index, doc_type=doc_type, body=body, size=size) return res exce...
TravisFSmith/SweetSecurity
apache/flask/webapp/es.py
Python
apache-2.0
1,377
package com.bottlerocketstudios.continuitysample.core.application; import android.app.Application; import android.databinding.DataBindingUtil; import com.bottlerocketstudios.continuitysample.core.databinding.PicassoDataBindingComponent; import com.bottlerocketstudios.continuitysample.core.injection.ServiceInitializer...
BottleRocketStudios/Android-Continuity
ContinuitySample/app/src/main/java/com/bottlerocketstudios/continuitysample/core/application/ContinuitySampleApplication.java
Java
apache-2.0
1,583
/* * ------ * Adept * ----- * Copyright (C) 2012-2017 Raytheon BBN Technologies Corp. * ----- * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0...
BBN-E/Adept
example/src/test/java/adept/example/ExampleNamedEntityTaggerTest.java
Java
apache-2.0
2,679
package debop4s.data.orm.hibernate.repository; import debop4s.core.collections.PaginatedList; import debop4s.data.orm.hibernate.HibernateParameter; import org.hibernate.*; import org.hibernate.criterion.DetachedCriteria; import org.hibernate.criterion.Example; import org.hibernate.criterion.Order; import org.hibernate...
debop/debop4s
debop4s-data-orm/src/main/scala/debop4s/data/orm/hibernate/repository/HibernateRepository.java
Java
apache-2.0
10,406
/* * Copyright © 2019 Cask Data, 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 ag...
data-integrations/zuora
src/main/java/io/cdap/plugin/zuora/objects/ProxyModifyUnitOfMeasure.java
Java
apache-2.0
2,879
package se.ugli.habanero.j; public class HabaneroException extends RuntimeException { private static final long serialVersionUID = 8697180611643224014L; public HabaneroException(final String msg) { super(msg); } public HabaneroException(final Throwable t) { super(t); } }
ugli/habanero-java
src/main/java/se/ugli/habanero/j/HabaneroException.java
Java
apache-2.0
285
/* * Copyright 2010-2014 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 "l...
rafd123/aws-sdk-net
sdk/src/Services/EC2/Generated/Model/Internal/MarshallTransformations/AttachVpnGatewayRequestMarshaller.cs
C#
apache-2.0
2,614
package com.esm.employee.service.utils; import java.io.IOException; import java.time.LocalDate; import com.fasterxml.jackson.core.JsonGenerator; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.JsonSerializer; import com.fasterxml.jackson.databind.SerializerProv...
esm-services/esm-employee-service
src/main/java/com/esm/employee/service/utils/LocalDateTimeSerializer.java
Java
apache-2.0
633
/* * Copyright 2010-2013 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 "l...
emcvipr/dataservices-sdk-dotnet
AWSSDK/Amazon.ElasticLoadBalancing/AmazonElasticLoadBalancingClient.cs
C#
apache-2.0
111,516
(function(){'use strict'; module.exports = (function () { if (process.argv.indexOf('--no-color') !== -1) { return false; } if (process.argv.indexOf('--color') !== -1) { return true; } if (process.stdout && !process.stdout.isTTY) { return false; } if (process.platform === 'win32') { return true; } i...
durwasa-chakraborty/navigus
.demeteorized/bundle/programs/server/app/lib/node_modules/modulus/node_modules/update-notifier/node_modules/chalk/node_modules/has-color/index.js
JavaScript
apache-2.0
555
package com.nedap.archie.json; import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.databind.DatabindContext; import com.fasterxml.jackson.databind.JavaType; import com.fasterxml.jackson.databind.jsontype.impl.ClassNameIdResolver; import com.fasterxml.jackson.databind.type.TypeFactory; im...
nedap/archie
src/main/java/com/nedap/archie/json/OpenEHRTypeNaming.java
Java
apache-2.0
2,751
/* * Copyright LWJGL. All rights reserved. * License terms: https://www.lwjgl.org/license * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.opencl; /** * Native bindings to the <a href="http://www.khronos.org/registry/cl/extensions/intel/cl_intel_advanced_motion_estimation.txt">intel_advanced_motion_esti...
VirtualGamer/SnowEngine
Dependencies/opencl/src/org/lwjgl/opencl/INTELAdvancedMotionEstimation.java
Java
apache-2.0
2,988
/* * Copyright (c) 2017. Matsuda, Akihit (akihito104) * * 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...
akihito104/UdonRoad
app/src/main/java/com/freshdigitable/udonroad/LinkableTextView.java
Java
apache-2.0
1,342
// Copyright 2014 The Bazel Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appl...
juhalindfors/bazel-patches
src/main/java/com/google/devtools/build/lib/syntax/SkylarkType.java
Java
apache-2.0
28,377
/* * Copyright (c) 2016, WSO2 Inc. (http://wso2.com) All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless re...
taniamahanama/product-msf4j
core/src/test/java/org/wso2/msf4j/internal/router/PathRouterTest.java
Java
apache-2.0
8,334
package org.soa; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.concurrent.LinkedBlockingQueue; import jmetal.core.Variable; import jmetal.encodings.variable.Int; import jmetal.util.JMExc...
taochen/ssase
adaptable-software/soa/src/main/java/org/soa/ExtendedBB.java
Java
apache-2.0
13,454
// Code generated by go-swagger; DO NOT EDIT. package cluster // This file was generated by the swagger tool. // Editing this file might prove futile when you re-run the swagger generate command import ( "context" "net/http" "time" "github.com/go-openapi/errors" "github.com/go-openapi/runtime" cr "github.com/...
NetApp/trident
storage_drivers/ontap/api/rest/client/cluster/cluster_ntp_servers_create_parameters.go
GO
apache-2.0
7,672
/** * @module utils */ const crypto = require( 'crypto' ); const config = require( '../models/config-model' ).server; const validUrl = require( 'valid-url' ); // var debug = require( 'debug' )( 'utils' ); /** * Returns a unique, predictable openRosaKey from a survey oject * * @static * @param {module:survey-mod...
kobotoolbox/enketo-express
app/lib/utils.js
JavaScript
apache-2.0
6,115
package org.spanna.reflect; import org.objectweb.asm.ClassReader; import org.objectweb.asm.ClassVisitor; public interface ReflectiveObject { public boolean locate(ClassReader cr); public boolean initializeReference(); public String getName(); public String getObfuscatedName(); public boolean ...
SpannaProject/SpannaAPI
src/main/java/org/spanna/reflect/ReflectiveObject.java
Java
apache-2.0
371
package org.neotech.library.retainabletasks.internal; import androidx.annotation.RestrictTo; import org.neotech.library.retainabletasks.TaskManager; /** * Created by Rolf on 4-3-2016. */ @RestrictTo(RestrictTo.Scope.LIBRARY_GROUP) public class TaskRetainingFragmentLogic { private final BaseTaskManager taskMan...
NeoTech-Software/Android-Retainable-Tasks
library/src/main/java/org/neotech/library/retainabletasks/internal/TaskRetainingFragmentLogic.java
Java
apache-2.0
618
/* * Copyright (C) 2014 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...
povphearom/UMusicPlayer
app/src/main/java/com/phearom/um/playback/QueueManager.java
Java
apache-2.0
8,980
# # Cookbook Name:: tabelle # Recipe:: default # # Copyright 2016, YOUR_COMPANY_NAME # # All rights reserved - Do Not Redistribute #
pimu/chef-repo
cookbooks/tabelle/recipes/default.rb
Ruby
apache-2.0
133
// Copyright 2017 Jose Luis Rovira Martin // // 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...
jlroviramartin/Essence
Essence.Util/Collections/Iterators/ListIt.cs
C#
apache-2.0
2,147
/* * Copyright 2015 Open Networking Laboratory * * 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...
sonu283304/onos
drivers/default/src/main/java/org/onosproject/driver/query/FullVlanAvailable.java
Java
apache-2.0
1,617
<?php $cs = Yii::app()->getClientScript(); $cssAnsScriptFilesModule = array( '/assets/css/rooms/header.css' ); HtmlHelper::registerCssAndScriptsFiles($cssAnsScriptFilesModule, Yii::app()->theme->baseUrl); $cssAnsScriptFilesModule = array( // '/survey/css/mixitup/reset.css', '/js/actionRooms/actionRooms.js' ); H...
pixelhumain/communecter
views/rooms/header.php
PHP
apache-2.0
18,400
/* * 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 ...
sk0x50/ignite
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/CacheInvokeDirectResult.java
Java
apache-2.0
7,063
<?php // +---------------------------------------------------------------------- // | Fanwe 方维o2o商业系统 // +---------------------------------------------------------------------- // | Copyright (c) 2011 http://www.fanwe.com All rights reserved. // +--------------------------------------------------------------------...
hushulin/zsh_admin
system/libs/integrate.php
PHP
apache-2.0
1,402