- Sort Score
- Result 10 results
- Languages All
Results 681 - 690 of 3,972 for True (0.66 sec)
-
internal/pubsub/pubsub_test.go
doneCh := make(chan struct{}) defer close(doneCh) if err := ps.Subscribe(MaskAll, ch1, doneCh, func(entry Maskable) bool { return true }); err != nil { t.Fatalf("unexpected error: %v", err) } if err := ps.Subscribe(MaskAll, ch2, doneCh, func(entry Maskable) bool { return true }); err != nil { t.Fatalf("unexpected error: %v", err) } val := maskString("hello") ps.Publish(val) msg1 := <-ch1
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 5.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MapsTest.java
ensureNotDirectlyModifiable(unmod); ensureNotDirectlyModifiable(unmod.descendingMap()); ensureNotDirectlyModifiable(unmod.headMap(2, true)); ensureNotDirectlyModifiable(unmod.subMap(1, true, 3, true)); ensureNotDirectlyModifiable(unmod.tailMap(2, true)); Collection<String> values = unmod.values(); assertThrows(UnsupportedOperationException.class, () -> values.add("4"));Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 22:56:33 UTC 2025 - 62.7K bytes - Viewed (0) -
src/main/assemblies/common-bin.xml
<dependencySet> <outputDirectory>fess-${project.version}/app</outputDirectory> <useProjectArtifact>true</useProjectArtifact> <unpack>true</unpack> <includes> <include>org.codelibs.fess:fess</include> </includes> </dependencySet> </dependencySets> <fileSets> <fileSet> <filtered>true</filtered> <directory>src/main/assemblies/files</directory>
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Mar 17 02:29:43 UTC 2022 - 3.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/PreconditionsTest.java
public class PreconditionsTest extends TestCase { public void testCheckArgument_simple_success() { checkArgument(true); } public void testCheckArgument_simple_failure() { assertThrows(IllegalArgumentException.class, () -> checkArgument(false)); } public void testCheckArgument_simpleMessage_success() { checkArgument(true, IGNORE_ME); } public void testCheckArgument_simpleMessage_failure() {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19K bytes - Viewed (0) -
src/test/java/jcifs/util/ResourceManagerTest.java
@BeforeEach void setUp() { resourceManager = ResourceManager.getInstance(); // Configure with shorter intervals for testing resourceManager.configure(1000, 100, true, true); } /** * Test resource for tracking */ static class TestResource implements AutoCloseable { private final AtomicBoolean closed = new AtomicBoolean(false);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java
void hasCapability_variousCaps_returnsTrue_andCapturesArgument(int cap) throws Exception { // Arrange: stub to return true regardless of input when(handle.hasCapability(anyInt())).thenReturn(true); // Act boolean result = handle.hasCapability(cap); // Assert: verify return and the captured argument equals input assertTrue(result);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
guava/src/com/google/common/net/InetAddresses.java
* * <p>Note that if this method returns {@code true}, a call to {@link #forString(String)} can * still throw if the address has a scope ID that fails validation against the interfaces on the * machine. * * @param ipString {@code String} to evaluated as an IP string literal * @return {@code true} if the argument is a valid IP string literal */Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 47.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComTransactionResponse.java
protected int dataDisplacement; protected int setupCount; protected int bufParameterStart; protected int bufDataStart; int dataCount; byte subCommand; boolean hasMore = true; boolean isPrimary = true; byte[] txn_buf; /* for doNetEnum and doFindFirstNext */ int status; int numEntries; FileEntry[] results; SmbComTransactionResponse() { txn_buf = null;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java
return false; } @Override public boolean isDone() { return true; } @Override public boolean isCancelled() { return true; // BAD!! } @Override public String get() { return "foo"; // BAD!! } @OverrideRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 6.2K bytes - Viewed (0) -
internal/s3select/sql/stringfuncs.go
switch r { case percent: if len(s) == 0 { hasLeadingPercent = true continue } text, ok = matcher(text, string(s), hasLeadingPercent) if !ok { return false, nil } hasLeadingPercent = true s = []rune{} if i == patLen-1 { // Last pattern character is a %, so // we are done. return true, nil } case underscore: if len(s) == 0 {Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 4.2K bytes - Viewed (0)