- Sort Score
- Result 10 results
- Languages All
Results 991 - 1000 of 2,268 for Method (0.04 sec)
-
tests/count_test.go
if count != int64(len(users)) { t.Errorf("Count() method should get correct value, expect: %v, got %v", count, len(users)) } if err := DB.Model(&User{}).Where("name = ?", user1.Name).Or("name = ?", user3.Name).Count(&count).Find(&users).Error; err != nil { t.Errorf(fmt.Sprintf("Count should work, but got err %v", err)) } if count != int64(len(users)) {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Oct 30 09:15:49 UTC 2023 - 6.9K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java
final SearchRequestBuilder builder = c.prepareSearch(index); callback.accept(builder); builder.setFetchSource(new String[] { "parentUrl", "method", "mimeType", "sessionId", "url", "executionTime", "createTime", "contentLength", "lastModified", "ruleId", "httpStatusCode", "status" }, null); return builder.execute(); });
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 10.9K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/Platform.java
import java.util.concurrent.TimeoutException; import org.jspecify.annotations.Nullable; /** Methods factored out so that they can be emulated differently in GWT. */ final class Platform { static boolean isInstanceOfThrowableClass(Throwable t, Class<? extends Throwable> expectedClass) { /* * This method is used only by CatchingFuture, and CatchingFuture accepts only Throwable.class * under GWT. */Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 27 16:15:49 UTC 2025 - 2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableList.java
? copyOf((Collection<? extends E>) elements) : copyOf(elements.iterator()); } /** * Returns an immutable list containing the given elements, in order. * * <p>Despite the method name, this method attempts to avoid actually copying the data when it is * safe to do so. The exact circumstances under which a copy will or will not be performed are * undocumented and subject to change. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 27.5K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt
* compressed stream that is terminated in a web socket frame even though the DEFLATE stream is * not terminated. * * Use this method to create a degenerate Okio Buffer where each byte is in a separate segment of * the internal list. */ @JvmStatic fun fragmentBuffer(buffer: Buffer): Buffer {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.3K bytes - Viewed (0) -
docs/changelogs/changelog_3x.md
call. Create duplex calls by overriding the new `RequestBody.isDuplex()` method to return true. This simple option dramatically changes the behavior of the request body and of the entire call. The `RequestBody.writeTo()` method may now retain a reference to the provided sink and hand it off to another thread to write to it after `writeTo` returns.Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 14:55:54 UTC 2022 - 50.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/LabelTypeHelperTest.java
} public void test_buildLabelTypeItems() { List<LabelType> labelTypeList = createTestLabelTypeList(); try { labelTypeHelper.refresh(labelTypeList); // Method is protected, so we test it indirectly through refresh } catch (Exception e) { fail("buildLabelTypeItems() should not throw an exception: " + e.getMessage()); } }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 12.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java
@Test @DisplayName("Test initial indexNumber value is 0") void testInitialIndexNumber() { assertEquals(0L, fileInternalInfo.getIndexNumber()); } @Test @DisplayName("Test size method returns 8") void testSize() { assertEquals(8, fileInternalInfo.size()); } @Test @DisplayName("Test decode with valid data")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/TestLockingTest.java
void testNumCompleteIncrement() { TestLocking t = new TestLocking(); t.url = "smb://test/file.txt"; t.numIter = 0; // Set to 0 so run() exits immediately // Run the method t.run(); // Verify numComplete was incremented assertEquals(1, t.numComplete, "numComplete should be incremented after run"); } @Nested @DisplayName("Argument parsing")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type1MessageTest.java
void testType1MessageCreation() { // When Type1Message type1 = new Type1Message(mockContext); // Then assertNotNull(type1); // Note: getType() method does not exist in Type1Message assertTrue(type1.getFlags() != 0); // Should have some flags set } @Test @DisplayName("Should create Type 1 message with custom flags")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K bytes - Viewed (0)