- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 186 for Flock (0.24 sec)
-
android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java
* the queue exceeds that value, the queue automatically removes its greatest element according to * its comparator (which might be the element that was just added). This is different from * conventional bounded queues, which either block or reject new elements when full. * * <p>This implementation is based on the <a * href="http://portal.acm.org/citation.cfm?id=6621">min-max heap</a> developed by Atkinson, et al.
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 34K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Sets.java
* {@code tailSet} views. * * <pre>{@code * NavigableSet<E> set = synchronizedNavigableSet(new TreeSet<E>()); * ... * synchronized (set) { * // Must be in the synchronized block * Iterator<E> it = set.iterator(); * while (it.hasNext()) { * foo(it.next()); * } * } * }</pre> * * <p>or: * * <pre>{@code
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 77.4K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java
* * Lock lockA = factory1.newReentrantLock(MyLockOrder.FIRST); * Lock lockB = factory1.newReentrantLock(MyLockOrder.FIRST); * Lock lockC = factory2.newReentrantLock(MyLockOrder.FIRST); * * lockA.lock(); * * lockB.lock(); // will throw an IllegalStateException * lockC.lock(); // will throw an IllegalStateException * * lockA.lock(); // reentrant acquisition is okay
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Dec 15 19:31:54 GMT 2023 - 35.9K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/util/concurrent/CycleDetectingLockFactoryBenchmark.java
} @Benchmark void unorderedCycleDetectingLocks(int reps) { lockAndUnlock(factory.newReentrantLock("foo"), reps); } private static void lockAndUnlock(Lock lock, int reps) { for (int i = 0; i < reps; i++) { lock.lock(); lock.unlock(); } } @Benchmark void orderedPlainLocks(int reps) { lockAndUnlockNested(plainLocks, reps); } @Benchmark
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 2.4K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/rpc.java
public class rpc { public static class uuid_t extends NdrObject { public int time_low; public short time_mid; public short time_hi_and_version; public byte clock_seq_hi_and_reserved; public byte clock_seq_low; public byte[] node; @Override public void encode ( NdrBuffer _dst ) throws NdrException { _dst.align(4);
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 20:40:13 GMT 2019 - 8.8K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacMac.java
int klen = keybytes.length; byte[] dk = new byte[klen]; for ( int n = 0; n < klen; ) { byte[] block = cipher.doFinal(enc); int len = Math.min(klen - n, block.length); System.arraycopy(block, 0, dk, n, len); n += len; enc = block; } return dk; } public static byte[] expandNFold ( byte[] data, int outlen ) {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/MacHashFunctionTest.java
byte[] key = fillByteArray(80, 0xaa); String data = "Test Using Larger Than Block-Size Key - Hash Key First"; checkSha1("aa4ae5e15272d00e95705637ce8a3b55ed402112", key, data); } public void testRfc2202_hmacSha1_case7() { byte[] key = fillByteArray(80, 0xaa); String data = "Test Using Larger Than Block-Size Key and Larger Than One Block-Size Data";
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 13.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/TransCallNamedPipeResponse.java
if( pipe.pipeIn != null ) { TransactNamedPipeInputStream in = (TransactNamedPipeInputStream)pipe.pipeIn; synchronized( in.lock ) { in.receive( buffer, bufferIndex, len ); in.lock.notify(); } } return len; } public String toString() { return new String( "TransCallNamedPipeResponse[" + super.toString() + "]" );
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/TransTransactNamedPipeResponse.java
if( pipe.pipeIn != null ) { TransactNamedPipeInputStream in = (TransactNamedPipeInputStream)pipe.pipeIn; synchronized( in.lock ) { in.receive( buffer, bufferIndex, len ); in.lock.notify(); } } return len; } public String toString() {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 2K bytes - Viewed (0) -
futures/failureaccess/src/com/google/common/util/concurrent/internal/InternalFutures.java
* then: * * <ul> * <li>{@code isDone()} must return {@code true} * <li>{@code isCancelled()} must return {@code false} * <li>{@code get()} must not block, and it must throw an {@code ExecutionException} with the * return value of this method as its cause * </ul> */ public static Throwable tryInternalFastPathGetFailure(InternalFutureFailureAccess future) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Apr 04 09:45:04 GMT 2023 - 1.7K bytes - Viewed (0)