- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,701 for Booleans (0.07 sec)
-
android/guava/src/com/google/common/primitives/Booleans.java
* Booleans.contains(array, false)} with {@code bitSet.nextClearBit(0) == sizeOfBitSet}. * * @param array an array of {@code boolean} values, possibly empty * @param target a primitive {@code boolean} value * @return {@code true} if {@code array[i] == target} for some value of {@code i} */ public static boolean contains(boolean[] array, boolean target) { for (boolean value : array) { if (value == target) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 20.5K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Booleans.java
* Booleans.contains(array, false)} with {@code bitSet.nextClearBit(0) == sizeOfBitSet}. * * @param array an array of {@code boolean} values, possibly empty * @param target a primitive {@code boolean} value * @return {@code true} if {@code array[i] == target} for some value of {@code i} */ public static boolean contains(boolean[] array, boolean target) { for (boolean value : array) { if (value == target) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 20.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/BooleansTest.java
testRotate(new boolean[] {true}, 1, new boolean[] {true}); testRotate(new boolean[] {true}, 2, new boolean[] {true}); testRotate(new boolean[] {true, false}, -3, new boolean[] {false, true}); testRotate(new boolean[] {true, false}, -1, new boolean[] {false, true}); testRotate(new boolean[] {true, false}, -2, new boolean[] {true, false});
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ComparisonChainTest.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 03:05:13 UTC 2025 - 7.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/ComparisonChain.java
} @Override public ComparisonChain compareTrueFirst(boolean left, boolean right) { return classify(Boolean.compare(right, left)); // reversed } @Override public ComparisonChain compareFalseFirst(boolean left, boolean right) { return classify(Boolean.compare(left, right)); } ComparisonChain classify(int result) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 11.1K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/package-info.java
* <li>{@link ImmutableLongArray} * <li>{@link UnsignedInteger} * <li>{@link UnsignedLong} * </ul> * * <h3>Per-type static utilities</h3> * * <ul> * <li>{@link Booleans} * <li>{@link Bytes} * <ul> * <li>{@link SignedBytes} * <li>{@link UnsignedBytes} * </ul> * <li>{@link Chars} * <li>{@link Doubles} * <li>{@link Floats}
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jan 03 15:30:05 UTC 2025 - 2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportInternalTest.java
"true,true,false", "true,false,true", "false,true,true", "false,false,false" }) void disconnect_flagCombinations(boolean hard, boolean inuse, boolean expected) throws Exception { when(transport.disconnect(anyBoolean(), anyBoolean())).thenAnswer(inv -> { boolean h = inv.getArgument(0); boolean u = inv.getArgument(1); // Arbitrary behavior mapping for test purposes return (h && !u) || (!h && u);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java
// Happy path: shouldForceSigning returns the configured value @ParameterizedTest @ValueSource(booleans = { true, false }) @DisplayName("shouldForceSigning returns stubbed boolean value") void shouldForceSigningReturns(boolean expected) { when(locator.shouldForceSigning()).thenReturn(expected); boolean result = locator.shouldForceSigning(); assertEquals(expected, result);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeOutputStreamTest.java
} @ParameterizedTest @ValueSource(booleans = { true, false }) @DisplayName("isOpen delegates to handle.isOpen") void isOpen_delegates(boolean state) throws Exception { // Arrange SmbPipeOutputStream out = newStream(); when(handle.isOpen()).thenReturn(state); // Act boolean result = out.isOpen(); // Assert
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RouteFailureTest.kt
"ConnectStart", "ConnectEnd", "ConnectionAcquired", "ConnectionReleased", ) } @ParameterizedTest @ValueSource(booleans = [false, true]) fun proxyMoveTest(cleanClose: Boolean) { // Define a single Proxy at myproxy:8008 that will artificially move during the test val proxySelector = RecordingProxySelector()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 11.7K bytes - Viewed (0)