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
/** * Copyright (c) 2015-2022, Michael Yang 杨福海 (fuhai999@gmail.com). * <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 * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * ...
yangfuhai/jboot
src/main/java/io/jboot/support/metric/annotation/EnableMetricTimer.java
Java
apache-2.0
888
<?php header("Content-Type: text/html;charset=utf-8"); $name = $_POST['first_name']; $email = $_POST['email']; $message = $_POST['comments']; $to = "jgo@camaraderepresentantes.org"; $subject = "Estimado Representante"; $body = ' <html> <head> <title>Estimado Representante</title> </head> <body> <p><b...
efrenpagan/estimadolegislador
jgo.php
PHP
apache-2.0
2,041
/* * 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 n...
fhussonnois/kafkastreams-cep
core/src/main/java/com/github/fhuss/kafka/streams/cep/core/state/internal/Aggregated.java
Java
apache-2.0
2,076
/* * ! ${copyright} */ sap.ui.define([ "delegates/odata/v4/TableDelegate", "sap/ui/core/Core" ], function( TableDelegate, Core ) { "use strict"; /** * Test delegate for OData V4. */ var ODataTableDelegate = Object.assign({}, TableDelegate); /** * Updates the binding info with the relevant path and mo...
SAP/openui5
src/sap.ui.mdc/test/sap/ui/mdc/internal/TableWithFilterBar/delegate/GridTable.delegate.js
JavaScript
apache-2.0
1,110
/* * 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...
jentfoo/aws-sdk-java
aws-java-sdk-api-gateway/src/main/java/com/amazonaws/services/apigateway/model/transform/UpdateMethodResponseRequestMarshaller.java
Java
apache-2.0
3,397
# -*- coding: utf-8 -*- # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software ...
d-lee/airflow
airflow/operators/sensors.py
Python
apache-2.0
22,890
/* Copyright 2014 Google Inc. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to ...
zombiezen/cardcpx
multiwriter/multiwriter.go
GO
apache-2.0
1,627
package org.aksw.servicecat.web.api; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.QueryParam; import javax.ws.rs.core.MediaType; import org.aksw.servicecat.core.ServiceAnalyzerProcessor; import org.springframework.beans.factory.annotation.Autowired; @org.springfram...
GeoKnow/SparqlServiceCatalogue
servicecat-webapp/src/main/java/org/aksw/servicecat/web/api/ServletServiceApi.java
Java
apache-2.0
728
/* * 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-macie2/src/main/java/com/amazonaws/services/macie2/model/transform/AccountDetailMarshaller.java
Java
apache-2.0
2,226
// Copyright 2007-2008 The Apache Software Foundation. // // 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...
rodolfograve/MassTransit
src/MassTransit/ExpiresInAttribute.cs
C#
apache-2.0
1,778
# aws included via metadata.rb # if node[:ebs_volumes] # node[:ebs_volumes].each do |name, conf| # aws_ebs_volume "attach hdfs volume #{conf.inspect}" do # provider "aws_ebs_volume" # aws_access_key node[:aws][:aws_access_key] # aws_secret_access_key node[:aws][:aws_secret_access_key] # ...
infochimps-away/cluster_chef
site-cookbooks/ebs/recipes/attach_volumes.rb
Ruby
apache-2.0
571
package org.dominokit.domino.api.client; @FunctionalInterface public interface ApplicationStartHandler { void onApplicationStarted(); }
GwtDomino/domino
domino-api-client/src/main/java/org/dominokit/domino/api/client/ApplicationStartHandler.java
Java
apache-2.0
141
Arkivo::Engine.routes.draw do namespace :api, defaults: { format: :json } do resources :items, except: :index end end
psu-stewardship/hydra-arkivo
config/routes.rb
Ruby
apache-2.0
126
/** * 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"); yo...
aslakknutsen/arquillian-extension-warp
impl/src/main/java/org/jboss/arquillian/warp/utils/BaseNCodec.java
Java
apache-2.0
17,879
public class Customers { public static string[] allCustomers = {"Peter Parker", "Klark Kent", "Bruce Vayne"}; }
jasarsoft/ipcs-primjeri
IPCS_02/Vjezba 2/company/customers/Customers.cs
C#
apache-2.0
112
package dk.lessismore.nojpa.reflection.db.annotations; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * Created : with IntelliJ IDEA. * User: seb */ @Target(ElementType.METHOD) @Retention(Retention...
NoJPA-LESS-IS-MORE/NoJPA
nojpa_orm/src/main/java/dk/lessismore/nojpa/reflection/db/annotations/SearchField.java
Java
apache-2.0
664
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.hoang.fu; /** * * @author hoangpt */ public class Teacher extends Employee implements ITeacher { Teacher(String name...
hoangphantich/fu.java192x17.1
hoangpt/Assignment_21/src/com/hoang/fu/Teacher.java
Java
apache-2.0
786
// Copyright (c) 1999-2004 Brian Wellington (bwelling@xbill.org) package org.xbill.DNS; import java.io.*; import java.util.*; import org.xbill.DNS.utils.*; /** * Transaction Signature - this record is automatically generated by the * resolver. TSIG records provide transaction security between the * sender and re...
msdx/AndroidPNClient
androidpn/src/main/java/org/xbill/DNS/TSIGRecord.java
Java
apache-2.0
4,956
package app.monitor.job; import core.framework.internal.log.LogManager; import core.framework.json.JSON; import core.framework.kafka.MessagePublisher; import core.framework.log.message.StatMessage; import core.framework.scheduler.Job; import core.framework.scheduler.JobContext; import org.slf4j.Logger; import org.slf4...
neowu/core-ng-project
ext/monitor/src/main/java/app/monitor/job/KubeMonitorJob.java
Java
apache-2.0
5,150
/* * 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 * distribu...
metatron-app/metatron-discovery
discovery-frontend/src/app/data-preparation/dataflow/dataflow-detail/component/edit-dataflow-rule/edit-rule/edit-rule.component.ts
TypeScript
apache-2.0
5,051
package mahjong type Hand []Pai func remove(list []Pai, p Pai) []Pai { var result []Pai removed := false for _, e := range list { if e == p && !removed { removed = true } else { result = append(result, e) } } return result } func contain(list []Pai, p Pai) bool { for _, a := range list { if a ==...
tanaka51/tenpai-wakaru-man
mahjong/hand.go
GO
apache-2.0
3,584
/* ** Stack.cpp for cpp_abstractvm in /var/projects/cpp_abstractvm/Stack.cpp ** ** Made by kevin labbe ** Login <labbe_k@epitech.net> ** ** Started on Mar 1, 2014 2:15:13 AM 2014 kevin labbe ** Last update Mar 1, 2014 2:15:13 AM 2014 kevin labbe */ #include "EmptyStackException.hpp" #include "AssertFailed...
Kael95/Epitech
Virtual Machine/src/Arithmetic/Stack.cpp
C++
apache-2.0
2,906
import { Upload } from './../models/upload/upload.model'; import { SUPController } from './sup.server.controller'; const yellow = '\x1b[33m%s\x1b[0m: '; export class SUP { constructor(private io: SocketIOClient.Manager) { } registerIO() { this.io.on('connection', (socket: So...
Stejnar/compressor-angular2
src/server/protocols/sup.server.protocol.ts
TypeScript
apache-2.0
1,052
package com.yueny.demo.job.controller; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org...
yueny/pra
job/job_elastic/src/main/java/com/yueny/demo/job/controller/DemoController.java
Java
apache-2.0
1,201
/* * Copyright (c) 2018, NVIDIA CORPORATION. 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...
mlperf/training_results_v0.6
Fujitsu/benchmarks/resnet/implementations/mxnet/3rdparty/onnx-tensorrt/plugin.hpp
C++
apache-2.0
5,795
/** * Copyright Intellectual Reserve, 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...
brenthale/gedcomx-java
enunciate-gedcomx-support/src/main/java/org/gedcomx/build/enunciate/RecipeClasspathHandler.java
Java
apache-2.0
2,169
// Generated from /POI/java/org/apache/poi/hssf/record/BoundSheetRecord.java #include <org/apache/poi/hssf/record/BoundSheetRecord.hpp> #include <java/lang/ArrayStoreException.hpp> #include <java/lang/NullPointerException.hpp> #include <java/lang/String.hpp> #include <java/lang/StringBuffer.hpp> #include <java/util/Ar...
pebble2015/cpoi
src/org/apache/poi/hssf/record/BoundSheetRecord.cpp
C++
apache-2.0
8,028
/* * 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-devicefarm/src/main/java/com/amazonaws/services/devicefarm/model/Problem.java
Java
apache-2.0
19,577
var logger = require('../logging').getLogger(__LOGGER__); var {PAGE_CSS_NODE_ID} = require('../constants'); var Q = require('q'); var PageUtil = require('./PageUtil') var loadedCss = {}; module.exports = { registerPageLoad: function registerPageLoad() { if (SERVER_SIDE) { throw new Error("ClientCssHelper.regi...
redfin/react-server
packages/react-server/core/util/ClientCssHelper.js
JavaScript
apache-2.0
3,519
package lesson.types; public class Classes { public static void main(String[] args) { JustClass one = new JustClass(); JustClass two = new JustClass(123, "sdf"); System.out.println(one); System.out.println(two); } } class JustClass { private int number; private String...
nesterione/JavaTrainings
src/lesson/types/Classes.java
Java
apache-2.0
602
using GeneticCreatures.Classes.UtilityClasses; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Tester.classes; namespace GeneticCreatures.Classes.Objects.InanimateObjects { class Wall : Selectable { public Wall(Posit...
joeeyles/geneticcreatures
GeneticCreatures/GeneticCreatures/Classes/Objects/InanimateObjects/Wall.cs
C#
apache-2.0
1,296
/** * Utility classes for converting between granularities of SI (power-of-ten) and IEC (power-of-two) * byte units and bit units. * <p> * <h3>Example Usage</h3> * What's the difference in hard drive space between perception and actual? * <pre><code> * long perception = BinaryByteUnit.TEBIBYTES.toBytes(2); * lo...
JakeWharton/byteunits
src/main/java/com/jakewharton/byteunits/package-info.java
Java
apache-2.0
799
/* * 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 ...
hirohanin/pig7hadoop21
src/org/apache/pig/experimental/logical/relational/LogicalSchema.java
Java
apache-2.0
7,432
package com.github.nikolaymakhonin.android_app_example.di.factories; import android.content.Context; import android.support.annotation.NonNull; import com.github.nikolaymakhonin.android_app_example.di.components.AppComponent; import com.github.nikolaymakhonin.android_app_example.di.components.DaggerAppComponent; imp...
NikolayMakhonin/AndroidAppExample
AndroidAppExample/AppExample/src/main/java/com/github/nikolaymakhonin/android_app_example/di/factories/ComponentsFactory.java
Java
apache-2.0
1,243
/* ======================================================================== * PlantUML : a free UML diagram generator * ======================================================================== * * (C) Copyright 2009-2020, Arnaud Roques * * Project Info: https://plantuml.com * * If you like this project or if ...
talsma-ict/umldoclet
src/plantuml-asl/src/net/sourceforge/plantuml/objectdiagram/command/CommandAddData.java
Java
apache-2.0
2,860
/** * 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 m...
Legostaev/xmlsec-gost
src/test/java/org/apache/xml/security/test/stax/c14n/Canonicalizer20010315ExclusiveTest.java
Java
apache-2.0
40,733
/* * Copyright 2015 OpenCB * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
kalyanreddyemani/biodata
biodata-formats/src/main/java/org/opencb/biodata/formats/io/AbstractFormatReader.java
Java
apache-2.0
1,817
<?php if ( ! function_exists('env') ) { /** * 获取一个环境变量的值,支持布尔值,null,empty * * @param string $key * @param mixed $default * @return mixed */ function env($key, $default = null) { $value = getenv($key); if ($value === false) return value($default); return ...
huanguosoft/framework
src/Foundation/helpers.php
PHP
apache-2.0
1,615
package com.jpattern.core.command; import com.jpattern.core.IProvider; import com.jpattern.core.exception.NullProviderException; import com.jpattern.logger.ILogger; import com.jpattern.logger.SystemOutLoggerFactory; /** * * @author Francesco Cina' * * 11/set/2011 */ public abstract class ACommand<T extends IPro...
ufoscout/jpattern
core/src/main/java/com/jpattern/core/command/ACommand.java
Java
apache-2.0
5,668
<?php namespace App\Http\Controllers\Sadmin; use App\Http\Controllers\Controller; use App\Driver; use App\Customer; use App\User; use App\Detail; use Illuminate\Http\Request; use Illuminate\Pagination\Paginator; use Illuminate\Support\Facades\Input; use Illuminate\Support\Facades\DB; use Illuminate\Foundation\Auth\Au...
widedeveloper/laravel-transport
app/Http/Controllers/Sadmin/BillingController.php
PHP
apache-2.0
8,073
/* * Copyright 2017 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
gstevey/gradle
subprojects/base-services/src/main/java/org/gradle/internal/hash/HashingOutputStream.java
Java
apache-2.0
1,665
/* * Copyright (c) 2014 Spotify AB. * * 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...
gtonic/helios
helios-services/src/main/java/com/spotify/helios/agent/Supervisor.java
Java
apache-2.0
14,062
package de.saxsys.mvvmfx.examples.contacts.model; public class Subdivision { private final String name; private final String abbr; private final Country country; public Subdivision(String name, String abbr, Country country) { this.name = name; this.abbr = abbr; this.country = country; } public String g...
sialcasa/mvvmFX
examples/contacts-example/src/main/java/de/saxsys/mvvmfx/examples/contacts/model/Subdivision.java
Java
apache-2.0
1,010
package http import ( bm "go-common/library/net/http/blademaster" ) func debugCache(c *bm.Context) { opt := new(struct { Keys string `form:"keys" validate:"required"` }) if err := c.Bind(opt); err != nil { return } c.JSONMap(srv.DebugCache(opt.Keys), nil) }
LQJJ/demo
126-go-common-master/app/job/main/aegis/server/http/debug.go
GO
apache-2.0
270
package fr.jmini.asciidoctorj.testcases; import static org.assertj.core.api.Assertions.assertThat; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; import java.util.Arrays; import java.util.Collections; import java.util.HashMap; import java.util.Map; import org.asciidoctor.AttributesBu...
jmini/asciidoctorj-experiments
test-cases/adoc-test-cases/src/main/java/fr/jmini/asciidoctorj/testcases/ShowTitleTrueTestCase.java
Java
apache-2.0
8,764
package fr.sii.ogham.sms.message; import fr.sii.ogham.core.util.EqualsBuilder; import fr.sii.ogham.core.util.HashCodeBuilder; /** * Represents a phone number. It wraps a simple string. The aim is to abstracts * the concept and to be able to provide other fields latter if needed. * * @author Aurélien Baudet * *...
groupe-sii/ogham
ogham-core/src/main/java/fr/sii/ogham/sms/message/PhoneNumber.java
Java
apache-2.0
1,017
package org.fastnate.generator.converter; import java.time.Duration; import org.fastnate.generator.context.GeneratorContext; import org.fastnate.generator.statements.ColumnExpression; import org.fastnate.generator.statements.PrimitiveColumnExpression; /** * Converts a {@link Duration} to an SQL expression. * * @a...
liefke/org.fastnate
fastnate-generator/src/main/java/org/fastnate/generator/converter/DurationConverter.java
Java
apache-2.0
786
module AssemblyAndServiceOperationsMixin # Commands used from new dtk client def check_if_instance_running(node_address, port, path) endpoint = node_address + ":" + port response = request_response(path, {}, 'get', endpoint); response.code == 200 end def get_node_by_name(service_instance_name, nod...
dtk/dtk-server
test/functional/rspec/lib/mixins/assembly_and_service_operations_mixin.rb
Ruby
apache-2.0
51,221
using System.Collections.Specialized; using System.ComponentModel; using System.Linq; using DNTProfiler.Common.JsonToolkit; using DNTProfiler.Common.Models; using DNTProfiler.Common.Mvvm; using DNTProfiler.Infrastructure.Core; using DNTProfiler.Infrastructure.ScriptDomVisitors; using DNTProfiler.Infrastructure.ViewMod...
VahidN/DNTProfiler
Plugins/DNTProfiler.InCorrectNullComparisons/ViewModels/MainViewModel.cs
C#
apache-2.0
2,745
// // Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.8-b130911.1802 // Vedere <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. // Gene...
fgaudenzi/testManager
testManager/XMLRepository/CertificationModel/org/cumulus/certificate/model/HistoryStateType.java
Java
apache-2.0
2,497
//--------------------------------------------------------------------------- // Greenplum Database // Copyright (C) 2013 EMC Corp. // // @filename: // CMDIdCast.cpp // // @doc: // Implementation of mdids for cast functions //--------------------------------------------------------------------------- #include "nauc...
PengJi/gporca-comments
libnaucrates/src/md/CMDIdCast.cpp
C++
apache-2.0
4,157
/* * Copyright 2021 ThoughtWorks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
GaneshSPatil/gocd
common/src/main/java/com/thoughtworks/go/serverhealth/ServerHealthService.java
Java
apache-2.0
6,153
package gov.ic.geoint.spreadsheet; /** * */ public interface ICell extends Hashable { /** * * @return */ public int getColumnNum(); /** * * @return */ public int getRowNum(); /** * * @return */ public String getValue(); }
GEOINT/spreadsheetDiff
src/main/java/gov/ic/geoint/spreadsheet/ICell.java
Java
apache-2.0
298
package sdk.chat.demo.examples.api; import io.reactivex.functions.Consumer; import sdk.guru.common.DisposableMap; public class BaseExample implements Consumer<Throwable> { // Add the disposables to a map so you can dispose of them all at one time protected DisposableMap dm = new DisposableMap(); @Overri...
chat-sdk/chat-sdk-android
chat-sdk-demo/src/main/java/sdk/chat/demo/examples/api/BaseExample.java
Java
apache-2.0
423
//Copyright (c) 2014 by Disy Informationssysteme GmbH package net.disy.eenvplus.tfes.core.api.query; // NOT_PUBLISHED public interface ISuggestionQuery extends ISourceQuery { String getKeyword(); }
eENVplus/tf-exploitation-server
TF_Exploitation_Server_core/src/main/java/net/disy/eenvplus/tfes/core/api/query/ISuggestionQuery.java
Java
apache-2.0
201
package com.jwetherell.algorithms.data_structures.interfaces; /** * A tree can be defined recursively (locally) as a collection of nodes (starting at a root node), * where each node is a data structure consisting of a value, together with a list of nodes (the "children"), * with the constraints that no node is du...
phishman3579/java-algorithms-implementation
src/com/jwetherell/algorithms/data_structures/interfaces/ITree.java
Java
apache-2.0
1,766
package org.nd4j.linalg.indexing; import com.google.common.base.Function; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.Parameterized; import org.nd4j.linalg.BaseNd4jTest; import org.nd4j.linalg.api.ndarray.INDArray; import org.nd4j.linalg.api.ops.impl.accum.MatchCondition; import or...
huitseeker/nd4j
nd4j-backends/nd4j-tests/src/test/java/org/nd4j/linalg/indexing/BooleanIndexingTest.java
Java
apache-2.0
17,052
package com.xiaojinzi.component.error; public class ServiceRepeatCreateException extends RuntimeException { public ServiceRepeatCreateException() { } public ServiceRepeatCreateException(String message) { super(message); } public ServiceRepeatCreateException(String message, Throwable caus...
xiaojinzi123/Component
ComponentImpl/src/main/java/com/xiaojinzi/component/error/ServiceRepeatCreateException.java
Java
apache-2.0
453
package de.uniulm.omi.cloudiator.sword.multicloud.service; import com.google.common.base.Supplier; import com.google.common.collect.ImmutableSet; import com.google.inject.Inject; import de.uniulm.omi.cloudiator.sword.domain.Cloud; import de.uniulm.omi.cloudiator.sword.domain.Pricing; import de.uniulm.omi.cloudiator.sw...
cloudiator/sword
multicloud/src/main/java/de/uniulm/omi/cloudiator/sword/multicloud/service/MultiCloudPricingService.java
Java
apache-2.0
1,844
/* * Copyright 2011-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 "lice...
jentfoo/aws-sdk-java
aws-java-sdk-core/src/main/java/com/amazonaws/transform/AbstractErrorUnmarshaller.java
Java
apache-2.0
2,633
package com.icfcc.cache.support; import com.icfcc.cache.Cache; import java.util.Collection; /** * Simple cache manager working against a given collection of caches. * Useful for testing or simple caching declarations. * * @author Costin Leau * @since 3.1 */ public class SimpleCacheManager extends AbstractCach...
Gitpiece/spring-cache-project
spring-cache/src/main/java/com/icfcc/cache/support/SimpleCacheManager.java
Java
apache-2.0
684
# -*- coding: utf-8 -*- # # Copyright (C) 2013-2016 DNAnexus, Inc. # # This file is part of dx-toolkit (DNAnexus platform client libraries). # # 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...
dnanexus/dx-toolkit
src/python/dxpy/utils/describe.py
Python
apache-2.0
52,416
package fr.fablabmars.model; import java.util.ArrayList; import fr.fablabmars.observer.Observable; import fr.fablabmars.observer.Observer; /** * Observable contenant le menu courant. * * @author Guillaume Perouffe * @see Observable */ public class CardMenu implements Observable { /** * List...
gperouffe/FabLabUsers
src/fr/fablabmars/model/CardMenu.java
Java
apache-2.0
1,473
package ru.job4j.collections.tree; /** * Бинарное дерево . * * @author Hincu Andrei (andreih1981@gmail.com) by 20.10.17; * @version $Id$ * @since 0.1 * @param <E> тип данных. */ public class BinaryTree<E extends Comparable<E>> extends Tree<E> { /** * Корень дерева. */ private Node<E> node; ...
andreiHi/hincuA
chapter_005/src/main/java/ru/job4j/collections/tree/BinaryTree.java
Java
apache-2.0
2,101
<?php include_once('procedures.php'); ?> <?php include("top.php"); ?> <script src="./js/visualRound.js"></script> <style> #bottomBar { position: fixed; left: 0px; bottom: 0px; width: 100%; height: 40px; background-color: #EEE; border-top-width: 1px; ...
Dovgalyuk/AIBattle
site/visualRound.php
PHP
apache-2.0
2,942
/** * 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...
linkedin/pinot
pinot-core/src/main/java/org/apache/pinot/core/startree/v2/store/StarTreeIndexContainer.java
Java
apache-2.0
3,059
/* Copyright 2010-2011 Zhengmao HU (James) 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...
james-hu/jabb-core
src/main/java/net/sf/jabb/util/text/StringStartWithMatcher.java
Java
apache-2.0
8,259
# -*- coding: utf-8 -*- """ Linguistic and other taggers. Tagging each token in a sentence with supplementary information, such as its part-of-speech (POS) tag, and named entity (NE) tag. """ __all__ = [ "PerceptronTagger", "pos_tag", "pos_tag_sents", "tag_provinces", "chunk_parse", "NER", ] ...
PyThaiNLP/pythainlp
pythainlp/tag/__init__.py
Python
apache-2.0
573
<?php namespace Topxia\WebBundle\Listener; use Symfony\Component\HttpKernel\KernelEvents; use Symfony\Component\HttpKernel\Event\GetResponseEvent; use Symfony\Component\EventDispatcher\EventSubscriberInterface; class LocaleListener implements EventSubscriberInterface { private $defaultLocale; public function...
18826252059/im
src/Topxia/WebBundle/Listener/LocaleListener.php
PHP
apache-2.0
1,115
<?php namespace BankId\Merchant\Library\Schemas\saml\metadata; /** * Class representing Extensions */ class Extensions extends ExtensionsType { }
notarynodes/idintt
hackathon-module/idintt-php-module/library/Schemas/saml/metadata/Extensions.php
PHP
apache-2.0
166
package com.dexvis.simple.transform; import javafx.scene.web.HTMLEditor; import org.simpleframework.xml.transform.Transform; public class HTMLEditorTransform implements Transform<HTMLEditor> { public HTMLEditor read(String value) throws Exception { HTMLEditor editor = new HTMLEditor(); editor....
PatMartin/Dex
src/com/dexvis/simple/transform/HTMLEditorTransform.java
Java
apache-2.0
485
package ecologylab.bigsemantics.service.crawler; import java.io.IOException; /** * A general framework for crawling resources. * * @author quyin */ public interface ResourceCrawler<T> { /** * Queue a resource with the given URI. * * @param uri */ void queue(String uri); /*...
ecologylab/BigSemanticsService
BasicCrawler/src/ecologylab/bigsemantics/service/crawler/ResourceCrawler.java
Java
apache-2.0
1,304
package net.sf.anpr.rcp.widget; import java.awt.Color; import java.awt.Graphics; import java.awt.Rectangle; import java.awt.image.BufferedImage; import javax.swing.ImageIcon; import javax.swing.JLabel; import javax.swing.SwingConstants; public class JCanvasPanel extends JLabel { private static final lon...
alexmao86/swing-rcp
src/main/java/net/sf/anpr/rcp/widget/JCanvasPanel.java
Java
apache-2.0
1,173
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright (c) 2012 OpenStack Foundation. # 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....
frossigneux/kwstandby
kwstandby/openstack/common/policy.py
Python
apache-2.0
25,233
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2022 DBeaver Corp and others * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICE...
dbeaver/dbeaver
plugins/org.jkiss.dbeaver.ui.app.standalone/src/org/jkiss/dbeaver/ui/app/standalone/about/AboutBoxAction.java
Java
apache-2.0
1,230
using SolrNetLight; using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.Text; using SolrNetLight.Facet; namespace SolrNetLight { [DataContract] public class SolrResponse<T> { [DataMember(Name="response")] public SolrResponseBa...
SolrNetLight/SolrNetLight
SolrNetLight/SolrResponse.cs
C#
apache-2.0
453
package com.action.design.pattern.chain; /** * 创建不同类型的记录器。赋予它们不同的错误级别,并在每个记录器中设置下一个记录器。每个记录器中的下一个记录器代表的是链的一部分。 * Created by wuyunfeng on 2017/6/15. */ public class ChainPatternDemo { private static AbstractLogger getChainOfLoggers() { AbstractLogger errorLogger = new ErrorLogger(AbstractLogger.ERROR); ...
pearpai/java_action
src/main/java/com/action/design/pattern/chain/ChainPatternDemo.java
Java
apache-2.0
1,140
/* * Copyright (c) 2021, 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.apac...
lessthanoptimal/BoofCV
main/boofcv-feature/src/benchmark/java/boofcv/alg/descriptor/BenchmarkDescriptorDistance.java
Java
apache-2.0
3,105
package adamin90.com.wpp.model.mostsearch; import java.util.ArrayList; import java.util.List; import javax.annotation.Generated; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; @Generated("org.jsonschema2pojo") public class MostSearchData { @SerializedName("data") ...
adamin1990/MaterialWpp
wpp/app/src/main/java/adamin90/com/wpp/model/mostsearch/MostSearchData.java
Java
apache-2.0
971
var activeElements = []; var sleepElements = []; var promises = []; $.ajax("https://osiproghackuc2015.osisoft.com/piwebapi/assetdatabases/D0EgxEhIf8KUieOFdFcX1IWQZ8qIGYDdE0m5aJCwNb4x_gSlVQSVRFUjAwMVxQSUZJVE5FU1M/elements", { type : 'GET', headers: { "Authorization" : "Basic " + btoa("osiproghack\\hackuser051:bO2...
dstcontrols/UnhandledException
customJS/piWebAPI.js
JavaScript
apache-2.0
2,755
import { Seq, Set as ISet } from 'immutable'; import { atom, unwrap } from '../derivable'; import { equals } from './equals'; describe('util/equals', () => { it('should check equality of primitives', () => { expect(equals(NaN, NaN)).toBe(true); expect(equals(4, 2 + 2)).toBe(true); expect(eq...
politie/sherlock
src/utils/equals.test.ts
TypeScript
apache-2.0
2,307
// Generated from /POI/java/org/apache/poi/hpsf/VariantBool.java #pragma once #include <fwd-POI.hpp> #include <org/apache/poi/hpsf/fwd-POI.hpp> #include <org/apache/poi/util/fwd-POI.hpp> #include <java/lang/Object.hpp> struct default_init_tag; class poi::hpsf::VariantBool : public virtual ::java::lang::Object {...
pebble2015/cpoi
src/org/apache/poi/hpsf/VariantBool.hpp
C++
apache-2.0
992
package com.hangon.saying.viewPager; import android.content.Context; import android.graphics.Bitmap; import android.graphics.drawable.BitmapDrawable; import android.graphics.drawable.Drawable; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import ...
TangZuopeng/OurApplication
app/src/main/java/com/hangon/saying/viewPager/GradAdapter.java
Java
apache-2.0
4,468
/* * MaiKe Labs (2016 - 2026) * * Written by Jack Tan <jiankemeng@gmail.com> * * Connect VCC of the SSD1306 OLED to 3.3V * Connect GND to Ground * Connect SCL to i2c clock - GPIO21 * Connect SDA to i2c data - GPIO22 * Connect DC to GND (The scanned i2c address is 0x3C) * */ #include <stdio.h> #include ...
icamgo/esp-idf
examples/10_ssd1306_hello/main/main.cpp
C++
apache-2.0
1,359
# encoding: UTF-8 # Copyright 2012 Twitter, Inc # http://www.apache.org/licenses/LICENSE-2.0 # Documentation: https://github.com/hunspell/hyphen/blob/21127cc8493a68d4fe9adbb71377b469b4f2b550/doc/tb87nemeth.pdf module TwitterCldr module Shared class Hyphenator class UnsupportedLocaleError < StandardError;...
twitter/twitter-cldr-rb
lib/twitter_cldr/shared/hyphenator.rb
Ruby
apache-2.0
4,872
/** * Copyright 2013 Agustín Miura <"agustin.miura@gmail.com"> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
agustinmiura/imperium
src/main/java/ar/com/imperium/common/security/DummyHashServiceImpl.java
Java
apache-2.0
925
<?php namespace DCarbone\PHPFHIRGenerated\R4\FHIRElement\FHIRBackboneElement\FHIREncounter; /*! * This class was generated with the PHPFHIR library (https://github.com/dcarbone/php-fhir) using * class definitions from HL7 FHIR (https://www.hl7.org/fhir/) * * Class creation date: December 26th, 2019 15:44+0000 *...
dcarbone/php-fhir-generated
src/DCarbone/PHPFHIRGenerated/R4/FHIRElement/FHIRBackboneElement/FHIREncounter/FHIREncounterDiagnosis.php
PHP
apache-2.0
21,748
/* Copyright 2015 The Kubernetes Authors All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or ag...
WIZARD-CXY/kubernetes
pkg/controller/replication/replication_controller_utils.go
GO
apache-2.0
3,070
package com.sadc.game.gameobject.trackobject; import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.graphics.g2d.SpriteBatch; import com.sadc.game.GameConstants; import com.sadc.game.gameobject.GameUtils; import com.sadc.game.gameobject.Player; /** * @author f536985 (Tom Farello) */ public class Wall ex...
jlturner85/libgdx-gradle-template
core/src/main/java/com/sadc/game/gameobject/trackobject/Wall.java
Java
apache-2.0
1,196
class JobApplicationsController < ApplicationController after_action :verify_authorized after_action :verify_policy_scoped, only: [:index] before_action :require_login before_action :set_job_application, only: [:show, :edit, :update, :destroy, :followup] # GET /posting/1/job_application # GET /posting/1/jo...
sarahmonster/suitor
app/controllers/job_applications_controller.rb
Ruby
apache-2.0
3,255
/* * * * Copyright 2010-2016 OrientDB LTD (http://orientdb.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...
orientechnologies/orientdb
core/src/main/java/com/orientechnologies/orient/core/sql/functions/coll/OSQLFunctionSymmetricDifference.java
Java
apache-2.0
4,574
/* * Copyright 2012-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
dagnir/aws-sdk-java
aws-java-sdk-ses/src/main/java/com/amazonaws/services/simpleemail/model/SetReceiptRulePositionResult.java
Java
apache-2.0
2,365
// <copyright file="KeyEvent.cs" company="WebDriver Committers"> // Copyright 2015 Software Freedom Conservancy // // 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.apach...
soundcloud/selenium
dotnet/src/webdriverbackedselenium/Internal/SeleniumEmulation/KeyEvent.cs
C#
apache-2.0
2,688
/* * Copyright 2012-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 agr...
timzam/jetpad-mapper
util/base/src/test/java/jetbrains/jetpad/base/edt/BufferingEdtManager.java
Java
apache-2.0
1,075
<?php /* * Apolbox - Framework Productiont * * Apolbox adalah kode sumber yang terbuka sebagai aplikasi kerangka kerja untuk membangun website dengan metode penyihir, * yang dapat membuat pembangunan website lebih cepat dan lebih praktis. * * (c) Ayus irfang filaras * */ require_once __DIR__.'/../bootstrap/pust...
apolbox-project/apolbox
public_html/index.php
PHP
apache-2.0
921
/* * Copyright 2016 * Ubiquitous Knowledge Processing (UKP) Lab * Technische Universität Darmstadt * * 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/lice...
habernal/emnlp2015
code/experiments/src/main/java/de/tudarmstadt/ukp/experiments/argumentation/sequence/io/filters/DocumentRegisterFilter.java
Java
apache-2.0
1,948
package es.npatarino.android.gotchallenge.chat.message.viewmodel; import android.net.Uri; import es.npatarino.android.gotchallenge.chat.message.model.Payload; public class StickerPayLoad implements Payload { private String stickerFilePath; public StickerPayLoad(String stickerFilePath) { this.stickerFilePath...
tonilopezmr/Game-of-Thrones
app/src/main/java/es/npatarino/android/gotchallenge/chat/message/viewmodel/StickerPayLoad.java
Java
apache-2.0
490
exports.view = function() { this.render(); }; exports.async = function() { this.render(); };
alibaba/plover
packages/plover/test/fixtures/core/app/modules/helper/index.js
JavaScript
apache-2.0
99
module.exports = { readFiles: readFiles }; var filewalker = require('filewalker'); var _ = require('kling/kling.js'); var fs = require('fs'); function readFiles(directory, fileSuffix) { return new Promise(function(resolve, reject) { var files = []; filewalker(directory) .on('file',...
petercrona/latmask
src/reader/reader.js
JavaScript
apache-2.0
880
/* */ package com.hundsun.network.gates.wulin.biz.service.pojo.auction; /* */ /* */ import com.hundsun.network.gates.luosi.biz.security.ServiceException; /* */ import com.hundsun.network.gates.luosi.common.enums.EnumActiveStatus; /* */ import com.hundsun.network.gates.luosi.common.enums.EnumBid...
hnccfr/ccfrweb
basecore/src/com/hundsun/network/gates/wulin/biz/service/pojo/auction/MulitAuctionServiceImpl.java
Java
apache-2.0
12,488