code stringlengths 3 1.01M | repo_name stringlengths 5 116 | path stringlengths 3 311 | language stringclasses 30
values | license stringclasses 15
values | size int64 3 1.01M |
|---|---|---|---|---|---|
<?php
/**
* @package tikiwiki
*/
// (c) Copyright 2002-2013 by authors of the Tiki Wiki CMS Groupware Project
//
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id: tiki-edit_structure.php ... | upsafety/ToCiteWiki | tiki-edit_structure.php | PHP | lgpl-2.1 | 12,806 |
//
// This file is part of the Marble Virtual Globe.
//
// This program is free software licensed under the GNU LGPL. You can
// find a copy of this license in LICENSE.txt in the top directory of
// the source code.
//
// Copyright 2004-2007 Torsten Rahn <tackat@kde.org>
// Copyright 2007 Inge Wallin <ingwa@kde.o... | oberluz/marble | src/lib/MarbleDirs.cpp | C++ | lgpl-2.1 | 9,567 |
/*
* Hibernate OGM, Domain model persistence for NoSQL datastores
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.hibernate.ogm.test.integration.jboss.service;
import javax.ejb.... | uugaa/hibernate-ogm | integrationtest/redis/src/test/java/org/hibernate/ogm/test/integration/jboss/service/PhoneNumberService.java | Java | lgpl-2.1 | 1,003 |
/******************************************************************************
* SOFA, Simulation Open-Framework Architecture, development version *
* (c) 2006-2017 INRIA, USTL, UJF, CNRS, MGH *
* *
... | FabienPean/sofa | SofaKernel/framework/sofa/helper/deque.h | C | lgpl-2.1 | 7,150 |
package railo.transformer.cfml;
import railo.runtime.exp.TemplateException;
import railo.transformer.bytecode.Page;
import railo.transformer.bytecode.expression.Expression;
import railo.transformer.cfml.evaluator.EvaluatorPool;
import railo.transformer.library.function.FunctionLib;
import railo.transformer.libr... | modius/railo | railo-java/railo-core/src/railo/transformer/cfml/ExprTransformer.java | Java | lgpl-2.1 | 2,618 |
/*
* This library is part of OpenCms -
* the Open Source Content Management System
*
* Copyright (c) Alkacon Software GmbH (http://www.alkacon.com)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free So... | mediaworx/opencms-core | src/org/opencms/workplace/explorer/menu/CmsMirSitemapInvisible.java | Java | lgpl-2.1 | 2,371 |
package net.minecraftforge.items;
import net.minecraft.item.ItemStack;
public interface IItemHandler
{
/**
* Returns the number of slots available
*
* @return The number of slots available
**/
int getSlots();
/**
* Returns the ItemStack in a given slot.
*
* The result's... | CrafterKina/MinecraftForge | src/main/java/net/minecraftforge/items/IItemHandler.java | Java | lgpl-2.1 | 2,151 |
"""a readline console module (unix only).
maxime.tournier@brain.riken.jp
the module starts a subprocess for the readline console and
communicates through pipes (prompt/cmd).
the console is polled through a timer, which depends on PySide.
"""
from select import select
import os
import sys
import signal
if __name_... | FabienPean/sofa | applications/plugins/SofaPython/python/SofaPython/console.py | Python | lgpl-2.1 | 5,349 |
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="sr" sourcelanguage="en">
<context>
<name>CmdRobotAddToolShape</name>
<message>
<location filename="../../CommandInsertRobot.cpp" line="215"/>
<source>Robot</source>
<translation>Робот</translation>
</message... | Fat-Zer/FreeCAD_sf_master | src/Mod/Robot/Gui/Resources/translations/Robot_sr.ts | TypeScript | lgpl-2.1 | 38,531 |
##############################################################################
# Copyright (c) 2013-2018, Lawrence Livermore National Security, LLC.
# Produced at the Lawrence Livermore National Laboratory.
#
# This file is part of Spack.
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
# LLNL-CODE-64... | EmreAtes/spack | var/spack/repos/builtin/packages/libiconv/package.py | Python | lgpl-2.1 | 2,156 |
/* RMNLIB - Library of useful routines for C and FORTRAN programming
* Copyright (C) 1975-2001 Division de Recherche en Prevision Numerique
* Environnement Canada
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public... | mfvalin/rmnlib | packers/cmainRLE.c | C | lgpl-2.1 | 6,335 |
/****************************************************************************
**
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
** Author: Milian Wolff, KDAB (milian.wolff@kdab.com)
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** License... | duythanhphan/qt-creator | src/plugins/analyzerbase/analyzerrunconfigwidget.h | C | lgpl-2.1 | 2,713 |
/*
* libjingle
* Copyright 2010, Google Inc.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the f... | Jtalk/kopete-fork-xep0136 | protocols/jabber/libjingle/talk/session/phone/fakewebrtcvoiceengine.h | C | lgpl-2.1 | 34,763 |
/*
* 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 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be use... | nightrune/ola | plugins/ftdidmx/FtdiDmxDevice.cpp | C++ | lgpl-2.1 | 2,834 |
// Copyright © 2004-2006 University of Helsinki, Department of Computer Science
// Copyright © 2012 various contributors
// This software is released under GNU Lesser General Public License 2.1.
// The license text is at http://www.gnu.org/licenses/lgpl-2.1.html
/*
* Created on Feb 24, 2004
*/
package fi.helsinki.cs... | titokone/titokone | src/main/java/fi/helsinki/cs/ttk91/TTK91Memory.java | Java | lgpl-2.1 | 1,412 |
/*
SDL - Simple DirectMedia Layer
Copyright (C) 1997-2009 Sam Lantinga
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your opt... | Cpasjuste/SDL-13 | src/video/os2fslib/SDL_os2fslib.h | C | lgpl-2.1 | 2,607 |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Class template direct_event_type_mapping</title>
<link rel="stylesheet" href="../../../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="... | qianqians/abelkhan | cpp_component/3rdparty/boost/libs/log/doc/html/boost/log/sinks/event_log/direct_event_type_mapping.html | HTML | lgpl-2.1 | 6,494 |
/* ==========================================
* JGraphT : a free Java graph-theory library
* ==========================================
*
* Project Info: http://jgrapht.sourceforge.net/
* Project Creator: Barak Naveh (http://sourceforge.net/users/barak_naveh)
*
* (C) Copyright 2003-2008, by Barak Naveh and Con... | redvox/gka | testsrc/org/jgrapht/traverse/ClosestFirstIteratorTest.java | Java | lgpl-2.1 | 3,645 |
define([
'./templates'
], function () {
var $ = jQuery;
Handlebars.registerHelper('issuesHomeLink', function (property, value) {
return baseUrl + '/issues/search#resolved=false|createdInLast=1w|' +
property + '=' + (encodeURIComponent(value));
});
Handlebars.registerHelper('myIssuesHomeLink', f... | julien-sobczak/sonarqube | server/sonar-web/src/main/js/apps/issues/workspace-home-view.js | JavaScript | lgpl-3.0 | 5,191 |
using System;
using NUnit.Framework;
namespace NetMQ.Tests
{
[TestFixture]
public class EventDelegatorTests
{
private class Args<T> : EventArgs
{
public Args(T value)
{
Value = value;
}
public T Value { get; }
}
... | buybackoff/netmq | src/NetMQ.Tests/EventDelegatorTests.cs | C# | lgpl-3.0 | 1,543 |
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* aapt tool from the resource data it found. It
* should not be modified by hand.
*/
package android.support.v7.appcompat;
public final class R {
public static final class anim {
public static final int abc_fade_in = 0x7... | asrob-uc3m/rpc_robot_colony | src/android/teleoperation/gen/android/support/v7/appcompat/R.java | Java | lgpl-3.0 | 41,086 |
--Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | kidaa/Awakening-Core3 | bin/scripts/object/creature/npc/droid/crafted/bomarr_monk_spider_droid.lua | Lua | lgpl-3.0 | 2,292 |
/*
* -----------------------------------------------------------------
* $Revision: 1.11 $
* $Date: 2011/03/23 23:37:59 $
* -----------------------------------------------------------------
* Programmer(s): Radu Serban @ LLNL
* -----------------------------------------------------------------
* Copyright (c) 20... | CFDEMproject/ParScale-PUBLIC | thirdParty/sundials-2.5.0/src/_kinsol/kinsol_band.c | C | lgpl-3.0 | 10,704 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="it">
<head>
<!-- Generated by javadoc (version 1.7.0_04) on Mon Feb 04 16:14:51 CET 2013 -->
<title>I-Index</title>
<meta name="date" content="2013-02-04">
<link rel="stylesheet" ty... | desmovalvo/virtualsib | tools/Sofia_KPICore_v6.3_(SRC)_+SPARQL/doc/index-files/index-6.html | HTML | lgpl-3.0 | 13,249 |
// Authors:
// Francis Fisher (frankie@terrorise.me.uk)
//
// (C) Francis Fisher 2013
//
// 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 limitatio... | edwinspire/VSharp | class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/LegendItem.cs | C# | lgpl-3.0 | 2,822 |
package org.molgenis.data.validation.meta;
import org.molgenis.data.AbstractRepositoryDecorator;
import org.molgenis.data.Repository;
import org.molgenis.data.meta.model.Tag;
import java.util.stream.Stream;
import static java.util.Objects.requireNonNull;
/**
* Validates {@link Tag tags} before adding or updating t... | jjettenn/molgenis | molgenis-data-validation/src/main/java/org/molgenis/data/validation/meta/TagRepositoryValidationDecorator.java | Java | lgpl-3.0 | 1,359 |
package org.molgenis.data.meta.system;
import org.molgenis.data.meta.SystemPackage;
import org.molgenis.data.meta.model.Package;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;
import java.util.ArrayList;
import java.util.List;
import java.util.stream.Stream;
... | djvanenckevort/molgenis | molgenis-data/src/main/java/org/molgenis/data/meta/system/SystemPackageRegistry.java | Java | lgpl-3.0 | 1,213 |
// -*- Mode:C++ -*-
/************************************************************************\
* *
* This file is part of Avango. *
* *... | vrsys/avangong | avango-daemon/src/avango/daemon/LinuxEvent.cpp | C++ | lgpl-3.0 | 23,352 |
<?php
/*
* This file is part of the Thelia package.
* http://www.thelia.net
*
* (c) OpenStudio <info@thelia.net>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Thelia\Core\Event\Loop;
use Thelia\Core\Template\Element... | thelia/core | lib/Thelia/Core/Event/Loop/LoopExtendsInitializeArgsEvent.php | PHP | lgpl-3.0 | 1,314 |
# The LinuxCNC config for milling machine M4 production Dcs<br>
Extract sources achives directory ~/linuxcnc/configs <br>
Copy the file *.desktop from the directory "./Desktop" on your desktop. <br>
Установка основной ветки с помощью git:<br>
git clone git://github.com/torvn77/LinuxCNC_Dcs_M4.git ~/linuxcnc/configs/Li... | torvn77/LinuxCNC_Dcs_M4 | README.md | Markdown | lgpl-3.0 | 1,653 |
/* file model.c */
#include <R.h>
static double parms[14];
#define p parms[0]
#define d parms[1]
#define e parms[2]
#define s parms[3]
#define KA parms[4]
#define KE parms[5]
#define VD parms[6]
#define EC50 parms[7]
#define n parms[8]
#define delta parms[9]
#define c parms[10]
#define DOSE parms[11]
#define TINF parms... | ronkeizer/PopED | inst/examples/HCV_ode.c | C | lgpl-3.0 | 899 |
--Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | kidaa/Awakening-Core3 | bin/scripts/object/tangible/ship/components/droid_interface/ddi_rss_imperial_2.lua | Lua | lgpl-3.0 | 2,324 |
--Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | kidaa/Awakening-Core3 | bin/scripts/object/mobile/dressed_mauler_acolyte.lua | Lua | lgpl-3.0 | 2,204 |
/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */
/*
* What follows is the result of much research on cross-browser styling.
* Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
* Kroc Camen, and the H5BP dev community and team.
*/
/* ============================================... | amazingSurge/jquery-asScrollable | examples/css/main.css | CSS | lgpl-3.0 | 5,810 |
/* radare - LGPL - Copyright 2017 - pancake */
#include <r_fs.h>
#include <r_lib.h>
#include <sys/stat.h>
static RFSFile *fs_io_open(RFSRoot *root, const char *path) {
char *cmd = r_str_newf ("m %s", path);
char *res = root->iob.system (root->iob.io, cmd);
R_FREE (cmd);
if (res) {
ut32 size = 0;
if (sscanf (r... | l4l/radare2 | libr/fs/p/fs_io.c | C | lgpl-3.0 | 2,774 |
//
// execution/bulk_execute.hpp
// ~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2020 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#ifndef ASIO_EX... | tekezo/Karabiner-Elements | src/vendor/cget/cget/pkg/chriskohlhoff__asio/install/include/asio/execution/bulk_execute.hpp | C++ | unlicense | 12,386 |
using Photon;
using UnityEngine;
using System.Collections;
using ExitGames.Client.Photon;
public class DemoMecanimGUI : PunBehaviour
{
#region Properties
public GUISkin Skin;
#endregion
#region Members
private PhotonAnimatorView m_AnimatorView; // local animatorView... | pierredepaz/alternate-realities | projects/alejandra/hw_photon - ale, miha and nate/Assets/Photon Unity Networking/Demos/DemoMecanim/Scripts/DemoMecanimGUI.cs | C# | unlicense | 7,510 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.6.0_30) on Sat Mar 22 15:15:47 EDT 2014 -->
<title>StandardXYSeriesLabelGenerator (JFreeChart Class Library (version 1.0.17))</title>
<meta... | GliderWinchItems/GliderWinchj2 | lib/JFreeChart-1.0.17/javadoc/org/jfree/chart/labels/StandardXYSeriesLabelGenerator.html | HTML | unlicense | 18,945 |
'use strict';
//Articles service used for communicating with the articles REST endpoints
angular.module('articles').factory('Articles', ['$resource',
function ($resource) {
return $resource('api/articles/:articleId', {
articleId: '@_id'
}, {
update: {
method: 'PUT'
}
... | andresvicente00/job_finder | modules/articles/client/services/articles.client.service.js | JavaScript | unlicense | 335 |
<?php op_mobile_page_title(__('Demotion sub-administrator of this %community%'), $community->getName()) ?>
<?php
op_include_parts('yesNo', 'removeSubAdminConfirmForm', array(
'body' => __("Do you demotion %0% from this %community%'s sub-administrator?", array('%0%' => $member->getName())),
'yes_form' => new BaseFo... | tejimaya/OpenPNE3 | apps/mobile_frontend/modules/community/templates/removeSubAdminInput.php | PHP | apache-2.0 | 455 |
/*
* 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 ... | heriram/incubator-asterixdb | hyracks-fullstack/algebricks/algebricks-rewriter/src/main/java/org/apache/hyracks/algebricks/rewriter/rules/PushSelectDownRule.java | Java | apache-2.0 | 4,488 |
// Copyright 2009 The Noda Time Authors. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using System;
using NodaTime.Calendars;
using NodaTime.Test.TimeZones.IO;
using NodaTime.TimeZones;
using NUnit.Framework;
namespace NodaTime.Test.TimeZo... | BenJenkinson/nodatime | src/NodaTime.Test/TimeZones/ZoneRecurrenceTest.cs | C# | apache-2.0 | 9,951 |
/*
* Copyright 2016 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:
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless... | johnou/netty | transport-native-epoll/src/test/java/io/netty/channel/epoll/EpollSocketConnectTest.java | Java | apache-2.0 | 1,165 |
package org.semanticweb.ontop.cli;
import org.junit.Ignore;
import org.junit.Test;
public class OntopTest {
@Test
public void testOntopMainNoArgs(){
Ontop.main();
}
@Test
public void testOntopHelp(){
Ontop.main("help");
}
@Test
public void testOntopHelpMapping(){
... | eschwert/ontop | ontop-cli/src/test/java/org/semanticweb/ontop/cli/OntopTest.java | Java | apache-2.0 | 1,665 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using Microsoft.CodeAnalysis;
using Microsoft.VisualStu... | marksantos/roslyn | src/VisualStudio/Core/Def/Implementation/RQName/RQNodeBuilder.cs | C# | apache-2.0 | 11,800 |
/*
* Copyright (c) 2010-2015 Pivotal Software, 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... | SnappyDataInc/snappy-store | tests/core/src/main/java/perffmwk/samples/SampleStatException.java | Java | apache-2.0 | 997 |
/*
* 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... | nezirus/elasticsearch | core/src/test/java/org/elasticsearch/index/mapper/RangeFieldMapperTests.java | Java | apache-2.0 | 17,540 |
// Copyright (c) 2008 The Board of Trustees of The Leland Stanford Junior University
// Copyright (c) 2011, 2012 Open Networking Foundation
// Copyright (c) 2012, 2013 Big Switch Networks, Inc.
// This library was generated by the LoxiGen Compiler.
// See the file LICENSE.txt which should have been included in the sour... | floodlight/loxigen-artifacts | openflowj/gen-src/main/java/org/projectfloodlight/openflow/protocol/ver15/OFActionPushVlanVer15.java | Java | apache-2.0 | 8,632 |
require_relative '../../lib/cdo/pegasus'
require 'minitest/autorun'
class ObjectTest < Minitest::Unit::TestCase
def test_nil_or_empty
assert nil.nil_or_empty?
assert ''.nil_or_empty?
assert [].nil_or_empty?
assert ({}).nil_or_empty?
assert !('a'.nil_or_empty?)
assert !([1].nil_or_empty?)
... | cloud3edu/code-dot-org-old | pegasus/test/test_object.rb | Ruby | apache-2.0 | 364 |
/**
* @description Gruntfile that contains tasks to build, test and deploy a project.
*
* Configure all your tasks in the /tasks folder.
*
* For more help, see: http://gruntjs.com/getting-started
*/
module.exports = function(grunt) {
'use strict';
function loadConfig(path) {
var glob = require('g... | hanwb-code/predix | predix-angular-ui/Gruntfile.js | JavaScript | apache-2.0 | 877 |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
package com.amazonaws.util.awsclientgenerator.generators.cpp.rds;
import com.amazonaws.util.awsclientgenerator.domainmodels.SdkFileEntry;
import com.amazonaws.util.awsclientgenerator.domainmodels.code... | awslabs/aws-sdk-cpp | code-generation/generator/src/main/java/com/amazonaws/util/awsclientgenerator/generators/cpp/rds/RDSCppClientGenerator.java | Java | apache-2.0 | 4,000 |
<!-- HTML header for doxygen 1.8.13-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" cont... | eProsima/Fast-DDS | utils/doxygen/pages/eprosima_header.html | HTML | apache-2.0 | 1,972 |
#!/usr/local/bin/python2
import os
print "PID:",str(os.getpid())
while True:
raw_input("press <RETURN> to open file")
fh = open("/tmp/test.txt",'w')
print "Opened /tmp/test.txt..."
raw_input("press <RETURN> to close")
fh.close()
| rbprogrammer/advanced_python_topics | course-material/py2/solutions/13 File system control/fuser_t.py | Python | apache-2.0 | 256 |
import sys
sys.path.insert(1, "../../../")
import h2o
import pandas as pd
import statsmodels.api as sm
def prostate(ip,port):
# Log.info("Importing prostate.csv data...\n")
h2o_data = h2o.upload_file(path=h2o.locate("smalldata/logreg/prostate.csv"))
#prostate.summary()
sm_data = pd.read_csv(h2o.locate... | PawarPawan/h2o-v3 | h2o-py/tests/testdir_algos/glm/pyunit_NOFEATURE_prostateGLM.py | Python | apache-2.0 | 956 |
/*
* 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 ... | agentmilindu/stratos | dependencies/jclouds/apis/vcloud/1.8.1-stratos/src/main/java/org/jclouds/vcloud/domain/network/nat/rules/MappingMode.java | Java | apache-2.0 | 1,734 |
table.dataTable{border-left-width:0px !important}table.dataTable tr{border-left-width:0px}table.dataTable tr th:first-child,table.dataTable tr td:first-child{border-left:1px solid rgba(34, 36, 38, 0.15) !important}table.dataTable tr th{background-color:#f9fafb}table.dataTable tr td{background-color:white}table.dataTabl... | phax/ph-oton | ph-oton-datatables/src/main/resources/datatables/FixedColumns-4.0.1/css/fixedColumns.semanticui.min.css | CSS | apache-2.0 | 802 |
/*
* 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 ... | RyanSkraba/beam | runners/direct-java/src/test/java/org/apache/beam/runners/direct/DoFnLifecycleManagerTest.java | Java | apache-2.0 | 7,609 |
<?php
namespace oasis\names\specification\ubl\schema\xsd\CommonBasicComponents_2;
use un\unece\uncefact\data\specification\UnqualifiedDataTypesSchemaModule\_2;
/**
* @xmlNamespace urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2
* @xmlType CodeType
* @xmlName DirectionCodeType
* @var oasis\nam... | intuit/QuickBooks-V3-PHP-SDK | src/XSD2PHP/test/data/expected/ubl2.0/oasis/names/specification/ubl/schema/xsd/CommonBasicComponents_2/DirectionCodeType.php | PHP | apache-2.0 | 477 |
/**
* 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 ... | ChrisCanCompute/assertj-core | src/test/java/org/assertj/core/api/throwable/ThrowableAssert_hasMessageEndingWith_Test.java | Java | apache-2.0 | 1,285 |
// Copyright (C) 2009 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable ... | duboisf/gerrit | gerrit-httpd/src/main/java/com/google/gerrit/httpd/rpc/account/CreateGroup.java | Java | apache-2.0 | 2,100 |
// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2014 Benoit Steiner <benoit.steiner.goog@gmail.com>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file, You ca... | ColinGilbert/noobwerkz-engine | engine/lib/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorLayoutSwap.h | C | apache-2.0 | 7,568 |
//>>built
define(
"dojox/atom/widget/nls/pt-pt/FeedEntryEditor", //begin v1.x content
({
doNew: "[novo]",
edit: "[editar]",
save: "[guardar]",
cancel: "[cancelar]"
})
//end v1.x content
);
| cfxram/grails-dojo | web-app/js/dojo/1.7.2/dojox/atom/widget/nls/pt-pt/FeedEntryEditor.js | JavaScript | apache-2.0 | 193 |
/*
* 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 ma... | tremes/deltaspike | deltaspike/modules/jsf/impl/src/main/java/org/apache/deltaspike/jsf/impl/injection/proxy/ValidatorInvocationHandler.java | Java | apache-2.0 | 1,718 |
/*
* 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... | strapdata/elassandra | server/src/main/java/org/elasticsearch/action/admin/indices/settings/put/UpdateSettingsAction.java | Java | apache-2.0 | 1,648 |
define({
summary: '總計:${0}',
summaryWithSelection: '總計:${0} 已選取:${1}'
});
| andrescabrera/gwt-dojo-toolkit | src/gwt/dojo/gridx/public/dojo/gridx/nls/zh-tw/SummaryBar.js | JavaScript | apache-2.0 | 102 |
// Copyright 2013 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... | pombreda/syzygy | syzygy/optimize/transforms/basic_block_reordering_transform.h | C | apache-2.0 | 2,994 |
/*
* 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 ... | lukecwik/incubator-beam | sdks/java/extensions/sql/src/main/java/org/apache/beam/sdk/extensions/sql/meta/provider/bigquery/BigQueryTable.java | Java | apache-2.0 | 10,738 |
/**
* Copyright 2012-2013 Niall Gallagher
*
* 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... | opentalking/concurrent-trees | concurrent-trees/src/test/java/com/googlecode/concurrenttrees/examples/filesystem/ConcurrentRadixTreeInMemoryFileSystem.java | Java | apache-2.0 | 6,351 |
// © 2016 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html#License
/*
******************************************************************************
* Copyright (C) 2003-2011, International Business Machines Corporation and *
* others. All Rights Reserved. ... | abhijitvalluri/fitnotifications | icu4j/src/main/java/com/ibm/icu/impl/LocaleIDParser.java | Java | apache-2.0 | 23,748 |
// Copyright (c) 2012 Ecma International. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es5id: 15.2.3.7-6-a-100
description: >
Object.defineProperties - 'P' is data property, several attributes
values of P and properties are different (8.12.9 step 12)
includ... | m0ppers/arangodb | 3rdParty/V8/V8-5.0.71.39/test/test262/data/test/built-ins/Object/defineProperties/15.2.3.7-6-a-100.js | JavaScript | apache-2.0 | 730 |
/*
* 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 ... | lleoha/activemq-cpp-debian | src/main/decaf/util/concurrent/locks/Lock.h | C | apache-2.0 | 13,877 |
CREATE TABLE gspanother.C_TABLE (
C_ID BIGINT IDENTITY NOT NULL ,
TEST_NAME VARCHAR(100) NULL ,
TEST1 VARCHAR(100) NULL ,
TEST2 VARCHAR(500) NULL ,
TEST3 VARCHAR(500) NULL
);
EXEC sys.sp_addextendedproperty @name = N'Description', @value = N'C_TABLE', @level0type = N'SCHEMA', @level0name = gspanother, @level... | coastland/gsp-dba-maven-plugin | src/test/resources/jp/co/tis/gsp/tools/dba/mojo/LoadDataMojo_test/another_schema/sqlserver/ddl/10_CREATE_C_TABLE.sql | SQL | apache-2.0 | 1,473 |
-------------------------------------------------------------------------------
-- cms catalog
-------------------------------------------------------------------------------
CREATE TABLE CMS_CATALOG(
ID BIGINT NOT NULL,
NAME VARCHAR(50),
CODE VARCHAR(200),
LOGO VARCHAR(200),
TYPE INT,
TEMPLATE_INDEX VA... | xuhuisheng/lemon | src/main/resources/dbmigrate/mysql/cms/V0_0_1__cms_catalog.sql | SQL | apache-2.0 | 627 |
/*
* Copyright (c) 2013, OpenCloudDB/MyCAT and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software;Designed and Developed mainly by many Chinese
* opensource volunteers. you can redistribute it and/or modify it under the
* terms ... | runfriends/Mycat-Server | src/main/java/io/mycat/MycatStartup.java | Java | apache-2.0 | 2,045 |
using Lucene.Net.Index;
using Lucene.Net.Search;
using Lucene.Net.Util;
using System;
namespace Lucene.Net.Join
{
/*
* 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 re... | jeme/lucenenet | src/Lucene.Net.Join/ToParentBlockJoinFieldComparator.cs | C# | apache-2.0 | 14,822 |
module APIDemos
module Home
class << self
#
# elements
#
def accessibility_click
self.assert
wait { text(2).click }
accessibility.assert
end
def animation_click
self.assert
wait { text(3).click }
animation.assert
end
... | vikramvi/tutorial | projects/ruby_android/appium/android/pages/home.rb | Ruby | apache-2.0 | 664 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Fri Aug 22 03:43:54 EDT 2003 -->
<TITLE>
org.apache.struts.plugins (Apache Struts API Documentation)
</TITLE>
<META NAME="keywords" CONTENT="org.apache.stru... | codelibs/cl-struts | legacy/api-1.1/org/apache/struts/plugins/package-summary.html | HTML | apache-2.0 | 6,119 |
/*
* Copyright (C) 2016 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | xorware/android_frameworks_base | core/java/android/view/FrameMetricsObserver.java | Java | apache-2.0 | 2,311 |
/* This file was generated by upbc (the upb compiler) from the input
* file:
*
* envoy/config/core/v3/protocol.proto
*
* Do not edit -- your changes will be discarded when the file is
* regenerated. */
#ifndef ENVOY_CONFIG_CORE_V3_PROTOCOL_PROTO_UPBDEFS_H_
#define ENVOY_CONFIG_CORE_V3_PROTOCOL_PROTO_UPBDEFS_... | grpc/grpc | src/core/ext/upbdefs-generated/envoy/config/core/v3/protocol.upbdefs.h | C | apache-2.0 | 5,303 |
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/cloud/networkmanagement/v1/trace.proto
namespace Google\Cloud\NetworkManagement\V1;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* For display only. Metada... | googleapis/google-cloud-php-network-management | src/V1/NetworkInfo.php | PHP | apache-2.0 | 3,348 |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/guardduty/model/ListDetectorsRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <aws/core/http/URI.h>
#include <aws/core/utils/memory/stl/AWSStringStream.h>
#include <u... | awslabs/aws-sdk-cpp | aws-cpp-sdk-guardduty/source/model/ListDetectorsRequest.cpp | C++ | apache-2.0 | 1,071 |
/*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Tobias Koppers @sokra
*/
"use strict";
const crypto = require("crypto");
const SortableSet = require("../util/SortableSet");
const GraphHelpers = require("../GraphHelpers");
const { isSubset } = require("../util/SetHelpers");
const deterministi... | cloudfoundry-community/asp.net5-buildpack | fixtures/node_apps/angular_dotnet/ClientApp/node_modules/webpack/lib/optimize/SplitChunksPlugin.js | JavaScript | apache-2.0 | 29,448 |
//===----------------------------------------------------------------------===//
//
// Peloton
//
// index_tuner.cpp
//
// Identification: src/brain/index_tuner.cpp
//
// Copyright (c) 2015-16, Carnegie Mellon University Database Group
//
//===----------------------------------------------------... | seojungmin/peloton | src/brain/index_tuner.cpp | C++ | apache-2.0 | 18,648 |
/*
* Copyright (C) 2013 salesforce.com, 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 ... | TribeMedia/aura | aura-components/src/main/components/ui/panelLib/panelLibCore.js | JavaScript | apache-2.0 | 17,174 |
#ifndef CNN_GPU_FUNCTORS_H
#define CNN_GPU_FUNCTORS_H
#include <cstdint>
#include <limits>
#if HAVE_CUDA
# define CNN_DEVICE_FUNC __device__
# define CNN_DEVICE_MIN -1.175494351e-38f
#else
# include <boost/math/special_functions/digamma.hpp>
# define CNN_DEVICE_FUNC
# define CNN_DEVICE_MIN std::numeric_limits<fl... | dhgarrette/cnn | cnn/functors.h | C | apache-2.0 | 7,794 |
using System;
using System.Threading.Tasks;
using Elasticsearch.Net;
using System.Threading;
namespace Nest
{
public partial interface IElasticClient
{
/// <summary>
/// Returns information and statistics on terms in the fields of a particular document as stored in the index.
/// <para> </para><a href="http:/... | CSGOpenSource/elasticsearch-net | src/Nest/Document/Single/TermVectors/ElasticClient-TermVectors.cs | C# | apache-2.0 | 2,710 |
/*
* 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 ... | DariusX/camel | components/camel-google-drive/src/main/java/org/apache/camel/component/google/drive/GoogleDriveConfiguration.java | Java | apache-2.0 | 4,612 |
// 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... | google/syzygy | syzygy/agent/asan/heap_checker_unittest.cc | C++ | apache-2.0 | 8,088 |
package jadx.gui;
import java.io.IOException;
import java.io.Reader;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Properties;
import java.util.Set;
import org.junit.jupiter.api.Assertions... | skylot/jadx | jadx-gui/src/test/java/jadx/gui/TestI18n.java | Java | apache-2.0 | 2,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 ... | ChrisA89/assertj-core | src/test/java/org/assertj/core/internal/shortarrays/ShortArrays_assertEmpty_Test.java | Java | apache-2.0 | 2,017 |
---
layout: "docs_api"
version: "1.0.0-beta.7"
versionHref: "/docs"
path: "api/service/$ionicNavBarDelegate/"
title: "$ionicNavBarDelegate"
header_sub_title: "Service in module ionic"
doc: "$ionicNavBarDelegate"
docType: "service"
---
<div class="improve-docs">
<a href='http://github.com/driftyco/ionic/tree/master/... | auth0/ionic-site | docs/1.0.0-beta.7/api/service/$ionicNavBarDelegate/index.md | Markdown | apache-2.0 | 5,984 |
package com.google.api.ads.dfp.jaxws.v201508;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for Company.Type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
* <p>
* <pre>
* <simpleType name="Company... | raja15792/googleads-java-lib | modules/dfp_appengine/src/main/java/com/google/api/ads/dfp/jaxws/v201508/CompanyType.java | Java | apache-2.0 | 2,633 |
/**
* 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... | massakam/pulsar | pulsar-broker/src/test/java/org/apache/pulsar/broker/loadbalance/impl/LoadManagerSharedTest.java | Java | apache-2.0 | 4,232 |
/*
* Copyright (c) 2005-2014, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. 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
*
* ... | hastef88/carbon-business-messaging | components/andes/org.wso2.carbon.andes/src/main/java/org/wso2/carbon/andes/internal/QpidServiceComponent.java | Java | apache-2.0 | 24,553 |
/*
* 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 ... | DariusX/camel | core/camel-core/src/test/java/org/apache/camel/component/dataset/ListDataSetConsumerTest.java | Java | apache-2.0 | 2,600 |
<wicket:extend xmlns:wicket="http://wicket.apache.org">
This page demonstrates a simple RefreshingView. Notice that when you click refresh or make a selection the id of item object changes because it is regenerated unlike items in the OrderedRepeatingView.
<br/><br/>
<a href="#" wicket:id="refreshLink">refresh</a><br/>... | mosoft521/wicket | wicket-examples/src/main/java/org/apache/wicket/examples/repeater/RefreshingPage.html | HTML | apache-2.0 | 1,003 |
<script src="{{ASSET_DIR_PREFIX}}/assets/constants.js"></script>
{% if MINIFICATION or not DEV_MODE %}
<script src="{{ASSET_DIR_PREFIX}}/assets/hashes.js"></script>
{% endif %}
<!-- jquery.js, angular.js and jquery-ui.js are removed from bundled js because
they need to be at the header. Including bundled js at the he... | MAKOSCAFEE/oppia | core/templates/dev/head/pages/header_js_libs.html | HTML | apache-2.0 | 1,152 |
<html lang='kg'>
<!--
**
** Copyright 2006, The Android Open Source Project
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
** http://www.apache.org/licenses/LICENSE-2.0
**
** Unl... | googlei18n/noto-source | test/LGC/fontdiff-kg-Latn-AO_udhr.html | HTML | apache-2.0 | 841 |
// This file is a part of the IncludeOS unikernel - www.includeos.org
//
// Copyright 2017 Oslo and Akershus University College of Applied Sciences
// and Alfred Bratterud
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may... | AnnikaH/IncludeOS | src/net/configure.cpp | C++ | apache-2.0 | 7,663 |
/*
* 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")... | apache/incubator-groovy | subprojects/groovy-json/src/main/java/groovy/json/JsonDelegate.java | Java | apache-2.0 | 4,013 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.