text
stringlengths
3
1.05M
<?xml version='1.0' encoding='UTF-8' standalone='no'?> <doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.7.6.1"> <compounddef id="ever__circling__iterator_8hpp" kind="file"> <compoundname>ever_circling_iterator.hpp</compoundname> <includes l...
typedef const struct __CFString * CFStringRef; #define CFSTR __builtin___CFStringMakeConstantString void f() { (void)CFStringRef(CFSTR("Hello")); } void a() { __builtin_va_list x, y; ::__builtin_va_copy(x, y); }
namespace boost { namespace xpressive { namespace detail { /////////////////////////////////////////////////////////////////////////////// // optional_matcher template<typename Xpr, typename Greedy> struct optional_matcher : quant_style<quant_variable_width, unknown_width::value, Xpr::pure> {...
package git4idea.push; import com.intellij.dvcs.push.PushSpec; import com.intellij.dvcs.push.PushSupport; import com.intellij.openapi.extensions.Extensions; import com.intellij.openapi.util.Condition; import com.intellij.openapi.util.Trinity; import com.intellij.openapi.vcs.AbstractVcsHelper; import com.intellij.test...
module Mongoid module Relations module Builders module Embedded class One < Builder # Builds the document out of the attributes using the provided # metadata on the relation. Instantiates through the factory in order # to make sure subclasses and allocation are used if...
package com.leandronunes85.lfe; import com.github.javaparser.JavaParser; import com.github.javaparser.ast.CompilationUnit; import com.github.javaparser.ast.body.ClassOrInterfaceDeclaration; import com.github.javaparser.ast.body.MethodDeclaration; import com.github.javaparser.ast.body.TypeDeclaration; import java.io.B...
define(function(require){ /* DEPENDENCIES */ var Locale = require('utils/locale'); var OpenNebulaDatastore = require('opennebula/datastore'); var ImagesTable = require('tabs/images-tab/datatable'); var FilesTable = require('tabs/files-tab/datatable'); /* CONSTANTS */ var PANEL_ID = requir...
<?php /** * Report event types collection * * @category Mage * @package Mage_Reports * @author Magento Core Team <core@magentocommerce.com> */ class Mage_Reports_Model_Resource_Event_Type_Collection extends Mage_Core_Model_Resource_Db_Collection_Abstract { /** * Resource initialization ...
package topology import ( "encoding/json" "fmt" "io/ioutil" "path" "testing" "time" "github.com/stretchr/testify/require" "go.mongodb.org/mongo-driver/bson" "go.mongodb.org/mongo-driver/bson/primitive" testhelpers "go.mongodb.org/mongo-driver/internal/testutil/helpers" "go.mongodb.org/mongo-driver/x/bsonx/...
import {query} from 'utils/dom'; const nprogress = require('nprogress'); const container = query('#progress'); if (container) { nprogress.configure({ showSpinner: false, trickle: true, parent: '#progress' }); } let pending = 0; export function start() { if (container && (!pending || !nprogress.i...
package org.apache.hadoop.mapred.gridmix; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.apache.commons.logging.impl.Log4JLogger; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.Path; import org.apache.hadoop.mapreduce.InputSplit; import org.ap...
set -e if [[ "$DISTRIB" == "conda" ]]; then # Deactivate the travis-provided virtual environment and setup a # conda-based environment instead deactivate # Use the miniconda installer for faster download / install of conda # itself wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux...
package daemon import ( "context" "testing" "github.com/docker/docker/api/types" "github.com/docker/docker/client" "gotest.tools/v3/poll" ) // PluginIsRunning provides a poller to check if the specified plugin is running func (d *Daemon) PluginIsRunning(t testing.TB, name string) func(poll.LogT) poll.Result { ...
using System; using System.Collections; using System.Configuration; using System.Data; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using Bookmark.Model; using Bookmark.Entity; ...
<!doctype html> <html lang="en" dir="ltr"> <head> <meta charset="utf-8"> <title>ProjectName</title> <base href="/"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport"> <meta name="author" ...
namespace Fixtures.Azure.AcceptanceTestsAzureResource.Models { using Fixtures.Azure; using Fixtures.Azure.AcceptanceTestsAzureResource; using Newtonsoft.Json; using System.Linq; public partial class Error { /// <summary> /// Initializes a new instance of the Error class. ...
package cola.machine.game.myblocks.config; import cola.machine.game.myblocks.engine.SimpleUri; /** * @author Immortius */ public class WorldGenerationConfig { private String worldTitle = "New World"; private String defaultSeed = "nowater4"; private SimpleUri defaultGenerator = new SimpleUri("core:pe...
require 'spec_helper' describe IssuePolicy do include ExternalAuthorizationServiceHelpers let(:guest) { create(:user) } let(:author) { create(:user) } let(:assignee) { create(:user) } let(:reporter) { create(:user) } let(:group) { create(:group, :public) } let(:reporter_from_group_link) { create(:user) ...
export interface EventTrack { action: string; properties: any; } export interface PageTrack { path: string; } /** @link https://developers.google.com/analytics/devguides/collection/analyticsjs/user-timings */ export interface UserTimings { /** A string for categorizing all user timing variables into log...
var Kicksend = { mailcheck : { threshold: 3, defaultDomains: ["yahoo.com", "google.com", "hotmail.com", "gmail.com", "me.com", "aol.com", "mac.com", "live.com", "comcast.net", "googlemail.com", "msn.com", "hotmail.co.uk", "yahoo.co.uk", "facebook.com", "verizon.net", "sbcglobal.net", "att.net",...
module C (Tree(..), SameOrNot(..)) where data Tree a = Leaf a | Branch (Tree a) (Tree a) sumTree :: Num a => (Tree a) -> a sumTree (Leaf x) = x sumTree (Branch left right) = (sumTree left) + (sumTree right) class SameOrNot a where isSame :: a -> a -> Bool isNotSame :: a -> a -> Bool ...
package org.apache.camel.dataformat.csv; import java.util.ArrayList; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import org.apache.camel.EndpointInject; import org.apache.camel.component.mock.MockEndpoint; import org.apache.camel.test.spring.CamelSpringTestSupport; import ...
<component name="libraryTable"> <library name="hyphenate-sdk-3.2.3"> <CLASSES> <root url="file://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.hyphenate/hyphenate-sdk/3.2.3/res" /> <root url="jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.hyphenate/hyphenate-sdk/3.2.3/jars/libs/...
<?php namespace common\widgets; use yii\base\Widget; use yii\bootstrap\Nav; class MenuWidget extends Widget { public $model; public function init() { parent::init(); // TODO: Change the autogenerated stub } public function run() { return $this->render('menu', ['model' => $th...
package storm.trident.state.map; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import storm.trident.state.ValueUpdater; public class CachedBatchReadsMap<T> { public static class RetVal<T> { public boolean cached; public T val; public ...
namespace crazy { // A class used to hold a fixed-size buffer to hold error messages // as well as perform assignment and formatting. // // Usage examples: // Error error; // error = "Unimplemented feature"; // error->Set("Unimplemented feature"); // error->Format("Feature %s is not implemented", featu...
#lightbox_overlay { background-color: #19203a; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } #lightbox_overlay .image-preview { display: flex; align-items: center; justify-content: center; position: relative; width: 100%; height: calc(100% - 65px - 95px...
import struct from vtdb import dbexceptions from vtdb import keyrange_constants ZK_KEYSPACE_PATH = '/zk/local/vt/ns' pack_keyspace_id = struct.Struct('!Q').pack # Represent the SrvKeyspace object from the toposerver, and provide functions # to extract sharding information from the same. class Keyspace(object): n...
<?xml version="1.0"?> <!-- You must: * have JAVA_HOME set to a recent JDK 6 installation * have JAVA5_HOME set to a recent JDK 1.5.0 installation, or specify this with -Djava5home= * have unzipped $JAVA_HOME/src.zip to $JAVA_HOME/src, or specify this with -Djavasrc= * specify -Drelease=r09 (fo...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <shell/shell.h> #include "gpio-cmd.h" #include "i2c-cmd.h" #include "mraa/common.h" #define MRAA_SHELL_MODULE "mraa" static int shell_cmd_version(int argc, char* argv[]) { printf("ZMRAA %s on %s\n", mraa_get_version(), mraa_get_platform_name())...
#import <Foundation/NSObject.h> @interface ExplicitIvarNameA : NSObject @property(nonatomic) int x; @end @interface ExplicitIvarNameB : NSObject @property(nonatomic) int y; @end @implementation ExplicitIvarNameA - init { return self; } @synthesize x; - (int)testExplicit { int* p = 0; self->x = 5; if...
package com.nostra13.universalimageloader.core.decode; import android.annotation.TargetApi; import android.graphics.BitmapFactory.Options; import android.os.Build; import com.nostra13.universalimageloader.core.DisplayImageOptions; import com.nostra13.universalimageloader.core.assist.ImageScaleType; import com.nostra...
package com.intellij.openapi.vcs; import com.intellij.openapi.extensions.ExtensionPointName; import org.jetbrains.annotations.NonNls; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; /** * Checks VCS roots, revealing invalid roots (registered in the settings, but not related to r...
/ 0x76f5573e, 0xf13a, 0x40f5, { 0xb2, 0x97, 0x81, 0xce, 0x9e, 0x18, 0x93, 0x3f } }; using namespace DirectX; // A more recent Windows SDK than currently required is needed for these. typedef HRESULT(WINAPI *D3D12EnableExperimentalFeaturesFn)( UINT NumFeatures, ...
define(function (require) { var $ = require('jquery'); var _ = require('lodash'); var module = require('ui/modules').get('kibana'); var AggConfigResult = require('ui/Vis/AggConfigResult'); module.directive('kbnRows', function ($compile, $rootScope, getAppState, Private) { var filterBarClickHandler = Priv...
.class public interface abstract Ljavax/microedition/khronos/egl/EGL11; .super Ljava/lang/Object; .source "EGL11.java" # interfaces .implements Ljavax/microedition/khronos/egl/EGL10; # static fields .field public static final EGL_CONTEXT_LOST:I = 0x300e
<?php class testIsDeclarationReturnsFalseForImplementedInterfaceMethodClass implements testIsDeclarationReturnsFalseForImplementedInterfaceMethodInterface { public function testIsDeclarationReturnsFalseForImplementedInterfaceMethod($foo) { } } interface testIsDeclarationReturnsFalseForImplementedInter...
.mblButton { background-image: url(compat/button-bg.png); background-repeat: repeat-x; } .mblButtonSelected { background-image: url(compat/button-sel-bg.png); } .mblBlueButton { background-image: url(compat/blue-button-bg.png); } .mblBlueButtonSelected { background-image: url(compat/blue-button-sel-bg.png); }...
from __future__ import unicode_literals from .responses import DynamoHandler url_bases = [ "https?://dynamodb.(.+).amazonaws.com" ] url_paths = { "{0}/": DynamoHandler.dispatch, }
package org.apache.camel.component.mail; import javax.mail.Folder; import javax.mail.Message; import javax.mail.Store; import javax.mail.internet.MimeMessage; import org.apache.camel.Exchange; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.mock.MockEndpoint; import org.apache.camel.t...
'use strict'; (function() { // Calmain Controller Spec describe('Calmain Controller Tests', function() { // Initialize global variables var CalmainController, scope, $httpBackend, $stateParams, $location; // The $resource service augments the response object with methods for updating and deleting ...
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> <html> <head> <title>JSCoverage user manual</title> <link rel="stylesheet" type="text/css" href="sh_nedit.min.css"> <link rel="stylesheet" type="text/css" href="doc.css"> <script type="text/javascript" src="sh_main.min.js"></script> <script type="text/javascript" src="...
namespace chromeos { namespace options2 { ProxyHandler::ProxyHandler() { } ProxyHandler::~ProxyHandler() { } void ProxyHandler::GetLocalizedValues( DictionaryValue* localized_strings) { DCHECK(localized_strings); // Proxy page - ChromeOS static OptionsStringResource resources[] = { { "proxyPage", IDS_...
package com.jukta.jtahoe.handlers; import com.jukta.jtahoe.gen.GenContext; import com.jukta.jtahoe.gen.model.NamedNode; import java.util.Map; /** * Created by aleph on 18.02.2016. */ public class HtmlHandler extends AbstractHandler { public HtmlHandler(GenContext genContext, NamedNode node, AbstractHandler pa...
chorus.dialogs.SandboxNew = chorus.dialogs.Base.extend({ constructorName: "SandboxNew", templateName: "sandbox_new", title: t("sandbox.new_dialog.title"), persistent: true, events: { "click button.submit": "save" }, subviews: { ".data_source_mode": "schemaPicker" }, ...
enum Main { GL_VERTEX_ATTRIB_MAP1_APPLE = 0x8A00, GL_VERTEX_ATTRIB_MAP2_APPLE = 0x8A01, GL_VERTEX_ATTRIB_MAP1_SIZE_APPLE = 0x8A02, GL_VERTEX_ATTRIB_MAP1_COEFF_APPLE = 0x8A03, GL_VERTEX_ATTRIB_MAP1_ORDER_APPLE = 0x8A04, GL_VERTEX_ATTRIB_MAP1_DOMAIN_APPLE ...
<!--{ "Title": "Go 1.6 Release Notes", "Path": "/doc/go1.6", "Template": true }--> <!-- Edit .,s;^PKG:([a-z][A-Za-z0-9_/]+);<a href="/pkg/\1/"><code>\1</code></a>;g Edit .,s;^([a-z][A-Za-z0-9_/]+)\.([A-Z][A-Za-z0-9_]+\.)?([A-Z][A-Za-z0-9_]+)([ .',]|$);<a href="/pkg/\1/#\2\3"><code>\3</code></a>\4;g --> <style> ul...
"use strict"; exports.__esModule = true; exports.default = function () { return { visitor: { FunctionExpression: { exit: function exit(path) { if (path.key !== "value" && !path.parentPath.isObjectProperty()) { var replacement = (0, _babelHelperFunctionName2.default)(path); ...
#include "gdal_pam.h" #include "gdal_proxy.h" #include "rpftoclib.h" #include "ogr_spatialref.h" #include "cpl_string.h" #include "vrtdataset.h" #include "cpl_multiproc.h" #define GEOTRSFRM_TOPLEFT_X 0 #define GEOTRSFRM_WE_RES 1 #define GEOTRSFRM_ROTATION_PARAM1 2 #define GEOTRSFRM_TOPL...
package logrus import ( "encoding/json" "fmt" ) type JSONFormatter struct { // TimestampFormat sets the format used for marshaling timestamps. TimestampFormat string } func (f *JSONFormatter) Format(entry *Entry) ([]byte, error) { data := make(Fields, len(entry.Data)+3) for k, v := range entry.Data { switch ...
namespace boost { namespace mpl { #define BOOST_MPL_STRING_MAX_PARAMS \ BOOST_PP_DIV(BOOST_PP_ADD(BOOST_MPL_LIMIT_STRING_SIZE, 3), 4) // Low-level bit-twiddling is done by macros. Any implementation-defined behavior of // multi-character lit...
select min(p1_name_raw), event_id from results_raw_table where elim=1 group by event_id;
<resources> <!-- Base application theme for API 11+. This theme completely replaces AppBaseTheme from res/values/styles.xml on API 11+ devices. --> <style name="AppBaseTheme" parent="android:Theme.Holo.Light"> <!-- API 11 theme customizations can go here. --> </style> ...
namespace physx { namespace debugger { namespace renderer { struct PvdPoint { PxVec3 pos; PvdColor color; PvdPoint(const PxVec3& pos, const PvdColor& color) : pos(pos), color(color) {} PvdPoint(){} }; struct PvdLine { PvdLine(const PxVec3& pos0, const PxVec3& pos1, const PvdColor& color) : pos...
#include "SkAddIntersections.h" #include "SkOpEdgeBuilder.h" #include "SkPathOpsCommon.h" #include "SkPathWriter.h" #include "SkTSort.h" static void alignMultiples(SkTArray<SkOpContour*, true>* contourList, SkTDArray<SkOpSegment::AlignedSpan>* aligned) { int contourCount = (*contourList).count(); for ...
package com.netflix.suro.routing.filter; import com.netflix.suro.routing.filter.lang.InvalidFilterException; import com.netflix.suro.routing.filter.lang.MessageFilterParser; import com.netflix.suro.routing.filter.lang.MessageFilterParsingException; import com.netflix.suro.routing.filter.lang.MessageFilterTranslatable;...
<?xml version="1.0" encoding="UTF-8" ?> <!-- Copyright 2009-2012 the original author or authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.ap...
@class Post; @interface PostTableViewCell : UITableViewCell @property (nonatomic, strong) Post *post; + (CGFloat)heightForCellWithPost:(Post *)post; @end
<?php /** * Message translations. * * This file is automatically generated by 'yii message' command. * It contains the localizable messages extracted from source code. * You may modify this file by translating the extracted messages. * * Each array element represents the translation (value) of a message (key). ...
' Licensed to the .NET Foundation under one or more agreements. ' The .NET Foundation licenses this file to you under the MIT license. ' See the LICENSE file in the project root for more information. Imports System Imports System.Collections.Generic Imports System.Collections.Immutable Imports System.Threading Import...
package com.navercorp.pinpoint.bootstrap.interceptor; import static org.mockito.Mockito.*; import org.junit.Assert; import org.junit.Test; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.navercorp.pinpoint.bootstrap.context.SpanRecorder; import com.navercorp.pinpoint.bootstrap.context.Trace; im...
from __future__ import print_function import unittest import itertools import numpy as np import six from op_test import OpTest def py_pnpair_op(score, label, query, column=-1, weight=None): # group by query id predictions = {} batch_size = label.shape[0] if weight is None: weight = np.ones(s...
""" Testing local repo management """
package cn.org.eshow.service.impl; import cn.org.eshow.bean.query.UserGroupQuery; import cn.org.eshow.common.page.Page; import cn.org.eshow.dao.UserGroupDao; import cn.org.eshow.model.UserGroup; import cn.org.eshow.service.UserGroupManager; import org.springframework.beans.factory.annotation.Autowired; import org.spri...
<model id="790983467" name="Domainmodel" type="somePackage.DomainModel" xsi:schemaLocation="http://frapu.net/xsd/ProcessEditor http://frapu.net/xsd/ProcessEditor.xsd"> <nodes> <node> <property name="shadow" value="0" /> <property name="#attributes" value="{0}+Attr1 ;{1}+Attr2 ;" /> <...
typedef struct { int ano; short mes; short dia; } Data struct pessoa { char nome; double cpf; Data data_nasc; } x,*ptr; //https://pt.stackoverflow.com/q/126793/101
<?php namespace Monolog\Handler\FingersCrossed; /** * Interface for activation strategies for the FingersCrossedHandler. * * @author Johannes M. Schmitt <schmittjoh@gmail.com> */ interface ActivationStrategyInterface { /** * Returns whether the given record activates the handler. * * @param ...
#include "../core/GLFilter.h" #include "../core/GLImage.h" #include "../core/ImageAllocator.h" #include "caffe2/core/operator.h" #include "caffe2/core/timer.h" #include <iostream> #include <vector> class GLPRelu : public GLFilter { public: typedef enum { PRelu = 0, Relu = 1 } ReluType; const float* scale; ...
package org.jboss.as.quickstarts.contacts.test.page; import org.jboss.arquillian.drone.api.annotation.Drone; import org.jboss.arquillian.graphene.condition.element.WebElementConditionFactory; import org.jboss.arquillian.graphene.findby.FindByJQuery; import org.jboss.arquillian.graphene.fragment.Root; import org.jboss...
var isArrayLike = require('./isArrayLike'), isObjectLike = require('./isObjectLike'); /** * This method is like `_.isArrayLike` except that it also checks if `value` * is an object. * * @static * @memberOf _ * @type Function * @category Lang * @param {*} value The value to check. * @returns {boolean} Retu...
<?php namespace common\models; /* * 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. */ /** * Description of SlideshowItem * * @author quyet */ class SlideshowItem extends ...
package com.googlecode.charts4j.parameters; /** * Class for building bar chart width and spacing parameter string for the * Google Chart API. * * @author Julien Chastang (julien.c.chastang at gmail dot com) */ final class BarChartWidthAndSpacingParameter extends AbstractParameter { /** The Google Chart API...
<?php class Google_Service_Tracing_Module extends Google_Model { protected $buildIdType = 'Google_Service_Tracing_TruncatableString'; protected $buildIdDataType = ''; protected $moduleType = 'Google_Service_Tracing_TruncatableString'; protected $moduleDataType = ''; public function setBuildId(Google_Servic...
@interface UIDeviceDemoViewController : BaseViewController @end
.class public abstract Lcom/htc/lockscreen/idlescreen/IIdleScreenService$Stub; .super Landroid/os/Binder; .source "IIdleScreenService.java" # interfaces .implements Lcom/htc/lockscreen/idlescreen/IIdleScreenService; # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lcom/htc/lockscreen/i...
<!-- Venue Section --> <section id="venue"> <div class="content-wrapper"> <div class="col-lg-10 col-lg-offset-1"> <h3>{{ site.venueBlockTitle }}</h3> <div class="row venue-row"> <div class="col-md-8 col-sm-8 venue-col"> <div class="venue-elem-wrapper"> <div class="venue-e...
<?php return array( /* |-------------------------------------------------------------------------- | Password Reminder Language Lines |-------------------------------------------------------------------------- | | The following language lines are the default lines which match reasons | that are given by the pa...
<?php require_once(Yii::getPathOfAlias('system.vendors.TextHighlighter.Text.Highlighter').'.php'); require_once(Yii::getPathOfAlias('system.vendors.TextHighlighter.Text.Highlighter.Renderer.Html').'.php'); /** * CTextHighlighter does syntax highlighting for its body content. * * The language of the syntax to be a...
package net.floodlightcontroller.loadbalancer; import java.util.ArrayList; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import net.floodlightcontroller.loadbalancer.LoadBalancer.IPClient; /** * Data structure for Load Balancer based on * Quantum proposal http://wiki.openstack.org/LBaaS/CoreRe...
require 'capybara' require 'capybara/rspec/matchers' World(Capybara::DSL) World(Capybara::RSpecMatchers) After do Capybara.reset_sessions! end Before do Capybara.use_default_driver end Before '@javascript' do Capybara.current_driver = Capybara.javascript_driver end Before do |scenario| scenario.source_tag_...
<?php if (!defined('FW')) die('Forbidden'); /** * All framework extensions should extend this */ abstract class FW_Extension { /** * Called after all extensions instances was created * @internal */ abstract protected function _init(); /** @var FW_Extension_Manifest */ public $manifest; /** @var string K...
var map, stanfordMlk, apostle, princetonMap, bnf, iiifLayers, scottlandBagpipe; map = L.map('map', { center: [0, 0], crs: L.CRS.Simple, zoom: 0 }); stanfordMlk = L.tileLayer.iiif('https://stacks.stanford.edu/image/iiif/hg676jb4964%2F0380_796-44/info.json', { attribution: '<a href="http://searchworks.stanford....
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using Xunit; namespace Microsoft.Win32.RegistryTests { public abstract class RegistryKeyCreateSu...
import scala.tools.partest.JavapTest import scala.tools.nsc.Settings // see repl-javap-memfun.java for the complementary version object Test extends JavapTest { override def transformSettings(s: Settings) = { s.Ydelambdafy.value = "method" ; s } def code = """ |object Betty { | List(1,2,3) count (_ % 2 != ...
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>com.badlog...
/** * */ package com.piggsoft.school.web.event.publisher; import org.springframework.beans.BeansException; import org.springframework.context.ApplicationContext; import org.springframework.context.ApplicationContextAware; import org.springframework.context.ApplicationEvent; import org.springframework.stere...
<?xml version="1.0" encoding="UTF-8" ?> <routes xmlns="http://symfony.com/schema/routing" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://symfony.com/schema/routing https://symfony.com/schema/routing/routing-1.0.xsd"> <import resource="routing.xml" controller="Frame...
package org.apache.lucene.util; import java.io.IOException; import org.apache.lucene.search.DocIdSet; import org.apache.lucene.search.DocIdSetIterator; /** * This {@link DocIdSet} encodes the negation of another {@link DocIdSet}. * It is cacheable and supports random-access if the underlying set is * cacheable ...
package org.sleuthkit.autopsy.imagegallery.actions; import java.util.List; import java.util.logging.Level; import javafx.event.ActionEvent; import javax.swing.SwingWorker; import org.controlsfx.control.action.Action; import org.openide.util.NbBundle; import org.sleuthkit.autopsy.coreutils.Logger; import org.sleuthkit...
#ifndef QWT_PICKER_MACHINE #define QWT_PICKER_MACHINE 1 #include "qwt_global.h" #include <qlist.h> class QEvent; class QwtEventPattern; /*! \brief A state machine for QwtPicker selections QwtPickerMachine accepts key and mouse events and translates them into selection commands. \sa QwtEventPattern::Mouse...
package dns // See: // * http://stackoverflow.com/questions/3062205/setting-the-source-ip-for-a-udp-socket and // * http://blog.powerdns.com/2012/10/08/on-binding-datagram-udp-sockets-to-the-any-addresses/ // // Why do we need this: When listening on 0.0.0.0 with UDP so kernel decides what is the outgoing // interface...
void init_xml_entity_decl(); extern VALUE cNokogiriXmlEntityDecl; #endif
// // ObjectUtils.java // // Lunar Unity Mobile Console // https://github.com/SpaceMadness/lunar-unity-console // // Copyright 2017 Alex Lementuev, SpaceMadness. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may ob...
package org.drools.core.event.rule.impl; import org.kie.api.event.rule.MatchCancelledCause; import org.kie.api.event.rule.MatchCancelledEvent; import org.kie.api.runtime.KieRuntime; import org.kie.api.runtime.rule.Match; public class ActivationCancelledEventImpl extends ActivationEventImpl implements MatchCancelle...
package org.apache.camel.blueprint; import java.util.Set; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlTransient; import org.apache....
.class { -webkit-box-sizing: border-box; box-sizing: border-box; }
using System; using System.Xml.Linq; using NUnit.Framework; using Orchard.Core.XmlRpc.Services; namespace Orchard.Tests.Modules.XmlRpc.Services { [TestFixture] public class XmlRpcReaderTests { private IXmlRpcReader _xmlRpcReader; [SetUp] public void Init() { _x...
import unittest from datetime import datetime, timezone from pymap.parsing import Params from pymap.parsing.exceptions import NotParseable from pymap.parsing.command.auth import CreateCommand, AppendCommand, \ ListCommand, RenameCommand, StatusCommand from pymap.parsing.specials import StatusAttribute, Flag from p...
'use strict'; const { isFunction } = require('../helpers/is'); module.exports = function firstOrFail(key, operator, value) { if (isFunction(key)) { return this.first(key, () => { throw new Error('Item not found.'); }); } const collection = this.where(key, operator, value); if (collection.isEmp...
package org.apache.camel.opentelemetry.propagators; import io.opentelemetry.context.propagation.TextMapGetter; import org.apache.camel.tracing.ExtractAdapter; public class OpenTelemetryGetter implements TextMapGetter<ExtractAdapter> { ExtractAdapter adapter; public OpenTelemetryGetter(ExtractAdapter adapte...