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} */ sap.ui.define([ "jquery.sap.global", "./Base", "sap/ui/fl/Utils" ], function( jQuery, Base, FlexUtils ) { "use strict"; /** * Change handler for moving of an element. * * @alias sap.ui.fl.changeHandler.MoveControls * @author SAP SE * @version ${version} * @experimental Sinc...
cschuff/openui5
src/sap.ui.fl/src/sap/ui/fl/changeHandler/MoveControls.js
JavaScript
apache-2.0
12,171
package com.sequenceiq.cloudbreak.telemetry.orchestrator; public enum TelemetryOrchestratorModule { TELEMETRY("telemetry"), FLUENT("fluent"), FILECOLLECTOR("filecollector"), NODESTATUS("nodestatus"), DATABUS("databus"), MONITORING("monitoring"), METERING("metering"); private final Str...
hortonworks/cloudbreak
telemetry-common/src/main/java/com/sequenceiq/cloudbreak/telemetry/orchestrator/TelemetryOrchestratorModule.java
Java
apache-2.0
476
/** * */ package net.sf.jabb.util.stat; import java.io.Serializable; import java.time.LocalDate; import java.time.LocalDateTime; import java.time.ZoneId; import java.time.ZonedDateTime; import java.time.format.DateTimeFormatter; import java.time.temporal.ChronoUnit; import java.time.temporal.IsoFields; import java....
james-hu/jabb-core-java8
src/main/java/net/sf/jabb/util/stat/DefaultAggregationPeriodKeyScheme.java
Java
apache-2.0
26,905
/* * Copyright 2016 TomeOkin * * 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 ...
TomeOkin/LsPush
app/src/main/java/com/tomeokin/lspush/biz/base/BaseActivity.java
Java
apache-2.0
1,139
var skin = { // recent news title bar color and image // if use image, bar color and title should empty // if use text title, bar image should empty "RECENT_BAR_IMAGE" : "", // example: imgs/wpapp.png, size: 320x45 "RECENT_BAR_COLOR" : "#0e8dd0", // example: #ff840a // category ...
TagYourIt/inspirationapp
Resources/skin/blue.js
JavaScript
apache-2.0
3,029
/* Android Asynchronous Http Client Copyright (c) 2011 James Smith <james@loopj.com> http://loopj.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.apac...
oyatsukai/openkit-android-beta
OpenKitSDK/src/io/openkit/asynchttp/AsyncHttpClient.java
Java
apache-2.0
27,033
package de.st_ddt.crazylogin.commands; import java.util.ArrayList; import java.util.List; import java.util.regex.Pattern; import org.bukkit.Bukkit; import org.bukkit.OfflinePlayer; import org.bukkit.command.CommandSender; import de.st_ddt.crazylogin.CrazyLogin; import de.st_ddt.crazylogin.data.LoginPlayer...
ST-DDT/CrazyLogin
src/main/java/de/st_ddt/crazylogin/commands/CommandPlayerCreate.java
Java
apache-2.0
4,146
/* * 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")...
TANGKUO/twoMan
src/main/java/io/cloudsoft/win4j/client/WinRmClientContext.java
Java
apache-2.0
2,092
import re import string import sys from pyspark import SparkContext exclude = set(string.punctuation) def get_hash_tag(word, rmPunc): pattern = re.compile("^#(.*)") m = pattern.match(word) tag = None if m: match = m.groups() for m_word in match: tag = ''.join(letter for letter in m_word...
malli3131/SparkApps
Batch_sentiment/spark_hashtag.py
Python
apache-2.0
828
// notice_start /* * Copyright 2018 Keith Woods * * 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...
esp/esp-js-react
tests/index.test.ts
TypeScript
apache-2.0
1,771
'use strict'; var util = require('../../../util/index'); var DimensionError = require('../../../error/DimensionError'); var string = util.string, isString = string.isString; function factory (type, config, load, typed) { var equalScalar = load(require('../../../function/relational/equalScalar')); var Spar...
mikberg/mathjs
lib/type/matrix/util/algorithm09.js
JavaScript
apache-2.0
3,994
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: ObserverStatisticsService.proto package coprocessor.generated; public final class ObserverStatisticsProtos { private ObserverStatisticsProtos() {} public static void registerAllExtensions( com.google.protobuf.ExtensionRegistry registry) ...
larsgeorge/hbase-book
ch04/src/main/java/coprocessor/generated/ObserverStatisticsProtos.java
Java
apache-2.0
77,188
/* * Copyright (c) 2014-2018 University of Ulm * * See the NOTICE file distributed with this work for additional information * regarding copyright ownership. 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...
cloudiator/sword
drivers/google/src/main/java/de/uniulm/omi/cloudiator/sword/drivers/google/config/GoogleCloudComputeModule.java
Java
apache-2.0
1,805
var singleQuote = require('..'); describe('singlequote with \\r', function () { var result; before(function () { function x() { return 'hello" I am a string\'s for sure'; } result = singleQuote(x.toString().replace(/\r/g, '').replace(/\n/g, '\r\n')); //make sure we have \r on both mac an win }); it('shou...
ebdrup/singlequote
test/basic.spec.js
JavaScript
apache-2.0
3,283
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/inspector2/model/ListMembersRequest.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Inspector2::Model; using namespace Aws::Utils::Json; usin...
aws/aws-sdk-cpp
aws-cpp-sdk-inspector2/source/model/ListMembersRequest.cpp
C++
apache-2.0
959
/**************************************************************************** * Copyright 2010 kraigs.android@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.ap...
CarloRodriguez/AlarmOn
app/src/main/java/io/github/carlorodriguez/alarmon/PendingAlarmList.java
Java
apache-2.0
5,784
package org.pac4j.oauth.run; import org.pac4j.core.client.IndirectClient; import org.pac4j.core.profile.CommonProfile; import org.pac4j.core.run.RunClient; import org.pac4j.oauth.client.HiOrgServerClient; import org.pac4j.oauth.profile.hiorgserver.HiOrgServerProfile; import static org.junit.Assert.*; /** * Run manua...
pac4j/pac4j
pac4j-oauth/src/test/java/org/pac4j/oauth/run/RunHiOrgServerClient.java
Java
apache-2.0
1,837
/* * 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...
freeVM/freeVM
enhanced/archive/classlib/java6/modules/print/src/main/java/common/org/apache/harmony/x/print/DefaultPrintService.java
Java
apache-2.0
14,216
/* * 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
drivers/huawei/src/main/java/org/onosproject/drivers/huawei/util/package-info.java
Java
apache-2.0
714
"""Base Command class, and related routines""" import sys import os import socket import urllib2 import urllib from cStringIO import StringIO import traceback import time from pip.log import logger from pip.baseparser import parser, ConfigOptionParser, UpdatingDefaultsHelpFormatter from pip.exceptions import Installat...
2013Commons/HUE-SHARK
build/env/lib/python2.7/site-packages/pip-0.6.3-py2.7.egg/pip/basecommand.py
Python
apache-2.0
7,777
/* * Copyright 2016 MICRORISC s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
iqrfsdk/jsimply
simply-modules/simply-iqrf-dpa22x/simply-iqrf-dpa-v22x-examples/src/main/java/com/microrisc/simply/iqrf/dpa/v22x/examples/services/LoadCodeServiceExample.java
Java
apache-2.0
5,315
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
uboness/elasticsearch
src/main/java/org/elasticsearch/rest/action/cat/RestThreadPoolAction.java
Java
apache-2.0
13,300
# -*- coding: utf-8 -*- # Copyright 2022 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...
googleapis/python-error-reporting
google/cloud/errorreporting_v1beta1/types/common.py
Python
apache-2.0
9,405
// Copyright 2018 Peter Hallam // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to i...
peterhal/omakase
src/omakase/codegeneration/OptimizedTreeWriter.java
Java
apache-2.0
939
# # Copyright:: Copyright (c) 2016-2019 Chef Software Inc. # License:: Apache License, Version 2.0 # # 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/LICEN...
chef/chef-dk
lib/chef-dk/builtin_commands.rb
Ruby
apache-2.0
3,304
/* * 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 agreed t...
data-integrations/google-cloud
src/main/java/io/cdap/plugin/gcp/datastore/source/DatastoreSourceConfig.java
Java
apache-2.0
22,996
/* * Copyright 2010 Helio Chissini de Castro <helio@collabora.co.uk> * * 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...
heliocastro/QFacebookGraph
src/graph/qfacebookgraphlink.cpp
C++
apache-2.0
2,870
/** * Copyright 2012 Twitter, 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 i...
cloudera/parquet-mr
parquet-thrift/src/main/java/parquet/thrift/struct/CompatibilityRunner.java
Java
apache-2.0
3,513
/* * Licensed to Crate under one or more contributor license agreements. * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. Crate licenses this file * to you under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compl...
EvilMcJerkface/crate
server/src/main/java/io/crate/analyze/AnalyzedAlterTableOpenClose.java
Java
apache-2.0
2,013
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2019 Serge Rider (serge@jkiss.org) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/license...
liuyuanyuan/dbeaver
plugins/org.jkiss.dbeaver.ext.postgresql/src/org/jkiss/dbeaver/ext/postgresql/model/PostgreTable.java
Java
apache-2.0
15,134
/** * 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...
millecker/storm-apps
commons/src/at/illecker/storm/commons/util/io/SerializationUtils.java
Java
apache-2.0
2,971
<?php use DTS\eBaySDK\Trading\Types\MaximumBuyerPolicyViolationsType; class MaximumBuyerPolicyViolationsTypeTest extends \PHPUnit_Framework_TestCase { private $obj; protected function setUp() { $this->obj = new MaximumBuyerPolicyViolationsType(); } public function testCanBeCreated() ...
spoilie/ebay-sdk-trading
test/DTS/eBaySDK/Trading/Types/MaximumBuyerPolicyViolationsTypeTest.php
PHP
apache-2.0
569
package org.synyx.urlaubsverwaltung.web; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; /** * @author Aljona Murygina - murygina@synyx.de */ @Controller public class BaseController { ...
pongo710/urlaubsverwaltung
src/main/java/org/synyx/urlaubsverwaltung/web/BaseController.java
Java
apache-2.0
512
// classe Proposta package cryptohelper.data; import cryptohelper.service.QueryResult; import cryptohelper.interfaces.HtmlVisitable; import cryptohelper.interfaces.HtmlVisitorInterface; import cryptohelper.service.DBController; import java.sql.SQLException; import java.util.ArrayList; import org.apache.common...
sashapodgoreanu/CryptoHelper
src/cryptohelper/data/Proposta.java
Java
apache-2.0
7,595
package org.drools.example.api.defaultkiesession; import org.kie.KieServices; import org.kie.runtime.KieContainer; import org.kie.runtime.KieSession; import java.io.PrintStream; public class DefaultKieSessionExample { public void go(PrintStream out) { KieServices ks = KieServices.Factory.get(); ...
yurloc/drools
drools-examples-api/default-kiesession/src/main/java/org/drools/example/api/defaultkiesession/DefaultKieSessionExample.java
Java
apache-2.0
741
package com.suscipio_solutions.consecro_mud.Locales; import java.util.List; import com.suscipio_solutions.consecro_mud.Common.interfaces.PhyStats; import com.suscipio_solutions.consecro_mud.Locales.interfaces.Room; import com.suscipio_solutions.consecro_mud.core.interfaces.Places; public class CaveSurface extends Cl...
ConsecroMUD/ConsecroMUD
com/suscipio_solutions/consecro_mud/Locales/CaveSurface.java
Java
apache-2.0
790
/* Copyright 2016 Anderson Dorow 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 ...
adorow/jcurry
src/main/java/jcurry/util/function/CurryingDoubleFunction.java
Java
apache-2.0
1,399
/* * Copyright 2014 Philip Cronje * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
slyfoxza/minecraft
profile/src/main/java/net/za/slyfox/minecraft/ProfileClient.java
Java
apache-2.0
2,020
namespace MassTransit.Tests.MessageData { using System; using System.IO; using System.Linq; using System.Threading.Tasks; using MassTransit.MessageData; using NUnit.Framework; [TestFixture] public class Storing_message_data_on_the_file_system { IMessageDataRep...
drusellers/MassTransit
src/MassTransit.Tests/MessageData/FileSystem_Specs.cs
C#
apache-2.0
1,510
package swingbootstrap; import java.awt.Color; import java.awt.Cursor; import java.awt.Insets; import java.awt.event.MouseEvent; import java.awt.event.MouseListener; import javax.swing.BorderFactory; import javax.swing.Icon; import javax.swing.JButton; import javax.swing.JLabel; import javax.swing.JPanel; import swi...
qikh/swingbootstrap
swingbootstrap-core/src/main/java/swingbootstrap/Navlink.java
Java
apache-2.0
3,437
"""Lists clusters.""" from baseCmd import * from baseResponse import * class listClustersCmd (baseCmd): typeInfo = {} def __init__(self): self.isAsync = "false" """lists clusters by allocation state""" self.allocationstate = None self.typeInfo['allocationstate'] = 'string' ...
MissionCriticalCloud/marvin
marvin/cloudstackAPI/listClusters.py
Python
apache-2.0
3,916
/* * Copyright 2015 The Netty Project * * The Netty Project licenses this file to you under the Apache License, * version 2.0 (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless ...
ichaki5748/netty
codec-http/src/main/java/io/netty/handler/codec/http/cookie/DefaultCookie.java
Java
apache-2.0
5,793
package com.vmware.vim25; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for anonymous com...
jdgwartney/vsphere-ws
java/JAXWS/samples/com/vmware/vim25/HttpNfcLeaseGetManifestResponse.java
Java
apache-2.0
1,999
package com.planet_ink.coffee_mud.WebMacros; import com.planet_ink.coffee_web.interfaces.*; import com.planet_ink.coffee_mud.core.interfaces.*; import com.planet_ink.coffee_mud.core.*; import com.planet_ink.coffee_mud.core.CMath.CompiledOperation; import com.planet_ink.coffee_mud.core.collections.*; import com....
oriontribunal/CoffeeMud
com/planet_ink/coffee_mud/WebMacros/StatRejuvCharts.java
Java
apache-2.0
9,555
package com.unidev.polydata.changes.tags; import static com.unidev.polydata.MongodbStorage.COUNT_KEY; import com.mongodb.client.MongoCollection; import com.unidev.changesexecutor.model.ChangeContext; import com.unidev.polydata.changes.MongodbChange; import org.bson.Document; /** * Change for adding index on tag co...
unidev-polydata/polydata-storage-mongodb
polydata-storage-mongodb-core/src/main/java/com/unidev/polydata/changes/tags/TagsCountIndex.java
Java
apache-2.0
807
/** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib 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 a...
stdlib-js/stdlib
lib/node_modules/@stdlib/array/pool/lib/factory.js
JavaScript
apache-2.0
11,150
// Copyright 2015 Light Code Labs, 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 agre...
mholt/caddy
caddyhttp/gzip/gzip.go
GO
apache-2.0
4,876
var notifyDesktop = function(msg, link) { $.notify(msg, 'info'); var doNotification = function() { var options = { body: 'Notification from knowledge.', icon: _CONTEXT + '/favicon.ico' }; var n = new Notification(msg, options); n.onclick = function() ...
support-project/knowledge
src/main/webapp/js/notification.js
JavaScript
apache-2.0
3,455
package br.com.rbg.pedidovenda.model; public enum TipoPessoa { FISICA("Fisica"), JURIDICA("Juridica"); private String descricao; private TipoPessoa(String descricao) { this.descricao = descricao; } public String getDescricao() { return descricao; } }
renatobarata/PedidoVenda
src/main/java/br/com/rbg/pedidovenda/model/TipoPessoa.java
Java
apache-2.0
270
package com.cms.controller.admin; import com.cms.service.admin.CategoryService; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.propertyeditors.CustomDateEditor; import org.springframework.web.bind.WebDataBinder; i...
EvilGreenArmy/cms
src/main/java/com/cms/controller/admin/BaseController.java
Java
apache-2.0
1,384
# # Cookbook Name:: awsk-sdk # Attributes: default # # Copyright (c) 2014 Quad Learning, 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....
americanhonors-cookbooks/aws-sdk
attributes/default.rb
Ruby
apache-2.0
728
#include <iostream> #include <string> #include <vector> #include <algorithm> using namespace std; int main() { int n; cin >> n; string s; vector<string> v(n); for (int i = 0; i < n; ++i) { cin >> v[i]; } sort(v.begin(), v.end()); char ch; cin >> ch; for (int i = 0; i < v.size(); ++i) { if (v[i][0] == ch) ...
ChameleonTartu/competitive_programming
Timus/C++/Timus1545.cpp
C++
apache-2.0
360
/* * 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 ...
dindin5258/calcite
spark/src/main/java/org/apache/calcite/adapter/spark/JdbcToSparkConverter.java
Java
apache-2.0
4,926
package org.jtheque.core.utils; /* * Copyright JTheque (Baptiste Wicht) * * 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...
wichtounet/jtheque-core
jtheque-core-utils/src/main/java/org/jtheque/core/utils/ImageType.java
Java
apache-2.0
1,839
package com.notronix.lw.api.model; import java.time.Instant; import java.util.UUID; public class RefundInfo { private UUID pkRefundRowId; private String SKU; private String ItemTitle; private Boolean IsItem; private Boolean IsService; private Double Amount; private String Reas...
Notronix/JaLAPI
src/main/java/com/notronix/lw/api/model/RefundInfo.java
Java
apache-2.0
4,241
'use strict'; const chai = require('chai'); const assert = chai.assert; const extensions = require('../../lib/extensions'); describe('Extensions Tests', function () { const noop = function () { return undefined; }; const noop2 = function () { return undefined; }; describe('add', f...
sagiegurari/simple-oracledb
test/spec/extensions-spec.js
JavaScript
apache-2.0
4,815
package com.chloxen95.RspamdConfiguration.Service; import java.io.BufferedReader; import java.io.IOException; import java.util.Map; public interface ConfigurationParser { /** * ¶ÁÈ¡±äÁ¿£ºcheck_all_filters = false;</br> * ½âÎö´øÓбäÁ¿¸³ÖµµÄ×Ö·û´®£¬²¢½«Æä±£´æµ½Ä¿±êMapÖÐ * @param varStr Ô´×Ö·û´® * @param resu...
chloxen95/RspamdConfiguration
src/main/java/com/chloxen95/RspamdConfiguration/Service/ConfigurationParser.java
Java
apache-2.0
1,715
# -*- coding: utf-8 -*- # Minio Python Library for Amazon S3 compatible cloud storage, (C) 2015 Minio, 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/licen...
krishnasrinivas/minio-py
tests/unit/compat.py
Python
apache-2.0
917
from azure.servicebus import ServiceBusService, Message, Queue class azure_service_bus_listener(object): def __init__(self, azure_settings): self.bus_service = ServiceBusService( service_namespace= azure_settings['name_space'], shared_access_key_name = azure_settings['key_name'], ...
rumdood/martinique
src/PiDaemon/azure_service_bus_listener.py
Python
apache-2.0
1,135
package allow.simulator.netlogo.agent; import it.unimi.dsi.fastutil.longs.Long2LongOpenHashMap; import it.unimi.dsi.fastutil.longs.Long2ObjectOpenHashMap; import java.util.Collection; import java.util.List; import java.util.Map; import org.nlogo.agent.Link; import org.nlogo.agent.Turtle; import org.nlogo.agent.World...
poxrucker/collaborative-learning-simulation
Simulator/src/allow/simulator/netlogo/agent/NetLogoWrapper.java
Java
apache-2.0
5,395
module ChefAPI class Resource::DataBag < Resource::Base collection_path '/data' schema do attribute :name, type: String, primary: true, required: true end class << self # # Load the data bag from a collection of JSON files on disk. Just like # +knife+, the basename of the fol...
sethvargo/chef-api
lib/chef-api/resources/data_bag.rb
Ruby
apache-2.0
3,310
package org.graniteds.tutorial.data.services; import javax.persistence.EntityManager; import javax.persistence.TypedQuery; import javax.persistence.criteria.*; import org.granite.tide.data.model.Page; import org.granite.tide.data.model.PageInfo; import org.graniteds.tutorial.data.entities.Account; import java.util.*;...
og0815/granditeds.javafx.sample
server-model/src/main/java/org/graniteds/tutorial/data/services/AccountSearch.java
Java
apache-2.0
3,331
package jim.android.mainFrame; import android.content.Context; import android.util.Log; import android.widget.ImageView; import com.android.volley.Response; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import java.util.Objects; /** * Created by Jim Huang on 2015/8/25. */ ...
huangjim/MyViewPager
app/src/main/java/jim/android/mainFrame/Home01.java
Java
apache-2.0
503
<ul> <li class="block"> <a href="/ph/egpc/api/sendMessage" id="blocksendMessage">Send a Message to people</a><br/> <div class="fss"> url : /ph/egpc/api/sendMessage<br/> method type : POST <br/> params : <br/> message : <textarea name="sendMessagemsg" id="sendMessagemsg"></textarea> <br/> email(s)...
pixelhumain/communecter
views/api/communications.php
PHP
apache-2.0
1,822
package example.service; import example.repo.Customer1112Repository; import org.springframework.stereotype.Service; @Service public class Customer1112Service { public Customer1112Service(Customer1112Repository repo) {} }
spring-projects/spring-data-examples
jpa/deferred/src/main/java/example/service/Customer1112Service.java
Java
apache-2.0
225
/* * Copyright 2011 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 ...
xuvw/j2objc
translator/src/main/java/com/google/devtools/j2objc/J2ObjC.java
Java
apache-2.0
6,094
/* * Copyright (c) 2011-2015, Peter Abeles. All Rights Reserved. * * This file is part of BoofCV (http://boofcv.org). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www...
pacozaa/BoofCV
main/ip/src/boofcv/alg/interpolate/PolynomialPixel.java
Java
apache-2.0
2,970
/* Typechecking With PropTypes As your app grows, you can catch a lot of bugs with typechecking. For some applications, you can use JavaScript extensions like Flow or TypeScript to typecheck your whole application. But even if you don’t use those, React has some built-in typechecking abilities. To run typechecki...
iitjee/SteppinsWebDev
React/08 Prop Types.js
JavaScript
apache-2.0
3,584
using System.Collections; using System.Collections.Generic; using UnityEngine; public class SoundManager : MonoBehaviour { public AudioSource fxSource; public AudioSource musicSource; public static SoundManager instance = null; public float lowPitchRange = .95f; public float highPitchRange = 1.05...
CattyClouds/Hunger-Man
Hunger Man/Assets/Scripts/SoundManager.cs
C#
apache-2.0
1,065
/** * Copyright 2010 The PlayN 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 to ...
KoriSamui/PlayN
html/src/playn/html/HtmlGraphicsGL.java
Java
apache-2.0
4,612
const { spawn } = require('child_process') module.exports = function myExec(cmd, ...args) { return new Promise((resolve, reject) => { const run = spawn(cmd, args) let out = '' run.stdout.on('data', (data) => { console.log(`[stdout]: ${data.toString().trimEnd()}`) out += data.toString() ...
oldj/SwitchHosts
scripts/libs/my_exec.js
JavaScript
apache-2.0
641
# coding: utf-8 """ Copyright 2015 SmartBear Software 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...
danielfrg/jupyterhub-kubernetes_spawner
kubernetes_spawner/swagger_client/models/v1_service_account.py
Python
apache-2.0
8,051
package com.xiaoleilu.ucloud.test; import org.slf4j.Logger; import com.xiaoleilu.hutool.Log; import com.xiaoleilu.ucloud.core.Param; import com.xiaoleilu.ucloud.core.Response; import com.xiaoleilu.ucloud.core.enums.Region; import com.xiaoleilu.ucloud.udb.ClassType; import com.xiaoleilu.ucloud.udb.UDB; impor...
looly/ucloud-java-sdk
src/test/java/com/xiaoleilu/ucloud/test/UDBTest.java
Java
apache-2.0
844
import { Configuration } from "./configuration/Configuration.js"; import { SettingsManager } from "./configuration/SettingsManager.js"; import { EventBuilder } from "./EventBuilder.js"; import { Event, KnownEventDataKeys } from "./models/Event.js"; import { UserDescription } from "./models/data/UserDescription.js"; imp...
exceptionless/Exceptionless.JavaScript
packages/core/src/ExceptionlessClient.ts
TypeScript
apache-2.0
9,879
package com.example.propertyanimation.chat; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.text.TextUtils; import android.util.Log; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.Toa...
lwd1815/Transition
propertyanimation/src/main/java/com/example/propertyanimation/chat/SplashActivity.java
Java
apache-2.0
3,103
<?php interface CompanyDAO { public function getById($id); } ?>
fkmhrk/OpenInvoice
php/libs/model/CompanyDAO.php
PHP
apache-2.0
67
/* * Copyright (C) 2014 Square, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
weiwenqiang/GitHub
expert/okhttp/benchmarks/src/main/java/okhttp3/benchmarks/ApacheHttpClient.java
Java
apache-2.0
2,912
/* * Copyright 2014 The Netty Project * * The Netty Project licenses this file to you under the Apache License, version 2.0 (the * "License"); you may not use this file except in compliance with the License. You may obtain a * copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless re...
xiexingguang/netty
codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2LocalFlowController.java
Java
apache-2.0
23,640
/* * Copyright 2013 Christof Lemke * * 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 ...
christoflemke/xml.entity
src/xml/entity/immutableelement/Attribute.java
Java
apache-2.0
1,226
// Copyright 2015 Patrick Putnam // // 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 o...
putnampp/clotho
include/clotho/genetics/individual_genotyper.hpp
C++
apache-2.0
2,535
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.HtmlControls; using RandomSchool.Extenders; using RandomSchool.Repositories; using RandomSchool.Filters; using ScaffoldFilter; namespace RandomSchool.Maintain....
jbwilliamson/MaximiseWFScaffolding
RandomSchool/RandomSchool/Maintain/vPerson/Default.aspx.cs
C#
apache-2.0
6,887
package net.catchpole.sql.connection; // Copyright 2014 catchpole.net // // 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 // //...
slipperyseal/atomicobjects
atomicobjects-sql/src/main/java/net/catchpole/sql/connection/PreparedStatementHandle.java
Java
apache-2.0
1,553
package br.com.softplan.security.zap.api.authentication; import br.com.softplan.security.zap.api.model.AuthenticationInfo; import br.com.softplan.security.zap.commons.ZapInfo; import br.com.softplan.security.zap.zaproxy.clientapi.core.ClientApi; /** * Simple extension of {@code AbstractAuthenticationHandler} to test...
pdsoftplan/zap-maven-plugin
zap-client-api/src/test/java/br/com/softplan/security/zap/api/authentication/NilAuthenticationHandler.java
Java
apache-2.0
708
'use strict'; exports.__esModule = true; var _react = require('react'); var _react2 = _interopRequireDefault(_react); var _reactIntl = require('react-intl'); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _classCallCheck(instance, Constructor) { if (!(inst...
EaglesoftZJ/iGem_Web
build/components/modals/ModalCloseButton.react.js
JavaScript
apache-2.0
2,305
// Copyright 2018 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package source import ( "fmt" "net/url" "path/filepath" "runtime" "strings" "unicode" ) const fileScheme = "file" // URI represents the full URI for a ...
anpingli/origin
vendor/golang.org/x/tools/internal/lsp/source/uri.go
GO
apache-2.0
2,381
#!/usr/bin/python # coding=utf-8 # Copyright 2017 yaitza. All Rights Reserved. # # https://yaitza.github.io/2017-04-26-Python-FilterPicture # # My Code hope to usefull for you. # =================================================================== __author__ = "yaitza" __date__ = "2017-04-26 13:59" import os from ...
yaitza/python
PROJECT2017/Tools/FilterPicSize.py
Python
apache-2.0
1,440
using System; using System.Collections.Generic; using Foundation.Services; using Newtonsoft.Json; namespace Foundation.Web.JavaScript { [CLSCompliant(false)] public class JavaScriptSerializer : Newtonsoft.Json.JsonSerializer { /// <summary> /// Holds a stack of objects marked wit...
DavidMoore/Foundation
Code/Foundation.Web/JavaScript/JavaScriptSerializer.cs
C#
apache-2.0
1,912
/* * Copyright © 2017 Christopher Zell (zelldon91@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 by...
Zelldon/jnative
jnative/src/benchmarks/java/de/zell/jnative/benchmarks/Long2LongChronicleMapSupplier.java
Java
apache-2.0
1,177
class CreateOrganizedStatus < ActiveRecord::Migration def change create_table :statuses do |t| t.integer :gift_id t.integer :added_by_user_id t.integer :status t.string :note end remove_column :gifts, :status, :string add_column :gifts, :added_by_user_id, :integer end e...
aligature/wishlist
db/migrate/20140810202019_create_organized_status.rb
Ruby
apache-2.0
323
package cn.telling.shop.vo; import java.io.Serializable; import java.math.BigDecimal; /** * * @ClassName: ShopProductVo * TODO * @author xingle * @date 2015-8-21 下午5:28:04 */ public class ShopProductVo implements Serializable{ /** * @Fields serialVersionUID : TODO(描述变量表示) */ private stati...
zhgo116/fancy
FancyInterface/src/main/java/cn/telling/shop/vo/ShopProductVo.java
Java
apache-2.0
2,497
/* * 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-opsworks/src/main/java/com/amazonaws/services/opsworks/model/transform/ChefConfigurationMarshaller.java
Java
apache-2.0
2,340
package io.github.mamifsidtect.warzonehub.listeners; import io.github.mamifsidtect.warzonehub.MCTheWarzoneHub; import java.util.ArrayList; import org.bukkit.Bukkit; import org.bukkit.ChatColor; import org.bukkit.Location; import org.bukkit.Material; import org.bukkit.entity.Player; import org.bukkit.event...
SheepTheGamer/WarzoneHub
src/main/java/io/github/mamifsidtect/warzonehub/listeners/NavigationCompassListener.java
Java
apache-2.0
4,171
/* * Copyright 2014, Hridesh Rajan, Robert Dyer, * and Iowa State University of Science and Technology * * 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://...
kaushin/TestShadowTypes
src/java/boa/compiler/ast/statements/Block.java
Java
apache-2.0
3,117
/* * Copyright (C) 2015 City of Lund (Lunds kommun) * * 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...
lundskommun/resejamforaren
rjweb/static/rjweb/plugins/Plugin.js
JavaScript
apache-2.0
1,534
// // Ce fichier a été généré par l'implémentation de référence JavaTM Architecture for XML Binding (JAXB), v2.2.11 // Voir <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Toute modification apportée à ce fichier sera perdue lors de la recompilation du schéma source. // Généré le : 2015.10...
mlecabellec/bomworkshop2015a
src/main/java/com/booleanworks/bomworkshop2015a/entity/oagi10/bom/v1/TimePeriodABIEType.java
Java
apache-2.0
6,259
require_relative 'components' require_relative 'metadata' require_relative 'analysis' require_relative 'rootlevel' module SmartyStreets module InternationalStreet # A candidate is a possible match for an address that was submitted. A lookup can have multiple # candidates if the address was ambiguous. # ...
smartystreets/smartystreets-ruby-sdk
lib/smartystreets_ruby_sdk/international_street/candidate.rb
Ruby
apache-2.0
742
/* * Copyright 1997-2011 teatrove.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
teatrove/teatrove
tea/src/main/java/org/teatrove/tea/parsetree/Name.java
Java
apache-2.0
1,522
using System; using System.Xml.Serialization; namespace DeRange.Config { public class ParentItem : ChangeItem { private Guid mp_guid; [XmlElement(ElementName = "GUID")] public Guid GUID { get { return mp_guid; } set { ...
bright-tools/DeRange
DeRange/Config/ParentItem.cs
C#
apache-2.0
722
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace API_GrupoE.Controllers { public class HomeController : Controller { public ActionResult Index() { ViewBag.Title = "Home Page"; return View(); } ...
luisdeol/APIgrupoE
API_GrupoE/Controllers/HomeController.cs
C#
apache-2.0
330
////////////////////////////////////////////////////////////////////////////////////// // // Copyright 2012 Freshplanet (http://freshplanet.com | opensource@freshplanet.com) // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // ...
photobox/ANE-Flurry
android/src/main/java/com/freshplanet/flurry/functions/analytics/StopSessionFunction.java
Java
apache-2.0
1,344