- Sort Score
- Num 10 results
- Language All
Results 821 - 830 of 4,187 for shouldn (0.05 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RouteSelector.kt
// it is a name, all IPs for that name should be tried. If it is an IP address, only that IP // address should be tried. val address = address ?: return hostName // The InetSocketAddress has a specific address: we should only try that address. Therefore we // return the address and ignore any host name that may be available.Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Oct 08 03:50:05 GMT 2025 - 7.3K bytes - Click Count (2) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Options.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Jan 13 16:14:35 GMT 2025 - 6.5K bytes - Click Count (0) -
cmd/erasure-sets_test.go
// but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Affero General Public License for more details. // // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "context" "os" "path/filepath" "testing"
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 6.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/eventbus/outside/OutsideEventBusTest.java
deliveries.incrementAndGet(); } }); String EVENT = "Hello!"; bus.post(EVENT); assertEquals("Only one event should be delivered.", 1, deliveries.get()); assertWithMessage("Correct string should be delivered.").that(holder.get()).isEqualTo(EVENT); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 1.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/sso/saml/SamlAuthenticatorTest.java
assertFalse("Technical email should not contain @@", technicalEmail.contains("@@")); assertFalse("Support email should not contain @@", supportEmail.contains("@@")); // Verify correct email format assertEquals("******@****.***", technicalEmail); assertEquals("******@****.***", supportEmail); // Count @ occurrences - should be exactly 1
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 18.4K bytes - Click Count (0) -
android/guava/src/com/google/common/eventbus/EventBus.java
* subscribers should be reasonably quick. If an event may trigger an extended process (such as a * database load), spawn a thread or queue it for later. (For a convenient way to do this, use an * {@link AsyncEventBus}.) * * <h2>Subscriber Methods</h2> * * <p>Event subscriber methods must accept only one argument: the event. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 12.7K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/QueuePeekTester.java
@CollectionSize.Require(ZERO) public void testPeek_empty() { assertNull("emptyQueue.peek() should return null", getQueue().peek()); expectUnchanged(); } @CollectionSize.Require(ONE) public void testPeek_size1() { assertEquals("size1Queue.peek() should return first element", e0(), getQueue().peek()); expectUnchanged(); } @CollectionFeature.Require(KNOWN_ORDER)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 2.3K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/SetAddAllTester.java
assertTrue( "add(somePresent) should return true", getSet().addAll(MinimalCollection.of(e3(), e0()))); expectAdded(e3()); } @CollectionFeature.Require(SUPPORTS_ADD) public void testAddAll_withDuplicates() { MinimalCollection<E> elementsToAdd = MinimalCollection.of(e3(), e4(), e3(), e4()); assertTrue("add(hasDuplicates) should return true", getSet().addAll(elementsToAdd));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 2.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/index/SuggestIndexerTest.java
assertNotNull(deleteResponse); assertFalse(deleteResponse.hasError()); suggester.refresh(); // Document-only should be deleted, Query-only should remain, Both should remain but as Query only assertEquals(2, suggester.getAllWordsNum()); assertEquals(0, suggester.getDocumentWordsNum()); assertEquals(2, suggester.getQueryWordsNum()); }Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sat Mar 14 02:35:38 GMT 2026 - 28.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/DfsImplTest.java
void testIsTrustedDomain_ConnectionFails() throws SmbAuthException { // Scenario: Transport connection fails when(mockCredentials.getUserDomain()).thenReturn("authdomain.com"); // When transport fails, it should return false assertFalse(dfsImpl.isTrustedDomain(mockContext, "anydomain.com")); } // Tests for getDc @Test void testGetDc_DfsDisabled() throws SmbAuthException {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.5K bytes - Click Count (0)