answer
stringlengths
15
1.25M
package org.easyj.framework.util; public class UUID { public static String getUUID32(){ String uuid = java.util.UUID.randomUUID().toString(); return uuid.replace("-", ""); } public static void main(String[] args) { getUUID32(); } }
import unittest from robot.errors import DataError from robot.model import Keywords from robot.running.userkeyword import (EmbeddedArgs, <API key>, UserKeywordHandler) from robot.running.arguments import EmbeddedArguments, <API key> from robot.utils.asserts import assert_equal, assert_true, assert_raises class Fake(object): value = '' message = '' def __iter__(self): return iter([]) class FakeArgs(object): def __init__(self, args): self.value = args def __nonzero__(self): return bool(self.value) def __iter__(self): return iter(self.value) class HandlerDataMock: def __init__(self, name, args=[]): self.name = name self.args = FakeArgs(args) self.metadata = {} self.keywords = Keywords() self.defaults = [] self.varargs = None self.minargs = 0 self.maxargs = 0 self.return_value = None self.doc = Fake() self.timeout = Fake() self.return_ = Fake() self.tags = () self.teardown = None def EAT(name, args=[]): handler = HandlerDataMock(name, args) embedded = EmbeddedArguments(name) return <API key>(handler, 'resource', embedded) class TestEmbeddedArgs(unittest.TestCase): def setUp(self): self.tmp1 = EAT('User selects ${item} from list') self.tmp2 = EAT('${x} * ${y} from "${z}"') def <API key>(self): assert_true(not EmbeddedArguments('No embedded args here')) assert_true(EmbeddedArguments('${Yes} embedded args here')) def <API key>(self): assert_equal(self.tmp1.embedded_args, ['item']) assert_equal(self.tmp1.embedded_name.pattern, '^User\\ selects\\ (.*?)\\ from\\ list$') assert_equal(self.tmp1.name, 'User selects ${item} from list') def <API key>(self): assert_equal(self.tmp2.embedded_args, ['x', 'y', 'z']) assert_equal(self.tmp2.embedded_name.pattern, '^(.*?)\\ \\*\\ (.*?)\\ from\\ \\"(.*?)\\"$') def <API key>(self): assert_raises(ValueError, EmbeddedArgs, 'Not matching', self.tmp1) def <API key>(self): handler = EmbeddedArgs('User selects book from list', self.tmp1) assert_equal(handler.embedded_args, [('item', 'book')]) assert_equal(handler.name, 'User selects book from list') assert_equal(handler.longname, 'resource.User selects book from list') handler = EmbeddedArgs('User selects radio from list', self.tmp1) assert_equal(handler.embedded_args, [('item', 'radio')]) assert_equal(handler.name, 'User selects radio from list') assert_equal(handler.longname, 'resource.User selects radio from list') def <API key>(self): handler = EmbeddedArgs('User * book from "list"', self.tmp2) assert_equal(handler.embedded_args, [('x', 'User'), ('y', 'book'), ('z', 'list')]) def <API key>(self): handler = EmbeddedArgs('User selects from list', self.tmp1) assert_equal(handler.embedded_args, [('item', '')]) def <API key>(self):
#-*- coding: utf-8 -*- import utils import signals import config import error from CreateDialog import CreateDialog from ui.<API key> import <API key> from PyQt4 import QtGui from PyQt4 import QtCore class <API key>(CreateDialog): def __init__(self, parent=None): CreateDialog.__init__(self) self.ui = <API key>() self.ui.setupUi(self) self.initIpList() self.setModal(True) self.setupSignals() def initIpList(self): self.ui.ipCmbBox.addItems(config.<API key> + utils.getLocalIpList()) def setupSignals(self): self.ui.okBtn.clicked.connect(self.onOkBtnClicked) self.ui.broadcastBtn.clicked.connect(self.<API key>) self.ui.cancelBtn.clicked.connect(self.close) self.ui.sysPortCbx.stateChanged.connect(self.<API key>) def onOkBtnClicked(self): strRemotePort = utils.qstr2str(self.ui.remotePortCmbBox.currentText()) strLocalPort = utils.qstr2str(self.ui.localPortCmbBox.currentText()) localPort = 0 if not self.ui.sysPortCbx.isChecked(): if not strLocalPort.isdigit(): return localPort = int(strLocalPort) if not utils.isPortOk(localPort): return if not strRemotePort.isdigit(): return remotePort = int(strRemotePort) if not utils.isPortOk(remotePort): return self.emit(signals.<API key>, utils.qstr2str(self.ui.ipCmbBox.currentText()), remotePort, localPort) self.close() def <API key>(self): curIp = utils.qstr2str(self.ui.ipCmbBox.currentText()) if curIp in ("127.0.0.1", "0.0.0.0"): return broadcastIp = utils.getBroadcastIp(curIp) if broadcastIp is None: return self.ui.ipCmbBox.setEditText(broadcastIp) def <API key>(self, state): self.ui.localPortCmbBox.setEnabled(state == 0) def show_(self): if self.ui.localPortCmbBox.currentText() == "": self.ui.localPortCmbBox.setEditText(`utils.randomPort()`) self.ui.remotePortCmbBox.setFocus() self.show()
package com.team.zhuoke.masterhelper.net.cookie; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.io.Serializable; import java.net.HttpCookie; public class <API key> implements Serializable { private static final long serialVersionUID = <API key>; private transient final HttpCookie cookie; private transient HttpCookie clientCookie; public <API key>(HttpCookie cookie) { this.cookie = cookie; } public HttpCookie getCookie() { HttpCookie bestCookie = cookie; if (clientCookie != null) { bestCookie = clientCookie; } return bestCookie; } private void writeObject(ObjectOutputStream out) throws IOException { out.writeObject(cookie.getName()); out.writeObject(cookie.getValue()); out.writeObject(cookie.getComment()); out.writeObject(cookie.getCommentURL()); out.writeObject(cookie.getDomain()); out.writeLong(cookie.getMaxAge()); out.writeObject(cookie.getPath()); out.writeObject(cookie.getPortlist()); out.writeInt(cookie.getVersion()); out.writeBoolean(cookie.getSecure()); out.writeBoolean(cookie.getDiscard()); } private void readObject(ObjectInputStream in) throws IOException, <API key> { String name = (String) in.readObject(); String value = (String) in.readObject(); clientCookie = new HttpCookie(name, value); clientCookie.setComment((String) in.readObject()); clientCookie.setCommentURL((String) in.readObject()); clientCookie.setDomain((String) in.readObject()); clientCookie.setMaxAge(in.readLong()); clientCookie.setPath((String) in.readObject()); clientCookie.setPortlist((String) in.readObject()); clientCookie.setVersion(in.readInt()); clientCookie.setSecure(in.readBoolean()); clientCookie.setDiscard(in.readBoolean()); } }
## ROCAUC ROC\(Receiver Operating Characteristic\)AUCprecisionrecallF-score 1. 1. 1. 1. 1. 1. ![](/assets/ROC.png) ROCfalse positive rate \(FPR\)true positive rate\(TPR\)TPRFPR: ![](/assets/ 2017-02-10 4.13.11.png) ROC\(0,1\)FPR=0, TPR=1FNfalse negative=0FPfalse positive=0Wow\(1,0\)FPR=1TPR=0\(0,0\)FPR=TPR=0FPfalse positive=TPtrue positive=0negative1,1ROC ROCy=x\(0.5,0.5\) # ROC ROCTPRFPR # AUC AUCArea Under CurveROC1ROCy=xAUC0.51AUCROCAUC ROCAUCROCROCclass imbalance 1ROCAUC 2y=x 3AUC\(The ROC curve shows the ability of the classifier to rank the positive instances relative to the negative instances, and it is indeed perfect in this ability\) **** \(pair\) / pair neg \* pos pair right\_pairs pair, , pair 4TPRFPR [https: [http:
using System; using System.Collections; using System.Collections.Generic; using System.Runtime.CompilerServices; using static System.Math; namespace TilemapTools { public class GridBlock<TCell> : IGridBlock<TCell>, IEnumerable<CellLocationPair<TCell>> { private readonly IEqualityComparer<TCell> <API key>; private int cellCount = 0; private TCell[] cells; public GridBlock(int blockSize, ShortPoint location, IEqualityComparer<TCell> <API key>) { if (<API key> == null) throw new <API key>(nameof(<API key>)); BlockSize = blockSize; Location = location; cells = new TCell[BlockSize * BlockSize]; this.<API key> = <API key>; } public int BlockSize { get; } public bool IsEmpty => cellCount == 0; public ShortPoint Location { get; } public int CellCount => cellCount; public TCell GetCell(int x, int y) { return cells[y * BlockSize + x]; } public bool SetCell(int x, int y, TCell value) { bool changed = false; var index = y * BlockSize + x; if (!<API key>.Equals(cells[index], value)) { if (<API key>.Equals(value, default(TCell))) cellCount -= 1; else if (<API key>.Equals(cells[index], default(TCell))) cellCount += 1; changed = true; <API key>(x, y); } cells[index] = value; return changed; } protected virtual void <API key>(int x, int y) { } IEnumerator<CellLocationPair<TCell>> IEnumerable<CellLocationPair<TCell>>.GetEnumerator() { return new Enumerator(this); } IEnumerator IEnumerable.GetEnumerator() { return new Enumerator(this); } struct Enumerator : IEnumerator<CellLocationPair<TCell>> { private int index; private GridBlock<TCell> gridBlock; private CellLocationPair<TCell> current; public Enumerator(GridBlock<TCell> gridBlock) { index = 0; current = default(CellLocationPair<TCell>); this.gridBlock = gridBlock; } public CellLocationPair<TCell> Current => current; object IEnumerator.Current => Current; public void Dispose() { } public bool MoveNext() { var localGridBlock = gridBlock; var blockSize = localGridBlock.BlockSize; var blockLocation = localGridBlock.Location; if (index < localGridBlock.cells.Length) { var currentCell = localGridBlock.cells[index]; int x, y; GridBlock.GetCellLocation(ref index, ref blockSize, ref blockLocation, out x, out y); current = new CellLocationPair<TCell>(currentCell, x, y); index++; return true; } return false; } public void Reset() { index = 0; current = default(CellLocationPair<TCell>); } } } public static class GridBlock { public const int DefaultBlockSize = 16; public const int MinimumBlockSize = 1; //Block/Cell layout //| -1,1 | 1,1 | //| -1,-1 | 1,-1 | [MethodImpl(MethodImplOptions.AggressiveInlining)] public static void <API key>(ref int x, ref int y, ref int blockSize, out ShortPoint blockLocation, out int cellX, out int cellY) { var signX = Sign(x); var signY = Sign(y); var zeroX = x - signX; var zeroY = y - signY; var blockKeyX = (short)(zeroX / blockSize + signX); var blockKeyY = (short)(zeroY / blockSize + signY); blockLocation = new ShortPoint(blockKeyX, blockKeyY); if (signX < 0) cellX = Math.Abs(blockSize + (zeroX % blockSize)) - 1; else cellX = Math.Abs(zeroX % blockSize); if (signY > 0) cellY = Math.Abs(blockSize - (zeroY % blockSize)) - 1; else cellY = Math.Abs(zeroY % blockSize); } [MethodImpl(MethodImplOptions.AggressiveInlining)] public static void GetCellLocation(ref int index, ref int blockSize, ref ShortPoint blockLocation, out int x, out int y) { int localX = index % blockSize; int localY = index / blockSize; var leftCellX = blockLocation.X * blockSize; if (blockLocation.X > 0) leftCellX = leftCellX - blockSize + 1; x = leftCellX + localX; var topCellY = blockLocation.Y * blockSize; if (blockLocation.Y < 0) topCellY = topCellY + blockSize - 1; y = topCellY - localY; } [MethodImpl(MethodImplOptions.AggressiveInlining)] public static void CalculateEdges(ref int blockSize, ref ShortPoint location, out int left, out int top, out int right, out int bottom) { if (location.X < 0) { left = location.X * blockSize; } else { left = (location.X - 1) * blockSize; } right = left + blockSize; if (location.Y < 0) { top = (location.Y + 1) * blockSize; } else { top = location.Y * blockSize; } bottom = top - blockSize; } } }
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Reebok Crossfit</title> <!-- Sets initial viewport load and disables zooming --> <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, minimal-ui"> <!-- Makes your prototype chrome-less once bookmarked to your phone's home screen --> <meta name="<API key>" content="yes"> <meta name="<API key>" content="black"> <!-- Include the compiled Ratchet CSS --> <link href="css/ratchet.css" rel="stylesheet"> <!-- Include the compiled Ratchet JS --> <script src="js/ratchet.js"></script> </head> <body> <!-- Make sure all your bars are the first things in your <body> --> <header class="bar bar-nav"> <a href="#gymswitch"> <h1 class="title"> CROSSFIT GYMS <span class="icon icon-caret"></span> </h1> </a> </header> <div id="gymswitch" class="popover"> <header class="bar bar-nav"> <h1 class="titlepop">GYM SWITCHER</h1> </header> <ul class="table-view"> <li class="table-view-cellpop"><a href="http://crossfit.wearebqm.com/index.html" data-ignore="push"><img src="images/dbnpop.png"></a></li> <li class="table-view-cellpop"><a href="http://crossfit.wearebqm.com/dbnw/index.html" data-ignore="push"><img src="images/cfdbnwpop.png"></a></li> <li class="table-view-cellpop"><a href="http://crossfit.wearebqm.com/reebok/index.html" data-ignore="push"><img src="images/reebokpop.png"></a></li> </ul> </div> <!-- Wrap all non-bar HTML in the .content div (this is actually what scrolls) --> <div class="content"> <div class="scroll"> <div class="content-padded"> <div class="google-maps"> <iframe src="https: </div> </div> <button class="btn btn-positive btn-block"><a href="tel:0767069866">Call us Now</a></button> <button class="btn btn-positive btn-block"><a href="mailto:info@reebokcrossfitdurbs.co.za">Send an Email</a></button> </div> </div> </div> <nav class="bar bar-tab"> <a class="tab-item active" href="index.html" data-ignore="push"> <span class="icon icon-home"></span> <span class="tab-label">Home</span> </a> <a class="tab-item" href="reeboknews.html" data-ignore="push"> <span class="icon icon-person"></span> <span class="tab-label">News</span> </a> <a class="tab-item" href="reeboktimetable.html" data-ignore="push"> <span class="icon icon-star-filled"></span> <span class="tab-label">Timetable</span> </a> <a class="tab-item" href="reebokcontact.html" data-ignore="push"> <span class="icon icon-search"></span> <span class="tab-label">Contact</span> </a> </nav> </body> </html>
/ [<API key>.ts] var x = `abc${0}abc` === `abc` || `abc` !== `abc${0}abc` && `abc${0}abc` == "abc0abc" && "abc0abc" !== `abc${0}abc`; / [<API key>.js] var x = `abc${0}abc` === `abc` || `abc` !== `abc${0}abc` && `abc${0}abc` == "abc0abc" && "abc0abc" !== `abc${0}abc`;
package org.apache.flink.contrib.tensorflow.types; import org.apache.flink.api.java.tuple.Tuple; import org.tensorflow.DataType; import java.nio.*; /** * A builder for @{link TensorValue}. * * <p>Note: the supplied data is converted to a {@link ByteBuffer} as necessary. */ public class TensorValueBuilder<K extends Tuple,V> { private DataType dataType; private Tuple shape; private Buffer buffer; private TensorValueBuilder() {} public static TensorValueBuilder newBuilder() { return new TensorValueBuilder(); } public TensorValueBuilder dataType(DataType dataType) { this.dataType = dataType; return this; } public TensorValueBuilder shape(long[] shape) { this.shape = TensorValue.convertShape(shape); return this; } public TensorValueBuilder shape(Tuple shape) { this.shape = shape; return this; } public TensorValueBuilder data(Buffer buffer) { this.buffer = buffer; return this; } public TensorValueBuilder data(int[] data) { this.buffer = IntBuffer.wrap(data); return this; } public TensorValueBuilder data(float[] data) { this.buffer = FloatBuffer.wrap(data); return this; } public TensorValueBuilder data(double[] data) { this.buffer = DoubleBuffer.wrap(data); return this; } public TensorValueBuilder data(long[] data) { this.buffer = LongBuffer.wrap(data); return this; } /** * Build a {@link TensorValue}. */ public TensorValue build() { if(dataType == null) { throw new <API key>("dataType is required"); } if(shape == null) { throw new <API key>("shape is required"); } if(buffer == null) { throw new <API key>("data is required"); } final ByteBuffer data; if(buffer instanceof ByteBuffer && ((ByteBuffer) buffer).order() == ByteOrder.nativeOrder()) { data = (ByteBuffer) buffer; } else if(buffer instanceof IntBuffer) { data = ByteBuffer.allocate(Integer.SIZE / Byte.SIZE * buffer.remaining()).order(ByteOrder.nativeOrder()); data.asIntBuffer().put((IntBuffer) buffer); } else if(buffer instanceof FloatBuffer) { data = ByteBuffer.allocate(Float.SIZE / Byte.SIZE * buffer.remaining()).order(ByteOrder.nativeOrder()); data.asFloatBuffer().put((FloatBuffer) buffer); } else if(buffer instanceof DoubleBuffer) { data = ByteBuffer.allocate(Double.SIZE / Byte.SIZE * buffer.remaining()).order(ByteOrder.nativeOrder()); data.asDoubleBuffer().put((DoubleBuffer) buffer); } else if(buffer instanceof LongBuffer) { data = ByteBuffer.allocate(Integer.SIZE / Byte.SIZE * buffer.remaining()).order(ByteOrder.nativeOrder()); data.asLongBuffer().put((LongBuffer) buffer); } else { throw new <API key>("unsupported data buffer"); } buffer = null; return new TensorValue(dataType, shape, data); } }
using System; using System.Linq; using System.Data.Linq; using System.Data.Entity; using System.Collections; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using CNSirindar.Models; namespace CNSirindar.Models { [Table("TblEntrenadores")] public class Entrenador : Persona { public Entrenador() { this.Dependencias = new HashSet<Dependencia>(); } public virtual int EntrenadorId { get; set; } public virtual ICollection<Deporte> Deportes { get; set; } public virtual ICollection<Dependencia> Dependencias { get; set; } public static Entrenador Read(int id) { var entity = new Entrenador(); using (var db = new SirindarDbContext()) { try { entity = db.Entrenadores.Find(id); } catch (Exception) { return null; } } return entity; } public static bool Create(Entrenador entity) { using (var db = new SirindarDbContext()) { try { db.Entry(entity); db.SaveChanges(); } catch (Exception) { return false; } } return true; } public static bool Update(Entrenador entity) { using (var db = new SirindarDbContext()) { try { db.Entry(entity).State = EntityState.Modified; db.SaveChanges(); } catch (Exception) { return false; } } return true; } public static bool Delete(int id) { using (var db = new SirindarDbContext()) { try { var entity = db.Entrenadores.Find(id); entity.EsActivo = false; db.SaveChanges(); } catch (Exception) { return false; } } return true; } public static IList<Entrenador> list() { var list = new List<Entrenador>(); using (var db = new SirindarDbContext()) { list = db.Entrenadores.ToList(); } return list; } } }
package org.jboss.resteasy.test.providers.jaxb; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.client.Client; import javax.ws.rs.client.ClientBuilder; import javax.ws.rs.client.WebTarget; import javax.ws.rs.core.MediaType; import javax.ws.rs.core.Response; import javax.ws.rs.ext.ContextResolver; import javax.ws.rs.ext.Provider; import javax.xml.bind.JAXBContext; import javax.xml.bind.JAXBException; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAnyElement; import javax.xml.bind.annotation.XmlRootElement; import org.jboss.arquillian.container.test.api.Deployment; import org.jboss.arquillian.container.test.api.RunAsClient; import org.jboss.arquillian.junit.Arquillian; import org.jboss.resteasy.utils.PortProviderUtil; import org.jboss.resteasy.utils.TestUtil; import org.jboss.shrinkwrap.api.Archive; import org.jboss.shrinkwrap.api.spec.WebArchive; import org.junit.Assert; import org.junit.Test; import org.junit.runner.RunWith; /** * @tpSubChapter Jaxb provider * @tpChapter Integration tests * @tpSince RESTEasy 3.0.16 */ @RunWith(Arquillian.class) @RunAsClient public class <API key> { @Deployment public static Archive<?> deploy() { WebArchive war = TestUtil.prepareArchive(<API key>.class.getSimpleName()); return TestUtil.<API key>(war, null, BeanWrapper.class, FirstBean.class, SecondBean.class, FirstTestResource.class, SecondTestResource.class, <API key>.class); } @XmlRootElement @XmlAccessorType(XmlAccessType.FIELD) public static final class BeanWrapper { @XmlAnyElement(lax = true) private Object bean; public Object getBean() { return this.bean; } public void setBean(Object bean) { this.bean = bean; } } @XmlRootElement @XmlAccessorType(XmlAccessType.FIELD) public static final class FirstBean { private String data; public String getData() { return this.data; } public void setData(String data) { this.data = data; } } @XmlRootElement @XmlAccessorType(XmlAccessType.FIELD) public static final class SecondBean { private String data; public String getData() { return this.data; } public void setData(String data) { this.data = data; } } @Path("/firstTestResource") @Produces(MediaType.APPLICATION_XML) public static final class FirstTestResource { @GET public Response get() { FirstBean firstBean = new FirstBean(); firstBean.setData("firstTestResource"); BeanWrapper beanWrapper = new BeanWrapper(); beanWrapper.setBean(firstBean); return Response.ok(beanWrapper).build(); } } @Path("/secondTestResource") @Produces(MediaType.APPLICATION_XML) public static final class SecondTestResource { @GET public Response get() { SecondBean secondBean = new SecondBean(); secondBean.setData("secondTestResource"); BeanWrapper beanWrapper = new BeanWrapper(); beanWrapper.setBean(secondBean); return Response.ok(beanWrapper).build(); } } @Provider @Produces(MediaType.APPLICATION_XML) public static class <API key> implements ContextResolver<JAXBContext> { private JAXBContext jaxbContext; @Override public JAXBContext getContext(Class<?> type) { if (this.jaxbContext == null) { try { this.jaxbContext = JAXBContext.newInstance(BeanWrapper.class, FirstBean.class, SecondBean.class); } catch (JAXBException e) { } } return this.jaxbContext; } } private String generateURL(String path) { return PortProviderUtil.generateURL(path, <API key>.class.getSimpleName()); } /** * @tpTestDetails In the following test both firstWebTarget and secondWebTarget will share the same <API key> * inherited from their shared parent configuration. We define and register a ContextResolver<JAXBContext> for each * webTarget so that firstWebTarget and secondWebTarget have its own (respectively <API key> * and <API key>). * @tpSince RESTEasy 3.0.16 */ @Test public void test() { Client client = ClientBuilder.newClient(); try { // First webTarget WebTarget firstWebTarget = client.target(generateURL("/firstTestResource")); ContextResolver<JAXBContext> <API key> = new ContextResolver<JAXBContext>() { private JAXBContext jaxbContext; @Override public JAXBContext getContext(Class<?> type) { if (this.jaxbContext == null) { try { this.jaxbContext = JAXBContext.newInstance(BeanWrapper.class, FirstBean.class); } catch (JAXBException e) { } } return this.jaxbContext; } }; Response firstResponse = firstWebTarget.register(<API key>) .request(MediaType.<API key>).get(); BeanWrapper firstBeanWrapper = firstResponse.readEntity(BeanWrapper.class); Assert.assertTrue("First bean is not assignable from the parent bean", FirstBean.class.isAssignableFrom(firstBeanWrapper.getBean().getClass())); // Second webTarget WebTarget secondWebTarget = client.target(generateURL("/secondTestResource")); // Will never be called ContextResolver<JAXBContext> <API key> = new ContextResolver<JAXBContext>() { private JAXBContext jaxbContext; @Override public JAXBContext getContext(Class<?> type) { if (this.jaxbContext == null) { try { this.jaxbContext = JAXBContext.newInstance(BeanWrapper.class, SecondBean.class); } catch (JAXBException e) { } } return this.jaxbContext; } }; Response secondResponse = secondWebTarget.register(<API key>) .request(MediaType.<API key>).get(); BeanWrapper secondBeanWrapper = secondResponse.readEntity(BeanWrapper.class); Assert.assertTrue("Second bean is not assignable from the parent bean", SecondBean.class.isAssignableFrom(secondBeanWrapper.getBean().getClass())); } finally { client.close(); } } }
package jp.dodododo.dao.impl; import static jp.dodododo.dao.commons.Bool.*; import jp.dodododo.dao.annotation.Bean; import jp.dodododo.dao.annotation.Column; import jp.dodododo.dao.annotation.Property; import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; public class <API key> { private String EMPNO; @Property(writable = TRUE) private String ENAME; @Property(writable = TRUE) private String JOB; @Property(writable = TRUE) private String MGR; @Property(writable = TRUE) private String HIREDATE; @Property(writable = TRUE) private String SAL; @Property(writable = TRUE) private String COMM; @Property(writable = TRUE) private String DEPTNO; @Property(writable = TRUE) private String TSTAMP; private Dept dept; private Dept dept2; public <API key>(@Column("EMPNO") String EMPNO, Dept dept, @Bean(TestDept.class) Dept dept2) { this.EMPNO = EMPNO; this.dept = dept; this.dept2 = dept2; } public <API key>(int EMPNO, String ENAME) { } public String getCOMM() { return COMM; } public String getDEPTNO() { return DEPTNO; } public String getEMPNO() { return EMPNO; } public String getENAME() { return ENAME; } public String getHIREDATE() { return HIREDATE; } public String getJOB() { return JOB; } public String getMGR() { return MGR; } public String getSAL() { return SAL; } public String getTSTAMP() { return TSTAMP; } public Dept getDept() { return dept; } public Dept getDept2() { return dept2; } @Override public String toString() { return ToStringBuilder.reflectionToString(this, ToStringStyle.SHORT_PREFIX_STYLE); } @Override public boolean equals(Object o) { return EqualsBuilder.reflectionEquals(this, o); } @Override public int hashCode() { return HashCodeBuilder.reflectionHashCode(this); } public static class TestDept extends Dept { } }
<?php use yii\helpers\Html; $this->title = 'Добавить склад'; $this->params['breadcrumbs'][] = ['label' => 'Склады', 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; \dvizh\shop\assets\BackendAsset::register($this); ?> <div class="producer-create"> <div class="shop-menu"> <?=$this->render('../parts/menu');?> </div> <?= $this->render('_form', [ 'model' => $model, 'activeStaffers' => $activeStaffers, ]) ?> </div>
package jcurry.util.function; import jcurry.util.Currying; import jcurry.util.function.testdata.BiFunctions; import jcurry.util.function.testdata.Functions; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; import java.time.LocalDate; import static org.hamcrest.CoreMatchers.equalTo; import static org.hamcrest.CoreMatchers.is; import static org.hamcrest.MatcherAssert.assertThat; @RunWith(JUnit4.class) public class <API key> { @Test public void <API key>() { final LocalDate input = LocalDate.of(2016, 5, 3); final int expectedResult = 16924; <API key><LocalDate> function = Currying.toIntFunction(Functions::dateToInt); int result = function.applyAsInt(input); assertThat(result, is(equalTo(expectedResult))); } @Test public void curry() { final LocalDate input = LocalDate.of(2016, 5, 3); final int expectedResult = 16924; <API key><LocalDate> function = Currying.toIntFunction(Functions::dateToInt); CurryingIntSupplier curried = function.curry(input); int result = curried.getAsInt(); assertThat(result, is(equalTo(expectedResult))); } @Test public void compose_function() { final String input = "2016-05-03"; final int expectedResult = 16924; <API key><LocalDate> function = Currying.toIntFunction(Functions::dateToInt); <API key><String> compose = function.compose(str -> LocalDate.parse(str)); assertThat(compose.applyAsInt(input), is(equalTo(expectedResult))); } @Test public void compose_biFunction() { final LocalDate inputA = LocalDate.of(2016, 5, 2); final Integer inputB = 1; final int expectedResult = 16924; <API key><LocalDate> function = Currying.toIntFunction(Functions::dateToInt); <API key><LocalDate, Integer> compose = function.compose(BiFunctions::addDays); assertThat(compose.applyAsInt(inputA, inputB), is(equalTo(expectedResult))); } }
use std::c_str::CString; use std::error; use std::fmt; use std::str; use libc; use libc::c_int; use {raw, ErrorCode}; A structure to represent errors coming out of libgit2. pub struct Error { raw: raw::git_error, } impl Error { Returns the last error, or `None` if one is not available. pub fn last_error() -> Option<Error> { ::init(); let mut raw = raw::git_error { message: 0 as *mut libc::c_char, klass: 0, }; if unsafe { raw::giterr_detach(&mut raw) } == 0 { Some(Error { raw: raw }) } else { None } } Creates a new error from the given string as the error. pub fn from_str(s: &str) -> Error { ::init(); Error { raw: raw::git_error { message: unsafe { s.to_c_str().into_inner() as *mut _ }, klass: raw::GIT_ERROR as libc::c_int, } } } Return the error code associated with this error. pub fn code(&self) -> ErrorCode { match self.raw_code() { raw::GIT_OK => super::ErrorCode::GenericError, raw::GIT_ERROR => super::ErrorCode::GenericError, raw::GIT_ENOTFOUND => super::ErrorCode::NotFound, raw::GIT_EEXISTS => super::ErrorCode::Exists, raw::GIT_EAMBIGUOUS => super::ErrorCode::Ambiguous, raw::GIT_EBUFS => super::ErrorCode::BufSize, raw::GIT_EUSER => super::ErrorCode::User, raw::GIT_EBAREREPO => super::ErrorCode::BareRepo, raw::GIT_EUNBORNBRANCH => super::ErrorCode::UnbornBranch, raw::GIT_EUNMERGED => super::ErrorCode::Unmerged, raw::GIT_ENONFASTFORWARD => super::ErrorCode::NotFastForward, raw::GIT_EINVALIDSPEC => super::ErrorCode::InvalidSpec, raw::GIT_EMERGECONFLICT => super::ErrorCode::MergeConflict, raw::GIT_ELOCKED => super::ErrorCode::Locked, raw::GIT_EMODIFIED => super::ErrorCode::Modified, raw::GIT_PASSTHROUGH => super::ErrorCode::GenericError, raw::GIT_ITEROVER => super::ErrorCode::GenericError, } } Return the raw error code associated with this error. pub fn raw_code(&self) -> raw::git_error_code { macro_rules! check( ($($e:ident),*) => ( $(if self.raw.klass == raw::$e as c_int { raw::$e }) else * else { raw::GIT_ERROR } ) ); check!( GIT_OK, GIT_ERROR, GIT_ENOTFOUND, GIT_EEXISTS, GIT_EAMBIGUOUS, GIT_EBUFS, GIT_EUSER, GIT_EBAREREPO, GIT_EUNBORNBRANCH, GIT_EUNMERGED, GIT_ENONFASTFORWARD, GIT_EINVALIDSPEC, GIT_EMERGECONFLICT, GIT_ELOCKED, GIT_EMODIFIED, GIT_PASSTHROUGH, GIT_ITEROVER ) } Return the message associated with this error pub fn message(&self) -> String { let cstr = unsafe { CString::new(self.raw.message as *const _, false) }; String::from_utf8_lossy(cstr.as_bytes_no_nul()).to_string() } } impl error::Error for Error { fn description(&self) -> &str { unsafe { str::from_c_str(self.raw.message as *const _) } } fn detail(&self) -> Option<String> { Some(self.message()) } } impl fmt::Show for Error { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { try!(write!(f, "[{}] ", self.raw.klass)); let cstr = unsafe { CString::new(self.raw.message as *const _, false) }; f.write(cstr.as_bytes_no_nul()) } } impl Drop for Error { fn drop(&mut self) { unsafe { libc::free(self.raw.message as *mut libc::c_void) } } } unsafe impl Send for Error {}
package oop.appengine.examples.showcase.demos.web; import java.io.IOException; import javax.servlet.Filter; import javax.servlet.FilterChain; import javax.servlet.FilterConfig; import javax.servlet.ServletException; import javax.servlet.ServletRequest; import javax.servlet.ServletResponse; import javax.servlet.http.HttpServletResponse; import oop.appengine.modules.web.Servlets; * <url-pattern>/images/*</url-pattern> * </filter-mapping> * * @author calvin */ public class <API key> implements Filter { private static final String <API key> = "expiresSeconds"; private long expiresSeconds; @Override public void doFilter(ServletRequest req, ServletResponse res, FilterChain chain) throws IOException, ServletException { Servlets.setExpiresHeader((HttpServletResponse) res, expiresSeconds); chain.doFilter(req, res); } /** * @see Filter#init(FilterConfig) */ @Override public void init(FilterConfig filterConfig) { String expiresSecondsParam = filterConfig.getInitParameter(<API key>); if (expiresSecondsParam != null) { expiresSeconds = Long.valueOf(expiresSecondsParam); } else { expiresSeconds = Servlets.ONE_YEAR_SECONDS; } } /** * @see Filter#destroy() */ @Override public void destroy() { } }
import time # about 60 s def countBinOnes(x): cnt = 0 while x != 0: cnt += 1 x &= x - 1 return cnt def isSpecialSumSet(A): N = ( 1 << len(A) ) - 1 subset = N * [None] for i in range(1, N): subset[i] = 0 for j in range(len(A)): if (i >> j) & 1 == 1: subset[i] += A[j] # if combining the two loops, the execution is slower... # data reading caching factor weighs more than false earlier detection for i in range( 1, 1 << ( len(A) - 1 ) ): # just verify the last element for j in range( 1 << ( len(A) - 1 ), N ): if i&j == 0: if subset[i] == subset[j]: # rule i fails return False if subset[i] > subset[j]: if countBinOnes(i) < countBinOnes(j): # rule ii fails return False elif countBinOnes(i) > countBinOnes(j): # rule ii fails return False return True # for loop is too ugly, recursion is beautiful def findSpecialOptimum(a, pos): if pos > 1: while a[0] + a[1] > a[pos]: if isSpecialSumSet(a[:pos + 1]) == True: if pos == len(a) - 1: # find one, print it print a, sum(a) return a[pos + 1] = a[pos] + 1 findSpecialOptimum(a, pos + 1) a[pos] += 1 else: while a[pos] <= upbound[pos]: # the upbounding a[pos + 1] = a[pos] + 1 findSpecialOptimum(a, pos + 1) a[pos] += 1 return start = time.time() Set = [11] * 7 upbound = [20, 36] findSpecialOptimum(Set, 0) print( 'Time cost: %lf s.' %( time.time() - start ) )
<!doctype html public "- <html> <head> <title>PHPXRef 0.7.1 : Unnamed Project : Function Reference: <API key>()</title> <link rel="stylesheet" href="../sample.css" type="text/css"> <link rel="stylesheet" href="../sample-print.css" type="text/css" media="print"> <style id="hilight" type="text/css"></style> <meta http-equiv="content-type" content="text/html;charset=iso-8859-1"> </head> <body bgcolor="#ffffff" text="#000000" link="#801800" vlink="#300540" alink="#ffffff"> <table class="pagetitle" width="100%"> <tr> <td valign="top" class="pagetitle"> [ <a href="../index.html">Index</a> ] </td> <td align="right" class="pagetitle"> <h2 style="margin-bottom: 0px">PHP Cross Reference of Unnamed Project</h2> </td> </tr> </table> <!-- Generated by PHPXref 0.7.1 at Thu Oct 23 19:15:14 2014 --> <script src="../phpxref.js" type="text/javascript"></script> <script language="JavaScript" type="text/javascript"> <! ext='.html'; relbase='../'; subdir='_functions'; filename='index.html'; cookiekey='phpxref'; handleNavFrame(relbase, subdir, filename); logFunction('<API key>'); </script> <script language="JavaScript" type="text/javascript"> if (gwGetCookie('xrefnav')=='off') document.write('<p class="navlinks">[ <a href="javascript:navOn()">Show Explorer<\/a> ]<\/p>'); else document.write('<p class="navlinks">[ <a href="javascript:navOff()">Hide Explorer<\/a> ]<\/p>'); </script> <noscript> <p class="navlinks"> [ <a href="../nav.html" target="_top">Show Explorer</a> ] [ <a href="index.html" target="_top">Hide Navbar</a> ] </p> </noscript> [<a href="../index.html">Top level directory</a>]<br> <script language="JavaScript" type="text/javascript"> <! document.writeln('<table align="right" class="searchbox-link"><tr><td><a class="searchbox-link" href="javascript:void(0)" onMouseOver="showSearchBox()">Search</a><br>'); document.writeln('<table border="0" cellspacing="0" cellpadding="0" class="searchbox" id="searchbox">'); document.writeln('<tr><td class="searchbox-title">'); document.writeln('<a class="searchbox-title" href="javascript:showSearchPopup()">Search History +</a>'); document.writeln('<\/td><\/tr>'); document.writeln('<tr><td class="searchbox-body" id="searchbox-body">'); document.writeln('<form name="search" style="margin:0px; padding:0px" onSubmit=\'return jump()\'>'); document.writeln('<a class="searchbox-body" href="../_classes/index.html">Class<\/a>: '); document.writeln('<input type="text" size=10 value="" name="classname"><br>'); document.writeln('<a id="funcsearchlink" class="searchbox-body" href="../_functions/index.html">Function<\/a>: '); document.writeln('<input type="text" size=10 value="" name="funcname"><br>'); document.writeln('<a class="searchbox-body" href="../_variables/index.html">Variable<\/a>: '); document.writeln('<input type="text" size=10 value="" name="varname"><br>'); document.writeln('<a class="searchbox-body" href="../_constants/index.html">Constant<\/a>: '); document.writeln('<input type="text" size=10 value="" name="constname"><br>'); document.writeln('<a class="searchbox-body" href="../_tables/index.html">Table<\/a>: '); document.writeln('<input type="text" size=10 value="" name="tablename"><br>'); document.writeln('<input type="submit" class="searchbox-button" value="Search">'); document.writeln('<\/form>'); document.writeln('<\/td><\/tr><\/table>'); document.writeln('<\/td><\/tr><\/table>'); </script> <div id="search-popup" class="searchpopup"><p id="searchpopup-title" class="searchpopup-title">title</p><div id="searchpopup-body" class="searchpopup-body">Body</div><p class="searchpopup-close"><a href="javascript:gwCloseActive()">[close]</a></p></div> <h3>Function and Method Cross Reference</h3> <h2><a href="index.html#<API key>"><API key>()</a></h2> <b>Defined at:</b><ul> <li><a href="../tests/simpletest/test/acceptance_test.php.html#<API key>">/tests/simpletest/test/acceptance_test.php</a> -> <a onClick="logFunction('<API key>', '/tests/simpletest/test/acceptance_test.php.source.html#l819')" href="../tests/simpletest/test/acceptance_test.php.source.html#l819"> line 819</a></li> </ul> <b>No references found.</b><br><br> </ul> <!-- A link to the phpxref site in your customized footer file is appreciated ;-) --> <br><hr> <table width="100%"> <tr><td>Generated: Thu Oct 23 19:15:14 2014</td> <td align="right"><i>Cross-referenced by <a href="http://phpxref.sourceforge.net/">PHPXref 0.7.1</a></i></td> </tr> </table> </body></html>
public static class EE { public static void CallInvoke(this System.Action a) { } } public class B { private static System.Action action; private static System.Action<String> action2; public static void test(string[] args) { test(action.CallInvoke); } private static void test(System.Action a) { } }
package mangarip.service.exhentai; import org.jsoup.nodes.Document; import org.jsoup.select.Elements; import mangarip.exceptions.<API key>; import mangarip.modellodati.Pagina; public class PaginaExhentai implements Pagina { private Document dom; private int numeroPagina; private String urlImmagine; private <API key> webComm; public PaginaExhentai(int numeroPagina, String uri, <API key> webComm) throws <API key> { this.numeroPagina = numeroPagina; this.dom = webComm.getDocument(uri); this.webComm = webComm; } @Override public int getNumeroPagina() { return this.numeroPagina; } @Override public String getUrlImmagine() { return this.urlImmagine; } @Override public void <API key>() throws <API key> { Elements temp; if(!dom.select("div#i1.sni > div#i7.if > a").isEmpty()) { temp = dom.select("div#i1.sni > div#i7.if > a"); this.urlImmagine = webComm.prendiImmagineHQ(temp.first().attr("href")); } else { temp = dom.select("div#i1.sni > div#i3 > a > img#img"); this.urlImmagine = temp.first().attr("src"); } //System.out.println("La pagina numero "+numeroPagina+" ha come url: "+urlImmagine); } }
#!/usr/bin/env bash #Id,Url replacements="Id Url Sku Uid" for i in $replacements; do r=`echo $i|tr 'a-z' 'A-Z'` find . -name "*.go"|xargs sed -ibak -E 's/'$i'(s?)([[:>:]]|[A-Z_])/'$r'\1\2/g' done find . -name "*.gobak"|xargs rm
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http: <html lang="en-GB" xml:lang="en-GB" xmlns="http: <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"/> <title>Statistics of Style in UD_Erzya-JR</title> <link rel="root" href=""/> <!-- for JS --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css"> <link rel="stylesheet" type="text/css" href="../../css/jquery-ui-redmond.css"/> <link rel="stylesheet" type="text/css" href="../../css/style.css"/> <link rel="stylesheet" type="text/css" href="../../css/style-vis.css"/> <link rel="stylesheet" type="text/css" href="../../css/hint.css"/> <script type="text/javascript" src="../../lib/ext/head.load.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/3.2.2/anchor.min.js"></script> <script>document.addEventListener("DOMContentLoaded", function(event) {anchors.add();});</script> <!-- DZ 2021-01-22: I am temporarily hiding the search field to find out whether it slows down loading of the title page. <script> (function() { var cx = '<API key>:dl1mehhcgbo'; var gcse = document.createElement('script'); gcse.type = 'text/javascript'; gcse.async = true; gcse.src = 'https://cse.google.com/cse.js?cx=' + cx; var s = document.<API key>('script')[0]; s.parentNode.insertBefore(gcse, s); })(); </script> <!-- <link rel="shortcut icon" href="favicon.ico"/> --> </head> <body> <div id="main" class="center"> <div id="hp-header"> <table width="100%"><tr><td width="50%"> <span class="header-text"><a href="http://<API key>.org/#language-">home</a></span> <span class="header-text"><a href="https://github.com/<API key>/docs/edit/pages-source/treebanks/myv_jr/myv_jr-feat-Style.md" target="#">edit page</a></span> <span class="header-text"><a href="https://github.com/<API key>/docs/issues">issue tracker</a></span> </td><td> <gcse:search></gcse:search> </td></tr></table> </div> <hr/> <div class="v2complete"> This page pertains to UD version 2. </div> <div id="content"> <noscript> <div id="noscript"> It appears that you have Javascript disabled. Please consider enabling Javascript for this page to see the visualizations. </div> </noscript> <!-- The content may include scripts and styles, hence we must load the shared libraries before the content. --> <script type="text/javascript"> console.time('loading libraries'); var root = '../../'; // filled in by jekyll head.js( // External libraries // DZ: Copied from embedding.html. I don't know which one is needed for what, so I'm currently keeping them all. root + 'lib/ext/jquery.min.js', root + 'lib/ext/jquery.svg.min.js', root + 'lib/ext/jquery.svgdom.min.js', root + 'lib/ext/jquery.timeago.js', root + 'lib/ext/jquery-ui.min.js', root + 'lib/ext/waypoints.min.js', root + 'lib/ext/jquery.address.min.js' ); </script> <h2 id="<API key>">Treebank Statistics: UD_Erzya-JR: Features: <code class="language-plaintext highlighter-rouge">Style</code></h2> <p>This feature is language-specific. It occurs with 1 different values: <code class="language-plaintext highlighter-rouge">Arch</code>.</p> <p>29 tokens (0%) have a non-empty value of <code class="language-plaintext highlighter-rouge">Style</code>. 29 types (1%) occur at least once with a non-empty value of <code class="language-plaintext highlighter-rouge">Style</code>. 28 lemmas (1%) occur at least once with a non-empty value of <code class="language-plaintext highlighter-rouge">Style</code>. The feature is used with 5 part-of-speech tags: <tt><a href="myv_jr-pos-VERB.html">VERB</a></tt> (14; 0% instances), <tt><a href="myv_jr-pos-NOUN.html">NOUN</a></tt> (6; 0% instances), <tt><a href="myv_jr-pos-ADJ.html">ADJ</a></tt> (4; 0% instances), <tt><a href="myv_jr-pos-ADV.html">ADV</a></tt> (3; 0% instances), <tt><a href="myv_jr-pos-AUX.html">AUX</a></tt> (2; 0% instances).</p> <h3 id="verb"><code class="language-plaintext highlighter-rouge">VERB</code></h3> <p>14 <tt><a href="myv_jr-pos-VERB.html">VERB</a></tt> tokens (0% of all <code class="language-plaintext highlighter-rouge">VERB</code> tokens) have a non-empty value of <code class="language-plaintext highlighter-rouge">Style</code>.</p> <p>The most frequent other feature values with which <code class="language-plaintext highlighter-rouge">VERB</code> and <code class="language-plaintext highlighter-rouge">Style</code> co-occurred: <tt><a href="<API key>.html">Derivation</a></tt><tt>=EMPTY</tt> (14; 100%), <tt><a href="myv_jr-feat-Case.html">Case</a></tt><tt>=EMPTY</tt> (12; 86%), <tt><a href="<API key>.html">VerbForm</a></tt><tt>=EMPTY</tt> (12; 86%), <tt><a href="<API key>.html">Number[obj]</a></tt><tt>=EMPTY</tt> (11; 79%), <tt><a href="<API key>.html">Person[obj]</a></tt><tt>=EMPTY</tt> (11; 79%), <tt><a href="myv_jr-feat-Valency.html">Valency</a></tt><tt>=2</tt> (9; 64%), <tt><a href="<API key>.html">Number[subj]</a></tt><tt>=Sing</tt> (8; 57%), <tt><a href="<API key>.html">Person[subj]</a></tt><tt>=3</tt> (8; 57%).</p> <p><code class="language-plaintext highlighter-rouge">VERB</code> tokens may have the following values of <code class="language-plaintext highlighter-rouge">Style</code>:</p> <ul> <li><code class="language-plaintext highlighter-rouge">Arch</code> (14; 100% of non-empty <code class="language-plaintext highlighter-rouge">Style</code>): <em>сейресь, Ваньськавт, ваньськавтомо, кадымизь, кевксниман, кевкссь, лець, ливтька, мерьть, пшкаць</em></li> </ul> <p><code class="language-plaintext highlighter-rouge">Style</code> seems to be <strong>lexical feature</strong> of <code class="language-plaintext highlighter-rouge">VERB</code>. 100% lemmas (14) occur only with one value of <code class="language-plaintext highlighter-rouge">Style</code>.</p> <h3 id="noun"><code class="language-plaintext highlighter-rouge">NOUN</code></h3> <p>6 <tt><a href="myv_jr-pos-NOUN.html">NOUN</a></tt> tokens (0% of all <code class="language-plaintext highlighter-rouge">NOUN</code> tokens) have a non-empty value of <code class="language-plaintext highlighter-rouge">Style</code>.</p> <p>The most frequent other feature values with which <code class="language-plaintext highlighter-rouge">NOUN</code> and <code class="language-plaintext highlighter-rouge">Style</code> co-occurred: <tt><a href="myv_jr-feat-Case.html">Case</a></tt><tt>=Nom</tt> (5; 83%), <tt><a href="<API key>.html">Number[psor]</a></tt><tt>=EMPTY</tt> (5; 83%), <tt><a href="<API key>.html">Person[psor]</a></tt><tt>=EMPTY</tt> (5; 83%), <tt><a href="myv_jr-feat-Number.html">Number</a></tt><tt>=Plur</tt> (4; 67%).</p> <p><code class="language-plaintext highlighter-rouge">NOUN</code> tokens may have the following values of <code class="language-plaintext highlighter-rouge">Style</code>:</p> <ul> <li><code class="language-plaintext highlighter-rouge">Arch</code> (6; 100% of non-empty <code class="language-plaintext highlighter-rouge">Style</code>): <em>Левкснэ, бандитнэ, вальгеезэ, ломать, пешть, тайгасоян</em></li> </ul> <h3 id="adj"><code class="language-plaintext highlighter-rouge">ADJ</code></h3> <p>4 <tt><a href="myv_jr-pos-ADJ.html">ADJ</a></tt> tokens (1% of all <code class="language-plaintext highlighter-rouge">ADJ</code> tokens) have a non-empty value of <code class="language-plaintext highlighter-rouge">Style</code>.</p> <p>The most frequent other feature values with which <code class="language-plaintext highlighter-rouge">ADJ</code> and <code class="language-plaintext highlighter-rouge">Style</code> co-occurred: <tt><a href="myv_jr-feat-Case.html">Case</a></tt><tt>=EMPTY</tt> (3; 75%), <tt><a href="<API key>.html">Definite</a></tt><tt>=EMPTY</tt> (3; 75%), <tt><a href="myv_jr-feat-Number.html">Number</a></tt><tt>=EMPTY</tt> (3; 75%).</p> <p><code class="language-plaintext highlighter-rouge">ADJ</code> tokens may have the following values of <code class="language-plaintext highlighter-rouge">Style</code>:</p> <ul> <li><code class="language-plaintext highlighter-rouge">Arch</code> (4; 100% of non-empty <code class="language-plaintext highlighter-rouge">Style</code>): <em>Превтемеят, Шумбраят, рижой, удалсе</em></li> </ul> <h3 id="adv"><code class="language-plaintext highlighter-rouge">ADV</code></h3> <p>3 <tt><a href="myv_jr-pos-ADV.html">ADV</a></tt> tokens (0% of all <code class="language-plaintext highlighter-rouge">ADV</code> tokens) have a non-empty value of <code class="language-plaintext highlighter-rouge">Style</code>.</p> <p>The most frequent other feature values with which <code class="language-plaintext highlighter-rouge">ADV</code> and <code class="language-plaintext highlighter-rouge">Style</code> co-occurred: <tt><a href="myv_jr-feat-Case.html">Case</a></tt><tt>=EMPTY</tt> (3; 100%), <tt><a href="<API key>.html">PronType</a></tt><tt>=EMPTY</tt> (3; 100%), <tt><a href="myv_jr-feat-AdvType.html">AdvType</a></tt><tt>=Tim</tt> (2; 67%).</p> <p><code class="language-plaintext highlighter-rouge">ADV</code> tokens may have the following values of <code class="language-plaintext highlighter-rouge">Style</code>:</p> <ul> <li><code class="language-plaintext highlighter-rouge">Arch</code> (3; 100% of non-empty <code class="language-plaintext highlighter-rouge">Style</code>): <em>сеетьстэ, вандый, эщо</em></li> </ul> <h3 id="aux"><code class="language-plaintext highlighter-rouge">AUX</code></h3> <p>2 <tt><a href="myv_jr-pos-AUX.html">AUX</a></tt> tokens (0% of all <code class="language-plaintext highlighter-rouge">AUX</code> tokens) have a non-empty value of <code class="language-plaintext highlighter-rouge">Style</code>.</p> <p>The most frequent other feature values with which <code class="language-plaintext highlighter-rouge">AUX</code> and <code class="language-plaintext highlighter-rouge">Style</code> co-occurred: <tt><a href="<API key>.html">Number[subj]</a></tt><tt>=Plur</tt> (2; 100%), <tt><a href="<API key>.html">Person[subj]</a></tt><tt>=3</tt> (2; 100%), <tt><a href="<API key>.html">Polarity</a></tt><tt>=EMPTY</tt> (2; 100%), <tt><a href="myv_jr-feat-Tense.html">Tense</a></tt><tt>=Pres</tt> (2; 100%), <tt><a href="myv_jr-feat-Valency.html">Valency</a></tt><tt>=1</tt> (2; 100%), <tt><a href="<API key>.html">VerbType</a></tt><tt>=EMPTY</tt> (2; 100%).</p> <p><code class="language-plaintext highlighter-rouge">AUX</code> tokens may have the following values of <code class="language-plaintext highlighter-rouge">Style</code>:</p> <ul> <li><code class="language-plaintext highlighter-rouge">Arch</code> (2; 100% of non-empty <code class="language-plaintext highlighter-rouge">Style</code>): <em>кармить, кармитьдеряй</em></li> </ul> <h2 id="<API key>">Relations with Agreement in <code class="language-plaintext highlighter-rouge">Style</code></h2> <p>The 10 most frequent relations where parent and child node agree in <code class="language-plaintext highlighter-rouge">Style</code>: <tt>VERB –[<tt><a href="myv_jr-dep-ccomp.html">ccomp</a></tt>]–&gt; NOUN</tt> (1; 100%).</p> </div> <!-- support for embedded visualizations --> <script type="text/javascript"> var root = '../../'; // filled in by jekyll head.js( // We assume that external libraries such as jquery.min.js have already been loaded outside! // (See _layouts/base.html.) // brat helper modules root + 'lib/brat/configuration.js', root + 'lib/brat/util.js', root + 'lib/brat/annotation_log.js', root + 'lib/ext/webfont.js', // brat modules root + 'lib/brat/dispatcher.js', root + 'lib/brat/url_monitor.js', root + 'lib/brat/visualizer.js', // embedding configuration root + 'lib/local/config.js', // project-specific collection data root + 'lib/local/collections.js', // Annodoc root + 'lib/annodoc/annodoc.js', // NOTE: non-local libraries 'https://spyysalo.github.io/conllu.js/conllu.js' ); var webFontURLs = [ // root + 'static/fonts/Astloch-Bold.ttf', root + 'static/fonts/<API key>.ttf', root + 'static/fonts/<API key>.ttf' ]; var setupTimeago = function() { jQuery("time.timeago").timeago(); }; head.ready(function() { setupTimeago(); // mark current collection (filled in by Jekyll) Collections.listing['_current'] = ''; // perform all embedding and support functions Annodoc.activate(Config.bratCollData, Collections.listing); }); </script> <!-- google analytics --> <script> (function(i,s,o,g,r,a,m){i['<API key>']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.<API key>(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script',' ga('create', 'UA-55233688-1', 'auto'); ga('send', 'pageview'); </script> <div id="footer"> <p class="footer-text">&copy; 2014–2021 <a href="http://<API key>.org/introduction.html#contributors" style="color:gray">Universal Dependencies contributors</a>. Site powered by <a href="http: </div> </div> </body> </html>
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content=""> <meta name="author" content=""> <title>My Daily Routines</title> <!-- Bootstrap Core --> <link href="/css/bootstrap.min.css" rel="stylesheet"> <link href="/css/clean-blog.min.css" rel="stylesheet"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/animate.css@3.5.2/animate.min.css"> <!-- jQuery --> <script src="/js/jquery.js"></script> <!-- Bootstrap Core JavaScript --> <script src="/js/jquery.plate.js"></script> <script src="/js/popper.min.js"></script> <script src="/js/bootstrap.min.js"></script> <script src="/js/wow.min.js"></script> <script> new WOW().init(); </script> <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries --> <!-- WARNING: Respond.js doesn't work if you view the page via file: <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script> <![endif] </head> <body> <!-- Navigation --> <nav class="navbar navbar-expand-lg navbar-light bg-light"> <a href="/index.html" class="navbar-brand"> Haifeng Jin's Blog </a> <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#<API key>" aria-controls="<API key>" aria-expanded="false" aria-label="Toggle navigation"> <span class="navbar-toggler-icon"></span> </button> <div class="collapse navbar-collapse" id="<API key>"> <ul class="navbar-nav mr-auto"> <li class="nav-item"> <a class="nav-link" href="/index.html"> Home </a> </li> <li class="nav-item"> <a class="nav-link" href="/technology/index.html"> Technology </a> </li> <li class="nav-item"> <a class="nav-link" href="/codeforces/index.html"> Competitive </a> </li> <li class="nav-item"> <a class="nav-link" href="/chinese/index.html"> Chinese </a> </li> <li class="nav-item dropdown"> <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> Contact </a> <div class="dropdown-menu" aria-labelledby="navbarDropdown"> <a class="dropdown-item" href="https: Linkedin </a> <a class="dropdown-item" href="https://github.com/jhfjhfj1"> GitHub </a> <a class="dropdown-item" href="https://scholar.google.com/citations?user=OAj0lr0AAAAJ&hl=en"> Google Scholar </a> <a class="dropdown-item" href="mailto:jin@tamu.edu"> E-mail </a> </div> </li> </ul> <form class="form-inline my-2 my-lg-0"> <input class="form-control mr-sm-2" type="search" onkeydown="if(event.keyCode==13) googlesearch();" name="search-key-words" placeholder="Search" aria-label="Search"> <button class="btn btn-outline-success my-2 my-sm-0" onclick="googlesearch()">Search</button> </form> </div> </nav> <script type="text/javascript"> function googlesearch() { console.log('google call'); var key = document.getElementsByName("search-key-words")[0].value; var link = "http: window.open(link); document.getElementsByName("search-key-words")[0].value = "" } </script> <div id="listener-contained" class="listener pointer"> <style> </style> <header class="intro-header" id="header" style="background-image: url('/img/technology.jpg')"> <div class="container"> <div class="row"> <div class="col-lg-12"> <div class="site-heading"> <div id="plate-contained" class="plate"> <h1>Technology</h1> <span class="subheading">In the Middle of Difficulty Lies Opportunity.</span> </div> </div> </div> </div> </div> </header> </div> <script> $('#listener-contained').plate({ element: ['#plate-contained'] }); </script> <div class="container" style="margin-top: 50px"> <div class="row"> <!-- Blog Post Content Column --> <div class="col-lg-8"> <!-- Blog Post --> <!-- Title --> <h2>My Daily Routines</h2> <hr> <!-- Date/Time --> <div class="glyphicon glyphicon-time"></div> <span> &nbsp; Posted on 27 Nov 2015 </span> <div class="float-right"> </div> <hr> <!-- Post Content --> <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=<API key>"> </script> <div class="blog-content" > <p>The goal of this routine is to build three things: targets, dicipline, and fitness. I believe they are the key to success.</p> <p>The targets need to meet three requirments:</p> <ol> <li>Condition: It has a clear finish condition to be reached.</li> <li>Small: If it is very big, it needs to have a hierarchical structure for breaking down to smaller tasks.</li> <li>Budget: Each atomic small task needs to have an estimated time budget, which should be no more than 3 hours. (If it is more than 3 hours, it needs to be further breakdown to smaller tasks.)</li> </ol> <p>The defnition of decipline is as follows:</p> <ol> <li>Follow: Act following to the schedule.</li> <li>Revise: If anything break the schedule, revise the schedule then.</li> <li>Timer: Put on a timer during working time.</li> </ol> <p>My routines are as follows.</p> <h3 id="morning-routines">Morning Routines:</h3> <p>Brush teeth with left hand. Do squat at the same time.</p> <h3 id="<API key>">Right Before Working:</h3> <p>Read this article. List the important tasks to do today. Remake the schedule of the day. Right after making the schedule, take one minute to imagine the happiness of working hard, following the schedule and finishing the tasks, reaching my short-term goal, reaching my long-term goal.</p> <h3 id="during-the-day">During the Day:</h3> <p>Take a nap if needed, but follow the rules.</p> <ol> <li>No more than 30 minutes each.</li> <li>Set an alarm.</li> <li>The awake interval needs to be at least 2 hours.</li> </ol> <h3 id="evening-routines">Evening Routines:</h3> <p>Try not to do anything else besides this routine in the evening.</p> <p>Do exercise right after arriving home. For doing exercise, the first choice is go to the gym. If cannot, do HIIT at home. If cannot, do some Burpee.</p> <p>Meditate.</p> <p>Review how I did during the day.</p> <p>Read book until I feel sleepy.</p> </div> <hr> <!-- Disqus --> <!-- Comment --> <div id="disqus_thread"></div> <script type="text/javascript"> /* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */ var disqus_shortname = 'jhfjhfj1'; // required: replace example with your forum shortname /* * * DON'T EDIT BELOW THIS LINE * * */ (function() { var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; (document.<API key>('head')[0] || document.<API key>('body')[0]).appendChild(dsq); })(); </script> <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> <!-- End Nested Comment --> </div> <!-- Blog Sidebar Widgets Column --> <div class="col-md-4" id="side_bar"> <!-- Blog Sidebar Widgets Column --> <div><p></p></div> <!-- Side Widget Well --> <div class="card"> <div class="card-header"><big>Introduction</big></div> <div class="card-body"> <p>Here are some articles and tutorials about technology.</p> </div> </div> </div> </div> <!-- /.row --> </div> <!-- /.container --> <hr> <!-- Google Analytics --> <script> (function(i,s,o,g,r,a,m){i['<API key>']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.<API key>(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script',' ga('create', 'UA-44322747-2', 'auto'); ga('send', 'pageview'); </script> </body> </html>
package org.pentaho.di.trans.steps.convertimages; import org.pentaho.di.core.row.RowMetaInterface; import org.pentaho.di.trans.step.BaseStepData; import org.pentaho.di.trans.step.StepDataInterface; public class ConvertImagesData extends BaseStepData implements StepDataInterface { public RowMetaInterface outputRowMeta; public ConvertImagesData() { super(); } }
/* * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/<API key>/build/xpcom/ds/nsIProperty.idl */ #ifndef <API key> #define <API key> #ifndef <API key> #include "nsISupports.h" #endif /* For IDL files that don't want to include root IDL files. */ #ifndef NS_NO_VTABLE #define NS_NO_VTABLE #endif class nsIVariant; /* forward declaration */ /* starting interface: nsIProperty */ #define <API key> "<API key>" #define NS_IPROPERTY_IID \ {0x6dcf9030, 0xa49f, 0x11d5, \ { 0x91, 0x0d, 0x00, 0x10, 0xa4, 0xe7, 0x3d, 0x9a }} class NS_NO_VTABLE NS_SCRIPTABLE nsIProperty : public nsISupports { public: <API key>(NS_IPROPERTY_IID) /* readonly attribute AString name; */ NS_SCRIPTABLE NS_IMETHOD GetName(nsAString & aName) = 0; /* readonly attribute nsIVariant value; */ NS_SCRIPTABLE NS_IMETHOD GetValue(nsIVariant * *aValue) = 0; }; <API key>(nsIProperty, NS_IPROPERTY_IID) /* Use this macro when declaring classes that implement this interface. */ #define NS_DECL_NSIPROPERTY \ NS_SCRIPTABLE NS_IMETHOD GetName(nsAString & aName); \ NS_SCRIPTABLE NS_IMETHOD GetValue(nsIVariant * *aValue); /* Use this macro to declare functions that forward the behavior of this interface to another object. */ #define <API key>(_to) \ NS_SCRIPTABLE NS_IMETHOD GetName(nsAString & aName) { return _to GetName(aName); } \ NS_SCRIPTABLE NS_IMETHOD GetValue(nsIVariant * *aValue) { return _to GetValue(aValue); } /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */ #define <API key>(_to) \ NS_SCRIPTABLE NS_IMETHOD GetName(nsAString & aName) { return !_to ? <API key> : _to->GetName(aName); } \ NS_SCRIPTABLE NS_IMETHOD GetValue(nsIVariant * *aValue) { return !_to ? <API key> : _to->GetValue(aValue); } #if 0 /* Use the code below as a template for the implementation class for this interface. */ /* Header file */ class nsProperty : public nsIProperty { public: NS_DECL_ISUPPORTS NS_DECL_NSIPROPERTY nsProperty(); private: ~nsProperty(); protected: /* additional members */ }; /* Implementation file */ NS_IMPL_ISUPPORTS1(nsProperty, nsIProperty) nsProperty::nsProperty() { /* member initializers and constructor code */ } nsProperty::~nsProperty() { /* destructor code */ } /* readonly attribute AString name; */ NS_IMETHODIMP nsProperty::GetName(nsAString & aName) { return <API key>; } /* readonly attribute nsIVariant value; */ NS_IMETHODIMP nsProperty::GetValue(nsIVariant * *aValue) { return <API key>; } /* End of implementation class template. */ #endif #endif /* <API key> */
package com.github.dan4ik95dv.famousartists.di.component; import android.app.Application; import android.content.Context; import android.content.SharedPreferences; import com.github.dan4ik95dv.famousartists.di.module.ApplicationModule; import com.github.dan4ik95dv.famousartists.di.module.ClientModule; import com.github.dan4ik95dv.famousartists.di.module.NetModule; import com.github.dan4ik95dv.famousartists.di.module.StorageModule; import com.github.dan4ik95dv.famousartists.io.bus.RxBus; import com.github.dan4ik95dv.famousartists.io.client.RestContest; import com.github.dan4ik95dv.famousartists.io.client.RestMusic; import com.github.dan4ik95dv.famousartists.io.client.RestMusicSuggest; import com.github.dan4ik95dv.famousartists.ui.presenter.<API key>; import com.github.dan4ik95dv.famousartists.ui.presenter.<API key>; import com.github.dan4ik95dv.famousartists.ui.presenter.<API key>; import com.github.dan4ik95dv.famousartists.ui.presenter.ArtistsPresenter; import com.github.dan4ik95dv.famousartists.ui.presenter.MainPresenter; import com.github.dan4ik95dv.famousartists.ui.presenter.MorePresenter; import com.github.dan4ik95dv.famousartists.ui.presenter.SettingsPresenter; import com.google.gson.Gson; import javax.inject.Singleton; import dagger.Component; import io.realm.Realm; import io.realm.RealmConfiguration; import okhttp3.Cache; import okhttp3.OkHttpClient; @Singleton @Component(modules = {ClientModule.class, ApplicationModule.class, NetModule.class, StorageModule.class}) public interface ClientComponent { SharedPreferences <API key>(); Application getApplication(); Context <API key>(); RestContest getRestContest(); RestMusic getRestMusic(); RestMusicSuggest getRestMusicSuggest(); RealmConfiguration <API key>(); Realm getDefaultRealm(); Gson getGson(); Cache getCache(); OkHttpClient getOkHttpClient(); RxBus getRxBus(); void inject(<API key> presenter); void inject(<API key> presenter); void inject(<API key> presenter); void inject(MainPresenter presenter); void inject(MorePresenter presenter); void inject(ArtistsPresenter presenter); void inject(SettingsPresenter presenter); }
import React from 'react' export default class Maquetas extends React.Component { render() { return ( <div>Maquetas</div> ) } }
package debop4s.core import scala.annotation.switch /** * DDD Value Object . * Java trait interface abstract class . * * @author sunghyouk.bae@gmail.com * @since 2013. 12. 10. 1:30 */ @SerialVersionUID(1L) abstract class ValueObjectBase extends ValueObject /** * DDD Value Object . * * @author sunghyouk.bae@gmail.com * @since 2013. 12. 10. 1:30 */ trait ValueObject extends Serializable { override def equals(obj: Any): Boolean = { obj match { case vo: ValueObject => (this.getClass == obj.getClass) && (hashCode() == obj.hashCode()) case _ => false } } override def hashCode: Int = System.identityHashCode(this) override def toString: String = buildStringHelper.toString protected def buildStringHelper: ToStringHelper = ToStringHelper(this) }
<h2>Rest Parameter</h2> <pre><code class="js" data-trim> function sendMessages(...messages){ console.log(`sending ${messages.length} messages`) messages.forEach(function(message){ console.log(message) }) } sendMessages( "good morning", "good afternoon" ) /* sending 2 messages good morning good afternoon */ </code></pre> <aside class="notes"> <ul> <li>ES5 used the arguments object which was array like</li> <li>Variable length arguments using an actually array</li> </ul> </aside>
using System; using System.Collections.Generic; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data; using System.Text; using System.IO; namespace FineUI.Examples.grid { public partial class <API key> : PageBase { protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { BindGrid(); } } #region BindGrid private void BindGrid() { DataTable table = DataSourceUtil.GetDataTable(); Grid1.DataSource = table; Grid1.DataBind(); } #endregion } }
using System.Collections.Generic; using System.Linq; using System.Reflection; using ChaosCMS.Extensions; using ChaosCMS.Hal; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.ApplicationParts; using Microsoft.AspNetCore.Routing; namespace ChaosCMS.Controllers { <summary> </summary> [Route("api")] public class RootController : Controller { private readonly <API key> manager; <summary> </summary> <param name="partManager"></param> public RootController(<API key> partManager) { manager = partManager; } <summary> </summary> <returns></returns> [HttpGet] public IActionResult Get() { var parts = manager.ApplicationParts.FirstOrDefault(x => x is ChaosTypesPart) as ChaosTypesPart; var links = new List<Link>(); if (parts != null) { foreach (var typeInfo in parts.Types) { var attribute = (RouteAttribute)typeInfo.GetCustomAttribute(typeof(RouteAttribute)); if(attribute.Template.StartsWith("api")) links.Add(new Link(attribute.Name, attribute.Template)); } } return this.Hal(links); } } }
package codeine.jsons.peer_status; import java.util.Collections; import java.util.Date; import java.util.HashMap; import java.util.Map; import codeine.api.MonitorStatusInfo; import codeine.api.<API key>; import codeine.model.Constants; import codeine.utils.StringUtils; import codeine.utils.network.HttpUtils; import com.google.common.collect.Lists; import com.google.common.collect.Maps; @SuppressWarnings("unused") public class PeerStatusJsonV2 { private String peer_key; //TODO remove after cf-engine in build > 1.1.309 private String peer_old_key; private String peer_host_port; private String peer_ip; private String user_dns_domain; private Map<String, ProjectStatus> <API key> = Maps.newHashMap();//Lists.newArrayList(); private String host; private int port; private String version; private String tar; private long start_time; private long update_time;//updated in directory server when first seen private long <API key>; private String install_dir; private PeerType peer_type; private transient PeerStatusString status; public PeerStatusJsonV2(String host, int port, String version, long start_time, String install_dir, String tar, Map<String, ProjectStatus> <API key>, String peer_ip, String user_dns_domain) { super(); this.host = host; this.port = port; this.peer_ip = peer_ip; this.version = version; this.start_time = start_time; this.install_dir = install_dir; this.tar = tar; this.<API key> = Maps.newHashMap(<API key>); this.peer_old_key = host + ":" + install_dir; this.peer_key = host + ":" + HttpUtils.specialEncode(install_dir); this.peer_host_port = host + ":" + port; this.user_dns_domain = user_dns_domain; this.peer_type = PeerType.Daemon; this.<API key>.put(Constants.<API key>, <API key>()); this.update_time = System.currentTimeMillis(); this.<API key> = System.currentTimeMillis(); } private ProjectStatus <API key>() { <API key> node_info = new <API key>(this, this.peer_key, this.host, Constants.<API key>, Maps.<String, MonitorStatusInfo>newHashMap()); node_info.version(this.version); node_info.tags(Lists.newArrayList(<API key>.keySet())); ProjectStatus ps = new ProjectStatus(Constants.<API key>, node_info); return ps; } public PeerStatusJsonV2(String peer_key, ProjectStatus projectStatus) { super(); this.<API key> = Maps.newHashMap(); this.<API key>.put(projectStatus.project_name(), projectStatus); this.update_time = System.currentTimeMillis(); this.<API key> = System.currentTimeMillis(); this.peer_key = peer_key; this.peer_type = PeerType.Reporter; } public void addProjectStatus(String name, ProjectStatus status) { HashMap<String, ProjectStatus> tempList = Maps.newHashMap(<API key>); tempList.put(name, status); <API key> = tempList; } public Map<String, ProjectStatus> <API key>() { return Collections.unmodifiableMap(<API key>); } public String peer_key() { return peer_key; } public String host_port() { return host + ":" + port; } public String ip_port() { return peer_ip + ":" + port; } public String address_port() { return StringUtils.isEmpty(user_dns_domain) ? host_port() : host + "." + user_dns_domain + ":" + port; } public long update_time() { return update_time; } public long <API key>() { return <API key>; } public String key() { return peer_key(); } public String version() { return version; } public String host() { return host; } public String tar() { return tar; } public void status(PeerStatusString status) { this.status = status; } public PeerStatusString status() { return status; } public void updateNodesWithPeer() { for (ProjectStatus projectStatus : <API key>.values()) { projectStatus.updateNodesWithPeer(this); } } public PeerType peer_type() { return peer_type; } public String peer_old_key() { return peer_old_key; } @Override public String toString() { return "PeerStatusJsonV2 [host_port()=" + host_port() + ", update_time()=" + new Date(update_time()) + ", <API key>()=" + new Date(<API key>()) + ", peer_type()=" + peer_type() + "]"; } }
FS_SOURCES = SOURCES += $(FS_SOURCES:%.c=fs/fs/%.c)
package org.apereo.cas.util; import org.apereo.cas.util.scripting.ScriptingUtils; import groovy.lang.Script; import lombok.val; import org.apache.commons.io.FileUtils; import org.apache.commons.lang3.ArrayUtils; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; import org.springframework.core.io.ClassPathResource; import org.springframework.core.io.FileSystemResource; import org.springframework.core.io.Resource; import java.io.File; import java.io.IOException; import java.nio.charset.StandardCharsets; import java.util.Map; import static org.junit.jupiter.api.Assertions.*; import static org.mockito.Mockito.*; /** * This is {@link ScriptingUtilsTests}. * * @author Misagh Moayyed * @since 5.3.0 */ @Tag("Groovy") public class ScriptingUtilsTests { @Test public void <API key>() { assertTrue(ScriptingUtils.<API key>("groovy {return 0}")); } @Test public void <API key>() { assertTrue(ScriptingUtils.<API key>("file:/tmp/sample.groovy")); } @Test public void <API key>() { val script = ScriptingUtils.<API key>("return name"); val result = ScriptingUtils.<API key>(script, CollectionUtils.wrap("name", "casuser"), String.class); assertEquals("casuser", result); } @Test public void <API key>() { var result = ScriptingUtils.<API key>(mock(Script.class), CollectionUtils.wrap("name", "casuser"), String.class); assertNull(result); result = ScriptingUtils.executeGroovyScript(mock(Resource.class), "someMethod", String.class); assertNull(result); result = ScriptingUtils.executeGroovyScript(mock(Resource.class), null, String.class); assertNull(result); assertNull(ScriptingUtils.<API key>(null)); assertThrows(RuntimeException.class, () -> ScriptingUtils.executeGroovyScript(mock(Resource.class), "someMethod", ArrayUtils.EMPTY_OBJECT_ARRAY, String.class, true)); } @Test public void <API key>() throws IOException { val file = File.createTempFile("test", ".groovy"); FileUtils.write(file, "def process(String name) { return name }", StandardCharsets.UTF_8); val resource = new FileSystemResource(file); val result = ScriptingUtils.executeGroovyScript(resource, "process", String.class, "casuser"); assertEquals("casuser", result); } @Test public void <API key>() throws IOException { val file = File.createTempFile("test", ".groovy"); FileUtils.write(file, "def process(String name) { return name }", StandardCharsets.UTF_8); val resource = new FileSystemResource(file); assertNull(ScriptingUtils.<API key>(resource, ArrayUtils.EMPTY_CLASS_ARRAY, ArrayUtils.EMPTY_OBJECT_ARRAY, Map.class)); } @Test public void <API key>() { val resource = new FileSystemResource(new File("missing.groovy")); val result = ScriptingUtils.executeGroovyScript(resource, "process", String.class, "casuser"); assertNull(result); } @Test public void <API key>() { val resource = new ClassPathResource("<API key>.groovy"); val result = ScriptingUtils.executeGroovyScript(resource, "process", String.class, "casuser"); assertEquals("casuser", result); } @Test public void <API key>() { val resource = new ClassPathResource("missing.groovy"); val result = ScriptingUtils.executeGroovyScript(resource, "process", String.class, "casuser"); assertNull(result); } @Test public void <API key>() { val result = ScriptingUtils.<API key>("return name", CollectionUtils.wrap("name", "casuser"), String.class); assertEquals("casuser", result); val result2 = ScriptingUtils.<API key>("throw new RuntimeException()", Map.of(), String.class); assertNull(result2); } @Test public void <API key>() throws IOException { val file = File.createTempFile("test", ".groovy"); FileUtils.write(file, "def run(String name) { return name }", StandardCharsets.UTF_8); val result = ScriptingUtils.executeScriptEngine(file.getCanonicalPath(), new Object[]{"casuser"}, String.class); assertEquals("casuser", result); } @Test public void <API key>() throws IOException { val file = File.createTempFile("test1", ".groovy"); FileUtils.write(file, "---", StandardCharsets.UTF_8); val result = ScriptingUtils.executeScriptEngine(file.getCanonicalPath(), new Object[]{"casuser"}, String.class); assertNull(result); } @Test public void verifyEmptyScript() throws IOException { val result = ScriptingUtils.executeScriptEngine(new File("bad.groovy").getCanonicalPath(), new Object[]{"casuser"}, String.class); assertNull(result); } @Test public void verifyNoEngine() throws IOException { val file = File.createTempFile("test", ".txt"); FileUtils.write(file, "-", StandardCharsets.UTF_8); val result = ScriptingUtils.executeScriptEngine(file.getCanonicalPath(), new Object[]{"casuser"}, String.class); assertNull(result); } @Test public void verifyGetObject() { var result = ScriptingUtils.<API key>(null, null, null, null); assertNull(result); result = ScriptingUtils.<API key>(mock(Resource.class), null, null, null); assertNull(result); } }
<!DOCTYPE html PUBLIC "- <html xmlns="http: <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.17"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>dbPipe.php: /Users/chris/pp_webroots/dbp-php/lib/db/FMX/FMPXMLRESULT Directory Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="navtree.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="resize.js"></script> <script type="text/javascript" src="navtreedata.js"></script> <script type="text/javascript" src="navtree.js"></script> <link href="search/search.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="search/searchdata.js"></script> <script type="text/javascript" src="search/search.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> <link href="<API key>.css" rel="stylesheet" type="text/css"/> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td id="projectlogo"><img alt="Logo" src="<API key>.png"/></td> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">dbPipe.php &#160;<span id="projectnumber">0.1</span> </div> <div id="projectbrief">A powerful and easy-to-use database abstraction class</div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.17 --> <script type="text/javascript"> var searchBox = new SearchBox("searchBox", "search",false,'Search'); </script> <script type="text/javascript" src="menudata.js"></script> <script type="text/javascript" src="menu.js"></script> <script type="text/javascript"> $(function() { initMenu('',true,false,'search.php','Search'); $(document).ready(function() { init_search(); }); }); </script> <div id="main-nav"></div> </div><!-- top --> <div id="side-nav" class="ui-resizable side-nav-resizable"> <div id="nav-tree"> <div id="nav-tree-contents"> <div id="nav-sync" class="sync"></div> </div> </div> <div id="splitbar" style="-moz-user-select:none;" class="ui-resizable-handle"> </div> </div> <script type="text/javascript"> $(document).ready(function(){initNavTree('<API key>.html',''); initResizable(); }); </script> <div id="doc-content"> <!-- window showing the filter options --> <div id="MSearchSelectWindow" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> </div> <!-- iframe showing the search results (closed by default) --> <div id="<API key>"> <iframe src="javascript:void(0)" frameborder="0" name="MSearchResults" id="MSearchResults"> </iframe> </div> <div class="header"> <div class="headertitle"> <div class="title">FMPXMLRESULT Directory Reference</div> </div> </div><!--header <div class="contents"> </div><!-- contents --> </div><!-- doc-content --> <!-- start footer part --> <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> <ul> <li class="navelem"><a class="el" href="<API key>.html">lib</a></li><li class="navelem"><a class="el" href="<API key>.html">db</a></li><li class="navelem"><a class="el" href="<API key>.html">FMX</a></li><li class="navelem"><a class="el" href="<API key>.html">FMPXMLRESULT</a></li> <li class="footer">Generated by <a href="http: <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li> </ul> </div> </body> </html>
using Microsoft.AspNetCore.Mvc; using System.Collections.Generic; using System.Linq; using Evolution.Domain.Entity.SystemManage; using Evolution.Framework; using Evolution; using System.Threading.Tasks; using Evolution.Web.Attributes; using Evolution.Web; using Evolution.Data; using Evolution.Data.Entity.SystemManage; using Evolution.Application.SystemManage; using Microsoft.AspNetCore.Authorization; namespace Evolution.Web.API.Areas.SystemManage.Controllers { [Area("SystemManage")] [<API key>("", "")] [Authorize] public class OrganizeController : <API key> { private OrganizeService organizeApp = null; public OrganizeController(OrganizeService organizeApp) { this.organizeApp = organizeApp; } [HttpGet] [HandlerAjaxOnly] [<API key>("", "")] [Authorize] public async Task<ActionResult> GetTreeSelectJson() { var data = await organizeApp.GetList(this.TenantId); var treeList = new List<TreeSelectModel>(); foreach (OrganizeEntity item in data) { TreeSelectModel treeModel = new TreeSelectModel(); treeModel.id = item.Id; treeModel.text = item.FullName; treeModel.parentId = item.ParentId; treeModel.data = item; treeList.Add(treeModel); } return Content(treeList.TreeSelectJson()); } [HttpGet] [HandlerAjaxOnly] [<API key>("", "")] public async Task<ActionResult> GetTreeJson() { var data = await organizeApp.GetList(this.TenantId); var treeList = new List<TreeViewModel>(); foreach (OrganizeEntity item in data) { TreeViewModel tree = new TreeViewModel(); bool hasChildren = data.Count(t => t.ParentId == item.Id) == 0 ? false : true; tree.id = item.Id; tree.text = item.FullName; tree.value = item.EnCode; tree.parentId = item.ParentId; tree.isexpand = true; tree.complete = true; tree.hasChildren = hasChildren; treeList.Add(tree); } return Content(treeList.TreeViewJson()); } [HttpGet] [HandlerAjaxOnly] [<API key>("", "")] public async Task<ActionResult> GetTreeGridJson(string keyword) { var data = await organizeApp.GetList(this.TenantId); if (!string.IsNullOrEmpty(keyword)) { data = data.TreeWhere(t => t.FullName.Contains(keyword)); } var treeList = new List<TreeGridModel>(); foreach (OrganizeEntity item in data) { TreeGridModel treeModel = new TreeGridModel(); bool hasChildren = data.Count(t => t.ParentId == item.Id) == 0 ? false : true; treeModel.id = item.Id; treeModel.isLeaf = hasChildren; treeModel.parentId = item.ParentId; treeModel.expanded = hasChildren; treeModel.entityJson = item.ToJson(); treeList.Add(treeModel); } return Content(treeList.TreeGridJson()); } [HttpGet] [HandlerAjaxOnly] [<API key>("", "")] public async Task<IActionResult> GetFormJson(string keyValue) { var data = await organizeApp.GetForm(keyValue,this.TenantId); return Content(data.ToJson()); } [HttpPost] [HandlerAjaxOnly] [<API key>] [<API key>("", "")] public async Task<IActionResult> SubmitForm(OrganizeEntity organizeEntity, string keyValue) { await organizeApp.Save(organizeEntity, keyValue, this.UserId); return Success(""); } [HttpPost] [HandlerAjaxOnly] //[HandlerAuthorize] [<API key>] [<API key>("", "")] public async Task<IActionResult> DeleteForm(string keyValue) { await organizeApp.Delete(keyValue, this.TenantId); return Success(""); } } }
<!DOCTYPE HTML PUBLIC "- <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.8.0_151) on Tue Aug 14 15:31:50 MST 2018 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>org.wildfly.swarm.topology.jgroups (BOM: * : All 2.1.0.Final API)</title> <meta name="date" content="2018-08-14"> <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> <script type="text/javascript" src="../../../../../script.js"></script> </head> <body> <h1 class="bar"><a href="../../../../../org/wildfly/swarm/topology/jgroups/package-summary.html" target="classFrame">org.wildfly.swarm.topology.jgroups</a></h1> <div class="indexContainer"> <h2 title="Classes">Classes</h2> <ul title="Classes"> <li><a href="<API key>.html" title="class in org.wildfly.swarm.topology.jgroups" target="classFrame"><API key></a></li> </ul> </div> </body> </html>
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis; namespace Cs2hx { static class <API key> { public static void Go(HaxeWriter writer, <API key> expression) { writer.Write("new "); writer.Write(TypeName(expression)); writer.Write("("); bool first = true; foreach (var field in expression.Initializers.OrderBy(o => o.NameEquals.Name.Identifier.ValueText)) { if (first) first = false; else writer.Write(", "); Core.Write(writer, field.Expression); } writer.Write(")"); } public static string TypeName(<API key> expression) { return TypeName(Program.GetModel(expression).GetTypeInfo(expression).Type.As<INamedTypeSymbol>()); } public static string TypeName(INamedTypeSymbol symbol) { var fields = symbol.GetMembers().OfType<IPropertySymbol>(); var typeParams = fields.Where(o => o.Type.TypeKind == TypeKind.TypeParameter); var genericSuffix = typeParams.None() ? "" : ("<" + string.Join(", ", typeParams.Select(o => o.Type.Name).Distinct()) + ">"); return "Anon_" + string.Join("__", fields .OrderBy(o => o.Name) .Select(o => o.Name + "_" + TypeProcessor.ConvertType(o.Type).Replace('.', '_'))) + genericSuffix; } public static void WriteAnonymousType(<API key> syntax) { var type = Program.GetModel(syntax).GetTypeInfo(syntax).Type.As<INamedTypeSymbol>(); var anonName = TypeName(type); using (var writer = new HaxeWriter("anonymoustypes", StripGeneric(anonName))) { writer.WriteLine("package anonymoustypes;"); WriteImports.Go(writer); writer.WriteLine("class " + anonName); writer.WriteOpenBrace(); var fields = type.GetMembers().OfType<IPropertySymbol>().OrderBy(o => o.Name).ToList(); foreach (var field in fields) { writer.WriteIndent(); writer.Write("public var "); writer.Write(field.Name); writer.Write(TypeProcessor.<API key>(field.Type)); writer.Write(";\r\n"); } writer.WriteIndent(); writer.Write("public function new("); bool first = true; foreach (var field in fields) { if (first) first = false; else writer.Write(", "); writer.Write(field.Name); writer.Write(TypeProcessor.<API key>(field.Type)); } writer.Write(")\r\n"); writer.WriteOpenBrace(); foreach (var field in fields) { writer.WriteIndent(); writer.Write("this."); writer.Write(field.Name); writer.Write(" = "); writer.Write(field.Name); writer.Write(";\r\n"); } writer.WriteCloseBrace(); writer.WriteCloseBrace(); } } private static string StripGeneric(string anonName) { var i = anonName.IndexOf('<'); if (i == -1) return anonName; else return anonName.Substring(0, i); } } }
package org.jboss.resteasy.plugins.providers.atom; import java.util.ArrayList; import java.util.List; import javax.ws.rs.core.MediaType; import javax.xml.bind.JAXBContext; import javax.xml.bind.JAXBElement; import javax.xml.bind.JAXBException; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAnyElement; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlMixed; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlTransient; import javax.xml.bind.annotation.XmlType; import org.jboss.resteasy.plugins.providers.jaxb.JAXBContextFinder; import org.jboss.resteasy.plugins.providers.jaxb.JAXBXmlTypeProvider; import org.w3c.dom.Element; /** * <p>Represents an atomTextConstruct element.</p> * <p/> * <p>Per RFC4287:</p> * <p/> * <pre> * A Text construct contains human-readable text, usually in small * quantities. The content of Text constructs is Language-Sensitive. * <p/> * <API key> = * <API key>, * attribute type { "text" | "html" }?, * text * * <API key> = * <API key>, * attribute type { "xhtml" }, * xhtmlDiv * <p/> * atomTextConstruct = <API key> | <API key> * <p/> * </pre> * * @author <a href="mailto:mail@johannes-beck.name">Johannes Beck</a> * @version $Revision: 1 $ */ @XmlAccessorType(XmlAccessType.PROPERTY) public class Text extends CommonAttributes { private String type; private MediaType mediaType; private String text; private Element element; private List<Object> value; private Object jaxbObject; protected JAXBContextFinder finder; public Text() { } public Text(String text, String type) { setText(text); setRawType(type); } public Text(String text) { setText(text); } protected void setFinder(JAXBContextFinder finder) { this.finder = finder; } @XmlAnyElement @XmlMixed public List<Object> getValue() { return value; } public void setValue(List<Object> value) { this.value = value; } /** * Mime type * * @return */ @XmlTransient public MediaType getType() { if (mediaType == null) { if (type.equals("html")) mediaType = MediaType.TEXT_HTML_TYPE; else if (type.equals("text")) mediaType = MediaType.TEXT_PLAIN_TYPE; else if (type.equals("xhtml")) mediaType = MediaType.<API key>; else mediaType = MediaType.valueOf(type); } return mediaType; } public void setType(MediaType type) { mediaType = type; if (type.equals(MediaType.TEXT_PLAIN_TYPE)) this.type = "text"; else if (type.equals(MediaType.TEXT_HTML_TYPE)) this.type = "html"; else if (type.equals(MediaType.<API key>)) this.type = "xhtml"; else this.type = type.toString(); } @XmlAttribute(name = "type") public String getRawType() { return type; } public void setRawType(String type) { this.type = type; } /** * If content is text, return it as a String. Otherwise, if content is not text this will return null. * * @return */ @XmlTransient public String getText() { if (value == null) return null; if (value.size() == 0) return null; if (text != null) return text; StringBuffer buf = new StringBuffer(); for (Object obj : value) { if (obj instanceof String) buf.append(obj.toString()); } text = buf.toString(); return text; } /** * Set content as text * * @param text */ public void setText(String text) { if (value == null) value = new ArrayList<Object>(); if (this.text != null && value != null) value.clear(); this.text = text; value.add(text); } /** * Get content as an XML Element if the content is XML. Otherwise, this will just return null. * * @return */ @XmlTransient public Element getElement() { if (value == null) return null; if (element != null) return element; for (Object obj : value) { if (obj instanceof Element) { element = (Element) obj; return element; } } return null; } /** * Set the content to an XML Element * * @param element */ public void setElement(Element element) { if (value == null) value = new ArrayList<Object>(); if (this.element != null && value != null) value.clear(); this.element = element; value.add(element); } /** * Extract the content as the provided JAXB annotated type. * <p/> * This method will use a cached JAXBContext used by the Resteasy JAXB providers * or, if those are not existent, it will create a new JAXBContext from scratch * using the class. * * @param clazz class type you are expecting * @param <API key> Other classe you want to create the JAXBContext with * @return null if there is no XML content * @throws JAXBException */ @SuppressWarnings(value = "unchecked") public <T> T getJAXBObject(Class<T> clazz, Class... <API key>) throws JAXBException { JAXBContext ctx = null; Class[] classes = {clazz}; if (<API key> != null && <API key>.length > 0) { classes = new Class[1 + <API key>.length]; classes[0] = clazz; for (int i = 0; i < <API key>.length; i++) classes[i + 1] = <API key>[i]; } if (finder != null) { ctx = finder.findCacheContext(MediaType.<API key>, null, classes); } else { ctx = JAXBContext.newInstance(classes); } if (getElement() == null) return null; Object obj = ctx.createUnmarshaller().unmarshal(getElement()); if (obj instanceof JAXBElement) { jaxbObject = ((JAXBElement) obj).getValue(); return (T) jaxbObject; } else { jaxbObject = obj; return (T) obj; } } /** * Returns previous extracted jaxbobject from a call to getJAXBObject(Class<T> clazz) * or value passed in through a previous setJAXBObject(). * * @return */ @XmlTransient public Object getJAXBObject() { return jaxbObject; } public void setJAXBObject(Object obj) { if (value == null) value = new ArrayList<Object>(); if (jaxbObject != null && value != null) value.clear(); if (!obj.getClass().isAnnotationPresent(XmlRootElement.class) && obj.getClass().isAnnotationPresent(XmlType.class)) { value.add(JAXBXmlTypeProvider.wrapInJAXBElement(obj, obj.getClass())); } else { value.add(obj); } jaxbObject = obj; } }
<!DOCTYPE HTML PUBLIC "- <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.8.0_292) on Fri Jul 02 03:04:24 PDT 2021 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Uses of Class org.apache.orc.OrcFile.ReaderOptions (ORC Core 1.6.9 API)</title> <meta name="date" content="2021-07-02"> <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> <script type="text/javascript" src="../../../../script.js"></script> </head> <body> <script type="text/javascript"><! try { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="Uses of Class org.apache.orc.OrcFile.ReaderOptions (ORC Core 1.6.9 API)"; } } catch(err) { } </script> <noscript> <div>JavaScript is disabled on your browser.</div> </noscript> <div class="topNav"><a name="navbar.top"> </a> <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> <a name="navbar.top.firstrow"> </a> <ul class="navList" title="Navigation"> <li><a href="../../../../overview-summary.html">Overview</a></li> <li><a href="../package-summary.html">Package</a></li> <li><a href="../../../../org/apache/orc/OrcFile.ReaderOptions.html" title="class in org.apache.orc">Class</a></li> <li class="navBarCell1Rev">Use</li> <li><a href="../../../../overview-tree.html">Tree</a></li> <li><a href="../../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../../index-all.html">Index</a></li> <li><a href="../../../../help-doc.html">Help</a></li> </ul> </div> <div class="subNav"> <ul class="navList"> <li>Prev</li> <li>Next</li> </ul> <ul class="navList"> <li><a href="../../../../index.html?org/apache/orc/class-use/OrcFile.ReaderOptions.html" target="_top">Frames</a></li> <li><a href="OrcFile.ReaderOptions.html" target="_top">No&nbsp;Frames</a></li> </ul> <ul class="navList" id="<API key>"> <li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li> </ul> <div> <script type="text/javascript"><! allClassesLink = document.getElementById("<API key>"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } </script> </div> <a name="skip.navbar.top"> </a></div> <div class="header"> <h2 title="Uses of Class org.apache.orc.OrcFile.ReaderOptions" class="title">Uses of Class<br>org.apache.orc.OrcFile.ReaderOptions</h2> </div> <div class="classUseContainer"> <ul class="blockList"> <li class="blockList"> <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation"> <caption><span>Packages that use <a href="../../../../org/apache/orc/OrcFile.ReaderOptions.html" title="class in org.apache.orc">OrcFile.ReaderOptions</a></span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">Package</th> <th class="colLast" scope="col">Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><a href="#org.apache.orc">org.apache.orc</a></td> <td class="colLast">&nbsp;</td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="#org.apache.orc.impl">org.apache.orc.impl</a></td> <td class="colLast">&nbsp;</td> </tr> </tbody> </table> </li> <li class="blockList"> <ul class="blockList"> <li class="blockList"><a name="org.apache.orc"> </a> <h3>Uses of <a href="../../../../org/apache/orc/OrcFile.ReaderOptions.html" title="class in org.apache.orc">OrcFile.ReaderOptions</a> in <a href="../../../../org/apache/orc/package-summary.html">org.apache.orc</a></h3> <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> <caption><span>Methods in <a href="../../../../org/apache/orc/package-summary.html">org.apache.orc</a> that return <a href="../../../../org/apache/orc/OrcFile.ReaderOptions.html" title="class in org.apache.orc">OrcFile.ReaderOptions</a></span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../org/apache/orc/OrcFile.ReaderOptions.html" title="class in org.apache.orc">OrcFile.ReaderOptions</a></code></td> <td class="colLast"><span class="typeNameLabel">OrcFile.ReaderOptions.</span><code><span class="memberNameLink"><a href="../../../../org/apache/orc/OrcFile.ReaderOptions.html#<API key>-"><API key></a></span>(boolean&nbsp;newValue)</code> <div class="block">Should the reader convert dates and times to the proleptic Gregorian calendar?</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../org/apache/orc/OrcFile.ReaderOptions.html" title="class in org.apache.orc">OrcFile.ReaderOptions</a></code></td> <td class="colLast"><span class="typeNameLabel">OrcFile.ReaderOptions.</span><code><span class="memberNameLink"><a href="../../../../org/apache/orc/OrcFile.ReaderOptions.html#fileMetadata-org.apache.orc.FileMetadata-">fileMetadata</a></span>(<a href="../../../../org/apache/orc/FileMetadata.html" title="interface in org.apache.orc">FileMetadata</a>&nbsp;metadata)</code> <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp; <div class="block"><span class="deprecationComment">Use <a href="../../../../org/apache/orc/OrcFile.ReaderOptions.html#orcTail-org.apache.orc.impl.OrcTail-"><code>orcTail(OrcTail)</code></a> instead.</span></div> </div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../org/apache/orc/OrcFile.ReaderOptions.html" title="class in org.apache.orc">OrcFile.ReaderOptions</a></code></td> <td class="colLast"><span class="typeNameLabel">OrcFile.ReaderOptions.</span><code><span class="memberNameLink"><a href="../../../../org/apache/orc/OrcFile.ReaderOptions.html </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../org/apache/orc/OrcFile.ReaderOptions.html" title="class in org.apache.orc">OrcFile.ReaderOptions</a></code></td> <td class="colLast"><span class="typeNameLabel">OrcFile.ReaderOptions.</span><code><span class="memberNameLink"><a href="../../../../org/apache/orc/OrcFile.ReaderOptions.html#maxLength-long-">maxLength</a></span>(long&nbsp;val)</code>&nbsp;</td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../org/apache/orc/OrcFile.ReaderOptions.html" title="class in org.apache.orc">OrcFile.ReaderOptions</a></code></td> <td class="colLast"><span class="typeNameLabel">OrcFile.ReaderOptions.</span><code><span class="memberNameLink"><a href="../../../../org/apache/orc/OrcFile.ReaderOptions.html#orcTail-org.apache.orc.impl.OrcTail-">orcTail</a></span>(<a href="../../../../org/apache/orc/impl/OrcTail.html" title="class in org.apache.orc.impl">OrcTail</a>&nbsp;tail)</code>&nbsp;</td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static <a href="../../../../org/apache/orc/OrcFile.ReaderOptions.html" title="class in org.apache.orc">OrcFile.ReaderOptions</a></code></td> <td class="colLast"><span class="typeNameLabel">OrcFile.</span><code><span class="memberNameLink"><a href="../../../../org/apache/orc/OrcFile.html </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../org/apache/orc/OrcFile.ReaderOptions.html" title="class in org.apache.orc">OrcFile.ReaderOptions</a></code></td> <td class="colLast"><span class="typeNameLabel">OrcFile.ReaderOptions.</span><code><span class="memberNameLink"><a href="../../../../org/apache/orc/OrcFile.ReaderOptions.html <div class="block">Set the KeyProvider to override the default for getting keys.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../org/apache/orc/OrcFile.ReaderOptions.html" title="class in org.apache.orc">OrcFile.ReaderOptions</a></code></td> <td class="colLast"><span class="typeNameLabel">OrcFile.ReaderOptions.</span><code><span class="memberNameLink"><a href="../../../../org/apache/orc/OrcFile.ReaderOptions.html#<API key>-">useUTCTimestamp</a></span>(boolean&nbsp;value)</code>&nbsp;</td> </tr> </tbody> </table> <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> <caption><span>Methods in <a href="../../../../org/apache/orc/package-summary.html">org.apache.orc</a> with parameters of type <a href="../../../../org/apache/orc/OrcFile.ReaderOptions.html" title="class in org.apache.orc">OrcFile.ReaderOptions</a></span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><code>static <a href="../../../../org/apache/orc/Reader.html" title="interface in org.apache.orc">Reader</a></code></td> <td class="colLast"><span class="typeNameLabel">OrcFile.</span><code><span class="memberNameLink"><a href="../../../../org/apache/orc/OrcFile.html <a href="../../../../org/apache/orc/OrcFile.ReaderOptions.html" title="class in org.apache.orc">OrcFile.ReaderOptions</a>&nbsp;options)</code>&nbsp;</td> </tr> </tbody> </table> </li> <li class="blockList"><a name="org.apache.orc.impl"> </a> <h3>Uses of <a href="../../../../org/apache/orc/OrcFile.ReaderOptions.html" title="class in org.apache.orc">OrcFile.ReaderOptions</a> in <a href="../../../../org/apache/orc/impl/package-summary.html">org.apache.orc.impl</a></h3> <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing fields, and an explanation"> <caption><span>Fields in <a href="../../../../org/apache/orc/impl/package-summary.html">org.apache.orc.impl</a> declared as <a href="../../../../org/apache/orc/OrcFile.ReaderOptions.html" title="class in org.apache.orc">OrcFile.ReaderOptions</a></span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Field and Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><code>protected <a href="../../../../org/apache/orc/OrcFile.ReaderOptions.html" title="class in org.apache.orc">OrcFile.ReaderOptions</a></code></td> <td class="colLast"><span class="typeNameLabel">ReaderImpl.</span><code><span class="memberNameLink"><a href="../../../../org/apache/orc/impl/ReaderImpl.html#options">options</a></span></code>&nbsp;</td> </tr> </tbody> </table> <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing constructors, and an explanation"> <caption><span>Constructors in <a href="../../../../org/apache/orc/impl/package-summary.html">org.apache.orc.impl</a> with parameters of type <a href="../../../../org/apache/orc/OrcFile.ReaderOptions.html" title="class in org.apache.orc">OrcFile.ReaderOptions</a></span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colOne" scope="col">Constructor and Description</th> </tr> <tbody> <tr class="altColor"> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/orc/impl/ReaderImpl.html <a href="../../../../org/apache/orc/OrcFile.ReaderOptions.html" title="class in org.apache.orc">OrcFile.ReaderOptions</a>&nbsp;options)</code> <div class="block">Constructor that let's the user specify additional options.</div> </td> </tr> </tbody> </table> </li> </ul> </li> </ul> </div> <div class="bottomNav"><a name="navbar.bottom"> </a> <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> <a name="navbar.bottom.firstrow"> </a> <ul class="navList" title="Navigation"> <li><a href="../../../../overview-summary.html">Overview</a></li> <li><a href="../package-summary.html">Package</a></li> <li><a href="../../../../org/apache/orc/OrcFile.ReaderOptions.html" title="class in org.apache.orc">Class</a></li> <li class="navBarCell1Rev">Use</li> <li><a href="../../../../overview-tree.html">Tree</a></li> <li><a href="../../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../../index-all.html">Index</a></li> <li><a href="../../../../help-doc.html">Help</a></li> </ul> </div> <div class="subNav"> <ul class="navList"> <li>Prev</li> <li>Next</li> </ul> <ul class="navList"> <li><a href="../../../../index.html?org/apache/orc/class-use/OrcFile.ReaderOptions.html" target="_top">Frames</a></li> <li><a href="OrcFile.ReaderOptions.html" target="_top">No&nbsp;Frames</a></li> </ul> <ul class="navList" id="<API key>"> <li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li> </ul> <div> <script type="text/javascript"><! allClassesLink = document.getElementById("<API key>"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } </script> </div> <a name="skip.navbar.bottom"> </a></div> <p class="legalCopy"><small>Copyright & </body> </html>
<!DOCTYPE HTML PUBLIC "- <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (version 1.7.0_75) on Wed Jun 10 23:20:25 IST 2015 --> <meta http-equiv="Content-Type" content="text/html" charset="utf-8"> <title>Uses of Class org.apache.solr.client.solrj.response.FacetField (Solr 5.2.1 API)</title> <meta name="date" content="2015-06-10"> <link rel="stylesheet" type="text/css" href="../../../../../../../stylesheet.css" title="Style"> </head> <body> <script type="text/javascript"><! if (location.href.indexOf('is-external=true') == -1) { parent.document.title="Uses of Class org.apache.solr.client.solrj.response.FacetField (Solr 5.2.1 API)"; } </script> <noscript> <div>JavaScript is disabled on your browser.</div> </noscript> <div class="topNav"><a name="navbar_top"> </a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> </a> <ul class="navList" title="Navigation"> <li><a href="../../../../../../../overview-summary.html">Overview</a></li> <li><a href="../package-summary.html">Package</a></li> <li><a href="../../../../../../../org/apache/solr/client/solrj/response/FacetField.html" title="class in org.apache.solr.client.solrj.response">Class</a></li> <li class="navBarCell1Rev">Use</li> <li><a href="../package-tree.html">Tree</a></li> <li><a href="../../../../../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../../../../../help-doc.html">Help</a></li> </ul> </div> <div class="subNav"> <ul class="navList"> <li>Prev</li> <li>Next</li> </ul> <ul class="navList"> <li><a href="../../../../../../../index.html?org/apache/solr/client/solrj/response/class-use/FacetField.html" target="_top">Frames</a></li> <li><a href="FacetField.html" target="_top">No Frames</a></li> </ul> <ul class="navList" id="<API key>"> <li><a href="../../../../../../../allclasses-noframe.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><! allClassesLink = document.getElementById("<API key>"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } </script> </div> <a name="skip-navbar_top"> </a></div> <div class="header"> <h2 title="Uses of Class org.apache.solr.client.solrj.response.FacetField" class="title">Uses of Class<br>org.apache.solr.client.solrj.response.FacetField</h2> </div> <div class="classUseContainer"> <ul class="blockList"> <li class="blockList"> <table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation"> <caption><span>Packages that use <a href="../../../../../../../org/apache/solr/client/solrj/response/FacetField.html" title="class in org.apache.solr.client.solrj.response">FacetField</a></span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">Package</th> <th class="colLast" scope="col">Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><a href="#org.apache.solr.client.solrj.response">org.apache.solr.client.solrj.response</a></td> <td class="colLast"> <div class="block">Convenience classes for dealing with various types of Solr responses.</div> </td> </tr> </tbody> </table> </li> <li class="blockList"> <ul class="blockList"> <li class="blockList"><a name="org.apache.solr.client.solrj.response"> </a> <h3>Uses of <a href="../../../../../../../org/apache/solr/client/solrj/response/FacetField.html" title="class in org.apache.solr.client.solrj.response">FacetField</a> in <a href="../../../../../../../org/apache/solr/client/solrj/response/package-summary.html">org.apache.solr.client.solrj.response</a></h3> <table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> <caption><span>Methods in <a href="../../../../../../../org/apache/solr/client/solrj/response/package-summary.html">org.apache.solr.client.solrj.response</a> that return <a href="../../../../../../../org/apache/solr/client/solrj/response/FacetField.html" title="class in org.apache.solr.client.solrj.response">FacetField</a></span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../../../../org/apache/solr/client/solrj/response/FacetField.html" title="class in org.apache.solr.client.solrj.response">FacetField</a></code></td> <td class="colLast"><span class="strong">QueryResponse.</span><code><strong><a href="../../../../../../../org/apache/solr/client/solrj/response/QueryResponse.html </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../../../../org/apache/solr/client/solrj/response/FacetField.html" title="class in org.apache.solr.client.solrj.response">FacetField</a></code></td> <td class="colLast"><span class="strong">FacetField.Count.</span><code><strong><a href="../../../../../../../org/apache/solr/client/solrj/response/FacetField.Count.html#getFacetField()">getFacetField</a></strong>()</code>&nbsp;</td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../../../../org/apache/solr/client/solrj/response/FacetField.html" title="class in org.apache.solr.client.solrj.response">FacetField</a></code></td> <td class="colLast"><span class="strong">QueryResponse.</span><code><strong><a href="../../../../../../../org/apache/solr/client/solrj/response/QueryResponse.html <div class="block">get</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../../../../org/apache/solr/client/solrj/response/FacetField.html" title="class in org.apache.solr.client.solrj.response">FacetField</a></code></td> <td class="colLast"><span class="strong">FacetField.</span><code><strong><a href="../../../../../../../org/apache/solr/client/solrj/response/FacetField.html#getLimitingFields(long)">getLimitingFields</a></strong>(long&nbsp;max)</code>&nbsp;</td> </tr> </tbody> </table> <table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> <caption><span>Methods in <a href="../../../../../../../org/apache/solr/client/solrj/response/package-summary.html">org.apache.solr.client.solrj.response</a> that return types with arguments of type <a href="../../../../../../../org/apache/solr/client/solrj/response/FacetField.html" title="class in org.apache.solr.client.solrj.response">FacetField</a></span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><code><a href="http://download.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../../../org/apache/solr/client/solrj/response/FacetField.html" title="class in org.apache.solr.client.solrj.response">FacetField</a>&gt;</code></td> <td class="colLast"><span class="strong">QueryResponse.</span><code><strong><a href="../../../../../../../org/apache/solr/client/solrj/response/QueryResponse.html#getFacetDates()">getFacetDates</a></strong>()</code>&nbsp;</td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="http://download.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../../../org/apache/solr/client/solrj/response/FacetField.html" title="class in org.apache.solr.client.solrj.response">FacetField</a>&gt;</code></td> <td class="colLast"><span class="strong">QueryResponse.</span><code><strong><a href="../../../../../../../org/apache/solr/client/solrj/response/QueryResponse.html#getFacetFields()">getFacetFields</a></strong>()</code> <div class="block">See also: <a href="../../../../../../../org/apache/solr/client/solrj/response/QueryResponse.html#getLimitingFacets()"><code>QueryResponse.getLimitingFacets()</code></a></div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="http://download.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../../../org/apache/solr/client/solrj/response/FacetField.html" title="class in org.apache.solr.client.solrj.response">FacetField</a>&gt;</code></td> <td class="colLast"><span class="strong">QueryResponse.</span><code><strong><a href="../../../../../../../org/apache/solr/client/solrj/response/QueryResponse.html#getLimitingFacets()">getLimitingFacets</a></strong>()</code>&nbsp;</td> </tr> </tbody> </table> <table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing constructors, and an explanation"> <caption><span>Constructors in <a href="../../../../../../../org/apache/solr/client/solrj/response/package-summary.html">org.apache.solr.client.solrj.response</a> with parameters of type <a href="../../../../../../../org/apache/solr/client/solrj/response/FacetField.html" title="class in org.apache.solr.client.solrj.response">FacetField</a></span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colOne" scope="col">Constructor and Description</th> </tr> <tbody> <tr class="altColor"> <td class="colLast"><code><strong><a href="../../../../../../../org/apache/solr/client/solrj/response/FacetField.Count.html#FacetField.Count(org.apache.solr.client.solrj.response.FacetField,%20java.lang.String,%20long)">FacetField.Count</a></strong>(<a href="../../../../../../../org/apache/solr/client/solrj/response/FacetField.html" title="class in org.apache.solr.client.solrj.response">FacetField</a>&nbsp;ff, <a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;n, long&nbsp;c)</code>&nbsp;</td> </tr> </tbody> </table> </li> </ul> </li> </ul> </div> <div class="bottomNav"><a name="navbar_bottom"> </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="<API key>"> </a> <ul class="navList" title="Navigation"> <li><a href="../../../../../../../overview-summary.html">Overview</a></li> <li><a href="../package-summary.html">Package</a></li> <li><a href="../../../../../../../org/apache/solr/client/solrj/response/FacetField.html" title="class in org.apache.solr.client.solrj.response">Class</a></li> <li class="navBarCell1Rev">Use</li> <li><a href="../package-tree.html">Tree</a></li> <li><a href="../../../../../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../../../../../help-doc.html">Help</a></li> </ul> </div> <div class="subNav"> <ul class="navList"> <li>Prev</li> <li>Next</li> </ul> <ul class="navList"> <li><a href="../../../../../../../index.html?org/apache/solr/client/solrj/response/class-use/FacetField.html" target="_top">Frames</a></li> <li><a href="FacetField.html" target="_top">No Frames</a></li> </ul> <ul class="navList" id="<API key>"> <li><a href="../../../../../../../allclasses-noframe.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><! allClassesLink = document.getElementById("<API key>"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } </script> </div> <a name="skip-navbar_bottom"> </a></div> <p class="legalCopy"><small> <i>Copyright &copy; 2000-2015 Apache Software Foundation. All Rights Reserved.</i> <script src='../../../../../../../prettify.js' type='text/javascript'></script> <script type='text/javascript'> (function(){ var oldonload = window.onload; if (typeof oldonload != 'function') { window.onload = prettyPrint; } else { window.onload = function() { oldonload(); prettyPrint(); } } })(); </script> </small></p> </body> </html>
<?php namespace Magento\Framework\App\View\Deployment\Version; /** * Persistence of deployment version of static files */ interface StorageInterface { /** * Retrieve version value from a persistent storage * * @return string * @throws \<API key> Exception is thrown when unable to retrieve data from a storage */ public function load(); /** * Store version value in a persistent storage * * @param string $data * @return void */ public function save($data); }
<!DOCTYPE html><html lang="en-us" > <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="generator" content="Source Themes Academic 4.8.0"> <meta name="author" content="Gregor von Laszewski"> <meta name="description" content="Assit. Director Digital Science Center"> <link rel="alternate" hreflang="en-us" href="/author/l.-glilbert/"> <meta name="theme-color" content="#2962ff"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.14.0/css/all.min.css" integrity="<API key>=" crossorigin="anonymous"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.5.7/jquery.fancybox.min.css" integrity="sha256-Vzbj7sDDS/<API key>=" crossorigin="anonymous"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.1.2/styles/github.min.css" crossorigin="anonymous" title="hl-light"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.1.2/styles/dracula.min.css" crossorigin="anonymous" title="hl-dark" disabled> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.5.1/leaflet.css" integrity="<API key>/<API key>=" crossorigin="anonymous"> <script src="https://cdnjs.cloudflare.com/ajax/libs/lazysizes/5.1.2/lazysizes.min.js" integrity="<API key>=" crossorigin="anonymous" async></script> <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Montserrat:400,700%7CRoboto:400,400italic,700%7CRoboto+Mono&display=swap"> <link rel="stylesheet" href="/css/academic.css"> <link rel="alternate" href="/author/l.-glilbert/index.xml" type="application/rss+xml" title="Gregor von Laszewski"> <link rel="manifest" href="/index.webmanifest"> <link rel="icon" type="image/png" href="/images/<API key>.png"> <link rel="apple-touch-icon" type="image/png" href="/images/<API key>.png"> <link rel="canonical" href="/author/l.-glilbert/"> <meta property="twitter:card" content="summary"> <meta property="og:site_name" content="Gregor von Laszewski"> <meta property="og:url" content="/author/l.-glilbert/"> <meta property="og:title" content="L. Glilbert | Gregor von Laszewski"> <meta property="og:description" content="Assit. Director Digital Science Center"><meta property="og:image" content="/images/<API key>.png"> <meta property="twitter:image" content="/images/<API key>.png"><meta property="og:locale" content="en-us"> <meta property="og:updated_time" content="2005-01-01T00:00:00&#43;00:00"> <title>L. Glilbert | Gregor von Laszewski</title> </head> <body id="top" data-spy="scroll" data-offset="70" data-target="#TableOfContents" class=" "> <script>window.staDarkLightChooser = true;</script> <script>const isSiteThemeDark = false;</script> <script src="/js/load-theme.js"></script> <aside class="search-results" id="search"> <div class="container"> <section class="search-header"> <div class="row no-gutters <API key> mb-3"> <div class="col-6"> <h1>Search</h1> </div> <div class="col-6 col-search-close"> <a class="js-search" href="#"><i class="fas fa-times-circle text-muted" aria-hidden="true"></i></a> </div> </div> <div id="search-box"> <input name="q" id="search-query" placeholder="Search..." autocapitalize="off" autocomplete="off" autocorrect="off" spellcheck="false" type="search" class="form-control"> </div> </section> <section class="<API key>"> <div id="search-hits"> </div> </section> </div> </aside> <nav class="navbar navbar-expand-lg navbar-light <API key>" id="navbar-main"> <div class="container"> <div class="d-none d-lg-inline-flex"> <a class="navbar-brand" href="/">Gregor von Laszewski</a> </div> <button type="button" class="navbar-toggler" data-toggle="collapse" data-target="#navbar-content" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation"> <span><i class="fas fa-bars"></i></span> </button> <div class="<API key> d-inline-flex d-lg-none"> <a class="navbar-brand" href="/">Gregor von Laszewski</a> </div> <div class="navbar-collapse main-menu-item collapse <API key>" id="navbar-content"> <ul class="navbar-nav d-md-inline-flex"> <li class="nav-item"> <a class="nav-link " href="/#about"><span>Home</span></a> </li> <li class="nav-item"> <a class="nav-link " href="/#posts"><span>Posts</span></a> </li> <li class="nav-item"> <a class="nav-link " href="/#projects"><span>Projects</span></a> </li> <li class="nav-item"> <a class="nav-link " href="/publication"><span>Publications</span></a> </li> <li class="nav-item"> <a class="nav-link " href="/#featured"><span>Books</span></a> </li> <li class="nav-item"> <a class="nav-link " href="/#contribute"><span>Contribute</span></a> </li> <li class="nav-item"> <a class="nav-link " href="/vonLaszewski-resume.pdf"><span>CV</span></a> </li> <li class="nav-item"> <a class="nav-link " href="/#contact"><span>Contact</span></a> </li> </ul> </div> <ul class="nav-icons navbar-nav flex-row ml-auto d-flex pl-md-2"> <li class="nav-item"> <a class="nav-link js-search" href="#" aria-label="Search"><i class="fas fa-search" aria-hidden="true"></i></a> </li> <li class="nav-item dropdown theme-dropdown"> <a href="#" class="nav-link js-theme-selector" data-toggle="dropdown" aria-haspopup="true"> <i class="fas fa-palette" aria-hidden="true"></i> </a> <div class="dropdown-menu"> <a href="#" class="dropdown-item js-set-theme-light"> <span>Light</span> </a> <a href="#" class="dropdown-item js-set-theme-dark"> <span>Dark</span> </a> <a href="#" class="dropdown-item js-set-theme-auto"> <span>Automatic</span> </a> </div> </li> </ul> </div> </nav> <div class="universal-wrapper pt-3"> <h1>L. Glilbert</h1> </div> <section id="profile-page" class="pt-5"> <div class="container"> <div class="article-widget content-widget-hr"> <h3>Latest</h3> <ul> <li> <a href="/publication/las-2005-portalarch/">Grid Portal Architectures for scientific applications</a> </li> </ul> </div> </div> </section> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js" integrity="sha256-9/<API key>/faTqgFtohetphbbj0=" crossorigin="anonymous"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.imagesloaded/4.1.4/imagesloaded.pkgd.min.js" integrity="<API key>/<API key>=" crossorigin="anonymous"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.isotope/3.0.6/isotope.pkgd.min.js" integrity="<API key>/iI=" crossorigin="anonymous"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.5.7/jquery.fancybox.min.js" integrity="<API key>/HTHLT7097U8Y5b8=" crossorigin="anonymous"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/instant.page/5.1.0/instantpage.min.js" integrity="sha512-1+qUtKoh9XZW7j+<API key>+cvxXjP1Z54RxZuzstR/<API key>==" crossorigin="anonymous"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.1.2/highlight.min.js" integrity="<API key>+<API key>+SGlD+A==" crossorigin="anonymous"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.1.2/languages/r.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.5.1/leaflet.js" integrity="<API key>+btR2oIlCpBJbyD4/g=" crossorigin="anonymous"></script> <script>const code_highlighting = true;</script> <script> const search_config = {"indexURI":"/index.json","minLength":1,"threshold":0.3}; const i18n = {"no_results":"No results found","placeholder":"Search...","results":"results found"}; const content_type = { 'post': "Posts", 'project': "Projects", 'publication' : "Publications", 'talk' : "Talks", 'slides' : "Slides" }; </script> <script id="<API key>" type="text/x-template"> <div class="search-hit" id="summary-{{key}}"> <div class="search-hit-content"> <div class="search-hit-name"> <a href="{{relpermalink}}">{{title}}</a> <div class="article-metadata search-hit-type">{{type}}</div> <p class="<API key>">{{snippet}}</p> </div> </div> </div> </script> <script src="https://cdnjs.cloudflare.com/ajax/libs/fuse.js/3.2.1/fuse.min.js" integrity="<API key>+<API key>=" crossorigin="anonymous"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/jquery.mark.min.js" integrity="<API key>=" crossorigin="anonymous"></script> <script src="/js/academic.min.<API key>.js"></script> <div class="container"> <footer class="site-footer"> <p class="powered-by"> </p> <p class="powered-by"> <a href="https://laszewski.github.io/" target="_blank" rel="noopener">(c) Gregor von Laszewski, laszewski@gmail.com</a> <span class="float-right" aria-hidden="true"> <a href="#" class="back-to-top"> <span class="button_icon"> <i class="fas fa-chevron-up fa-2x"></i> </span> </a> </span> </p> </footer> </div> <div id="modal" class="modal fade" role="dialog"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title">Cite</h5> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">&times;</span> </button> </div> <div class="modal-body"> <pre><code class="tex hljs"></code></pre> </div> <div class="modal-footer"> <a class="btn btn-outline-primary my-1 js-copy-cite" href="#" target="_blank"> <i class="fas fa-copy"></i> Copy </a> <a class="btn btn-outline-primary my-1 js-download-cite" href="#" target="_blank"> <i class="fas fa-download"></i> Download </a> <div id="modal-error"></div> </div> </div> </div> </div> </body> </html>
using System; using System.Net; using Rainbow.Framework.Settings; namespace Rainbow.Framework.Exceptions { <summary> Custom Exception class for Rainbow. </summary> // Serializable public class RainbowRedirect : Exception { // /// <summary> // /// Default constructor. // /// </summary> // public RainbowRedirect() // /// <summary> // /// Constructor with message. // /// </summary> // /// <param name="message">Text message to be included in log.</param> // public RainbowRedirect(string message) : base(message) // /// <summary> // /// Constructor with message and innerException. // /// </summary> // /// <param name="message">Text message to be included in log.</param> // /// <param name="inner">Inner exception</param> // public RainbowRedirect(string message, Exception inner) : base(message, inner) // public RainbowRedirect(Rainbow.Framework.Configuration.LogLevel level, string message, Exception inner) : base(message, inner) // Level = level; <summary> Initializes a new instance of the <see cref="RainbowRedirect"/> class. </summary> <param name="redirectUrl">The redirect URL.</param> <param name="level">The level.</param> <param name="message">The message.</param> public RainbowRedirect(string redirectUrl, LogLevel level, string message) : base(message) { Level = level; RedirectUrl = redirectUrl; } <summary> Initializes a new instance of the <see cref="RainbowRedirect"/> class. </summary> <param name="level">The level.</param> <param name="statusCode">The status code.</param> <param name="message">The message.</param> <param name="inner">The inner.</param> public RainbowRedirect(LogLevel level, HttpStatusCode statusCode, string message, Exception inner) : base(message, inner) { Level = level; StatusCode = statusCode; } <summary> Initializes a new instance of the <see cref="RainbowRedirect"/> class. </summary> <param name="redirectUrl">The redirect URL.</param> <param name="level">The level.</param> <param name="message">The message.</param> <param name="inner">The inner.</param> public RainbowRedirect(string redirectUrl, LogLevel level, string message, Exception inner) : base(message, inner) { Level = level; RedirectUrl = redirectUrl; } <summary> Initializes a new instance of the <see cref="RainbowRedirect"/> class. </summary> <param name="redirectUrl">The redirect URL.</param> <param name="level">The level.</param> <param name="statusCode">The status code.</param> <param name="message">The message.</param> <param name="inner">The inner.</param> public RainbowRedirect(string redirectUrl, LogLevel level, HttpStatusCode statusCode, string message, Exception inner) : base(message, inner) { Level = level; StatusCode = statusCode; RedirectUrl = redirectUrl; } private HttpStatusCode _statusCode = HttpStatusCode.NotFound; <summary> HttpStatusCode enum </summary> <value>The status code.</value> public HttpStatusCode StatusCode { get { return _statusCode; } set { _statusCode = value; } } private LogLevel _level = LogLevel.Info; <summary> ExceptionLevel enum </summary> <value>The level.</value> public LogLevel Level { get { return _level; } set { _level = value; } } //private string _redirectUrl = <API key>.AppSettings["SmartErrorRedirect"]; private string _redirectUrl = Config.SmartErrorRedirect; <summary> Gets or sets the redirect URL. </summary> <value>The redirect URL.</value> public string RedirectUrl { get { return _redirectUrl; } set { _redirectUrl = value; } } // /// <summary> // /// Helper for de-serialization. // /// </summary> // /// <param name="info"></param> // /// <param name="context"></param> // protected RainbowRedirect(SerializationInfo info, StreamingContext context) : base(info,context) // Level = (Rainbow.Framework.LogLevel)info.GetValue("_level",typeof(Rainbow.Framework.Configuration.LogLevel)); // StatusCode = (HttpStatusCode)info.GetValue("_statusCode",typeof(System.Net.HttpStatusCode)); // /// <summary> // /// Helper for serialization. // /// </summary> // /// <param name="info"></param> // /// <param name="context"></param> // [<API key>(SecurityAction.Demand, <API key>=true)] // public override void GetObjectData(SerializationInfo info, StreamingContext context) // info.AddValue("_level", (int)Level, typeof(Rainbow.Framework.Configuration.LogLevel)); // info.AddValue("_statusCode", (int)StatusCode, typeof(System.Net.HttpStatusCode)); // base.GetObjectData(info,context); } }
<html> <head> <meta name="order" content="1" /> <title>Variation</title> </head> <body> <h1 style="margin-top:15px">About Ensembl Variation</h1> <p style="font-weight:bold"> The Ensembl Variation database stores areas of the genome that differ between individual genomes ("variants") and, where available, associated disease and phenotype information. </p> <p> There are different types of variants for several <a href="./species/species_data_types.html#sources">species</a>: </p> <ul style="margin-top:2px"> <li style="margin-top:4px">single nucleotide polymorphisms (SNPs)</li> <li>short nucleotide insertions and/or deletions</li> <li>longer variants classified as structural variants (including CNVs)</li> </ul> <p>Explore the links below to learn more about Ensembl Variation:</p> <div style="display:table;font-size:14px;margin:10px 0px 40px"> <div style="display:table-row"> <div style="display:table-cell"> <div class="round-box plain-box bordered" style="margin-right:16px"> <h3>Data access and tools</h3> <ul> <li><a href="./tools/data_access.html">Data access</a></li> <li><a href="./tools/variant_tools.html">Variant tools</a></li> </ul> </div> </div> <div style="display:table-cell"> <div class="round-box plain-box bordered" style="margin-right:16px"> <h3>Phenotype data</h3> <ul> <li><a href="./phenotype/<API key>.html">Phenotype and disease annotations</a></li> <li><a href="./phenotype/<API key>.html">Phenotype sources</a></li> </ul> </div> </div> </div> <div style="display:table-row"> <div style="display:table-cell"> <div class="round-box plain-box bordered" style="margin-right:16px"> <h3>Data prediction</h3> <ul> <li><a href="./prediction/predicted_data.html">Calculated consequences</a></li> <li><a href="./prediction/protein_function.html">Pathogenocity prediction</a></li> <li><a href="./prediction/classification.html">Variant classification</a></li> <li><a href="./prediction/variant_quality.html">Variant quality</a></li> </ul> </div> </div> <div style="display:table-cell"> <div class="round-box plain-box bordered" style="margin-right:16px"> <h3>Species data</h3> <ul> <li><a href="./species/<API key>.html">Data sources</a></li> <li><a href="./species/species_data_types.html">Data types and species list</a></li> <li><a href="./species/<API key>.html">Detailed species data count</a></li> <li><a href="./species/populations.html">Population allele frequencies and genotypes</a></li> <li><a href="./species/sets.html">Variant sets</a></li> </ul> </div> </div> </div> </div> <hr style="margin-bottom:4px" /> <p></p> <h2 id="examples">Examples</h2> <p> For several different species in Ensembl, we import variant data (<span class="ht" title="Single Nucleotide Polymorphisms">SNPs</span>, <span class="ht" title="Copy Number Variations">CNVs</span>, allele frequencies, genotypes, etc) from a variety of <a href="./species/<API key>.html">sources</a> (e.g. dbSNP). Imported variants and alleles are subjected to a <a href="./prediction/variant_quality.html">quality control</a> process to flag suspect data. </p> <p> We classify the variants into different <a href="./prediction/classification.html">classes</a> and calculate the <a href="./prediction/predicted_data.html">predicted consequence(s)</a> of the variant and we have also created variant <a href="./species/sets.html">sets</a> to help people retrieve a specific group of variants from a particular dataset. </p> <p> In human, we calculate the linkage disequilibrium for each variant, by <a href="./species/populations.html">population</a>. </p> <p>See some examples of imported data on the Ensembl website (Human):</p> <div class="portal" style="margin-bottom:5px;width:auto"> <div> <a href="/Homo_sapiens/Variation/Context?v=rs1333049" title="Location of a variant in the genome"><img src="/i/96/var_genomic_context.png" alt="Location of a variant in the genome"/></a> </div> <div> <a href="/Homo_sapiens/Variation/Population?v=rs699" title="Population genotypes and frequencies of a variant"><img src="/i/96/<API key>.png" alt="Population genotypes and frequencies of a variant"/></a> </div> <div> <a href="/Homo_sapiens/Variation/Sample?v=rs699" title="Sample genotypes of a variant"><img src="/i/96/<API key>.png" alt="Sample genotypes of a variant"/></a> </div> <div> <a href="/Homo_sapiens/Variation/Phenotype?v=rs1333049" title="Phenotype(s) associated with a variant"><img src="/i/96/var_phenotype_data.png"alt="Phenotype(s) associated with a variant"/></a> </div> <div> <a href="/Homo_sapiens/Variation/Citations?v=rs1333049" title="Citations"><img src="/i/96/var_citations.png" alt="Citations"/></a> </div> </div> <div class="clear"></div> <hr style="margin-bottom:4px" /> <p></p> <h2 id="references">References</h2> <ul> <li> Daniel R Zerbino, Premanand Achuthan, Wasiu Akanni, M Ridwan Amode, Daniel Barrell, Jyothish Bhai, Konstantinos Billis, Carla Cummins, Astrid Gall, Carlos Garc&iacute;a Gir&oacute;n, Laurent Gil, Leo Gordon, Leanne Haggerty, Erin Haskell, Thibaut Hourlier, Osagie G Izuogu, Sophie H Janacek, Thomas Juettemann, Jimmy Kiang To, Matthew R Laird, Ilias Lavidas, Zhicheng Liu, Jane E Loveland, Thomas Maurel, William McLaren, Benjamin Moore, Jonathan Mudge, Daniel N Murphy, Victoria Newman, Michael Nuhn, Denye Ogeh, Chuang Kee Ong, Anne Parker, Mateus Patricio, Harpreet Singh Riat, Helen Schuilenburg, Dan Sheppard, Helen Sparrow, Kieron Taylor, Anja Thormann, Alessandro Vullo, Brandon Walts, Amonida Zadissa, Adam Frankish, Sarah E Hunt, Myrto Kostadima, Nicholas Langridge, Fergal J Martin, Matthieu Muffato, Emily Perry, Magali Ruffier, Dan M Staines, Stephen J Trevanion, Bronwen L Aken, Fiona Cunningham, Andrew Yates, and Paul Flicek<br /> <strong>Ensembl 2018</strong><br /> <em>Nucleic Acids Research</em><br /> <a href="https://doi.org/10.1093/nar/gkx1098" rel="external">doi:10.1093/nar/gkx1098</a> </li> <li> <p> McLaren W, Gil L, Hunt SE, Riat HS, Ritchie GRS, Thormann A, Flicek P and Cunningham F.<br /> <strong>The Ensembl Variant Effect Predictor</strong><br /> <em>Genome Biology</em> 17:122(2016)<br /> <a href="http://dx.doi.org/10.1186/s13059-016-0974-4" rel="external">doi:10.1186/s13059-016-0974-4</a> </p> </li> <li> <p> Rios D, McLaren WM, Chen Y, Birney E, Stabenau A, Flicek P, Cunningham F.<br /> <strong>A Database and API for variation, dense genotyping and resequencing data</strong><br /> <em>BMC Bioinformatics</em> 11:238 (2010)<br /> <a href="http://dx.doi.org/10.1186/1471-2105-11-238" rel="external">doi:10.1186/1471-2105-11-238</a></p> </li> <li> <p>Chen Y, Cunningham F, Rios D, McLaren WM, Smith J, Pritchard B, Spudich GM, Brent S, Kulesha E, Marin-Garcia P, Smedley D, Birney E, Flicek P.<br /> <strong>Ensembl Variation Resources</strong><br /> <em>BMC Genomics</em> 11(1):293 (2010)<br /> <a href="http://dx.doi.org/10.1186/1471-2164-11-293" rel="external">doi:10.1186/1471-2164-11-293</a></p> </li> </ul> </body> </html>
<!DOCTYPE html PUBLIC "- <html xmlns="http: <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.11"/> <title>BadgerDB: Member List</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="search/search.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="search/searchdata.js"></script> <script type="text/javascript" src="search/search.js"></script> <script type="text/javascript"> $(document).ready(function() { init_search(); }); </script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">BadgerDB </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.11 --> <script type="text/javascript"> var searchBox = new SearchBox("searchBox", "search",false,'Search'); </script> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main&#160;Page</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li> <div id="MSearchBox" class="MSearchBoxInactive"> <span class="left"> <img id="MSearchSelect" src="search/mag_sel.png" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" alt=""/> <input type="text" id="MSearchField" value="Search" accesskey="S" onfocus="searchBox.OnSearchFieldFocus(true)" onblur="searchBox.OnSearchFieldFocus(false)" onkeyup="searchBox.OnSearchFieldChange(event)"/> </span><span class="right"> <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> </span> </div> </li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class&#160;List</span></a></li> <li><a href="classes.html"><span>Class&#160;Index</span></a></li> <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li> <li><a href="functions.html"><span>Class&#160;Members</span></a></li> </ul> </div> <!-- window showing the filter options --> <div id="MSearchSelectWindow" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> </div> <!-- iframe showing the search results (closed by default) --> <div id="<API key>"> <iframe src="javascript:void(0)" frameborder="0" name="MSearchResults" id="MSearchResults"> </iframe> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="namespacebadgerdb.html">badgerdb</a></li><li class="navelem"><a class="el" href="<API key>.html">PageIterator</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="headertitle"> <div class="title">badgerdb::PageIterator Member List</div> </div> </div><!--header <div class="contents"> <p>This is the complete list of members for <a class="el" href="<API key>.html">badgerdb::PageIterator</a>, including all inherited members.</p> <table class="directory"> <tr class="even"><td class="entry"><a class="el" href="<API key>.html#<API key>">getNextUsedSlot</a>(const SlotId start) const </td><td class="entry"><a class="el" href="<API key>.html">badgerdb::PageIterator</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> <tr bgcolor="#f0f0f0"><td class="entry"><b>operator!=</b>(const PageIterator &amp;rhs) const (defined in <a class="el" href="<API key>.html">badgerdb::PageIterator</a>)</td><td class="entry"><a class="el" href="<API key>.html">badgerdb::PageIterator</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> <tr class="even"><td class="entry"><a class="el" href="<API key>.html#<API key>">operator*</a>() const </td><td class="entry"><a class="el" href="<API key>.html">badgerdb::PageIterator</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> <tr><td class="entry"><a class="el" href="<API key>.html#<API key>">operator++</a>()</td><td class="entry"><a class="el" href="<API key>.html">badgerdb::PageIterator</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>operator++</b>(int) (defined in <a class="el" href="<API key>.html">badgerdb::PageIterator</a>)</td><td class="entry"><a class="el" href="<API key>.html">badgerdb::PageIterator</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> <tr><td class="entry"><a class="el" href="<API key>.html#<API key>">operator==</a>(const PageIterator &amp;rhs) const </td><td class="entry"><a class="el" href="<API key>.html">badgerdb::PageIterator</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> <tr class="even"><td class="entry"><a class="el" href="<API key>.html#<API key>">PageIterator</a>()</td><td class="entry"><a class="el" href="<API key>.html">badgerdb::PageIterator</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> <tr><td class="entry"><a class="el" href="<API key>.html#<API key>">PageIterator</a>(Page *page)</td><td class="entry"><a class="el" href="<API key>.html">badgerdb::PageIterator</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> <tr class="even"><td class="entry"><a class="el" href="<API key>.html#<API key>">PageIterator</a>(Page *page, const RecordId &amp;record_id)</td><td class="entry"><a class="el" href="<API key>.html">badgerdb::PageIterator</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> </table></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated by & <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.11 </small></address> </body> </html>
describe("Localization", function() { it("test sentence should be 'Test sentence'", function() { var node = document.querySelector('[data-l10n-id="test"]'); expect(node.textContent).toEqual('Test sentence'); }); }); describe("JS API", function() { it("value from context should be 'Test sentence'", function() { expect(getEntity('test')).toEqual('Test sentence'); }); });
/* MBRASS - the "Brass" physical model instrument in Perry Cook/Gary Scavone's "stk" (synthesis tookkit). p0 = output start time p1 = duration p2 = amplitude multiplier p3 = frequency (Hz) p4 = slide length (samps) p5 = lip filter (Hz) p6 = max pressure (0.0 - 1.0, I think...) p7 = percent of signal to left output channel [optional, default is .5] p8 = breath pressure table [optional] PField updating: p2 (amplitude) (or assumes function table 1 is breathPressure (amplitude) curve for the note. If no setline or function table 1, uses flat amplitude curve.) p3 (frequency) p4 (slide length) p5 (lip filter) p7 (pan) */ #include <Stk.h> #include <Brass.h> // from the stk library #include <stdio.h> #include <stdlib.h> #include <ugens.h> #include <Ougens.h> #include <math.h> #include <mixerr.h> #include <Instrument.h> /* the base class for this instrument */ #include "MBRASS.h" /* declarations for this instrument class */ #include <rt.h> #include <rtdefs.h> MBRASS :: MBRASS() : Instrument() { branch = 0; amptable = NULL; } MBRASS :: ~MBRASS() { delete theHorn; } int MBRASS :: init(double p[], int n_args) { nargs = n_args; Stk::setSampleRate(SR); if (rtsetoutput(p[0], p[1], this) == -1) return DONT_SCHEDULE; amptable = floc(1); if (amptable) // the amp array has been created using makegen theEnv = new Ooscili(SR, 1.0/p[1], 1); theHorn = new Brass(50.0); // 50 Hz is default lowest frequency freq = p[3]; theHorn->setFrequency(p[3]); theHorn->startBlowing(p[6], 0.0); slength = p[4]; theHorn->setSlide((int)p[4]); lipfilt = p[5]; theHorn->setLip(p[5]); pctleft = n_args > 7 ? p[7] : 0.5; /* default is .5 */ return nSamps(); } void MBRASS :: doupdate() { double p[9]; update(p, 9, kAmp | kFreq | kSlide | kLip | kPan | kBreathPress); // "amp" is now separate from the breath pressure. // breath pressure is controlled by makegen 1, or a table, or it is 1.0 amp = p[2] * 10.0; // for some reason this needs normalizing... if (amptable) breathamp = theEnv->next(currentFrame()); else if (nargs > 8) breathamp = p[8]; else breathamp = 1.0; if (freq != p[3]) { theHorn->setFrequency(p[3]); freq = p[3]; } if (slength != p[4]) { theHorn->setSlide((int)p[4]); slength = p[4]; } if (lipfilt != p[5]) { theHorn->setLip(p[5]); lipfilt = p[5]; } if (nargs > 7) pctleft = p[7]; } int MBRASS :: run() { int i; float out[2]; for (i = 0; i < framesToRun(); i++) { if (--branch <= 0) { doupdate(); branch = getSkip(); } out[0] = theHorn->tick(breathamp) * amp; if (outputChannels() == 2) { out[1] = out[0] * (1.0 - pctleft); out[0] *= pctleft; } rtaddout(out); increment(); } return framesToRun(); } Instrument *makeMBRASS() { MBRASS *inst; inst = new MBRASS(); inst->set_bus_config("MBRASS"); return inst; } #ifndef EMBEDDED void rtprofile() { RT_INTRO("MBRASS", makeMBRASS); } #endif
package com.lin.web.util; public class LinMobileConstants { public static final String EMAIL_ADDRESS="naresh.pokhriyal@mediaagility.com"; //mediaad2012sense@gmail.com public static final String EMAIL_PASSWORD="LinMobile8";//maadsense2012 public static final String TO_EMAIL_ADDRESS="youdhveer.panwar@mediaagility.com"; //linmobile@mediaagility.com"; public static final String CC_EMAIL_ADDRESS="youdhveer.panwar@mediaagility.com"; public static final String TRAFFICKER_EMAIL="sahil.kapoor@mediaagility.com"; public static final String APPLICATION_NAME ="ONE Analytics"; public static final String <API key> ="/img/oneAnalytics.png"; public static final String REPORT_FOLDER = "inbox"; public static final String DFP_NETWORK_CODE="5678"; // for MA: 12008447 , for: lin: 5678 public static final String <API key>="naresh.pokhriyal@mediaagility.com"; public static final String <API key>="Lin"; public static final String DFP_REPORT_BUCKET = "dfp_reports"; public static final String DFP_API_SCOPE = "https: public static final String <API key> = "<API key>"; public static final String <API key> = "dfp_target_reports"; public static final String <API key>= "DFP_Target"; public static final String <API key>="DFPTargetSchema.csv"; public static final String <API key>="4206"; public static final String <API key>="Lin Digital"; public static final String <API key> = "<API key>"; public static final String <API key>="<API key>"; public static final String <API key>="harshal.limaye@linmedia.com"; public static final String <API key>="LinMobile!"; public static final String <API key>="2"; public static final String <API key>="Lin Digital"; public static final String <API key>="DFP"; public static final String <API key> = "dfp_reports"; public static final String CLIENT_ID = "<API key>.apps.googleusercontent.com"; public static final String CLIENT_<API key>; public static final String <API key>="http: public static final String <API key>="51b9f49383b82"; public static final String MOJIVA_SITE_METHOD="getSiteId"; public static final String <API key>="getSiteInfoByDate"; public static final String <API key>="getSiteInfoByRange"; public static final String <API key>="mojiva_reports"; public static final String MOJIVA_CHANNEL_NAME="Mojiva"; public static final String MOJIVA_CHANNEL_TYPE="Ad Network"; public static final String MOJIVA_SALES_TYPE="Non-direct"; public static final String MOJIVA_CHANNEL_ID="3"; public static final String MOJIVA_PUBLISHER_ID="1"; public static final String <API key>="Lin Media"; public static final String NEXAGE_COMPNAY_ID="<API key>"; public static final String <API key>="<API key>"; public static final String <API key>="<API key>"; public static final String <API key>="https://reports.nexage.com/access/<API key>/reports/"; public static final String <API key>="<API key>"; public static final String NEXAGE_CHANNEL_NAME="Nexage"; public static final String NEXAGE_CHANNEL_ID="2"; public static final String NEXAGE_CHANNEL_TYPE="RTB/Mediation"; public static final String NEXAGE_SALES_TYPE="Non-direct"; public static final String NEXAGE_PUBLISHER_ID="1"; public static final String <API key>="Lin Media"; public static final String <API key>="nexage_reports"; public static final String ALLOWED_IP_ADDRESS="127.0.0.1"; //public static final String PROXY_URL="10.10.10.1"; // For MA local public static final String PROXY_URL=null; public static final String[] ADMINS={"SuperAdmin", "Administrator"}; public static final String[] USERS_ARRAY={ADMINS[1], "Non Admin", "Client"}; public static final String[] STATUS_ARRAY={"Active", "Inactive"}; public static final String[] COMPANY_TYPE={"Publisher Pool Partner", "Demand Partner", "Client"}; public static final String[] APP_VIEWS={"1:PUBLISHER DASHBOARD", "2:PERFORMANCE AND MONITORING", "3:PLANNING", "4:NEWS AND RESEARCH", "5:ADMIN", "6:MY SETTINGS", "7:ONE AUDIENCE", "8:CAMPAIGN PERFORMANCE", "9:DEMO EXPLORER", "10:REPORT"}; public static final String[] <API key>={}; public static final String[] <API key>={APP_VIEWS[0], APP_VIEWS[1], APP_VIEWS[2], APP_VIEWS[3], APP_VIEWS[6], APP_VIEWS[7], APP_VIEWS[8], APP_VIEWS[9]}; public static final String[] CLIENT_APP_VIEWS={APP_VIEWS[0], APP_VIEWS[1], APP_VIEWS[2], APP_VIEWS[3], APP_VIEWS[6], APP_VIEWS[7], APP_VIEWS[8], APP_VIEWS[9]}; public static final String[] COMPANY_APP_VIEWS={APP_VIEWS[0], APP_VIEWS[1], APP_VIEWS[2], APP_VIEWS[3], APP_VIEWS[6], APP_VIEWS[7], APP_VIEWS[8], APP_VIEWS[9]}; public static final String ARRAY_SPLITTER=":"; public static final String[] DEFINED_TYPES = {"Built-In", "Custom"}; public static final String ALL_PROPERTIES = "All Properties"; public static final String ALL_ADVERTISERS = "All Advertisers"; public static final String ALL_ORDERS = "All Orders"; public static final String ALL_AGENCIES = "All Agencies"; public static final String ALL_ACCOUNTS = "All Accounts"; public static final String NO_RESTRICTIONS = "No Restrictions"; public static final String AGENCY_ID_PREFIX = "Agency"; public static final String <API key> = "Advertiser"; public static final String[] <API key> = {"Direct", "Non-direct", "House"}; public static final String TEAM_ALL_ENTITIE = "All Entities"; public static final String TEAM_NO_ENTITIE = "NO Entity"; public static final String <API key> = "SynergyMapImages"; public static final String <API key> = "CompanyLogo"; public static final String DEFAULT_PASSWORD ="``````````"; public static final String[] DROP_DOWN_VALUE = {"Campaign Type", "Campaign status", "Education", "Ethinicity"}; public static final String <API key> = "<SHA1-like>-privatekey.p12"; public static final String <API key> = "<API key>@developer.gserviceaccount.com"; public static final String <API key> = "mediaagility.com:ma-maps"; public static final String <API key> = "https: public static final String <API key> = "bigQuerySchema"; public static final String <API key>="https: public static final String <API key>="Google Ad exchange"; public static final String <API key>="7"; public static final String <API key>="RTB/Mediation"; public static final String <API key>="Non-direct"; public static final String <API key>="1"; public static final String <API key>="Lin Media"; public static final String <API key>="adexchange_reports"; public static final String <API key>="GoogleAdExchange"; public static final String <API key>="Google AdExchange"; public static final String <API key>="4"; public static final String <API key>="1"; public static final String <API key>="Lin Media"; public static final String <API key>="<API key>"; public static final String <API key>= "Core_Performance"; public static final String <API key>="<API key>.csv"; //For old jobs //public static final String <API key>= "<API key>"; //For Demo public static final String <API key>="<API key>.csv"; //For new jobs public static final String <API key>="<API key>.csv"; public static final String <API key>="<API key>"; public static final String <API key>="Data failed to upload in BigQuery"; public static final String <API key>="Please check the log, data failed to upload on BigQuery."; public static final String <API key>="Undertone"; public static final String <API key>="6"; public static final String <API key>="Ad Network"; public static final String <API key>="Non-direct"; public static final String <API key>="1"; public static final String <API key>="Lin Media"; public static final String <API key>="undertone_reports"; public static final String <API key>="Undertone"; public static final String <API key>="<API key>"; public static final String <API key>="1"; public static final String <API key>="Lin Media"; public static final String <API key>= "Sell_Through"; public static final String <API key>="SellThroughSchema.csv"; public static final String <API key>="CorePerformance"; public static final String <API key>="<API key>"; public static final String <API key>="SellThrough"; public static final String <API key>="<API key>"; public static final String <API key>="Golfsmith"; public static final String <API key>="22491019"; public static final String <API key>="Golfsmith SF/DC Test"; public static final int <API key> = (60*60*12); public static final String LSN_CHANNEL_ID="10"; public static final String LSN_CHANNEL_NAME="LSN"; public static final String LSN_CHANNEL_TYPE="Ad Network"; public static final String LSN_SALES_TYPE="Non-direct"; public static final String LSN_PUBLISHER_ID="1"; public static final String LSN_PUBLISHER_NAME="Lin Media"; public static final String LSN_REPORTS_BUCKET="lsn_reports"; public static final String <API key>="rich_media_reports"; public static final String <API key>= "<API key>"; public static final String <API key>="<API key>.csv"; public static final String RICH_MEDIA_TABLE_ID= "Rich_Media"; public static final String <API key>="RichMediaSchema.csv"; // USED FOR VIDEO CAMPAIGNS public static final String <API key>="Click to Calls"; public static final String <API key>="URL"; public static final String <API key>="Coupons Downloads"; public static final String <API key>="Find Store"; public static final String <API key>= "CustomEvent"; public static final String <API key>="<API key>.csv"; public static final String CELTRA_CHANNEL_NAME="Celtra"; public static final String CELTRA_CHANNEL_ID="11"; public static final String CELTRA_CHANNEL_TYPE="Ad Network"; public static final String CELTRA_SALES_TYPE="National sales direct"; public static final String CELTRA_PUBLISHER_ID="2"; public static final String <API key>="Lin Digital"; public static final String <API key>="celtra_reports"; public static final String DFP_DATA_SOURCE="DFP"; public static final String <API key>="DFP_Lin_Media"; public static final String <API key>="DFP_Lin_Digital"; public static final String <API key>="<API key>"; public static final String <API key>="<API key>"; public static final String XAD_CHANNEL_NAME="XAd"; public static final String XAD_CHANNEL_ID="12"; public static final String XAD_CHANNEL_TYPE=""; public static final String XAD_SALES_TYPE="National sales direct"; public static final String XAD_PUBLISHER_ID="3"; public static final String XAD_PUBLISHER_NAME="XAd"; public static final String XAD_REPORTS_BUCKET="xad_reports"; public static final String XAD_AD_FORMAT="Interstitial"; public static final String [] <API key>={"Click to call","Map","Directions","More Information"}; public static final String <API key>="Click to call"; public static final String <API key>="Map"; public static final String <API key>="Directions"; public static final String <API key>="More Information"; public static final String <API key>="Greatest Common Factory"; public static final String <API key>="07/19/2013"; public static final String XAD_ORDER_END_DATE="08/30/2013"; /* public static final String <API key>="15% off Coupon"; public static final String <API key>="Custom Fit Coupon"; public static final double GOLFSMITH_RATE=4.0; public static final long GOLFSMITH_GOAL_QTY= (1022370/4); public static final String <API key>="The Economist Chicago Blitz"; public static final String <API key>="149356219"; public static final String <API key>="The Economist"; public static final String <API key>="M&C Saatchi Mobile"; public static final double <API key>=21250.00; public static final double <API key>=5.35;*/ public static final String <API key>="141903979"; public static final long [] <API key>={149356219,139570339, 141903979,136688419}; public static final String <API key>="Tribune"; public static final String TRIBUNE_CHANNEL_ID="13"; public static final String <API key>=""; public static final String TRIBUNE_SALES_TYPE="National sales direct"; //public static final String <API key>="4"; //public static final String <API key>="Lin Digital"; //public static final String <API key>="tribune_reports"; public static final String <API key>="45604844"; public static final String <API key>="Tribune Broadcast"; public static final String <API key> = "tribune_dfp_reports"; public static final String <API key>="<API key>"; public static final String <API key>="harshal.limaye@linmedia.com"; public static final String <API key>="LinMobile!"; public static final String <API key>="4"; public static final String <API key>="Tribune"; public static final String <API key> ="<SHA1-like>-privatekey.p12"; public static final String <API key> = "<API key>@developer.gserviceaccount.com"; public static final String <API key> = "one-tribune"; public static final String FUSION_TABLE_SCOPE="https: public static final String DEPLOYMENT_VERSION = DateUtil.getCurrentTimeStamp("yyyyMMddHHmmssSSS"); public static final String <API key>="http://commondatastorage.googleapis.com/linmobile_dev/kml/nielsen_dma.kml"; public static final String <API key> ="<SHA1-like>-privatekey.p12"; public static final String <API key> = "<API key>@developer.gserviceaccount.com"; public static final String <API key> = "lin-media"; public static final String <API key> = "<SHA1-like>-privatekey.p12"; public static final String <API key> = "<API key>@developer.gserviceaccount.com"; public static final String <API key> = "lin-digital"; public static final String <API key> ="<SHA1-like>-privatekey.p12"; public static final String <API key> = "<API key>@developer.gserviceaccount.com"; public static final String <API key> = "one-lin-mobile"; public static final String <API key>="5"; //company id public static final String <API key>="LIN Mobile"; //company name public static final String <API key>="<API key>"; public static final String <API key>="5678"; public static final String <API key>="Lin Mobile"; public static final String <API key>="naresh.pokhriyal@mediaagility.com"; public static final String <API key>="LinMobile8"; public static final String <API key> = "<API key>"; public static final String <API key>="<API key>"; public static final String <API key>="9331149"; public static final String <API key>="harshal.limaye@linmedia.com"; public static final String <API key>="LinMobile!"; public static final int CHANGE_WINDOW_SIZE=3; public static final double THRESHOLD=0.001; public static final String BQ_CORE_PERFORMANCE="CorePerformance"; public static final String <API key>="<API key>"; public static final String BQ_DFP_TARGET="DFPTarget"; public static final String BQ_CUSTOM_EVENT="CustomEvent"; public static final String BQ_RICH_MEDIA="RichMedia"; public static final String BQ_SELL_THROUGH="Sell_Through"; public static final String <API key>="Product_Performance"; public static final String <API key>="<API key>.csv"; public static final String <API key> ="<SHA1-like>-privatekey.p12"; public static final String <API key> = "<API key>@developer.gserviceaccount.com"; public static final String <API key> = "one-client-demo"; public static final String <API key>="0"; //company id public static final String <API key>="Client Demo"; //company name public static final String <API key>="lin_demo"; /* public static final String[] CAMPAIGN_STATUS={"0:All","1:Active", "2:Running", "3:Paused", "4:Draft", "5:Completed", "6:Archived","7:Approve","8:Ready","9:Inactive"};*/ public static final String <API key>="Overflow Impressions"; public static final String <API key>="Run DSP"; public static final String <API key>="6"; public static final String <API key>="Examiner"; public static final String <API key>="5578"; public static final String <API key>="Examiner.com"; public static final String <API key>="harshal.limaye@linmedia.com"; public static final String <API key>="LinMobile!"; public static final String <API key>="7"; public static final String <API key>="Topix"; public static final String <API key>="5578"; public static final String <API key>="Topix_DFP SB_Mobile"; public static final String <API key>="harshal.limaye@linmedia.com"; public static final String <API key>="LinMobile!"; public static final String <API key> = "<API key>"; // table id for GME vector table new_us_state_prod /* ****** Define type of data loading ***/ public static final String LOAD_TYPE_COMMON = "common"; public static final String <API key> = "coreperformance"; public static final String LOAD_TYPE_LOCATION = "location"; public static final String LOAD_TYPE_TARGET = "target"; public static final String <API key> = "customevent"; public static final String <API key> = "richmedia"; public static final String <API key> = "productperformance"; public static final String <API key> = "sellthrough"; /* ****** No of order IDs for define type of data loading ***/ public static final int <API key> = 50; public static final int <API key> = 50; public static final int <API key> = 50; public static final int <API key> = 50; public static final int <API key> = 50; public static final int <API key> = 50; public static final int <API key> = 50; public static final int <API key> = 40; public static final int <API key> = 20; public static final int <API key> = 40; public static final int <API key> = 40; public static final String DAILY_TASK_TYPE = "daily"; public static final String <API key> = "nonfinalise"; public static final String <API key> = "historical"; public static final int[] PRODUCT_FORCAST_DAY = {30}; public static final String[] <API key> = {<API key>,<API key>}; }
package com.special.ResideMenu; import android.content.Context; import android.view.LayoutInflater; import android.widget.ImageView; import android.widget.LinearLayout; import android.widget.TextView; public class ResideMenuItem extends LinearLayout{ /** menu item icon */ private ImageView iv_icon; /** menu item title */ private TextView tv_title; public ResideMenuItem(Context context) { super(context); initViews(context); } public ResideMenuItem(Context context, int icon, int title) { super(context); initViews(context); iv_icon.setImageResource(icon); tv_title.setText(title); } public ResideMenuItem(Context context, int icon, String title) { super(context); initViews(context); iv_icon.setImageResource(icon); tv_title.setText(title); } private void initViews(Context context){ LayoutInflater inflater=(LayoutInflater) context.getSystemService(Context.<API key>); inflater.inflate(R.layout.residemenu_item, this); iv_icon = (ImageView) findViewById(R.id.iv_icon); tv_title = (TextView) findViewById(R.id.tv_title); } /** * set the icon color; * * @param icon */ public void setIcon(int icon){ iv_icon.setImageResource(icon); } /** * set the title with resource * ; * @param title */ public void setTitle(int title){ tv_title.setText(title); } /** * set the title with string; * * @param title */ public void setTitle(String title){ tv_title.setText(title); } }
package org.jboss.loom.migrators; import java.util.HashSet; import java.util.List; import java.util.Set; import org.apache.commons.lang.StringUtils; import org.jboss.loom.migrators._ext.MigratorDefinition; import org.jboss.loom.spi.IMigrator; /** * Filters migrators - used to filter out migrators based on user input and config. * * @author Ondrej Zizka, ozizka at redhat.com */ public interface IMigratorFilter { boolean filterDefinition( MigratorDefinition def ); boolean filterInstance( IMigrator def ); public boolean filterClass( Class<? extends IMigrator> next ); /** * Takes any migrator. */ public static class All implements IMigratorFilter { @Override public boolean filterDefinition( MigratorDefinition def ) { return true; } @Override public boolean filterInstance( IMigrator def ) { return true; } @Override public boolean filterClass( Class<? extends IMigrator> next ) { return true; } } /** * Looks for an exact match in the set of names it keeps. * Only works with definitions; returns true for all instances. */ public static class ByNames implements IMigratorFilter { private final Set<String> names = new HashSet(); public ByNames( List<String> onlyMigrators ) { this.names.addAll( onlyMigrators ); } public Set<String> getNames() { return names; } @Override public boolean filterDefinition( MigratorDefinition def ) { return names.contains( def.getName() ); } @Override public boolean filterClass( Class<? extends IMigrator> migCls ) { return names.contains( migCls.getName() ); } @Override public boolean filterInstance( IMigrator def ) { return true; } @Override public String toString() { return "Only migrators named: " + StringUtils.join( this.names, ", "); } } // Wildcards? }// class
__Description__: Should be able to concat `content` __Notes__ + As you probs notice to do so you have to use both `'` and `"` + https://davidwalsh.name/css-content-attr * Touches `content` concatenation
title: Fragrance Garden Event Photos layout: default <div class="eventdivide"> <hr> <div class="grid-header">FRAGRANCE GARDEN EVENT PHOTOS</div> <hr> </div> <br /> <h4 class="text-center"><a href="/rental-sites">CLICK HERE to explore other Rental Sites available at Red Butte Garden</a></h4> <div class="container"> <br> <div id="rbgCarousel" class="carousel slide" data-ride="carousel"> <!-- Indicators --> <ol class="carousel-indicators"> <li data-target="#rbgCarousel" data-slide-to="0" class="active"></li> <li data-target="#rbgCarousel" data-slide-to="1"></li> <li data-target="#rbgCarousel" data-slide-to="2"></li> <li data-target="#rbgCarousel" data-slide-to="3"></li> <li data-target="#rbgCarousel" data-slide-to="4"></li> <li data-target="#rbgCarousel" data-slide-to="5"></li> <!-- Replace # with next number in sequence <li data-target="#rbgCarousel" data-slide-to="#"></li> </ol> <!-- Wrapper for slides --> <div class="carousel-inner" role="listbox"> <div class="item active"> <img src="/images/misc/<API key>.jpg" alt="Event at Red Butte Garden Fragrance Garden" title="Event at Red Butte Garden Fragrance Garden" /> </div> <div class="item"> <img src="/images/misc/<API key>.jpg" alt="Event at Red Butte Garden Fragrance Garden" title="Event at Red Butte Garden Fragrance Garden" /> </div> <div class="item"> <img src="/images/misc/<API key>.jpg" alt="Event at Red Butte Garden Fragrance Garden" title="Event at Red Butte Garden Fragrance Garden" /> </div> <div class="item"> <img src="/images/misc/<API key>.jpg" alt="Event at Red Butte Garden Fragrance Garden" title="Event at Red Butte Garden Fragrance Garden" /> </div> <div class="item"> <img src="/images/misc/<API key>.jpg" alt="Event at Red Butte Garden Fragrance Garden" title="Event at Red Butte Garden Fragrance Garden" /> </div> <div class="item"> <img src="/images/misc/<API key>.jpg" alt="Event at Red Butte Garden Fragrance Garden" title="Event at Red Butte Garden Fragrance Garden" /> </div> <!-- Begin picture template <div class="item"> <img src="/images/misc/.jpg" alt="" title="" /> </div> End picture template </div> <!-- Left and right controls --> <a class="left carousel-control" href="#rbgCarousel" role="button" data-slide="prev"> <span class="glyphicon <API key>" aria-hidden="true"></span> <span class="sr-only">Previous</span> </a> <a class="right carousel-control" href="#rbgCarousel" role="button" data-slide="next"> <span class="glyphicon <API key>" aria-hidden="true"></span> <span class="sr-only">Next</span> </a> </div> </div>
// Greenplum Database // @filename: // CDXLScalarWindowRef.cpp // @doc: // Implementation of DXL WindowRef #include "naucrates/dxl/operators/CDXLScalarWindowRef.h" #include "naucrates/dxl/operators/CDXLNode.h" #include "naucrates/dxl/xml/CXMLSerializer.h" #include "gpopt/mdcache/CMDAccessor.h" #include "naucrates/md/IMDAggregate.h" using namespace gpopt; using namespace gpmd; using namespace gpos; using namespace gpdxl; // @function: // CDXLScalarWindowRef::CDXLScalarWindowRef // @doc: // Ctor CDXLScalarWindowRef::CDXLScalarWindowRef ( IMemoryPool *pmp, IMDId *pmdidFunc, IMDId *pmdidRetType, BOOL fDistinct, EdxlWinStage edxlwinstage, ULONG ulWinspecPosition ) : CDXLScalar(pmp), m_pmdidFunc(pmdidFunc), m_pmdidRetType(pmdidRetType), m_fDistinct(fDistinct), m_edxlwinstage(edxlwinstage), m_ulWinspecPos(ulWinspecPosition) { GPOS_ASSERT(m_pmdidFunc->FValid()); GPOS_ASSERT(m_pmdidRetType->FValid()); GPOS_ASSERT(<API key> != m_edxlwinstage); } // @function: // CDXLScalarWindowRef::~CDXLScalarWindowRef // @doc: // Dtor CDXLScalarWindowRef::~CDXLScalarWindowRef() { m_pmdidFunc->Release(); m_pmdidRetType->Release(); } // @function: // CDXLScalarWindowRef::Edxlop // @doc: // Operator type Edxlopid CDXLScalarWindowRef::Edxlop() const { return <API key>; } // @function: // CDXLScalarWindowRef::PstrWinStage // @doc: // Return window stage const CWStringConst * CDXLScalarWindowRef::PstrWinStage() const { GPOS_ASSERT(<API key> > m_edxlwinstage); ULONG rgrgulMapping[][2] = { {<API key>, Edxl<API key>}, {<API key>, Edxl<API key>}, {EdxlwinstageRowKey, Edxl<API key>} }; const ULONG ulArity = GPOS_ARRAY_SIZE(rgrgulMapping); for (ULONG ul = 0; ul < ulArity; ul++) { ULONG *pulElem = rgrgulMapping[ul]; if ((ULONG) m_edxlwinstage == pulElem[0]) { Edxltoken edxltk = (Edxltoken) pulElem[1]; return CDXLTokens::PstrToken(edxltk); break; } } GPOS_ASSERT(!"Unrecognized window stage"); return NULL; } // @function: // CDXLScalarWindowRef::PstrOpName // @doc: // Operator name const CWStringConst * CDXLScalarWindowRef::PstrOpName() const { return CDXLTokens::PstrToken(<API key>); } // @function: // CDXLScalarWindowRef::SerializeToDXL // @doc: // Serialize operator in DXL format void CDXLScalarWindowRef::SerializeToDXL ( CXMLSerializer *pxmlser, const CDXLNode *pdxln ) const { const CWStringConst *pstrElemName = PstrOpName(); pxmlser->OpenElement(CDXLTokens::PstrToken(<API key>), pstrElemName); m_pmdidFunc->Serialize(pxmlser, CDXLTokens::PstrToken(<API key>)); m_pmdidRetType->Serialize(pxmlser, CDXLTokens::PstrToken(EdxltokenTypeId)); pxmlser->AddAttribute(CDXLTokens::PstrToken(Edxl<API key>),m_fDistinct); pxmlser->AddAttribute(CDXLTokens::PstrToken(Edxl<API key>), PstrWinStage()); pxmlser->AddAttribute(CDXLTokens::PstrToken(Edxl<API key>), m_ulWinspecPos); pdxln-><API key>(pxmlser); pxmlser->CloseElement(CDXLTokens::PstrToken(<API key>), pstrElemName); } // @function: // CDXLScalarWindowRef::FBoolean // @doc: // Does the operator return a boolean result BOOL CDXLScalarWindowRef::FBoolean ( CMDAccessor *pmda ) const { IMDId *pmdid = pmda->Pmdfunc(m_pmdidFunc)->PmdidTypeResult(); return (IMDType::EtiBool == pmda->Pmdtype(pmdid)->Eti()); } #ifdef GPOS_DEBUG // @function: // CDXLScalarWindowRef::AssertValid // @doc: // Checks whether operator node is well-structured void CDXLScalarWindowRef::AssertValid ( const CDXLNode *pdxln, BOOL fValidateChildren ) const { EdxlWinStage edxlwinrefstage = ((CDXLScalarWindowRef*) pdxln->Pdxlop())->Edxlwinstage(); GPOS_ASSERT((<API key> >= edxlwinrefstage)); const ULONG ulArity = pdxln->UlArity(); for (ULONG ul = 0; ul < ulArity; ++ul) { CDXLNode *pdxlnWinrefArg = (*pdxln)[ul]; GPOS_ASSERT(EdxloptypeScalar == pdxlnWinrefArg->Pdxlop()->Edxloperatortype()); if (fValidateChildren) { pdxlnWinrefArg->Pdxlop()->AssertValid(pdxlnWinrefArg, fValidateChildren); } } } #endif // GPOS_DEBUG // EOF
#!/usr/bin/env python3 from functools import partial import rospy import sys from lg_mirror.touch_router import TouchRouter from lg_common.helpers import on_new_scene, <API key> from lg_msg_defs.msg import EvdevEvents, RoutedEvdevEvents, StringArray from lg_common.helpers import <API key> from lg_mirror.touch_router import SubscribeListener from lg_msg_defs.srv import TouchRoutes from lg_common.helpers import <API key> from std_msgs.msg import Bool NODE_NAME = 'lg_mirror_router' def main(): rospy.init_node(NODE_NAME) default_viewport = rospy.get_param('~default_viewport', None) device_id = rospy.get_param('~device_id', 'default') event_pub = rospy.Publisher(f'/lg_mirror/{device_id}/routed_events', RoutedEvdevEvents, queue_size=100) router = TouchRouter(event_pub, default_viewport) route_topic = '/lg_mirror/{}/active_routes'.format(device_id) def <API key>(routes): routes_pub.publish(StringArray(routes)) new_listener_cb = partial(router.handle_new_listener, <API key>) routes_pub = rospy.Publisher( route_topic, StringArray, queue_size=10, subscriber_listener=SubscribeListener(new_listener_cb) ) # Hacky callback to parse the initial scene. def <API key>(msg): d = <API key>(msg) router.handle_scene(<API key>, d) <API key>(<API key>) rospy.Service(route_topic, TouchRoutes, router.<API key>) scene_cb = partial(router.handle_scene, <API key>) on_new_scene(scene_cb) rospy.Subscriber('/touchscreen/toggle', Bool, router.<API key>, queue_size=100) rospy.Subscriber(f'/lg_mirror/{device_id}/raw_events', EvdevEvents, router.handle_touch_event, queue_size=100) rospy.spin() if __name__ == '__main__': <API key>(main, NODE_NAME)
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: io/grpc/testing/integration/empty.proto package com.google.protobuf; public final class EmptyProtos { private EmptyProtos() {} public static void <API key>( com.google.protobuf.<API key> registry) { } public static void <API key>( com.google.protobuf.ExtensionRegistry registry) { <API key>( (com.google.protobuf.<API key>) registry); } public interface EmptyOrBuilder extends // @@<API key>(interface_extends:grpc.testing.Empty) com.google.protobuf.MessageOrBuilder { } /** * <pre> * An empty message that you can re-use to avoid defining duplicated empty * messages in your project. A typical example is to use it as argument or the * return value of a service API. For instance: * service Foo { * rpc Bar (grpc.testing.Empty) returns (grpc.testing.Empty) { }; * }; * </pre> * * Protobuf type {@code grpc.testing.Empty} */ public static final class Empty extends com.google.protobuf.GeneratedMessageV3 implements // @@<API key>(message_implements:grpc.testing.Empty) EmptyOrBuilder { private static final long serialVersionUID = 0L; // Use Empty.newBuilder() to construct. private Empty(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private Empty() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Empty( com.google.protobuf.CodedInputStream input, com.google.protobuf.<API key> extensionRegistry) throws com.google.protobuf.<API key> { this(); if (extensionRegistry == null) { throw new java.lang.<API key>(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.<API key> e) { throw e.<API key>(this); } catch (java.io.IOException e) { throw new com.google.protobuf.<API key>( e).<API key>(this); } finally { this.unknownFields = unknownFields.build(); <API key>(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.protobuf.EmptyProtos.<API key>; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable <API key>() { return com.google.protobuf.EmptyProtos.<API key> .<API key>( com.google.protobuf.EmptyProtos.Empty.class, com.google.protobuf.EmptyProtos.Empty.Builder.class); } private byte <API key> = -1; public final boolean isInitialized() { byte isInitialized = <API key>; if (isInitialized == 1) return true; if (isInitialized == 0) return false; <API key> = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.protobuf.EmptyProtos.Empty)) { return super.equals(obj); } com.google.protobuf.EmptyProtos.Empty other = (com.google.protobuf.EmptyProtos.Empty) obj; boolean result = true; result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.protobuf.EmptyProtos.Empty parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.<API key> { return PARSER.parseFrom(data); } public static com.google.protobuf.EmptyProtos.Empty parseFrom( java.nio.ByteBuffer data, com.google.protobuf.<API key> extensionRegistry) throws com.google.protobuf.<API key> { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.protobuf.EmptyProtos.Empty parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.<API key> { return PARSER.parseFrom(data); } public static com.google.protobuf.EmptyProtos.Empty parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.<API key> extensionRegistry) throws com.google.protobuf.<API key> { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.protobuf.EmptyProtos.Empty parseFrom(byte[] data) throws com.google.protobuf.<API key> { return PARSER.parseFrom(data); } public static com.google.protobuf.EmptyProtos.Empty parseFrom( byte[] data, com.google.protobuf.<API key> extensionRegistry) throws com.google.protobuf.<API key> { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.protobuf.EmptyProtos.Empty parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .<API key>(PARSER, input); } public static com.google.protobuf.EmptyProtos.Empty parseFrom( java.io.InputStream input, com.google.protobuf.<API key> extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .<API key>(PARSER, input, extensionRegistry); } public static com.google.protobuf.EmptyProtos.Empty parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .<API key>(PARSER, input); } public static com.google.protobuf.EmptyProtos.Empty parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.<API key> extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .<API key>(PARSER, input, extensionRegistry); } public static com.google.protobuf.EmptyProtos.Empty parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .<API key>(PARSER, input); } public static com.google.protobuf.EmptyProtos.Empty parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.<API key> extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .<API key>(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.protobuf.EmptyProtos.Empty prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * <pre> * An empty message that you can re-use to avoid defining duplicated empty * messages in your project. A typical example is to use it as argument or the * return value of a service API. For instance: * service Foo { * rpc Bar (grpc.testing.Empty) returns (grpc.testing.Empty) { }; * }; * </pre> * * Protobuf type {@code grpc.testing.Empty} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@<API key>(builder_implements:grpc.testing.Empty) com.google.protobuf.EmptyProtos.EmptyOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.protobuf.EmptyProtos.<API key>; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable <API key>() { return com.google.protobuf.EmptyProtos.<API key> .<API key>( com.google.protobuf.EmptyProtos.Empty.class, com.google.protobuf.EmptyProtos.Empty.Builder.class); } // Construct using com.google.protobuf.EmptyProtos.Empty.newBuilder() private Builder() { <API key>(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); <API key>(); } private void <API key>() { if (com.google.protobuf.GeneratedMessageV3 .<API key>) { } } public Builder clear() { super.clear(); return this; } public com.google.protobuf.Descriptors.Descriptor <API key>() { return com.google.protobuf.EmptyProtos.<API key>; } public com.google.protobuf.EmptyProtos.Empty <API key>() { return com.google.protobuf.EmptyProtos.Empty.getDefaultInstance(); } public com.google.protobuf.EmptyProtos.Empty build() { com.google.protobuf.EmptyProtos.Empty result = buildPartial(); if (!result.isInitialized()) { throw <API key>(result); } return result; } public com.google.protobuf.EmptyProtos.Empty buildPartial() { com.google.protobuf.EmptyProtos.Empty result = new com.google.protobuf.EmptyProtos.Empty(this); onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.protobuf.EmptyProtos.Empty) { return mergeFrom((com.google.protobuf.EmptyProtos.Empty)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.protobuf.EmptyProtos.Empty other) { if (other == com.google.protobuf.EmptyProtos.Empty.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.<API key> extensionRegistry) throws java.io.IOException { com.google.protobuf.EmptyProtos.Empty parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.<API key> e) { parsedMessage = (com.google.protobuf.EmptyProtos.Empty) e.<API key>(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@<API key>(builder_scope:grpc.testing.Empty) } // @@<API key>(class_scope:grpc.testing.Empty) private static final com.google.protobuf.EmptyProtos.Empty DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.protobuf.EmptyProtos.Empty(); } public static com.google.protobuf.EmptyProtos.Empty getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser<Empty> PARSER = new com.google.protobuf.AbstractParser<Empty>() { public Empty parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.<API key> extensionRegistry) throws com.google.protobuf.<API key> { return new Empty(input, extensionRegistry); } }; public static com.google.protobuf.Parser<Empty> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<Empty> getParserForType() { return PARSER; } public com.google.protobuf.EmptyProtos.Empty <API key>() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor <API key>; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable <API key>; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } private static com.google.protobuf.Descriptors.FileDescriptor descriptor; static { java.lang.String[] descriptorData = { "\n\'io/grpc/testing/integration/empty.prot" + "o\022\014grpc.testing\"\007\n\005EmptyB\"\n\023com.google.p" + "rotobufB\013EmptyProtos" }; com.google.protobuf.Descriptors.FileDescriptor.<API key> assigner = new com.google.protobuf.Descriptors.FileDescriptor. <API key>() { public com.google.protobuf.ExtensionRegistry assignDescriptors( com.google.protobuf.Descriptors.FileDescriptor root) { descriptor = root; return null; } }; com.google.protobuf.Descriptors.FileDescriptor .<API key>(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { }, assigner); <API key> = getDescriptor().getMessageTypes().get(0); <API key> = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( <API key>, new java.lang.String[] { }); } // @@<API key>(outer_class_scope) }
{% set scriptdir = '../common/js/' %} {% set cssdir = '../common/css/' %} {% extends "templates/base.tmpl" %} {% block pagetitle %}Korean{% endblock %} {% block title %}{% endblock %} {% block header %} {% endblock header %} {% block content %} <!-- Begin Page Content --> <div class="top-docs-wrapper"> <div class="container"> <div class="row"> <div class="col-lg-8 col-md-8 col-sm-8"> <h1>OpenStack </h1> <p> <strong>OpenStack?</strong> OpenStack . , , . . , . </p> <hr> <h3> ?</h3> <a href="#docs-main-body" class="overview-btn docs-btn"> <i class="fa <API key>"></i></a> <a href="http: <a href="http: <form class="<API key>"> <script type="text/javascript"> (function() { var cx = '<API key>:noj9nikm74i'; var gcse = document.createElement('script'); gcse.type = 'text/javascript'; gcse.async = true; gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') + ' var s = document.<API key>('script')[0]; s.parentNode.insertBefore(gcse, s); })(); </script> <gcse:search gname="standard" as_sitesearch="docs.openstack.org"> </gcse:search> </form> </div> <div class="col-lg-4 col-md-4 col-sm-4 superuser-wrapper"> <div id="superuser-img"></div> </div> </div> </div> <div class="mid-docs-wrapper" id="docs-main-body"> <div class="container"> <div class="row"> <div class="col-lg-9 col-md-9 col-sm-9"> <h2> </h2> <p> . .</p> </div> {% include 'templates/<API key>.tmpl' %} </div> </div> </div> <div class="container"> <div class="row"> <div class="col-lg-12"> </div> </div> <div class="row docs-toc"> <div class="col-lg-6 col-md-6 col-sm-6"> <div class="docs-link-sections"> <h3 id="install-guides"><i class="fa fa-cogs"></i> </h3> <p> OpenStack </p> <h4>Mitaka </h4> <a href="/mitaka/ko_KR/install-guide-obs/">openSUSE Leap 42.1 SUSE Linux Enterprise Server 12 SP1 </a> <a href="/mitaka/ko_KR/install-guide-rdo/">Red Hat Enterprise Linux 7 CentOS 7 </a> <a href="/mitaka/ko_KR/<API key>/">Ubuntu 14.04 (LTS) </a> <h4>Liberty </h4> <a href="/liberty/ko_KR/install-guide-obs/">openSUSE 13.2 SUSE Linux Enterprise Server 12 </a> <a href="/liberty/ko_KR/install-guide-rdo/">Red Hat Enterprise Linux 7 CentOS 7 </a> <a href="/liberty/ko_KR/<API key>/">Ubuntu 14.04 (LTS) </a> </div> <div class="docs-link-sections"> <h3 id="api-guides"><i class="fa fa-book"></i> API </h3> <a href="http://developer.openstack.org/ko_KR/api-guide/quick-start/">API </a> <p>OpenStack API </p> </div> <div class="docs-link-sections"> <h3 id="<API key>"><i class="fa fa-wrench"></i> </h3> </div> </div> <div class="col-lg-6 col-md-6 col-sm-6"> <div class="docs-link-sections"> <h3 id="<API key>"><i class="fa fa-users"></i> </h3> </div> <div class="docs-link-sections"> <h3 id="user-guides"><i class="fa fa-cloud"></i> </h3> </div> <div class="docs-link-sections"> <h3 id="training-guides"><i class="fa fa-university"></i> </h3> <a href="/ko_KR/upstream-training/">Upstream training</a> <p>OpenStack Upstream Training </p> </div> </div> <div class="row <API key>"> <div class="col-lg-12"> <p> - ?</p> <a href="http://docs.openstack.org/contributor-guide/" class="overview-btn contribute-btn"> <i class="fa fa-chevron-right"></i></a> </div> <div class="col-lg-12"> <p> <a href="https://wiki.openstack.org/wiki/I18nTeam/team/ko_KR"> Wiki page</a> .</p> <p><a href="https://groups.openstack.org/groups/south-korea">OpenStack </a> .</p> </div> </div> </div> </div> <!-- End Page Content --> {% endblock content %}
<?php /** * * @package humhub.modules_core.user * @since 0.5 * @author Luke */ class UserModule extends HWebModule { public $isCoreModule = true; public function init() { $this->setImport(array( 'user.models.*', 'user.components.*', )); } /** * On rebuild of the search index, rebuild all user records * * @param type $event */ public static function onSearchRebuild($event) { foreach (User::model()->findAll() as $obj) { HSearch::getInstance()->addModel($obj); print "u"; } } }
package com.giraone.samples.pmspoc1.boundary.dto; import java.io.Serializable; import javax.persistence.EntityManager; import javax.xml.bind.annotation.XmlRootElement; import com.giraone.samples.pmspoc1.entity.<API key>; @XmlRootElement public class <API key> implements Serializable { private static final long serialVersionUID = 1L; protected long oid; protected int versionNumber; protected int ranking; protected String countryCode; protected String postalCode; protected String city; protected String <API key>; protected String street; protected String houseNumber; protected String poBoxNumber; protected Long employeeId; public <API key>() { this.oid = 0L; // A value of 0L indicates: not from the database! this.versionNumber = -1; // A value of -1 indicates: not from the database! } public <API key>(final <API key> entity) { if (entity != null) { <API key>.INSTANCE.updateDtoFromEntity(entity, this); } } public <API key> entityFromDTO() { <API key> entity = new <API key>(); <API key>.INSTANCE.updateEntityFromDto(this, entity); return entity; } public <API key> mergeFromDTO(<API key> entity, EntityManager em) { <API key>.INSTANCE.updateEntityFromDto(this, entity); entity = em.merge(entity); return entity; } public long getOid() { return this.oid; } public void setOid(long oid) { this.oid = oid; } public int getVersionNumber() { return this.versionNumber; } public void setVersionNumber(int versionNumber) { this.versionNumber = versionNumber; } public int getRanking() { return ranking; } public void setRanking(int ranking) { this.ranking = ranking; } public String getCountryCode() { return countryCode; } public void setCountryCode(String countryCode) { this.countryCode = countryCode; } public String getPostalCode() { return postalCode; } public void setPostalCode(String postalCode) { this.postalCode = postalCode; } public String getCity() { return city; } public void setCity(String city) { this.city = city; } public String <API key>() { return <API key>; } public void <API key>(String <API key>) { this.<API key> = <API key>; } public String getStreet() { return street; } public void setStreet(String street) { this.street = street; } public String getHouseNumber() { return houseNumber; } public void setHouseNumber(String houseNumber) { this.houseNumber = houseNumber; } public String getPoBoxNumber() { return poBoxNumber; } public void setPoBoxNumber(String poBoxNumber) { this.poBoxNumber = poBoxNumber; } public Long getEmployeeId() { return employeeId; } public void setEmployeeId(Long employeeId) { this.employeeId = employeeId; } }
import { browser, element, by } from 'protractor'; import { PersonalInfoPage } from './mspe-enrolment.po'; import { FakeDataEnrolment } from './mspe-enrolment.data'; describe('MSP Enrolment - Personal Info', () => { let page: PersonalInfoPage; const data = new FakeDataEnrolment(); let perData; const PERSONAL_PAGE_URL = `msp/enrolment/personal-info`; const SPOUSE_PAGE_URL = `msp/enrolment/spouse-info`; beforeEach(() => { page = new PersonalInfoPage(); data.setSeed(); }); it('01. should load the page without issue', () => { page.navigateTo(); expect(browser.getCurrentUrl()).toContain(PERSONAL_PAGE_URL); }); it('02. should be able to select status by typing it in the field', () => { page.navigateTo(); page.typeOption('Canadian citizen'); page.getInputVal().then(val =>{ // expect(val).toBe('Canadian citizen'); }); expect(browser.getCurrentUrl()).toContain(PERSONAL_PAGE_URL); }); it('03. should be able to select status by clicking it in the field', () => { page.navigateTo(); page.clickOption('Canadian citizen'); page.getInputVal().then(val =>{ // expect(val).toBe('Canadian citizen'); }); expect(browser.getCurrentUrl()).toContain(PERSONAL_PAGE_URL); }); it('04. should be able to continue when user answer all required questions', () => { page.navigateTo(); page.clickOption('Canadian citizen'); page.clickRadioButton('Your Status in Canada', 'Moved to B.C. from another province'); page.clickModalContinue(); page.uploadFile(); page.clickContinue(); // expect(browser.getCurrentUrl()).toContain(SPOUSE_PAGE_URL); page.formErrors().count().then(val => { expect(val).toBe(0, 'should be no errors after answering all required questions'); }); // browser.sleep(10000); }); // TO-DO: Add auto-complete test for status });
package io.smalldata.ohmageomh.surveys.domain.survey; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonProperty; import io.smalldata.ohmageomh.surveys.domain.exception.<API key>; import io.smalldata.ohmageomh.surveys.domain.survey.condition.Condition; /** * <p> * A message to display to the user. * </p> * * @author John Jenkins */ public class Message extends SurveyItem { /** * The string type of this survey item. */ public static final String SURVEY_ITEM_TYPE = "message"; /** * The JSON key for the text. */ public static final String JSON_KEY_TEXT = "text"; /** * The text to show to the user. */ @JsonProperty(JSON_KEY_TEXT) private final String text; /** * Creates a new message object. * * @param surveyItemId * The survey-unique identifier for this message. * * @param condition * The condition on whether or not to show the message. * * @param text * The text to display to the user. * * @throws <API key> * The message text is null. */ @JsonCreator public Message( @JsonProperty(<API key>) final String surveyItemId, @JsonProperty(JSON_KEY_CONDITION) final Condition condition, @JsonProperty(JSON_KEY_TEXT) final String text) throws <API key> { super(surveyItemId, condition); if(text == null) { throw new <API key>("The text is null."); } this.text = text; } }
layout: model title: Recognize Entities OntoNotes pipeline - ELECTRA Large author: John Snow Labs name: <API key> date: 2021-03-23 tags: [open_source, english, <API key>, pipeline, en] supported: true task: [Named Entity Recognition, Lemmatization] language: en edition: Spark NLP 3.0.0 spark_version: 3.0 article_header: type: cover <API key>: "Python-Scala-Java" ## Description The <API key> is a pretrained pipeline that we can use to process text with a simple pipeline that performs basic processing steps and recognizes entities . It performs most of the common text processing tasks on your dataframe {:.btn-box} [Live Demo](https://demo.johnsnowlabs.com/public/NER_EN_18/){:.button.button-orange} [Open in Colab](https://colab.research.google.com/github/JohnSnowLabs/spark-nlp-workshop/blob/master/tutorials/streamlit_notebooks/NER_EN.ipynb){:.button.button-orange.button-orange-trans.co.button-icon} [Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/<API key>.0.0_3.0_1616478230579.zip){:.button.button-orange.button-orange-trans.arr.button-icon} ## How to use <div class="tabs-box" markdown="1"> {% include <API key>.html %} python from sparknlp.pretrained import <API key> pipeline = PretrainedPipeline('<API key>', lang = 'en') annotations = pipeline.fullAnnotate(""Hello from John Snow Labs ! "")[0] annotations.keys() scala val pipeline = new PretrainedPipeline("<API key>", lang = "en") val result = pipeline.fullAnnotate("Hello from John Snow Labs ! ")(0) {:.nlu-block} python import nlu text = [""Hello from John Snow Labs ! ""] result_df = nlu.load('en.ner.onto.large').predict(text) result_df </div> ## Results bash | | document | sentence | token | embeddings | ner | entities | | | 0 | ['Hello from John Snow Labs ! '] | ['Hello from John Snow Labs !'] | ['Hello', 'from', 'John', 'Snow', 'Labs', '!'] | [[-0.264069110155105,.,...]] | ['O', 'O', 'B-ORG', 'I-ORG', 'I-ORG', 'O'] | ['John Snow Labs'] | {:.model-param} ## Model Information {:.table-model} | |Model Name:|<API key>| |Type:|pipeline| |Compatibility:|Spark NLP 3.0.0+| |License:|Open Source| |Edition:|Official| |Language:|en|
package com.intel.inde.mp.android; public class <API key> { public static android.media.MediaFormat from(com.intel.inde.mp.domain.MediaFormat mediaFormat) { if ((mediaFormat instanceof VideoFormatAndroid)) { return ((VideoFormatAndroid)mediaFormat).getNativeFormat(); } if ((mediaFormat instanceof AudioFormatAndroid)) { return ((AudioFormatAndroid)mediaFormat).getNativeFormat(); } throw new <API key>("Please, don't use <API key> function with this type:" + mediaFormat.getClass().toString()); } public static com.intel.inde.mp.domain.MediaFormat toDomain(android.media.MediaFormat mediaFormat) { if (mediaFormat.getString("mime").startsWith("video")) { return new VideoFormatAndroid(mediaFormat); } if (mediaFormat.getString("mime").startsWith("audio")) { return new AudioFormatAndroid(mediaFormat); } throw new <API key>("Unrecognized mime type:" + mediaFormat.getString("mime")); } }
'use strict'; (function () { // Define the `header` module var app = angular.module('app.category'); // Register `headerList` component, along with its associated controller and template app.component('alphaList', { template: '<div ng-include="$ctrl.templateUrl"></div>', bindings: { levelid: '<', pagenum: '<', subData: '<' }, controller: ['$state', '$scope', '$element', '$http', 'Config', 'Util', 'Json', controller] }); function controller($state, $scope, $element, $http, config, util, json) { var self = this; // variable for outside access self.templateUrl = config.templateUrl.alphabetlist; self.introduction = config.alphaLangs.introduction; self.practice = config.alphaLangs.practice; self.lang = { back: config.alphaLangs.back }; // alpha list data directory hash names array self.book = util.getBookPagesName(self.levelid); // classroom directory hash name self.bookJson = util.getBookJson(self.levelid, self.pagenum); self.$onInit = function () { util.setBook(self); }; self.alphaClick = function (originName, originDirName, alphaId, alphaName) { var dirName = originDirName.substr(0, 1); var names = {}; var url = config.mediaUrl.alphaOrigin; var gender = util.getRandomGender(); names.name = originName + '' + alphaId + ''; var an = alphaName.substring(0, 2); names.audios = { mpeg: url + config.data.audios + '/' + dirName + '/' + an + gender + config.dataTypes.audios[1], ogg: url + config.data.audios + '/' + dirName + '/' + an + gender + config.dataTypes.audios[0] }; if ((originDirName == 'ga') && (alphaName == 'ge' || alphaName == 'gi' || alphaName == 'gu' || alphaName == 'gu2')) { originDirName = 'ha'; } alphaName = util.getAlphaMapName(alphaName); dirName = alphaName.substring(0, 1); var fn = alphaName.substring(0, 2); names.videos = { webm: url + config.data.videos + '/' + dirName + '/' + fn + config.dataTypes.videos[1], ogv: url + config.data.videos + '/' + dirName + '/' + fn + config.dataTypes.videos[0] }; $scope.$broadcast(config.events.playAlphaVideo, names); }; self.introductionClick = function () { var names = {}; var url = config.mediaUrl.alphaOrigin; names.videos = { ogv: url + config.data.videos + '/list' + config.dataTypes.videos[0], webm: url + config.data.videos + '/list' + config.dataTypes.videos[1] }; names.name = self.bookJson.videoTitle; $scope.$broadcast(config.events.<API key>, names); }; self.practiceClick = function () { $state.go(config.uiState.listPractice.name, {levelid: self.levelid, pagenum: self.pagenum}); }; self.backClick = function () { $state.go(config.uiState.books.name, {levelid: self.levelid, pagenum: self.pagenum}); }; self.twoAlphasStyle = function () { if (self.alphabets[0].vowel.length === 2) { return 'alphalist-two'; } }; // 'vowelName' format is like 'a1' 'n1' 'j1' 'g1' // return 'a10' 'e10' 'j10' 'g40' self.getAlphaText = function (alphaName) { return util.getAlphaMapName(alphaName); }; self.setModels = function (book, json) { self.book = book; self.bookJson = json; var order = self.bookJson.orderInList; self.alphabets = self.subData.slice(order - 1, order); }; }; })();
# AUTOGENERATED FILE FROM balenalib/odroid-ux3-debian:jessie-run ENV GO_VERSION 1.15.7 # gcc for cgo RUN apt-get update && apt-get install -y --<API key> \ g++ \ gcc \ libc6-dev \ make \ pkg-config \ git \
import { expeditions } from 'constants/expeditions'; import dateformat from 'dateformat'; const <API key> = 4; export function <API key>(expeditionList) { return expeditionList.filter(workflow => Object.keys(expeditions).indexOf(workflow.display_name) !== -1); } export function findExpedition(workflow) { const displayName = workflow ? workflow.display_name : ''; const expedition = expeditions[displayName] || expeditions.DEFAULT; return Object.assign({}, workflow, expedition); } export const expeditionCompleted = (expedition) => expedition.completed_at || dateformat(expedition.finished_at, 'mmmm d yyyy'); export function sortByCompleted(expeditionList) { return expeditionList.map(workflow => { const expedition = findExpedition(workflow); expedition.completed = expeditionCompleted(expedition); return expedition; }).sort((a, b) => new Date(b.completed) - new Date(a.completed)); } export const expeditionsInGroup = (group, allWorkflows) => allWorkflows.filter(e => e.display_name.startsWith(group)); export function recentExpeditions(allWorkflows, activityByWorkflow) { const allExpeditions = []; Object.keys(activityByWorkflow).forEach(id => { const workflow = allWorkflows.find(w => w.id === id); if (workflow) { const expedition = findExpedition(workflow); expedition.id = id; expedition.count = activityByWorkflow[id]; allExpeditions.push(expedition); } }); // Sort actives before inactives then sort by count descending const recent = allExpeditions.sort((a, b) => { if (a.active && !b.active) { return -1; } if (!a.active && b.active) { return 1; } if (a.count > b.count) { return -1; } if (a.count < b.count) { return 1; } return 0; }); if (recent.length > <API key>) { recent.length = <API key>; } return recent; }
<!DOCTYPE html> <html> <head lang="en"> <meta charset="UTF-8"> <title>Secret Santa 2014/Xmas</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="<API key>" content="none"/> <link rel="stylesheet" href="../static/css/bootstrap.css"> <style type="text/css"> body { font-family: Calibri, Verdana, Tahoma, "Helvetica Neue", Helvetica, Arial, sans-serif; } </style> </head> <body> <div class="navbar navbar-inverse navbar-fixed-top"> <div class="container"> <div class="navbar-header"> </div> <div class="collapse navbar-collapse"> <ul class="nav navbar-nav navbar-right"> </ul> </div> </div> </div> <br clear="all"/> <br clear="all"/> <br clear="all"/> <br clear="all"/> <div class="panel panel-default"> <div class="panel-heading"> <h2 class="panel-title"></h2> </div> <div class="panel-body"> <form method="post" class="form-horizontal" name="mainForm" > <div class="form-group "><label class="col-sm-3 control-label" for="lyrics_id">Lyrics ID</label><div class="col-sm-6"> <input class="form-control" id="lyrics_id" maxlength="None" name="lyrics_id" step="1" type="number" value="17933"> </div> </div> <div class="form-group "><label class="col-sm-3 control-label" for="<API key>">Translation ID</label><div class="col-sm-6"> <input class="form-control" id="<API key>" maxlength="None" name="<API key>" step="1" type="number" value="12088"> </div> </div> <div class="form-group "><label class="col-sm-3 control-label" for="youtube_id">YouTube ID</label><div class="col-sm-6"> <input class="form-control" id="youtube_id" maxlength="12" name="youtube_id" type="text" value=""> </div> </div> <div class="form-group "><label class="col-sm-3 control-label" for="lyricist">Lyricist</label><div class="col-sm-6"> <input class="form-control" id="lyricist" maxlength="64" name="lyricist" type="text" value="?"> </div> </div> <div class="form-group "><label class="col-sm-3 control-label" for="musician">Musician</label><div class="col-sm-6"> <input class="form-control" id="musician" maxlength="64" name="musician" type="text" value="?"> </div> </div> <div class="form-group "><label class="col-sm-3 control-label" for="original_lyrics">Original Lyrics</label><div class="col-sm-6"> <textarea class="form-control" id="original_lyrics" maxlength="None" name="original_lyrics">Με ένα ρεφραίν κάνω το χρέος του κι εγώ τραγουδώ για αυτούς που πεινάνε Υπάρχουνε παιδάκια που δεν έχουνε φαί ούτε πικάπ ν’ ακούνε μουσική Δε θέλω λεφτά never τραγουδάω δωρεάν για μισό κιλό κοκαΐνη Στείλτε αποφάγια, ξεροκόμματα μπιζού είναι το AIDS της Αφρικής οργή Θεού Όλοι μαζί με μια κιθάρα Πλούσιοι φτωχοί, κουτσοί στραβοί σε μια παπάρα Αμερικανάκια, προβατάκια COMSOMOL φιλανθρωπία με ναρκωτικά και ροκ εντ ρολ Να γίνει το ροκ immediately σαν τον Ερυθρό Σταυρό τα φρικιά, αδελφές νοσοκόμες Απ’ την Αγιά Βαρβάρα here μέχρι το Κονέκτικατ Ο Μάικλ Τζάκσον, ο Χατζής, ο Αραφάτ Κι αν είμαι ροκ μη με φοβάσαι προσαρμόζομαι να με λυπάσαι νηστικό αρκούδι δε χορεύει, δεν μπορεί πρέπει να φάει για ν’ αγοράσει μουσική</textarea> </div> </div> <div class="form-group "><label class="col-sm-3 control-label" for="transcribed_lyrics">Transcribed Lyrics</label><div class="col-sm-6"> <textarea class="form-control" id="transcribed_lyrics" maxlength="None" name="transcribed_lyrics">Me ena refrain kano to chreos tou ki ego tragoudo gia aftous pou peinane Yparchoune paidakia pou den echoune fai oute pikap n’ akoune mousiki De thelo lefta never tragoudao dorean gia miso kilo kokaini Steilte apofagia, xerokommata bizou einai to AIDS tis Afrikis orgi Theou Oloi mazi me mia kithara Plousioi ftochoi, koutsoi stravoi se mia papara Amerikanakia, provatakia COMSOMOL filanthropia me narkotika kai rok ent rol Na ginei to rok immediately san ton Erythro Stavro ta frikia, adelfes nosokomes Ap’ tin Agia Varvara here mechri to Konektikat O Maikl Tzakson, o Chatzis, o Arafat Ki an eimai rok mi me fovasai prosarmozomai na me lypasai nistiko arkoudi de chorevei, den borei prepei na faei gia n’ agorasei mousiki</textarea> </div> </div> <div class="form-group "><label class="col-sm-3 control-label" for="translated_lyrics">Translated Lyrics</label><div class="col-sm-6"> <textarea class="form-control" id="translated_lyrics" maxlength="None" name="translated_lyrics">With a chorus I make his duty and me I sing For those who are hungry There are children That have no food Neither a record player To listen to music I don't want money Never I sing for free For half a kilo cocaine Send leftovers, Some jewelry It's the Africa's AIDS God's rage All together with a guitar Rich, poors, lames, blinds in a papara American kids, CONSOMOL sheep Charity with drugs and rock'n'roll To be the rock Immediately Like the Red Cross The freaks, sisters nurses From Saint Barbara Here Till Connecticut Michael Jackson, Hatzis, Arafat And If I'm rock, don't be afraid of me I'm adjusted for you to feel sorry for me Hungry bear* doesn't dance, it can't It has to eat to buy music</textarea> </div> </div> <div class="form-group"> <div class="col-sm-5"> <input type="submit" class="form-control btn btn-success" value="Save"/> </div> </div> </form> </div> </div> <script src="../static/js/jquery-1.11.2.js" type="text/javascript"></script> <script src="../static/js/bootstrap.js" type="text/javascript"></script> </body> </html>
<html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content=""> <meta name="author" content=""> <title>Anthony Bisulco's Portfolio</title> <!-- Bootstrap Core CSS --> <link rel="stylesheet" href="css/bootstrap.min.css" type="text/css"> <!-- Custom Fonts --> <link href='http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800' rel='stylesheet' type='text/css'> <link href='http://fonts.googleapis.com/css?family=Merriweather:400,300,300italic,400italic,700,700italic,900,900italic' rel='stylesheet' type='text/css'> <link rel="stylesheet" href="font-awesome/css/font-awesome.min.css" type="text/css"> <!-- Plugin CSS --> <link rel="stylesheet" href="css/animate.min.css" type="text/css"> <!-- Custom CSS --> <link rel="stylesheet" href="css/gal.css" type="text/css"> <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries --> <!-- WARNING: Respond.js doesn't work if you view the page via file: <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script> <![endif] </head> <body id="page-top"> <nav id="mainNav" class="navbar navbar-default navbar-fixed-top"> <div class="container-fluid"> <!-- Brand and toggle get grouped for better mobile display --> <div class="navbar-header"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#<API key>"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="navbar-brand page-scroll" id="AntBis" href="index.html">Anthony Bisulco <i class="fa fa-rocket"></i></i> </a> </div> <!-- Collect the nav links, forms, and other content for toggling --> <div class="collapse navbar-collapse" id="<API key>"> <ul class="nav navbar-nav navbar-right"> <li> <a class="page-scroll" id="About" href="about.html">About</a> </li> <li> <a class="page-scroll" id="Port" href="gal.html">Portfolio</a> </li> <li> <a class="page-scroll" id="Port" href="Doc\Resume.pdf">Resume</a> </li> </ul> </div> <!-- /.navbar-collapse --> </div> <!-- /.container-fluid --> </nav> <div class="container"> <div class="row"> <div class="text-center" > <p id="asd">Project Gallery</p> </div> <div class="row"> <div class="col-md-3"> <div class="well"> <a href="Research_2013.html"> <img class="thumbnail img-responsive" alt="Bootstrap template" src="img/antenna.png" /> </a> <p id="antenna">Solar Flare Notification System</p> </div> </div> <div class="col-md-4"> <div class="well"> <a href="NEU.html"> <img class="thumbnail img-responsive" alt="Bootstrap template" src="img/radar.jpg" /> </a> <p id="NEU">NEU Research</p> </div> </div> <div class="col-md-4"> <div class="well"> <a href="Bio.html"> <img class="thumbnail img-responsive" alt="Bootstrap template" src="img/ECG.png" /> </a> <p id="NEU">Bio Electrocardiogram</p> </div> </div> </div> <div class="row"> <div class="col-md-4"> <div class="well"> <a href="https://app.startuprounds.com/startup/alert"> <img class="thumbnail img-responsive" alt="Bootstrap template" src="img/URI.jpg" /> </a> <p id="NEU">Hack URI(1st Place)</p> </div> </div> <div class="col-md-4"> <div class="well"> <a href="http://devpost.com/software/mood-dis-co"> <img class="thumbnail img-responsive" alt="Bootstrap template" src="img/Red.jpg" /> </a> <p id="NEU">Hack Big Red</p> </div> </div> <div class="col-md-4"> <div class="well"> <a href="Emb.html"> <img class="thumbnail img-responsive" alt="Bootstrap template" src="img/Emb.jpg" /> </a> <p id="NEU">Digital Design Robot Arm</p> </div> </div> </div> <div class="row"> <div class="col-md-4"> <div class="well"> <a href="http://ponglaser.net/"> <img class="thumbnail img-responsive" alt="Bootstrap template" src="img/POLL.JPG" /> </a> <p id="NEU">Hack Columbia: Pong </p> </div> </div> <div class="col-md-4"> <div class="well"> <a href="http://soundwav.org.<API key>.amazonaws.com/"> <img class="thumbnail img-responsive" alt="Bootstrap template" src="img/Mind.JPG" /> </a> <p id="NEU">Hack Northeastern: ML+Music</p> </div> </div> <div class="col-md-4"> <div class="well"> <a href="https://drive.google.com/file/d/<API key>/view?usp=sharing"> <img class="thumbnail img-responsive" alt="Bootstrap template" src="img/MIPS.JPG" /> </a> <p id="NEU">MIPS Computer</p> </div> </div> </div> <div class="row"> <div class="col-md-4"> <div class="well"> <a href="CV.html"> <img class="thumbnail img-responsive" alt="Bootstrap template" src="img/CV.png" /> </a> <p >Ball Sorting CV</p> </div> </div> <div class="col-md-4"> <div class="well"> <a href="sonar.html"> <img class="thumbnail img-responsive" alt="Bootstrap template" src="img/Sonar.jpg" /> </a> <p >Sonar Lab</p> </div> </div> <div class="col-md-4"> <div class="well"> <a href="Quad.html"> <img class="thumbnail img-responsive" alt="Bootstrap template" src="img/Quadcopter.png" /> </a> <p >Quadcopter</p> </div> </div> </div> </div> </div> </div> <nav id="pages"> <ul class="pagination"> <li> <a href="gal.html" aria-label="Previous"> <span aria-hidden="true">&laquo;</span> </a> </li> <li><a href="gal.html">1</a></li> <li><a href="gal2.html">2</a></li> <li><a href="gal3.html">3</a></li> <li> <a href="gal2.html" aria-label="Next"> <span aria-hidden="true">&raquo;</span> </a> </li> </ul> </nav> <div id="footer"> <div class="container" id="WOW"> All images and text © 2016 Anthony Bisulco </div> </div> <!-- jQuery --> <script src="js/jquery.js"></script> <!-- Bootstrap Core JavaScript --> <script src="js/bootstrap.min.js"></script> <!-- Plugin JavaScript --> <script src="js/jquery.easing.min.js"></script> <script src="js/jquery.fittext.js"></script> <script src="js/wow.min.js"></script> <!-- Custom Theme JavaScript --> <script src="js/creative.js"></script> </body> </html>
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.contrib import admin from .models import (Task, Epic, Project) admin.site.register(Task) admin.site.register(Epic) admin.site.register(Project)
package com.intellij.codeInsight.daemon.quickFix; public abstract class <API key> extends <API key> { public void test() throws Exception { doAllTests(); } @Override protected String getBasePath() { return "/codeInsight/daemonCodeAnalyzer/quickFix/<API key>"; } }
<?xml version="1.0" encoding="utf-8"?> <!-- generator="Joomla! - Open Source Content Management" --> <?xml-stylesheet href="http://waterboard.lk/web/plugins/system/osolcaptcha/osolCaptcha/captchaStyle.css" type="text/css"?> <feed xmlns="http: <title type="text">Current Tariff <subtitle type="text">National Water Supply and Drainage Board</subtitle> <link rel="alternate" type="text/html" href="http://waterboard.lk"/> <id>http://waterboard.lk/web/index.php</id> <updated>2015-10-19T17:49:14+00:00</updated> <author> <name>National Water Supply and Drainage Board</name> <email>donotreply@waterboard.lk</email> </author> <generator uri="http://joomla.org">Joomla! - Open Source Content Management</generator> <link rel="self" type="application/atom+xml" href="http://waterboard.lk/web/index.php?option=com_content&amp;view=category&amp;id=14&amp;Itemid=192&amp;lang=en&amp;format=feed&amp;type=atom"/> <entry> <title>Drinking Water Quality <link rel="alternate" type="text/html" href="http://waterboard.lk/web/index.php?option=com_content&amp;view=article&amp;id=136&amp;catid=14&amp;Itemid=384&amp;lang=en"/> <published>2014-09-29T00:53:33+00:00</published> <updated>2014-09-29T00:53:33+00:00</updated> <id>http://waterboard.lk/web/index.php?option=com_content&amp;view=article&amp;id=136&amp;catid=14&amp;Itemid=384&amp;lang=en</id> <author> <name>piyo</name> <email>test@maoil.com</email> </author> <summary type="html">&lt;p&gt;This page is under construction&lt;/p&gt;</summary> <content type="html">&lt;p&gt;This page is under construction&lt;/p&gt;</content> <category term="Public Notices" /> </entry> <entry> <title>Drinking Water Quality (2)</title> <link rel="alternate" type="text/html" href="http://waterboard.lk/web/index.php?option=com_content&amp;view=article&amp;id=198&amp;catid=14&amp;Itemid=192&amp;lang=en"/> <published>2014-09-29T00:53:33+00:00</published> <updated>2014-09-29T00:53:33+00:00</updated> <id>http://waterboard.lk/web/index.php?option=com_content&amp;view=article&amp;id=198&amp;catid=14&amp;Itemid=192&amp;lang=en</id> <author> <name>piyo</name> <email>test@maoil.com</email> </author> <summary type="html">&lt;p&gt;This page is under construction&lt;/p&gt;</summary> <content type="html">&lt;p&gt;This page is under construction&lt;/p&gt;</content> <category term="Public Notices" /> </entry> <entry> <title>Water Supply Details</title> <link rel="alternate" type="text/html" href="http://waterboard.lk/web/index.php?option=com_content&amp;view=article&amp;id=135&amp;catid=14&amp;Itemid=315&amp;lang=en"/> <published>2014-09-29T00:46:28+00:00</published> <updated>2014-09-29T00:46:28+00:00</updated> <id>http://waterboard.lk/web/index.php?option=com_content&amp;view=article&amp;id=135&amp;catid=14&amp;Itemid=315&amp;lang=en</id> <author> <name>piyo</name> <email>test@maoil.com</email> </author> <summary type="html">&lt;p&gt;This page is under construction&lt;/p&gt;</summary> <content type="html">&lt;p&gt;This page is under construction&lt;/p&gt;</content> <category term="Public Notices" /> </entry> <entry> <title>Promotion</title> <link rel="alternate" type="text/html" href="http://waterboard.lk/web/index.php?option=com_content&amp;view=article&amp;id=126&amp;catid=14&amp;Itemid=330&amp;lang=en"/> <published>2014-09-26T03:30:54+00:00</published> <updated>2014-09-26T03:30:54+00:00</updated> <id>http://waterboard.lk/web/index.php?option=com_content&amp;view=article&amp;id=126&amp;catid=14&amp;Itemid=330&amp;lang=en</id> <author> <name>ran</name> <email>test@mao.com</email> </author> <summary type="html">&lt;p&gt;This page is under construction&lt;/p&gt;</summary> <content type="html">&lt;p&gt;This page is under construction&lt;/p&gt;</content> <category term="Public Notices" /> </entry> <entry> <title>career</title> <link rel="alternate" type="text/html" href="http://waterboard.lk/web/index.php?option=com_content&amp;view=article&amp;id=125&amp;catid=14&amp;Itemid=192&amp;lang=en"/> <published>2014-09-26T03:30:27+00:00</published> <updated>2014-09-26T03:30:27+00:00</updated> <id>http://waterboard.lk/web/index.php?option=com_content&amp;view=article&amp;id=125&amp;catid=14&amp;Itemid=192&amp;lang=en</id> <author> <name>ran</name> <email>test@mao.com</email> </author> <summary type="html">&lt;p&gt;This page is under construction&lt;/p&gt;</summary> <content type="html">&lt;p&gt;This page is under construction&lt;/p&gt;</content> <category term="Public Notices" /> </entry> <entry> <title>News Highlights</title> <link rel="alternate" type="text/html" href="http://waterboard.lk/web/index.php?option=com_content&amp;view=article&amp;id=124&amp;catid=14&amp;Itemid=192&amp;lang=en"/> <published>2014-09-26T03:28:55+00:00</published> <updated>2014-09-26T03:28:55+00:00</updated> <id>http://waterboard.lk/web/index.php?option=com_content&amp;view=article&amp;id=124&amp;catid=14&amp;Itemid=192&amp;lang=en</id> <author> <name>ran</name> <email>test@mao.com</email> </author> <summary type="html">&lt;p&gt;This page is under construction&lt;/p&gt;</summary> <content type="html">&lt;p&gt;This page is under construction&lt;/p&gt;</content> <category term="Public Notices" /> </entry> <entry> <title>Charges/Rates</title> <link rel="alternate" type="text/html" href="http://waterboard.lk/web/index.php?option=com_content&amp;view=article&amp;id=123&amp;catid=14&amp;Itemid=267&amp;lang=en"/> <published>2014-09-26T03:28:31+00:00</published> <updated>2014-09-26T03:28:31+00:00</updated> <id>http://waterboard.lk/web/index.php?option=com_content&amp;view=article&amp;id=123&amp;catid=14&amp;Itemid=267&amp;lang=en</id> <author> <name>ran</name> <email>test@mao.com</email> </author> <summary type="html">&lt;h3&gt;Charges Applicable for O&amp;amp;M related Services&lt;/h3&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;h3&gt;Charges Applicable for Laboratory Testing&lt;/h3&gt; &lt;h3&gt;&amp;nbsp;&lt;/h3&gt; &lt;h3&gt;Charges Applicable for NRW Activties&lt;/h3&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;h3&gt;Charges Applicable for Ground Water Services&lt;/h3&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;h3&gt;Charges Applicable for Mapping Services&lt;/h3&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt;</summary> <content type="html">&lt;h3&gt;Charges Applicable for O&amp;amp;M related Services&lt;/h3&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;h3&gt;Charges Applicable for Laboratory Testing&lt;/h3&gt; &lt;h3&gt;&amp;nbsp;&lt;/h3&gt; &lt;h3&gt;Charges Applicable for NRW Activties&lt;/h3&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;h3&gt;Charges Applicable for Ground Water Services&lt;/h3&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;h3&gt;Charges Applicable for Mapping Services&lt;/h3&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt;</content> <category term="Public Notices" /> </entry> <entry> <title>Registered Suppliers</title> <link rel="alternate" type="text/html" href="http://waterboard.lk/web/index.php?option=com_content&amp;view=article&amp;id=110&amp;catid=14&amp;Itemid=297&amp;lang=en"/> <published>2014-09-04T22:25:56+00:00</published> <updated>2014-09-04T22:25:56+00:00</updated> <id>http://waterboard.lk/web/index.php?option=com_content&amp;view=article&amp;id=110&amp;catid=14&amp;Itemid=297&amp;lang=en</id> <author> <name>piyo</name> <email>test@maoil.com</email> </author> <summary type="html">&lt;h4&gt;Pipes &amp;amp; Specials&lt;/h4&gt; &lt;ul class=&quot;pdf&quot;&gt; &lt;li&gt;&lt;a href=&quot;http://waterboard.lk/web/images/contents/public_notices/<API key>/11.pdf&quot; target=&quot;_blank&quot;&gt;11 - Brass - Stop Cocks, ferrules, Gate Valves etc. and Gunmetal - Ferrules etc.&lt;br /&gt;[ PDF - 67 KB]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;http://waterboard.lk/web/images/contents/public_notices/<API key>/12.pdf&quot; target=&quot;_blank&quot;&gt;12 - CI (Cast Iron Pipes &amp;amp; Fittings, Valves, Couplings, Adaptors)&lt;br /&gt;[ PDF - 60 KB]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;http://waterboard.lk/web/images/contents/public_notices/<API key>/13.pdf&quot; target=&quot;_blank&quot;&gt;13 - DI (Ductile Iron Pipes &amp;amp; Fittings, Valves, Couplings, Adaptors, Repair Clamps)&lt;br /&gt;[ PDF - 65 KB]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;http://waterboard.lk/web/images/contents/public_notices/<API key>/14.pdf&quot; target=&quot;_blank&quot;&gt;14 - GI (Galvanized Iron Pipes &amp;amp; Fittings, Flanges)&lt;br /&gt;[ PDF - 65 KB]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;http://waterboard.lk/web/images/contents/public_notices/<API key>/15.pdf&quot; target=&quot;_blank&quot;&gt;15 - HDPE (Pipes &amp;amp; Fittings)&lt;br /&gt;[ PDF - 62 KB]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;http://waterboard.lk/web/images/contents/public_notices/<API key>/16.pdf&quot; target=&quot;_blank&quot;&gt;16 - Alkethine Pipe&lt;br /&gt;[ PDF - 60 KB]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;http://waterboard.lk/web/images/contents/public_notices/<API key>/17.pdf&quot; target=&quot;_blank&quot;&gt;17 - Meters (Water meters, Flow meters)&lt;br /&gt;[ PDF - 63 KB]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;http://waterboard.lk/web/images/contents/public_notices/<API key>/18.pdf&quot; target=&quot;_blank&quot;&gt;18 - Plastic water tanks etc.&lt;br /&gt;[ PDF - 58 KB]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;http://waterboard.lk/web/images/contents/public_notices/<API key>/19.pdf&quot; target=&quot;_blank&quot;&gt;19 - PVC Pipes &amp;amp; Fittings, Ball Cocks, Solvent Cement&lt;br /&gt;[ PDF - 65 KB]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;http://waterboard.lk/web/images/contents/public_notices/<API key>/20.pdf&quot; target=&quot;_blank&quot;&gt;20 - Stainless Steel Pipes &amp;amp; Fittings&lt;br /&gt;[ PDF - 61 KB]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;http://waterboard.lk/web/images/contents/public_notices/<API key>/21.pdf&quot; target=&quot;_blank&quot;&gt;21 - Steel Pipes &amp;amp; Fittings&lt;br /&gt;[ PDF - 62 KB]&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;h4&gt;Stationary&lt;/h4&gt; &lt;ul class=&quot;pdf&quot;&gt; &lt;li&gt;&lt;a href=&quot;http://waterboard.lk/web/images/contents/public_notices/<API key>/22.pdf&quot; target=&quot;_blank&quot;&gt;22 - Computer Consumables (Diskettes, CD's, Ribbons, Cartridges, Toners)&lt;br /&gt;[ PDF - 72 KB ]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;http://waterboard.lk/web/images/contents/public_notices/<API key>/23.pdf&quot; target=&quot;_blank&quot;&gt;23 - Office and General Stationery /Papers (Computers, Photocopies) Pens, Clips, Punctures, Staplers, Toner, Master role, etc.&lt;br /&gt;[ PDF - 70 KB ]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;http://waterboard.lk/web/images/contents/public_notices/<API key>/24.pdf&quot; target=&quot;_blank&quot;&gt;24 - Stationery for Planning &amp;amp; Design /Plan printing paper, P/P Toner, Tracing Paper&lt;br /&gt;[ PDF - 60 KB ]&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;h4&gt;Equipment&lt;/h4&gt; &lt;ul class=&quot;pdf&quot;&gt; &lt;li&gt;&lt;a href=&quot;http://waterboard.lk/web/images/contents/public_notices/<API key>/25.pdf&quot; target=&quot;_blank&quot;&gt;25 - Kitchen Utensils (Crockery, Cutlery, Water Filters, Cups &amp;amp; Saucers, Glasses, Scale etc.)&lt;br /&gt;[ PDF - 57 KB ]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;http://waterboard.lk/web/images/contents/public_notices/<API key>/26.pdf&quot; target=&quot;_blank&quot;&gt;26 - Office Equipment (Postal Franking Machines, Type writers, Spiral Binders, Roneo/ Duplicating Machines, GPS, Photocopiers, Fax Machines, Overhead Projectors)&lt;br /&gt;[ PDF - 65 KB ]&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;h4&gt;Building Construction and Hardware&lt;/h4&gt; &lt;ul class=&quot;pdf&quot;&gt; &lt;li&gt;&lt;a href=&quot;http://waterboard.lk/web/images/contents/public_notices/<API key>/27.pdf&quot; target=&quot;_blank&quot;&gt;27 - Building Materials (Bricks, Cement, Sand, Metal, Asbestos Sheet/ Galvanize Sheet etc. )&lt;br /&gt;[ PDF - 62 KB ]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;http://waterboard.lk/web/images/contents/public_notices/<API key>/28.pdf&quot; target=&quot;_blank&quot;&gt;28 - Sanitary ware (Wash basins, Taps, Commodes &amp;amp; Cisterns, Tiles etc.)&lt;br /&gt;[ PDF - 60 KB ]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;http://waterboard.lk/web/images/contents/public_notices/<API key>/29.pdf&quot; target=&quot;_blank&quot;&gt;29 - Timber Materials (Rafters, Planks, Joists, Reefers)&lt;br /&gt;[ PDF - 56 KB ]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;http://waterboard.lk/web/images/contents/public_notices/<API key>/30.pdf&quot; target=&quot;_blank&quot;&gt;30 - Construction Equipment (Wheel barrows, hand carts, Paint and Paint brushes)&lt;br /&gt;[ PDF - 63 KB ]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;http://waterboard.lk/web/images/contents/public_notices/<API key>/31.pdf&quot; target=&quot;_blank&quot;&gt;31 - Fiber Glass Items&lt;br /&gt;[ PDF - 53 KB ]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;http://waterboard.lk/web/images/contents/public_notices/<API key>/32.pdf&quot; target=&quot;_blank&quot;&gt;32 - Bolts &amp;amp; Nuts, M.S. Sheets, Tor Steels, Tarpaulin etc.&lt;br /&gt;[ PDF - 67 KB ]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;http://waterboard.lk/web/images/contents/public_notices/<API key>/33.pdf&quot; target=&quot;_blank&quot;&gt;33 - Safety Equipment, Fire Extinguishers, Gloves, Helmets, Raincoats, Gum Boots, Masks, Road Marker Tapes, Traffic Cones etc.&lt;br /&gt;[ PDF - 68 KB ]&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;h4&gt;Electrical &amp;amp; Electronic Equipments&lt;/h4&gt; &lt;ul class=&quot;pdf&quot;&gt; &lt;li&gt;&lt;a href=&quot;http://waterboard.lk/web/images/contents/public_notices/<API key>/34.pdf&quot; target=&quot;_blank&quot;&gt;34 - Air conditioners&lt;br /&gt;[ PDF - 60 KB ]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;http://waterboard.lk/web/images/contents/public_notices/<API key>/35.pdf&quot; target=&quot;_blank&quot;&gt;35 - Electrical - (Refrigerators, Kettles, Heaters, Water Boilers, Vacuum Cleaner etc.)&lt;br /&gt;[ PDF - 62 KB ]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;http://waterboard.lk/web/images/contents/public_notices/<API key>/36.pdf&quot; target=&quot;_blank&quot;&gt;36 - Electronic - (Calculators, Adding Machines, Cash Registers)&lt;br /&gt;[ PDF - 60 KB ]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;http://waterboard.lk/web/images/contents/public_notices/<API key>/37.pdf&quot; target=&quot;_blank&quot;&gt;37 - Telecommunication Equipments - (Telephone systems, Mobile Phones and Key Telephones)&lt;br /&gt;[ PDF - 61 KB ]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;http://waterboard.lk/web/images/contents/public_notices/<API key>/38.pdf&quot; target=&quot;_blank&quot;&gt;38 - Computer &amp;amp; Computer Peripherals (Computers, UPS, Printers, Multimedia Projectors, Servers etc.)&lt;br /&gt;[ PDF - 72 KB ]&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;h4&gt;Tools&lt;/h4&gt; &lt;ul class=&quot;pdf&quot;&gt; &lt;li&gt;&lt;a href=&quot;http://waterboard.lk/web/images/contents/public_notices/<API key>/39.pdf&quot; target=&quot;_blank&quot;&gt;39 - Mechanical - Welding Equipment &amp;amp; Accessories (Grinders, Diamond Cutting tool, Adjustable spanners Transmission Jacks, pipe wenches, Bench wise etc.)&lt;br /&gt;[ PDF - 63 KB ]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;http://waterboard.lk/web/images/contents/public_notices/<API key>/40.pdf&quot; target=&quot;_blank&quot;&gt;40 - Electrical - (Hammer, Drills &amp;amp; Accessories, Cutting Pliers etc.) Electronic - (Pneumatic, Screwdrivers , Soldering irons, disordering Tools Etc. )&lt;br /&gt;[ PDF - 65 KB ]&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;h4&gt;Laboratory Equipments, Chemical &amp;amp; Utilities&lt;/h4&gt; &lt;ul class=&quot;pdf&quot;&gt; &lt;li&gt;&lt;a href=&quot;http://waterboard.lk/web/images/contents/public_notices/<API key>/41.pdf&quot; target=&quot;_blank&quot;&gt;41 - Filter Media - Graded Sand and Pebbles etc.&lt;br /&gt;[ PDF - 57 KB ]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;http://waterboard.lk/web/images/contents/public_notices/<API key>/42.pdf&quot; target=&quot;_blank&quot;&gt;42 - Laboratory Chemicals &amp;amp; Equipment&lt;br /&gt;[ PDF - 64 KB ]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;http://waterboard.lk/web/images/contents/public_notices/<API key>/43.pdf&quot; target=&quot;_blank&quot;&gt;43 - Water Treatment Chemicals (Aluminium Sulphate, Bleaching powder, Hydrated Lime, Bentonite Clay, Poly Aluminium Chloride)&lt;br /&gt;[ PDF - 65 KB ]&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;h4&gt;Vehicles &amp;amp; Machinery, Automobiles&lt;/h4&gt; &lt;ul class=&quot;pdf&quot;&gt; &lt;li&gt;&lt;a href=&quot;http://waterboard.lk/web/images/contents/public_notices/<API key>/44.pdf&quot; target=&quot;_blank&quot;&gt;44 - Automobile Batteries&lt;br /&gt;[ PDF - 59 KB ]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;http://waterboard.lk/web/images/contents/public_notices/<API key>/45.pdf&quot; target=&quot;_blank&quot;&gt;45 - Machinery Equipment &amp;amp; Material Handling Equipment &amp;amp; Spares&lt;br /&gt;[ PDF - 60 KB ]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;http://waterboard.lk/web/images/contents/public_notices/<API key>/46.pdf&quot; target=&quot;_blank&quot;&gt;46 - Motor Spares &amp;amp; Accessories&lt;br /&gt;[ PDF - 60 KB ]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;http://waterboard.lk/web/images/contents/public_notices/<API key>/47.pdf&quot; target=&quot;_blank&quot;&gt;47 - Tyres &amp;amp; Tubes for vehicles&lt;br /&gt;[ PDF - 62 KB ]&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;h4&gt;Pumps, Motors &amp;amp; Spares&lt;/h4&gt; &lt;ul class=&quot;pdf&quot;&gt; &lt;li&gt;&lt;a href=&quot;http://waterboard.lk/web/images/contents/public_notices/<API key>/48.pdf&quot; target=&quot;_blank&quot;&gt;48 - Pumps &amp;amp; water purification equipments, Spares for water pumps and bearings&lt;br /&gt;[ PDF - 68 KB ]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;http://waterboard.lk/web/images/contents/public_notices/<API key>/49.pdf&quot; target=&quot;_blank&quot;&gt;49 - Hand Pumps and spares for hand pumps&lt;br /&gt;[ PDF - 57 KB ]&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;h4&gt;General Purpose&lt;/h4&gt; &lt;ul class=&quot;pdf&quot;&gt; &lt;li&gt;&lt;a href=&quot;http://waterboard.lk/web/images/contents/public_notices/<API key>/50.pdf&quot; target=&quot;_blank&quot;&gt;50 - Rubber Products - Packing, Rings, Hoses etc.&lt;br /&gt;[ PDF - 57 KB ]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;http://waterboard.lk/web/images/contents/public_notices/<API key>/51.pdf&quot; target=&quot;_blank&quot;&gt;51 - Textile - Uniform Materials, Dusters &amp;amp; Towels&lt;br /&gt;[ PDF - 58 KB ]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;http://waterboard.lk/web/images/contents/public_notices/<API key>/52.pdf&quot; target=&quot;_blank&quot;&gt;52 - Toiletries (Soap, Disinfectants, etc.)&lt;br /&gt;[ PDF - 54 KB ]&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;h4&gt;Furniture &amp;amp; Fittings&lt;/h4&gt; &lt;ul class=&quot;pdf&quot;&gt; &lt;li&gt;&lt;a href=&quot;http://waterboard.lk/web/images/contents/public_notices/<API key>/53.pdf&quot; target=&quot;_blank&quot;&gt;53 - Furniture (Wooden) - Tables/Chairs/ Cupboard/ File Racks etc.&lt;br /&gt;[ PDF - 60 KB ]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;http://waterboard.lk/web/images/contents/public_notices/<API key>/54.pdf&quot; target=&quot;_blank&quot;&gt;54 - Furniture (Steel, Plastic &amp;amp; Fiber Glass) - Tables/Chairs, Cupboards/Cabinets etc.&lt;br /&gt;[ PDF - 58 KB ]&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;h4&gt;Services&lt;/h4&gt; &lt;ul class=&quot;pdf&quot;&gt; &lt;li&gt;&lt;a href=&quot;http://waterboard.lk/web/images/contents/public_notices/<API key>/55.pdf&quot; target=&quot;_blank&quot;&gt;55 - Building Construction/ Repair/ Maintenance Work&lt;br /&gt;[ PDF - 68 KB ]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;http://waterboard.lk/web/images/contents/public_notices/<API key>/56.pdf&quot; target=&quot;_blank&quot;&gt;56 - Name Board Printing&lt;br /&gt;[ PDF - 57 KB ]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;http://waterboard.lk/web/images/contents/public_notices/<API key>/57.pdf&quot; target=&quot;_blank&quot;&gt;57 - Welding Works&lt;br /&gt;[ PDF - 57 KB ]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;http://waterboard.lk/web/images/contents/public_notices/<API key>/58.pdf&quot; target=&quot;_blank&quot;&gt;58 - Painting and Interior Decor&lt;br /&gt;[ PDF - 61 KB ]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;http://waterboard.lk/web/images/contents/public_notices/<API key>/59.pdf&quot; target=&quot;_blank&quot;&gt;59 - Light Weight Aluminum works (Partition work, Exterior Cladding Work, Enclosures, Doors, Windows etc.)&lt;br /&gt;[ PDF - 60 KB ]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;http://waterboard.lk/web/images/contents/public_notices/<API key>/60.pdf&quot; target=&quot;_blank&quot;&gt;60 - Hiring of Passenger Vehicles&lt;br /&gt;[ PDF - 53 KB ]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;http://waterboard.lk/web/images/contents/public_notices/<API key>/61.pdf&quot; target=&quot;_blank&quot;&gt;61 - Hire of Heavy Machinery (Back-hoes, Bull-dozers, Water bowsers)&lt;br /&gt;[ PDF - 55 KB ]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;http://waterboard.lk/web/images/contents/public_notices/<API key>/62.pdf&quot; target=&quot;_blank&quot;&gt;62 - Printing of Water Bills etc.&lt;br /&gt;[ PDF - 57 KB ]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;http://waterboard.lk/web/images/contents/public_notices/<API key>/63.pdf&quot; target=&quot;_blank&quot;&gt;63 - Printing and Allied Services&lt;br /&gt;[ PDF - 67 KB ]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;http://waterboard.lk/web/images/contents/public_notices/<API key>/64.pdf&quot; target=&quot;_blank&quot;&gt;64 - Supply of Labour&lt;br /&gt;[ PDF - 54 KB ]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;http://waterboard.lk/web/images/contents/public_notices/<API key>/65.pdf&quot; target=&quot;_blank&quot;&gt;65 - Surveying (Services)&lt;br /&gt;[ PDF - 56 KB ]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;http://waterboard.lk/web/images/contents/public_notices/<API key>/66.pdf&quot; target=&quot;_blank&quot;&gt;66 - Civil Engineering Works (Laying of pipes in water supply &amp;amp; sewerage works, Construction of roads)&lt;br /&gt;[ PDF - 63 KB ]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;http://waterboard.lk/web/images/contents/public_notices/<API key>/67.pdf&quot; target=&quot;_blank&quot;&gt;67 - Vehicles Repairs &amp;amp; Services&lt;br /&gt;[ PDF - 71 KB ]&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;h4&gt;Rules and Regulations&lt;/h4&gt; &lt;ul class=&quot;word&quot;&gt; &lt;li&gt;&lt;a href=&quot;http://waterboard.lk/web/images/contents/public_notices/<API key>/<API key>.docx&quot;&gt;Rules and Regulations&lt;br /&gt;[ DOC - 22 KB ]&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt;</summary> <content type="html">&lt;h4&gt;Pipes &amp;amp; Specials&lt;/h4&gt; &lt;ul class=&quot;pdf&quot;&gt; &lt;li&gt;&lt;a href=&quot;images/contents/public_notices/<API key>/11.pdf&quot; target=&quot;_blank&quot;&gt;11 - Brass - Stop Cocks, ferrules, Gate Valves etc. and Gunmetal - Ferrules etc.&lt;br /&gt;[ PDF - 67 KB]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;images/contents/public_notices/<API key>/12.pdf&quot; target=&quot;_blank&quot;&gt;12 - CI (Cast Iron Pipes &amp;amp; Fittings, Valves, Couplings, Adaptors)&lt;br /&gt;[ PDF - 60 KB]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;images/contents/public_notices/<API key>/13.pdf&quot; target=&quot;_blank&quot;&gt;13 - DI (Ductile Iron Pipes &amp;amp; Fittings, Valves, Couplings, Adaptors, Repair Clamps)&lt;br /&gt;[ PDF - 65 KB]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;images/contents/public_notices/<API key>/14.pdf&quot; target=&quot;_blank&quot;&gt;14 - GI (Galvanized Iron Pipes &amp;amp; Fittings, Flanges)&lt;br /&gt;[ PDF - 65 KB]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;images/contents/public_notices/<API key>/15.pdf&quot; target=&quot;_blank&quot;&gt;15 - HDPE (Pipes &amp;amp; Fittings)&lt;br /&gt;[ PDF - 62 KB]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;images/contents/public_notices/<API key>/16.pdf&quot; target=&quot;_blank&quot;&gt;16 - Alkethine Pipe&lt;br /&gt;[ PDF - 60 KB]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;images/contents/public_notices/<API key>/17.pdf&quot; target=&quot;_blank&quot;&gt;17 - Meters (Water meters, Flow meters)&lt;br /&gt;[ PDF - 63 KB]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;images/contents/public_notices/<API key>/18.pdf&quot; target=&quot;_blank&quot;&gt;18 - Plastic water tanks etc.&lt;br /&gt;[ PDF - 58 KB]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;images/contents/public_notices/<API key>/19.pdf&quot; target=&quot;_blank&quot;&gt;19 - PVC Pipes &amp;amp; Fittings, Ball Cocks, Solvent Cement&lt;br /&gt;[ PDF - 65 KB]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;images/contents/public_notices/<API key>/20.pdf&quot; target=&quot;_blank&quot;&gt;20 - Stainless Steel Pipes &amp;amp; Fittings&lt;br /&gt;[ PDF - 61 KB]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;images/contents/public_notices/<API key>/21.pdf&quot; target=&quot;_blank&quot;&gt;21 - Steel Pipes &amp;amp; Fittings&lt;br /&gt;[ PDF - 62 KB]&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;h4&gt;Stationary&lt;/h4&gt; &lt;ul class=&quot;pdf&quot;&gt; &lt;li&gt;&lt;a href=&quot;images/contents/public_notices/<API key>/22.pdf&quot; target=&quot;_blank&quot;&gt;22 - Computer Consumables (Diskettes, CD's, Ribbons, Cartridges, Toners)&lt;br /&gt;[ PDF - 72 KB ]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;images/contents/public_notices/<API key>/23.pdf&quot; target=&quot;_blank&quot;&gt;23 - Office and General Stationery /Papers (Computers, Photocopies) Pens, Clips, Punctures, Staplers, Toner, Master role, etc.&lt;br /&gt;[ PDF - 70 KB ]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;images/contents/public_notices/<API key>/24.pdf&quot; target=&quot;_blank&quot;&gt;24 - Stationery for Planning &amp;amp; Design /Plan printing paper, P/P Toner, Tracing Paper&lt;br /&gt;[ PDF - 60 KB ]&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;h4&gt;Equipment&lt;/h4&gt; &lt;ul class=&quot;pdf&quot;&gt; &lt;li&gt;&lt;a href=&quot;images/contents/public_notices/<API key>/25.pdf&quot; target=&quot;_blank&quot;&gt;25 - Kitchen Utensils (Crockery, Cutlery, Water Filters, Cups &amp;amp; Saucers, Glasses, Scale etc.)&lt;br /&gt;[ PDF - 57 KB ]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;images/contents/public_notices/<API key>/26.pdf&quot; target=&quot;_blank&quot;&gt;26 - Office Equipment (Postal Franking Machines, Type writers, Spiral Binders, Roneo/ Duplicating Machines, GPS, Photocopiers, Fax Machines, Overhead Projectors)&lt;br /&gt;[ PDF - 65 KB ]&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;h4&gt;Building Construction and Hardware&lt;/h4&gt; &lt;ul class=&quot;pdf&quot;&gt; &lt;li&gt;&lt;a href=&quot;images/contents/public_notices/<API key>/27.pdf&quot; target=&quot;_blank&quot;&gt;27 - Building Materials (Bricks, Cement, Sand, Metal, Asbestos Sheet/ Galvanize Sheet etc. )&lt;br /&gt;[ PDF - 62 KB ]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;images/contents/public_notices/<API key>/28.pdf&quot; target=&quot;_blank&quot;&gt;28 - Sanitary ware (Wash basins, Taps, Commodes &amp;amp; Cisterns, Tiles etc.)&lt;br /&gt;[ PDF - 60 KB ]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;images/contents/public_notices/<API key>/29.pdf&quot; target=&quot;_blank&quot;&gt;29 - Timber Materials (Rafters, Planks, Joists, Reefers)&lt;br /&gt;[ PDF - 56 KB ]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;images/contents/public_notices/<API key>/30.pdf&quot; target=&quot;_blank&quot;&gt;30 - Construction Equipment (Wheel barrows, hand carts, Paint and Paint brushes)&lt;br /&gt;[ PDF - 63 KB ]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;images/contents/public_notices/<API key>/31.pdf&quot; target=&quot;_blank&quot;&gt;31 - Fiber Glass Items&lt;br /&gt;[ PDF - 53 KB ]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;images/contents/public_notices/<API key>/32.pdf&quot; target=&quot;_blank&quot;&gt;32 - Bolts &amp;amp; Nuts, M.S. Sheets, Tor Steels, Tarpaulin etc.&lt;br /&gt;[ PDF - 67 KB ]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;images/contents/public_notices/<API key>/33.pdf&quot; target=&quot;_blank&quot;&gt;33 - Safety Equipment, Fire Extinguishers, Gloves, Helmets, Raincoats, Gum Boots, Masks, Road Marker Tapes, Traffic Cones etc.&lt;br /&gt;[ PDF - 68 KB ]&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;h4&gt;Electrical &amp;amp; Electronic Equipments&lt;/h4&gt; &lt;ul class=&quot;pdf&quot;&gt; &lt;li&gt;&lt;a href=&quot;images/contents/public_notices/<API key>/34.pdf&quot; target=&quot;_blank&quot;&gt;34 - Air conditioners&lt;br /&gt;[ PDF - 60 KB ]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;images/contents/public_notices/<API key>/35.pdf&quot; target=&quot;_blank&quot;&gt;35 - Electrical - (Refrigerators, Kettles, Heaters, Water Boilers, Vacuum Cleaner etc.)&lt;br /&gt;[ PDF - 62 KB ]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;images/contents/public_notices/<API key>/36.pdf&quot; target=&quot;_blank&quot;&gt;36 - Electronic - (Calculators, Adding Machines, Cash Registers)&lt;br /&gt;[ PDF - 60 KB ]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;images/contents/public_notices/<API key>/37.pdf&quot; target=&quot;_blank&quot;&gt;37 - Telecommunication Equipments - (Telephone systems, Mobile Phones and Key Telephones)&lt;br /&gt;[ PDF - 61 KB ]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;images/contents/public_notices/<API key>/38.pdf&quot; target=&quot;_blank&quot;&gt;38 - Computer &amp;amp; Computer Peripherals (Computers, UPS, Printers, Multimedia Projectors, Servers etc.)&lt;br /&gt;[ PDF - 72 KB ]&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;h4&gt;Tools&lt;/h4&gt; &lt;ul class=&quot;pdf&quot;&gt; &lt;li&gt;&lt;a href=&quot;images/contents/public_notices/<API key>/39.pdf&quot; target=&quot;_blank&quot;&gt;39 - Mechanical - Welding Equipment &amp;amp; Accessories (Grinders, Diamond Cutting tool, Adjustable spanners Transmission Jacks, pipe wenches, Bench wise etc.)&lt;br /&gt;[ PDF - 63 KB ]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;images/contents/public_notices/<API key>/40.pdf&quot; target=&quot;_blank&quot;&gt;40 - Electrical - (Hammer, Drills &amp;amp; Accessories, Cutting Pliers etc.) Electronic - (Pneumatic, Screwdrivers , Soldering irons, disordering Tools Etc. )&lt;br /&gt;[ PDF - 65 KB ]&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;h4&gt;Laboratory Equipments, Chemical &amp;amp; Utilities&lt;/h4&gt; &lt;ul class=&quot;pdf&quot;&gt; &lt;li&gt;&lt;a href=&quot;images/contents/public_notices/<API key>/41.pdf&quot; target=&quot;_blank&quot;&gt;41 - Filter Media - Graded Sand and Pebbles etc.&lt;br /&gt;[ PDF - 57 KB ]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;images/contents/public_notices/<API key>/42.pdf&quot; target=&quot;_blank&quot;&gt;42 - Laboratory Chemicals &amp;amp; Equipment&lt;br /&gt;[ PDF - 64 KB ]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;images/contents/public_notices/<API key>/43.pdf&quot; target=&quot;_blank&quot;&gt;43 - Water Treatment Chemicals (Aluminium Sulphate, Bleaching powder, Hydrated Lime, Bentonite Clay, Poly Aluminium Chloride)&lt;br /&gt;[ PDF - 65 KB ]&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;h4&gt;Vehicles &amp;amp; Machinery, Automobiles&lt;/h4&gt; &lt;ul class=&quot;pdf&quot;&gt; &lt;li&gt;&lt;a href=&quot;images/contents/public_notices/<API key>/44.pdf&quot; target=&quot;_blank&quot;&gt;44 - Automobile Batteries&lt;br /&gt;[ PDF - 59 KB ]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;images/contents/public_notices/<API key>/45.pdf&quot; target=&quot;_blank&quot;&gt;45 - Machinery Equipment &amp;amp; Material Handling Equipment &amp;amp; Spares&lt;br /&gt;[ PDF - 60 KB ]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;images/contents/public_notices/<API key>/46.pdf&quot; target=&quot;_blank&quot;&gt;46 - Motor Spares &amp;amp; Accessories&lt;br /&gt;[ PDF - 60 KB ]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;images/contents/public_notices/<API key>/47.pdf&quot; target=&quot;_blank&quot;&gt;47 - Tyres &amp;amp; Tubes for vehicles&lt;br /&gt;[ PDF - 62 KB ]&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;h4&gt;Pumps, Motors &amp;amp; Spares&lt;/h4&gt; &lt;ul class=&quot;pdf&quot;&gt; &lt;li&gt;&lt;a href=&quot;images/contents/public_notices/<API key>/48.pdf&quot; target=&quot;_blank&quot;&gt;48 - Pumps &amp;amp; water purification equipments, Spares for water pumps and bearings&lt;br /&gt;[ PDF - 68 KB ]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;images/contents/public_notices/<API key>/49.pdf&quot; target=&quot;_blank&quot;&gt;49 - Hand Pumps and spares for hand pumps&lt;br /&gt;[ PDF - 57 KB ]&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;h4&gt;General Purpose&lt;/h4&gt; &lt;ul class=&quot;pdf&quot;&gt; &lt;li&gt;&lt;a href=&quot;images/contents/public_notices/<API key>/50.pdf&quot; target=&quot;_blank&quot;&gt;50 - Rubber Products - Packing, Rings, Hoses etc.&lt;br /&gt;[ PDF - 57 KB ]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;images/contents/public_notices/<API key>/51.pdf&quot; target=&quot;_blank&quot;&gt;51 - Textile - Uniform Materials, Dusters &amp;amp; Towels&lt;br /&gt;[ PDF - 58 KB ]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;images/contents/public_notices/<API key>/52.pdf&quot; target=&quot;_blank&quot;&gt;52 - Toiletries (Soap, Disinfectants, etc.)&lt;br /&gt;[ PDF - 54 KB ]&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;h4&gt;Furniture &amp;amp; Fittings&lt;/h4&gt; &lt;ul class=&quot;pdf&quot;&gt; &lt;li&gt;&lt;a href=&quot;images/contents/public_notices/<API key>/53.pdf&quot; target=&quot;_blank&quot;&gt;53 - Furniture (Wooden) - Tables/Chairs/ Cupboard/ File Racks etc.&lt;br /&gt;[ PDF - 60 KB ]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;images/contents/public_notices/<API key>/54.pdf&quot; target=&quot;_blank&quot;&gt;54 - Furniture (Steel, Plastic &amp;amp; Fiber Glass) - Tables/Chairs, Cupboards/Cabinets etc.&lt;br /&gt;[ PDF - 58 KB ]&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;h4&gt;Services&lt;/h4&gt; &lt;ul class=&quot;pdf&quot;&gt; &lt;li&gt;&lt;a href=&quot;images/contents/public_notices/<API key>/55.pdf&quot; target=&quot;_blank&quot;&gt;55 - Building Construction/ Repair/ Maintenance Work&lt;br /&gt;[ PDF - 68 KB ]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;images/contents/public_notices/<API key>/56.pdf&quot; target=&quot;_blank&quot;&gt;56 - Name Board Printing&lt;br /&gt;[ PDF - 57 KB ]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;images/contents/public_notices/<API key>/57.pdf&quot; target=&quot;_blank&quot;&gt;57 - Welding Works&lt;br /&gt;[ PDF - 57 KB ]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;images/contents/public_notices/<API key>/58.pdf&quot; target=&quot;_blank&quot;&gt;58 - Painting and Interior Decor&lt;br /&gt;[ PDF - 61 KB ]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;images/contents/public_notices/<API key>/59.pdf&quot; target=&quot;_blank&quot;&gt;59 - Light Weight Aluminum works (Partition work, Exterior Cladding Work, Enclosures, Doors, Windows etc.)&lt;br /&gt;[ PDF - 60 KB ]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;images/contents/public_notices/<API key>/60.pdf&quot; target=&quot;_blank&quot;&gt;60 - Hiring of Passenger Vehicles&lt;br /&gt;[ PDF - 53 KB ]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;images/contents/public_notices/<API key>/61.pdf&quot; target=&quot;_blank&quot;&gt;61 - Hire of Heavy Machinery (Back-hoes, Bull-dozers, Water bowsers)&lt;br /&gt;[ PDF - 55 KB ]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;images/contents/public_notices/<API key>/62.pdf&quot; target=&quot;_blank&quot;&gt;62 - Printing of Water Bills etc.&lt;br /&gt;[ PDF - 57 KB ]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;images/contents/public_notices/<API key>/63.pdf&quot; target=&quot;_blank&quot;&gt;63 - Printing and Allied Services&lt;br /&gt;[ PDF - 67 KB ]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;images/contents/public_notices/<API key>/64.pdf&quot; target=&quot;_blank&quot;&gt;64 - Supply of Labour&lt;br /&gt;[ PDF - 54 KB ]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;images/contents/public_notices/<API key>/65.pdf&quot; target=&quot;_blank&quot;&gt;65 - Surveying (Services)&lt;br /&gt;[ PDF - 56 KB ]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;images/contents/public_notices/<API key>/66.pdf&quot; target=&quot;_blank&quot;&gt;66 - Civil Engineering Works (Laying of pipes in water supply &amp;amp; sewerage works, Construction of roads)&lt;br /&gt;[ PDF - 63 KB ]&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;images/contents/public_notices/<API key>/67.pdf&quot; target=&quot;_blank&quot;&gt;67 - Vehicles Repairs &amp;amp; Services&lt;br /&gt;[ PDF - 71 KB ]&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;h4&gt;Rules and Regulations&lt;/h4&gt; &lt;ul class=&quot;word&quot;&gt; &lt;li&gt;&lt;a href=&quot;images/contents/public_notices/<API key>/<API key>.docx&quot;&gt;Rules and Regulations&lt;br /&gt;[ DOC - 22 KB ]&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt;</content> <category term="Public Notices" /> </entry> <entry> <title>Vacancies</title> <link rel="alternate" type="text/html" href="http://waterboard.lk/web/index.php?option=com_content&amp;view=article&amp;id=41&amp;catid=14&amp;Itemid=200&amp;lang=en"/> <published>2014-08-18T00:17:02+00:00</published> <updated>2014-08-18T00:17:02+00:00</updated> <id>http://waterboard.lk/web/index.php?option=com_content&amp;view=article&amp;id=41&amp;catid=14&amp;Itemid=200&amp;lang=en</id> <author> <name>piyo</name> <email>test@maoil.com</email> </author> <summary type="html">&lt;h4 class=&quot;r&quot; style=&quot;font-size: medium; font-weight: normal; margin: 0px; padding: 0px; overflow: hidden; white-space: nowrap; color: &lt;p&gt;&amp;nbsp;&lt;/p&gt;</summary> <content type="html">&lt;h4 class=&quot;r&quot; style=&quot;font-size: medium; font-weight: normal; margin: 0px; padding: 0px; overflow: hidden; white-space: nowrap; color: &lt;p&gt;&amp;nbsp;&lt;/p&gt;</content> <category term="Public Notices" /> </entry> <entry> <title>General Notices</title> <link rel="alternate" type="text/html" href="http://waterboard.lk/web/index.php?option=com_content&amp;view=article&amp;id=39&amp;catid=14&amp;Itemid=198&amp;lang=en"/> <published>2014-08-18T00:15:50+00:00</published> <updated>2014-08-18T00:15:50+00:00</updated> <id>http://waterboard.lk/web/index.php?option=com_content&amp;view=article&amp;id=39&amp;catid=14&amp;Itemid=198&amp;lang=en</id> <author> <name>piyo</name> <email>test@maoil.com</email> </author> <summary type="html">&lt;p&gt;No notices at the moment. Please check back frequently to catch important notices!&lt;/p&gt;</summary> <content type="html">&lt;p&gt;No notices at the moment. Please check back frequently to catch important notices!&lt;/p&gt;</content> <category term="Public Notices" /> </entry> </feed>
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/<API key>.proto package com.google.spanner.admin.instance.v1; public interface <API key> extends // @@<API key>(interface_extends:google.spanner.admin.instance.v1.<API key>) com.google.protobuf.MessageOrBuilder { /** * * * <pre> * Required. The name of the project for which a list of instances is * requested. Values are of the form `projects/&lt;project&gt;`. * </pre> * * <code>string parent = 1;</code> */ java.lang.String getParent(); /** * * * <pre> * Required. The name of the project for which a list of instances is * requested. Values are of the form `projects/&lt;project&gt;`. * </pre> * * <code>string parent = 1;</code> */ com.google.protobuf.ByteString getParentBytes(); /** * * * <pre> * Number of instances to be returned in the response. If 0 or less, defaults * to the server's maximum allowed page size. * </pre> * * <code>int32 page_size = 2;</code> */ int getPageSize(); /** * * * <pre> * If non-empty, `page_token` should contain a * [next_page_token][google.spanner.admin.instance.v1.<API key>.next_page_token] * from a previous * [<API key>][google.spanner.admin.instance.v1.<API key>]. * </pre> * * <code>string page_token = 3;</code> */ java.lang.String getPageToken(); /** * * * <pre> * If non-empty, `page_token` should contain a * [next_page_token][google.spanner.admin.instance.v1.<API key>.next_page_token] * from a previous * [<API key>][google.spanner.admin.instance.v1.<API key>]. * </pre> * * <code>string page_token = 3;</code> */ com.google.protobuf.ByteString getPageTokenBytes(); /** * * * <pre> * An expression for filtering the results of the request. Filter rules are * case insensitive. The fields eligible for filtering are: * * `name` * * `display_name` * * `labels.key` where key is the name of a label * Some examples of using filters are: * * `name:*` --&gt; The instance has a name. * * `name:Howl` --&gt; The instance's name contains the string "howl". * * `name:HOWL` --&gt; Equivalent to above. * * `NAME:howl` --&gt; Equivalent to above. * * `labels.env:*` --&gt; The instance has the label "env". * * `labels.env:dev` --&gt; The instance has the label "env" and the value of * the label contains the string "dev". * * `name:howl labels.env:dev` --&gt; The instance's name contains "howl" and * it has the label "env" with its value * containing "dev". * </pre> * * <code>string filter = 4;</code> */ java.lang.String getFilter(); /** * * * <pre> * An expression for filtering the results of the request. Filter rules are * case insensitive. The fields eligible for filtering are: * * `name` * * `display_name` * * `labels.key` where key is the name of a label * Some examples of using filters are: * * `name:*` --&gt; The instance has a name. * * `name:Howl` --&gt; The instance's name contains the string "howl". * * `name:HOWL` --&gt; Equivalent to above. * * `NAME:howl` --&gt; Equivalent to above. * * `labels.env:*` --&gt; The instance has the label "env". * * `labels.env:dev` --&gt; The instance has the label "env" and the value of * the label contains the string "dev". * * `name:howl labels.env:dev` --&gt; The instance's name contains "howl" and * it has the label "env" with its value * containing "dev". * </pre> * * <code>string filter = 4;</code> */ com.google.protobuf.ByteString getFilterBytes(); }
using AppStudio.Common.Navigation; using AppStudio.DataProviders; using AppStudio.DataProviders.Core; using AppStudio.DataProviders.LocalStorage; using AppStudio.DataProviders.Menu; using <API key>.Config; using <API key>.ViewModels; namespace <API key>.Sections { public class AboutConfig : SectionConfigBase<<API key>, MenuSchema> { public override DataProviderBase<<API key>, MenuSchema> DataProvider { get { return new <API key><MenuSchema>(); } } public override <API key> Config { get { return new <API key> { FilePath = "/Assets/Data/About.json" }; } } public override NavigationInfo ListNavigationInfo { get { return NavigationInfo.FromPage("AboutListPage"); } } public override ListPageConfig<MenuSchema> ListPage { get { return new ListPageConfig<MenuSchema> { Title = "About", LayoutBindings = (viewModel, item) => { viewModel.Title = item.Title; viewModel.Image = item.Icon; }, NavigationInfo = (item) => { return item.ToNavigationInfo(); } }; } } public override DetailPageConfig<MenuSchema> DetailPage { get { return null; } } public override string PageTitle { get { return "About"; } } } }
package ch.furthermore.demo.st; import java.util.logging.Logger; import javax.annotation.PostConstruct; import org.springframework.stereotype.Component; import com.amazonaws.ClientConfiguration; import com.amazonaws.auth.AWSCredentials; import com.amazonaws.auth.BasicAWSCredentials; import com.amazonaws.geo.GeoDataManager; import com.amazonaws.geo.<API key>; import com.amazonaws.regions.Region; import com.amazonaws.regions.Regions; import com.amazonaws.services.dynamodbv2.<API key>; @Component public class <API key> { private final static Logger logger = Logger.getLogger(<API key>.class.getName()); private <API key> ddb; @PostConstruct public void createDynamoClient() { String regionName = System.getProperty("PARAM1", ""); ClientConfiguration clientConfiguration = new ClientConfiguration().withMaxErrorRetry(20); if ("".equals(regionName)) { //shall use dynamo mock? AWSCredentials credentials = new BasicAWSCredentials("fakeAccessKey", "fakeSecretKey"); ddb = new <API key>(credentials, clientConfiguration); ddb.setEndpoint("http://localhost:8000"); logger.info("DynamoDB client initialized for localhost mock"); //TODO remove DEBUG code } else { //shall use instance role credentials and production dynamo? ddb = new <API key>(clientConfiguration); //expects instance role! Region region = Region.getRegion(Regions.fromName(regionName)); ddb.setRegion(region); logger.info("DynamoDB client initialized for region: " + region); //TODO remove DEBUG code } } public DynamoGeoService <API key>(String tableName) { <API key> config = new <API key>(ddb, tableName); return new DynamoGeoService(new GeoDataManager(config)); } }
@charset "utf-8"; /* CSS Document */ #tag_home,#tag_banner,#tag_content,#tag_footer{margin:auto 0px;width:980px;} .tag_main{float:left;display:block;width:730px;padding-left:8px;padding-right:8px;border-right:#DED4D4 solid 1px;} .tag_type{float:left;width:210px;display:block;margin-left:20px;}
package com.baidu.beidou.navi.client.ha; import java.lang.reflect.Method; import java.util.List; import java.util.Random; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.baidu.beidou.navi.client.NaviRpcClient; import com.baidu.beidou.navi.client.attachment.Attachment; import com.baidu.beidou.navi.exception.rpc.HARpcException; import com.baidu.beidou.navi.exception.rpc.RpcException; import com.baidu.beidou.navi.util.Preconditions; /** * ClassName: <API key> <br/> * Function: * * @author Zhang Xu */ public class <API key> implements LoadBalanceStrategy { private static final Logger LOG = LoggerFactory.getLogger(<API key>.class); private Random randomer = new Random(); private FailStrategy failStrategy; /** * Creates a new instance of <API key>. */ public <API key>() { } /** * Creates a new instance of <API key>. * * @param failStrategy */ public <API key>(FailStrategy failStrategy) { this.failStrategy = failStrategy; } /** * @see com.baidu.beidou.navi.client.ha.LoadBalanceStrategy#transport(java.util.List, java.lang.reflect.Method, * java.lang.Object[]) */ @Override public Object transport(List<NaviRpcClient> clientList, Method method, Object[] args) throws Throwable { return transport(clientList, method, args, null); } /** * @see com.baidu.beidou.navi.client.ha.LoadBalanceStrategy#transport(java.util.List, java.lang.reflect.Method, * java.lang.Object[], com.baidu.beidou.navi.client.attachment.Attachment) */ @Override public Object transport(List<NaviRpcClient> clientList, Method method, Object[] args, Attachment attachment) throws Throwable { Preconditions.checkState(failStrategy != null, "fail strategy is not configured"); int clientSize = clientList.size(); for (int currRetry = 0; currRetry < failStrategy.getMaxRetryTimes() && currRetry < clientSize;) { int index = randomer.nextInt(clientSize); NaviRpcClient client = clientList.get(index); try { if (LOG.isDebugEnabled()) { LOG.debug("Call on " + client.getInfo() + " starts..."); } return client.transport(method, args, attachment); } catch (RpcException e) { LOG.error("Call on " + client.getInfo() + " failed due to " + e.getMessage(), e); if (failStrategy.isQuitImmediately(currRetry, clientSize)) { throw e; } LOG.info("Fail over to next if available..."); continue; } finally { currRetry++; } } throw new HARpcException("Failed to transport on all clients"); } }
package group.project.unknown.utils; public class Utils { public static boolean areAllTrue(boolean[] array) { for(boolean b : array) { if (!b) return false; } return true; } public static boolean areAllFalse(boolean[] array) { for (boolean b : array) { if (b) return false; } return true; } }
package com.juanocampo.test.appstoretest.ui.activities; import android.os.Bundle; import android.support.design.widget.<API key>; import android.support.design.widget.Snackbar; import android.view.View; import android.support.design.widget.NavigationView; import android.support.v4.view.GravityCompat; import android.support.v4.widget.DrawerLayout; import android.support.v7.app.<API key>; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.Toolbar; import android.view.Menu; import android.view.MenuItem; import android.widget.ImageView; import android.widget.Toast; import com.juanocampo.test.appstoretest.R; import com.juanocampo.test.appstoretest.util.AnimationsCommons; import com.juanocampo.test.appstoretest.util.<API key>; import com.squareup.picasso.Picasso; public class MainActivity extends ActivityBase implements NavigationView.<API key> { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar); setSupportActionBar(toolbar); //Snackbar.make(view, "Replace with your own action", Snackbar.LENGTH_LONG) // .setAction("Action", null).show(); DrawerLayout drawer = (DrawerLayout) findViewById(R.id.drawer_layout); <API key> toggle = new <API key>( this, drawer, toolbar, R.string.<API key>, R.string.<API key>); drawer.setDrawerListener(toggle); toggle.syncState(); NavigationView navigationView = (NavigationView) findViewById(R.id.nav_view); navigationView.<API key>(this); drawer.addDrawerListener(new DrawerLayout.DrawerListener() { @Override public void onDrawerSlide(View drawerView, float slideOffset) { } @Override public void onDrawerOpened(View drawerView) { ImageView imageView = (ImageView) drawerView.findViewById(R.id.imageView); String ownPic = "https://media.licdn.com/mpr/mpr/shrinknp_200_200/<API key>.jpg"; Picasso.with(MainActivity.this).load(ownPic).transform(AnimationsCommons.<API key>()).into(imageView); } @Override public void onDrawerClosed(View drawerView) { } @Override public void <API key>(int newState) { } }); } @Override public void onBackPressed() { DrawerLayout drawer = (DrawerLayout) findViewById(R.id.drawer_layout); if (drawer.isDrawerOpen(GravityCompat.START)) { drawer.closeDrawer(GravityCompat.START); } else { super.onBackPressed(); } } @Override public boolean onCreateOptionsMenu(Menu menu) { // Inflate the menu; this adds items to the action bar if it is present. getMenuInflater().inflate(R.menu.main, menu); return true; } @Override public boolean <API key>(MenuItem item) { // Handle action bar item clicks here. The action bar will // automatically handle clicks on the Home/Up button, so long // as you specify a parent activity in AndroidManifest.xml. int id = item.getItemId(); //noinspection <API key> if (id == R.id.action_settings) { return true; } return super.<API key>(item); } @SuppressWarnings("<API key>") @Override public boolean <API key>(MenuItem item) { // Handle navigation view item clicks here. int id = item.getItemId(); if (id == R.id.nav_manage) { <API key> mem = new <API key>(this); mem.clearAllData(); Toast.makeText(this, "Cached data has been erased", Toast.LENGTH_SHORT).show(); } DrawerLayout drawer = (DrawerLayout) findViewById(R.id.drawer_layout); drawer.closeDrawer(GravityCompat.START); return true; } }
namespace Sherlock.Shared.DataAccess { <summary> Defines the interface for objects that provide access to a testing context. </summary> public interface <API key> : IProvideTestContext, <API key> { } }
#include "drape_frontend/poi_symbol_shape.hpp" #include "drape_frontend/color_constants.hpp" #include "drape_frontend/shader_def.hpp" #include "drape/attribute_provider.hpp" #include "drape/batcher.hpp" #include "drape/texture_manager.hpp" #include "drape/utils/vertex_decl.hpp" #include <utility> namespace { df::ColorConstant const <API key> = "PoiDeletedMask"; using SV = gpu::<API key>; using MV = gpu::<API key>; glsl::vec2 ShiftNormal(glsl::vec2 const & n, df::PoiSymbolViewParams const & params, m2::PointF const & pixelSize) { glsl::vec2 result = n + glsl::vec2(params.m_offset.x, params.m_offset.y); m2::PointF const halfPixelSize = pixelSize * 0.5f; if (params.m_anchor & dp::Top) result.y += halfPixelSize.y; else if (params.m_anchor & dp::Bottom) result.y -= halfPixelSize.y; if (params.m_anchor & dp::Left) result.x += halfPixelSize.x; else if (params.m_anchor & dp::Right) result.x -= halfPixelSize.x; return result; } template<typename TVertex> void Batch(ref_ptr<dp::Batcher> batcher, drape_ptr<dp::OverlayHandle> && handle, glsl::vec4 const & position, df::PoiSymbolViewParams const & params, dp::TextureManager::SymbolRegion const & symbolRegion, dp::TextureManager::ColorRegion const & colorRegion) { ASSERT(0, ("Can not be used without specialization")); } template<> void Batch<SV>(ref_ptr<dp::Batcher> batcher, drape_ptr<dp::OverlayHandle> && handle, glsl::vec4 const & position, df::PoiSymbolViewParams const & params, dp::TextureManager::SymbolRegion const & symbolRegion, dp::TextureManager::ColorRegion const & colorRegion) { m2::PointF const pixelSize = symbolRegion.GetPixelSize(); m2::PointF const halfSize(pixelSize.x * 0.5f, pixelSize.y * 0.5f); m2::RectF const & texRect = symbolRegion.GetTexRect(); SV vertexes[] = { SV{ position, ShiftNormal(glsl::vec2(-halfSize.x, halfSize.y), params, pixelSize), glsl::vec2(texRect.minX(), texRect.maxY()) }, SV{ position, ShiftNormal(glsl::vec2(-halfSize.x, -halfSize.y), params, pixelSize), glsl::vec2(texRect.minX(), texRect.minY()) }, SV{ position, ShiftNormal(glsl::vec2(halfSize.x, halfSize.y), params, pixelSize), glsl::vec2(texRect.maxX(), texRect.maxY()) }, SV{ position, ShiftNormal(glsl::vec2(halfSize.x, -halfSize.y), params, pixelSize), glsl::vec2(texRect.maxX(), texRect.minY()) }, }; auto state = df::CreateGLState(gpu::TEXTURING_PROGRAM, params.m_depthLayer); state.SetProgram3dIndex(gpu::<API key>); state.SetColorTexture(symbolRegion.GetTexture()); state.SetTextureFilter(gl_const::GLNearest); dp::AttributeProvider provider(1 /* streamCount */, ARRAY_SIZE(vertexes)); provider.InitStream(0 /* streamIndex */, SV::GetBindingInfo(), make_ref(vertexes)); batcher->InsertTriangleStrip(state, make_ref(&provider), move(handle)); } template<> void Batch<MV>(ref_ptr<dp::Batcher> batcher, drape_ptr<dp::OverlayHandle> && handle, glsl::vec4 const & position, df::PoiSymbolViewParams const & params, dp::TextureManager::SymbolRegion const & symbolRegion, dp::TextureManager::ColorRegion const & colorRegion) { m2::PointF const pixelSize = symbolRegion.GetPixelSize(); m2::PointF const halfSize(pixelSize.x * 0.5f, pixelSize.y * 0.5f); m2::RectF const & texRect = symbolRegion.GetTexRect(); glsl::vec2 const maskColorCoords = glsl::ToVec2(colorRegion.GetTexRect().Center()); MV vertexes[] = { MV{ position, ShiftNormal(glsl::vec2(-halfSize.x, halfSize.y), params, pixelSize), glsl::vec2(texRect.minX(), texRect.maxY()), maskColorCoords }, MV{ position, ShiftNormal(glsl::vec2(-halfSize.x, -halfSize.y), params, pixelSize), glsl::vec2(texRect.minX(), texRect.minY()), maskColorCoords }, MV{ position, ShiftNormal(glsl::vec2(halfSize.x, halfSize.y), params, pixelSize), glsl::vec2(texRect.maxX(), texRect.maxY()), maskColorCoords }, MV{ position, ShiftNormal(glsl::vec2(halfSize.x, -halfSize.y), params, pixelSize), glsl::vec2(texRect.maxX(), texRect.minY()), maskColorCoords }, }; auto state = df::CreateGLState(gpu::<API key>, params.m_depthLayer); state.SetProgram3dIndex(gpu::<API key>); state.SetColorTexture(symbolRegion.GetTexture()); state.SetMaskTexture(colorRegion.GetTexture()); // Here mask is a color. state.SetTextureFilter(gl_const::GLNearest); dp::AttributeProvider provider(1 /* streamCount */, ARRAY_SIZE(vertexes)); provider.InitStream(0 /* streamIndex */, MV::GetBindingInfo(), make_ref(vertexes)); batcher->InsertTriangleStrip(state, make_ref(&provider), move(handle)); } } // namespace namespace df { PoiSymbolShape::PoiSymbolShape(m2::PointD const & mercatorPt, PoiSymbolViewParams const & params, TileKey const & tileKey, uint32_t textIndex) : m_pt(mercatorPt) , m_params(params) , m_tileCoords(tileKey.GetTileCoords()) , m_textIndex(textIndex) {} void PoiSymbolShape::Draw(ref_ptr<dp::Batcher> batcher, ref_ptr<dp::TextureManager> textures) const { dp::TextureManager::SymbolRegion region; textures->GetSymbolRegion(m_params.m_symbolName, region); glsl::vec2 const pt = glsl::ToVec2(ConvertToLocal(m_pt, m_params.m_tileCenter, kShapeCoordScalar)); glsl::vec4 const position = glsl::vec4(pt, m_params.m_depth, -m_params.m_posZ); m2::PointF const pixelSize = region.GetPixelSize(); if (m_params.m_obsoleteInEditor) { dp::TextureManager::ColorRegion maskColorRegion; textures->GetColorRegion(df::GetColorConstant(<API key>), maskColorRegion); Batch<MV>(batcher, CreateOverlayHandle(pixelSize), position, m_params, region, maskColorRegion); } else { Batch<SV>(batcher, CreateOverlayHandle(pixelSize), position, m_params, region, dp::TextureManager::ColorRegion()); } } drape_ptr<dp::OverlayHandle> PoiSymbolShape::CreateOverlayHandle(m2::PointF const & pixelSize) const { dp::OverlayID overlayId = dp::OverlayID(m_params.m_id, m_tileCoords, m_textIndex); drape_ptr<dp::OverlayHandle> handle = make_unique_dp<dp::SquareHandle>(overlayId, m_params.m_anchor, m_pt, pixelSize, m_params.m_offset, GetOverlayPriority(), true /* isBound */, m_params.m_symbolName, true /* isBillboard */); handle->SetPivotZ(m_params.m_posZ); handle->SetExtendingSize(m_params.m_extendingSize); if (m_params.<API key> == SpecialDisplacement::UserMark) handle->SetUserMarkOverlay(true); return handle; } uint64_t PoiSymbolShape::GetOverlayPriority() const { // Set up maximum priority for some POI. if (m_params.m_prioritized) return dp::kPriorityMaskAll; // Special displacement mode. if (m_params.<API key> == SpecialDisplacement::SpecialMode) return dp::<API key>(m_params.m_specialPriority); if (m_params.<API key> == SpecialDisplacement::UserMark) return dp::<API key>(m_params.m_minVisibleScale, m_params.m_specialPriority); // Set up minimal priority for shapes which belong to areas. if (m_params.m_hasArea) return 0; return dp::<API key>(m_params.m_minVisibleScale, m_params.m_rank, m_params.m_depth); } } // namespace df
package com.antonioleiva.sunmoonstar; import android.app.Dialog; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.net.ConnectivityManager; import android.net.wifi.ScanResult; import android.net.wifi.WifiConfiguration; import android.net.wifi.WifiManager; import android.os.Bundle; import android.os.CountDownTimer; import android.text.TextUtils; import android.util.Log; import android.view.LayoutInflater; import android.view.MenuItem; import android.view.View; import android.view.WindowManager; import android.widget.AdapterView; import android.widget.Button; import android.widget.EditText; import android.widget.ListView; import android.widget.TextView; import android.widget.Toast; import com.antonioeiva.sunmoonstar.adapter.WiFiScanAdapter; import com.general.AppPrefrence; import com.general.DensityConvert; import java.util.HashMap; import java.util.List; public class Add_DeviceActivity extends BaseActivtiy { private String mBackClassName = null; private String mNowClassName = null; private WifiManager mWifiManger = null; private List<ScanResult> mWifiResult = null; private WifiScanReceiver mWifiScanReceiver = null; private WifiChangeReceiver mWifiChangeReceiver = null; private CountDownTimer mWiFiCountDownTimer = null; private HashMap<String, ScanResult> mWiFiMap = null; private ListView lvWifiScan = null; private ScanResult mScanResult = null; private Button btnNextStep = null; private boolean isFirstScan = true; private WifiConfiguration mWifiConfiguration = null; private WifiConfiguration mOriginWifiConfig = null; private boolean isConnectSuccess = false; private boolean isRollBack = false; private Context mContext = null; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.<API key>); findViews(); setUIfuntion(); initValues(); callApiMethod(); setActionBarForBack(mNowClassName, mBackClassName); } @Override void findViews() { lvWifiScan = (ListView) findViewById(R.id.listWifiScan); btnNextStep = (Button) findViewById(R.id.btnNextStep); } @Override void setUIfuntion() { btnNextStep.setOnClickListener(new NextStepClick()); } @Override void initValues() { mContext = Add_DeviceActivity.this; mBackClassName = getBackClassName(); mNowClassName = getNowClassName(); mWifiManger = (WifiManager) getSystemService(Context.WIFI_SERVICE); List<WifiConfiguration> <API key> = mWifiManger.<API key>(); // Log.e("mWifiManger.isWifiEnabled()", "wifiEnabled:" + mWifiManger.isWifiEnabled()); if (!mWifiManger.isWifiEnabled()) { Toast.makeText(this, getString(R.string.open_wifi), Toast.LENGTH_SHORT).show(); startActivity(new Intent(android.provider.Settings.<API key>)); <API key>(R.anim.in_from_right, R.anim.out_to_left); } else { for (int i = 0; i < <API key>.size(); i++) { if (mWifiManger.getConnectionInfo().getSSID().equals(<API key>.get(i).SSID)) { mOriginWifiConfig = <API key>.get(i); } } } mWifiScanReceiver = new WifiScanReceiver(); mWifiChangeReceiver = new WifiChangeReceiver(); } @Override void callApiMethod() { } @Override protected void onResume() { super.onResume(); isFirstScan = true; //isRollBack = false; registerReceiver(mWifiScanReceiver, new IntentFilter( WifiManager.<API key>)); IntentFilter filter = new IntentFilter(); filter.addAction(WifiManager.<API key>); filter.addAction(ConnectivityManager.CONNECTIVITY_ACTION); registerReceiver(mWifiChangeReceiver, filter); if (!mWifiManger.isWifiEnabled()) { Toast.makeText(this, getString(R.string.open_wifi), Toast.LENGTH_SHORT).show(); startActivity(new Intent(android.provider.Settings.<API key>)); <API key>(R.anim.in_from_right, R.anim.out_to_left); } else { boolean mSuccess = false; mSuccess = mWifiManger.startScan(); // Log.e("WifiChangeReceiver", "scan result :" + mSuccess); showProgressDialog("Scan WiFi..."); } } @Override protected void onPause() { super.onPause(); <API key>(); unregisterReceiver(mWifiScanReceiver); unregisterReceiver(mWifiChangeReceiver); } @Override public boolean <API key>(MenuItem item) { switch (item.getItemId()) { case android.R.id.home: onBackPressed(); return true; } return super.<API key>(item); } /** * after scaning the wifi , the receiver can receive "WifiManager.<API key>" */ class WifiScanReceiver extends BroadcastReceiver { @Override public void onReceive(Context context, Intent intent) { // TODO Auto-generated method stub // isFirstScan --> it ensures that receiver receives the broadcast once. if (isFirstScan) { <API key>(); mWiFiMap = new HashMap<String, ScanResult>(); mWifiResult = mWifiManger.getScanResults(); int mScanSize = mWifiResult.size(); String mSSID = null; int mRSSI = 0; for (int i = 0; i < mScanSize; i++) { if (mWifiResult.get(i).SSID.length() > 6 && mWifiResult.get(i).SSID.substring(0, 6).equals("iBadge")) { mSSID = mWifiResult.get(i).SSID; mRSSI = mWifiResult.get(i).level; /** * mWiFiMap only saves the wifi result that have the better level(RSSI) */ if (!mWiFiMap.containsKey(mSSID)) { mWiFiMap.put(mSSID, mWifiResult.get(i)); } else { if (mWiFiMap.get(mSSID).level > mRSSI) { mWiFiMap.put(mSSID, mWifiResult.get(i)); } } } } lvWifiScan.setAdapter(new WiFiScanAdapter(Add_DeviceActivity.this, mWiFiMap)); lvWifiScan.<API key>(new <API key>()); isFirstScan = false; } } } class WifiChangeReceiver extends BroadcastReceiver { @Override public void onReceive(Context context, Intent intent) { // TODO Auto-generated method if (intent.getAction().equals(WifiManager.<API key>)) { int wifiState = intent.getIntExtra(WifiManager.EXTRA_WIFI_STATE, 0); switch (wifiState) { case WifiManager.WIFI_STATE_DISABLED: <API key>(); showDialogOK("WiFi disconnect", "Please check your wifi"); break; case WifiManager.WIFI_STATE_ENABLED: showProgressDialog("Scan WiFi..."); break; } } /** * the receiver can receive "android.net.conn.CONNECTIVITY_CHANGE" many times * and disconnect the original wifi in middle of changing new wifi. */ if (intent.getAction().equals("android.net.conn.CONNECTIVITY_CHANGE") && !isRollBack) { if (mScanResult != null) { Log.e("WifiChangeReceiver", " CONNECTIVITY_CHANGE want to connect SSID :" + AppPrefrence.getDeviceWiFiAP(mContext) + "connect ssid : " + mWifiManger.getConnectionInfo().getSSID() + " check wifi status : " + checkConnectState() + " ,isConnectSuccess :" + isConnectSuccess); if (mWifiManger.getConnectionInfo().getSSID().equals("\"" + AppPrefrence.getDeviceWiFiAP(mContext) + "\"") && (checkConnectState() == 2 || checkConnectState() == 0) && !isConnectSuccess) { showDialogOK("Connect " + mScanResult.SSID, "Success!"); if (mWiFiCountDownTimer != null) { mWiFiCountDownTimer.cancel(); } isConnectSuccess = true; <API key>(); } else if (!mWifiManger.getConnectionInfo().getSSID().equals("\"" + AppPrefrence.getDeviceWiFiAP(mContext) + "\"") && (checkConnectState() == 2 || checkConnectState() == 0)) { int res = mWifiManger.addNetwork(mWifiConfiguration); boolean mCheckConnect = mWifiManger.enableNetwork(res, true); } } } } } class <API key> implements AdapterView.OnItemClickListener { @Override public void onItemClick(AdapterView<?> parent, View view, int position, long id) { mScanResult = (ScanResult) parent.getItemAtPosition(position); // Log.e("SSID",mScanResult.SSID); // Log.e("SSID",mOriginWifiConfig.SSID); if (mOriginWifiConfig.SSID.equals("\"" + mScanResult.SSID + "\"")) { Toast.makeText(Add_DeviceActivity.this, "You have connected " + mScanResult.SSID + " already", Toast.LENGTH_LONG).show(); } else { mWifiConfiguration = new WifiConfiguration(); mWiFiCountDownTimer = new CountDownTimer(50000, 1000) { @Override public void onFinish() { // TODO Auto-generated method stub showDialogOK("Connect " + mScanResult.SSID, "Connect Time out"); <API key>(); } @Override public void onTick(long millisUntilFinished) { // TODO Auto-generated method stub Log.e("WifiChangeReceiver", "over time : " + millisUntilFinished / 1000); if (millisUntilFinished / 1000 < 15) { //recover to original wifi int res = mWifiManger.addNetwork(mOriginWifiConfig); boolean mCheckConnect = mWifiManger.enableNetwork(res, true); isRollBack = true; } } }; isConnectSuccess = false; isRollBack = false; if (mScanResult.capabilities.contains("WPA2") || mScanResult.capabilities.contains("WPS")) { /** * the [WPA2] indicates that it needs to key the password of the wifi. * shows the dialog and asks the user to key the password. */ final Dialog mDialog = new Dialog(Add_DeviceActivity.this, R.style.MessageDialog); View mView = LayoutInflater.from(Add_DeviceActivity.this).inflate(R.layout.wifi_pw_layout, null); WindowManager.LayoutParams mDialogParams = new WindowManager.LayoutParams(); mDialogParams.copyFrom(mDialog.getWindow().getAttributes()); mDialogParams.width = (int) ((720 * DensityConvert.mMagnificationWidth) * 0.9f); mDialogParams.height = WindowManager.LayoutParams.WRAP_CONTENT; mDialog.setContentView(mView, mDialogParams); TextView txtDialogTitle = (TextView) mDialog.findViewById(R.id.txtDialogTitle); final EditText txtWiFiPW = (EditText) mDialog.findViewById(R.id.txtWiFiPW); Button btnWiFiPW = (Button) mDialog.findViewById(R.id.btnWiFiPW); txtDialogTitle.setText("The Password of " + mScanResult.SSID); btnWiFiPW.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { if (TextUtils.isEmpty(txtWiFiPW.getText().toString())) { txtWiFiPW.setError("Please key the Password"); } else { AppPrefrence.saveDeviceWiFiAP(mContext, mScanResult.SSID); AppPrefrence.saveDeviceWiFiAPPW(mContext, txtWiFiPW.getText().toString()); // mWifiConfiguration.SSID = "\"" + mScanResult.SSID + "\""; // mWifiConfiguration.preSharedKey = "\"" + txtWiFiPW.getText().toString() + "\""; // Log.e("WifiChangeReceiver", " the pw of wifi is " + mWifiConfiguration.preSharedKey); // mWifiConfiguration.<API key>.set(WifiConfiguration.AuthAlgorithm.OPEN); // mWifiConfiguration.allowedGroupCiphers.set(WifiConfiguration.GroupCipher.TKIP); // mWifiConfiguration.allowedGroupCiphers.set(WifiConfiguration.GroupCipher.CCMP); // mWifiConfiguration.<API key>.set(WifiConfiguration.KeyMgmt.WPA_PSK); // mWifiConfiguration.<API key>.set(WifiConfiguration.PairwiseCipher.TKIP); // mWifiConfiguration.<API key>.set(WifiConfiguration.PairwiseCipher.CCMP); // mWifiConfiguration.allowedProtocols.set(WifiConfiguration.Protocol.RSN); // mWifiConfiguration.status = WifiConfiguration.Status.ENABLED; mWifiConfiguration = getNewWiFiConfig(mScanResult.SSID, txtWiFiPW.getText().toString(), mScanResult.capabilities); int res = mWifiManger.addNetwork(mWifiConfiguration); boolean mCheckConnect = mWifiManger.enableNetwork(res, true); Log.e("WifiChangeReceiver", " connect SSID :" + mScanResult.SSID + " , PW:" + txtWiFiPW.getText().toString() + " , result :" + mCheckConnect); if (mCheckConnect == true) { mWifiManger.setWifiEnabled(true); showProgressDialog("Connect " + mScanResult.SSID + "..."); if (mWiFiCountDownTimer != null) { mWiFiCountDownTimer.cancel(); mWiFiCountDownTimer.start(); } } else { showDialogOK("Connect " + mScanResult.SSID, "Connect Failed..."); if (mWiFiCountDownTimer != null) { mWiFiCountDownTimer.cancel(); } <API key>(); } mDialog.dismiss(); } } }); mDialog.show(); } else { /** * the [EES] indicates that it does not need to key the password of the wifi */ AppPrefrence.saveDeviceWiFiAP(mContext, mScanResult.SSID); AppPrefrence.removeKey(mContext, "DEVICE_WIFI_AP_PW"); mWifiConfiguration = getNewWiFiConfig(mScanResult.SSID, "", mScanResult.capabilities); int res = mWifiManger.addNetwork(mWifiConfiguration); boolean mCheckConnect = mWifiManger.enableNetwork(res, true); if (mCheckConnect == true) { mWifiManger.setWifiEnabled(true); showProgressDialog("Connect " + mScanResult.SSID + "..."); if (mWiFiCountDownTimer != null) { mWiFiCountDownTimer.cancel(); mWiFiCountDownTimer.start(); } } else { showDialogOK("Connect " + mScanResult.SSID, "Connect Failed..."); if (mWiFiCountDownTimer != null) { mWiFiCountDownTimer.cancel(); } <API key>(); } } } } } private class NextStepClick implements View.OnClickListener { @Override public void onClick(View v) { //mWifiManger.getConnectionInfo().getSSID() = "iBadge.....",thus it needs to substring(1, 7) if (mWifiManger.getConnectionInfo().getSSID().length() > 7 && mWifiManger.getConnectionInfo().getSSID().substring(1, 7).equals("iBadge")) { replaceActivity(Add_DeviceActivity.this, <API key>.class); } else { Toast.makeText(Add_DeviceActivity.this, "Please choose <API key>…", Toast.LENGTH_LONG).show(); } } } }
#include "config.h" #include <stdarg.h> #include "windef.h" #include "winbase.h" #include "wine/debug.h" #include "winscard.h" #include "winternl.h" <API key>(winscard); static HANDLE g_startedEvent = NULL; const SCARD_IO_REQUEST g_rgSCardT0Pci = { SCARD_PROTOCOL_T0, 8 }; const SCARD_IO_REQUEST g_rgSCardT1Pci = { SCARD_PROTOCOL_T1, 8 }; const SCARD_IO_REQUEST g_rgSCardRawPci = { SCARD_PROTOCOL_RAW, 8 }; BOOL WINAPI DllMain (HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) { TRACE("%p,%x,%p\n", hinstDLL, fdwReason, lpvReserved); switch (fdwReason) { case DLL_PROCESS_ATTACH: <API key>(hinstDLL); /* FIXME: for now, we act as if the pcsc daemon is always started */ g_startedEvent = CreateEventA(NULL,TRUE,TRUE,NULL); break; case DLL_PROCESS_DETACH: if (lpvReserved) break; CloseHandle(g_startedEvent); break; } return TRUE; } HANDLE WINAPI <API key>(void) { return g_startedEvent; } LONG WINAPI <API key>(SCARDCONTEXT context, LPCSTR reader, LPCSTR group) { LONG retval; UNICODE_STRING readerW, groupW; if(reader) <API key>(&readerW,reader); else readerW.Buffer = NULL; if(group) <API key>(&groupW,group); else groupW.Buffer = NULL; retval = <API key>(context, readerW.Buffer, groupW.Buffer); <API key>(&readerW); <API key>(&groupW); return retval; } LONG WINAPI <API key>(SCARDCONTEXT context, LPCWSTR reader, LPCWSTR group) { FIXME("%x %s %s\n", (unsigned int) context, debugstr_w(reader), debugstr_w(group)); return SCARD_S_SUCCESS; } LONG WINAPI <API key>(DWORD dwScope, LPCVOID pvReserved1, LPCVOID pvReserved2, LPSCARDCONTEXT phContext) { FIXME("(%x,%p,%p,%p) stub\n", dwScope, pvReserved1, pvReserved2, phContext); SetLastError(<API key>); return <API key>; } LONG WINAPI SCardIsValidContext(SCARDCONTEXT context) { FIXME("(%lx) stub\n", context); SetLastError(<API key>); return <API key>; } LONG WINAPI SCardListCardsA(SCARDCONTEXT hContext, LPCBYTE pbAtr, LPCGUID rgguidInterfaces, DWORD cguidInterfaceCount, LPSTR mszCards, LPDWORD pcchCards) { FIXME(": stub\n"); SetLastError(<API key>); return <API key>; } LONG WINAPI SCardReleaseContext(SCARDCONTEXT context) { FIXME("(%lx) stub\n", context); SetLastError(<API key>); return <API key>; } LONG WINAPI SCardStatusA(SCARDHANDLE context, LPSTR szReaderName, LPDWORD pcchReaderLen, LPDWORD pdwState, LPDWORD pdwProtocol, LPBYTE pbAtr, LPDWORD pcbAtrLen) { FIXME("(%lx) stub\n", context); SetLastError(<API key>); return <API key>; } LONG WINAPI SCardStatusW(SCARDHANDLE context, LPWSTR szReaderName, LPDWORD pcchReaderLen, LPDWORD pdwState,LPDWORD pdwProtocol,LPBYTE pbAtr,LPDWORD pcbArtLen) { FIXME("(%lx) stub\n", context); SetLastError(<API key>); return <API key>; } void WINAPI <API key>(void) { FIXME("stub\n"); }
''' Download URA data. Update log: (date / version / author : comments) 2020-06-10 / 1.0.0 / Du Jiang : Creation ''' from com.djs.learn.ura import DownloadData __data_type = 0 __base_file_name = "URA_CondoEcTrans_M" argv = ["-d", __data_type] DownloadData.main(argv) ''' Or run: python DownloadData.py -d 0 ''' if __name__ == '__main__': pass
#import <Foundation/Foundation.h> #import <SystemConfiguration/SystemConfiguration.h> //! Project version number for MacOSReachability. FOUNDATION_EXPORT double <API key>; //! Project version string for MacOSReachability. FOUNDATION_EXPORT const unsigned char <API key>[]; #ifndef NS_ENUM #define NS_ENUM(_type, _name) enum _name : _type _name; enum _name : _type #endif extern NSString *const <API key>; typedef NS_ENUM(NSInteger, NetworkStatus) { // Apple NetworkStatus Compatible Names. NotReachable = 0, ReachableViaWiFi = 2, ReachableViaWWAN = 1 }; @class Reachability; typedef void (^NetworkReachable)(Reachability * reachability); typedef void (^NetworkUnreachable)(Reachability * reachability); typedef void (^NetworkReachability)(Reachability * reachability, <API key> flags); @interface Reachability : NSObject @property (nonatomic, copy) NetworkReachable reachableBlock; @property (nonatomic, copy) NetworkUnreachable unreachableBlock; @property (nonatomic, copy) NetworkReachability reachabilityBlock; @property (nonatomic, assign) BOOL reachableOnWWAN; +(instancetype)<API key>:(NSString*)hostname; // This is identical to the function above, but is here to maintain //compatibility with Apples original code. (see .m) +(instancetype)<API key>:(NSString*)hostname; +(instancetype)<API key>; +(instancetype)<API key>:(void *)hostAddress; +(instancetype)<API key>; -(instancetype)<API key>:(<API key>)ref; -(BOOL)startNotifier; -(void)stopNotifier; -(BOOL)isReachable; -(BOOL)isReachableViaWWAN; -(BOOL)isReachableViaWiFi; // WWAN may be available, but not active until a connection has been established. // WiFi may require a connection for VPN on Demand. -(BOOL)<API key>; // Identical DDG variant. -(BOOL)connectionRequired; // Apple's routine. // Dynamic, on demand connection? -(BOOL)<API key>; // Is user intervention required? -(BOOL)<API key>; -(NetworkStatus)<API key>; -(<API key>)reachabilityFlags; -(NSString*)<API key>; -(NSString*)<API key>; @end
# coding: utf-8 #!/usr/bin/env python from setuptools import setup, find_packages readme = open('README.rst').read() setup( name='wecha', version='${version}', description='', long_description=readme, author='the5fire', author_email='thefivefire@gmail.com', url='http://chat.the5fire.com', packages=['src',], package_data={
# Introduction # Omaha can be configured to produce a log. This page provides instructions for enabling the log and locating it. # Location # The log file location depends on the OS. * **Windows XP**: `C:\Documents and Settings\All Users\Application Data\Google\Update\Log` * **Windows Vista** and **Windows 7**: `C:\ProgramData\Google\Update\Log` # Enabling Logging on Production (opt-win) Builds # opt-win builds, such as the Google Update builds released to the public, support a limited set of logging (`OPT_LOG` statements in the code), which is disabled by default. To enable logging on these builds, create a file called `C:\GoogleUpdate.ini` with the following contents. [LoggingLevel] LC_OPT=1 [LoggingSettings] EnableLogging=1 # Enabling Logging on Debug Builds # Non-opt builds (dbg-win and coverage-win) allow provide much more logging and have level 3 enabled for all categories by default. The default logging can be modified by specifying an override in `C:\GoogleUpdate.ini`. Below is an example that overrides the default. [LoggingLevel] LC_CORE=5 LC_NET=4 LC_SERVICE=3 LC_SETUP=3 LC_SHELL=3 LC_UTIL=3 LC_OPT=3 LC_REPORT=3 [LoggingSettings] EnableLogging=1 MaxLogFileSize=10000000 ShowTime=1 LogToFile=1 AppendToFile=1 LogToStdOut=0 LogToOutputDebug=1 [DebugSettings] SkipServerReport=1 NoSendDumpToServer=1 NoSendStackToServer=1 # Log Size Limits # Omaha tries to archive the log when the log size is greater than 10 MB. When the log is in use by more than one instance of Omaha the archiving operation will fail. However, there is a 100 MB limit to how big the log can be to prevent overfilling the hard drive. When this limit is reached the log file is cleared and the logging starts from the beginning.
package com.allere.hibernate.entity.denpends; import javax.persistence.Embeddable; @Embeddable public class TeacherPK implements java.io.Serializable { private int id; private String name; public String getName() { return name; } public void setName(String name) { this.name = name; } public int getId() { return id; } public void setId(int id) { this.id = id; } @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; TeacherPK teacherPK = (TeacherPK) o; if (id != teacherPK.id) return false; return !(name != null ? !name.equals(teacherPK.name) : teacherPK.name != null); } @Override public int hashCode() { int result = id; result = 31 * result + (name != null ? name.hashCode() : 0); return result; } }
function grid200_700() { var old = document.getElementById("grid200_700"); var newVar = document.createElement("button"); var parent = old.parentNode; newVar.setAttribute("id","grid200_800"); newVar.setAttribute("dir","ltr"); newVar.setAttribute("type","button"); newVar.setAttribute("style","width:100px; height:100px; background-color:rgb(229,199,14); position:fixed; left:200px; top:800px; "); newVar.innerHTML=""; parent.replaceChild(newVar,old); }
--TEST swoole_http_server: parse request --SKIPIF <?php require __DIR__ . '/../include/skipif.inc'; ?> --FILE <?php require __DIR__ . '/../include/bootstrap.php'; use Swoole\Http\Request; $data = "GET /index.html?hello=world&test=2123 HTTP/1.1\r\n"; $data .= "Host: 127.0.0.1\r\n"; $data .= "Connection: keep-alive\r\n"; $data .= "Pragma: no-cache\r\n"; $data .= "Cache-Control: no-cache\r\n"; $data .= "<API key>: \r\n"; $data .= "User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36\r\n"; $data .= "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9\r\n"; $data .= "Accept-Encoding: gzip, deflate, br\r\n"; $data .= "Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,zh-TW;q=0.7,ja;q=0.6\r\n"; $data .= "Cookie: env=pretest; phpsessid=<API key>; username=hantianfeng\r\n"; $req = Request::create(); Assert::count($req->header, 0); Assert::false($req->isCompleted()); $data1 = substr($data, 0, rand(100, 600)); $data2 = substr($data, strlen($data1)); Assert::eq($req->parse($data1), strlen($data1)); Assert::false($req->isCompleted()); Assert::eq($req->parse($data2), strlen($data2)); Assert::false($req->isCompleted()); Assert::eq($req->parse("\r\n"), 2); Assert::true($req->isCompleted()); Assert::false($req->parse('error data')); Assert::eq("GET", $req->getMethod()); Assert::greaterThan(count($req->header), 4); Assert::eq(count($req->cookie), 3); Assert::eq($req->getData(), $data."\r\n"); $req2 = Request::create(['parse_cookie' => false]); Assert::eq($req2->parse($data . "\r\n"), strlen($data) + 2); Assert::null($req2->cookie); $data = "POST /index.html?hello=world&test=2123 HTTP/1.1\r\n"; $data .= "Host: 127.0.0.1\r\n"; $data .= "Connection: keep-alive\r\n"; $data .= "Pragma: no-cache\r\n"; $data .= "Cache-Control: no-cache\r\n"; $data .= "<API key>: \r\n"; $data .= "User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36\r\n"; $data .= "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9\r\n"; $data .= "Accept-Encoding: gzip, deflate, br\r\n"; $data .= "Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,zh-TW;q=0.7,ja;q=0.6\r\n"; $data .= "Cookie: env=pretest; phpsessid=<API key>; username=hantianfeng\r\n"; $req3 = Request::create(); $req3->parse($data); Assert::eq("POST", $req3->getMethod()); ?> --EXPECT
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("<API key>", "ursa_rest_sqlserver.settings") try: from django.core.management import <API key> except ImportError: # The above import may fail for some other reason. Ensure that the # issue is really that Django is missing to avoid masking other # exceptions on Python 2. try: import django except ImportError: raise ImportError( "Couldn't import Django. Are you sure it's installed and " "available on your PYTHONPATH environment variable? Did you " "forget to activate a virtual environment?" ) raise <API key>(sys.argv)
This procedure deploys an application or a module using WLST. If application or module is already exists, it will be redeployed.
package org.devocative.wickomp; import org.apache.wicket.<API key>; import org.apache.wicket.model.IDetachable; import org.apache.wicket.model.IModel; import java.io.Serializable; public class WModel<T> implements IModel<T> { private static final long serialVersionUID = 1L; private T object; public WModel() { } public WModel(T object) { setObject(object); } @Override public T getObject() { return object; } @Override public void setObject(T object) { if (object != null && !(object instanceof Serializable)) { throw new <API key>("Model object must be Serializable"); } this.object = object; } @Override public void detach() { if (object instanceof IDetachable) { ((IDetachable) object).detach(); } } }
#pragma once #include "openlr/graph.hpp" #include "openlr/openlr_model.hpp" #include "openlr/stats.hpp" #include <cstddef> #include <cstdint> #include <vector> namespace openlr { class PathsConnector { public: PathsConnector(double const pathLengthTolerance, Graph const & graph, v2::Stats & stat); bool ConnectCandidates(std::vector<<API key>> const & points, std::vector<std::vector<Graph::EdgeVector>> const & lineCandidates, std::vector<Graph::EdgeVector> & resultPath); private: bool FindShortestPath(Graph::Edge const & from, Graph::Edge const & to, FunctionalRoadClass const frc, uint32_t const maxPathLength, Graph::EdgeVector & path); bool <API key>(Graph::EdgeVector const & from, Graph::EdgeVector const & to, FunctionalRoadClass const frc, uint32_t const distanceToNextPoint, Graph::EdgeVector & resultPath); double const <API key>; Graph const & m_graph; v2::Stats & m_stat; }; } // namespace openlr
/*<API key>*/ package com.example.SimpleGoogleApp; /* This stub is only used by the IDE. It is NOT the Manifest class actually packed into the APK */ public final class Manifest { }
using System; using System.Diagnostics; using System.Xml.Serialization; namespace dk.nita.saml20.Schema.Core { <summary> The Saml ConditionAbstract class. Serves as an extension point for new conditions. </summary> [XmlInclude(typeof (ProxyRestriction))] [XmlInclude(typeof (OneTimeUse))] [XmlInclude(typeof (AudienceRestriction))] [Serializable] [DebuggerStepThrough] [XmlType(Namespace=Saml20Constants.ASSERTION)] [XmlRoot(ELEMENT_NAME, Namespace = Saml20Constants.ASSERTION, IsNullable = false)] public abstract class ConditionAbstract { <summary> The XML Element name of this class </summary> public const string ELEMENT_NAME = "Condition"; } }
'use strict'; /** app level module which depends on services and controllers */ angular.module('frenchMedia', ['frenchMedia.controllers', 'akoenig.deckgrid']); /** services module initialization, allows adding services to module in multiple files */ angular.module('frenchMedia.services', []);
// metadata.h #ifndef COMMON_METADATA_H #define COMMON_METADATA_H #include "opitypes.h" using namespace OPI::Enum; namespace Common { namespace Metadata { enum { max_size = 0xFFFF0000L, }; // Metadata::Element struct ElementHead { UInt32 type; size_type size; }; class Element : public ElementHead { public: typedef Element Self; typedef Element* pointer; enum { type$ = 0x0045444DL, size$ = sizeof(ElementHead), }; public: Element( size_type ); template<class Al> static pointer new$( size_type, Al& ); static size_type size_of( size_type ) throw(); // Element.trait void construct( size_type ) throw(); template<typename Ty> Self& assign( const Ty& rhs ) throw(); Self& assign( const void* base, size_type size ) throw(); Self& copy( Self& ) throw(); size_type block_size() const throw(); void* data() const throw(); template<typename Ty> Ty* data() const throw(); std::string to_string() const throw(); std::wstring to_wstring() const throw(); template<typename Ty> bool is_mdtype() const throw(); }; // Metadata::Composite class Composite : public Element { public: typedef Composite Self; typedef Element Super; typedef Self* pointer; class Iterator; enum { type$ = 0x0043444DL, size$ = Super::size$ + 4, }; public: size_type count; public: Composite( size_type ); template<class Al> static pointer new$( size_type, Al& ); static size_type size_of( size_type ) throw(); // Composite.trait void construct( size_type ) throw(); Self& append(); Self& append( const void* base, size_type size ); template<typename Ty> Self& append( const Ty& item ); template<typename Ty> Self& append_named_item( const std::string& name, const Ty& item ); template<typename Ty> Self& append_named_item( const std::wstring& name, const Ty& item ); pointer new_append(); pointer lookup_named_item( const std::string& name ) const; pointer lookup_named_item( const std::wstring& name ) const; template<typename Ty> Self& update( UInt32, const Ty& item ); Self& update( UInt32 i, const void* base, size_type size ); Iterator begin() const throw(); Iterator end() const throw(); void* data() const throw(); void* bottom() const throw(); template<typename Ty> typename Ty::pointer item( UInt32 ) const throw(); bool is_valid() const throw(); void inc( size_type ); private: using Super::assign; }; class Composite::Iterator { public: typedef Composite::Iterator Self; typedef Element::pointer pointer; protected: pointer m_ptr; public: Iterator( void* rhs = 0 ); Iterator( const Self& rhs ); pointer get() const throw(); pointer operator ->() const throw(); bool operator ==( const void* rhs ) const throw(); bool operator ==( const Self& rhs ) const throw(); bool operator !=( const void* rhs ) const throw(); bool operator !=( const Self& rhs ) const throw(); Self& next() throw(); }; #include "metadata.hpp" } // namespace Metadata } // namespace Common #endif //COMMON_METADATA_H
#define COBJMACROS #include "config.h" #include <stdarg.h> #include "windef.h" #include "winbase.h" #include "objbase.h" #include "rpcproxy.h" #include "propsys.h" #include "wine/debug.h" #include "wine/unicode.h" #include "propsys_private.h" <API key>(propsys); static HINSTANCE propsys_hInstance; BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) { TRACE("(0x%p, %d, %p)\n", hinstDLL, fdwReason, lpvReserved); switch (fdwReason) { case DLL_WINE_PREATTACH: return FALSE; /* prefer native version */ case DLL_PROCESS_ATTACH: propsys_hInstance = hinstDLL; <API key>(hinstDLL); break; } return TRUE; } HRESULT WINAPI DllRegisterServer(void) { return <API key>( propsys_hInstance ); } HRESULT WINAPI DllUnregisterServer(void) { return <API key>( propsys_hInstance ); } static HRESULT WINAPI <API key>(IClassFactory *iface, REFIID riid, void **ppv) { *ppv = NULL; if(IsEqualGUID(&IID_IUnknown, riid)) { TRACE("(%p)->(IID_IUnknown %p)\n", iface, ppv); *ppv = iface; }else if(IsEqualGUID(&IID_IClassFactory, riid)) { TRACE("(%p)->(IID_IClassFactory %p)\n", iface, ppv); *ppv = iface; } if(*ppv) { IUnknown_AddRef((IUnknown*)*ppv); return S_OK; } FIXME("(%p)->(%s %p)\n", iface, debugstr_guid(riid), ppv); return E_NOINTERFACE; } static ULONG WINAPI ClassFactory_AddRef(IClassFactory *iface) { TRACE("(%p)\n", iface); return 2; } static ULONG WINAPI <API key>(IClassFactory *iface) { TRACE("(%p)\n", iface); return 1; } static HRESULT WINAPI <API key>(IClassFactory *iface, BOOL fLock) { TRACE("(%p)->(%x)\n", iface, fLock); return S_OK; } static HRESULT WINAPI <API key>(IClassFactory *iface, IUnknown *outer, REFIID riid, void **ppv) { TRACE("(%p %s %p)\n", outer, debugstr_guid(riid), ppv); return <API key>(outer, riid, ppv); } static const IClassFactoryVtbl <API key> = { <API key>, ClassFactory_AddRef, <API key>, <API key>, <API key> }; static IClassFactory <API key> = { &<API key> }; HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv) { if(IsEqualGUID(&<API key>, rclsid)) { TRACE("(<API key> %s %p)\n", debugstr_guid(riid), ppv); return <API key>(&<API key>, riid, ppv); } FIXME("%s %s %p\n", debugstr_guid(rclsid), debugstr_guid(riid), ppv); return <API key>; } HRESULT WINAPI DllCanUnloadNow(void) { return S_FALSE; } HRESULT WINAPI <API key>(PCWSTR path) { FIXME("%s stub\n", debugstr_w(path)); return S_OK; } HRESULT WINAPI <API key>(PCWSTR path) { FIXME("%s stub\n", debugstr_w(path)); return E_NOTIMPL; } HRESULT WINAPI <API key>(REFPROPERTYKEY propkey, REFIID riid, void **ppv) { FIXME("%p, %p, %p\n", propkey, riid, ppv); return E_NOTIMPL; } HRESULT WINAPI <API key>(void) { FIXME("\n"); return S_OK; } HRESULT WINAPI <API key>(REFPROPERTYKEY pkey, LPWSTR psz, UINT cch) { static const WCHAR guid_fmtW[] = {'{','%','0','8','X','-','%','0','4','X','-', '%','0','4','X','-','%','0','2','X','%','0','2','X','-', '%','0','2','X','%','0','2','X','%','0','2','X', '%','0','2','X','%','0','2','X','%','0','2','X','}',0}; static const WCHAR pid_fmtW[] = {'%','u',0}; WCHAR pidW[PKEY_PIDSTR_MAX + 1]; LPWSTR p = psz; int len; TRACE("(%p, %p, %u)\n", pkey, psz, cch); if (!psz) return E_POINTER; /* GUIDSTRING_MAX accounts for null terminator, +1 for space character. */ if (cch <= GUIDSTRING_MAX + 1) return HRESULT_FROM_WIN32(<API key>); if (!pkey) { psz[0] = '\0'; return HRESULT_FROM_WIN32(<API key>); } sprintfW(psz, guid_fmtW, pkey->fmtid.Data1, pkey->fmtid.Data2, pkey->fmtid.Data3, pkey->fmtid.Data4[0], pkey->fmtid.Data4[1], pkey->fmtid.Data4[2], pkey->fmtid.Data4[3], pkey->fmtid.Data4[4], pkey->fmtid.Data4[5], pkey->fmtid.Data4[6], pkey->fmtid.Data4[7]); /* Overwrite the null terminator with the space character. */ p += GUIDSTRING_MAX - 1; *p++ = ' '; cch -= GUIDSTRING_MAX - 1 + 1; len = sprintfW(pidW, pid_fmtW, pkey->pid); if (cch >= len + 1) { strcpyW(p, pidW); return S_OK; } else { WCHAR *ptr = pidW + len - 1; psz[0] = '\0'; *p++ = '\0'; cch /* Replicate a quirk of the native implementation where the contents * of the property ID string are written backwards to the output * buffer, skipping the rightmost digit. */ if (cch) { ptr while (cch *p++ = *ptr } return HRESULT_FROM_WIN32(<API key>); } } static const BYTE hex2bin[] = { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* 0x00 */ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* 0x10 */ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* 0x20 */ 0,1,2,3,4,5,6,7,8,9,0,0,0,0,0,0, /* 0x30 */ 0,10,11,12,13,14,15,0,0,0,0,0,0,0,0,0, /* 0x40 */ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* 0x50 */ 0,10,11,12,13,14,15 /* 0x60 */ }; static BOOL validate_indices(LPCWSTR s, int min, int max) { int i; for (i = min; i <= max; i++) { if (!s[i]) return FALSE; if (i == 0) { if (s[i] != '{') return FALSE; } else if (i == 9 || i == 14 || i == 19 || i == 24) { if (s[i] != '-') return FALSE; } else if (i == 37) { if (s[i] != '}') return FALSE; } else { if (s[i] > 'f' || (!hex2bin[s[i]] && s[i] != '0')) return FALSE; } } return TRUE; } /* Adapted from CLSIDFromString helper in dlls/ole32/compobj.c and * UuidFromString in dlls/rpcrt4/rpcrt4_main.c. */ static BOOL string_to_guid(LPCWSTR s, LPGUID id) { /* in form {<API key>} */ if (!validate_indices(s, 0, 8)) return FALSE; id->Data1 = (hex2bin[s[1]] << 28 | hex2bin[s[2]] << 24 | hex2bin[s[3]] << 20 | hex2bin[s[4]] << 16 | hex2bin[s[5]] << 12 | hex2bin[s[6]] << 8 | hex2bin[s[7]] << 4 | hex2bin[s[8]]); if (!validate_indices(s, 9, 14)) return FALSE; id->Data2 = hex2bin[s[10]] << 12 | hex2bin[s[11]] << 8 | hex2bin[s[12]] << 4 | hex2bin[s[13]]; if (!validate_indices(s, 15, 19)) return FALSE; id->Data3 = hex2bin[s[15]] << 12 | hex2bin[s[16]] << 8 | hex2bin[s[17]] << 4 | hex2bin[s[18]]; /* these are just sequential bytes */ if (!validate_indices(s, 20, 21)) return FALSE; id->Data4[0] = hex2bin[s[20]] << 4 | hex2bin[s[21]]; if (!validate_indices(s, 22, 24)) return FALSE; id->Data4[1] = hex2bin[s[22]] << 4 | hex2bin[s[23]]; if (!validate_indices(s, 25, 26)) return FALSE; id->Data4[2] = hex2bin[s[25]] << 4 | hex2bin[s[26]]; if (!validate_indices(s, 27, 28)) return FALSE; id->Data4[3] = hex2bin[s[27]] << 4 | hex2bin[s[28]]; if (!validate_indices(s, 29, 30)) return FALSE; id->Data4[4] = hex2bin[s[29]] << 4 | hex2bin[s[30]]; if (!validate_indices(s, 31, 32)) return FALSE; id->Data4[5] = hex2bin[s[31]] << 4 | hex2bin[s[32]]; if (!validate_indices(s, 33, 34)) return FALSE; id->Data4[6] = hex2bin[s[33]] << 4 | hex2bin[s[34]]; if (!validate_indices(s, 35, 37)) return FALSE; id->Data4[7] = hex2bin[s[35]] << 4 | hex2bin[s[36]]; return TRUE; } HRESULT WINAPI <API key>(LPCWSTR pszString, PROPERTYKEY *pkey) { BOOL has_minus = FALSE, has_comma = FALSE; TRACE("(%s, %p)\n", debugstr_w(pszString), pkey); if (!pszString || !pkey) return E_POINTER; memset(pkey, 0, sizeof(PROPERTYKEY)); if (!string_to_guid(pszString, &pkey->fmtid)) return E_INVALIDARG; pszString += GUIDSTRING_MAX - 1; if (!*pszString) return E_INVALIDARG; /* Only the space seems to be recognized as whitespace. The comma is only * recognized once and processing terminates if another comma is found. */ while (*pszString == ' ' || *pszString == ',') { if (*pszString == ',') { if (has_comma) return S_OK; else has_comma = TRUE; } pszString++; } if (!*pszString) return E_INVALIDARG; /* Only two minus signs are recognized if no comma is detected. The first * sign is ignored, and the second is interpreted. If a comma is detected * before the minus sign, then only one minus sign counts, and property ID * interpretation begins with the next character. */ if (has_comma) { if (*pszString == '-') { has_minus = TRUE; pszString++; } } else { if (*pszString == '-') pszString++; /* Skip any intermediate spaces after the first minus sign. */ while (*pszString == ' ') pszString++; if (*pszString == '-') { has_minus = TRUE; pszString++; } /* Skip any remaining spaces after minus sign. */ while (*pszString == ' ') pszString++; } /* Overflow is not checked. */ while (isdigitW(*pszString)) { pkey->pid *= 10; pkey->pid += (*pszString - '0'); pszString++; } if (has_minus) pkey->pid = ~pkey->pid + 1; return S_OK; }
package com.communote.server.api.core.blog; import java.io.Serializable; import java.util.Date; public class BlogData extends MinimalBlogData implements Serializable { private static final long serialVersionUID = <API key>; private String description; private Date <API key>; private Date creationDate; /** * constructor */ public BlogData() { super(); } /** * constructor * * @param id * the ID of the topic */ public BlogData(Long id) { setId(id); } /** * constructor. * * @param alias * the alias of the topic * @param id * the ID of the topic * @param title * the title of the topic * @param <API key> * the date at which the topic was last modified */ public BlogData(String alias, Long id, String title, Date <API key>) { this(alias, id, title, null, <API key>); } /** * constructor. * * @param alias * the alias of the topic * @param id * the ID of the topic * @param title * the title of the topic * @param creationDate * the creation date of the topic * @param <API key> * the date at which the topic was last modified */ public BlogData(String alias, Long id, String title, Date creationDate, Date <API key>) { this(alias, null, id, title, <API key>); this.creationDate = creationDate; } /** * constructor * * @param alias * the alias of the topic * @param id * the ID of the topic * @param title * the title of the topic * @param <API key> * the date at which the topic was last modified. */ public BlogData(String alias, String description, Long id, String title, Date <API key>) { super(id, alias, title); this.<API key> = <API key>; this.description = description; } /** * @return the creation date of the blog */ public Date getCreationDate() { return creationDate; } /** * @return the description of the topic */ public String getDescription() { return this.description; } /** * @return the date at which the topic was last modified */ public Date <API key>() { return this.<API key>; } /** * Set the creation date of the blog * * @param creationDate * the creation date of the blog */ public void setCreationDate(Date creationDate) { this.creationDate = creationDate; } /** * Set the description of the topic * * @param description * the description of the topic */ public void setDescription(String description) { this.description = description; } /** * Set the date of the last modification of the topic * * @param <API key> * the date at which the topic was last modified */ public void <API key>(Date <API key>) { this.<API key> = <API key>; } @Override public String toString() { return "BlogData [description=" + description + ", <API key>=" + <API key> + ", creationDate=" + creationDate + ", getNameIdentifier()=" + getNameIdentifier() + ", getId()=" + getId() + "]"; } }
package de.fasibio.threaddistributor.example; import java.util.Vector; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import de.fasibio.threaddistributor.*; public class SheepStall implements TaskListener { private static final Logger log = LoggerFactory.getLogger(SheepStall.class); private PriorityDistributor dist; private Vector<Sheep> walkingsheeps = new Vector<Sheep>(); public SheepStall(PriorityDistributor dist){ this.dist = dist; } public void updateStatus(Status status, Task task) { if (task.getObject() instanceof Sheep){ Sheep tmp = (Sheep)task.getObject(); switch (status){ case end: { // log.info("SHEEP ENDING WALIKING: "+tmp.toString()); // log.info("OPEN HIGH WORKER:"+dist.<API key>()+" OPEN MIDDLE WORKER: "+dist.<API key>()+" OPEN LOW WORKER: "+dist.<API key>()+ "total worker "+dist.<API key>()); walkingsheeps.add((Sheep)task.getObject()); } break; case inWaitList:log.info("Sheep "+tmp.name+" is in Waitlist"); break; case start://log.info("Sheep "+ tmp.name+" beginn Walking"); } } } public int <API key>(){ return walkingsheeps.size(); } }