code stringlengths 4 1.01M | language stringclasses 2
values |
|---|---|
## Introduction
<b>vedgTools/QtWidgetsUtilities</b> is a general-purpose C++ library, which
depends on QtCore and QtWidgets/QtGui libraries. Both Qt4 and Qt5 are supported.
It also depends on vedgTools/CMakeModules and vedgTools/QtCoreUtilities
libraries, which are present as submodules in this git repository.
## Lic... | Java |
-----------------------------------------
-- Spell: Protect
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,target,spel... | Java |
/*
==============================================================================
This file is part of the JUCE examples.
Copyright (c) 2017 - ROLI Ltd.
The code included in this file is provided under the terms of the ISC license
http://www.isc.org/downloads/software-support-policy/isc-license. Permiss... | Java |
/*
* Grakn - A Distributed Semantic Database
* Copyright (C) 2016 Grakn Labs Limited
*
* Grakn 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... | Java |
use sha1::{Sha1, Digest};
use std::fs;
let mut file = fs::File::open(&path)?;
let hash = Sha1::digest_reader(&mut file)?; | Java |
abstract class Adjunction[F[_], U[_]](
implicit val F: Functor[F],
val U: Representable[U]
){
def unit[A](a: A): U[F[A]]
def counit[A](a: F[U[A]]): A
}
| Java |
function HistoryAssistant() {
}
HistoryAssistant.prototype.setup = function() {
this.appMenuModel = {
visible: true,
items: [
{ label: $L("About"), command: 'about' },
{ label: $L("Help"), command: 'tutorial' },
]
};
this.controller.setupWidget(Mojo.Menu.appMenu, {omitDefaultItems: true}, this.appMenuMo... | Java |
# -*- coding: utf-8 -*-
import logging
from pprint import pformat
from time import clock, sleep
try:
import unittest2 as unittest
except ImportError:
import unittest
import config
from event_stack import TimeOutReached
from database_reception import Database_Reception
from static_ag... | Java |
// Copyright 2015-2017 Parity Technologies (UK) Ltd.
// This file is part of Parity.
// Parity 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 lat... | Java |
#pragma once
#include <ros/assert.h>
#include <iostream>
#include <eigen3/Eigen/Dense>
#include "../utility/utility.h"
#include "../parameters.h"
#include "integration_base.h"
#include <ceres/ceres.h>
class IMUFactor : public ceres::SizedCostFunction<15, 7, 9, 7, 9>
{
public:
IMUFactor() = delete;
IMUFacto... | Java |
/*!
* \file GPS_L1_CA.h
* \brief Defines system parameters for GPS L1 C/A signal and NAV data
* \author Javier Arribas, 2011. jarribas(at)cttc.es
*
* -------------------------------------------------------------------------
*
* Copyright (C) 2010-2015 (see AUTHORS file for a list of contributors)
*
* GNSS-SD... | Java |
/* Copyright 2016 Devon Call, Zeke Hunter-Green, Paige Ormiston, Joe Renner, Jesse Sliter
This file is part of Myrge.
Myrge 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... | Java |
# Topydo - A todo.txt client written in Python.
# Copyright (C) 2014 - 2015 Bram Schoenmakers <bram@topydo.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 3 of the License,... | Java |
/* Copyright (c) Colorado School of Mines, 1996.*/
/* All rights reserved. */
/* segy.h - include file for SEGY traces
*
* declarations for:
* typedef struct {} segy - the trace identification header
* typedef struct {} bhed - binary header
*
* Note:
* If header words are added, run the ma... | Java |
/*
* File: tstGenericDBObject.cpp
* Author: volker
*
* Created on March 2, 2014, 3:46 PM
*/
#include <QString>
#include "tstScore.h"
#include "Score.h"
using namespace QTournament;
//----------------------------------------------------------------------------
void tstScore::testGameScore_IsValidScore()
{
... | Java |
CC = gcc
CFLAGS = -g -Wall -Werror -D_GNU_SOURCE -I../include
LDFLAGS = -ljson-c
HEADERS = ../include/json.h ../include/error.h ../include/account.h ../include/util.h
SRC = assignfee.c ../lib/json.c ../lib/account.c ../lib/error.c ../lib/util.c
assignfee: $(SRC) $(HEADERS)
$(CC) $(CFLAGS) $(LDFLAGS) $(SRC) -o$@
clea... | Java |
import java.util.Scanner;
public class FeetMeters {
public static void main(String[] args) {
Scanner keyboard = new Scanner(System.in);
System.out.print("Number of feet: ");
float feet = keyboard.nextInt();
float foottometers = (float) .305;
System.out.println("");
... | Java |
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle 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.
//
// Moodle ... | Java |
from pupa.scrape import Jurisdiction, Organization
from .bills import MNBillScraper
from .committees import MNCommitteeScraper
from .people import MNPersonScraper
from .vote_events import MNVoteScraper
from .events import MNEventScraper
from .common import url_xpath
"""
Minnesota legislative data can be found at the O... | Java |
<?php
namespace Test\FlexiPeeHP;
use FlexiPeeHP\Nastaveni;
/**
* Generated by PHPUnit_SkeletonGenerator on 2016-04-27 at 17:32:11.
*/
class NastaveniTest extends FlexiBeeROTest
{
/**
* @var Nastaveni
*/
protected $object;
/**
* Sets up the fixture, for example, opens a network connectio... | Java |
#pragma once
#include <fstream>
#include <iomanip>
#include <map>
#include <sstream>
#include <string>
#include "jw.hpp"
namespace Zee {
class Report {
public:
Report(std::string title, std::string rowTitle)
: title_(title), rowTitle_(rowTitle) {
rowSize_ = rowTitle_.size();
}
void a... | Java |
package ProxyPattern;
public class GumballMachineTestDrive {
public static void main(String[] args) {
int count = 0;
if (args .length < 2) {
System.out.println("GumballMachine <name> <inventory>");
System.exit(1);
}
count = Integer.parseInt(args[1]);
GumballMachine gumballMachine = new GumballMachine(... | Java |
<?php
/**
* OpenSKOS
*
* LICENSE
*
* This source file is subject to the GPLv3 license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://www.gnu.org/licenses/gpl-3.0.txt
* If you did not receive a copy of the license and are unab... | Java |
#ifndef SQLCONNECTDIALOG_H
#define SQLCONNECTDIALOG_H
#include <QDialog>
#include <QtSql>
namespace Ui {
class SQLConnectDialog;
}
class SQLConnectDialog : public QDialog
{
Q_OBJECT
public:
explicit SQLConnectDialog(QWidget *parent = 0);
~SQLConnectDialog();
QSqlDatabase connect(QSqlDatabase db);
p... | Java |
// This code is part of the CPCC-NG project.
//
// Copyright (c) 2009-2016 Clemens Krainer <clemens.krainer@gmail.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 version 2 of t... | Java |
<?php
namespace App\Console\Commands;
use App\App;
use Illuminate\Console\Command;
use Illuminate\Support\Facades\Artisan;
use Imperium\File\File;
class Venus extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'app:secure';
... | Java |
/*
* Decompiled with CFR 0_114.
*
* Could not load the following classes:
* com.stimulsoft.base.drawing.StiBrush
* com.stimulsoft.base.drawing.StiColor
* com.stimulsoft.base.drawing.StiSolidBrush
* com.stimulsoft.base.drawing.enums.StiPenStyle
* com.stimulsoft.base.serializing.annotations.StiDefaulValue
... | Java |
/*
Copyright (C) 2011-2017 Michael Goffioul
This file is part of Octave.
Octave 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.
Octave is... | Java |
package com.base.engine.math;
public class Vector2f
{
private float x, y;
public Vector2f(float x, float y)
{
this.x = x;
this.y = y;
}
public Vector2f normalized()
{
float len = length();
float x_ = x / len;
float y_ = y / len;
... | Java |
/*
* Twidere - Twitter client for Android
*
* Copyright (C) 2012 Mariotaku Lee <mariotaku.lee@gmail.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 version 3 of the Lice... | Java |
#include "toString.h"
vector<string> splitString(string s, char c) {
stringstream ss(s);
string token;
vector<string> res;
while (std::getline(ss, token, c)) res.push_back(token);
return res;
}
string toString(string s) { return s; }
string toString(bool b) { stringstream ss; ss << b; return ss.s... | Java |
<!DOCTYPE html><html><head><link rel="canonical" href="http://raph.es/blog/2011/06/mapping-network-drives-for-teamcity-build-agents/"/><meta http-equiv="content-type" content="text/html; charset=utf-8" /><meta http-equiv="refresh" content="0;url=http://raph.es/blog/2011/06/mapping-network-drives-for-teamcity-build-agen... | Java |
<?php
class NivelSni extends AppModel {
var $name = 'NivelSni';
var $displayField = 'nombre';
var $validate = array(
'nombre' => array(
'minlength' => array(
'rule' => array('minlength', 1),
'message' => 'Valor muy pequeño.',
'allowEmpty' => false
),
),
'descripcion' => array(
'minlength' ... | Java |
'''
Copyright 2015
This file is part of Orbach.
Orbach 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.
Orbach is distributed in the hope t... | Java |
public class Silver extends Piece {
public Silver(int owner) {
super(owner);
setSymbol("S");
setType("Silver");
}
public boolean canMove(Square from, Square to, Board b) {
if(promoted) {
//Gold movement code
if((Math.abs(from.getR() - to.getR()) <= 1 &&
(Math.abs(from.getC() - to.getC()) ... | Java |
/*
* This file is part of the OTHERobjects Content Management System.
*
* Copyright 2007-2009 OTHER works Limited.
*
* OTHERobjects 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 ... | Java |
package com.baobaotao.transaction.nestcall;
public class BaseService {
}
| Java |
import kivy
kivy.require('1.9.1')
from kivy.uix.popup import Popup
from kivy.uix.label import Label
from kivy.uix.gridlayout import GridLayout
from kivy.metrics import dp
from kivy.app import Builder
from kivy.properties import StringProperty, ObjectProperty
from kivy.clock import Clock
from kivy.metrics import sp
from... | Java |
class CheckBase(object):
"""
Base class for checks.
"""
hooks = []
# pylint: disable=W0105
"""Git hooks to which this class applies. A list of strings."""
def execute(self, hook):
"""
Executes the check.
:param hook: The name of the hook being run.
:type ... | Java |
<?php
/* Copyright (C) 2003-2006 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004-2011 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2005-2009 Regis Houssin <regis.houssin@capnetworks.com>
*
* This program is free software; you can redistribute it and/or modify
* it u... | Java |
<?php
require_once ('getConnection.php');
$stmt = $connect -> stmt_init();
$query = "SELECT c_token FROM t_course WHERE c_id = ?";
if (!($stmt -> prepare($query))) {
echo "Prepare failed: " . $connect -> errno . $connect -> error;
}
if (!($stmt -> bind_param("d", $_POST["course"]))) {
echo "Bind failed: " . $connect ... | Java |
/*
This project 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.
Deviation is distributed in the hope that it will be useful,
but WITHO... | Java |
/*
Copyright (C) 2013 Jason Gowan
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.
This program is distributed in the hope tha... | Java |
<?php
namespace DB;
final class mPDO {
private $connection = null;
private $statement = null;
public function __construct($hostname, $username, $password, $database, $port = '3306') {
try {
$dsn = "mysql:host={$hostname};port={$port};dbname={$database};charset=UTF8";
$opt... | Java |
/**
* copyright
* Inubit AG
* Schoeneberger Ufer 89
* 10785 Berlin
* Germany
*/
package com.inubit.research.textToProcess.textModel;
import java.awt.Color;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.Shape;
import java.awt.geom.Rectangle2D;
import net.frapu.code.visualization.ProcessNo... | Java |
<?php
/*
* $result->groups
* $result->auditories
* $result->lectors
* $result->calendars
*/
?>
<h1>Додати календар</h1>
<div class="uk-margin">
<div class="uk-form">
<?php
if(mysqli_num_rows($result->groups) > 0){
echo '<select>';
while($row = mysqli_fetch_assoc($result->groups)) {
echo '<opti... | Java |
<?php
/*
Scripts and styles options
*/
/**
* Renders the Scripts and styles options section.
*/
function electric_thop_render_scripts_section(){
echo "<p>" . __('You are not forced to use everything that the theme includes. If you are not going to use a feature (because you don\'t like it or because you prefer a ... | Java |
#ifndef __PROCESSOR_H__
#define __PROCESSOR_H__
#include <gctypes.h>
#include "asm.h"
#define __stringify(rn) #rn
#define ATTRIBUTE_ALIGN(v) __attribute__((aligned(v)))
// courtesy of Marcan
#define STACK_ALIGN(type, name, cnt, alignment) u8 _al__##name[((sizeof(type)*(cnt)) + (alignment) + (((... | Java |
'use strict';
angular.module('ldrWebApp')
/**
* @name pageSkipper
* @param config
* @param pages
* @type element
* @description Skip to page directive
* @requires $scope
*/
.directive('pageSkipper', function () {
return {
restrict: 'E',
templat... | Java |
odoo.define('point_of_sale.DB', function (require) {
"use strict";
var core = require('web.core');
var utils = require('web.utils');
/* The PosDB holds reference to data that is either
* - static: does not change between pos reloads
* - persistent : must stay between reloads ( orders )
*/
var PosDB = core.Class.ex... | Java |
<div class="container">
<div class="row jumbotron indexBKGD">
<div class="col-xs-12 col-sm-10 col-sm-offset-1">
<div class="row">
<div class="col-12 col-sm-12 col-lg-12" style="text-align: center;">
<div class="panel panel-default">
<div class="panel-body">
... | Java |
.PHONY: all help build run builddocker rundocker kill rm-image rm clean enter logs
all: help
help:
@echo ""
@echo "-- Help Menu"
@echo "" This is merely a base image for usage read the README file
@echo "" 1. make run - build and run docker container
@echo "" 2. make build - build docker container... | Java |
<!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>
<link rel="stylesheet" type="text/css" href="assets/style.css"></link>
</head>
<body>
<div class="content">
<h1><a ... | Java |
//
// 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 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it wil... | Java |
var searchData=
[
['a',['a',['../structRREP.html#abe45cd7d5c14dc356ecab531b2176242',1,'RREP']]],
['ack_5ftimer',['ack_timer',['../structrt__table.html#a4b5c6baab186ae8733b48cf2d5172852',1,'rt_table']]],
['active',['active',['../classNA__NesgLog.html#a0ce1b63fe991dc4304cb30d703aadcd6',1,'NA_NesgLog']]],
['active... | Java |
/* This file is part of My Nes
*
* A Nintendo Entertainment System / Family Computer (Nes/Famicom)
* Emulator written in C#.
*
* Copyright © Ala Ibrahim Hadid 2009 - 2014
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as... | Java |
# - Find the OpenGL Extension Wrangler Library (GLEW)
# This module defines the following variables:
# GLEW_INCLUDE_DIRS - include directories for GLEW
# GLEW_LIBRARIES - libraries to link against GLEW
# GLEW_FOUND - true if GLEW has been found and can be used
#======================================================... | Java |
/*
* Neon, a roguelike engine.
* Copyright (C) 2017-2018 - Maarten Driesen
*
* 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)... | Java |
// This file has been generated by the GUI designer. Do not modify.
public partial class WinCryptoSec2Config
{
private global::Gtk.VBox vbox2;
private global::Gtk.Button btnDatabase;
private global::Gtk.Button btnFtp;
private global::Gtk.Button btnString;
private global::Gtk.Button btnXml;
... | Java |
<?php
use HebrewParseTrainer\Root;
use HebrewParseTrainer\Stem;
use HebrewParseTrainer\Tense;
?>
@extends('layouts.with_sidebar')
@section('sidebar')
<form id="hebrewparsetrainer-settings">
<input type="hidden" id="csrf" value="{{ csrf_token() }}"/>
<div class="form-group">
<h3>Stems</h3>
@foreach (Stem::all()... | Java |
package net.minecraft.server;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
// CraftBukkit start
import org.bukkit.craftbukkit.event.CraftEventFactory;
import org.bukkit.event.entity.CreatureSpawnEvent;
import org.bukkit.event.entity.SpawnerSpawnEvent;
// C... | Java |
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2016-2021 hyStrath
\\/ M anipulation |
-------------------... | Java |
#!/usr/bin/python3
### rev: 5.0
### author: <zhq>
### features:
### errors included
### up to 63 bases (2 to 64)
### caps recognition and same output format (deprecated)
### for the function parameters, `cur` represents the current (input) base, `res` represents the result (output) base, and `num` represen... | Java |
<?php
/**
* OpenEyes
*
* (C) Moorfields Eye Hospital NHS Foundation Trust, 2008-2011
* (C) OpenEyes Foundation, 2011-2012
* This file is part of OpenEyes.
* OpenEyes 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 Found... | Java |
using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;
// manager for the gondola spawning
public class GondolaManager : MonoBehaviour {
private static int N = 50;
private static int DELAY = 4;
private static float OFFSET = -1.8f; // the offet between the rope center and a go... | Java |
module BaseControllerHelper
end
| Java |
import { Component } from '@angular/core';
import { NavController, ToastController } from 'ionic-angular';
import { Http } from '@angular/http';
import { ActionSheetController } from 'ionic-angular';
import { NotifikasiPage } from '../notifikasi/notifikasi';
import { ArtikelBacaPage } from '../artikel-baca/artikel-bac... | Java |
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'events.ui'
#
# Created by: PyQt4 UI code generator 4.11.4
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
from collections import *
from functools import *
import os, glob
import pandas a... | Java |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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"/>
<meta name="generator" co... | Java |
/*
* Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>
*
* This file is part of CasparCG (www.casparcg.com).
*
* CasparCG 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 Lic... | Java |
package nest.util;
import android.text.TextUtils;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import timber.log.Timber;
public class TraceTree extends Timber.HollowTree {
private final DebugTree debugTree;
public TraceTree(boolean useTraces) {
debugTree = new DebugTree(useTrace... | Java |
/*
* Copyright (C) 2012 Carl Green
*
* 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.
*
* This program is... | Java |
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
\\ / O peration | Version: 3.2
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For ... | Java |
<?php /* Smarty version Smarty-3.1.19, created on 2016-03-17 14:44:03
compiled from "/Users/Evergreen/Documents/workspace/licpresta/admin/themes/default/template/controllers/shop/helpers/list/list_action_delete.tpl" */ ?>
<?php /*%%SmartyHeaderCode:154545909656eab4a3d7e136-98563971%%*/if(!defined('SMARTY_DIR')... | Java |
<?php
namespace UJM\ExoBundle\Installation;
use Claroline\InstallationBundle\Additional\AdditionalInstaller as BaseInstaller;
use UJM\ExoBundle\Installation\Updater\Updater060000;
use UJM\ExoBundle\Installation\Updater\Updater060001;
use UJM\ExoBundle\Installation\Updater\Updater060200;
use UJM\ExoBundle\Installation... | Java |
/*
* Copyright 2014 Erik Wilson <erikwilson@magnorum.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 version 3 of the License, or
* (at your option) any later version.
*
* ... | Java |
// This is a generated file. Not intended for manual editing.
package org.modula.parsing.definition.psi.impl;
import java.util.List;
import org.jetbrains.annotations.*;
import com.intellij.lang.ASTNode;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiElementVisitor;
import com.intellij.psi.util.... | Java |
class MeetingQuery < Query
self.queried_class = Meeting
self.available_columns = [
QueryColumn.new(:subject, :sortable => "#{Meeting.table_name}.subject",:groupable => true),
QueryColumn.new(:location_online, :sortable => "#{Meeting.table_name}.location_online",:groupable => true, caption: 'location')... | Java |
cd paperbak-1.10.src
del PAPERBAK.RES
del PaperBak.bpr
ren paperbak.h paperback.h
ren paperbak.mak paperback.mak
cd ..
patch -p0 -E -i PaperBack-1.20.RA0193.EN.patch | Java |
/*
This file is part of the OdinMS Maple Story Server
Copyright (C) 2008 Patrick Huy <patrick.huy@frz.cc>
Matthias Butz <matze@odinms.de>
Jan Christian Meyer <vimes@odinms.de>
This program is free software: you can redistribute it and/or modify
it under the t... | Java |
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE OverloadedStrings #-}
{-# L... | Java |
/*
* 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 can obtain one at http://mozilla.org/MPL/2.0/.
*
* Copyright (c) 2015, Joyent, Inc.
*/
var test = require('./test-namer')('vm-to-zones');
var util = require('... | Java |
from cProfile import Profile
from optparse import make_option
from django.conf import settings
from django.core.management.base import (BaseCommand,
CommandError)
from treeherder.etl.buildapi import (Builds4hJobsProcess,
PendingJobsProcess,... | Java |
<header class="navbar navbar-inverse navbar-fixed-top" role="navigation">
<div class="container">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse" aria-expanded="f... | Java |
<?php
return function ($bh) {
$bh->match('progressbar', function($ctx, $json) {
$val = $json->val ?: 0;
$ctx
->js([ 'val' => $val ])
->content([
'elem' => 'bar',
'attrs' => [ 'style' => 'width:' . $val . '%' ]
]);
});
};
| Java |
// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved.
// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose ei... | Java |
/* 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 can obtain one at http://mozilla.org/MPL/2.0/. */
#include "p12plcy.h"
#include "secoid.h"
#include "secport.h"
#include "secpkcs5.h"
#define PKCS12_NULL 0x0000
t... | Java |
//*****************************************************************************
//
// startup_gcc.c - Startup code for use with GNU tools.
//
// Copyright (c) 2012-2013 Texas Instruments Incorporated. All rights reserved.
// Software License Agreement
//
// Texas Instruments (TI) is supplying this software for... | Java |
package de.maxgb.vertretungsplan.manager;
import android.content.Context;
import android.os.AsyncTask;
import de.maxgb.android.util.Logger;
import de.maxgb.vertretungsplan.util.Constants;
import de.maxgb.vertretungsplan.util.Stunde;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
... | Java |
import tape from 'tape'
import Common, { Chain, Hardfork } from '@ethereumjs/common'
import { FeeMarketEIP1559Transaction } from '@ethereumjs/tx'
import { Block } from '@ethereumjs/block'
import { PeerPool } from '../../lib/net/peerpool'
import { TxPool } from '../../lib/sync/txpool'
import { Config } from '../../lib/c... | Java |
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE DeriveDataTypeable #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE TypeOperators ... | Java |
SystemK Design Doc
==================
# Introduction
SystemK is a userspace process running with PID 0. It is the first process
invocated by the kernel in userspace mode and its duty during its life-time
is an infinite main-loop that spawns new userspace processes and manages their
respective life-time.
# Abstract ... | Java |
package minejava.reg.util.concurrent;
public interface RunnableFuture<V> extends Runnable, Future<V>{
@Override
void run();
} | Java |
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Color 4: predefined colorspaces, rec2020, percent values</title>
<link rel="author" title="Chris Lilley" href="mailto:chris@w3.org">
<link rel="help" href="https://drafts.csswg.org/css-color-4/#predefined">
<link rel="match" href="greensquare-ref.html">
<meta name="asse... | Java |
/*
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
*
* == BEGIN LICENSE ==
*
* Licensed under the terms of any of the following licenses at your
* choice:
*
* - GNU General Public License Version 2 or later (the "GPL")
* http://ww... | Java |
**Reminder - no plan survives breakfast.**
[Episode guide](https://mikeconley.github.io/joy-of-coding-episode-guide/)
- Feel free to send [pull requests](https://help.github.com/articles/about-pull-requests/) to the [repo](https://github.com/mikeconley/joy-of-coding-episode-guide)!
- [Here’s a contributing guide!](ht... | Java |
package testtravis;
import static org.junit.Assert.*;
import org.junit.Test;
public class Operar_unit {
@Test
public void testSumar() {
System.out.println("Sumar dos numeros");
int numero1 = 6;
int numero2 = 6;
Operaciones instance = new Operaciones();
int expResult = 12... | Java |
#ifndef METHOD_ARGUMENT_H_VCZAR2ZT
#define METHOD_ARGUMENT_H_VCZAR2ZT
#include "ast_node.h"
#include "ast_node_visitor.h"
#include <string>
namespace fparser
{
namespace ast
{
class MethodArgument : public ast::ASTNode
{
public:
virtual void accept(ASTNodeVisitor& visitor) override;
public:
MethodArgument();
... | Java |
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
/* 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 can obtain one at http://mozilla.org/MPL/2.0... | Java |
//*****************************************************************************
//
// pushbutton.c - Various types of push buttons.
//
// Copyright (c) 2008-2013 Texas Instruments Incorporated. All rights reserved.
// Software License Agreement
//
// Texas Instruments (TI) is supplying this software for use so... | Java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.