code
stringlengths
4
1.01M
language
stringclasses
2 values
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width,initial-scale=1"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <meta name="lang:clipboard.copy" conte...
Java
{% extends "tournamentcontrol/competition/season.html" %} {% load i18n tz %} {% block content %} <h1>{% trans "Daily Run Sheets" %}</h1> <ul> {% for date in dates %} <li><a href="{% url application.name|add:":runsheet" competition=competition.slug season=season.slug datestr=date|date:"Ymd" %}">{{ date }}</a></l...
Java
/* * Copyright (C) 2017-present Frederic Meyer. All rights reserved. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "vt100.h" #include <stddef.h> struct vt100_term* vt100_init(struct vt100_term* this, int buffer_width, int buffer_height) { ...
Java
<?php namespace Application\ViewModel; use Application\Domain\Factory\Factory; use Zend\View\Model\ViewModel; class MemberDetailViewModel extends ViewModel { private $userId; public function __construct($userId) { parent::__construct(); $this->userId = $userId; $this->setViewDat...
Java
/* * Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com) * Copyright (C) 2004, 2005, 2006 Apple Computer, Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of s...
Java
<?php /** * CoolMS2 Twitter Bootstrap Module (http://www.coolms.com/) * * @link http://github.com/coolms/twbs for the canonical source repository * @copyright Copyright (c) 2006-2015 Altgraphic, ALC (http://www.altgraphic.com) * @license http://www.coolms.com/license/new-bsd New BSD License * @author Dm...
Java
//====================================================================================== // Copyright 5AM Solutions Inc, Yale University // // Distributed under the OSI-approved BSD 3-Clause License. // See http://ncip.github.com/caarray/LICENSE.txt for details. //=======================================================...
Java
// Copyright 2015 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. #include "sky/engine/tonic/dart_dependency_catcher.h" #include "sky/engine/tonic/dart_library_loader.h" namespace blink { DartDependencyCatcher::DartDe...
Java
/*============================================================================ WCSLIB 7.6 - an implementation of the FITS WCS standard. Copyright (C) 1995-2021, Mark Calabretta This file is part of WCSLIB. WCSLIB is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser Ge...
Java
// Copyright 2015 The Vanadium Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package profiles import ( "fmt" "os" "runtime" "sort" "strconv" "strings" "time" "v.io/x/lib/envvar" ) // Target represents specification for t...
Java
<?php namespace Avaliacao\Controller; use Avaliacao\Entity\Debito; use Avaliacao\Entity\Veiculo; use Avaliacao\Service\VeiculoService; use Zend\Hydrator\ClassMethods; use Zend\Mvc\Controller\AbstractRestfulController; use Zend\View\Model\JsonModel; /** * Class ApiVeiculoController * @package Avaliacao\Controller...
Java
{% extends "layout.html" %} {% block main %} <input type="hidden" id="surveyRedirectURL" value="{{redirect_url}}" /> <div class="modal fade" id="confirmIdentityModal" tabindex="-1" role="dialog"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="mod...
Java
////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2011, Image Engine Design Inc. All rights reserved. // Copyright (c) 2012, John Haddon. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided...
Java
extern zend_class_entry *ice_mvc_service_ce; ZEPHIR_INIT_CLASS(Ice_Mvc_Service); PHP_METHOD(Ice_Mvc_Service, setModel); PHP_METHOD(Ice_Mvc_Service, getModel); PHP_METHOD(Ice_Mvc_Service, __call); ZEND_BEGIN_ARG_INFO_EX(arginfo_ice_mvc_service_setmodel, 0, 0, 1) ZEND_ARG_INFO(0, model) ZEND_END_ARG_INFO() ZEND_BEG...
Java
# -*-coding:Utf-8 -* # Copyright (c) 2010-2017 LE GOFF Vincent # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain the above copyright notice, this ...
Java
#!/usr/bin/env python3 # -*- coding: utf-8 -*- def helloworld(): """ Hello world routine ! """ print("Hello world!")
Java
#include "allocv/al_VideoCapture.hpp" /* From opencv2/highgui/highgui.hpp: class CV_EXPORTS_W VideoCapture { public: CV_WRAP VideoCapture(); CV_WRAP VideoCapture(const string& filename); CV_WRAP VideoCapture(int device); virtual ~VideoCapture(); CV_WRAP virtual bool open(const string& filename); ...
Java
package com.github.dandelion.gua.core.field; public enum EventTrackingField implements AnalyticsField, AnalyticsCreateField { @AnalyticsFieldControl(AnalyticsFieldControl.Policy.TEXT) eventCategory, @AnalyticsFieldControl(AnalyticsFieldControl.Policy.TEXT) eventAction, @AnalyticsFieldControl(AnalyticsField...
Java
/*L * Copyright Georgetown University, Washington University. * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/cab2b/LICENSE.txt for details. */ package edu.wustl.cab2b.server.analyticalservice; import java.io.InputStream; import java.util.ArrayList; import jav...
Java
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.jtex.plot; /** * * @author hios */ public interface ScatterCanvas { public ScatterOptions getScatterOptions(); ...
Java
/* $NetBSD: rpc_soc.c,v 1.6 2000/07/06 03:10:35 christos Exp $ */ /* * Sun RPC is a product of Sun Microsystems, Inc. and is provided for * unrestricted use provided that this legend is included on all tape * media and as a part of the software program in whole or part. Users * may copy or modify Sun RPC without ...
Java
/* * Copyright 2004-2009, IM Kit Team. All rights reserved. * Distributed under the terms of the MIT License. */ #ifndef _LOGGER_H #define _LOGGER_H void logmsg(const char* message, ...); #endif // _LOGGER_H
Java
<?php /** * osCommerce Website * * @copyright (c) 2019 osCommerce; https://www.oscommerce.com * @license MIT; https://www.oscommerce.com/license/mit.txt */ namespace osCommerce\OM\Core\Site\Website\SQL\Partner; use osCommerce\OM\Core\Registry; class GetCategories { public static function execute(array $data...
Java
#pragma once #include <agency/detail/config.hpp> #include <agency/detail/requires.hpp> #include <agency/future.hpp> #include <agency/execution/executor/executor_traits/executor_future.hpp> #include <agency/execution/executor/executor_traits/is_executor.hpp> #include <utility> #include <type_traits> namespace agency ...
Java
{-# LANGUAGE DataKinds #-} {-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE FlexibleInstances #-} {-# LANGUAGE FunctionalDependencies #-} {-# LANGUAGE MultiParamTypeClasses #-} {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE ScopedTypeVariables #-} {-# LANGUAGE TupleSections #-} ...
Java
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta charset="utf-8" /> <title>statsmodels.sandbox.stats.multicomp.set_remove_subs &#8212; statsmodels v0.10.1 documentation</title> <link rel="stylesheet" href="../_static/nature.css" type="text/css" /> <link rel="stylesheet" href...
Java
/* * This file is part of the Soletta Project * * Copyright (C) 2015 Intel Corporation. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * * Redistributions of source code must retain ...
Java
/* Copyright (c) 2012-2014 The SSDB Authors. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. */ #include "server.h" #include "../util/strings.h" #include "../util/file.h" #include "../util/config.h" #include "../util/log.h" #include "../util/ip_filt...
Java
import { Page } from 'puppeteer'; import Textbox from 'app/element/textbox'; import AuthenticatedPage from 'app/page/authenticated-page'; import { waitForDocumentTitle, waitForUrl, waitWhileLoading } from 'utils/waits-utils'; import Button from 'app/element/button'; import Textarea from 'app/element/textarea'; import {...
Java
// This program sends logging records directly to the server, rather // than going through the client logging daemon. #include "ace/SOCK_Connector.h" #include "ace/Log_Record.h" #include "ace/Log_Msg.h" #include "ace/OS_NS_time.h" #include "ace/OS_NS_stdlib.h" #include "ace/OS_NS_unistd.h" #include "ace/CDR_Stream.h" ...
Java
/****************************************************************************** * ____ _ _____ * * / ___| / \ | ___| C++ * * | | / _ \ | |_ Actor * ...
Java
<?php namespace app\controllers; use app\models\User; use Yii; use yii\base\InvalidParamException; use yii\web\BadRequestHttpException; use yii\web\Controller; use yii\filters\VerbFilter; use yii\filters\AccessControl; use app\models\LoginForm; use app\models\PasswordResetRequestForm; use app\models\ResetPasswordForm;...
Java
var $ = require('jquery'); var CoreView = require('backbone/core-view'); var checkAndBuildOpts = require('builder/helpers/required-opts'); var REQUIRED_OPTS = [ 'el' ]; module.exports = CoreView.extend({ events: { 'click .js-foo': '_fooHandler' }, initialize: function (opts) { checkAndBuildOpts(opts...
Java
import os import os.path as op import pytest import numpy as np from numpy.testing import (assert_array_equal, assert_equal, assert_allclose, assert_array_less, assert_almost_equal) import itertools import mne from mne.datasets import testing from mne.fixes import _get_img_fdata from mne im...
Java
/** * CArtAgO - DEIS, University of Bologna * * 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 Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This ...
Java
<!DOCTYPE html> <html lang="en" itemscope itemtype="https://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"> <title>Vitess / GitHub Workflow</title> <!-- Webfont --> ...
Java
# encoding: UTF-8 # This file is auto-generated from the current state of the database. Instead # of editing this file, please use the migrations feature of Active Record to # incrementally modify your database, and then regenerate this schema definition. # # Note that this schema.rb definition is the authoritative sou...
Java
package team.gif; import edu.wpi.first.wpilibj.Joystick; import edu.wpi.first.wpilibj.buttons.Button; import edu.wpi.first.wpilibj.buttons.DigitalIOButton; import edu.wpi.first.wpilibj.buttons.JoystickButton; import team.gif.commands.*; public class OI { public static final Joystick leftStick = new Joystick(...
Java
<?php namespace app\modules\currency\models\ar; /** * This is the model class for table "currency". * * @property integer $id * @property string $code * @property string $short_name * @property string $sign */ class Currency extends \app\modules\core\db\ActiveRecord { const EUR = 'EUR'; const RUB = 'RU...
Java
from optparse import make_option from django.core.management.base import BaseCommand, CommandError from brambling.utils.payment import dwolla_update_tokens class Command(BaseCommand): option_list = BaseCommand.option_list + ( make_option( '--days', action='store', des...
Java
# -*- coding: utf-8 -*- """ .. _tut-set-eeg-ref: Setting the EEG reference ========================= This tutorial describes how to set or change the EEG reference in MNE-Python. .. contents:: Page contents :local: :depth: 2 As usual we'll start by importing the modules we need, loading some :ref:`example dat...
Java
/////////////////////////////////////////////////////////////////////////////// // Copyright (C) 2013, PAL Robotics S.L. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // * Redistributions of source code must reta...
Java
/* * Copyright Ekagra and SemanticBits, LLC * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/clinical-connector/LICENSE.txt for details. */ package gov.nih.nci.cdmsconnector.c3d.service.globus.resource; import gov.nih.nci.cdmsconnector.c3d.common.C3DGridServiceConstants; ...
Java
// Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. (function() { "use strict"; var runFunc; var count = 0; function getId() { return "code" + (count++); } function text(node) { var s = "";...
Java
collectd-activemq-python ======================== Python-based plugin to put simple [ActiveMQ] (http://activemq.apache.org/) stats to [collectd](http://collectd.org) Data captured includes: * Queue name * Number of messages in queue * Number of consumers * Counter of enqueued messages * Counter of dequeued mess...
Java
/* * sound/pas2_mixer.c * * Mixer routines for the Pro Audio Spectrum cards. * * Copyright by Hannu Savolainen 1993 * * 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 re...
Java
<?php namespace tests\models; use yii\db\ActiveRecord; /** * Post * * @property integer $id * @property string $title * @property string $body * * @property string $tagNames * @property array $imageNames * * @property Tag[] $tags * @property Image[] $images */ class Post extends ActiveRecord { /** ...
Java
/******************************************************************************* * Caleydo - Visualization for Molecular Biology - http://caleydo.org * Copyright (c) The Caleydo Team. All rights reserved. * Licensed under the new BSD license, available at http://caleydo.org/license *********************************...
Java
Language provider interface =========================== This package provides interface for language provider for accessing application languages from any storage for Yii2 Framework. It's allows to you create multi-language modules for using in Yii2 based application. As example of integration to module you can see [y...
Java
<?php namespace backend\models\base; use Yii; /** * This is the base model class for table "auth_item_child". * * @property string $parent * @property string $child * * @property \backend\models\AuthItem $parent0 * @property \backend\models\AuthItem $child0 */ class AuthItemChild extends \yii\db\Ac...
Java
var PgQuery = require('bindings')('pg-query'); module.exports = { parse: function(query) { var result = PgQuery.parse(query); if (result.query) { result.query = JSON.parse(result.query); } if (result.error) { var err = new Error(result.error.message); err.fileName = result.error....
Java
// Replacement for jquery.ui.accordion to avoid dealing with // jquery.ui theming. // // Usage: $('#container').squeezebox(options); // where the direct child elements of '#container' are // sequential pairs of header/panel elements, and options // is an optional object with any of the following properties: // // ac...
Java
<?php namespace console\controllers; use Yii; use yii\console\Controller; class RbacController extends Controller { public function actionInit() { $auth = Yii::$app->authManager; //////////////////////////////////////////////////////////////////////////// $org = $auth->createRole('org'); ...
Java
import base64 import json from twisted.internet.defer import inlineCallbacks, DeferredQueue, returnValue from twisted.web.http_headers import Headers from twisted.web import http from twisted.web.server import NOT_DONE_YET from vumi.config import ConfigContext from vumi.message import TransportUserMessage, TransportE...
Java
from flask import request, current_app, url_for from flask_jsonschema import validate from .. import db from ..models import AHBot as Bot from .decorators import json_response from . import api @api.route('/abusehelper', methods=['GET']) @json_response def get_abusehelper(): """Return a list of available abusehel...
Java
/* * TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION * Copyright (c) 2008, Nationwide Health Information Network (NHIN) Connect. All rights reserved. * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * * -...
Java
use actix::Addr; use actix_web::{http, middleware}; use actix_web::{web, App, HttpServer}; use diesel::r2d2::{self, ConnectionManager}; use diesel::PgConnection; use crate::database::DbExecutor; use badge::handlers::badge_handler; // use run::handlers::run_handler; use status::handlers::status_handler; pub type Poo...
Java
from django.contrib import admin # Register your models here. from .models import Photos admin.site.register(Photos)
Java
#ifndef SSERVICE_LOGGER_H #define SSERVICE_LOGGER_H /****************************************************************************** "Copyright (c) 2015-2015, Intel Corporation All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the followi...
Java
#include "Ht.h" #include "PersBug.h" void CPersBug::PersBug() { if (PR_htValid) { switch (PR_htInst) { case BUG_RTN: { if (SendReturnBusy_htmain()) { HtRetry(); break; } SendReturn_htmain(); } break; default: assert(0); } } }
Java
# Copyright (c) 2014, Enthought, Inc. # All rights reserved. # # This software is provided without warranty under the terms of the BSD # license included in LICENSE.txt and may be redistributed only # under the conditions described in the aforementioned license. The license # is also available online at http://www.ent...
Java
/** * Copyright (c) 2015 See AUTHORS file * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, this list of conditions and...
Java
<?php /** * Created by PhpStorm. * User: wesley * Date: 03/01/15 * Time: 10:04 */ namespace Ordemservico\Form\View\Helper; use Zend\Form\ElementInterface; use Zend\Form\View\Helper\FormElementErrors; class FormElementErros extends FormElementErrors { public function render(ElementInterface $element, array...
Java
<?php use yii\helpers\Html; use yii\bootstrap\Modal; use yii\bootstrap\ButtonGroup; use yii\widgets\Menu; use yii\widgets\Pjax; use kartik\export\ExportMenu; use kartik\grid\GridView; /* @var $this yii\web\View */ /* @var $searchModel app\models\TransaccionrefaccionSearch */ /* @var $dataProvider yii\data\ActiveData...
Java
# Minimal makefile for Sphinx documentation # # You can set these variables from the command line. SPHINXOPTS = SPHINXBUILD = sphinx-build SPHINXPROJ = DjangoCorrelationId SOURCEDIR = . BUILDDIR = ../build/sphinx # Put it first so that "make" without argument is like "make help". help: @$(SPHINXBUIL...
Java
<!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.7.0_75) on Sun Mar 01 12:04:16 AEDT 2015 --> <title>X509AttributeCertificateHolderSelectorBuilder (Bouncy Castle Library 1.52 API Specifica...
Java
/* iCheck plugin Square skin, black ----------------------------------- */ .icheckbox_square, .iradio_square { display: inline-block; *display: inline; vertical-align: middle; margin: 0; padding: 0; width: 22px; height: 22px; background: url(square.png) no-repeat; border:...
Java
import pytest from py4jdbc.dbapi2 import connect, Connection from py4jdbc.resultset import ResultSet from py4jdbc.exceptions.dbapi2 import Error def test_connect(gateway): url = "jdbc:derby:memory:testdb;create=true" conn = connect(url, gateway=gateway) cur = conn.cursor() rs = cur.execute("select * ...
Java
## How to be a contributor to this project ### Are you submitting a pull request? * Make sure to fill out an issue for your PR, so that we have traceability as to what you are trying to fix, versus how you fixed it. * Spaces (not tabs), and 2 of them, that's what we like. Set your code style :) * Sign the [Sonatype C...
Java
# writestream-promise Adds WriteStream.itsa_endPromise(): WriteStream.end() as a Promise.
Java
"""Unit-tests for `tree.visitors` """ from py2c import tree from py2c.tree import visitors from py2c.tests import Test, data_driven_test from nose.tools import assert_equal # TEST:: Add non-node fields # ============================================================================= # Helper classes # ==============...
Java
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model app\models\WindowSearch */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="window-search"> <?php $form = ActiveForm::begin([ 'action' => ['index'], 'method' => 'get', ]); ?> <?= $...
Java
from importlib import import_module from inspect import getdoc def attribs(name): mod = import_module(name) print name print 'Has __all__?', hasattr(mod, '__all__') print 'Has __doc__?', hasattr(mod, '__doc__') print 'doc: ', getdoc(mod) if __name__=='__main__': attribs('cairo') attrib...
Java
#include "Statistics.hpp" #include "CaptureInstance.hpp" #include "MainWindow.hpp" #include "ui_Statistics.h" using namespace EPL_Viz; using namespace EPL_DataCollect; Statistics::Statistics(MainWindow *parent) : QDialog(parent), ui(new Ui::Statistics), mw(parent) { ui->setupUi(this); refresh(); } Statistics::~S...
Java
--- layout: organization category: national title: Sereolipi Nomadic Education Foundation Inc. impact_area: Children keywords: location_services: location_offices: website: www.thorntreeproject.org description: mission: | Our mission is to help educate the children of traditional nomadic families in Northern Sa...
Java
/* This file is a part of JustLogic product which is distributed under the BSD 3-clause "New" or "Revised" License Copyright (c) 2015. All rights reserved. Authors: Vladyslav Taranov. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following...
Java
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_20) on Sat Oct 20 16:08:50 CDT 2012 --> <TITLE> I-Index </TITLE> <META NAME="date" CONTENT="2012-10-20"> <LINK REL ="stylesheet" TYPE="text/css" HR...
Java
class Requirement(object): """ Requirements are the basis for Dominion. They define what needs to exist on a host/role, or perhaps what *mustn't* exist. Requirements are defined on Roles. """ creation_counter = 0 "The base class for requirements." def __init__(self, required=True, en...
Java
<?php use app\components\Formatter; use yii\helpers\Html; ?> <div class="rep-wrapper"> <div id="stats"> <div id="rep-page-container"> <table class="rep-table"> <tbody> <?php foreach ($reputes as $date => $repute): ?> <tr cla...
Java
include ../../Library/GNU.mk Title= libzip Name= libzip Version= 0.12.2 Revision= 0 Site= http://nih.at/libzip/ Source= http://nih.at/libzip//$(Name)-$(Version).tar.bz2 License= BSD LicenseFile= $(SourceDir)/LICENSE define test_inner_hook /usr/local/bin/zipcmp -h /usr/local/bin/zipmerge -h endef
Java
package registry import ( "crypto/tls" "fmt" "log" "net/http" "strings" ) type LogfCallback func(format string, args ...interface{}) /* * Discard log messages silently. */ func Quiet(format string, args ...interface{}) { /* discard logs */ } /* * Pass log messages along to Go's "log" module. */ func Log(f...
Java
/* CoAP on Moterunner Demonstration * Copyright (c) 2013-2014, SAP AG * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * - Redistributions of source code must retain the above copyright *...
Java
/* Copyright (c) Robert Adams * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer...
Java
import py try: from pypy.rpython.test.test_llinterp import interpret except ImportError: py.test.skip('Needs PyPy to be on the PYTHONPATH') from rply import ParserGenerator, Token from rply.errors import ParserGeneratorWarning from .base import BaseTests from .utils import FakeLexer, BoxInt, ParserState cl...
Java
<!DOCTYPE html><html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"> <meta charset="utf-8"> <title>SLS_PHP_SDK » \Aliyun_Log_Models_ListLogstoresRequest</title> <meta name="a...
Java
/* Copyright (c) 2014 Andrea Zoli. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ package it.inaf.android; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Locale; public class DateFormatter { pub...
Java
// Copyright 2019 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 MEDIA_GPU_TEST_VIDEO_PLAYER_TEST_VDA_VIDEO_DECODER_H_ #define MEDIA_GPU_TEST_VIDEO_PLAYER_TEST_VDA_VIDEO_DECODER_H_ #include <stdint.h> #include ...
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" xml:lang="en" lang="en"> <?php //Get Controller Action name $action_ = Yii::app()->controller->action->id; if($action_=='login') { ...
Java
extract: ${tooldir}/ecore2bgf BIBTEXML.ecore grammar.bgf include ../../Makefile.grammar
Java
{-# LANGUAGE TypeOperators, MultiParamTypeClasses, FunctionalDependencies , UndecidableInstances #-} -- For ghc 6.6 compatibility -- {-# OPTIONS -fglasgow-exts -fallow-undecidable-instances #-} ---------------------------------------------------------------------- -- | -- Module : Data.FunArr -- Cop...
Java
# -*- coding: utf-8 -*- # # zambiaureport documentation build configuration file, created by # sphinx-quickstart. # # This file is execfile()d with the current directory set to its containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. # # All configuration values ...
Java
// RobotBuilder Version: 2.0 // // This file was generated by RobotBuilder. It contains sections of // code that are automatically generated and assigned by robotbuilder. // These sections will be updated in the future when you export to // Java from RobotBuilder. Do not put any code or make any change in // the blocks...
Java
#include<iostream> using namespace std; int n,k; const int maxn=100010; bool b[2*maxn]; struct { int num,cn; }queue[2*maxn]; int head,tail; void bfs() { b[n]=1; queue[0].num=n; queue[0].cn=1; while(head<=tail) { if(queue[head].num==k) { prin...
Java
<?php namespace app\models; use Yii; /** * This is the model class for table "contact". * * @property integer $id * @property string $type * @property string $name * @property string $lastname * @property string $email * @property string $cellphone * @property string $message * @property string $identity ...
Java
#include <iostream> #include <type_traits> #include <vector> #include <cassert> #include <agency/execution/executor/sequenced_executor.hpp> #include <agency/execution/executor/executor_traits.hpp> int main() { using namespace agency; static_assert(is_bulk_synchronous_executor<sequenced_executor>::value, "seq...
Java
/*========================================================================= Program: Visualization Toolkit Module: vtkBitArray.h Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This software is dis...
Java
/* * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: redistributions of source code must retain the above copyright * notice, this l...
Java
/******************************************************************************* * Copyright (c) 2009-2012, University of Manchester * * Licensed under the New BSD License. * Please see LICENSE file that is distributed with the source code *************************************************************************...
Java
/*L * Copyright SAIC, SAIC-Frederick. * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/caadapter/LICENSE.txt for details. */ package gov.nih.nci.caadapter.sdtm.util; /** * This class represents a entity * * @author OWNER: Harsha Jayanna * @author LAST UPDATE $Author: ...
Java
define(function () { return [ { "default": { name: 'form1', label: 'Form 1', "_elements": [ { "default": { "name": "id", "type": "hidden" } }, { "default": { "name": "test1", ...
Java