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
/** * */ 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 2015 The Serviced 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...
spindance/serviced-precomp
volume/rsync/rsync_unit_test.go
GO
apache-2.0
2,090
/** * 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 2018 Prometheus Team // 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...
Kellel/alertmanager
cli/config.go
GO
apache-2.0
1,698
/** * 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
import subprocess from constants import get_migration_directory, JobStatus from models import ConvertConfigJob from multi_process import WorkUnit import os import re NOX_64_BINARY = "nox-linux-64.bin" NOX_64_MAC = "nox-mac64.bin" class ConvertConfigWorkUnit(WorkUnit): def __init__(self, job_id): WorkUni...
csm-aut/csm
csmserver/work_units/convert_config_work_unit.py
Python
apache-2.0
3,413
/* * ------ * 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
from mod_base import * class CmdPrefix(Command): """Check or set the command prefix that the bot will respond to.""" def run(self, win, user, data, caller=None): args = Args(data) if args.Empty(): cp = self.bot.config["cmd_prefix"] win.Send("current command prefix is: " ...
richrd/bx
modules/cmdprefix.py
Python
apache-2.0
528
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
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright (c) 2012-2017 Snowflake Computing Inc. All right reserved. # """ Concurrent test module """ from logging import getLogger from multiprocessing.pool import ThreadPool import pytest from parameters import (CONNECTION_PARAMETERS_ADMIN) logger = getLogger(__name...
mayfield/snowflake-connector-python
test/test_concurrent_multi_users.py
Python
apache-2.0
5,324
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) 2015 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.strata.pricer.impl.rate; import static com.opengamma.strata.basics.index.IborIndices.GBP_LIBOR_3M; import static com.opengamma.strata.basics.index.IborIndices.G...
OpenGamma/Strata
modules/pricer/src/test/java/com/opengamma/strata/pricer/impl/rate/ForwardIborInterpolatedRateComputationFnTest.java
Java
apache-2.0
10,827
/* * 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
/* Copyright 2013 The jeo project. 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...
jeo/jeo
contrib/mongo/src/test/java/io/jeo/mongo/MongoGeoJSONTest.java
Java
apache-2.0
800
// 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
package com.sequenceiq.cloudbreak.validation.customimage; import com.sequenceiq.cloudbreak.api.endpoint.v4.customimage.request.CustomImageCatalogV4VmImageRequest; import org.junit.Before; import org.junit.Test; import java.util.Arrays; import java.util.Collections; import java.util.Set; import java.util.stream.Collec...
hortonworks/cloudbreak
core-api/src/test/java/com/sequenceiq/cloudbreak/validation/customimage/UniqueRegionValidatorTest.java
Java
apache-2.0
1,393
package buildah import ( "context" "encoding/json" "runtime" "strings" "time" "github.com/containers/buildah/docker" "github.com/containers/image/v5/manifest" "github.com/containers/image/v5/transports" "github.com/containers/image/v5/types" "github.com/containers/storage/pkg/stringid" ociv1 "github.com/op...
projectatomic/buildah
config.go
GO
apache-2.0
22,655
package toolbox_test import ( "github.com/stretchr/testify/assert" "github.com/viant/toolbox" "github.com/viant/toolbox/url" "testing" ) func TestExtractURIParameters(t *testing.T) { { parameters, matched := toolbox.ExtractURIParameters("/v1/path/{app}/{version}/", "/v1/path/app/1.0/?v=12") assert.True(t, m...
viant/toolbox
uri_test.go
GO
apache-2.0
3,363
package gov.cdc.sdp.cbr; import static org.junit.Assert.assertEquals; import java.io.IOException; import java.sql.SQLException; import javax.sql.DataSource; import org.apache.camel.CamelContext; import org.apache.camel.EndpointInject; import org.apache.camel.Exchange; import org.apache.camel.Produce; import org.apa...
CDCgov/SDP-CBR
phinms/src/test/java/gov/cdc/sdp/cbr/EmailOnExceptionTest.java
Java
apache-2.0
2,315
using UnityEngine; using System.Collections; public class CanvasHandler : MonoBehaviour { // Use this for initialization void Awake() { LeanTween.addListener((int)Events.ENERGYPOWERIN, OnEnergyPowerIn); LeanTween.addListener((int)Events.ENERGYPOWEROUT, OnEnergyPowerOut); } pu...
yantian001/2DShooting
Assets/2DShooting/Scripts/UI/CanvasHandler.cs
C#
apache-2.0
692
public class SuperWildCardDemo { public static void main(String[] args) { GenericStack<String> stack1 = new GenericStack<String>(); GenericStack<Object> stack2 = new GenericStack<Object>(); stack2.push("Java"); stack2.push(2); stack1.push("Sun"); add(stack1, stack2); AnyWildCardDem...
txs72/BUPTJava
slides/19/examples/SuperWildCardDemo.java
Java
apache-2.0
511
# -*- coding: utf-8 -*- # 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...
googleads/google-ads-python
google/ads/googleads/v9/services/services/bidding_strategy_service/transports/grpc.py
Python
apache-2.0
12,551
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace iWay.RemoteControlBase.Protocol.RemoteExplorer.Requests { public class RenameContentReq : BasicReq { public string ContentPath; public string NewContentName; } }
iWay7/RemoteControl
RemoteControlBase/Protocol/RemoteExplorer/Requests/RenameContentReq.cs
C#
apache-2.0
291
/** * @license * Copyright 2016 Google Inc. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
funkey/neuroglancer
src/neuroglancer/webgl/texture.ts
TypeScript
apache-2.0
1,865
/** * Copyright (C) 2010-2013 Alibaba Group Holding Limited * * 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...
jiumao-org/wechat-mall
mall-remoting/src/main/java/org/jiumao/remote/exception/RemotingTooMuchRequestException.java
Java
apache-2.0
1,085
/** * Copyright (C) 2015 Zalando SE (http://tech.zalando.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 requir...
zalando-stups/tokens
src/main/java/org/zalando/stups/tokens/AbstractJsonFileBackedCredentialsProvider.java
Java
apache-2.0
1,522
package io.quarkus.arc.test.unused; import static org.junit.jupiter.api.Assertions.assertTrue; import io.quarkus.arc.Arc; import io.quarkus.arc.ArcContainer; import io.quarkus.arc.test.ArcTestContainer; import javax.enterprise.context.Dependent; import javax.enterprise.event.Observes; import javax.enterprise.inject.s...
quarkusio/quarkus
independent-projects/arc/tests/src/test/java/io/quarkus/arc/test/unused/RemoveUnusedInterceptorTest.java
Java
apache-2.0
1,563
__author__ = 'wangxun' """def double(list): i=0 while i <len(list): print i list[i]=list[i]*2 i+=1 return(list) """ def doulbe(list): i=0 [list[i]=list[i]*2 while i<len(list)] return(list) print double([1,2,3,4])
wonstonx/wxgittest
day2 test1.py
Python
apache-2.0
266
package net.orangemile.informatica.powercenter.domain; import java.util.ArrayList; import java.util.List; import net.orangemile.informatica.powercenter.domain.constant.InstanceType; import net.orangemile.informatica.powercenter.domain.constant.PortType; public class Transformation implements Box, Cloneable...
autodidacticon/informatica-powercenter-automation
src/app/java/net/orangemile/informatica/powercenter/domain/Transformation.java
Java
apache-2.0
7,970
''' Created on 04/11/2015 @author: S41nz ''' class TBTAFMetadataType(object): ''' Simple enumeration class that describes the types of metadata that can be discovered within a source code asset ''' #Verdict enumeration types #The verdict for a passing test TEST_CODE="Test Code" #The v...
S41nz/TBTAF
tbtaf/common/enums/metadata_type.py
Python
apache-2.0
379
package showcaseview; import android.app.Activity; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageButton; import ganggongui.dalkomsoft0...
kiss5331/Android
FakeStudyApp/FakeStudy_s/app/src/main/java/showcaseview/Fragment_thred.java
Java
apache-2.0
1,888
package com.decker.jdclassifier; import java.util.ArrayDeque; import java.util.Queue; import java.util.regex.Matcher; import java.util.regex.Pattern; public class StringTokenizer extends AbstractTokenizer { Queue<Token> tokenQueue = new ArrayDeque<Token>(); Token buffer = null; int line = 0; public StringTokeni...
zig158/jdclassifier
jdclassifier/src/com/decker/jdclassifier/StringTokenizer.java
Java
apache-2.0
1,043
package com.bindstone.graphbank.rest; import com.bindstone.graphbank.service.DatabaseService; import com.jayway.restassured.module.mockmvc.RestAssuredMockMvc; import io.restassured.RestAssured; import org.junit.Assert; import org.junit.Before; import org.junit.Test; import org.springframework.beans.factory.annotation....
bindstone/graphbank
Backend/src/test/java/com/bindstone/graphbank/rest/DatabaseRestTest.java
Java
apache-2.0
1,140
package com.mnknowledge.dp.behavioral.observer.wheather; public class CurrentView implements Observer, DisplayElement { private float temperature; private float humidity; @SuppressWarnings("unused") private Subject weatherAPI; public CurrentView(Subject weatherData) { this.weatherAPI = we...
stapetro/mnk_designpatterns
dpsamples/src/main/java/com/mnknowledge/dp/behavioral/observer/wheather/CurrentView.java
Java
apache-2.0
705
package net.falappa.swing.table; import java.awt.Color; import java.awt.Component; import java.awt.Graphics; import javax.swing.BorderFactory; import javax.swing.JTable; import javax.swing.UIManager; import javax.swing.border.Border; import javax.swing.table.DefaultTableCellRenderer; /* * Highlight only...
AlexFalappa/hcc
af-toolkit/src/main/java/net/falappa/swing/table/SelectAllRenderer.java
Java
apache-2.0
2,222
input = """ f(1). :- f(X). """ output = """ f(1). :- f(X). """
veltri/DLV2
tests/parser/grounding_only.2.test.py
Python
apache-2.0
71
package net.moopa3376.guard.fliter; import java.io.IOException; import javax.servlet.Filter; import javax.servlet.FilterChain; import javax.servlet.FilterConfig; import javax.servlet.ServletException; import javax.servlet.ServletRequest; import javax.servlet.ServletResponse; import javax.servlet.http.HttpServletReque...
moopa3376/guard
guard-web/src/main/java/net/moopa3376/guard/fliter/TokenFilter.java
Java
apache-2.0
1,987
package don.sphere; import don.sphere.exif.IFDEntry; import okio.Buffer; import okio.ByteString; import java.io.EOFException; import java.io.IOException; import java.text.ParseException; /** * Created by Don on 30.07.2015. */ public class ExifUtil extends SectionParser<SectionExif> { public static final ByteSt...
donmahallem/SphereEdit
src/main/java/don/sphere/ExifUtil.java
Java
apache-2.0
3,530
/* eslint-env browser */ (function() { 'use strict'; // Check to make sure service workers are supported in the current browser, // and that the current page is accessed from a secure origin. Using a // service worker from an insecure origin will trigger JS console errors. See // http://www.chromi...
leetrunghoo/surfnews
app/scripts/main.js
JavaScript
apache-2.0
15,008
<?php defined('XAPP') || require_once(dirname(__FILE__) . '/../../../Core/core.php'); xapp_import('xapp.Log.Exception'); /** * Log writer exception class * * @package Log * @subpackage Log_Writer * @class Xapp_Log_Writer_Exception * @author Frank Mueller <support@xapp-studio.com> */ class Xapp_Log_Writer_Exce...
back1992/ticool
components/com_xas/xapp/lib/rpc/lib/vendor/xapp/Log/Writer/Exception/Exception.php
PHP
apache-2.0
797
package com.turnos.cliente.conexion; import java.util.Date; import java.util.Hashtable; import java.util.List; import java.util.Map; import java.util.Map.Entry; import javax.ws.rs.client.Client; import javax.ws.rs.client.ClientBuilder; import javax.ws.rs.client.Entity; import javax.ws.rs.client.Invocation.Builder; im...
catoyos-turnos/ETLT-DESA
ClienteAPI/1.0/ETLTClienteAPI_1.0/src/com/turnos/cliente/conexion/ClienteREST.java
Java
apache-2.0
20,545
package de.atomfrede.jenkins.domain.coverage; import java.io.Serializable; public class ClassCoverage implements Serializable { private static final long serialVersionUID = -8132894251774828498L; private int percentage; private float percentageFloat; public int getPercentage() { return percentage; } pub...
atomfrede/animated-octo-adventure
jenkins.service/src/main/java/de/atomfrede/jenkins/domain/coverage/ClassCoverage.java
Java
apache-2.0
568
#!/usr/bin/ruby # # Author:: api.sgomes@gmail.com (Sérgio Gomes) # # Copyright:: Copyright 2011, Google Inc. All Rights Reserved. # # License:: 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 o...
sylow/google-adwords-api
examples/v201003/update_ad.rb
Ruby
apache-2.0
2,835
package com.jarvis.cache.serializer.hession; import com.caucho.hessian.io.AbstractHessianInput; import com.caucho.hessian.io.AbstractMapDeserializer; import com.caucho.hessian.io.IOExceptionWrapper; import java.io.IOException; import java.lang.ref.WeakReference; /** * */ public class WeakReferenceDeserializer exte...
qiujiayu/AutoLoadCache
autoload-cache-serializer/autoload-cache-serializer-hessian/src/main/java/com/jarvis/cache/serializer/hession/WeakReferenceDeserializer.java
Java
apache-2.0
985
/** * */ package jdk13.String; import static org.junit.jupiter.api.Assertions.*; import org.junit.jupiter.api.Test; /** * @author yinxb */ class StringTest { @Test void test() { String html = """ <html> <body> <p>Hello, world</p> ...
zooltech/samples
java/jdk/src/test/java/jdk13/String/StringTest.java
Java
apache-2.0
396
/* * ../../../..//fonts/HTML-CSS/TeX/png/AMS/Regular/BBBold.js * * Copyright (c) 2009-2018 The MathJax Consortium * * 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:/...
GerHobbelt/MathJax
fonts/HTML-CSS/TeX/png/AMS/Regular/BBBold.js
JavaScript
apache-2.0
10,460
package com.ourcode.models.input; import com.google.gson.annotations.SerializedName; import com.graphhopper.jsprit.core.problem.job.Break; import java.util.ArrayList; /** * Created by LEOLEOl on 5/19/2017. */ public class OCBreak { @SerializedName("breakCode") private String breakCode; @SerializedNam...
LEOLEOl/jsprit-me
viet-jsprit/src/main/java/com/ourcode/models/input/OCBreak.java
Java
apache-2.0
1,371
/* * 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 ...
shakamunyi/beam
examples/java8/src/test/java/com/google/cloud/dataflow/examples/complete/game/HourlyTeamScoreTest.java
Java
apache-2.0
5,012
/* * UniformBuffer.hpp * * Created on: 21/08/2013 * Author: svp */ #ifndef UNIFORMBUFFER_HPP_ #define UNIFORMBUFFER_HPP_ #include <stddef.h> typedef unsigned int GLuint; typedef unsigned int GLenum; typedef int GLint; namespace renderer { namespace resources { class UniformBuffer { public: UniformBu...
vinther/rmit-rendering
include/renderer/resources/UniformBuffer.hpp
C++
apache-2.0
609
package warden import ( "net/http" "net/url" "github.com/ory-am/fosite" "github.com/ory-am/hydra/firewall" "github.com/ory-am/hydra/pkg" "github.com/pkg/errors" "golang.org/x/net/context" "golang.org/x/oauth2" "golang.org/x/oauth2/clientcredentials" ) type HTTPWarden struct { Client *http.Client Dry ...
Bridg/hydra-1
warden/warden_http.go
GO
apache-2.0
2,295
package gumtree.spoon.diff.operations; import com.github.gumtreediff.actions.model.Move; public class MoveOperation extends AdditionOperation<Move> { public MoveOperation(Move action) { super(action); } }
XuSihan/gumtree-spoon-ast-diff
src/main/java/gumtree/spoon/diff/operations/MoveOperation.java
Java
apache-2.0
211