- Sort Score
- Num 10 results
- Language All
Results 111 - 120 of 842 for ptwo (0.02 seconds)
-
guava/src/com/google/common/collect/Multisets.java
} return 11; // initial capacity will be rounded up to 16 } /** * Returns an unmodifiable view of the union of two multisets. In the returned multiset, the count * of each element is the <i>maximum</i> of its counts in the two backing multisets. The iteration * order of the returned multiset matches that of the element set of {@code multiset1} followed byCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 41.2K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/SignedBytes.java
*/ // TODO(kevinb): how to prevent warning on UnsignedBytes when building GWT // javadoc? @GwtCompatible public final class SignedBytes { private SignedBytes() {} /** * The largest power of two that can be represented as a signed {@code byte}. * * @since 10.0 */ public static final byte MAX_POWER_OF_TWO = 1 << 6; /** * Returns the {@code byte} value that is equal to {@code value}, if possible.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 7.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/HashBiMapTest.java
Iterator<Entry<Integer, String>> iterator = entries.iterator(); Entry<Integer, String> entry = iterator.next(); entry.setValue("two"); // changes the iterator's current entry value assertThat(map.get(1)).isEqualTo("two"); assertEquals(Integer.valueOf(1), map.inverse().get("two")); iterator.remove(); // removes the updated entry assertTrue(map.isEmpty()); } public void testInsertionOrder() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 8.4K bytes - Click Count (0) -
BUILDING.md
- `qa` projects are dedicated two specific usecases and easier to maintain - It keeps the specific test logic separated from the common test logic. - You can run those tests in parallel to other projects of the build. #### Using test fixtures Sometimes we want to share test fixtures to setup the code under test across multiple projects. There are basically two ways doing so.
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Thu Sep 23 07:45:59 GMT 2021 - 6.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Range.java
* exists. The resulting range may be empty if the two ranges are adjacent but non-overlapping. * * <p>For example, the gap of {@code [1..5]} and {@code (7..10)} is {@code (5..7]}. The resulting * range may be empty; for example, the gap between {@code [1..5)} {@code [5..7)} yields the empty * range {@code [5..5)}. * * <p>The gap exists if and only if the two ranges are either disconnected or immediately adjacentCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 28K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/Hashing.java
} } /** * Returns a hash code, having the same bit length as each of the input hash codes, that combines * the information of these hash codes in an ordered fashion. That is, whenever two equal hash * codes are produced by two calls to this method, it is <i>as likely as possible</i> that each * was computed from the <i>same</i> input hash codes in the <i>same</i> order. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jul 17 15:26:41 GMT 2025 - 29.8K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/NetShareEnumResponseTest.java
assertEquals(2, response.numEntries, "Number of entries should be 2."); } /** * Tests the readDataWireFormat method. * This test simulates a response with two share entries. */ @Test void testReadDataWireFormat() throws IOException { NetShareEnumResponse response = new NetShareEnumResponse();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/auth/chain/AuthenticationChainTest.java
User user1 = createTestUser("user1", "User One"); User user2 = createTestUser("user2", "User Two"); User result1 = createTestUser("result1", "Result One"); User result2 = createTestUser("result2", "Result Two"); chain.loadResult = result1; User returnedUser1 = chain.load(user1); chain.loadResult = result2;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 14.8K bytes - Click Count (0) -
android/guava/src/com/google/common/net/UrlEscapers.java
* <li>All other characters are converted into one or more bytes using UTF-8 encoding and each * byte is then represented by the 3-character string "%XY", where "XY" is the two-digit, * uppercase, hexadecimal representation of the byte value. * </ul> * * <p>This escaper is suitable for escaping parameter names and values even when <a
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 7.1K bytes - Click Count (0) -
tests/test_dependency_yield_scope_websockets.py
@app.websocket("/request-scope") async def request_scope(websocket: WebSocket, session: SessionRequestDep) -> Any: await websocket.accept() await websocket.send_json({"is_open": session.open}) @app.websocket("/two-scopes") async def get_stream_session( websocket: WebSocket, function_session: SessionFuncDep, request_session: SessionRequestDep, ) -> Any: await websocket.accept() await websocket.send_json(
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 6K bytes - Click Count (0)