Source
stringclasses
1 value
Date
int32
2.01k
2.01k
Text
stringlengths
3
15.9M
Token_count
int32
1
2.44M
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
428
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
532
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
955
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
536
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
537
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
529
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
526
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
689
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
2,950
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
725
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
663
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
865
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
601
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
626
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
840
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
343
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
963
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
840
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
365
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
803
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
331
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
2,360
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
618
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
643
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
844
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
331
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
768
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
647
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
392
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
801
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
683
github-java-corpus
2,012
package org.agilewiki.jactor; /** * Represents a null when exiting JAIterator.iterate. */ final public class JANull { /** * The JANull singleton. */ public final static JANull jan = new JANull(); /** * Create a JANull. */ private JANull() { } }
70
github-java-corpus
2,012
package org.agilewiki.jactor; import org.agilewiki.jactor.concurrent.JAThreadManager; import org.agilewiki.jactor.concurrent.ThreadManager; import org.agilewiki.jactor.lpc.JLPCMailbox; import org.agilewiki.jactor.lpc.Request; /** * <p> * Implements MailboxFactory. * In general you need only one instance of Mailbox...
490
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
369
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
309
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
449
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
1,124
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
968
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
375
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
687
github-java-corpus
2,012
/** * A table of name/value pairs. */ package org.agilewiki.jactor.properties;
19
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
419
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
452
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
671
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
429
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
423
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
1,571
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
453
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
514
github-java-corpus
2,012
package org.agilewiki.jactor.events; /** * An EventDestination receives an event from objects operating * on a different thread. * * @param <E> The type of event. */ public interface EventDestination<E> { /** * The putEvent method adds an events to the queue of events to be processed. * * @para...
91
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
460
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
1,320
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
420
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
438
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
395
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
390
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
327
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
534
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
597
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
679
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
431
github-java-corpus
2,012
/* * Copyright 2012 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
444
github-java-corpus
2,012
/* * Copyright 2012 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
464
github-java-corpus
2,012
/** * NBLock provides exclusive access to a resource without blocking a thread. */ package org.agilewiki.jactor.nbLock;
27
github-java-corpus
2,012
/* * Copyright 2012 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
464
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
461
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
310
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
557
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
2,092
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
398
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
537
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
719
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
1,080
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
439
github-java-corpus
2,012
package org.agilewiki.jactor; import org.agilewiki.jactor.simpleMachine.ExtendedResponseProcessor; /** * <p> * Iterates over its process method and works within any actor which supports 2-way messages. * </p> * <p> * We can use JAIterator to calculate factorials: * </p> * <pre> * final int max = 5; * ...
776
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
3,850
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
518
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
3,820
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
430
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
448
github-java-corpus
2,012
/* * Copyright 2012 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
365
github-java-corpus
2,012
package org.agilewiki.jactor.lpc; import org.agilewiki.jactor.Mailbox; import org.agilewiki.jactor.MailboxFactory; import org.agilewiki.jactor.apc.JAMessage; import org.agilewiki.jactor.apc.JAPCMailbox; import org.agilewiki.jactor.bufferedEvents.BufferedEventsQueue; /** * Implements Mailbox. */ final public class J...
431
github-java-corpus
2,012
/* * Copyright 2012 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
1,573
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
603
github-java-corpus
2,012
package org.agilewiki.jactor; import org.agilewiki.jactor.lpc.JLPCActor; import org.agilewiki.jactor.lpc.Request; public class IntegerRequest extends Request<Object, IntegerReceiver> { public final int value; public IntegerRequest(int value) { this.value = value; } @Override public void ...
139
github-java-corpus
2,012
package org.agilewiki.jactor.bufferedEvents; import org.agilewiki.jactor.concurrent.ThreadManager; /** * Test code. */ final public class Driver extends JABufferedEventsActor<Object> { private Sender[] senders; private BufferedEventsDestination<Object> source; private int pending; private int p; ...
257
github-java-corpus
2,012
package org.agilewiki.jactor.bufferedEvents; import org.agilewiki.jactor.concurrent.ThreadManager; /** * Test code. */ public class Sender extends JABufferedEventsActor<Object> { private Echo echo; private int count = 0; private int i = 0; private int burst = 0; private int j = 0; private i...
286
github-java-corpus
2,012
package org.agilewiki.jactor.bufferedEvents; import org.agilewiki.jactor.concurrent.ThreadManager; /** * Test code. */ public final class Echo extends JABufferedEventsActor<Object> { public Echo(ThreadManager threadManager) { super(threadManager); } @Override protected void processEvent(Ob...
97
github-java-corpus
2,012
package org.agilewiki.jactor.bufferedEvents; import junit.framework.TestCase; import org.agilewiki.jactor.concurrent.JAThreadManager; import org.agilewiki.jactor.concurrent.ThreadManager; /** * Test code. */ final public class BufferedTimingTest extends TestCase { public void testTiming() { int c = 2; ...
918
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
371
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
602
github-java-corpus
2,012
/* * Copyright 2011 Bill La Forge * * This file is part of AgileWiki and is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License (LGPL) as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
700
github-java-corpus
2,012
package org.agilewiki.jactor.advanced.allInOne; import org.agilewiki.jactor.Actor; import org.agilewiki.jactor.lpc.Request; abstract public class AllInOneReq extends Request<Object, AllInOne> { @Override public boolean isTargetType(Actor targetActor) { return targetActor instanceof AllInOne; } }
77
github-java-corpus
2,012
package org.agilewiki.jactor.advanced.allInOne; import org.agilewiki.jactor.RP; import org.agilewiki.jactor.lpc.JLPCActor; public class Start extends AllInOneReq { public final static Start req = new Start(); @Override public void processRequest(JLPCActor targetActor, RP rp) throws Exception { ((...
93
github-java-corpus
2,012
package org.agilewiki.jactor.advanced.allInOne; import org.agilewiki.jactor.RP; import org.agilewiki.jactor.lpc.JLPCActor; public class Release extends AllInOneReq { public final static Release req = new Release(); @Override public void processRequest(JLPCActor targetActor, RP rp) throws Exception { ...
92
github-java-corpus
2,012
package org.agilewiki.jactor.advanced.allInOne; import junit.framework.TestCase; import org.agilewiki.jactor.JAFuture; import org.agilewiki.jactor.JAMailboxFactory; import org.agilewiki.jactor.MailboxFactory; public class AllInOneTest extends TestCase { public void test() throws Exception { Ma...
139
github-java-corpus
2,012
package org.agilewiki.jactor.advanced.allInOne; import org.agilewiki.jactor.RP; import org.agilewiki.jactor.lpc.JLPCActor; public class Allocate extends AllInOneReq { public final static Allocate req = new Allocate(); @Override public void processRequest(JLPCActor targetActor, RP rp) throws Exception { ...
93
github-java-corpus
2,012
package org.agilewiki.jactor.advanced.allInOne; import org.agilewiki.jactor.RP; import org.agilewiki.jactor.lpc.JLPCActor; import static junit.framework.Assert.assertEquals; public class AllInOne extends JLPCActor { RP pending; public void start(final RP rp) throws Exception { System.out...
400
github-java-corpus
2,012
package org.agilewiki.jactor.advanced.many; import org.agilewiki.jactor.MailboxFactory; import org.agilewiki.jactor.RP; import org.agilewiki.jactor.lpc.JLPCActor; import static junit.framework.Assert.assertEquals; public class Driver extends JLPCActor { int count; RP _rp; public void start(final RP rp) ...
593
github-java-corpus
2,012
package org.agilewiki.jactor.advanced.many; import org.agilewiki.jactor.Actor; import org.agilewiki.jactor.RP; import org.agilewiki.jactor.lpc.JLPCActor; import org.agilewiki.jactor.lpc.Request; public class Start extends Request<Object, Driver> { public final static Start req = new Start(); @Override pu...
136