code
stringlengths
4
1.01M
language
stringclasses
2 values
// Copyright (c) 2012 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 "chrome/browser/ui/simple_message_box.h" #include <utility> #include "base/bind.h" #include "base/callback.h" #include "base/compiler_speci...
Java
<?php session_start(); // ---------------- PRE DEFINED VARIABLES ---------------- // if ($_SESSION['user_name']=='') { $user_name_session = $_POST['id']; echo "no session set"; } else { $user_name_session = $_SESSION['user_name']; } //print_r($user_name_session); include_once('/kunden/homepages/0/d643120834/htd...
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> <meta http-equiv="X-UA-Compatible" content="IE=Edge" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <t...
Java
/* vim:expandtab:shiftwidth=2:tabstop=2:smarttab: * * Data Differential YATL (i.e. libtest) library * * Copyright (C) 2012 Data Differential, http://datadifferential.com/ * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditi...
Java
// // text_recognizer.h // STR // // Created by vampirewalk on 2015/4/14. // Copyright (c) 2015年 mocacube. All rights reserved. // #ifndef __STR__text_recognizer__ #define __STR__text_recognizer__ #include <iostream> #include <string> #include <vector> #include <opencv2/text.hpp> #include <opencv2/core/utility.h...
Java
/* * ArrayEntryType.h * * Created on: Nov 14, 2012 * Author: Mitchell Wills */ #ifndef ARRAYENTRYTYPE_H_ #define ARRAYENTRYTYPE_H_ #include <stdlib.h> #include <stdio.h> #ifndef _WRS_KERNEL #include <stdint.h> #endif class ArrayEntryType; #include "ArrayData.h" #include "ComplexEntryTy...
Java
#!/usr/bin/env python import sys def inv(s): if s[0] == '-': return s[1:] elif s[0] == '+': return '-' + s[1:] else: # plain number return '-' + s if len(sys.argv) != 1: print 'Usage:', sys.argv[0] sys.exit(1) for line in sys.stdin: linesplit = line.strip().split() if len(linesplit) == 3: ...
Java
def test_default(cookies): """ Checks if default configuration is working """ result = cookies.bake() assert result.exit_code == 0 assert result.project.isdir() assert result.exception is None
Java
// Test for "sancov.py missing ...". // First case: coverage from executable. main() is called on every code path. // RUN: %clangxx_asan -fsanitize-coverage=func,trace-pc-guard %s -o %t -DFOOBAR -DMAIN // RUN: rm -rf %t-dir // RUN: mkdir -p %t-dir // RUN: cd %t-dir // RUN: %env_asan_opts=coverage=1:coverage_dir=%t-dir...
Java
# Copyright (c) 2014-2015 Google 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 source code must retain the above copyright notice, # this list of conditions and the ...
Java
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE78_OS_Command_Injection__char_environment_w32_spawnv_61b.c Label Definition File: CWE78_OS_Command_Injection.strings.label.xml Template File: sources-sink-61b.tmpl.c */ /* * @description * CWE: 78 OS Command Injection * BadSource: environment Read input from a...
Java
#region License Header // /******************************************************************************* // * Open Behavioral Health Information Technology Architecture (OBHITA.org) // * // * Redistribution and use in source and binary forms, with or without // * modification, are permitted provided that the f...
Java
/* * Copyright Matt Palmer 2011-2013, All rights reserved. * * This code is licensed under a standard 3-clause BSD license: * * 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 m...
Java
# `pub.dev` API for developers ## Stay informed This document describes the officially supported API of the `pub.dev` site. `pub.dev` may expose API endpoints that are available publicly, but unless they are documented here, we don't consider them as officially supported, and may change or remove them without notice....
Java
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; use app\models\general\GeneralLabel; /* @var $this yii\web\View */ /* @var $model app\models\RefPemohonJaringanAntarabangsa */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="ref-pemohon-jaringan-antarabangsa-form"> <p class="text-muted"><span style...
Java
#! /usr/bin/perl # # configure.pl (bootstrap cgixx) # Use on *nix platforms. # # cgixx CGI C++ Class Library # Copyright (C) 2002-2004 Isaac W. Foraker (isaac at noscience dot net) # All Rights Reserved # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that t...
Java
#!/usr/bin/env python # -*- mode: python; sh-basic-offset: 4; indent-tabs-mode: nil; coding: utf-8 -*- # vim: tabstop=4 softtabstop=4 expandtab shiftwidth=4 fileencoding=utf-8 # # Shell command # Copyright 2010, Jeremy Grosser <synack@digg.com> import argparse import os import sys import clusto from clusto import scr...
Java
/** * Copyright (c) 2013, impossibl.com * 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 cond...
Java
// // $Id$ package org.ductilej.tests; import org.junit.Test; import static org.junit.Assert.*; /** * Tests handling of varags with parameterized variable argument. Edge case extraordinaire! */ public class ParamVarArgsTest { public static interface Predicate<T> { boolean apply (T arg); } publ...
Java
package ga; import engine.*; import java.util.*; public class GAPopulation { /* Evolutionary parameters: */ public int size; // size of the population public int ngens; // total number of generations public int currgen; // current generation /* Crossover parameters */ int tournamentK; // size of tournament ...
Java
//=====================================================================// /*! @file @brief R8C LCD メイン @n for ST7567 SPI (128 x 32) @n LCD: Aitendo M-G0812P7567 @author 平松邦仁 (hira@rvf-rc45.net) @copyright Copyright (C) 2017 Kunihito Hiramatsu @n Released under the MIT license @n https://github.com/h...
Java
<?php namespace Application\Entity\Repository; use Doctrine\ORM\EntityRepository; Class RubricsRepository extends EntityRepository{ }
Java
{-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE NoImplicitPrelude #-} module Ircbrowse.View.Template where import Ircbrowse.View import Ircbrowse.Types.Import import qualified Text.Blaze.Html5 as H import Data.Text (Text) template :: AttributeValue -> Text -> Html -> Html -> Html te...
Java
<!-- This comment will put IE 6, 7 and 8 in quirks mode --> <!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"/> <title>eusci_a_uar...
Java
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" /> <meta name="viewport" content="width=device-width,initial-scale=1"> <meta ht...
Java
// Copyright 2021-present 650 Industries. All rights reserved. #import <Foundation/Foundation.h> #import <ABI44_0_0UMTaskManagerInterface/ABI44_0_0UMTaskConsumerInterface.h> NS_ASSUME_NONNULL_BEGIN @interface ABI44_0_0EXBackgroundRemoteNotificationConsumer : NSObject <ABI44_0_0UMTaskConsumerInterface> @property (no...
Java
<!DOCTYPE html> <!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]--> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Hodograph &mdash; MetPy 0.8</title> ...
Java
/* Document : mycss Created on : 8/06/2013, 09:43:46 AM Author : RobertoCarlos Description: Purpose of the stylesheet follows. */ .mydesing{ border: solid 2px #333; background-color: #0008cc; color: #e9322d; font-size: 20px; margin: 0 auto 0 auto; width: 1200px } ...
Java
// Copyright 2017 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 "third_party/blink/renderer/core/script/dynamic_module_resolver.h" #include "base/test/scoped_feature_list.h" #include "testing/gtest/include/gt...
Java
<?php namespace app\models; use Yii; /** * This is the model class for table "book". * * @property integer $id * @property string $title * @property string $published_date * * @property BookAuthor[] $bookAuthors * @property BookGenre[] $bookGenres */ class Book extends \yii\db\ActiveRecord { /** * ...
Java
-------------------------------------------------------------------------------- -- | -- Module : Graphics.Rendering.OpenGL.Raw.Compatibility31 -- Copyright : (c) Sven Panne 2015 -- License : BSD3 -- -- Maintainer : Sven Panne <svenpanne@gmail.com> -- Stability : stable -- Portability : portable -- ...
Java
<!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
<?php namespace app\models; use Yii; /** * This is the model class for table "content". * * @property integer $id * @property string $title * @property integer $moderation * @property integer $listsql_id * @property integer $parent_id * @property integer $grade_id * @property string $comment_TutorAboutPupil...
Java
<!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
# thingy.js a super aewesome buzzword framework
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_18) on Thu Jan 06 21:19:32 CET 2011 --> <TITLE> Uses of Package util </TITLE> <META NAME="date" CONTENT="2011-01-06"> <LINK REL ="stylesheet" TYPE=...
Java
module Scheme.DataType ( module Scheme.DataType.Misc, EvalError, ScmError, TryError, Expr(..), ScmCode(..), ScmFile, Var(..), Return(..), ReturnE, Name, AFunc, WAFunc, RFunc, Proc, Synt, Scm, runScm, ScmEnv, ScmStates, ScmRef, MetaInfo(..), Config(..), setConfig, setMSP, ...
Java
from unittest import TestCase from django.core.management import call_command class SendAiPicsStatsTestCase(TestCase): def test_run_command(self): call_command('send_ai_pics_stats')
Java
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE194_Unexpected_Sign_Extension__fgets_malloc_03.c Label Definition File: CWE194_Unexpected_Sign_Extension.label.xml Template File: sources-sink-03.tmpl.c */ /* * @description * CWE: 194 Unexpected Sign Extension * BadSource: fgets Read data from the console usi...
Java
// Copyright (c) 2012 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 "ash/system/settings/tray_settings.h" #include "ash/shell.h" #include "ash/system/power/power_status_view.h" #include "ash/system/tray/syste...
Java
var Turtle = function () { this.d = 0; this.x = 0; this.y = 0; this.rounding = false; this.invert = false; } Turtle.prototype.setX = function (val) { this.x = val; return this; } Turtle.prototype.setY = function (val) { this.y = val; return this; } Turtle.prototype.setDegree = functi...
Java
# Copyright (c) 2012 ARM Limited # All rights reserved. # # The license below extends only to copyright in the software and shall # not be construed as granting a license to any other intellectual # property including but not limited to intellectual property relating # to a hardware implementation of the functionality ...
Java
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Code Coverage for /var/www/html/Album/vendor/zendframework/zendframework/library/Zend/Loader/StandardAutoloader.php</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link href="css/bootstrap.min.css" rel="styles...
Java
<@row> <@columns> <@box color='success'> <@boxHeader title='#i18n{portal.users.create_attribute.pageTitleAttributeImage}' /> <@boxBody> <@tform action='jsp/admin/user/attribute/DoCreateAttribute.jsp' method='post'> <@input type='hidden' name='token' value='${token}' /> <@input type='h...
Java
// Copyright (c) 2012 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_RENDERER_CHROME_RENDER_THREAD_OBSERVER_H_ #define CHROME_RENDERER_CHROME_RENDER_THREAD_OBSERVER_H_ #include <memory> #include "base/c...
Java
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE121_Stack_Based_Buffer_Overflow__CWE805_struct_alloca_memcpy_82_bad.cpp Label Definition File: CWE121_Stack_Based_Buffer_Overflow__CWE805.label.xml Template File: sources-sink-82_bad.tmpl.cpp */ /* * @description * CWE: 121 Stack Based Buffer Overflow * BadSou...
Java
# -*- coding: utf-8 -*- """ Display a fortune-telling, swimming fish. Wanda has no use what-so-ever. It only takes up disk space and compilation time, and if loaded, it also takes up precious bar space, memory, and cpu cycles. Anybody found using it should be promptly sent for a psychiatric evaluation. Configuration ...
Java
[简体中文](README_ZH.md) # rawbuf - Scalable & Efficient Serialization Library # ![rawbuf logo](res/logo.png) `rawbuf` is a powerful tool kit used in object serialization and deserialization with **full automation** feature, all new design based on [YAS](https://github.com/jobs-github/yas). The design of rawbuf: ![des...
Java
/****************************************************************************/ /* */ /* Module: LegTrnaslationFuncs.h */ /* */ ...
Java
#ifndef APPS_SFDL_HW_V_INP_GEN_HW_H_ #define APPS_SFDL_HW_V_INP_GEN_HW_H_ #include <libv/libv.h> #include <common/utility.h> #include <apps_sfdl_gen/fannkuch_v_inp_gen.h> /* * Provides the ability for user-defined input creation */ class fannkuchVerifierInpGenHw : public InputCreator { public: fannkuchVerifierI...
Java
#!/bin/bash # # Run a shell command on all slave hosts. # # Environment Variables # # HADOOP_SLAVES File naming remote hosts. # Default is ${HADOOP_CONF_DIR}/slaves. # HADOOP_CONF_DIR Alternate conf dir. Default is ${HADOOP_HOME}/conf. # HADOOP_SLAVE_SLEEP Seconds to sleep between spawning remote command...
Java
/** * (c) 2017 TIBCO Software Inc. All rights reserved. * * Except as specified below, this software is licensed pursuant to the Eclipse Public License v. 1.0. * The details can be found in the file LICENSE. * * The following proprietary files are included as a convenience, and may not be used except pursuant ...
Java
/*- * Copyright (c) 2001 Atsushi Onoe * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting * 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 source code must ret...
Java
# -*- coding: utf-8 -*- # Generated by Django 1.11.16 on 2018-10-05 14:25 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [("elections", "0049_move_status")] operations = [ migrations.RemoveField(model_name="election", n...
Java
from __future__ import print_function import re import logging logging.basicConfig(level=logging.INFO) class Executor(object): def __init__(self, op_map): processed = {} for pattern, f in op_map.iteritems(): s = self._build_pattern_groups(pattern.lower()) processed[re.com...
Java
<!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
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta charset="utf-8" /> <title>statsmodels.tsa.vector_ar.var_model.VARProcess.acorr &#8212; statsmodels v0.10.0 documentation</title> <link rel="stylesheet" href="../_static/nature.css" type="text/css" /> <link rel="stylesheet" hre...
Java
/* * Created on Oct 18, 2004 * * TODO To change the template for this generated file go to * Window - Preferences - Java - Code Style - Code Templates */ package org.tolweb.tapestry; import java.util.Collection; import org.apache.tapestry.BaseComponent; import org.apache.tapestry.IRequestCycle; import org.tolweb...
Java
//---------------------------------------------------------------------------// //! //! \file MonteCarlo_ParticleState.cpp //! \author Alex Robinson //! \brief Basic particle state class definition. //! //---------------------------------------------------------------------------// // FRENSIE Includes #include "Mon...
Java
<?php /* * This file is part of Respect/Validation. * * (c) Alexandre Gomes Gaigalas <alexandre@gaigalas.net> * * For the full copyright and license information, please view the "LICENSE.md" * file that was distributed with this source code. */ namespace Respect\Validation\Rules; /** * @group rule * @cover...
Java
// Copyright 2014 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 "chrome/browser/chromeos/set_time_dialog.h" #include "base/metrics/user_metrics.h" #include "base/strings/string16.h" #include "chrome/common/ur...
Java
/* * GaussianKernel.java * * Created on September 25, 2004, 4:52 PM */ package jpview.graphics; /** * This class creates a kernel for use by an AffineTransformOp * * @author clyon */ public class GaussianKernel { private int radius = 5; private float sigma = 1; private float[] kernel...
Java
<?php /** * This file is part of the proophsoftware/event-machine. * (c) 2017-2019 prooph software GmbH <contact@prooph.de> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace ProophExample\Functiona...
Java
// Copyright 2016 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 ASH_COMMON_MATERIAL_DESIGN_MATERIAL_DESIGN_CONTROLLER_H_ #define ASH_COMMON_MATERIAL_DESIGN_MATERIAL_DESIGN_CONTROLLER_H_ #include "ash/ash_expor...
Java
// Copyright 2014 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_CHROMEOS_LOGIN_USERS_AVATAR_USER_IMAGE_LOADER_H_ #define CHROME_BROWSER_CHROMEOS_LOGIN_USERS_AVATAR_USER_IMAGE_LOADER_H_ #include ...
Java
//===-- MainLoopBase.h ------------------------------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
Java
\hypertarget{ChassisTurnRate_8cpp}{\section{framework/\-Chassis\-Turn\-Rate.cpp File Reference} \label{ChassisTurnRate_8cpp}\index{framework/\-Chassis\-Turn\-Rate.\-cpp@{framework/\-Chassis\-Turn\-Rate.\-cpp}} } \hyperlink{classChassisTurnRate}{Chassis\-Turn\-Rate} is a strictly defined type for specifying the turn r...
Java
Гость создан
Java
// Copyright 2014 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. package org.chromium.net.impl; import android.content.Context; import android.os.Build; import android.os.ConditionVariable; import android.os.Handler; i...
Java
/* * Copyright (C) 2007-2015 Frank Mertens. * * Use of this source is governed by a BSD-style license that can be * found in the LICENSE file. * */ #ifndef FLUXMETA_METAPROTOCOL_H #define FLUXMETA_METAPROTOCOL_H #include <flux/meta/MetaObject> namespace flux { namespace meta { /** \brief Duck-typed object pro...
Java
module Carto module Configuration def db_config @@db_config ||= YAML.load(File.read(db_config_file)).freeze end def app_config @@app_config ||= YAML.load_file(app_config_file).freeze end def frontend_version @@frontend_version ||= JSON::parse(File.read(Rails.root.join("package....
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_33) on Fri Jul 13 11:10:51 CEST 2012 --> <TITLE> Sample </TITLE> <META NAME="date" CONTENT="2012-07-13"> <LINK REL ="stylesheet" TYPE="text/css" HR...
Java
/* Copyright (C) 2002 Jean-Marc Valin */ /** @file speex_bits.h @brief Handles bit packing/unpacking */ /* 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...
Java
/*L * Copyright Oracle Inc * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/cadsr-cgmdr-nci-uk/LICENSE.txt for details. */ /* * eXist Open Source Native XML Database * Copyright (C) 2001-04 The eXist Project * http://exist-db.org * * This program is ...
Java
/* -- MAGMA (version 2.1.0) -- Univ. of Tennessee, Knoxville Univ. of California, Berkeley Univ. of Colorado, Denver @date August 2016 @generated from sparse-iter/control/magma_zutil_sparse.cpp, normal z -> s, Tue Aug 30 09:38:47 2016 @author Hartwig Anzt Utilitie...
Java
#!/usr/bin/env perl use strict; use warnings; use LWP::UserAgent; use JSON::PP; my $base = "http://gameai.skullspace.ca/api/"; sub failure { print("!! " . shift(@_) . "\n"); exit(1); } sub info { print("** " . shift(@_) . "\n"); } sub parse_card { my $abbr = shift(@_); my ...
Java
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta charset="utf-8" /> <title>statsmodels.robust.robust_linear_model.RLMResults.pvalues &#8212; statsmodels v0.10.2 documentation</title> <link rel="stylesheet" href="../_static/nature.css" type="text/css" /> <link rel="stylesheet...
Java
// $Id$ // // Copyright (C) 2007-2013 Greg Landrum // // @@ All Rights Reserved @@ // This file is part of the RDKit. // The contents are covered by the terms of the BSD license // which is included in the file license.txt, found at the root // of the RDKit source tree. // #include <GraphMol/RDKitBase.h> #inclu...
Java
--- id: 5900f3bc1000cf542c50fecf title: 'Problema 80: Expansão de algarismos da raiz quadrada' challengeType: 5 forumTopicId: 302194 dashedName: problem-80-square-root-digital-expansion --- # --description-- É do conhecimento geral que se a raiz quadrada de um número natural não é um número inteiro, então é irraciona...
Java
/* ---------------------- BeDC License ---------------------- Copyright 2002, The BeDC team. 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 source code must retain the above copy...
Java
<?php /** * Zend Framework (http://framework.zend.com/) * * @link http://github.com/zendframework/zf2 for the canonical source repository * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License * @pack...
Java
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model app\models\HalfproductSearch */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="halfproduct-search"> <?php $form = ActiveForm::begin([ 'action' => ['index'], 'method' => 'get', ]); ?> ...
Java
WakaTime# ![License](https://img.shields.io/github/license/mashape/apistatus.svg) [![Build status](https://ci.appveyor.com/api/projects/status/tyjwxie7v0herunj/branch/master?svg=true)](https://ci.appveyor.com/project/salaros/wakatime-sharp/branch/master) ![GitHub top language](https://img.shields.io/github/languages/to...
Java
using System.Collections; using System.Collections.Generic; using UnityEngine; public class AudioHurtHandler : MonoBehaviour { // Static reference to singleton object public static AudioHurtHandler instance; public AudioClip[] myClip; // Use this for initialization void Start () { instance = gameObject.G...
Java
<?php namespace estvoyage\risingsun\comparison\unary\container\payload; use estvoyage\risingsun\{ container, comparison, ointeger, block }; class disjunction implements comparison\unary\container\payload { private $operand, $recipient ; function __construct($operand, comparison\recipient $recipient) { $...
Java
<?php namespace UForm\Form\Element; use UForm\Filtering\FilterChain; use UForm\Form\Element; /** * Element that intends to contain other elements. * It only aims to be a common parent for Group and Collection * * In some ways it is opposed to the Primary element that cant contain other elements * * @see UForm\...
Java
# -*- coding: utf-8 -*- """ Created on Thu Jan 03 10:16:39 2013 @author: Grahesh """ import pandas from qstkutil import DataAccess as da import numpy as np import math import copy import qstkutil.qsdateutil as du import datetime as dt import qstkutil.DataAccess as da import qstkutil.tsutil as tsu imp...
Java
<?php include_once 'dynamic_db_connection.php'; /** * This is the model class for table "THEME_MANAGEMENT". * * The followings are the available columns in table 'THEME_MANAGEMENT': * @property string $PID * @property string $THEME */ class Theme_Management extends CActiveRecord { /** * Returns the static mode...
Java
# Makefile for Sphinx documentation # # You can set these variables from the command line. SPHINXOPTS = SPHINXBUILD = sphinx-build PAPER = BUILDDIR = build # User-friendly check for sphinx-build ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1) $(error The '$(SPHINXBUILD)' command wa...
Java
/* * Copyright (c) 2012 The Native Client 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 "native_client/src/include/portability_string.h" #include "native_client/src/include/nacl_macros.h" #include "native_client/src/i...
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 "platform/fonts/shaping/RunSegmenter.h" #include "platform/fonts/ScriptRunIterator.h" #include "platform/fonts/SmallCapsIterator.h" #include "pl...
Java
{% macro vital(addon, type) %} <div class="vital"> {% if type in ('updated', 'created') %} <span class="updated"> {% if type == 'updated' %} {# L10n: {0} is a date. #} {{ _('Updated {0}')|f(addon.last_updated|datetime) }} {% else %} {# L10n: {0} is a date. #} ...
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 (1.8.0_101) on Sat Aug 20 05:41:48 EDT 2016 --> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Uses of Class org.apache.so...
Java
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width,initial-scale=1"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <meta name="lang:clipboard.copy" content="Copy to clipboard"> <meta name="la...
Java
<!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
<!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="X-UA-Compatible" content="IE=Edge" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <t...
Java
<?php return [ 'class' => 'yii\db\Connection', 'dsn' => 'mysql:host=localhost;dbname=campus_rec', 'username' => 'root', 'password' => '', 'charset' => 'utf8', ];
Java
require_dependency 'spree/calculator' module Spree class PaymentCalculator::PerItem < Calculator preference :amount, :decimal, :default => 0 attr_accessible :preferred_amount def self.description I18n.t(:flat_rate_per_item) end def compute(object=nil) return 0 if object.nil? ...
Java
<?php /** * Zend Framework * * LICENSE * * This source file is subject to the new BSD 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://framework.zend.com/license/new-bsd * If you did not receive a copy of the license an...
Java
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width,initial-scale=1"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <meta name="lang:clipboard.copy" content="Copy to clipboard"> <meta name="la...
Java