- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 177 for loop (0.15 sec)
-
guava-tests/test/com/google/common/net/HttpHeadersTest.java
// Special case some of the weird HTTP Header names... ImmutableBiMap<String, String> specialCases = ImmutableBiMap.<String, String>builder() .put("CDN_LOOP", "CDN-Loop") .put("ETAG", "ETag") .put("SOURCE_MAP", "SourceMap") .put("SEC_CH_UA_WOW64", "Sec-CH-UA-WoW64") .put("SEC_WEBSOCKET_ACCEPT", "Sec-WebSocket-Accept")
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Jan 17 17:41:51 GMT 2023 - 3.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/net/HttpHeadersTest.java
// Special case some of the weird HTTP Header names... ImmutableBiMap<String, String> specialCases = ImmutableBiMap.<String, String>builder() .put("CDN_LOOP", "CDN-Loop") .put("ETAG", "ETag") .put("SOURCE_MAP", "SourceMap") .put("SEC_CH_UA_WOW64", "Sec-CH-UA-WoW64") .put("SEC_WEBSOCKET_ACCEPT", "Sec-WebSocket-Accept")
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 22 21:08:08 GMT 2024 - 3.9K bytes - Viewed (0) -
guava/src/com/google/common/base/Utf8.java
int utf16Length = sequence.length(); int utf8Length = utf16Length; int i = 0; // This loop optimizes for pure ASCII. while (i < utf16Length && sequence.charAt(i) < 0x80) { i++; } // This loop optimizes for chars less than 0x800. for (; i < utf16Length; i++) { char c = sequence.charAt(i); if (c < 0x800) {
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 10 14:11:51 GMT 2023 - 7K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/Utf8Test.java
private static void testBytes(int numBytes, long expectedCount) { testBytes(numBytes, expectedCount, 0, -1); } /** * Helper to run the loop to test all the permutations for the number of bytes specified. This * overload is useful for debugging to get the loop to start at a certain character. * * @param numBytes the number of bytes in the byte array
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 12.7K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/LittleEndianByteArray.java
* @return a long of a concatenated 8 bytes */ static long load64(byte[] input, int offset) { // We don't want this in production code as this is the most critical part of the loop. assert input.length >= offset + 8; // Delegates to the fast (unsafe) version or the fallback. return byteArray.getLongLittleEndian(input, offset); } /**
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 22 17:40:56 GMT 2024 - 9.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/GraphsTest.java
private static final String ERROR_ADDED_PARALLEL_EDGE = "Should not be allowed to add a parallel edge."; private static final String ERROR_ADDED_SELF_LOOP = "Should not be allowed to add a self-loop edge."; static final String ERROR_SELF_LOOP = "self-loops are not allowed"; @Test public void transitiveClosure_directedGraph() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 24.9K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/GraphBuilder.java
GraphBuilder<N1> castBuilder = cast(); return new ImmutableGraph.Builder<>(castBuilder); } /** * Specifies whether the graph will allow self-loops (edges that connect a node to itself). * Attempting to add a self-loop to a graph that does not allow them will throw an {@link * UnsupportedOperationException}. * * <p>The default value is {@code false}. */ @CanIgnoreReturnValue
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Jun 03 01:21:31 GMT 2022 - 7.3K bytes - Viewed (0) -
android/guava/src/com/google/common/escape/CharEscaper.java
protected final String escapeSlow(String s, int index) { int slen = s.length(); // Get a destination buffer and setup some loop variables. char[] dest = Platform.charBufferFromThreadLocal(); int destSize = dest.length; int destIndex = 0; int lastEscape = 0; // Loop through the rest of the string, replacing when needed into the // destination buffer, which gets grown as needed as well.
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 18 20:55:09 GMT 2022 - 6.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/Interners.java
if (sneaky == null) { return sample; } else { /* Someone beat us to it! Trying again... * * Technically this loop not guaranteed to terminate, so theoretically (extremely * unlikely) this thread might starve, but even then, there is always going to be another * thread doing progress here. */ }
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Mar 13 14:30:51 GMT 2023 - 5.9K bytes - Viewed (1) -
android/guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java
.hasMessageThat() .isEqualTo("I bet you didn't think Thread.interrupt could throw"); // We need to wait for the runner to exit. It used to be that the runner would get stuck in the // busy loop when interrupt threw. runner.join(TimeUnit.SECONDS.toMillis(10)); } static final class BrokenChannel extends AbstractInterruptibleChannel { @Override protected void implCloseChannel() {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 6.6K bytes - Viewed (0)