- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 785 for While (0.03 sec)
-
src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java
key = null; } break; default: si = arr.length; } si++; } while (si < arr.length); if (binding == null || binding.endpoint == null) { throw new DcerpcException("Invalid binding URL: " + str); } return binding; } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java
} List<Element> tmp = new ArrayList<>(elementsInSet); shuffle(tmp, random); queryList.addAll(tmp.subList(0, extras)); } // now add bad queries while (queryList.size() < numQueries) { Element candidate = newElement(); if (!elementsInSet.contains(candidate)) { queryList.add(candidate); } } shuffle(queryList, random);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 4.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java
Interruptenator(Thread interruptee, long everyMillis) { this.everyMillis = everyMillis; this.interruptee = interruptee; } @Override public void run() { while (true) { try { Thread.sleep(everyMillis); } catch (InterruptedException e) { // ok. just stop sleeping. } if (shouldStop) { break; }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 4.5K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java
Runnable state = get(); Blocker blocker = null; while (state instanceof Blocker || state == PARKED) { if (state instanceof Blocker) { blocker = (Blocker) state; } spinCount++; if (spinCount > MAX_BUSY_WAIT_SPINS) { /* * If we have spun a lot, just park ourselves. This will save CPU while we wait for a slow
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 10K bytes - Viewed (0) -
guava/src/com/google/common/hash/BloomFilterStrategies.java
long oldValue; long newValue; do { oldValue = data.get(longIndex); newValue = oldValue | mask; if (oldValue == newValue) { return false; } } while (!data.compareAndSet(longIndex, oldValue, newValue)); // We turned the bit on, so increment bitCount. bitCount.increment(); return true; } boolean get(long bitIndex) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Jan 08 14:27:16 UTC 2025 - 10.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/MathBenchmarking.java
*/ static BigInteger randomPositiveBigInteger(int numBits) { BigInteger result; do { result = randomNonNegativeBigInteger(numBits); } while (result.signum() == 0); return result; } /** * Generates a number in [0, 2^numBits) with an exponential distribution. The floor of the log2 of
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 4.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartReader.kt
* * Typical use loops over the parts in sequence: * * ```kotlin * val response: Response = call.execute() * val multipartReader = MultipartReader(response.body!!) * * multipartReader.use { * while (true) { * val part = multipartReader.nextPart() ?: break * process(part.headers, part.body) * } * } * ``` *
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed May 28 02:11:14 UTC 2025 - 7.3K bytes - Viewed (0) -
src/main/java/jcifs/util/Hexdump.java
* @param size the number of hex digits to write (will be left-padded with zeros) */ public static void toHexChars(int val, final char dst[], final int dstIndex, int size) { while (size > 0) { final int i = dstIndex + size - 1; if (i < dst.length) { dst[i] = HEX_DIGITS[val & 0x000F]; } if (val != 0) { val >>>= 4;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.3K bytes - Viewed (0) -
src/test/java/jcifs/SmbPipeHandleTest.java
} /** * Tests that the getter for the input stream returns the correct stream. * @throws CIFSException if an error occurs while getting the stream. */ @Test public void testGetInputStream() throws CIFSException { assertEquals(mockInputStream, smbPipeHandle.getInput(), "getInput() should return the correct input stream."); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/av/AvPairs.java
*/ public static List<AvPair> decode(final byte[] data) throws CIFSException { final List<AvPair> pairs = new LinkedList<>(); int pos = 0; boolean foundEnd = false; while (pos + 4 <= data.length) { final int avId = SMBUtil.readInt2(data, pos); final int avLen = SMBUtil.readInt2(data, pos + 2); pos += 4; if (avId == AvPair.MsvAvEOL) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.3K bytes - Viewed (0)