- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 740 for Booleans (0.03 sec)
-
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 Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Sep 25 15:01:23 UTC 2025 - 20.6K bytes - Viewed (0) -
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 Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Sep 25 15:01:23 UTC 2025 - 20.6K bytes - Viewed (0) -
android/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 Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 22:56:33 UTC 2025 - 25.2K 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 Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 11.1K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbCopyUtilTest.java
public class SmbCopyUtilTest { // --- Tests for openCopyTargetFile --- @ParameterizedTest @ValueSource(booleans = { true, false }) @DisplayName("openCopyTargetFile sets correct access flags depending on alsoRead") void openCopyTargetFile_accessMask_respectsAlsoRead(boolean alsoRead) throws Exception { // Arrange SmbFile dest = mock(SmbFile.class);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ServiceManager.java
* to any service performing a transition, then we can fail in the ServiceManager constructor * rather than in a Service.Listener callback. */ @GuardedBy("monitor") boolean ready; @GuardedBy("monitor") boolean transitioned; final int numberOfServices; /** * Controls how long to wait for all the services to either become healthy or reach a state fromRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 17:49:12 UTC 2025 - 32.9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ServiceManager.java
* to any service performing a transition, then we can fail in the ServiceManager constructor * rather than in a Service.Listener callback. */ @GuardedBy("monitor") boolean ready; @GuardedBy("monitor") boolean transitioned; final int numberOfServices; /** * Controls how long to wait for all the services to either become healthy or reach a state fromRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 17:49:12 UTC 2025 - 33.2K bytes - Viewed (1) -
src/test/java/jcifs/internal/SmbNegotiationResponseTest.java
void testIsValidReturnsTrue() { // Arrange when(negotiationResponse.isValid(cifsContext, negotiationRequest)).thenReturn(true); // Act boolean result = negotiationResponse.isValid(cifsContext, negotiationRequest); // Assert assertTrue(result); verify(negotiationResponse).isValid(cifsContext, negotiationRequest); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/QueryResponseList.java
@Override public boolean addAll(final int index, final Collection<? extends Map<String, Object>> c) { return parent.addAll(index, c); } @Override public void clear() { parent.clear(); } @Override public boolean contains(final Object o) { return parent.contains(o); } @Override public boolean containsAll(final Collection<?> c) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 14.5K bytes - Viewed (0)