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
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
// import Joomla modelform library
jimport('joomla.application.component.modeladmin');
/**
* Expert Model
*/
class ZOrderModelProduct extends JModelAdmin
{
/**
* Method override to check if you can edit an existi... | google-code/bcv-xh | administrator/components/com_zorder/models/product.php | PHP | gpl-2.0 | 2,754 |
include ../../../Makefile.inc
CLC_ROOT = ../../../inc
all: exe_src exe_src_m2s exe_bin amd_compile m2c_compile run_m2s run_native check_result
exe_src:
@-$(CC) $(CC_FLAG) *src.c -o exe_src $(CC_INC) $(CC_LIB) > fmod_float16float16.exe_src.log 2>&1
exe_src_m2s:
@-$(CC) $(CC_FLAG) -m32 *src.c -o exe_src_m2s $(CC_IN... | xianggong/m2c_unit_test | test/math/fmod_float16float16/Makefile | Makefile | gpl-2.0 | 1,011 |
/*
KeePass Password Safe - The Open-Source Password Manager
Copyright (C) 2003-2019 Dominik Reichl <dominik.reichl@t-online.de>
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 ... | joshuadugie/KeePass-2.x | KeePass/Forms/ListViewForm.cs | C# | gpl-2.0 | 6,300 |
FROM debian:wheezy
MAINTAINER Foo Bar, foo@bar.com
ENV ORG foo
ENV APP bar
ENV INSTALL_DIR /opt/${ORG}/${APP}
ENV PACKAGES wget binutils make csh g++ sed gawk perl zlib1g-dev
RUN apt-get update -y && apt-get install -y --no-install-recommends ${PACKAGES}
ENV SEQTK https://github.com/avilella/seqtk/archive/sgdp.tar.... | avilella/bioboxes_playground | Dockerfile | Dockerfile | gpl-2.0 | 1,015 |
/* This file is part of the dynarmic project.
* Copyright (c) 2016 MerryMage
* This software may be used and distributed according to the terms of the GNU
* General Public License version 2 or any later version.
*/
#pragma once
#include <type_traits>
#include <xbyak.h>
#include "backend_x64/jitstate.h"
#include ... | spixi/dynarmic | src/backend_x64/block_of_code.h | C | gpl-2.0 | 5,678 |
<?php /* $Id: index.php 6036 2010-10-02 04:10:36Z ajdonnison $ */
/* {{{ Copyright (c) 2003-2005 The dotProject Development Team <core-developers@dotproject.net>
This file is part of dotProject.
dotProject is free software; you can redistribute it and/or modify
it under the terms of the GNU Genera... | Fightmander/Hydra | index.php | PHP | gpl-2.0 | 11,566 |
#include "QtPObject.h"
| stefaandr/qt-accessory | QtP/QtPObject.cpp | C++ | gpl-2.0 | 24 |
/*
* Copyright 2011-2020 Ping Identity Corporation
* All Rights Reserved.
*/
/*
* Copyright 2011-2020 Ping Identity 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
*
* ... | UnboundID/ldapsdk | src/com/unboundid/ldap/sdk/GSSAPIBindRequestProperties.java | Java | gpl-2.0 | 37,081 |
/**
* JBZoo App is universal Joomla CCK, application for YooTheme Zoo component
*
* @package jbzoo
* @version 2.x Pro
* @author JBZoo App http://jbzoo.com
* @copyright Copyright (C) JBZoo.com, All rights reserved.
* @license http://jbzoo.com/license-pro.php JBZoo Licence
* @coder ... | alexmixaylov/real | media/zoo/applications/jbuniversal/cart-elements/email/attach/assets/js/attach.js | JavaScript | gpl-2.0 | 2,410 |
#include "platform.h"
#include "lolevel.h"
//These functions now are part of platform/a495/lib.c
/*
char *hook_raw_image_addr()
{
return (char*) 0x10E52420; // Ok, ROM:FFCE9A44
}
long hook_raw_size()
{
return 0xEC04F0; // "CRAW BUFF SIZE"
}
// Live picture buffer (shoot not pressed)
void *vid_get_viewpor... | boyska/chdkripto | platform/a495/sub/100e/lib.c | C | gpl-2.0 | 1,010 |
/*
* Copyright (c) 2012-2016 The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
* above copyright noti... | fedosis/android_kernel_xiaomi_msm8937 | drivers/staging/prima/CORE/TL/src/wlan_qct_tli.h | C | gpl-2.0 | 54,832 |
<!DOCTYPE html>
<html lang="en" itemscope itemtype="http://schema.org/WebPage">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
<title>Overview of all pages with the tag #Indi... | sudev/sudev.github.com | tags/india/index.html | HTML | gpl-2.0 | 13,872 |
#!/usr/bin/env python
import sys
import json
from elasticsearch1 import Elasticsearch
def init_es(es_host, es_index):
es = Elasticsearch([ es_host ])
es.indices.delete( es_index, ignore=[400, 404] )
es.indices.create( es_index, ignore=400 )
# create mappings
with open('pcawg_summary.mapping.js... | ICGC-TCGA-PanCancer/pcawg-central-index | pcawg_metadata_parser/pcawg_summary.loader.py | Python | gpl-2.0 | 955 |
/*******************************************************************************
* This file is part of openWNS (open Wireless Network Simulator)
* _____________________________________________________________________________
*
* Copyright (C) 2004-2009
* Chair of Communication Networks (ComNets)
* Kopernikusstr.... | creasyw/IMTAphy | modules/phy/copper/src/Transceiver.cpp | C++ | gpl-2.0 | 2,772 |
<?php
namespace Openstore\Stdlib\Hydrator\Strategy;
use DoctrineModule\Stdlib\Hydrator\Strategy\AllowRemoveByValue;
use Doctrine\Common\Collections\Collection;
//class MultiSelectStrategy extends AllowRemoveByValue
class NestedExtractor extends AllowRemoveByValue
{
public function extract($value)
{
... | belgattitude/openstore | module/Openstore/src/Openstore/Stdlib/Hydrator/Strategy/NestedExtractor.php | PHP | gpl-2.0 | 633 |
"""
SALTS XBMC Addon
Copyright (C) 2014 tknorris
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, or
(at your option) any later version.
T... | JamesLinEngineer/RKMC | addons/plugin.video.salts/scrapers/snagfilms_scraper.py | Python | gpl-2.0 | 6,712 |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Mobissime Liberta source code Documentation</title>
<link rel="stylesheet" href="resources/bootstrap.min.css?973e37a8502921d56bc02bb55321f45b072b6f71">
<link rel="stylesheet" href="resources/style.css?a2b5efb503881470385230f40f9bcc3c94d665e7">
</head>
... | paulcoiffier/Mobissime-Liberta | doc/php/framework/class-App.Lib.ObjectSerializer.html | HTML | gpl-2.0 | 7,475 |
#!/bin/sh
# Copyright (C) 1999-2005 ImageMagick Studio LLC
#
# This program is covered by multiple licenses, which are described in
# LICENSE. You should have received a copy of LICENSE with this
# package; otherwise see http://www.imagemagick.org/script/license.php.
. ${srcdir}/tests/common.shi
${RUNENV} ${MEMCHECK} ... | atmark-techno/atmark-dist | user/imagemagick/tests/rwblob_MIFF_truecolor.sh | Shell | gpl-2.0 | 365 |
//Author: Tushar Jaiswal
//Creation Date: 03/24/2018
/*Implement int sqrt(int x). Compute and return the square root of x. x is guaranteed to be a non-negative integer.
Example 1:
Input: 4
Output: 2
Example 2:
Input: 8
Output: 2
Explanation: The square root of 8 is 2.82842..., and since we want to return... | tushar-jaiswal/LeetCode | Algorithms/69. Sqrt(x)/Sqrt(x)-Optimized2.cs | C# | gpl-2.0 | 903 |
#ifndef __NET_CFG80211_H
#define __NET_CFG80211_H
#include <linux/netdevice.h>
#include <linux/debugfs.h>
#include <linux/list.h>
#include <linux/netlink.h>
#include <linux/skbuff.h>
#include <linux/nl80211.h>
#include <linux/if_ether.h>
#include <linux/ieee80211.h>
#include <net/regulatory.h>
/* remove once we remo... | luckasfb/OT_903D-kernel-2.6.35.7 | kernel/include/net/cfg80211.h | C | gpl-2.0 | 28,919 |
<?php
/*******************************************************************************
Copyright 2013 Whole Foods Community Co-op
This file is part of CORE-POS.
CORE-POS is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
th... | FranklinCoop/IS4C | fannie/item/EditItemsFromSearch.php | PHP | gpl-2.0 | 16,817 |
<html>
<head>
<title>RunUO Documentation - Class Overview - OrigamiPaper</title>
</head>
<body bgcolor="white" style="font-family: Courier New" text="#000000" link="#000000" vlink="#000000" alink="#808080">
<h4><a href="../namespaces/Server.Items.html">Back to Server.Items</a></h4>
<h2>... | alucardxlx/matts-uo-server | docs/types/OrigamiPaper.html | HTML | gpl-2.0 | 1,699 |
<?php
/* --------------------------------------------------------------
wcp_pbx.lang.inc.php 2015-01-05 gm
Gambio GmbH
http://www.gambio.de
Copyright (c) 2015 Gambio GmbH
Released under the GNU General Public License (Version 2)
[http://www.gnu.org/licenses/gpl-2.0.html]
---------------------------------------... | carlosway89/testshop | lang/english/original_sections/modules/payment/wcp_pbx.lang.inc.php | PHP | gpl-2.0 | 2,522 |
#ifndef __ASM_IRQ_H
#define __ASM_IRQ_H
#include <asm-generic/irq.h>
extern void (*handle_arch_irq)(struct pt_regs *);
extern void migrate_irqs(void);
extern void set_handle_irq(void (*handle_irq)(struct pt_regs *));
/*
void arch_trigger_all_cpu_backtrace(void);
#define arch_trigger_all_cpu_backtrace arch_trigger_al... | Honor8Dev/android_kernel_huawei_FRD-L04 | arch/arm64/include/asm/irq.h | C | gpl-2.0 | 347 |
/*
*
* (C) COPYRIGHT 2015 ARM Limited. All rights reserved.
*
* This program is free software and is provided to you under the terms of the
* GNU General Public License version 2 as published by the Free Software
* Foundation, and any use by you of this program is subject to the terms
* of such GNU licence.
*
... | alesaiko/UK-PRO5 | drivers/gpu-r7p0/arm/t7xx/r7p0/mali_kbase_smc.c | C | gpl-2.0 | 1,912 |
#ifndef FILTERTREE_H
#define FILTERTREE_H
#include "carddatabase.h"
#include "cardfilter.h"
#include <QList>
#include <QMap>
#include <QObject>
#include <utility>
class FilterTreeNode
{
private:
bool enabled;
public:
FilterTreeNode() : enabled(true)
{
}
virtual bool isEnabled() const
{
... | marcofernandezheras/Cockatrice | cockatrice/src/filtertree.h | C | gpl-2.0 | 6,694 |
#ifndef ASM_KVM_CACHE_REGS_H
#define ASM_KVM_CACHE_REGS_H
#define KVM_POSSIBLE_CR0_GUEST_BITS X86_CR0_TS
#define KVM_POSSIBLE_CR4_GUEST_BITS \
(X86_CR4_PVI | X86_CR4_DE | X86_CR4_PCE | X86_CR4_OSFXSR \
| X86_CR4_OSXMMEXCPT | X86_CR4_PGE)
static inline unsigned long kvm_register_read(struct kvm_vcpu *vcpu,
... | luckasfb/OT_903D-kernel-2.6.35.7 | kernel/arch/x86/kvm/kvm_cache_regs.h | C | gpl-2.0 | 1,944 |
/**
******************************************************************************
* @file stm32f7xx_hal_adc_ex.c
* @author MCD Application Team
* @version V1.0.3
* @date 13-November-2015
* @brief This file provides firmware functions to manage the following
* functionalities of ... | frzolp/StatusDisplay | StatusDisplay/HAL_Driver/Src/stm32f7xx_hal_adc_ex.c | C | gpl-2.0 | 41,635 |
#ifndef _INPUT_H
#define _INPUT_H
/*
* Copyright (c) 1999-2002 Vojtech Pavlik
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published by
* the Free Software Foundation.
*/
#ifdef __KERNEL__
#include <linux/time.h>
#in... | AK-Kernel/AK-OnePone | include/linux/input.h | C | gpl-2.0 | 51,961 |
/*
* Copyright (C) 2016-2022 ActionTech.
* License: http://www.gnu.org/licenses/gpl.html GPL version 2 or higher.
*/
package com.actiontech.dble.util.exception;
public class NotSupportException extends RuntimeException {
private static final long serialVersionUID = 7394431636300968222L;
public NotSupportE... | actiontech/dble | src/main/java/com/actiontech/dble/util/exception/NotSupportException.java | Java | gpl-2.0 | 911 |
\hypertarget{event__groups_8c}{}\section{/var/www/html/\+S\+J\+S\+U-\/\+D\+E\+V-\/\+Linux/firmware/default/lib/\+L1\+\_\+\+Free\+R\+T\+O\+S/src/event\+\_\+groups.c File Reference}
\label{event__groups_8c}\index{/var/www/html/\+S\+J\+S\+U-\/\+D\+E\+V-\/\+Linux/firmware/default/lib/\+L1\+\_\+\+Free\+R\+T\+O\+S/src/event\... | kammce/SJSU-DEV-Linux | docs/api/latex/d1/d99/event__groups_8c.tex | TeX | gpl-2.0 | 18,131 |
var app = require('../../server');
var request = require('supertest');
var should = require('should');
var mongoose = require('mongoose');
var User = mongoose.model('User');
var Ranking = mongoose.model('Ranking');
var user, ranking;
describe('Ranking controller unit tests:', function() {
beforeEach(function(done... | peap/rankcfb | app/tests/rankings.controllers.js | JavaScript | gpl-2.0 | 1,838 |
/*
* Copyright 2005-2006 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Fou... | TheTypoMaster/Scaper | openjdk/jaxws/drop_included/jaxws_src/src/com/sun/xml/internal/fastinfoset/stax/events/AttributeBase.java | Java | gpl-2.0 | 4,078 |
package com.cn.alex.dao;
import com.cn.alex.model.User;
public interface IUserDao {
int deleteByPrimaryKey(Integer id);
int insert(User record);
int insertSelective(User record);
User selectByPrimaryKey(Integer id);
int updateByPrimaryKeySelective(User record);
int updateByPrimaryKey(User... | lxb11433/SSM | alex.maven.example/src/main/java/com/cn/alex/dao/IUserDao.java | Java | gpl-2.0 | 331 |
#define CONFIG_FBCON_CFB8_MODULE 1
| rohankataria/linuxScheduler | include/config/fbcon/cfb8/module.h | C | gpl-2.0 | 35 |
/* xfrm_user.c: User interface to configure xfrm engine.
*
* Copyright (C) 2002 David S. Miller (davem@redhat.com)
*
* Changes:
* Mitsuru KANDA @USAGI
* Kazunori MIYAZAWA @USAGI
* Kunihiro Ishiguro <kunihiro@ipinfusion.com>
* IPv6 support
*
*/
#include <linux/module.h>
#include <linux/kernel.h>
#include ... | xoox/linux-2.6.18_pro500 | net/xfrm/xfrm_user.c | C | gpl-2.0 | 51,270 |
/* Copyright (C) 2006 - 2008 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/>
* 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 l... | sergeev/hgroundcore | src/scripts/scripts/zone/aunchindoun/sethekk_halls/boss_tailonking_ikiss.cpp | C++ | gpl-2.0 | 6,760 |
package org.milyn.annotation;
import java.lang.annotation.Annotation;
import java.lang.reflect.Field;
public interface AnnotatedField {
public ExtendedAnnotatedClass getAnnotatedClass();
public Field getField();
public boolean isAnnotationPresent(Class<? extends Annotation> annotationClass);
... | alessandrocolantoni/mandragora | src/main/java/org/milyn/annotation/AnnotatedField.java | Java | gpl-2.0 | 455 |
"""okc_scraper includes all the functions needed to scrape profiles from
OKCupid"""
import requests
import cPickle as pickle
import time
from BeautifulSoup import BeautifulSoup
def authorize(username, password):
"""Log into OKCupid to scrape profiles"""
user_info = {"username": username, "password": passwor... | lbybee/okc_project | okc_scraper_no_q.py | Python | gpl-2.0 | 8,941 |
package net.minecraft.network.status.client;
import java.io.IOException;
import net.minecraft.network.INetHandler;
import net.minecraft.network.Packet;
import net.minecraft.network.PacketBuffer;
import net.minecraft.network.status.INetHandlerStatusServer;
public class C01PacketPing extends Packet {
private long f... | mviitanen/marsmod | mcp/temp/src/minecraft/net/minecraft/network/status/client/C01PacketPing.java | Java | gpl-2.0 | 1,214 |
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Catalog\Model\Product\Attribute\Source;
use Magento\Eav\Model\Entity\Attribute\Source\AbstractSource;
use Magento\Eav\Model\Entity\Attribute\Source\SourceInterface;
use Magento\Framework\Data\Optio... | kunj1988/Magento2 | app/code/Magento/Catalog/Model/Product/Attribute/Source/Status.php | PHP | gpl-2.0 | 3,955 |
<?php
/**
* Theme Font Generator Admin Page Closing Container
*
* This file contains the closing the tags for the
* html settings page.
*
* @package Easy_Google_Fonts
* @author Sunny Johal - Titanium Themes <support@titaniumthemes.com>
* @license GPL-2.0+
* @link http://wordpress.org/plugins/eas... | KateYou/LandsEndImages | wp-content/plugins/easy-google-fonts/views/admin-page/page-end.php | PHP | gpl-2.0 | 438 |
/*
* buffer.h
*
* Copyright (C) Thomas Oestreich - June 2001
*
* This file is part of transcode, a video stream processing tool
*
* transcode 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; eith... | BackupTheBerlios/tcforge | tools/buffer.h | C | gpl-2.0 | 1,432 |
App.IndexController = Ember.Controller.extend({
actions:{
}
});
App.IndexRoute = Ember.Route.extend({
model: function() {
if(this.get('loaded') == true){
console.log('cached');
return Ember.RSVP.hash({
"news":this.store.all('news'),
"assignm... | mrl4214/studybranch | public/js/routes/index.js | JavaScript | gpl-2.0 | 1,168 |
# PlayerAugments
Augment yourself to do bigger and better things.
| tayjay/PlayerAugments | README.md | Markdown | gpl-2.0 | 66 |
<?php
class Sogenactif {
public function __construct($config, $api_key = 0) {
$paiement = $config->get('paiement');
$this->api_key = sprintf("%04d", $api_key);
$this->config = isset($paiement['sogenactif']) ? $paiement['sogenactif'] : array();
}
public function form($data) {
$reference = $data['reference'... | noparking/alticcio | core/paiement/sogenactif.php | PHP | gpl-2.0 | 3,723 |
jQuery(document).ready(function($) {
"use strict";
$('#woocommerce_pip_reset_start').live('click', function(){
$('#woocommerce_pip_invoice_start').attr('readonly', 'readonly');
if ($(this).is(':checked')) {
$('#woocommerce_pip_invoice_start').removeAttr('readonly');
}
});
$('#pip_settings').validate({
... | danielkalen/bwd_old | wp-content/plugins/woocommerce-pip/js/woocommerce-pip-admin.js | JavaScript | gpl-2.0 | 1,516 |
#include <construo/construoGlobals.h>
namespace crusta {
ConstruoSettings CONSTRUO_SETTINGS;
} //namespace crusta
| KeckCAVES/crusta | src/construo/construoGlobals.cpp | C++ | gpl-2.0 | 120 |
ArduinoJson: change log
=======================
v5.13.0
-------
* Changed the rules of string duplication (issue #658)
* `RawJson()` accepts any kind of string and obeys to the same rules for duplication
* Changed the return type of `strdup()` to `const char*` to prevent double duplication
* Marked `strdup()` as depr... | juehv/SmartHomeProject | ESP-SmartCardReader/libraries/ArduinoJson/CHANGELOG.md | Markdown | gpl-2.0 | 14,620 |
#
#
# Copyright (C) 2013 Google Inc.
#
# 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 ... | ribag/ganeti-experiments | test/py/cmdlib/testsupport/__init__.py | Python | gpl-2.0 | 1,827 |
/* This source file is a part of the GePhex Project.
Copyright (C) 2001-2004
Georg Seidel <georg@gephex.org>
Martin Bayer <martin@gephex.org>
Phillip Promesberger <coma@gephex.org>
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as p... | ChristianFrisson/gephex | modules/src/audioinmodule/audiobuffer.c | C | gpl-2.0 | 4,990 |
using System;
using System.Collections.Generic;
namespace Trados.Transcreate.FileTypeSupport.XLIFF.Model
{
public class Source : Segment, ICloneable
{
public Source()
{
Elements = new List<Element>();
}
public string Id { get; set; }
public object Clone()
{
var source = new Source();
sourc... | sdl/Sdl-Community | SDLTranscreate/SDLTranscreate/FileTypeSupport/XLIFF/Model/Source.cs | C# | gpl-2.0 | 461 |
/*
* Copyright (C) 2008-2011 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/>
*
* 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 ver... | SeTM/MythCore | src/server/game/Battlegrounds/ArenaTeam.cpp | C++ | gpl-2.0 | 31,107 |
/*
* Copyright (C) 2008-2011 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2006-2010 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/>
*
* 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 ... | Bootz/MyCore4Kata | src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_twin_valkyr.cpp | C++ | gpl-2.0 | 27,901 |
/***************************************************************************
* Copyright (C) 2008-2014 by Andrzej Rybczak *
* electricityispower@gmail.com *
* *
* This pr... | dpayne/ncmpcpp-colorful | src/mutable_song.cpp | C++ | gpl-2.0 | 6,225 |
<?php
/**
* Get, validate, and validate Entry search term request variable.
*
* @since 10.4.8
*
* @category WordPress\Plugin
* @package Connections Business Directory
* @subpackage Connections\Request\Entry Search Term
* @author Steven A. Zahm
* @license GPL-2.0+
* @copyright Copyright (c) 2021, ... | Connections-Business-Directory/Connections | includes/Request/Entry_Search_Term.php | PHP | gpl-2.0 | 664 |
/*
* Copyright (C) 2003-2009 The Music Player Daemon Project
* http://www.musicpd.org
*
* 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 opti... | azuwis/mpd | src/compress.h | C | gpl-2.0 | 1,660 |
/* global console */
import MarkerManager from 'ghost/mixins/marker-manager';
import PostModel from 'ghost/models/post';
import boundOneWay from 'ghost/utils/bound-one-way';
var watchedProps,
EditorControllerMixin;
// this array will hold properties we need to watch
// to know if the model has been changed (`cont... | androidesk/adesk-blog | core/client/mixins/editor-base-controller.js | JavaScript | gpl-2.0 | 12,530 |
/*
*
* Clock initialization for OMAP4
*
* (C) Copyright 2010
* Texas Instruments, <www.ti.com>
*
* Aneesh V <aneesh@ti.com>
*
* Based on previous work by:
* Santosh Shilimkar <santosh.shilimkar@ti.com>
* Rajendra Nayak <rnayak@ti.com>
*
* See file CREDITS for list of people who contributed to this
* proje... | zhanleewo/u-boot-smdk6410 | arch/arm/cpu/armv7/omap4/clocks.c | C | gpl-2.0 | 15,390 |
/*
* Clase: MethodsSplitRules.java
* Descripción: Clase en la que se declaran los métodos utilizado en el
* programa que extrae la reglas del archivo de salida de
* algoritmos de árboles clasificadores.
* Fecha de inicio: 25 mayo 2015.
*/
package splitrulesclassifiertree;
import java.io... | jesusferm/SplitRules | src/splitrulesclassifiertree/MethodsSplitRules.java | Java | gpl-2.0 | 25,899 |
/*
Title: Advanced Ray Tracer
File Name: Main.cpp
Copyright © 2015
Original authors: Brockton Roth
Written under the supervision of David I. Schwartz, Ph.D., and
supported by a professional development seed grant from the B. Thomas
Golisano College of Computing & Information Sciences
(https://www.rit.edu/gccis) at the ... | MrNex/Game-Programming-Examples | GLFW/Intro to Graphics/AdvancedRayTracer/AdvancedRayTracer/Main.cpp | C++ | gpl-2.0 | 23,175 |
<!DOCTYPE html>
<html>
<head>
<!-- CSS -->
<link rel="stylesheet" href="/assets/css/main.css">
<title>
L33t H4ck3r Login · Michael's Normcore Blog
</title>
<!-- Metadata -->
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="mobile-... | illegalprime/illegalprime.github.io | 2016/01/31/hackerz/index.html | HTML | gpl-2.0 | 5,742 |
<{include file="db:xcgal_header.html"}>
<table align="center" width="100%" cellspacing="1" cellpadding="0" class="outer">
<tr>
<th colspan="7">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td><span class="statlink... | ImpressCMS/impresscms-module-xcgallery | templates/xcgal_display.html | HTML | gpl-2.0 | 6,934 |
<?php
/**
* Copyright 2009 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"... | nitesh146/Motleymart | plugins/system/qtcamazon_easycheckout/lib/iopn_processing/CBAIOPN.php | PHP | gpl-2.0 | 1,117 |
<?php
/**
* Class List_Comment
*/
class List_Comment {
/**
* @var string $title The title of the list of comments (e.g. X thoughts on %post%)
*/
private $title;
/**
* @var string $list The HTML list of the comments.
*/
private $list;
/**
* @var string $pagination The HTML pagination for the co... | honeylizard/honeylizard-theme | lib/classes/List_Comment.php | PHP | gpl-2.0 | 2,874 |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("ca... | cody/cartographer | Properties/AssemblyInfo.cs | C# | gpl-2.0 | 1,400 |
/*
* INET An implementation of the TCP/IP protocol suite for the LINUX
* operating system. INET is implemented using the BSD Socket
* interface as the means of communication with the user level.
*
* PF_INET6 protocol dispatch tables.
*
* Version: $Id: protocol.c,v 1.1.1.1 2004/06/19 05:03:03 ashieh Exp $
... | romanalexander/Trickles | net/ipv6/protocol.c | C | gpl-2.0 | 3,024 |
/*
* Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by th... | maiklos-mirrors/jfx78 | modules/builders/src/main/java/javafx/scene/layout/StackPaneBuilder.java | Java | gpl-2.0 | 2,873 |
local function set_bot_photo(msg, success, result)
local receiver = get_receiver(msg)
if success then
local file = 'data/photos/bot.jpg'
print('File downloaded to:', result)
os.rename(result, file)
print('File moved to:', file)
set_profile_photo(file, ok_cb, false)
send_large_msg(rec... | kiarash14/UPbumper | plugins/admin.lua | Lua | gpl-2.0 | 6,248 |
<?php
/**
* Functions
*
* Core functionality and initial theme setup
*
* @package WordPress
* @subpackage Foundation, for WordPress
* @since Foundation, for WordPress 4.0
*/
/**
* Initiate Foundation, for WordPress
*/
if ( ! function_exists( 'foundation_setup' ) ) :
function foundation_setup() {
// Cont... | seanwooj/Forage | wp-content/themes/forage/functions.php | PHP | gpl-2.0 | 11,813 |
/*
Copyright (C) 1997-2001 Id Software, Inc.
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 th... | Nephatrine/nephq2 | client/cl_inv.c | C | gpl-2.0 | 4,065 |
/*
* Copyright (C) 2008-2010 Nick Schermer <nick@xfce.org>
*
* This library 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.
*
*... | Sidnioulz/SandboxXfce4Panel | plugins/tasklist/tasklist-widget.c | C | gpl-2.0 | 139,282 |
#ifndef ENGINEERING_SCREEN_H
#define ENGINEERING_SCREEN_H
#include "gui/gui2_overlay.h"
#include "shipTemplate.h"
#include "playerInfo.h"
class GuiKeyValueDisplay;
class GuiLabel;
class GuiSlider;
class GuiAutoLayout;
class GuiImage;
class GuiArrow;
class GuiToggleButton;
class GuiProgressbar;
class EngineeringScree... | tdelc/EmptyEpsilon | src/screens/crew6/engineeringScreen.h | C | gpl-2.0 | 1,718 |
/* packet-xyplex.c
* Routines for xyplex packet dissection
*
* Copyright 2002 Randy McEoin <rmceoin@pe.com>
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
*
* Copied from packet-tftp.c
*
* This program is free software; you can redistribute it ... | weizhenwei/wireshark | epan/dissectors/packet-xyplex.c | C | gpl-2.0 | 6,962 |
.data
str1: .asciiz " - "
.text
.globl main
main: li $s0,0
move $s1,$a0
move $s2,$a1
for: bge $s0,$s1,endfor
li $v0,11
li $a0,0x0A
syscall
li $v0,4
sll $s3,$s0,2
addu $s3,$s3,$s2
lw $s4,0($s3)
move $a0,$s4
syscall
la $a0,str1
li $v0,4
syscall
move $a0,$s4
addi $sp,$sp,-4
sw $ra,0($sp)
jal strlen
m... | diogodanielsoaresferreira/AssemblyExercises | Aula 8/A7Ex2.asm | Assembly | gpl-2.0 | 571 |
#ifndef _OMFS_H
#define _OMFS_H
#include <linux/module.h>
#include <linux/fs.h>
#include "omfs_fs.h"
/* In-memory structures */
struct omfs_sb_info {
u64 s_num_blocks;
u64 s_bitmap_ino;
u64 s_root_ino;
u32 s_blocksize;
u32 s_mirrors;
u32 s_sys_blocksize;
u32 s_clustersize;
int s_block_shift;
unsigned long *... | gzdaoke/linux2.6.32_kernel | fs/omfs/omfs.h | C | gpl-2.0 | 1,991 |
/*
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Softwa... | openjdk/jdk8u | jdk/test/jdk/jfr/api/recording/state/TestStateMultiple.java | Java | gpl-2.0 | 3,580 |
/******************************************************************************
* Product: ADempiereLBR - ADempiere Localization Brazil *
* This program is free software; you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
... | arthurmelo88/palmetalADP | adempierelbr/base/src/org/adempierelbr/util/RemoverAcentos.java | Java | gpl-2.0 | 2,403 |
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_UI_COCOA_TOOLBAR_TOOLBAR_BUTTON_H_
#define CHROME_BROWSER_UI_COCOA_TOOLBAR_TOOLBAR_BUTTON_H_
#pragma once
#import <Cocoa/Cocoa... | qtekfun/htcDesire820Kernel | external/chromium/chrome/browser/ui/cocoa/toolbar/toolbar_button.h | C | gpl-2.0 | 614 |
/*
* JCE Editor 2.2.0
* @package JCE
* @url http://www.joomlacontenteditor.net
* @copyright Copyright (C) 2006 - 2012 Ryan Demmer. All rights reserved
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0... | viollarr/alab | components/com_jce/editor/libraries/js/extensions.js | JavaScript | gpl-2.0 | 1,410 |
/*
Mango - Open Source M2M - http://mango.serotoninsoftware.com
Copyright (C) 2006-2011 Serotonin Software Technologies Inc.
@author Matthew Lohbihler
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
th... | SCADA-LTS/Scada-LTS | src/com/serotonin/mango/db/dao/PointValueDao.java | Java | gpl-2.0 | 5,271 |
/** @file
WT0124 Pool Thermometer decoder.
Copyright (C) 2018 Benjamin Larsson
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 op... | klattimer/rtl_433 | src/devices/wt0124.c | C | gpl-2.0 | 3,008 |
#!/usr/bin/python
import unittest
import apt_pkg
import apt.progress.base
class TestCache(unittest.TestCase):
"""Test invocation of apt_pkg.Cache()"""
def setUp(self):
apt_pkg.init_config()
apt_pkg.init_system()
def test_wrong_invocation(self):
"""cache_invocation: Test wrong in... | suokko/python-apt | tests/test_cache_invocation.py | Python | gpl-2.0 | 863 |
<?php /* Smarty version 2.6.18, created on 2016-02-07 13:57:40
compiled from agency-access.html */ ?>
<?php if ($this->_tpl_vars['infomessage']): ?>
<div class='infomessage'>
<?php echo $this->_tpl_vars['infomessage']; ?>
</div>
<?php endif; ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smar... | AdRiverSoftware/AdServerProjectWebnock | var/templates_compiled/%%DA^DA7^DA767746%%agency-access.html.php | PHP | gpl-2.0 | 525 |
class Grib2_c < PACKMAN::Package
url 'http://www.ncl.ucar.edu/Download/files/g2clib-1.5.0-patch.tar.gz'
sha1 '3113b88e0295dbc64428edd87c0b583e774fb320'
version '1.5.0'
depends_on 'jasper'
depends_on 'libpng'
def install
defs = 'DEFS=-DUSE_JPEG2000 -DUSE_PNG'
defs << ' -D__64BIT__' if PACKMAN.os.x8... | cheunghy/packman | packages/grib2_c.rb | Ruby | gpl-2.0 | 692 |
<?php
/**
* View helper for feed tabs.
*
* PHP version 7
*
* Copyright (C) The National Library of Finland 2019.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation.
*
* This ... | arto70/NDL-VuFind2 | module/Finna/src/Finna/View/Helper/Root/FeedTabs.php | PHP | gpl-2.0 | 1,933 |
<?php
/**
* @file
* Default theme implementation to display the basic html structure of a single
* Drupal page.
*
* Variables:
* - $css: An array of CSS files for the current page.
* - $language: (object) The language the site is being displayed in.
* $language->language contains its textual representation.
... | jassonalgo/mythemejasson | sites/all/themes/theme698/templates/html.tpl.php | PHP | gpl-2.0 | 3,612 |
/****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance w... | narunlifescience/Todi | src/widgets/tooltip/reuse.h | C | gpl-2.0 | 1,907 |
/*
* net/dccp/proto.c
*
* An implementation of the DCCP protocol
* Arnaldo Carvalho de Melo <acme@conectiva.com.br>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#i... | volk3/CS736 | net/dccp/proto.c | C | gpl-2.0 | 30,486 |
package blender.makesdna.sdna;
import java.nio.ByteBuffer;
import java.io.DataOutput;
import java.io.IOException;
import java.util.Arrays;
public class bObject extends ID implements DNA, Cloneable { // #114
public bObject[] myarray;
public ID id = (ID)this;
public AnimData adt; // ptr 96
public Object sculpt;... | 244xiao/blender-java | blender-java/src/blender/makesdna/sdna/bObject.java | Java | gpl-2.0 | 24,548 |
#ifndef __ALPHA_MMU_CONTEXT_H
#define __ALPHA_MMU_CONTEXT_H
/*
* get a new mmu context..
*
* Copyright (C) 1996, Linus Torvalds
*/
#include <asm/system.h>
#include <asm/machvec.h>
#include <asm/compiler.h>
#include <asm-generic/mm_hooks.h>
/*
* Force a context reload. This is needed when we chang... | jeffegg/beaglebone | arch/alpha/include/asm/mmu_context.h | C | gpl-2.0 | 7,447 |
// automatically generated by m4 from headers in proto subdir
#ifndef _ADT_WV_STACK_H
#define _ADT_WV_STACK_H
#include <stddef.h>
// DATA STRUCTURES
typedef struct wv_stack_s
{
void *data;
size_t size;
size_t capacity;
size_t max_size;
} wv_stack_t;
extern size_t __LIB__ __FAST... | bitfixer/bitfixer | dg/z88dk/include/_DEVELOPMENT/sccz80/adt/wv_stack.h | C | gpl-2.0 | 1,548 |
#include "sdl13_eventmanager.h"
#include "common/SDL_InputSwitch.h"
using namespace event_manager;
#define NB_CONTROLS 10
static InputSwitch *keyControls[NB_CONTROLS] =
{
new KeyInputSwitch(SDLK_s,true),
new KeyInputSwitch(SDLK_f,true),
new KeyInputSwitch(SDLK_d,true),
new KeyInputSwitch(SDLK_UNKNOWN,... | flboudet/flobz | gametools/sdl_drawcontext/sdl13/sdl13_eventmanager.cpp | C++ | gpl-2.0 | 8,463 |
package org.nextprot.api.core.service;
import org.junit.Ignore;
import org.junit.Test;
import org.nextprot.api.commons.constants.AnnotationCategory;
import org.nextprot.api.core.domain.BioObject;
import org.nextprot.api.core.domain.Interaction;
import org.nextprot.api.core.domain.Isoform;
import org.nextprot.api.core.... | calipho-sib/nextprot-api | core/src/test/java/org/nextprot/api/core/service/InteractionServiceIntegrationTest.java | Java | gpl-2.0 | 9,157 |
package runner
import (
"fmt"
//"error"
//"log"
//"os"
//"io"
"github.com/go-QA/logger"
//"../logger"
//"runtime"
"time"
)
const (
MAX_WAIT_MATCH_RETURN = 3000 // Maximum time in milliseconds to wait for build return message
)
type RunId int
func (ri RunId) String() string {
return f... | go-QA/runner | dispatcher.go | GO | gpl-2.0 | 4,192 |
<!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" content="IE=9"/>
<title>SmartSorter: MoveCo... | radimsvacek/SmartSorter | doc/classMoveCommand.html | HTML | gpl-2.0 | 6,098 |
package stagetime;
public enum WorkingSpace {
OPEN_SPACE, OFFICE, PRIVATE_OFFICE, TELE_COMMUTING;
}
| libreware/StageTime | src/java/stagetime/WorkingSpace.java | Java | gpl-2.0 | 105 |
/*
Copyright 1991, 1998 The Open Group
Permission to use, copy, modify, distribute, and sell this software and its
documentation for any purpose is hereby granted without fee, provided that
the above copyright notice appear in all copies and that both that
copyright notice and this permission notice appear in suppor... | TurboVNC/turbovnc | unix/Xvnc/lib/libXfont2/src/fontfile/bitsource.c | C | gpl-2.0 | 4,720 |
<?php
/**
* The Template for displaying all single posts.
*
* @package WordPress
* @subpackage Twenty_Eleven
* @since Twenty Eleven 1.0
*/
; ?>
<?php include ('header-single-news.php'); ?>
<div id="primary1">
<div id="content1" role="main">
<?php global $more;
$more = 0; ?>
<div class="ohu_sideba... | onehopeunited/onehopeunited | wp-content/themes/ohu/single-news-post.php | PHP | gpl-2.0 | 7,965 |
/*
STYLE FOR SHORTCODE TEAM MEMBERS
INCLUDE 4 STYLES
*/
.wd_meet_team {
line-height:0;
text-align:center;
width:100%;
max-width:350px;
margin:0 0 20px;
}
.wd_meet_team > div {
padding:10px;
line-height:14px;
}
.wd_meet_team .info h3 {
font-size: 16px;
line-height: 18px;
margin: 0 0 5px;
}
.w... | usualdesigner/usualdesigner-wp-1 | wp-content/plugins/wd_shortcode/css/team.css | CSS | gpl-2.0 | 9,293 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.