100+ results for 'engine'
Not the results you expected?
StandardSpiderPlot.java (https://gitlab.com/essere.lab.public/qualitas.class-corpus) Java · 408 lines
28 import net.sf.jasperreports.components.spiderchart.type.SpiderRotationEnum;
29 import net.sf.jasperreports.components.spiderchart.type.TableOrderEnum;
30 import net.sf.jasperreports.engine.JRConstants;
31 import net.sf.jasperreports.engine.JRExpression;
32 import net.sf.jasperreports.engine.JRExpressionCollector;
33 import net.sf.jasperreports.engine.JRFont;
34 import net.sf.jasperreports.engine.base.JRBaseObjectFactory;
35 import net.sf.jasperreports.engine.design.events.JRChangeEventsSupport;
36 import net.sf.jasperreports.engine.design.events.JRPropertyChangeSupport;
CookieSetting.java (https://bitbucket.org/haris_peco/debrief.git) Java · 318 lines
24 * Alternatively, you can obtain a royalty free commercial license with less
25 * limitations, transferable or non-transferable, directly at
26 * http://www.noelios.com/products/restlet-engine
27 *
28 * Restlet is a registered trademark of Noelios Technologies.
33 import org.restlet.Response;
34 import org.restlet.engine.util.SystemUtils;
36 /**
SignatureSpi.java (https://gitlab.com/brian0218/rk3066_r-box_android4.2.2_sdk) Java · 352 lines
Rogue.java (https://bitbucket.org/russtopher/cs3411-hw3.git) Java · 354 lines
ff-pcm.c (https://github.com/KanjiMonster/bcm63xx.git) C · 402 lines
TrashDeleteRelationsTests.cs (https://github.com/lundbeck/n2cms.git) C# · 297 lines
26 base.SetUp();
28 persister = engine.Persister;
29 versions = engine.Resolve<IVersionManager>();
37 item2 = CreateOneItem<ThrowableItem>(0, "item2", root);
39 trash = engine.Resolve<ITrashHandler>();
41 System.Threading.Thread.CurrentPrincipal = new GenericPrincipal(new GenericIdentity("admin", "test"), new string[] { "Administrators" });
45 {
46 var item = base.CreateOneItem<T>(id, name, parent);
47 engine.Persister.Save(item);
48 return item;
49 }
56 persister.Dispose();
58 engine.Persister.Get(item.ID).ShouldBe(null);
59 }
DescribeEngineDefaultParametersRequest.java (https://github.com/akon-dey/aws-sdk-for-java.git) Java · 241 lines
18 /**
19 * Container for the parameters to the {@link com.amazonaws.services.elasticache.AmazonElastiCache#describeEngineDefaultParameters(DescribeEngineDefaultParametersRequest) DescribeEngineDefaultParameters operation}.
20 * <p>
21 * Returns the default engine and system parameter information for the
22 * specified cache engine.
23 * </p>
24 *
25 * @see com.amazonaws.services.elasticache.AmazonElastiCache#describeEngineDefaultParameters(DescribeEngineDefaultParametersRequest)
26 */
27 public class DescribeEngineDefaultParametersRequest extends AmazonWebServiceRequest {
52 /**
53 * Default constructor for a new DescribeEngineDefaultParametersRequest object. Callers should use the
54 * setter or fluent setter (with...) methods to initialize this object after creating it.
55 */
cluster.java (https://bitbucket.org/ratan/webrec.git) Java · 311 lines
7 import javax.servlet.http.HttpServletResponse;
9 import com.google.appengine.api.datastore.DatastoreService;
10 import com.google.appengine.api.datastore.DatastoreServiceFactory;
11 import com.google.appengine.api.datastore.Entity;
12 import com.google.appengine.api.datastore.PreparedQuery;
13 import com.google.appengine.api.datastore.Query;
15 @SuppressWarnings("serial")
CTRTextureLightMap2_M1.cpp (https://github.com/Pepsi1x1/pseuwow.git) C++ · 678 lines
BasePageProvider.js (https://github.com/ariatemplates/ariatemplates.git) JavaScript · 276 lines
14 */
15 var Aria = require("../../Aria");
16 var ariaPageEnginePageProvidersPageProviderInterface = require("./PageProviderInterface");
17 var ariaCoreDownloadMgr = require("../../core/DownloadMgr");
18 var ariaUtilsJson = require("../../utils/Json");
23 */
24 module.exports = Aria.classDefinition({
25 $classpath : "aria.pageEngine.pageProviders.BasePageProvider",
26 $implements : [ariaPageEnginePageProvidersPageProviderInterface],
28 /**
29 * @param {aria.pageEngine.pageProviders.BasePageProviderBeans:Config} config
30 */
31 $constructor : function (config) {
33 /**
34 * Configuration for the base provider
35 * @type aria.pageEngine.pageProviders.BasePageProviderBeans:Config
36 * @private
37 */
Makefile (https://github.com/HPCKP/gridengine.git) Makefile · 218 lines
16 # Source License Version 1.2 (the "License"); You may not use this file
17 # except in compliance with the License. You may obtain a copy of the
18 # License at http://gridengine.sunsource.net/Gridengine_SISSL_license.html
19 #
20 # Software provided under this License is provided on an "AS IS" basis,
follow.py (https://gitlab.com/cimh/rc-api) Python · 355 lines
SPSS.java (https://github.com/malawski/cloudworkflowsimulator.git) Java · 261 lines
JRBaseBox.java (https://gitlab.com/essere.lab.public/qualitas.class-corpus) Java · 666 lines
22 * along with JasperReports. If not, see <http://www.gnu.org/licenses/>.
23 */
24 package net.sf.jasperreports.engine.base;
26 import java.awt.Color;
29 import java.io.Serializable;
31 import net.sf.jasperreports.engine.JRBox;
32 import net.sf.jasperreports.engine.JRBoxContainer;
33 import net.sf.jasperreports.engine.JRConstants;
34 import net.sf.jasperreports.engine.JRDefaultStyleProvider;
35 import net.sf.jasperreports.engine.JRLineBox;
36 import net.sf.jasperreports.engine.JRStyle;
allclasses-frame.html (https://github.com/iki/gae.git) HTML · 127 lines
28 <TD NOWRAP><FONT CLASS="FrameItemFont"><A HREF="com/google/appengine/api/blobstore/dev/BlobInfoStorage.html" title="class in com.google.appengine.api.blobstore.dev" target="classFrame">BlobInfoStorage</A>
29 <BR>
30 <A HREF="com/google/appengine/api/blobstore/dev/BlobStorage.html" title="interface in com.google.appengine.api.blobstore.dev" target="classFrame"><I>BlobStorage</I></A>
31 <BR>
32 <A HREF="com/google/appengine/api/blobstore/dev/BlobStorageFactory.html" title="class in com.google.appengine.api.blobstore.dev" target="classFrame">BlobStorageFactory</A>
44 <A HREF="com/google/appengine/tools/development/testing/LocalBlobstoreServiceTestConfig.html" title="class in com.google.appengine.tools.development.testing" target="classFrame">LocalBlobstoreServiceTestConfig</A>
45 <BR>
46 <A HREF="com/google/appengine/api/capabilities/dev/LocalCapabilitiesService.html" title="class in com.google.appengine.api.capabilities.dev" target="classFrame">LocalCapabilitiesService</A>
47 <BR>
48 <A HREF="com/google/appengine/tools/development/testing/LocalCapabilitiesServiceTestConfig.html" title="class in com.google.appengine.tools.development.testing" target="classFrame">LocalCapabilitiesServiceTestConfig</A>
72 <A HREF="com/google/appengine/tools/development/testing/LocalMemcacheServiceTestConfig.SizeUnit.html" title="enum in com.google.appengine.tools.development.testing" target="classFrame">LocalMemcacheServiceTestConfig.SizeUnit</A>
73 <BR>
74 <A HREF="com/google/appengine/api/users/dev/LocalOAuthAccessTokenServlet.html" title="class in com.google.appengine.api.users.dev" target="classFrame">LocalOAuthAccessTokenServlet</A>
75 <BR>
76 <A HREF="com/google/appengine/api/users/dev/LocalOAuthAuthorizeTokenServlet.html" title="class in com.google.appengine.api.users.dev" target="classFrame">LocalOAuthAuthorizeTokenServlet</A>
Node.java (https://github.com/babble/babble.git) Java · 268 lines
qtconcurrentmapkernel.h (https://github.com/alon/bhuman2009fork.git) C Header · 273 lines
198 template <typename Iterator, typename Functor>
199 inline ThreadEngineStarter<void> startMap(Iterator begin, Iterator end, Functor functor)
200 {
201 return startThreadEngine(new MapKernel<Iterator, Functor>(begin, end, functor));
204 template <typename T, typename Iterator, typename Functor>
205 inline ThreadEngineStarter<T> startMapped(Iterator begin, Iterator end, Functor functor)
206 {
207 return startThreadEngine(new MappedEachKernel<Iterator, Functor>(begin, end, functor));
232 template <typename T, typename Sequence, typename Functor>
233 inline ThreadEngineStarter<T> startMapped(const Sequence &sequence, Functor functor)
234 {
235 typedef SequenceHolder1<Sequence,
Quaternion.js (https://gitlab.com/mitch10e-byu/dight495) JavaScript · 523 lines
object.cpp (https://github.com/kasicass/kasicass.git) C++ · 437 lines
2 Copyright (c) 2007-2015 Contributors as noted in the AUTHORS file
4 This file is part of libzmq, the ZeroMQ core engine in C++.
6 libzmq is free software; you can redistribute it and/or modify it under
224 void zmq::object_t::send_attach (session_base_t *destination_,
225 i_engine *engine_, bool inc_seqnum_)
226 {
227 if (inc_seqnum_)
231 cmd.destination = destination_;
232 cmd.type = command_t::attach;
233 cmd.args.attach.engine = engine_;
234 send_command (cmd);
235 }
Process.c (https://github.com/dprevost/newpso.git) C · 287 lines
ThrottledTemplateWriterWriterAdapter.java (git://github.com/thymeleaf/thymeleaf.git) Java · 332 lines
GraphicsFormatUtility.bindings.cs (https://github.com/Unity-Technologies/UnityCsReference.git) C# · 215 lines
qqmlcontext.go (https://github.com/kitech/qt.go.git) Go · 457 lines
87 Create a new QQmlContext as a child of engine's root context, and the QObject parent.
88 */
89 func (*QQmlContext) NewForInherit(parent QQmlEngine_ITF /*777 QQmlEngine **/, objParent qtcore.QObject_ITF /*777 QObject **/) *QQmlContext {
90 return NewQQmlContext(parent, objParent)
91 }
92 func NewQQmlContext(parent QQmlEngine_ITF /*777 QQmlEngine **/, objParent qtcore.QObject_ITF /*777 QObject **/) *QQmlContext {
93 var convArg0 unsafe.Pointer
94 if parent != nil && parent.QQmlEngine_PTR() != nil {
114 Create a new QQmlContext as a child of engine's root context, and the QObject parent.
115 */
116 func (*QQmlContext) NewForInheritp(parent QQmlEngine_ITF /*777 QQmlEngine **/) *QQmlContext {
117 return NewQQmlContextp(parent)
118 }
222 Return the context's QQmlEngine, or 0 if the context has no QQmlEngine or the QQmlEngine was destroyed.
223 */
224 func (this *QQmlContext) Engine() *QQmlEngine /*777 QQmlEngine **/ {
225 rv, err := qtrt.InvokeQtFunc6("_ZNK11QQmlContext6engineEv", qtrt.FFI_TYPE_POINTER, this.GetCthis())
uint64_avx2_amd64.s (https://github.com/apache/arrow.git) Assembly · 173 lines
Force_Move_Tiles.rb (https://gitlab.com/GethN7/YEARepo) Ruby · 244 lines
hat-threads-run-every-frame.js (https://github.com/LLK/scratch-vm.git) JavaScript · 356 lines
4 const readFileToBuffer = require('../fixtures/readProjectFile').readFileToBuffer;
5 const VirtualMachine = require('../../src/index');
6 const Thread = require('../../src/engine/thread');
7 const Runtime = require('../../src/engine/runtime');
8 const execute = require('../../src/engine/execute.js');
10 const projectUri = path.resolve(__dirname, '../fixtures/timer-greater-than-hat.sb2');
AlgorithmParameters.java (https://github.com/zxiaofan/JDK.git) Java · 398 lines
273 if (this.initialized)
274 throw new InvalidParameterSpecException("already initialized");
275 paramSpi.engineInit(paramSpec);
276 this.initialized = true;
277 }
291 if (this.initialized)
292 throw new IOException("already initialized");
293 paramSpi.engineInit(params);
294 this.initialized = true;
295 }
313 if (this.initialized)
314 throw new IOException("already initialized");
315 paramSpi.engineInit(params, format);
316 this.initialized = true;
317 }
eomccsdtq_y1_21_2_1.F (https://github.com/nwchemgit/nwchem.git) FORTRAN Legacy · 311 lines
OpenSSLRSAKeyFactory.java (https://bitbucket.org/aways/android_libcore.git) Java · 202 lines
38 @Override
39 protected PublicKey engineGeneratePublic(KeySpec keySpec) throws InvalidKeySpecException {
40 if (keySpec instanceof RSAPublicKeySpec) {
41 RSAPublicKeySpec rsaKeySpec = (RSAPublicKeySpec) keySpec;
59 @Override
60 protected PrivateKey engineGeneratePrivate(KeySpec keySpec) throws InvalidKeySpecException {
61 if (keySpec instanceof RSAPrivateCrtKeySpec) {
62 RSAPrivateCrtKeySpec rsaKeySpec = (RSAPrivateCrtKeySpec) keySpec;
84 @Override
85 protected <T extends KeySpec> T engineGetKeySpec(Key key, Class<T> keySpec)
86 throws InvalidKeySpecException {
87 if (key == null) {
ColorChart.cpp (https://github.com/aws/lumberyard.git) C++ · 315 lines
21 const int COLORCHART_IMAGE_HEIGHT = 66;
23 // color chart in cry engine is a special image data, with size 78x66, you may see in game screenshot which is defined by a rectangle
24 // area with a yellow-black dash line boarder
25 // Create color chart function is to read that block of image data and convert it to a color table then save it to another image
207 //check if image data at location x and y could be a color chart
208 //based on if the boarder is dash lines with two pixel each segement
209 //the idea and implementation are both coming from CryEngine.
210 bool C3dLutColorChart::IsColorChartAt(AZ::u32 x, AZ::u32 y, void* pData, AZ::u32 pitch)
211 {
hnae3.c (https://github.com/tekkamanninja/linux.git) C · 371 lines
BaseRepositoryImpl.java (https://github.com/Oggi/liferay-portal.git) Java · 325 lines
25 import com.liferay.portal.kernel.search.IndexerRegistryUtil;
26 import com.liferay.portal.kernel.search.SearchContext;
27 import com.liferay.portal.kernel.search.SearchEngineUtil;
28 import com.liferay.portal.kernel.search.SearchException;
29 import com.liferay.portal.kernel.util.OrderByComparator;
218 DLFileEntryConstants.getClassName());
220 searchContext.setSearchEngineId(SearchEngineUtil.GENERIC_ENGINE_ID);
222 BooleanQuery fullQuery = indexer.getFullQuery(searchContext);
Makefile (https://bitbucket.org/killerpenguinassassins/open_distrib_devel.git) Makefile · 191 lines
124 fips_dsa_ossl.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
125 fips_dsa_ossl.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
126 fips_dsa_ossl.o: ../../include/openssl/engine.h ../../include/openssl/err.h
127 fips_dsa_ossl.o: ../../include/openssl/evp.h ../../include/openssl/fips.h
128 fips_dsa_ossl.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
167 fips_dsatest.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
168 fips_dsatest.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
169 fips_dsatest.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h
170 fips_dsatest.o: ../../include/openssl/err.h ../../include/openssl/evp.h
171 fips_dsatest.o: ../../include/openssl/fips.h ../../include/openssl/fips_rand.h
ManagerPlugin.php (https://github.com/kmikzjh/forkcms.git) PHP · 246 lines
25 * This method should return true if the current request is authenicated or false if it's not.
26 *
27 * @param ManagerEngine $man ManagerEngine reference that the plugin is assigned to.
28 * @return bool true/false if the user is authenticated.
29 */
106 * Gets called before a RPC command is handled.
107 *
108 * @param ManagerEngine $man ManagerEngine reference that the plugin is assigned to.
109 * @param string $cmd RPC Command to be executed.
110 * @param object $input RPC input object data.
118 * Gets executed when a RPC command is to be executed.
119 *
120 * @param ManagerEngine $man ManagerEngine reference that the plugin is assigned to.
121 * @param string $cmd RPC Command to be executed.
122 * @param object $input RPC input object data.
CreateDBParameterGroupRequest.h (https://github.com/aws/aws-sdk-cpp.git) C Header · 312 lines
118 * <p>The DB parameter group family name. A DB parameter group can be associated
119 * with one and only one DB parameter group family, and can be applied only to a DB
120 * instance running a database engine and engine version compatible with that DB
121 * parameter group family.</p> <p>To list all of the available parameter group
122 * families, use the following command:</p> <p> <code>aws rds
166 * <p>The DB parameter group family name. A DB parameter group can be associated
167 * with one and only one DB parameter group family, and can be applied only to a DB
168 * instance running a database engine and engine version compatible with that DB
169 * parameter group family.</p> <p>To list all of the available parameter group
170 * families, use the following command:</p> <p> <code>aws rds
202 * <p>The DB parameter group family name. A DB parameter group can be associated
203 * with one and only one DB parameter group family, and can be applied only to a DB
204 * instance running a database engine and engine version compatible with that DB
205 * parameter group family.</p> <p>To list all of the available parameter group
206 * families, use the following command:</p> <p> <code>aws rds
BaseCmsSiteAccess.java (https://gitlab.com/MetadataDev/mcms) Java · 405 lines
23 public static String PROP_AREA = "area";
24 public static String PROP_VISIT_PAGE_COUNT = "visitPageCount";
25 public static String PROP_ENGINE = "engine";
26 public static String PROP_BROWSER = "browser";
27 public static String PROP_EXTERNAL_LINK = "externalLink";
83 private java.lang.String accessSource;
84 private java.lang.String externalLink;
85 private java.lang.String engine;
86 private java.lang.String entryPage;
87 private java.lang.String lastStopPage;
241 * Set the value related to the column: engine
242 * @param engine the engine value
243 */
244 public void setEngine (java.lang.String engine) {
245 this.engine = engine;
246 }
ReplayEngine.cs (https://github.com/p-org/PSharp.git) C# · 251 lines
20 /// The P# replay engine.
21 /// </summary>
22 internal sealed class ReplayEngine : AbstractTestingEngine
23 {
24 /// <summary>
66 /// <summary>
67 /// Creates a new P# replaying engine.
68 /// </summary>
69 public static ReplayEngine Create(Configuration configuration, Func<IMachineRuntime, Task> function)
102 /// Initializes a new instance of the <see cref="ReplayEngine"/> class.
103 /// </summary>
104 private ReplayEngine(Configuration configuration, Action<IMachineRuntime> action)
105 : base(configuration, action)
106 {
UIDevice+Extensions.swift (https://github.com/iSapozhnik/Haptico.git) Swift · 311 lines
brkeng.h (https://github.com/CyanogenMod/android_external_icu4c.git) C Header · 289 lines
130 * @return A LanguageBreakEngine with the desired characteristics, or 0.
131 */
132 virtual const LanguageBreakEngine *getEngineFor(UChar32 c, int32_t breakType) = 0;
134 };
258 * @return A LanguageBreakEngine with the desired characteristics, or 0.
259 */
260 virtual const LanguageBreakEngine *getEngineFor(UChar32 c, int32_t breakType);
262 protected:
271 * @return A LanguageBreakEngine with the desired characteristics, or 0.
272 */
273 virtual const LanguageBreakEngine *loadEngineFor(UChar32 c, int32_t breakType);
275 /**
__init__.py (https://github.com/luoshu/v2ex.git) Python · 298 lines
eomccsdtq_density1_5_4_7_1.F (https://github.com/nwchemgit/nwchem.git) FORTRAN Legacy · 217 lines
eomccsdt_density1_5_13_1_1.F (https://github.com/nwchemgit/nwchem.git) FORTRAN Legacy · 217 lines
ccsdtq_lambda3_2.F (https://github.com/nwchemgit/nwchem.git) FORTRAN Legacy · 218 lines
MultiPassStore.java (https://github.com/dmontag/neo4j-enterprise.git) Java · 230 lines
NameManager.as (https://github.com/joelhooks/PushButtonEngine.git) ActionScript · 244 lines
1 /*******************************************************************************
2 * PushButton Engine
3 * Copyright (C) 2009 PushButton Labs, LLC
4 * For more information see http://www.pushbuttonengine.com
7 * in the License.html file at the root directory of this SDK.
8 ******************************************************************************/
9 package com.pblabs.engine.core
10 {
11 import com.pblabs.engine.debug.Logger;
12 import com.pblabs.engine.entity.IEntity;
13 import com.pblabs.engine.entity.IEntityComponent;
189 * @param componentType The type of the component to lookup.
190 *
191 * @see com.pblabs.engine.entity.IEntity#lookupComponentByType()
192 */
193 public function lookupComponentByType(name:String, componentType:Class):IEntityComponent
InterconnectOutageNotification.java (https://github.com/googleapis/google-api-java-client-services.git) Java · 267 lines
21 *
22 * <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23 * transmitted over HTTP when working with the Compute Engine API. For a detailed explanation see:
24 * <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
25 * </p>
ElasticsearchIndexSchemaManagerCreationCustomMappingIT.java (https://github.com/Unimarket/hibernate-search.git) Java · 252 lines
13 import org.hibernate.search.backend.elasticsearch.cfg.ElasticsearchIndexSettings;
14 import org.hibernate.search.engine.backend.document.IndexFieldReference;
15 import org.hibernate.search.engine.backend.document.IndexObjectFieldReference;
16 import org.hibernate.search.engine.backend.document.model.dsl.IndexSchemaElement;
17 import org.hibernate.search.engine.backend.document.model.dsl.IndexSchemaObjectField;
RdsClient.php (https://gitlab.com/x33n/respond) PHP · 128 lines
48 * @method Model deleteEventSubscription(array $args = array()) {@command Rds DeleteEventSubscription}
49 * @method Model deleteOptionGroup(array $args = array()) {@command Rds DeleteOptionGroup}
50 * @method Model describeDBEngineVersions(array $args = array()) {@command Rds DescribeDBEngineVersions}
51 * @method Model describeDBInstances(array $args = array()) {@command Rds DescribeDBInstances}
52 * @method Model describeDBLogFiles(array $args = array()) {@command Rds DescribeDBLogFiles}
56 * @method Model describeDBSnapshots(array $args = array()) {@command Rds DescribeDBSnapshots}
57 * @method Model describeDBSubnetGroups(array $args = array()) {@command Rds DescribeDBSubnetGroups}
58 * @method Model describeEngineDefaultParameters(array $args = array()) {@command Rds DescribeEngineDefaultParameters}
59 * @method Model describeEventCategories(array $args = array()) {@command Rds DescribeEventCategories}
60 * @method Model describeEventSubscriptions(array $args = array()) {@command Rds DescribeEventSubscriptions}
83 * @method waitUntilDBInstanceAvailable(array $input) The input array uses the parameters of the DescribeDBInstances operation and waiter specific settings
84 * @method waitUntilDBInstanceDeleted(array $input) The input array uses the parameters of the DescribeDBInstances operation and waiter specific settings
85 * @method ResourceIteratorInterface getDescribeDBEngineVersionsIterator(array $args = array()) The input array uses the parameters of the DescribeDBEngineVersions operation
86 * @method ResourceIteratorInterface getDescribeDBInstancesIterator(array $args = array()) The input array uses the parameters of the DescribeDBInstances operation
87 * @method ResourceIteratorInterface getDescribeDBLogFilesIterator(array $args = array()) The input array uses the parameters of the DescribeDBLogFiles operation
soundengine_script.cpp (https://github.com/somaen/scummvm.git) C++ · 361 lines
1 /* ScummVM - Graphic Adventure Engine
2 *
3 * ScummVM is the legal property of its developers, whose names
22 /*
23 * This code is based on Broken Sword 2.5 engine
24 *
25 * Copyright (c) Malte Thiesen, Daniel Queteschiner and Michael Elsdoerfer
38 #include "sword25/script/luabindhelper.h"
40 #include "sword25/sfx/soundengine.h"
42 namespace Sword25 {
45 Kernel *pKernel = Kernel::getInstance();
46 assert(pKernel);
47 SoundEngine *pSfx = pKernel->getSfx();
48 assert(pSfx);
MediaInformationViewModel.cs (https://pvp.svn.codeplex.com/svn) C# · 200 lines
8 using Pvp.App.Messaging;
9 using Pvp.Core.DirectShow;
10 using Pvp.Core.MediaEngine;
11 using Pvp.Core.MediaEngine.Description;
15 public class MediaInformationViewModel : ViewModelBase
16 {
17 private readonly IMediaEngineFacade _engine;
18 private readonly List<MediaInfoItem> _infoList;
20 private ICommand _okCommand;
22 public MediaInformationViewModel(IMediaEngineFacade engine)
23 {
24 _engine = engine;
30 private void Load()
31 {
32 var info = _engine.MediaInfo;
33 if (info != null)
34 {
EMFSpoolFile.cs (https://SpoolFileLibrary.svn.codeplex.com/svn) C# · 235 lines
SimpleScriptContext.java (https://github.com/Morriar/ProxyJDK.git) Java · 322 lines
70 /**
71 * This is the engine scope bindings.
72 * By default, a <code>SimpleBindings</code> is used. Accessor
73 * methods setBindings, getBindings are used to manage this field.
74 * @see SimpleBindings
75 */
76 protected Bindings engineScope;
78 /**
86 public SimpleScriptContext() {
87 engineScope = new SimpleBindings();
88 globalScope = null;
89 reader = new InputStreamReader(System.in);
BaseRepositoryImpl.java (https://github.com/monicali/liferay-portal.git) Java · 375 lines
24 import com.liferay.portal.kernel.search.Hits;
25 import com.liferay.portal.kernel.search.SearchContext;
26 import com.liferay.portal.kernel.search.SearchEngineUtil;
27 import com.liferay.portal.kernel.search.SearchException;
28 import com.liferay.portal.kernel.util.OrderByComparator;
256 public Hits search(SearchContext searchContext) throws SearchException {
257 searchContext.setSearchEngineId(SearchEngineUtil.GENERIC_ENGINE_ID);
259 BooleanQuery fullQuery = RepositorySearchQueryBuilderUtil.getFullQuery(
CaptchaConfiguration.java (https://github.com/danielreuther/liferay-portal.git) Java · 143 lines
60 @Meta.AD(
61 deflt = "com.liferay.captcha.simplecaptcha.SimpleCaptchaImpl",
62 description = "captcha-engine-help", name = "captcha-engine",
63 optionLabels = {"SimpleCaptcha", "reCAPTCHA"},
64 optionValues = {
68 required = false
69 )
70 public String captchaEngine();
72 @Meta.AD(name = "recaptcha-public-key", required = false)
Storage.java (https://github.com/abollaert/smartlights.git) Java · 167 lines
net.h (https://github.com/BiohazrD/EtherShield.git) C Header · 203 lines
portal-liferay-online-config.properties (https://github.com/danielreuther/liferay-portal.git) Properties File · 79 lines
SampleDroolsConfigurationAction.java (https://github.com/danielreuther/liferay-portal.git) Java · 156 lines
13 */
15 package com.liferay.portal.rules.engine.sample.web.internal.portlet.action;
17 import com.liferay.portal.kernel.log.Log;
28 import com.liferay.portal.kernel.util.StringUtil;
29 import com.liferay.portal.kernel.util.Validator;
30 import com.liferay.portal.rules.engine.RulesEngine;
31 import com.liferay.portal.rules.engine.RulesEngineException;
123 _rulesEngine.update(domainName, rulesResourceRetriever);
124 }
125 catch (RulesEngineException rulesEngineException) {
126 _log.error(rulesEngineException);
153 @Reference
154 private RulesEngine _rulesEngine;
156 }
build.gradle (https://github.com/danielreuther/liferay-portal.git) Gradle · 79 lines
19 compileOnly project(":apps:asset:asset-taglib")
20 compileOnly project(":apps:change-tracking:change-tracking-spi")
21 compileOnly project(":apps:data-engine:data-engine-api")
22 compileOnly project(":apps:data-engine:data-engine-rest-api")
23 compileOnly project(":apps:data-engine:data-engine-taglib")
24 compileOnly project(":apps:depot:depot-api")
25 compileOnly project(":apps:diff:diff-api")
PaymentMethodGroupRelOrderTypeResource.java (https://github.com/danielreuther/liferay-portal.git) Java · 166 lines
25 import com.liferay.portal.odata.filter.FilterParserProvider;
26 import com.liferay.portal.vulcan.accept.language.AcceptLanguage;
27 import com.liferay.portal.vulcan.batch.engine.resource.VulcanBatchEngineImportTaskResource;
28 import com.liferay.portal.vulcan.pagination.Page;
29 import com.liferay.portal.vulcan.pagination.Pagination;
117 public void setRoleLocalService(RoleLocalService roleLocalService);
119 public void setVulcanBatchEngineImportTaskResource(
120 VulcanBatchEngineImportTaskResource
121 vulcanBatchEngineImportTaskResource);
123 public default Filter toFilter(String filterString) {
SteamVR_Input_Actions.cs (https://github.com/rav3dev/vrtwix.git) C# · 319 lines
FilterDefinitionFactoryBean.java (https://gitlab.com/essere.lab.public/qualitas.class-corpus) Java · 163 lines
21 import java.util.Map;
23 import org.hibernate.engine.FilterDefinition;
24 import org.hibernate.type.Type;
25 import org.hibernate.type.TypeFactory;
62 * @author Juergen Hoeller
63 * @since 1.2
64 * @see org.hibernate.engine.FilterDefinition
65 * @see LocalSessionFactoryBean#setFilterDefinitions
66 */
TextDrawer.java (https://gitlab.com/essere.lab.public/qualitas.class-corpus) Java · 203 lines
30 * Lars Kristensen - llk@users.sourceforge.net
31 */
32 package net.sf.jasperreports.engine.export.draw;
34 import java.awt.Graphics2D;
36 import net.sf.jasperreports.engine.JRCommonText;
37 import net.sf.jasperreports.engine.JRPrintElement;
38 import net.sf.jasperreports.engine.JRPrintText;
39 import net.sf.jasperreports.engine.JRStyledTextAttributeSelector;
40 import net.sf.jasperreports.engine.export.TextRenderer;
41 import net.sf.jasperreports.engine.type.ModeEnum;
BandChangeUndoableEdit.java (https://gitlab.com/essere.lab.public/qualitas.class-corpus) Java · 161 lines
markitup.css (https://bitbucket.org/rossberenson/michael-karas.git) CSS · 213 lines
trackpoint.h (https://github.com/mturquette/linux.git) C Header · 161 lines
omap_dmm_priv.h (https://github.com/mturquette/linux.git) C Header · 194 lines
128 struct dmm_txn {
129 void *engine_handle;
130 struct tcm *tcm;
136 };
138 struct refill_engine {
139 int id;
140 struct dmm *dmm;
144 dma_addr_t refill_pa;
146 /* only one trans per engine for now */
147 struct dmm_txn txn;
172 wait_queue_head_t engine_queue;
173 struct list_head idle_head;
174 struct refill_engine *engines;
175 int num_engines;
NumberFilter.ascx.cs (https://bitbucket.org/kudutest2/kenticogit.git) C# · 188 lines
owl_nlp_lda.ml (https://github.com/ryanrhymes/owl.git) OCaml · 333 lines
ordered_commit_set_unittest.cc (https://gitlab.com/brian0218/rk3188_r-box_android4.2.2_sdk) C++ · 120 lines
CMakeLists.txt (https://gitlab.com/jorjpimm/hdf5) CMake · 126 lines
19 set (h5perf_serial_SRCS
20 ${HDF5_PERFORM_SOURCE_DIR}/sio_perf.c
21 ${HDF5_PERFORM_SOURCE_DIR}/sio_engine.c
22 )
23 add_executable (h5perf_serial ${h5perf_serial_SRCS})
31 set (h5perf_serial_alone_SRCS
32 ${HDF5_PERFORM_SOURCE_DIR}/sio_perf.c
33 ${HDF5_PERFORM_SOURCE_DIR}/sio_engine.c
34 )
35 add_executable (h5perf_serial_alone ${h5perf_serial_alone_SRCS})
99 set (h5perf_SRCS
100 ${HDF5_PERFORM_SOURCE_DIR}/pio_perf.c
101 ${HDF5_PERFORM_SOURCE_DIR}/pio_engine.c
102 )
103 add_executable (h5perf ${h5perf_SRCS})
MarketDataProvider.java (https://github.com/gsteri1/OG-Platform.git) Java · 127 lines
4 * Please see distribution for license.
5 */
6 package com.opengamma.engine.marketdata;
8 import java.util.Set;
11 import javax.time.Instant;
13 import com.opengamma.engine.marketdata.availability.MarketDataAvailabilityProvider;
14 import com.opengamma.engine.marketdata.permission.MarketDataPermissionProvider;
15 import com.opengamma.engine.marketdata.spec.MarketDataSpecification;
16 import com.opengamma.engine.value.ValueRequirement;
20 /**
21 * Represents a source of market data from which the engine can obtain a consistent snapshot and receive notifications
22 * of changes.
23 */
The-Methods-buffer.html (https://bitbucket.org/shuangxinyu/emacspack.git) HTML · 72 lines
37 <p>ECB is mostly designed to display parsing information for files
38 supported by semantic. But beginning with version 1.94 it also
39 supports other parsing engines like imenu and etags, so also files not
40 supported by semantic but by imenu/etags can be displayed in the
41 Method-buffer of ECB. Therefore we have to introduce some terminology:
rtmp.h
(http://omnia2droid.googlecode.com/svn/trunk/)
C++ Header · 6874 lines
✨ Summary
This is a C++ header file that defines various functions and data structures for a wireless networking system, likely a Linux-based driver. It provides functionality for tasks such as device management, network operations, file I/O, and event handling, with a focus on wireless communication protocols. The code appears to be part of an open-source project, given the use of Linux-specific features and the presence of debug macros.
This is a C++ header file that defines various functions and data structures for a wireless networking system, likely a Linux-based driver. It provides functionality for tasks such as device management, network operations, file I/O, and event handling, with a focus on wireless communication protocols. The code appears to be part of an open-source project, given the use of Linux-specific features and the presence of debug macros.
RE.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 1357 lines
✨ Summary
This Java code is part of a regular expression compiler, responsible for parsing and compiling regular expressions into an internal representation. It handles various input types, including strings, character arrays, and streams, and provides methods for debugging and human-readable output. The compiled regular expression can be used to match patterns in text data.
This Java code is part of a regular expression compiler, responsible for parsing and compiling regular expressions into an internal representation. It handles various input types, including strings, character arrays, and streams, and provides methods for debugging and human-readable output. The compiled regular expression can be used to match patterns in text data.
181 * When a match method is invoked that starts matching at a non-zero
182 * index into the input, treat the input as if it begins at the index
183 * given. The effect of this flag is that the engine does not "see"
184 * any text in the input before the given index. This is useful so
185 * that the match-beginning operator (^) matches not at position 0
QtGui.4.0.0.linux-gcc-ia32.txt (https://bitbucket.org/ultra_iter/qt-vtl.git) Plain Text · 10944 lines
672 Vtable for QFileEngine
673 QFileEngine::_ZTV11QFileEngine: 35u entries
674 0 (int (*)(...))0
675 4 (int (*)(...))(& _ZTI11QFileEngine)
713 QFileEngine (0x41b03e80) 0
714 vptr=((& QFileEngine::_ZTV11QFileEngine) + 8u)
716 Vtable for QFileEngineHandler
717 QFileEngineHandler::_ZTV18QFileEngineHandler: 5u entries
718 0 (int (*)(...))0
719 4 (int (*)(...))(& _ZTI18QFileEngineHandler)
727 QFileEngineHandler (0x41b03f80) 0 nearly-empty
728 vptr=((& QFileEngineHandler::_ZTV18QFileEngineHandler) + 8u)
730 Class QHashData::Node
libata.tmpl (http://omnia2droid.googlecode.com/svn/trunk/) Unknown · 1633 lines
285 </sect2>
287 <sect2><title>Control PCI IDE BMDMA engine</title>
288 <programlisting>
289 void (*bmdma_setup) (struct ata_queued_cmd *qc);
296 When setting up an IDE BMDMA transaction, these hooks arm
297 (->bmdma_setup), fire (->bmdma_start), and halt (->bmdma_stop)
298 the hardware's DMA engine. ->bmdma_status is used to read the standard
299 PCI IDE DMA Status register.
300 </para>
334 <para>
335 Higher-level hooks, these two hooks can potentially supercede
336 several of the above taskfile/DMA engine hooks. ->qc_prep is
337 called after the buffers have been DMA-mapped, and is typically
338 used to populate the hardware's DMA scatter-gather table.
resources.html
(http://hadesmem.googlecode.com/svn/trunk/)
HTML · 0 lines
✨ Summary
This HTML code outputs a documentation page for the Boost MPL library, featuring a table of contents, navigation links, and references to external resources such as books and online papers. The page includes a brief introduction to metaprogramming concepts and tools from Boost and beyond, with additional recommendations for further reading.
This HTML code outputs a documentation page for the Boost MPL library, featuring a table of contents, navigation links, and references to external resources such as books and online papers. The page includes a brief introduction to metaprogramming concepts and tools from Boost and beyond, with additional recommendations for further reading.
38 <li>Todd L. Veldhuizen and Dennis Gannon, "<a class="reference" href="http://osl.iu.edu/~tveldhui/papers/oo98.html" target="_top">Active Libraries: Rethinking the roles of
39 compilers and libraries</a>", SIAM Workshop on Object Oriented Methods for Inter-operable
40 Scientific and Engineering Computing, October 21-23, 1998</li>
41 <li>Todd L. Veldhuizen, "<a class="reference" href="http://osl.iu.edu/~tveldhui/papers/pepm99/" target="_top">C++ Templates as Partial Evaluation</a>", 1999 ACM SIGPLAN
42 Workshop on Partial Evaluation and Semantics-Based Program Manipulation (PEPM'99).</li>
Credits.rtf (http://galaxyengine.googlecode.com/svn/trunk/) Unknown · 19 lines
lgpl-2.1.txt (https://bitbucket.org/ultra_iter/qt-vtl.git) Plain Text · 504 lines
regress-352291.js
(git://github.com/zpao/v8monkey.git)
JavaScript · 73 lines
✨ Summary
This JavaScript code tests the disassembly of regular expressions using the dis
function. It checks if the dis
function is defined and attempts to call it with a regular expression pattern /g/g
. If successful, it reports the result; otherwise, it reports an error message indicating that disassembly is not supported for this test.
This JavaScript code tests the disassembly of regular expressions using the dis
function. It checks if the dis
function is defined and attempts to call it with a regular expression pattern /g/g
. If successful, it reports the result; otherwise, it reports an error message indicating that disassembly is not supported for this test.
HOWTO (http://omnia2droid.googlecode.com/svn/trunk/) Unknown · 652 lines
415 http://vger.kernel.org/vger-lists.html#linux-kernel
416 There are archives of the mailing list on the web in many different
417 places. Use a search engine to find these archives. For example:
418 http://dir.gmane.org/gmane.linux.kernel
419 It is highly recommended that you search the archives about the topic
527 Another way the kernel community is different than most traditional
528 software engineering work environments is the faceless nature of
529 interaction. One benefit of using email and irc as the primary forms of
530 communication is the lack of discrimination based on gender or race.
font_test_screen.hpp (git://pkgs.fedoraproject.org/pingus) C++ Header · 48 lines
painting.pri (https://bitbucket.org/ultra_iter/qt-vtl.git) Unknown · 277 lines
9 painting/qcosmeticstroker_p.h \
10 painting/qdrawutil.h \
11 painting/qemulationpaintengine_p.h \
12 painting/qgraphicssystem_p.h \
13 painting/qgraphicssystemex_p.h \
16 painting/qoutlinemapper_p.h \
17 painting/qpaintdevice.h \
18 painting/qpaintengine.h \
19 painting/qpaintengine_p.h \
20 painting/qpaintengine_alpha_p.h \
21 painting/qpaintengine_preview_p.h \
22 painting/qpaintengineex_p.h \
23 painting/qpainter.h \
24 painting/qpainter_p.h \
scripts.vim (https://bitbucket.org/ultra_iter/vim-qt.git) Vim Script · 361 lines
README.txt (http://jsdoc-toolkit.googlecode.com/svn/) Unknown · 120 lines
5 JsDoc Toolkit is an automatic documentation generation tool for
6 JavaScript. It is written in JavaScript and is run from a command line
7 (or terminal) using Mozilla Rhino JavaScript engine. Using this tool
8 you can automatically turn JavaDoc-like comments in your JavaScript
9 source code into published output, such as HTML or XML.
94 http://tango.freedesktop.org/Tango_Desktop_Project
96 JsDoc Toolkit is a larger work that uses the Rhino JavaScript engine
97 without modification and without any claims whatsoever. The portions of
98 code specific to JsDoc Toolkit are open source and licensed under the
vbscript.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 740 lines
315 <KEYWORD2>round</KEYWORD2>
316 <KEYWORD2>sgn</KEYWORD2>
317 <!-- Script Engine ID -->
318 <KEYWORD2>scriptengine</KEYWORD2>
319 <KEYWORD2>scriptenginebuildversion</KEYWORD2>
320 <KEYWORD2>scriptenginemajorversion</KEYWORD2>
321 <KEYWORD2>scriptengineminorversion</KEYWORD2>
322 <!-- Strings -->
323 <KEYWORD2>asc</KEYWORD2>
Theme.h (git://pkgs.fedoraproject.org/qtwebkit) C++ Header · 123 lines
102 // Some controls may spill out of their containers (e.g., the check on an OS X checkbox). When these controls repaint,
103 // the theme needs to communicate this inflated rect to the engine so that it can invalidate the whole control.
104 // The rect passed in is in zoomed coordinates, so the inflation should take that into account and make sure the inflation
105 // amount is also scaled by the zoomFactor.
spinbutton.rc (git://github.com/saikobee/dotfiles.git) Unknown · 10 lines
PageHistoryResponderTest.java
(git://github.com/unclebob/fitnesse.git)
Java · 486 lines
✨ Summary
This Java code is a test class for a FitNesse wiki application, which is a web-based testing framework. It tests various scenarios related to test execution reports, file handling, and request processing, ensuring that the application behaves correctly under different conditions. The tests cover aspects such as generating responses, parsing files, and accepting different input formats.
This Java code is a test class for a FitNesse wiki application, which is a web-based testing framework. It tests various scenarios related to test execution reports, file handling, and request processing, ensuring that the application behaves correctly under different conditions. The tests cover aspects such as generating responses, parsing files, and accepting different input formats.
360 VelocityContext velocityContext = new VelocityContext();
361 velocityContext.put("suiteExecutionReport", report);
362 Template template = context.pageFactory.getVelocityEngine().getTemplate("suiteHistoryXML.vm");
363 FileWriter fileWriter = new FileWriter(resultFile);
364 template.merge(velocityContext, fileWriter);
384 VelocityContext velocityContext = new VelocityContext();
385 velocityContext.put("response", testResponse);
386 Template template = context.pageFactory.getVelocityEngine().getTemplate("testResults.vm");
387 FileWriter fileWriter = new FileWriter(resultFile);
388 template.merge(velocityContext, fileWriter);
file.class.php
(http://xe-core.googlecode.com/svn/trunk/)
PHP · 153 lines
✨ Summary
This is a class file for the File module in OpenSIS. It contains functions for uploading, downloading, and managing files.
This is a class file for the File module in OpenSIS. It contains functions for uploading, downloading, and managing files.
http:::www.gameinformer.com:b:features:archive:2010:10:13:dota-2-announced-details.aspx (https://github.com/jiankaidang/WebCrawler.git) ASP.NET · 2159 lines
734 <p><img src="http://media1.gameinformer.com/imagefeed/featured/valve/secret/dota2_onesheet_bloodseeker.jpg" style="max-width:610px;" border="0" alt="" /><br /><br />DotA enjoys such unprecedented popularity for a number of interconnected reasons. The game has a skill curve as long and as wide as Counter-Strike or StarCraft; expert players dominate matches with lesser-skilled individuals solely through manual dexterity and hard-won knowledge. Extensive upgrade paths allow players to combine items into more powerful versions, gaining thousands of hit points or powerful life-stealing attacks. Team play is hugely rewarded; though the map is large enough for all ten players to spread out and fight creeps on their own without anyone engaging anyone else directly, late-game play is almost invariably centered around giant 3v3 or even 5v5 team fights. <br /><br />The mod has benefited from excellent, long-running support in the form of constant updates that add new content or address balance issues. Said balance is good enough that no dominant team composition or strategy has ever taken hold for long. The heroes are varied enough that a match featuring different team rosters can take on an entirely different character from the last.<br /><br />The enormous following generated by DotA's deep gameplay is unprecedented. Today, years after its release, a third-party site hosting an update can get hammered by more than six million downloads in a day. The mod spawned a new subgenre, commonly referred to as "action-RTS," that contains two successful commercial games in League of Legends and Heroes of Newerth (and the unfortunate flop Demigod) as well as DotA-Allstars itself. Valve Corporation, the company beloved for its Half-Life, Counter-Strike, Team Fortress, and Left 4 Dead series as well as its outstanding Steam digital distribution and matchmaking platform, is making its entry into this still-growing genre next year with Dota 2.</p>
735 <p><img src="http://media1.gameinformer.com/imagefeed/featured/valve/secret/dota2_onesheet_drowranger.jpg" style="max-width:610px;" border="0" alt="" /></p>
736 <p><span style="font-size:medium;"><b>What Does Valve Bring?</b></span><br /><br />Valve's approach to Dota 2 is unusual in that the gameplay itself is remaining almost entirely untouched. "Our first reaction is to assume that [design elements are] there for a reason," project lead Erik Johnson explains. "IceFrog is one of the smartest designers we've ever met. He's made so many good decisions over the years in building the product. He virtually never makes a decision that doesn't have some reasoning behind it and a way to pick apart the logic behind it." This approach means that Dota 2 basically is DotA-Allstars with new technology.<br /><br />DotA-Allstars' roster of 100+ heroes is being brought over in its entirety. The single map games take place on is functionally identical to the one that you can download for free today in the Warcraft III mod. Items, skills, and upgrade paths are unchanged. Some hero skills work slightly better due to being freed from the now-ancient Warcraft III engine, but Dota 2 will be instantly familiar to any DotA player.<br /><br />A few things will make significant differences to players making the transition. Dota 2 uses Valve's Source engine, so the game is much prettier. Source itself is getting a few upgrades, including improved global lighting and true cloth simulation. Dota 2's integrated voice chat is a huge step up from having to set up your own Ventrilo server, and the speed of voice communication is very nearly a requirement for a game as team-focused as DotA.<br /><br />AI bots will take over for disconnected players, and will be available to play against in unranked training matches as well. However, don't get your hopes up for a full-fledged single-player game, though. Johnson says, "Our goal with the AI is just that their experience isn't destroyed just because one person couldn't finish the game."<br /><br />The visual style is remarkable for retaining the somewhat cartoony feel that the Warcraft III version of DotA-Allstars is built around, while going in a few different directions. "I think there are functional aspects to the art that are pretty significant to the players," Johnson muses. The environment, particularly in the forests that fill in the map between the three lanes that the NPC armies follow, uses a desaturated color scheme to give the colorful heroes and abilities some visual pop. The sizable art team is putting a lot of work into making the shapes and animations of each hero distinct to the point that players will be able to instantly identify any hero they see and quickly gauge the threat level of any situation.<br /><br />The game will also feature a ton of custom voice work. You'll get amusing lines from heroes as they deny the enemy team last hits on creeps, and champions who have backstory connections will trade quips when nearby.<br /><br />The bulk of innovation in Dota 2, however, is ancillary to the gameplay itself. Valve is upgrading Steamworks (the company's backend technologies for matchmaking and other gameplay and community-related things) to allow them to create in-game rewards for participating in the Dota 2 community. The idea is to have everything a player does in or out of game tie back into their online identity. Like the improvements to Source, the Steamworks upgrades will be available to third-party developers who choose to use Valve's tools when Dota 2 launches in 2011.<br /><br />At a basic level, posting useful feedback or participating in constructive discussions on the forums will contribute to your standing in the community in a visible way. Valve doesn't have the specifics on how this will work nailed down yet. Will you get points that contribute to a visible ranking, like a Gamerscore? Will your posts need to be recommended by other community members to count for anything? What counts as a constructive discussion? These questions are all being actively explored at the moment. Valve assures us that the designers have a slew of awesome ideas for how to implement rewards in a way that’s visible to the rest of the community, but there are no details to announce yet. "When we talk about this identity that exists inside and outside the game, we don't think we're anywhere near it with what exists on Steam right now," Johnson admits.<br /><br />If this was just about getting points for posting comments, though, we wouldn't waste your time by telling you about it. Dota 2 goes much farther than that. Everything from unlocking new skins for your favorite hero to getting a unique title for writing a strategy guide is on the table. Valve has ambitious plans (for which, again, there are no specifics to share) to host everything themselves and provide the best framework for the community to interact with each other. The idea is to reduce the social friction inherent in having to dig around a bunch of different fansites and wikis to find what you're looking for.<br /><br />Ultimately, two things will make Dota 2 stand out: the coaching system and interactive guides. Read on to find out more.</p>
737 <p><img src="http://media1.gameinformer.com/imagefeed/featured/valve/secret/dota2_onesheet_lina.jpg" style="max-width:610px;" border="0" alt="" /><br /><br /><span style="font-size:medium;"><b>Riding the Skill Curve</b></span><br /><br />Getting owned sucks. It doesn't matter if you're the victim of a headshot in Counter-Strike, corner trapped in Street Fighter, or swarmed under by Zerglings in StarCraft. Holding the short end of the skill stick in competitive games like these is rough. This problem is compounded in DotA and its clones by two factors. First, matches last around 40 minutes – that's a long time to spend getting your face kicked in. Second, dying not only takes you out of the game while your respawn timer counts down but also directly benefits the other team by giving a big cash bounty to your killer. <br /><br />At intermediate and higher levels of play, having a poor player on your team who dies frequently is worse than fighting with a man down, as the opposite team gets gobs of gold for picking off the newbie. This has fostered a legendarily newbie-hostile attitude within large swaths of the DotA community. As fun and rewarding as the game is when you're in a match of appropriate skill level – and it can be one of the very best experiences in gaming, without exaggeration – finding those matches has always been a nightmare. It doesn't help that the game is so intense that Valve had to institute a "no talking about the match for an hour afterwards" rule for its internal playtests. The recent commercial titles that more or less cloned DotA have ameliorated this to some extent, but it is still often a huge problem.<br /><br />Valve believes that the solution to the huge barrier to entry is threefold. The first, obvious solution is to have excellent skill-based matchmaking for both individuals and teams. Valve believes that the work going into Steamworks for Dota 2's release meets that requirement. Second, interactive guides will allow players to do more than just read a guide for their favorite hero that has been deemed helpful by the community at large. Valve plans to allow guide-makers to tie their work back into the game by doing things like highlighting suggested item purchases or displaying useful information during a match.<br /><br />Finally, a coaching system is being deeply integrated into the game. By logging in as a coach, veteran players can do their part to help out newer folks. Valve hasn't entirely decided on the specifics of how newbies and coaches will be matched up, but once they're together a few things happen. The coach sees the pupil's screen, and gets private voice and chat channels to communicate with them. The coach probably won't be able to take control of anything directly (once again, the details are currently under discussion), but information is power in Dota 2 and having a mentor whispering in your ear can make all the difference in the world.</p>
738 <p><img src="http://media1.gameinformer.com/imagefeed/featured/valve/secret/dota2_onesheet_morphling.jpg" style="max-width:610px;" border="0" alt="" /><br /><br />Of course, the pupil will be able to rate the coach's helpfulness. Being a well-regarded coach will have explicit in-game rewards, just like writing useful guides, posting constructive feedback, or engaging in interesting strategy discussions. If the overwhelming response to Battle.net achievements is any indication, vanity rewards like these will be extremely effective in channeling the community's energies toward positive contributions.<br /><br />Valve founder and boss Gabe Newell thinks that ongoing service and value creation over a game's lifespan is the new reality of game development. "IceFrog was one of the smartest people we've ever met about doing that, and he was doing it with both hands tied behind his back, so to speak," Newell says. The company plans on approaching Dota 2 with the same dedication that won it the fanatical devotion of the Team Fortress 2 community, pushing out dozens of updates that do everything from adding new hats to fixing balance issues to introducing entire new match types for free.<br /><br />"I think the interesting thing is us adding a second layer where the community is a service to each other. That's the real shift that we're trying to build here. Valve is going to keep building software around Dota and around the community and around Steamworks for Dota, but we're also going to build this system where the community can bring service to each other and be recognized for it," Johnson proclaims. With a solid backbone of community-enabling systems and Valve's legendary support and technology behind it, Dota 2 has a chance to turn one of the most popular mods of all time into a full game on PC and Mac that compares favorably to any eight-figure-budget console blockbuster.</p>
JavaScriptShell.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 114 lines
✨ Summary
This Java code implements a JavaScript shell for an integrated development environment (IDE). It allows users to execute JavaScript commands, print output, and run scripts from files. The shell uses a ScriptEngineManager to manage the JavaScript engine and provides a way to set global variables and interact with the IDE’s view and text area.
This Java code implements a JavaScript shell for an integrated development environment (IDE). It allows users to execute JavaScript commands, print output, and run scripts from files. The shell uses a ScriptEngineManager to manage the JavaScript engine and provides a way to set global variables and interact with the IDE’s view and text area.
35 public class JavaScriptShell extends Shell {
37 private static ScriptEngine engine;
39 public static void init() {
40 if (engine == null) {
41 ScriptEngineManager manager = new ScriptEngineManager();
42 engine = manager.getEngineByName("JavaScript");
43 engine.setBindings(new SimpleBindings(), ScriptContext.ENGINE_SCOPE);
44 }
45 }
82 engine.put("buffer", view == null ? null : view.getTextArea().getBuffer());
83 engine.put("engine", engine);
84 }
ScriptEngineService.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 47 lines
✨ Summary
This Java interface defines a contract for mapping modes to script engines. It provides two methods: getEngineFactoryClass()
and getMode()
, which return the class of the script engine factory used in the ScriptEngineManager and the mode associated with the script engine, respectively. This allows different modes to be mapped to specific script engines.
This Java interface defines a contract for mapping modes to script engines. It provides two methods: getEngineFactoryClass()
and getMode()
, which return the class of the script engine factory used in the ScriptEngineManager and the mode associated with the script engine, respectively. This allows different modes to be mapped to specific script engines.
27 /**
28 * A ScriptEngineService maps a mode to a given Script Engine.<br />
29 * Eg. The JavascriptEngineService should return the mode for Javascript, and the engine name of "javascript".
30 * This engine name is what is used to locate the scripting engine from the ScripEngineManager.
31 * @author elberry
32 */
33 public interface ScriptEngineService {
35 /**
36 * Get the script engine factory class used in ScriptEngineManager.
37 * @return the script engine factory class used in ScriptEngineManager.
Postgres83.java
(http://mozart.googlecode.com/svn/trunk/)
Java · 116 lines
✨ Summary
This is a Java class that extends the Postgres80 class and adds some new methods to support PostgreSQL version 8.3. The isSupportConstraints()
method returns true, indicating that this version of PostgreSQL supports constraints. The getSetValueSequenceSql()
method returns a list containing a single SQL statement that sets the increment value for a sequence in PostgreSQL. The getCreateDatabaseSql()
method returns a SQL statement that creates a new database in PostgreSQL with the specified name and encoding. The getSystemStoredProcedureSql()
method returns a list of SQL statements that create system stored procedures in PostgreSQL. The ceateNullabilityConstraint()
method creates a nullability constraint for a column in PostgreSQL. The dropConstraints()
method drops all constraints for a table in PostgreSQL.
This is a Java class that extends the Postgres80 class and adds some new methods to support PostgreSQL version 8.3. The isSupportConstraints()
method returns true, indicating that this version of PostgreSQL supports constraints. The getSetValueSequenceSql()
method returns a list containing a single SQL statement that sets the increment value for a sequence in PostgreSQL. The getCreateDatabaseSql()
method returns a SQL statement that creates a new database in PostgreSQL with the specified name and encoding. The getSystemStoredProcedureSql()
method returns a list of SQL statements that create system stored procedures in PostgreSQL. The ceateNullabilityConstraint()
method creates a nullability constraint for a column in PostgreSQL. The dropConstraints()
method drops all constraints for a table in PostgreSQL.
help.txt (git://github.com/django/django.git) Plain Text · 93 lines
readme.txt (git://github.com/mplacona/Mango2Wordpress.git) Plain Text · 50 lines
rsd.ashx.cs
(https://bitbucket.org/davcar/bvcms/)
C# · 56 lines
✨ Summary
This C# code generates an XML response for a web service that provides metadata about a blog post. It loads data from a database, constructs an XML document with relevant information such as the blog’s name and URL, and returns it to the client. The XML document conforms to the RSS 2.0 specification.
This C# code generates an XML response for a web service that provides metadata about a blog post. It loads data from a database, constructs an XML document with relevant information such as the blog’s name and URL, and returns it to the client. The XML document conforms to the RSS 2.0 specification.
22 context.Response.ContentEncoding = Encoding.UTF8;
23 var homeurl = Util.ResolveServerUrl("~/BlogPost/{0}.aspx".Fmt(b.Name));
24 var engineurl = Util.ResolveServerUrl("~");
25 var metaurl = Util.ResolveServerUrl("~/BlogPost/metaweblogapi.ashx");
26 XDocument document = new XDocument(
30 new XElement("engineName", "GO Disciple's Blog"),
31 new XElement("engineLink", engineurl),
32 new XElement("homePageLink", homeurl),
33 new XElement("apis",
InvalidURLError.html
(https://code.google.com/p/appengine-jruby/)
HTML · 71 lines
✨ Summary
This HTML code outputs a page describing an error that occurs when a URL cannot be parsed, specifically AppEngine::URLFetch::InvalidURLError
. The page displays information about the error, including its location in the source code and its parent class (StandardError
). It also includes a brief description of the error.
This HTML code outputs a page describing an error that occurs when a URL cannot be parsed, specifically AppEngine::URLFetch::InvalidURLError
. The page displays information about the error, including its location in the source code and its parent class (StandardError
). It also includes a brief description of the error.
4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5 <head>
6 <title>AppEngine::URLFetch::InvalidURLError</title>
7 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8 <link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
13 <table width="100%" border='0' cellpadding='0' cellspacing='0' class='banner'>
14 <tr>
15 <td class="file-title"><span class="file-title-prefix">Class</span><br />AppEngine::URLFetch::InvalidURLError</td>
16 <td align="right">
17 <table cellspacing="0" cellpadding="2">
20 <td>
22 <a href="../../../files/lib/appengine-apis/urlfetch_rb.html">lib/appengine-apis/urlfetch.rb</a>
24 </td>
Issue256Test.java
(http://datanucleus-appengine.googlecode.com/svn/trunk/)
Java · 0 lines
✨ Summary
This Java code tests a specific issue with Google App Engine’s DataNucleus, a JPA implementation for the platform. It creates a Bar
object, persists it to the database, clears the entity manager, and then queries the database again to count the number of Bar
objects, verifying that the count is 1.
This Java code tests a specific issue with Google App Engine’s DataNucleus, a JPA implementation for the platform. It creates a Bar
object, persists it to the database, clears the entity manager, and then queries the database again to count the number of Bar
objects, verifying that the count is 1.
Prime Numbers, Factorization and Euler Function .html
(http://mycila.googlecode.com/svn/)
HTML · 784 lines
✨ Summary
This HTML code is a TopCoder competition page, displaying problem information and related content. It includes a table with problem details, a right column with additional content, and a footer with copyright information and links to other TopCoder resources. The page also tracks user interactions using Google Analytics.
This HTML code is a TopCoder competition page, displaying problem information and related content. It includes a table with problem details, a right column with additional content, and a footer with copyright information and links to other TopCoder resources. The page also tracks user interactions using Google Analytics.
719 <li><a href="http://www.topcoder.com/stat?c=problem_statement&pm=6408&rd=9826"> PowerCollector</a> (SRM 305) </li>
720 <li><a href="http://www.topcoder.com/stat?c=problem_statement&pm=6083&rd=9987"> PreprimeNumbers</a> (SRM 307) </li>
721 <li><a href="http://www.topcoder.com/stat?c=problem_statement&pm=2017"> EngineersPrimes</a> (SRM 181) </li>
722 <li><a href="http://www.topcoder.com/stat?c=problem_statement&pm=2342"> SquareFree</a> (SRM 190) </li>
723 </ul>