text
stringlengths
3
1.05M
import smname import smname.moduleY smname.moduleY.moduleZ
'use strict'; /** * @ngdoc overview * @name rnaUiApp * @description * # rnaUiApp * * Main module of the application. */ angular .module('rnaUiApp', [ 'ngAnimate', 'ngCookies', 'ngResource', 'ngRoute', 'ngSanitize', 'ngTouch', 'ui.sortable' ]) .config(function ($routeProvider) {...
/************* Dropbox Theme (by thezoggy) *************/ /* overall */ .tablesorter-dropbox { width: 100%; font: 13px/32px "Open Sans","lucida grande","Segoe UI",arial,verdana,"lucida sans unicode",tahoma,sans-serif; color: #555; text-align: left; background-color: #fff; border-collapse: collapse; border-top...
Plugin to handle some unix filesystem permissions quickly ### Usage * `set755` recursively sets all directories located within the current working directory and sub directories to octal 755. * `set644` recursively sets all files located within the current working directory and sub directories to octal 644. * `fixperm...
namespace Microsoft.Azure.Batch { using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Microsoft.Azure.Batch.Common; using Microsoft.Azure.Batch.FileStaging; using Microsoft.Rest.Azure; using ...
package main import "testing" func TestDummy(t *testing.T) { if false { t.Errorf("something went wrong") } }
<?php namespace PhpSpec\Formatter\Presenter\Value; final class ArrayTypePresenter implements TypePresenter { /** * @param mixed $value * @return bool */ public function supports($value) { return 'array' === strtolower(gettype($value)); } /** * @param mixed $value ...
#ifndef GEN_Q_TEST_H #define GEN_Q_TEST_H void vStartGenericQueueTasks( UBaseType_t uxPriority ); BaseType_t xAreGenericQueueTasksStillRunning( void ); void vMutexISRInteractionTest( void ); #endif /* GEN_Q_TEST_H */
#!/bin/sh set -e mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt > "$RESOURCES_TO_COPY" XCASSET_FILES=() case "${TARGETED_DEVICE_FAMILY}" in 1,2) TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" ;; 1) ...
package com.dremio.exec.planner.logical; import org.apache.calcite.rel.core.Aggregate; import org.apache.calcite.rel.core.AggregateCall; import com.google.common.base.Predicate; import com.google.common.collect.Iterables; /** * Helper methods to find if a call or a aggregate rel are projectables */ public final c...
/** * This file contains functions that can be useful understand the SQLite DB * and debug it */ import db, { executeSql } from '../Database'; export function logTableList() { db.transaction(tx => { tx.executeSql( `SELECT * FROM sqlite_master WHERE type='table'`, null, (tx, res) => { ...
PuppetLint.new_check(:arrow_alignment) do COMMENT_TYPES = Set[:COMMENT, :SLASH_COMMENT, :MLCOMMENT] def check resource_indexes.each do |res_idx| arrow_column = [0] level_idx = 0 level_tokens = [] param_column = [nil] resource_tokens = res_idx[:tokens] resource_tokens.reject!...
package me.chanjar.weixin.open.bean.message; import com.thoughtworks.xstream.annotations.XStreamAlias; import com.thoughtworks.xstream.annotations.XStreamConverter; import lombok.Data; import me.chanjar.weixin.common.util.xml.XStreamCDataConverter; import me.chanjar.weixin.mp.bean.message.WxMpXmlMessage; import me.cha...
#ifndef GLM_CORE_func_matrix #define GLM_CORE_func_matrix GLM_VERSION namespace glm { /// @addtogroup core_func_matrix /// @{ /// Multiply matrix x by matrix y component-wise, i.e., /// result[i][j] is the scalar product of x[i][j] and y[i][j]. /// /// @tparam matType Floating-point matrix types....
import { ParseSourceSpan } from '../parse_util'; export declare enum TypeModifier { Const = 0, } export declare abstract class Type { modifiers: TypeModifier[] | null; constructor(modifiers?: TypeModifier[] | null); abstract visitType(visitor: TypeVisitor, context: any): any; hasModifier(modifier: ...
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
package net.uniform.html; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Set; import net.uniform.html.elements.Input; import net.uniform.html.elements.Multiselect; import net.uniform.html.elements.Select; import org.junit.Assert; import org.junit.Test; /** *...
package org.keycloak.protocol.oidc.mappers; import org.keycloak.models.ClientSessionContext; import org.keycloak.models.KeycloakSession; import org.keycloak.models.ProtocolMapperModel; import org.keycloak.models.UserSessionModel; import org.keycloak.protocol.ProtocolMapperUtils; import org.keycloak.provider.Provider...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="de"> <head> <!-- Generated by javadoc (version 1.7.0_51) on Thu Feb 27 09:56:17 CET 2014 --> <title>StringAndIconResourceAccessor (JGoodies Common 1.8 API)</title> <meta name="date" ...
describe FastlaneCore do describe FastlaneCore::CommandExecutor do describe "execute" do it 'handles reading which throws a EIO exception' do explodes_on_strip = 'danger! lasers!' fake_std_in = ['a_filename', explodes_on_strip] # This is really raised by the `each` call, but for eas...
'------------------------------------------------------------------------------ ' <auto-generated> ' This code was generated by a tool. ' Runtime Version:4.0.30319.42000 ' ' Changes to this file may cause incorrect behavior and will be lost if ' the code is regenerated. ' </auto-generated> '-----------...
/* F$Revision: 1.12 $ $Date: 2008-12-01 19:41:47 $ */ package org.rti.webgenome.webui.struts.upload; import java.io.FileOutputStream; import java.io.PrintStream; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Map; ...
/** * Sample React Native App * https://github.com/facebook/react-native */ 'use strict'; var React = require('react-native'); var { AppRegistry, StyleSheet, Text, View, } = React; var SampleApp = React.createClass({ render: function() { return ( <View style={styles.container}> <Text st...
/** * Module dependencies. */ var Emitter = require('emitter'); var reduce = require('reduce'); /** * Root reference for iframes. */ var root = 'undefined' == typeof window ? this : window; /** * Noop. */ function noop(){}; /** * Check if `obj` is a host object, * we don't want to serialize these :) ...
 using System.Collections.Generic; namespace SuperMap.Web.iServerJava2 { //该类描述旅行商分析中所用到的网络分析参数和是否指定终点标示。 /// <summary> /// <para>${iServer2_TSPPathParam_Title}</para> /// <para>${iServer2_TSPPathParam_Description}</para> /// </summary> public class TSPPathParam { /// <summary>${i...
cask 'avidcodecsle' do version '2.3.7' sha256 '0a3e9b24e1af3ea0e01167a944c08b086a6818eacb38bb637bd0dbe85486323b' url "http://resources.avid.com/supportfiles/attach/AvidCodecsLE_#{version.dots_to_underscores}/Mac/AvidCodecsLE.pkg.zip" name 'Avid DNxHR codec' homepage 'https://www.avid.com/US/industries/workfl...
<?php return [ 'error_creating_post' => 'Yar, an error be encountered when creatin\' that thar scrawlin\'.', 'error_creating_topic' => 'Yar, an error be encountered when creatin\' that thar tale.', 'error_deleting_post' => 'Yar, an error be encountered when erasin\' that thar scrawlin\'.', 'forum_not...
#if defined(__GNUC__) #warning "Inclusion of header files from include/Qt is deprecated." #elif defined(_MSC_VER) #pragma message("WARNING: Inclusion of header files from include/Qt is deprecated.") #endif #endif #include "../QtCore/qatomic_vxworks.h"
/** * @file Clock/tableA-6.c Show timing example in both milliseconds and nanonseconds. * @brief * Show the ability on Unix systems to time both using milliseconds and * nanosecond timers. * * Must be compiled with the -lrt libraries. * * In first edition we used [1,000,000 thru 5,000,000]. Processors...
package com.all.app; import static org.junit.Assert.assertNotNull; import org.junit.Test; import org.springframework.context.support.GenericApplicationContext; public class TestDefaultSpringFactory { @Test public void shouldTestFactory() throws Exception { SpringFactory factory = new DefaultSpringFac...
<?php namespace Symfony\Component\Translation\Tests\Loader; use Symfony\Component\Translation\Loader\CsvFileLoader; use Symfony\Component\Config\Resource\FileResource; class CsvFileLoaderTest extends \PHPUnit_Framework_TestCase { protected function setUp() { if (!class_exists('Symfony\Component\Con...
var path = require("../core/path"); var file = require("../core/file.js"); var child_process = require("child_process"); var param = require("../core/params_analyze.js"); var globals = require("../core/globals"); /** * Constructs a new ClosureCompiler instance. * @exports ClosureCompiler * @class Closure Compiler b...
package stats import ( "encoding/json" "fmt" "io" "net/http" "path" "time" restful "github.com/emicklei/go-restful" cadvisorapi "github.com/google/cadvisor/info/v1" cadvisorv2 "github.com/google/cadvisor/info/v2" "github.com/pkg/errors" "k8s.io/klog/v2" "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery...
<?php namespace PhproTest\AnnotatedCache\Unit\Annotation; use Phpro\AnnotatedCache\Annotation\Cacheable; use Phpro\AnnotatedCache\Annotation\CacheAnnotationInterface; class CacheableTest extends \PHPUnit_Framework_TestCase { /** * @test */ function it_is_a_cache_annotation() { $this->as...
package org.hibernate.validator.test.internal.constraintvalidators; import org.joda.time.DateMidnight; import org.joda.time.DateTime; import org.joda.time.Instant; import org.joda.time.MutableDateTime; import org.testng.Assert; import org.testng.annotations.BeforeClass; import org.testng.annotations.Test; import org...
<?xml version="1.0" encoding="UTF-8"?> <sbml xmlns="http://www.sbml.org/sbml/level2/version2" level="2" version="2"> <model metaid="_case00725" id="case00725" name="case00725"> <listOfCompartments> <compartment id="C" name="C" size="1" units="volume"/> </listOfCompartments> <listOfSpecies> <sp...
Plugin collects network metrics from `/proc/net/netstat`, `/proc/net/snmp` and `/proc/net/snmp6` files ### Configuration The plugin firstly tries to read file paths from config values if it is empty, then it reads from env variables. * `PROC_NET_NETSTAT` * `PROC_NET_SNMP` * `PROC_NET_SNMP6` If these variables are al...
0.0.3 / 2014-01-08 ================== * index: fix a URI with a comma in the data portion 0.0.2 / 2014-01-08 ================== * index: use unescape() instead of decodeURIComponent() * test: add more tests from Mozilla 0.0.1 / 2014-01-02 ================== * add `README.md` * index: default the `charset...
package AbstractClasses.GUI; class AnalysisWindow { }
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
fw_depends libjemalloc-dev libluajit-5.1-dev fw_installed lwan && return 0 REV='ff549b46548fefb2a1dd2a4c6a22c345fcfb3eeb' LWAN_HOME=$IROOT/lwan [ ! -e $IROOT/lwan.installed -a -d $LWAN_HOME ] && rm -rf $LWAN_HOME # Lwan is only built during installation as a dependency sanity check. git clone git://github.com/lpere...
<?php /** * @see Zend_Service_Exception */ require_once 'Zend/Service/Exception.php'; /** * @category Zend * @package Zend_Service * @subpackage Twitter * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New B...
<!-- Copyright 2013 Google Inc. All Rights Reserved. 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.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to i...
{-# LANGUAGE CPP, ScopedTypeVariables #-} ----------------------------------------------------------------------------- -- -- The register allocator -- -- (c) The University of Glasgow 2004 -- ----------------------------------------------------------------------------- {- The algorithm is roughly: 1) Compute stro...
<?php /** * XTreeBehavior behavior * * This behavior adds tree methods to an ActiveRecord model. * It can be be attached to a model on its behaviors() method: * <pre> * public function behaviors() * { * return array( * 'TreeBehavior' => array( * 'class' => 'ext.behaviors.XTreeBehavior...
package com.google.android.apps.iosched.ui; import android.os.Bundle; import android.support.v4.app.Fragment; public class BulletinActivity extends BaseSinglePaneActivity { @Override protected Fragment onCreatePane() { return new BulletinFragment(); } @Override protected void onPostCrea...
<?php /** * Interface for all Transfer Encoding schemes. * * @author Chris Corbyn */ interface Swift_Mime_ContentEncoder extends Swift_Encoder { /** * Encode $in to $out. * * @param Swift_OutputByteStream $os to read from * @param Swift_InputByteStream $is to wr...
<?xml version="1.0" encoding="utf-8"?> <ForecastReturn xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://ws.cdyne.com/WeatherWS/"> <Success>true</Success> <ResponseText>City Found</ResponseText> <State>OR</State> <City>Florence</City> <WeatherStat...
/* crypto/constant_time_test.c */ /*- * Utilities for constant-time cryptography. * * Author: Emilia Kasper (emilia@openssl.org) * Based on previous work by Bodo Moeller, Emilia Kasper, Adam Langley * (Google). * ==================================================================== * Copyright (c) 2014 The OpenSS...
<?php namespace Drupal\Tests\taxonomy\Functional; use Drupal\field\Tests\EntityReference\EntityReferenceTestTrait; use Drupal\Tests\BrowserTestBase; /** * Provides common helper methods for Taxonomy module tests. */ abstract class TaxonomyTestBase extends BrowserTestBase { use TaxonomyTestTrait; use EntityRef...
<?php namespace Zend\Mvc\Router\Http; use Zend\Mvc\Router\RouteMatch as BaseRouteMatch; /** * Part route match. */ class RouteMatch extends BaseRouteMatch { /** * Length of the matched path. * * @var int */ protected $length; /** * Create a part RouteMatch with given paramete...
namespace base { namespace win { // static OSInfo* OSInfo::GetInstance() { // Note: we don't use the Singleton class because it depends on AtExitManager, // and it's convenient for other modules to use this classs without it. This // pattern is copied from gurl.cc. static OSInfo* info; if (!info) { OSInf...
package org.apache.storm.hdfs.bolt.format; import org.apache.storm.tuple.Fields; import org.apache.storm.tuple.Tuple; /** * RecordFormat implementation that uses field and record delimiters. * By default uses a comma (",") as the field delimiter and a * newline ("\n") as the record delimiter. * * Also by defaul...
package com.datatorrent.contrib.kafka; import java.nio.ByteBuffer; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Properties; import java.util.concurrent.ArrayBlockingQueue; import java.util.concurrent.CountDownLatch; import kafka.consumer.ConsumerConfig; import kafka.consume...
//>>built define("dojo/data/ItemFileWriteStore", ["../_base/lang", "../_base/declare", "../_base/array", "../_base/json", "../_base/window", "./ItemFileReadStore", "../date/stamp" ], function(lang, declare, arrayUtil, jsonUtil, window, ItemFileReadStore, dateStamp) { // module: // dojo/data/ItemFileWriteStore // ...
'use strict'; /** * Uninstall command */ const spawn = require('child_process').spawn; const manifest = require('../package.json'); module.exports = function install(options) { const command = spawn('npm', ['uninstall', `${manifest.name}-${options._[1]}`, '--save-dev']); command.stdout.on('data', (data) => { ...
import { IconDefinition, IconPrefix, IconName } from "@fortawesome/fontawesome-common-types"; export const definition: IconDefinition; export const faChevronLeft: IconDefinition; export const prefix: IconPrefix; export const iconName: IconName; export const width: number; export const height: number; export const ligat...
namespace { constexpr base::FilePath::StringPieceType kChromePwaLauncherExecutable = L"chrome_pwa_launcher.exe"; } // namespace namespace web_app { base::FilePath GetChromePwaLauncherPath() { base::FilePath chrome_dir; if (!base::PathService::Get(base::DIR_EXE, &chrome_dir)) return base::FilePath(); ...
#ifndef BOOST_MULTI_INDEX_DETAIL_INDEX_NODE_BASE_HPP #define BOOST_MULTI_INDEX_DETAIL_INDEX_NODE_BASE_HPP #if defined(_MSC_VER) #pragma once #endif #include <boost/config.hpp> /* keep it first to prevent nasty warns in MSVC */ #include <boost/type_traits/aligned_storage.hpp> #include <boost/type_traits/alignment_of...
package org.apache.drill.exec.expr.fn.impl; import org.apache.drill.exec.expr.DrillSimpleFunc; import org.apache.drill.exec.expr.annotations.FunctionTemplate; import org.apache.drill.exec.expr.annotations.Output; import org.apache.drill.exec.expr.annotations.Param; import org.apache.drill.exec.expr.holders.BitHolder...
namespace topic_tools { static const char DEMUXADD[] = "topic_tools/DemuxAdd"; class DemuxAddRequest : public ros::Msg { public: const char* topic; DemuxAddRequest(): topic("") { } virtual int serialize(unsigned char *outbuffer) const { int offset = 0; uint32_t le...
require('../modules/web.url'); require('../modules/web.url.to-json'); require('../modules/web.url-search-params'); var path = require('../internals/path'); module.exports = path.URL;
package com.curso.ejemplojpamulti; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; /** * Unit test for simple App. */ public class AppTest extends TestCase { /** * Create the test case * * @param testName name of the test case */ publi...
package cd.go.contrib.elasticagents.marathon.executors; public class PositiveNumberField extends Field { PositiveNumberField(String key, String displayName, String defaultValue, Boolean required, Boolean secure, String displayOrder) { super(key, displayName, defaultValue, required, secure, displayOrder);...
<?php class Form_validation_test extends CI_TestCase { public function set_up() { $_SERVER['REQUEST_METHOD'] = 'POST'; // Create a mock loader since load->helper() looks in the wrong directories for unit tests, // We'll use CI_TestCase->helper() instead $loader = $this->getMock('CI_Loader', array('helper')...
struct longlong { uint32_t low; uint32_t hi; }; int _pbcV_encode32(uint32_t number, uint8_t buffer[10]); int _pbcV_encode(uint64_t number, uint8_t buffer[10]); int _pbcV_zigzag32(int32_t number, uint8_t buffer[10]); int _pbcV_zigzag(int64_t number, uint8_t buffer[10]); int _pbcV_decode(uint8_t buffer[10], struct lo...
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:background="@drawable/perfekcyjnetlo" android:layout_height="match_parent" android:orientati...
"""Utilities for Python proto2 tests. This is intentionally modeled on C++ code in //google/protobuf/test_util.*. """ __author__ = 'robinson@google.com (Will Robinson)' import os.path import sys from google.protobuf import unittest_import_pb2 from google.protobuf import unittest_pb2 from google.protobuf import des...
#ifndef _FLHACK_H_ #define _FLHACK_H_ #ifdef WIN32 #include "winjunk.h" #endif #ifdef __APPLE__ # include <OpenGL/gl.h> # include <OpenGL/glu.h> #else # include <GL/gl.h> # include <GL/glu.h> #endif #ifndef TRUE #define TRUE 1 #define FALSE 0 #endif enum Fl_Event { // events FL_NO_EVENT = 0, FL_PUSH = 1...
This sample shows how to implement a responsive master/detail experience in XAML. In the [master/detail pattern](https://msdn.microsoft.com/en-us/library/windows/apps/dn997765.aspx), a master list is used to select an item that will then appear in a detail view. When the app view is sufficiently wide, the master list ...
using storagecore.Abstractions.Entities; using storagecore.EntityFrameworkCore.Query; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace storagecore.EntityFrameworkCore.Paging { public interface IDataPager<TEntity, TKey> where TEnt...
from __future__ import unicode_literals import datetime import os import re import unittest from django.contrib.admin import AdminSite, ModelAdmin from django.contrib.admin.helpers import ACTION_CHECKBOX_NAME from django.contrib.admin.models import ADDITION, DELETION, LogEntry from django.contrib.admin.options import...
package org.apache.maven.lifecycle.internal; import org.apache.maven.project.MavenProject; import java.util.Arrays; import java.util.Collection; import java.util.Collections; import java.util.TreeSet; /** * Context of dependency artifacts for a particular project. * * @since 3.0 * @author Benjamin Bentmann * ...
<?php namespace Sonata\Component\Basket; use Sonata\Component\Currency\CurrencyDetectorInterface; use Sonata\Component\Customer\CustomerInterface; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; use Symfony\Component\HttpFoundation\Session\SessionInterface; use ...
""" 29. Many-to-many and many-to-one relationships to the same table Make sure to set ``related_name`` if you use relationships to the same table. """ from __future__ import unicode_literals from django.db import models from django.utils import six from django.utils.encoding import python_2_unicode_compatible class...
<?php /** * This code was generated by * \ / _ _ _| _ _ * | (_)\/(_)(_|\/| |(/_ v1.0.0 * / / */ namespace Twilio\Rest\Pricing\V1; use Twilio\Exceptions\TwilioException; use Twilio\ListResource; use Twilio\Rest\Pricing\V1\Voice\CountryList; use Twilio\Rest\Pricing\V1\Voice\NumberList; use Twilio\Ve...
A Heroku-compatible NodeJS server for routing Livefyre "Pushed Site Data" to multiple endpoints. ## Why? Livefyre is a real-time conversation platform. They provide [an API for accessing comment data](http://www.livefyre.com/docs/advanced-features/#accessing-site-comment-data) both via a sync method and a push method...
package viewController; import SlogoEventHandlers.ShowColorMapVCHandler; import javafx.event.EventHandler; import javafx.scene.control.Menu; import javafx.scene.control.MenuBar; import javafx.scene.control.MenuItem; import javafx.scene.layout.Pane; public class SlogoMenuBar implements SlogoMenuBarInteractions{ pri...
{# # Copyright 2015 Google Inc. # # 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.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
package com.zengcanxiang.example; import android.content.Context; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.GridLayoutManager; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.wi...
<documentation title="Namespace Declarations"> <standard> <![CDATA[ There must be one blank line after the namespace declaration. ]]> </standard> <code_comparison> <code title="Valid: One blank line after the namespace declaration."> <![CDATA[ namespace \Foo\Bar; <em></em> use \B...
/* scheduler-base */ .scheduler-base-content { overflow: hidden; } .scheduler-base-hd { position: relative; padding: 5px 0; } .scheduler-base-controls .scheduler-base-current-date { font-weight: bold; } .scheduler-base-controls .scheduler-base-view-date { display: inline-block; margin-left: 1...
package edu.umd.cs.findbugs.detect; import java.util.Iterator; import java.util.Set; import org.apache.bcel.Constants; import org.apache.bcel.classfile.Method; import org.apache.bcel.generic.ConstantPoolGen; import org.apache.bcel.generic.INVOKEINTERFACE; import org.apache.bcel.generic.Instruction; import org.apach...
<!-- The MIT License Copyright (c) 2004-2016, Codeminer42, Waldyr de Souza Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, cop...
.class public interface abstract Lcom/android/internal/app/IBatteryStats; .super Ljava/lang/Object; .source "IBatteryStats.java" # interfaces .implements Landroid/os/IInterface; # annotations .annotation system Ldalvik/annotation/MemberClasses; value = { Lcom/android/internal/app/IBatteryStats$Stub; ...
package com.google.appinventor.shared.rpc; import java.io.Serializable; public class InvalidSessionException extends Exception implements Serializable { private String message; public InvalidSessionException() { super(); } public InvalidSessionException(String message) { super(); ...
<?php class Google_Service_Compute_OperationsScopedListWarningData extends Google_Model { public $key; public $value; public function setKey($key) { $this->key = $key; } public function getKey() { return $this->key; } public function setValue($value) { $this->value = $value; } pub...
/* ============================================================= * flatui-checkbox.js v0.0.2 * ============================================================ */ !function ($) { /* CHECKBOX PUBLIC CLASS DEFINITION * ============================== */ var Checkbox = function (element, options) { this.init(ele...
package activiti; import org.activiti.engine.IdentityService; import org.activiti.engine.identity.Group; import org.activiti.engine.identity.User; import org.springframework.boot.CommandLineRunner; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.EnableAutoConfiguration...
BMPixel BMPixelMake (CGFloat red, CGFloat green, CGFloat blue, CGFloat alpha) { BMPixel pixel; pixel.red = red; pixel.green = green; pixel.blue = blue; pixel.alpha = alpha; return pixel; } #if TARGET_OS_IPHONE UIColor * UIColorFromBMPixel (BMPixel pixel) { return [UIColor colorWithRed:pixel...
/*------------------------------------------------------------------------- * * Created: H5Omessage.c * Dec 3 2006 * Quincey Koziol <koziol@hdfgroup.org> * * Purpose: Object header message routines. * *------------------------------------------------------------------------- */ /****************/ /* ...
package android.widget.listview; import android.util.ListScenario; import android.util.ListItemFactory; import android.view.View; import android.view.ViewGroup; /** * Each list item has two focusables that are close enough together that * it shouldn't require panning to move focus. */ public class ListItemFocusa...
require "cases/helper" require 'models/entrant' class DeprecatedFinderTest < ActiveRecord::TestCase fixtures :entrants def test_deprecated_find_all_was_removed assert_raise(NoMethodError) { Entrant.find_all } end def test_deprecated_find_first_was_removed assert_raise(NoMethodError) { Entrant.find_fi...
<?php /** * Eav attribute set model * * @method Mage_Eav_Model_Resource_Entity_Attribute_Set _getResource() * @method Mage_Eav_Model_Resource_Entity_Attribute_Set getResource() * @method int getEntityTypeId() * @method Mage_Eav_Model_Entity_Attribute_Set setEntityTypeId(int $value) * @method string getAttribu...
display: block; word-wrap: normal; white-space: pre; overflow: auto; font-family: monospace; background-color: inherit; border: 0; height: auto; width: 100%; padding-left: 0px; outline: none; } #zero_click_wrapper #figlet-wrapper #figlet-font { font-family: monospace; } ...
/* GLOBAL.H - RSAREF types and constants */ #ifndef MD5GLOBAL_H #define MD5GLOBAL_H /* PROTOTYPES should be set to one if and only if the compiler supports function argument prototyping. The following makes PROTOTYPES default to 0 if it has not already been defined with C compiler flags. */ #ifndef PROTOTYPES #d...
package stage0 import ( "errors" "fmt" "io/ioutil" "os" "path/filepath" "syscall" "github.com/appc/spec/schema/types" "github.com/hashicorp/errwrap" "github.com/rkt/rkt/common" pkgPod "github.com/rkt/rkt/pkg/pod" ) type RmConfig struct { *CommonConfig PodPath string UsesOverlay bool AppName *ty...
using System; using UnityEngine; namespace InControl { // This is kind of "beta"... while it works on iOS, gyro controls are // inconsistent and are usually fine tuned to the games that use them // which is somewhat beyond the scope of this project. But, if you // are curious how to go about it, here you go. //...
package alluxio.master.metastore.rocks; /** * DataBlockIndexType used in conjunction with BlockBasedTable. * This is a representation of {@link org.rocksdb.DataBlockIndexType} * added here so core does not depend on RocksDB library. * See {@link org.rocksdb.DataBlockIndexType} for more information on the values....
from sqlalchemy import MetaData, Table, Column, Integer def upgrade(migrate_engine): meta = MetaData(bind=migrate_engine) # Add a new column to store PCI device numa node pci_devices = Table('pci_devices', meta, autoload=True) shadow_pci_devices = Table('shadow_pci_devices', meta, autoload=True) ...