answer
stringlengths
15
1.25M
#ifndef IN_OUT_PARAMETER_H #define IN_OUT_PARAMETER_H #include "UnaryOperator.h" #include "ast-decl.h" SWALLOW_NS_BEGIN class SWALLOW_EXPORT InOutParameter : public UnaryOperator { public: InOutParameter(); }; SWALLOW_NS_END #endif//IN_OUT_PARAMETER_H
using NUnit.Framework; using <API key>.Infrastructure.ContainerExtensions; using <API key>.Common; namespace <API key>.UnitTests.<API key>.Infrastructure { [TestFixture(Category=TestCategory.UnitTests)] public class <API key> { [Test, RequiresSTA] public void <API key>() { ...
#include "berryCTKPluginUtils.h" #include "<API key>.h" #include "<API key>.h" #include "berryLog.h" #include <ctkServiceTracker.h> namespace berry { const QString CTKPluginUtils::PROP_CONFIG_AREA = "blueberry.configuration.area"; const QString CTKPluginUtils::PROP_INSTANCE_AREA = "blueberry.instance.area"; CTKPluginUt...
#include <utility> #include "base/bind.h" #include "base/run_loop.h" #include "base/test/metrics/histogram_tester.h" #include "base/time/time.h" #include "chrome/browser/ash/arc/arc_util.h" #include "chrome/browser/ash/arc/fileapi/<API key>.h" #include "chrome/browser/ash/arc/fileapi/<API key>.h" #include "chrome/brows...
package org.motechproject.osgi.web; import org.osgi.framework.BundleActivator; import org.osgi.framework.BundleContext; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.Map; public class Activator implements BundleActivator { private static Logger logger = LoggerFactory.getLogger(Activator....
/* TEMPLATE GENERATED TESTCASE FILE Filename: <API key>.cpp Label Definition File: <API key>.label.xml Template File: sources-sink-72a.tmpl.cpp */ /* * @description * CWE: 36 Absolute Path Traversal * BadSource: file Read input from a file * GoodSource: Full path and file name * Sinks: ofstream * BadSink : Ope...
using System.Collections.Generic; using ServiceStack.Html; using ServiceStack.WebHost.Endpoints.Support.Markdown; using ServiceStack.WebHost.Endpoints; namespace ServiceStack.Markdown { public abstract class MarkdownViewBase<T> : MarkdownViewBase { private HtmlHelper<T> html; public new HtmlHelp...
#include <time.h> #if defined(WEBRTC_WIN) #define WIN32_LEAN_AND_MEAN #include <windows.h> #include <winsock2.h> #include <ws2tcpip.h> #define SECURITY_WIN32 #include <security.h> #endif #include <algorithm> #include "webrtc/base/arraysize.h" #include "webrtc/base/base64.h" #include "webrtc/base/checks.h" #include "web...
#include "content/gpu/gpu_child_thread.h" #include "base/bind.h" #include "base/lazy_instance.h" #include "base/threading/worker_pool.h" #include "build/build_config.h" #include "content/child/child_process.h" #include "content/child/thread_safe_sender.h" #include "content/common/gpu/<API key>.h" #include "content/comm...
#if defined( INC_ALL ) #include "crypt.h" #include "context.h" #include "sha.h" #else #include "crypt.h" #include "context/context.h" #include "crypt/sha.h" #endif /* Compiler-specific includes */ #define HASH_STATE_SIZE sizeof( SHA_CTX ) #ifndef CONFIG_NO_SELFTEST /* Test the SHA output against the ...
#include "media/audio/<API key>.h" #include "base/bind.h" #include "base/bind_helpers.h" #include "base/compiler_specific.h" #include "base/metrics/histogram.h" #include "base/<API key>.h" #include "base/time/time.h" #include "build/build_config.h" #include "media/audio/audio_io.h" #include "media/audio/<API key>.h" #i...
title: Git Pull Vs Git Fetch These two commands are regularly used by git users. Let's see the difference between both commands. For the sake of context, it's worth remembering we're probably working in a clone repo. What's a clone? simply a duplicate of another repository. It is basically getting your own copy of some...
package org.knopflerfish.framework; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import org.osgi.framewo...
#include "stdafx.h" #include "ODBCInterface.h" ODBCInterface::ODBCInterface() { __ENTER_FUNCTION mConnected = FALSE ; mAffectCount = -1; mResult = SQL_SUCCESS ; hEnv = 0 ; hStmt = 0 ; hDbc = 0 ; memse...
# -*- coding: utf-8 -*- """Python 2/3 compatibility module.""" import sys PY2 = int(sys.version[0]) == 2 if PY2: text_type = unicode # noqa binary_type = str string_types = (str, unicode) # noqa unicode = unicode # noqa basestring = basestring # noqa else: text_type = str binary_type = b...
#ifndef DragData_h #define DragData_h #include "core/CoreExport.h" #include "core/page/DragActions.h" #include "platform/geometry/IntPoint.h" #include "platform/heap/Handle.h" #include "wtf/Forward.h" #include "wtf/HashMap.h" #include "wtf/Vector.h" namespace blink { class DataObject; class DocumentFragment; class Loca...
/* * @description Expression is always true via if (true_expression) * * */ #include "std_testcase.h" #ifndef OMITBAD void <API key>() { int intRand1 = 30; int intRand2 = 31; /* FLAW: This expression is always true */ if (intRand1 == (intRand2 - 1)) { printLine("Always prints"); } } #...
// ASM: a very small and fast Java bytecode manipulation framework // modification, are permitted provided that the following conditions // are met: // documentation and/or other materials provided with the distribution. // contributors may be used to endorse or promote products derived from // AND ANY EXPRESS OR...
// modification, are permitted provided that the following conditions are // met: // the distribution. // * Neither the name of John Haddon nor the names of // any other contributors to this software may be used to endorse or // promote products derived from this software without specific pr...
/** * @file <API key>.h * Provides checks if mission is feasible given the navigation capabilities * * @author Lorenz Meier <lm@inf.ethz.ch> * @author Thomas Gubler <thomasgubler@student.ethz.ch> * @author Sander Smeets <sander@droneslab.com> * @author Nuno Marques <nuno.marques@dronesolutions.io> */ #pragma on...
#ifndef <API key> #define <API key> #include <string> #include "base/basictypes.h" #include "base/files/file_path.h" #include "content/public/common/appcache_info.h" namespace net { class URLRequest; } namespace content { // Defines constants, types, and abstract classes used in the main // process and in child process...
#include "seccomon.h" #include "cert.h" #include "keyhi.h" #include "ssl.h" #include "sslimpl.h" #include "sslproto.h" #include "nspr.h" #include "private/pprio.h" #ifndef NO_PKCS11_BYPASS #include "blapi.h" #endif #include "nss.h" #define SET_ERROR_CODE /* reminder */ static const sslSocketOps ssl_default_ops = { ...
# -*- coding: utf-8 -*- """URLs for all views.""" from django.urls import path from djmaidez.contact import views urlpatterns = [ path('form/', views.form, name='form'), path('populate/', views.populate, name='populate'), path('save/', views.save, name='save'), path('test/', views.test, name='test'), ]
package edu.utah.sci.cyclist.core.presenter; import javafx.collections.FXCollections; import javafx.collections.ObservableList; import edu.utah.sci.cyclist.core.event.notification.CyclistNotification; import edu.utah.sci.cyclist.core.event.notification.<API key>; import edu.utah.sci.cyclist.core.event.notification.<API...
"""Here is defined the IndexArray class.""" from bisect import bisect_left, bisect_right from .node import NotLoggedMixin from .carray import CArray from .earray import EArray from . import indexesextension # Declarations for inheriting class CacheArray(indexesextension.CacheArray, NotLoggedMixin, EArray): """Conta...
"use strict"; var ExampleImage = require('../helpers/ExampleImage'); var <API key> = require('../helpers/<API key>'); var FixedDataTable = require('fixed-data-table'); var React = require('react'); var createReactClass = require('create-react-class'); var Column = FixedDataTable.Column; var PropTypes = require('prop-ty...
/* TEMPLATE GENERATED TESTCASE FILE Filename: <API key>.cpp Label Definition File: CWE401_Memory_Leak.c.label.xml Template File: <API key>.tmpl.cpp */ /* * @description * CWE: 401 Memory Leak * BadSource: calloc Allocate data using calloc() * GoodSource: Allocate data on the stack * Sinks: * GoodSink: call fre...
'use strict'; const React = require('react'); const { StyleSheet, View, Text, TouchableHighlight, Alert, } = require('react-native'); const {examples: SharedAlertExamples} = require('./AlertExample'); import type {<API key>} from '../../types/RNTesterTypes'; type Props = $ReadOnly<{||}>; type State = {|prompt...
#ifndef <API key> #define <API key> #include <string> #include <vector> #include "base/basictypes.h" #include "base/compiler_specific.h" #include "base/memory/ref_counted.h" #include "base/memory/scoped_ptr.h" #include "base/synchronization/lock.h" #include "media/cdm/aes_decryptor.h" #include "media/cdm/ppapi/external...
#region Using directives #endregion namespace Platform.Network.ExtensibleServer.CommandServer { public interface ITextConnection { void Flush(); string ReadTextBlock(); void WriteTextBlock(string block); void WriteTextBlock(string format, params object[] args); } }
<?php declare(strict_types=1); namespace Joindin\Api\Exception; use Teapot\StatusCode\Http; final class <API key> extends \RuntimeException { private const MESSAGE = 'You must be logged in to perform this operation.'; public static function <API key>(string $message = null): self { return new static...
<?php namespace ApplicationTest\Integration\Controller; use Application\Controller; use ApplicationTest\Integration\Util\Bootstrap; use User\Mapper\User; use Zend\Http; use Zend\Paginator; use Zend\Test\PHPUnit\Controller\<API key>; use ZfModule\Mapper; class IndexControllerTest extends <API key> { protected functi...
<?php class <API key> implements <API key> { /** * Generate a partial report for a single processed file. * * Function should return TRUE if it printed or stored data about the file * and FALSE if it ignored the file. Returning TRUE indicates that the file and * its data should be counted i...
#include "test/core/util/test_config.h" #include "test/cpp/util/cli_call.h" #include "test/cpp/util/echo.grpc.pb.h" #include <grpc++/channel_arguments.h> #include <grpc++/channel_interface.h> #include <grpc++/client_context.h> #include <grpc++/create_channel.h> #include <grpc++/credentials.h> #include <grpc++/<API key>...
require File.expand_path(File.join(File.dirname(__FILE__), 'helper')) # reasons.rb # test decision reasons def explain solver solver.each_to_install { |s| puts "Install } solver.each_to_remove { |s| puts "Remove } solver.each_decision do |d| puts "Decision: #{d.solvable}: #{d.op_s} (#{d.ruleinfo})...
local mkstr = ZO_CreateStringId local SI = BankerShutUp.SI -- Crafting mkstr(SI.SHUTUP_BLACKSMITH, "Halt die Klappe Gendry") mkstr(SI.SHUTUP_ALCH, "Halt die Klappe Heisenberg") mkstr(SI.SHUTUP_CLOTH, "Halt die Klappe Rüstung") mkstr(...
{-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE NoImplicitPrelude #-} {-# LANGUAGE ScopedTypeVariables #-} {-# LANGUAGE TypeFamilies #-} {-# LANGUAGE OverloadedStrings #-} module Test.Foundation.String ( testStringRefs ) where -- import Control.Monad (replicateM) import Foundation import Foundation...
// <API key>.h #import "<API key>.h" @interface <API key> : <API key> @end
<h1>Event Pages</h1> <p> Event pages are very similar to <a href="background_pages.html">background pages</a>, with one important difference: event pages are loaded only when they are needed. When the event page is not actively doing something, it is unloaded, freeing memory and other system resources. </p> {{?is_apps}...
# 'make depend' uses makedepend to automatically generate dependencies # (dependencies are added to end of Makefile) # 'make' build executable file 'mycc' # 'make clean' removes all .o and executable files SRCDIR=. OBJDIR=. # define custom target name TARGNAME=lcmmidi-plane2 # define the C source ...
shared :tempfile_unlink do |cmd| describe "Tempfile##{cmd}" do before(:each) do @tempfile = Tempfile.new("specs") end after(:each) do @tempfile.close end ruby_bug "", "1.8.6" do it "unlinks self" do File.should_receive(:unlink).with(@tempfile.path) @tempfile.send(...
{-# LANGUAGE OverloadedStrings #-} module Web.Server ( runServer , formalizerApp -- Exposed for testing. ) where import Network.Wai.Middleware.RequestLogger import Network.Wai.Middleware.Static import Web.Actions as Action import Web.Spock.Saf...
// Generated by CoffeeScript 2.6.1 // # `nikita.ssh.keygen` // Generates keys for use by SSH protocol version 2. // ## Example // Force the generation of a key compatible with SSH2. For example in OSX Mojave, // the default export format is RFC4716. // const {$status} = await nikita.tools.ssh.keygen({ // bits: 2048, ...
<?php /** * EN-Revision: 16.Jul.2013 */ return array( '' => array('plural_forms' => 'nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);'), // Zend\I18n\Validator\Alnum "Invalid type given. String, integer or float expected" => "Неправильний тип даних. Зн...
/* TEMPLATE GENERATED TESTCASE FILE Filename: <API key>.c Label Definition File: <API key>.label.xml Template File: sources-sink-54b.tmpl.c */ /* * @description * CWE: 121 Stack Based Buffer Overflow * BadSource: Initialize data as a large string * GoodSource: Initialize data as a small string * Sink: snprintf *...
// Use of this source code is governed by a BSD-style // This file contains the implementation of the 'gomovepkg' command // whose main function is in golang.org/x/tools/cmd/gomovepkg. package rename // TODO(matloob): // - think about what happens if the package is moving across version control systems. // - think abou...
<?xml version="1.0" encoding="ascii"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd"> <html xmlns="http: <head> <title>PyQt4.QtGui.QPainter.RenderHints</title> <link rel="stylesheet" href="epydoc.css" type="text/css" /> <script type="text/javascript" src="e...
--[er]create a vclass with condition 'numberic auto_increment not null' create vclass vxoo ( id numberic auto_increment , title varchar(100)); drop vclass vxoo;
package edu.wpi.first.wpilibj.networktables; import edu.wpi.first.wpilibj.tables.*; import java.io.File; import java.io.InputStream; import java.io.OutputStream; import java.io.FileOutputStream; import java.io.IOException; import java.nio.ByteBuffer; public class NetworkTablesJNI { static boolean libraryLoaded = fals...
/*! @file ilu_dpivotL.c * \brief Performs numerical pivoting * * <pre> * -- SuperLU routine (version 4.0) -- * Lawrence Berkeley National Laboratory * June 30, 2009 * </pre> */ #include <math.h> #include <stdlib.h> #include "slu_ddefs.h" #ifndef SGN #define SGN(x) ((x)>=0?1:-1) #endif int ilu_dpivotL( const...
""" Tests for the core module. """ import itertools from contextlib import nullcontext from astropy.modeling.models import Gaussian1D, Gaussian2D from astropy.utils.exceptions import AstropyUserWarning import numpy as np from numpy.testing import assert_allclose import pytest from ..gaussian import centroid_1dg, centro...
package org.hisp.dhis.dxf2.events.event; import org.hisp.dhis.scheduling.JobConfiguration; import org.hisp.dhis.security.<API key>; import org.hisp.dhis.dxf2.common.ImportOptions; import java.util.List; /** * @author Morten Olav Hansen <mortenoh@gmail.com> */ public class ImportEventsTask extends <API key> { ...
<?php /* vim: set expandtab softtabstop=4 tabstop=4 shiftwidth=4: */ // | PHP Version 4 | // | available at through the world-wide-web at | // | obtain it through the world-wide-web, please send a note to | // | Authors: Chuck Hag...
using Orchard.ContentManagement.Metadata.Settings; using Orchard.ContentManagement.MetaData; using Orchard.Data.Migration; namespace Orchard.Widgets { public class Migrations : DataMigration { <API key> <API key>; public Migrations(<API key> <API key>) { <API key> = <API key>...
import os def get_package_data(): paths = [os.path.join('data', '*.json')] return {'astroquery.sdss': paths}
<!DOCTYPE HTML PUBLIC "- <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.8.0_77) on Sun May 08 11:38:48 PDT 2016 --> <title>FactorsResponse (saRestApi-sdk 1.0.0 API)</title> <meta name="date" content="2016-05-08"> <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="S...
// Code generated by "bitstringer -type=BranchSampleType"; DO NOT EDIT package perffile import "strconv" func (i BranchSampleType) String() string { if i == 0 { return "0" } s := "" if i&BranchSampleAbortTX != 0 { s += "AbortTX|" } if i&BranchSampleAny != 0 { s += "Any|" ...
#include "gin/converter.h" #include "v8/include/v8.h" using v8::ArrayBuffer; using v8::Boolean; using v8::External; using v8::Function; using v8::Handle; using v8::Integer; using v8::Isolate; using v8::Number; using v8::Object; using v8::String; using v8::Value; namespace gin { Handle<Value> Converter<bool>::ToV8(Isola...
package gov.hhs.fha.nhinc.docretrieve.aspect; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertNull; import static org.junit.Assert.assertTrue; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; import gov.hhs.fh...
<?php use yii\helpers\Html; use yii\grid\GridView; /* @var $this yii\web\View */ /* @var $searchModel backend\models\DialogsSearch */ /* @var $dataProvider yii\data\ActiveDataProvider */ $this->title = Yii::t('app', 'Dialogs'); $this->params['breadcrumbs'][] = $this->title; ?> <div class="dialogs-index"> <h1><?= Ht...
// <auto-generated> // This code was generated by a tool. // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> namespace Cuyahoga.Modules.LanguageSwitcher { <summary> LanguageSwitcher class. </summary> <remarks> Auto-ge...
<?php declare(strict_types=1); namespace PHPUnit\Util\Xml; use ArrayIterator; use Countable; use DOMNode; use DOMNodeList; use IteratorAggregate; /** * @internal This class is not covered by the backward compatibility promise for PHPUnit */ final class SnapshotNodeList implements Countable, IteratorAggregate { /*...
<?php class Route extends CActiveRecord { /** * The followings are the available columns in table 'tbl_post': * @var integer $id * @var string $title * @var string $content * @var string $tags * @var integer $status * @var integer $create_time * @var integer $update_time ...
/* * repo_rpmdb * * convert rpm db to repo * */ #include <sys/types.h> #include <sys/stat.h> #include <limits.h> #include <fcntl.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <assert.h> #include <stdint.h> #include <errno.h> #include <rpm/rpmio.h> #include <rpm/rpmpgp.h...
<!doctype html> <html> <head> <title><API key> - setup</title> <script src="../../bower_components/webcomponentsjs/webcomponents-lite.js"></script> <script src="../../bower_components/<API key>/browser.js"></script> <script src="../../bower_components/iron-test-helpers/test-helpers.js"></script> <sc...
'use strict'; angular.module("ngLocale", [], ["$provide", function ($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ "[AM]", "[PM]" ...
#include "gpu_rasterizer.h" #include <string> #include <utility> #include "flutter/common/threads.h" #include "flutter/glue/trace_event.h" #include "flutter/shell/common/platform_view.h" #include "flutter/shell/common/shell.h" #include "flutter/shell/common/picture_serializer.h" #include "mojo/public/cpp/system/data_pi...
#include "content/browser/service_worker/<API key>.h" #include <string> #include <vector> #include "base/profiler/scoped_tracker.h" #include "base/trace_event/trace_event.h" #include "content/browser/service_worker/<API key>.h" #include "content/browser/service_worker/<API key>.h" #include "content/browser/service_work...
#!/usr/bin/env python import os from setuptools import setup setup(name='pymarkdown', version='0.1.4', description='Evaluate code in markdown', url='http://github.com/mrocklin/pymarkdown', author='Matthew Rocklin', author_email='mrocklin@gmail.com', license='BSD', keywords='mar...
/* TEMPLATE GENERATED TESTCASE FILE Filename: <API key>.c Label Definition File: CWE401_Memory_Leak.c.label.xml Template File: sources-sinks-66b.tmpl.c */ /* * @description * CWE: 401 Memory Leak * BadSource: malloc Allocate data using malloc() * GoodSource: Allocate data on the stack * Sinks: * GoodSink: call...
package org.rti.webgenome.util; import java.util.Properties; import java.io.FileInputStream; import java.io.InputStream; import java.io.IOException; import org.apache.log4j.Logger; import org.rti.webgenome.core.<API key>; /** * Contains general utility methods used by multiple classes. */ public final class SystemUti...
""" Serialization ``django.core.serializers`` provides interfaces to converting Django ``QuerySet`` objects to and from "flat" data (i.e. strings). """ from decimal import Decimal from django.db import models class <API key>(models.Manager): def get_by_natural_key(self, kind, name): return self.get(kind=kin...
package net.sourceforge.pmd.lang.dfa; import java.util.ArrayList; import java.util.BitSet; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.StringTokenizer; import net.sourceforge.pmd.lang.ast.Node; /** * @author raik * <p/> * Each data flow contains a set of Da...
package gov.nih.nci.ess.ae.service.aeadvancedquery.client; import java.io.InputStream; import java.rmi.RemoteException; import javax.xml.namespace.QName; import org.apache.axis.EngineConfiguration; import org.apache.axis.client.AxisClient; import org.apache.axis.client.Stub; import org.apache.axis.configuration.FilePro...
/* TEMPLATE GENERATED TESTCASE FILE Filename: <API key>.c Label Definition File: <API key>.label.xml Template File: sources-sinks-54c.tmpl.c */ /* * @description * CWE: 319 Cleartext Transmission of Sensitive Information * BadSource: listen_socket Read the password using a listen socket (server side) * GoodSource: ...
#ifndef <API key> #define <API key> #include "base/callback.h" #include "content/common/content_export.h" #include "mojo/public/cpp/bindings/pending_receiver.h" #include "mojo/public/cpp/bindings/receiver.h" #include "third_party/blink/public/mojom/worker/<API key>.mojom.h" #include "url/origin.h" namespace content { c...
using System; using System.Collections; using System.Collections.Generic; using System.Threading; namespace OpenMetaverse { public sealed class WrappedObject<T> : IDisposable where T : class { private T _instance; internal readonly ObjectPoolSegment<T> _owningSegment; internal readonly O...
.matte-Resizer { display: inline-block; } .<API key> { position: absolute; border: 1px solid black; } .<API key> { position: absolute; width: 7px; height: 7px; border: 1px solid black; -moz-border-radius: 4px; border-radius: 4px; background: white; } .<API key>:hover { width:...
var path = require( 'path' ); exports.input = path.resolve( __dirname, 'src' ); exports.output = path.resolve( __dirname, 'dist' ); // var moduleEntries = 'html,htm,phtml,tpl,vm,js'; // var pageEntries = 'html,htm,phtml,tpl,vm'; exports.getProcessors = function () { var jsProcessor = new JsCompressor(); return ...
# Powered by the Bokeh Development Team. # Boilerplate from __future__ import absolute_import, division, print_function, unicode_literals import logging log = logging.getLogger(__name__) # Imports # Standard library imports import json from warnings import warn from uuid import uuid4 # External imports # Bokeh imports ...
#Stage 2 Update (Python 3) import datetime from django.test import TestCase from django.core.exceptions import <API key> from dynamic_scraper.utils.scheduler import Scheduler class SchedulerTest(TestCase): def <API key>(self): conf_dict_str = '\ "MIN_TIME" ---- 15,\n\ "MAX_TIME": 10080,\n\ "<API key>": 10,\...
<?php // Protocol Buffers - Google's data interchange format // modification, are permitted provided that the following conditions are // met: // in the documentation and/or other materials provided with the // distribution. // * Neither the name of Google Inc. nor the names of its // contributors may be used to en...
// modification, are permitted provided that the following conditions are // met: // in the documentation and/or other materials provided with the // distribution. // * Neither the name of Google Inc. nor the names of its // contributors may be used to endorse or promote products derived from // "AS IS" AND ANY EXP...
#include "chrome/browser/ui/views/tab_contents/<API key>.h" #include "chrome/browser/ui/view_ids.h" #include "chrome/browser/ui/views/tab_contents/<API key>.h" #include "chrome/browser/ui/views/tab_contents/<API key>.h" #include "content/public/browser/web_contents.h" #include "ui/aura/window.h" #include "ui/base/acces...
"""Write back all data it receives.""" import sys data = sys.stdin.read(1) while data: sys.stdout.write(data) sys.stdout.flush() data = sys.stdin.read(1) sys.stderr.write("byebye") sys.stderr.flush()
#!/usr/bin/env python from dingus import Dingus, DingusTestCase, DontCare import nose.tools as nose_tools import sys import socket from stompy import simple from stompy.simple import Client, TransactionError class <API key>(DingusTestCase(Client, exclude=['TransactionError', 'Empty'])): def setup(self): ...
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; use app\commands\MainFunctions; /* @var $this yii\web\View */ /* @var $model common\models\StageRepairPart */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="<API key>"> <?php $form = ActiveForm::begin(); ?> <?= $form->field($model, 'repairPartUuid'...
from __future__ import unicode_literals import copy from dateutil.relativedelta import relativedelta import six from dash.utils import get_month_range from django import forms from django.forms.forms import <API key> from django.utils import timezone from django.utils.translation import ugettext_lazy as _ from . import...
#ifndef __JUNZIP_H #define __JUNZIP_H #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ #include <stdint.h> // If you don't have stdint.h, the following two lines should work for most 32/64 bit systems // typedef unsigned int uint32_t; // typedef unsigned short uint16_t; typedef struct JZFile JZFile; struct JZFi...
/* TEMPLATE GENERATED TESTCASE FILE Filename: <API key>.cpp Label Definition File: <API key>.pointer.label.xml Template File: sources-sink-67b.tmpl.cpp */ /* * @description * CWE: 590 Free Memory Not on Heap * BadSource: placement_new Data buffer is declared on the stack * GoodSource: Allocate memory on the heap *...
{% extends "speakers/base.html" %} {% load timezone_filters %} {% load thumbnail %} {% block body_class %}full schedule{% endblock %} {% block content %} <h1>Speaker Profile</h1> <h2>{{ speaker.name }}</h2> {% if speaker.photo %} {% thumbnail speaker.photo "128" as speakerphoto %} <div c...
package org.javacc.parser; import java.io.*; import java.util.ArrayList; import java.util.Enumeration; import java.util.HashMap; import java.util.Hashtable; import java.util.Iterator; import java.util.List; import java.util.Map; import org.javacc.utils.JavaFileGenerator; import static org.javacc.parser.JavaCCGlobals.*;...
#include "world.h" #include "platformer/resources/animation.h" #include "platformer/resources/background.h" #include "platformer/resources/camera.h" #include "platformer/resources/collisions.h" #include "platformer/resources/control.h" #include "platformer/script/script.h" #include "util/debug.h" #include "util/file-sy...
#ifndef InterpolationType_h #define InterpolationType_h #include "core/animation/InterpolationValue.h" #include "core/animation/Keyframe.h" #include "core/animation/<API key>.h" #include "core/animation/<API key>.h" #include "core/animation/PropertyHandle.h" #include "core/animation/<API key>.h" #include "platform/heap...
package info.tregmine.commands; import info.tregmine.Tregmine; import info.tregmine.api.GenericPlayer; import info.tregmine.database.DAOException; import info.tregmine.database.IContext; import info.tregmine.database.IPlayerDAO; import static org.bukkit.ChatColor.AQUA; import static org.bukkit.ChatColor.RED; public cla...
#include "config.h" #include "modules/app_banner/<API key>.h" #include "bindings/core/v8/ScriptPromise.h" #include "core/dom/DOMException.h" #include "core/dom/ExceptionCode.h" #include "modules/app_banner/<API key>.h" namespace blink { <API key>::<API key>() { } <API key>::<API key>(const AtomicString& name, const Str...
from .settings import <API key> from django.utils.encoding import smart_str from hashlib import sha1 from mediagenerator.settings import MEDIA_DEV_MODE from mediagenerator.utils import load_backend, find_file, read_text_file import os import time class Filter(object): takes_input = True def __init__(self, **kwa...
<?php namespace plugins\locale; use Yii; use yii\base\Behavior; use yii\web\Application; /** * Class LocaleBehavior * @package common\behaviors */ class LocaleBehavior extends Behavior { /** * @var string */ public $cookieName = '_locale'; /** * @var bool */ public $<API key> = tr...
package com.ericsson.research.trap.utils; public class StringUtilImpl extends StringUtil { StringUtilImpl() {} public String[] doSplit(String s, char c) { return s.split(Character.toString(c)); } }
package vtctld import ( "flag" "sync" "time" log "github.com/golang/glog" "github.com/youtube/vitess/go/vt/tabletserver/tabletconn" "github.com/youtube/vitess/go/vt/topo" "golang.org/x/net/context" querypb "github.com/youtube/vitess/go/vt/proto/query" topodatapb "github.com/youtube/v...