- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 169 for getPost (0.07 sec)
-
guava-testlib/src/com/google/common/collect/testing/testers/ListSetTester.java
int index = aValidIndex(); E initialValue = getList().get(index); assertEquals( "set(i, x) should return the old element at position i.", initialValue, getList().set(index, newValue)); assertEquals("After set(i, x), get(i) should return x", newValue, getList().get(index)); assertEquals("set() should not change the size of a list.", getNumElements(), getList().size()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListEqualsTester.java
assertFalse( "Lists of different sizes should not be equal.", getList().equals(new ArrayList<E>(moreElements))); } public void testEquals_set() { assertFalse("A List should never equal a Set.", getList().equals(MinimalSet.from(getList()))); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 3.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveTester.java
E duplicate = arrayAndDuplicate.duplicate; int firstIndex = getList().indexOf(duplicate); int initialSize = getList().size(); assertTrue("remove(present) should return true", getList().remove(duplicate)); assertTrue( "After remove(duplicate), a list should still contain the duplicate element", getList().contains(duplicate)); assertFalse(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 2.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveAtIndexTester.java
public void testRemoveAtIndex_unsupported() { assertThrows(UnsupportedOperationException.class, () -> getList().remove(0)); expectUnchanged(); } @ListFeature.Require(SUPPORTS_REMOVE_WITH_INDEX) public void testRemoveAtIndex_negative() { assertThrows(IndexOutOfBoundsException.class, () -> getList().remove(-1)); expectUnchanged(); } @ListFeature.Require(SUPPORTS_REMOVE_WITH_INDEX)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFile.java
this.isExists = false; try { if ( this.url.getHost().length() == 0 ) {} else if ( this.fileLocator.getShare() == null ) { if ( this.fileLocator.getType() == TYPE_WORKGROUP ) { getContext().getNameServiceClient().getByName(this.url.getHost(), true); } else {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu May 23 01:50:13 UTC 2024 - 82.3K bytes - Viewed (0) -
cmd/warm-backend-azure.go
azMeta[k] = to.Ptr(v) } resp, err := az.clnt.UploadStream(ctx, az.Bucket, az.getDest(object), io.LimitReader(r, length), &azblob.UploadStreamOptions{ Concurrency: 4, AccessTier: az.tier(), // set tier if specified Metadata: azMeta, }) if err != nil { return "", azureToObjectError(err, az.Bucket, az.getDest(object)) } vid := "" if resp.VersionID != nil { vid = *resp.VersionID }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 31 22:10:24 UTC 2024 - 7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/search/SearchApiTests.java
List<Map<String, Object>> docs1 = JsonPath.from(wcResponse1).getList("data"); for (Map<String, Object> doc : docs1) { assertTrue(doc.get(field).toString().toLowerCase().contains(query), doc.toString()); } List<Map<String, Object>> docs2 = JsonPath.from(wcResponse2).getList("data"); for (Map<String, Object> doc : docs2) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 18.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/NetServerEnumIterator.java
if ( locator.getURL().getHost().isEmpty() ) { this.request = new NetServerEnum2(th.getConfig(), th.getOEMDomainName(), NetServerEnum2.SV_TYPE_DOMAIN_ENUM); this.response = new NetServerEnum2Response(th.getConfig()); } else if ( this.workgroup ) { this.request = new NetServerEnum2(th.getConfig(), locator.getURL().getHost(), NetServerEnum2.SV_TYPE_ALL);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 6K bytes - Viewed (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/CLIManagerDocumentationTest.java
private static class OptionComparator implements Comparator<Option> { public int compare(Option opt1, Option opt2) { String s1 = opt1.getOpt() != null ? opt1.getOpt() : opt1.getLongOpt(); String s2 = opt2.getOpt() != null ? opt2.getOpt() : opt2.getLongOpt(); return s1.compareToIgnoreCase(s2); } } private static class CLIManagerExtension extends CLIManager {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/SLinkedListTest.java
* @throws Exception */ @Test public void testGetLast() throws Exception { try { list.getLast(); fail(); } catch (final NoSuchElementException ex) { System.out.println(ex); } list.addLast("1"); assertThat(list.getLast(), is("1")); } /** * @throws Exception */ @Test
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 8.3K bytes - Viewed (0)