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
// Generated by esidl 0.3.0. // This file is expected to be modified for the Web IDL interface // implementation. Permission to use, copy, modify and distribute // this file in any software license is hereby granted. #include "AudioTrackListImp.h" namespace org { namespace w3c { namespace dom { namespace bootstrap {...
esrille/escudo
src/html/AudioTrackListImp.cpp
C++
apache-2.0
1,344
package org.annoconf; /** * Created by roma on 3/19/17. */ public interface PropertyValueSource { boolean hasValue(String key); String getValue(String key); }
Roma7-7-7/annoconf
src/main/java/org/annoconf/PropertyValueSource.java
Java
apache-2.0
173
/****************************************************************************** * 版权所有 刘大磊 2013-07-01 * * 作者:刘大磊 * * 电话:13336390671 * * email:ldlqdsd@126.com * ***...
ldlqdsdcn/wms
core/src/main/java/com/delmar/core/service/CorePageService.java
Java
apache-2.0
729
package de.hsmainz.pubapp.geocoder.controller; import com.google.gson.Gson; import de.hsmainz.pubapp.geocoder.model.ClientInputJson; import de.hsmainz.pubapp.geocoder.model.ErrorJson; import de.hsmainz.pubapp.geocoder.model.geojson.GeoJsonCollection; import org.apache.logging.log4j.LogManager; import org.apache.loggin...
ArnoHeid/PubApp
geocoder/src/main/java/de/hsmainz/pubapp/geocoder/controller/HttpAPIRequest.java
Java
apache-2.0
5,824
package com.txtr.hibernatedelta.model; import static javax.xml.bind.annotation.XmlAccessType.FIELD; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.an...
storecast/hibernate-delta
src/main/java/com/txtr/hibernatedelta/model/HibernateTable.java
Java
apache-2.0
2,751
/** * */ package me.learn.personal.month5; import java.util.HashSet; import java.util.List; import java.util.Set; /** * Title : * * Date : Dec 23, 2020 * * @author bramanarayan * */ public class WordBreakable { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated m...
balajiboggaram/algorithms
src/me/learn/personal/month5/WordBreakable.java
Java
apache-2.0
724
/* Copyright 2015 Ricardo Tubio-Pardavila Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
satnet-project/satnet-ng
src/operations/directives/Requests.js
JavaScript
apache-2.0
17,236
package web; import graphUtil.CycleChainDecomposition; import graphUtil.EdgeChain; import ilog.concert.IloException; import java.util.HashMap; import java.util.List; import java.util.Map; import kepLib.KepInstance; import kepLib.KepProblemData; import kepModeler.ChainsForcedRemainOpenOptions; import kepModeler.KepMo...
rma350/kidneyExchange
kidneyMatching/src/web/KidneyServerSolver.java
Java
apache-2.0
8,249
# encoding: utf-8 import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'Journey' db.create_table('places_journey', ( ('id', self.gf('django.db.models....
mollyproject/mollyproject
molly/apps/places/migrations/0009_auto__add_journey__add_scheduledstop.py
Python
apache-2.0
13,531
package com.jaivox.ui.appmaker; import java.io.*; import java.util.*; import bitpix.list.*; public class Rule2Fsm { static String dir = "./"; basicTree tree; TreeMap <String, String> states; TreeMap <String, String> tags; static String name = "data/road1.tree"; static String yes = "yes"; String startState ...
jaivox/tools
v2/com/jaivox/ui/appmaker/Rule2Fsm.java
Java
apache-2.0
4,520
/* * Copyright (C) 2012 Jason Gedge <http://www.gedge.ca> * * This file is part of the OpGraph project. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License,...
ghedlund/opgraph
app/src/main/java/ca/phon/opgraph/app/commands/package-info.java
Java
apache-2.0
855
<?php class Gep_ScoreController extends Zend_Controller_Action { public function init() { /* Initialize action controller here */ header('content-type: text/html; charset=utf8'); } public function indexAction(){ } public function fullResultAction(){ } }
samlanh/aseansm
application/modules/gep/controllers/ScoreController.php
PHP
apache-2.0
307
/* * Copyright 2013 DigitasLBi Netherlands B.V. * * 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 l...
LBiNetherlands/LBi.LostDoc
LBi.LostDoc.ConsoleApplication.Extensibility/Command.cs
C#
apache-2.0
2,048
using UnityEngine; namespace DefaultNamespace { public class FieldGenerationWithRespectToCodeStyleTest : MonoBehaviour { public void Update() { int[,] test = new int[2,2]; test[0, 0] = 5; test[test[0,{caret} 1], test[0, test[0,1]]] = 5; } } }
JetBrains/resharper-unity
resharper/resharper-unity/test/data/Unity/CSharp/Intentions/QuickFixes/InefficientMultidimensionalArrayUsage/LocalDeclarationType2.cs
C#
apache-2.0
316
/* * Copyright 2013 JCertifLab. * * 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...
JCERTIFLab/jcertif-android-2013
src/main/java/com/jcertif/android/fragments/SessionListFragment.java
Java
apache-2.0
12,340
/** * Copyright 2014 Jordan Zimmerman * * 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...
soabase/soabase
soabase-core/src/main/java/io/soabase/core/features/attributes/DynamicAttributes.java
Java
apache-2.0
2,045
/* * 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 ...
StephanEwen/incubator-flink
flink-runtime-web/web-dashboard/src/app/share/common/dagre/svg-container.component.ts
TypeScript
apache-2.0
3,657
/* * Copyright © 2009 HotPads (admin@hotpads.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 by applicable...
hotpads/datarouter
datarouter-instrumentation/src/main/java/io/datarouter/instrumentation/trace/Traceparent.java
Java
apache-2.0
4,663
package com.bzu.yhd.pocketcampus.bottomnav.user.view; import android.content.Context; import android.util.AttributeSet; import com.facebook.rebound.SimpleSpringListener; import com.facebook.rebound.Spring; import com.facebook.rebound.SpringSystem; import de.hdodenhof.circleimageview.CircleImageView; /** * Created ...
GolvenH/PocketCampus
app/src/main/java/com/bzu/yhd/pocketcampus/bottomnav/user/view/AnimateImageView.java
Java
apache-2.0
3,350
import Vue from 'vue' import { hasFetch, normalizeError, addLifecycleHook } from '../utils' const isSsrHydration = (vm) => vm.$vnode && vm.$vnode.elm && vm.$vnode.elm.dataset && vm.$vnode.elm.dataset.fetchKey const nuxtState = window.<%= globals.context %> export default { beforeCreate () { if (!hasFetch(this))...
BigBoss424/portfolio
v6/node_modules/@nuxt/vue-app-edge/template/mixins/fetch.client.js
JavaScript
apache-2.0
1,830
/* * Copyright 2010-2016 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...
trasa/aws-sdk-java
aws-java-sdk-ssm/src/main/java/com/amazonaws/services/simplesystemsmanagement/model/transform/DeleteAssociationRequestMarshaller.java
Java
apache-2.0
3,452
# Encoding: utf-8 # # Author:: api.dklimkin@gmail.com (Danial Klimkin) # # Copyright:: Copyright 2012, 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 ...
voke/google-ads-common
lib/ads_common/results_extractor.rb
Ruby
apache-2.0
8,192
# ----------------------------------------------------------------------------- # Copyright * 2014, United States Government, as represented by the # Administrator of the National Aeronautics and Space Administration. All # rights reserved. # # The Crisis Mapping Toolkit (CMT) v1 platform is licensed under the Apache #...
nasa/CrisisMappingToolkit
cmt/modis/simple_modis_algorithms.py
Python
apache-2.0
6,672
package com.qmx.wxmp.common.web; /** * 带UTF-8 charset 定义的MediaType. * * Jax-RS和Spring的MediaType没有UTF-8的版本, * Google的MediaType必须再调用toString()函数而不是常量,不能用于Restful方法的annotation。 * * @author free lance */ public class MediaTypes { public static final String APPLICATION_XML = "application/xml"; public static fin...
lingyi2017/wxmp
src/main/java/com/qmx/wxmp/common/web/MediaTypes.java
Java
apache-2.0
1,306
/* * 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 * "Lic...
PennState/directory-fortress-core-1
src/test/java/org/apache/directory/fortress/core/samples/CreateUserOrgHierarchySample.java
Java
apache-2.0
15,806
// // Copyright (c) 2014 Limit Point Systems, 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 ...
LimitPointSystems/SheafSystem
tools/viewer/user/HedgeHogFieldActorPropertiesPanel.java
Java
apache-2.0
4,423
/*! * Copyright 2012 Sakai Foundation (SF) Licensed under the * Educational Community 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.osedu.org/licenses/ECL-2.0 * * Unless required by applicable...
Coenego/3akai-ux
ui/js/group.js
JavaScript
apache-2.0
5,033
package cn.oeaom.CoolWeather; import android.content.Intent; import android.content.SharedPreferences; import android.graphics.Typeface; import android.media.Image; import android.os.Bundle; import android.preference.PreferenceManager; import android.support.design.widget.FloatingActionButton; import android.support.d...
applicationsky/MyCoolWeather
app/src/main/java/cn/oeaom/CoolWeather/WeatherActivity.java
Java
apache-2.0
12,783
#ifdef WINDOWS_PLATFORM #include "WindowsInputService.hpp" #include "WindowsMouseInterface.hpp" #include "WindowsKeyboardInterface.hpp" namespace MPACK { namespace Input { WindowsInputService::WindowsInputService() { m_pMouse = new WindowsMouseInterface; m_pKeyboard = new WindowsKeyboardInterface; Res...
mirceamt/MPACK
jni/MPACK/Input/Desktop/Windows/WindowsInputService.cpp
C++
apache-2.0
764
angular.module('app.services', [ 'app.services.actions', 'app.services.connection', 'app.services.coverart', 'app.services.locale', 'app.services.logging', 'app.services.mopidy', 'app.services.paging', 'app.services.platform', 'app.services.router', 'app.services.servers', 'app.services.settings' ...
tkem/mopidy-mobile
www/app/services/services.js
JavaScript
apache-2.0
324
//----------------------------------------------------------------------- // <copyright file="FilterTreeDragDropArgs.cs" company="Development In Progress Ltd"> // Copyright © Development In Progress Ltd 2015. All rights reserved. // </copyright> //-------------------------------------------------------------------...
grantcolley/wpfcontrols
DevelopmentInProgress.WPFControls/FilterTree/FilterTreeDragDropArgs.cs
C#
apache-2.0
1,316
package com.structurizr.view; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.structurizr.model.*; import java.util.HashSet; import java.util.LinkedHashSet; import java.util.Set; import java.util.stream.Collectors; @JsonIgnoreProperties(ign...
JDriven/structurizr-java
structurizr-core/src/com/structurizr/view/View.java
Java
apache-2.0
5,965
/* * Copyright (c) 2016 The original author or authors * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * and Apache License v2.0 which accompanies this distribution. * * The Eclipse Public License is available at *...
ruslansennov/vertx-consul-client
src/main/java/io/vertx/ext/consul/Coordinate.java
Java
apache-2.0
4,253
/* * Copyright (C) 2010 ZXing 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 agr...
ShawnDongAi/AEASSISTANT
AEAssistant/src/com/zzn/aeassistant/zxing/decoding/FinishListener.java
Java
apache-2.0
1,311
import { Component, Input, EventEmitter, SimpleChanges, OnChanges } from '@angular/core'; import { ToasterService } from 'angular2-toaster'; import { TranslateService } from 'ng2-translate'; import { Notification } from '../notification.model'; import { NotificationService } from '../notification.service'; import { Pa...
HiP-App/HiP-CmsAngularApp
app/notifications/notifications-list/notifications-list.component.ts
TypeScript
apache-2.0
2,139
/* * 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 ...
moparisthebest/beehive
beehive-netui-core/src/main/java/org/apache/beehive/netui/util/ParamHelper.java
Java
apache-2.0
5,988
package org.jboss.resteasy.spi; import org.jboss.resteasy.specimpl.MultivaluedMapImpl; import org.jboss.resteasy.specimpl.PathSegmentImpl; import org.jboss.resteasy.specimpl.ResteasyUriBuilder; import org.jboss.resteasy.util.Encode; import javax.ws.rs.core.MultivaluedMap; import javax.ws.rs.core.PathSegment; import j...
raphaelning/resteasy-client-android
jaxrs/resteasy-jaxrs/src/main/java/org/jboss/resteasy/spi/ResteasyUriInfo.java
Java
apache-2.0
10,699
package com.cabinetms.client; import java.util.List; import com.google.common.collect.Lists; public class TacticMediaCommand { private String command; // 指令 private String clientIp; // 终端IP地址 private String destination; // 终端队列地址 private Integer startDate;// 策略开始日期 private Integer endDate;// 策略结束日期 private Li...
wangning82/CabinetMS
src/main/java/com/cabinetms/client/TacticMediaCommand.java
Java
apache-2.0
1,292
/** * @license Highcharts JS v7.1.1 (2019-04-09) * * (c) 2014-2019 Highsoft AS * Authors: Jon Arild Nygard / Oystein Moseng * * License: www.highcharts.com/license */ 'use strict'; (function (factory) { if (typeof module === 'object' && module.exports) { factory['default'] = factory; module.e...
Qesy/Q-Frame
Static/bootstrap/Highcharts-7.1.1/modules/treemap.src.js
JavaScript
apache-2.0
92,176
"""Neural network operations.""" from __future__ import absolute_import as _abs from . import _make def conv2d(data, weight, strides=(1, 1), padding=(0, 0), dilation=(1, 1), groups=1, channels=None, kernel_size=None, data_layout="...
mlperf/training_results_v0.6
Fujitsu/benchmarks/resnet/implementations/mxnet/3rdparty/tvm/python/tvm/relay/op/nn/nn.py
Python
apache-2.0
10,085
<?php /** * Project Name: map-board * File Name: create_benchmark_fixture.php * Last modified: 2017/11/20 12:51 * Author: Hiroaki Goto * * Copyright (c) 2017 Hiroaki Goto. All rights reserved. */ require_once __DIR__.'/../vendor/autoload.php'; $db = connectDB(); $redis = connectRedis(); const USER_SIZE = 1000...
StoneDot/map-board
database/create_benchmark_fixture.php
PHP
apache-2.0
3,675
package com.jason.showcase.lambdas; /** * Created by Qinjianf on 2016/7/19. */ public class Lambda { public void execute(Action action) { action.run("Hello Lambda!"); } public void test() { execute(System.out::println); } public static void main(String[] args) { new Lam...
fuyongde/jason
showcase/src/main/java/com/jason/showcase/lambdas/Lambda.java
Java
apache-2.0
342
/** * 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...
cbaenziger/oozie
sharelib/spark/src/main/java/org/apache/oozie/action/hadoop/SparkArgsExtractor.java
Java
apache-2.0
22,247
package com.common.dao; import java.sql.PreparedStatement; import java.sql.SQLException; import java.util.logging.Logger; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; import javax.persistence.PersistenceException; /** * La Clase BaseDAO implementa las operaciones...
ServicioReparaciones/ServicioReparaciones
ServicioReparaciones-ejb/src/main/java/com/common/dao/BaseDAO.java
Java
apache-2.0
2,856
/* * Copyright (C) 2017-2019 Dremio Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
dremio/dremio-oss
sabot/kernel/src/main/java/com/dremio/exec/planner/sql/parser/SqlTruncateTable.java
Java
apache-2.0
3,280
/* * Copyright 2009-2013 by The Regents of the University of California * 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 from * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless r...
parshimers/incubator-asterixdb
asterix-maven-plugins/lexer-generator-maven-plugin/src/main/java/edu/uci/ics/asterix/lexergenerator/rules/RuleAnythingUntil.java
Java
apache-2.0
2,007
package com.netwebx.hackerrank.rpc.client; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.lang.reflect.InvocationHandler; import java.lang.reflect.Method; import java.lang.reflect.Proxy; import java.net.InetSocketAddress; import java.net.Socket; /** * Created by apple on 2017/2/26. ...
WengJunFeng/hackerrank_java
src/main/java/com/netwebx/hackerrank/rpc/client/RpcImporter.java
Java
apache-2.0
2,053
require 'adrian/queue' require 'fileutils' module Adrian class DirectoryQueue < Adrian::Queue include Filters def self.create(options = {}) queue = new(options) FileUtils.mkdir_p(queue.available_path) FileUtils.mkdir_p(queue.reserved_path) queue end attr_reader :available_pa...
staugaard/adrian
lib/adrian/directory_queue.rb
Ruby
apache-2.0
2,384
// SERVER-4516 and SERVER-6913: test that update and findAndModify tolerate // an _id in the update document, as long as the _id will not be modified var t = db.jstests_server4516; var startingDoc = {_id: 1, a: 1}; function prepare() { t.drop(); t.save(startingDoc); } function update_succeeds(updateDoc, qid,...
christkv/mongo-shell
test/jstests/core/update_find_and_modify_id.js
JavaScript
apache-2.0
1,313
package com.oath.cyclops.internal.stream.spliterators.push; import com.oath.cyclops.types.persistent.PersistentCollection; import java.util.Collection; import java.util.concurrent.TimeUnit; import java.util.function.Consumer; import java.util.function.Function; import java.util.function.Supplier; /** * Created by j...
aol/cyclops
cyclops/src/main/java/com/oath/cyclops/internal/stream/spliterators/push/GroupedByTimeOperator.java
Java
apache-2.0
4,567
<?php /*************************************************************************** * * * (c) 2004 Vladimir V. Kalynyak, Alexey V. Vinokurov, Ilya M. Shalnev * * * * This...
sandymariscal22/BrandsCsCart
public_html/app/Tygh/Exceptions/ClassNotFoundException.php
PHP
apache-2.0
1,012
// +build linux /* Copyright The containerd 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...
mikebrow/cri-containerd
vendor/github.com/containerd/containerd/linux/runtime.go
GO
apache-2.0
14,104
package net.tcp.socket; import java.io.DataOutputStream; import java.io.IOException; import java.net.ServerSocket; import java.net.Socket; /** * 必须先启动服务器 后连接 1、创建服务器 指定端口 ServerSocket(int port) 2、接收客户端连接 3、发送数据+接收数据 * */ public class Server { /** * @param args * @throws IOException */ public static void ...
zhangxx0/Java_Topic_prictice
src/net/tcp/socket/Server.java
Java
apache-2.0
1,059
/* * Copyright (c) 2002-2018 "Neo Technology," * Network Engine for Objects in Lund AB [http://neotechnology.com] * * This file is part of Neo4j. * * Neo4j is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Fo...
HuangLS/neo4j
advanced/management/src/main/java/org/neo4j/management/impl/KernelProxy.java
Java
apache-2.0
8,016
package de.mhus.cha.cao.action; import java.io.File; import de.mhus.lib.cao.CaoElement; import de.mhus.lib.cao.CaoException; import de.mhus.lib.cao.CaoList; import de.mhus.lib.cao.CaoMonitor; import de.mhus.lib.cao.CaoOperation; import de.mhus.cap.core.Access; import de.mhus.cha.cao.ChaConnection; import de.mhus.cha....
mhus/mhus-inka
de.mhus.hair/hair3/de.mhus.cha.app/src/de/mhus/cha/cao/action/CopyToOperation.java
Java
apache-2.0
3,411
/* * 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 ...
ohadshacham/phoenix
phoenix-core/src/main/java/org/apache/phoenix/util/csv/CsvUpsertExecutor.java
Java
apache-2.0
10,075
/* * Copyright 2015 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. * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, soft...
mrietveld/drools
drools-reteoo/src/main/java/org/drools/reteoo/common/ReteWorkingMemory.java
Java
apache-2.0
9,985
/* Copyright (c) DataStax, 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, so...
datastax/cpp-driver
tests/src/integration/tests/test_prepared_metadata.cpp
C++
apache-2.0
3,220
package jp.hashiwa.elasticsearch.authplugin; import org.apache.logging.log4j.Logger; import org.elasticsearch.client.node.NodeClient; import org.elasticsearch.common.bytes.BytesArray; import org.elasticsearch.common.bytes.BytesReference; import org.elasticsearch.common.logging.Loggers; import org.elasticsearch.rest.*;...
hashiwa000/Elasticsearch-Auth-Plugin
src/jp/hashiwa/elasticsearch/authplugin/AuthRestHandler.java
Java
apache-2.0
2,877
/* * Copyright (c) 2010 Yahoo! 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 req...
s4/core
src/main/java/io/s4/persist/ConMapPersister.java
Java
apache-2.0
5,403
# # Copyright 2015, SUSE Linux GmbH # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wr...
crowbar/crowbar-client
spec/support/request_examples.rb
Ruby
apache-2.0
1,652
--TEST-- swoole_server/ssl: dtls --SKIPIF-- <?php require __DIR__ . '/../../include/skipif.inc'; ?> --FILE-- <?php require __DIR__ . '/../../include/bootstrap.php'; $pm = new SwooleTest\ProcessManager; $pm->parentFunc = function ($pid) use ($pm) { $client = new Swoole\Client(SWOOLE_SOCK_UDP | SWOOLE_SSL, SWOOLE_S...
swoole/swoole-src
tests/swoole_server/ssl/dtls.phpt
PHP
apache-2.0
1,266
/* * Copyright 2020 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
googleapis/java-orchestration-airflow
proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/DatabaseConfig.java
Java
apache-2.0
23,250
package com.bagri.server.hazelcast.task.schema; import static com.bagri.core.Constants.pn_schema_password; import static com.bagri.server.hazelcast.serialize.TaskSerializationFactory.cli_UpdateSchemaTask; import static com.bagri.support.security.Encryptor.encrypt; import java.io.IOException; import java.util.P...
dsukhoroslov/bagri
bagri-server/bagri-server-hazelcast/src/main/java/com/bagri/server/hazelcast/task/schema/SchemaUpdater.java
Java
apache-2.0
2,552
/* * Copyright 2015-2016 DevCon5 GmbH, info@devcon5.ch * * 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 appli...
devcon5io/common
cli/src/test/java/io/devcon5/cli/CLIExample.java
Java
apache-2.0
1,919
# -*- coding: utf-8 -*- """ Authors: Tim Hessels UNESCO-IHE 2016 Contact: t.hessels@unesco-ihe.org Repository: https://github.com/wateraccounting/wa Module: Collect/MOD17 Description: This module downloads MOD17 GPP data from http://e4ftl01.cr.usgs.gov/. Use the MOD17.GPP_8daily function to download and creat...
wateraccounting/wa
Collect/MOD17/__init__.py
Python
apache-2.0
860
/* * Copyright 2015-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 app...
dbflute-session/lastaflute-test-catalog
src/main/java/org/docksidestage/app/web/product/ProductSearchForm.java
Java
apache-2.0
1,252
/** * @fileoverview Defines compressors utility methods. * * @see https://google.github.io/styleguide/javascriptguide.xml * @see https://developers.google.com/closure/compiler/docs/js-for-compiler * @module glize/compressors */ import * as lzw from 'lzw-compressor'; /** * Enumeration of available compression t...
Datamart/Glize
src/compressors/index.js
JavaScript
apache-2.0
1,646
package com.flora.support; import java.io.OutputStream; import java.io.OutputStreamWriter; import java.io.StringWriter; import java.io.Writer; import java.util.Map; import org.apache.velocity.VelocityContext; import org.apache.velocity.app.VelocityEngine; import org.apache.velocity.context.Context; impor...
liqilun/flora
src/main/java/com/flora/support/VelocityTemplate.java
Java
apache-2.0
1,644
package org.apache.lucene.search; /** * Copyright 2004 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....
lpxz/grail-lucene358684
src/java/org/apache/lucene/search/WildcardTermEnum.java
Java
apache-2.0
5,708
package com.github.ayltai.foscam.client; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import android.support.annotation.NonNull; import android.support.annotation.VisibleForTesting; import android.support.v4.util.Pair; import rx.Subscriber; import rx.Subscription; import rx.subjects.Publ...
ayltai/Foscam-CGI-Client
app/src/main/java/com/github/ayltai/foscam/client/RxBus.java
Java
apache-2.0
2,141
# Copyright 2019 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 a...
google/timesketch
timesketch/lib/aggregators/term.py
Python
apache-2.0
7,953
/* * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software distributed under t...
googleapis/google-api-java-client-services
clients/google-api-services-retail/v2/1.31.0/com/google/api/services/retail/v2/CloudRetailScopes.java
Java
apache-2.0
1,411
# Copyright (c) 2010-2012 OpenStack 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 required by applicable law or agree...
swiftstack/swift
test/unit/common/middleware/test_memcache.py
Python
apache-2.0
17,061
<?php /** * HiPay fullservice Magento2 * * NOTICE OF LICENSE * * This source file is subject to the Apache 2.0 Licence * that is bundled with this package in the file LICENSE.md. * It is also available through the world-wide-web at this URL: * http://www.apache.org/licenses/LICENSE-2.0 * * @copyright Copyrig...
hipay/hipay-fullservice-sdk-magento2
Model/Request/ThreeDS/BrowserInfoFormatter.php
PHP
apache-2.0
4,402
package com.github.andriell.collection; import org.junit.Test; import static org.junit.Assert.assertEquals; /** * Created by Andrey on 13.02.2016 */ public class HashThreeTest { public static void main(String[] args) { HashThreeTest test = new HashThreeTest(); test.test1(); } @Test ...
andriell/craftyfox
src/test/java/com/github/andriell/collection/HashThreeTest.java
Java
apache-2.0
2,540
package com.ryanharter.auto.value.moshi.example; import com.google.auto.value.AutoValue; import com.squareup.moshi.JsonAdapter; import com.squareup.moshi.Moshi; import java.lang.reflect.Type; @AutoValue public abstract class GenericsExample<A, B, C> { public abstract A a(); public abstract B b(); public...
rharter/auto-value-moshi
example/src/main/java/com/ryanharter/auto/value/moshi/example/GenericsExample.java
Java
apache-2.0
870
# Copyright 2020 Department of Computational Biology for Infection Research - Helmholtz Centre for Infection Research # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the Li...
CAMI-challenge/AMBER
src/plots.py
Python
apache-2.0
26,475
package web.magic.jvm; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.lang.reflect.Proxy; import java.lang.reflect.UndeclaredThrowableException; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util....
liufeiit/WebMagic
WebMagic/src/test/java/web/magic/jvm/MBeanTyper.java
Java
apache-2.0
4,284
// ---------------------------------------------------------------------------- // Module initialization var Config = require("config").config; var utils = require("utils"); var validators = require("validators"); // ---------------------------------------------------------------------------- // Setting class. functio...
garlictech/APIXMobil
app/controllers/setting.js
JavaScript
apache-2.0
2,314
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> ...
ak229/personalWebsite
old/pages/header.php
PHP
apache-2.0
830
package eu.dowsing.kolla.widget.brick.facade; import javafx.scene.layout.Pane; import javafx.scene.paint.Color; import javafx.scene.shape.Circle; import javafx.scene.shape.CircleBuilder; import javafx.scene.shape.Rectangle; import javafx.scene.shape.RectangleBuilder; import com.leapmotion.leap.Hand; import eu.dowsin...
N0rp/Snabb
src/main/java/eu/dowsing/kolla/widget/brick/facade/BrickView.java
Java
apache-2.0
6,215
import os import datetime from jinja2 import Environment,PackageLoader,TemplateNotFound from hotzenplotz.openstack.common import cfg from hotzenplotz.openstack.common import log as logging from hotzenplotz.openstack.common import utils from hotzenplotz.common import exception from hotzenplotz.api import validator L...
NewpTone/hotzenplotz
hotzenplotz/worker/driver/cron.py
Python
apache-2.0
6,103
/* * 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/main/java/org/wso2/msf4j/ChunkResponder.java
Java
apache-2.0
1,625
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
cedral/aws-sdk-cpp
aws-cpp-sdk-sagemaker/source/model/ListProcessingJobsResult.cpp
C++
apache-2.0
1,879
#region License Header /* * QUANTLER.COM - Quant Fund Development Platform * Quantler Core Trading Engine. Copyright 2018 Quantler B.V. * * 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:...
Quantler/Core
Quantler/Data/Corporate/Dividend.cs
C#
apache-2.0
2,025
/* * Copyright 2016-present 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 appli...
mengmoya/onos
apps/l3vpn/nel3vpn/nemgr/src/main/java/org/onosproject/yang/gen/v1/ne/bgpcomm/rev20141225/nebgpcomm/bgpcomm/bgpvrfs/bgpvrf/bgpvrfafs/bgpvrfaf/package-info.java
Java
apache-2.0
796
/// <reference path="./fabricPlugin.ts"/> /// <reference path="./profileHelpers.ts"/> /// <reference path="./containerHelpers.ts"/> /// <reference path="../../helpers/js/storageHelpers.ts"/> /// <reference path="../../helpers/js/controllerHelpers.ts"/> /// <reference path="../../helpers/js/selectionHelpers.ts"/> /// <r...
mposolda/hawtio
hawtio-web/src/main/webapp/app/fabric/js/containerView.ts
TypeScript
apache-2.0
8,985
/** * * 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"); ...
Jackygq1982/hbase_src
hbase-server/src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java
Java
apache-2.0
167,470
package com.p.service; import java.util.Collection; import java.util.Optional; import java.util.Random; import java.util.UUID; import javax.annotation.Resource; import org.apache.log4j.Logger; import org.hibernate.SessionFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframewo...
david-romero/Pachanga
src/main/java/com/p/service/UsersService.java
Java
apache-2.0
5,489
from must import MustHavePatterns from successor import Successor class TestSuccessor(object): @classmethod def setup_class(cls): cls.test_patterns = MustHavePatterns(Successor) def test_successor(self): try: self.test_patterns.create(Successor) raise Exception("Re...
umaptechnologies/must
examples/miscExamples/test_successor.py
Python
apache-2.0
457
(function() { 'use strict'; angular .module('fitappApp') .controller('RequestResetController', RequestResetController); RequestResetController.$inject = ['$timeout', 'Auth']; function RequestResetController ($timeout, Auth) { var vm = this; vm.error = null; vm...
tomkasp/fitapp
src/main/webapp/app/account/reset/request/reset.request.controller.js
JavaScript
apache-2.0
1,089
#-*- encoding: utf-8 -*- import csv, math, time, re, threading, sys try: from urllib.request import urlopen except ImportError: from urllib import urlopen class ErAPI(): # Metodo constructor, seteos basicos necesarios de configuracion, instancia objetos utiles def __init__(self): self.data = ...
CPedrini/TateTRES
erapi.py
Python
apache-2.0
11,009
package org.apache.solr.cloud; /* * 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 ...
halentest/solr
solr/core/src/test/org/apache/solr/cloud/ShardSplitTest.java
Java
apache-2.0
11,050
package org.zstack.header.identity; import org.zstack.header.message.APICreateMessage; import org.zstack.header.message.APIMessage; import org.zstack.header.message.APIParam; @NeedRoles(roles = {IdentityRoles.CREATE_POLICY_ROLE}) public class APICreatePolicyMsg extends APICreateMessage implements AccountMessag...
SoftwareKing/zstack
header/src/main/java/org/zstack/header/identity/APICreatePolicyMsg.java
Java
apache-2.0
1,059
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Xml.Serialization; namespace SAM.DTO { [XmlType(TypeName = "user")] public class User { public string id { get; set; } public string name { get; set; } public string avatar_url { ge...
SAMdesk/sam-dotnet
src/SAM/DTO/User.cs
C#
apache-2.0
430
// Copyright 2017 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...
akira-baruah/bazel
src/main/java/com/google/devtools/build/lib/profiler/memory/AllocationTracker.java
Java
apache-2.0
14,364
# Copyright (c) 2012 NetApp, 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 require...
github-borat/cinder
cinder/tests/test_netapp_nfs.py
Python
apache-2.0
47,799
/* Copyright (c) The m-m-m Team, Licensed under the Apache License, Version 2.0 * http://www.apache.org/licenses/LICENSE-2.0 */ package net.sf.mmm.service.base.client; import net.sf.mmm.service.api.RemoteInvocationCall; import net.sf.mmm.util.lang.api.function.Consumer; /** * This is a simple container for the data...
m-m-m/service
base/src/main/java/net/sf/mmm/service/base/client/RemoteInvocationCallData.java
Java
apache-2.0
2,216
/** * */ package jframe.core.plugin; import java.util.EventListener; /** * @author dzh * @date Sep 12, 2013 9:42:33 PM * @since 1.0 */ public interface PluginListener extends EventListener { void pluginChanged(PluginEvent event); }
dzh/jframe
jframe/jframe-core/src/main/java/jframe/core/plugin/PluginListener.java
Java
apache-2.0
244