Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 409 for Callback (0.07 sec)

  1. okhttp-coroutines/src/main/kotlin/okhttp3/coroutines/ExecuteAsync.kt

    package okhttp3.coroutines
    
    import kotlin.coroutines.resumeWithException
    import kotlinx.coroutines.ExperimentalCoroutinesApi
    import kotlinx.coroutines.suspendCancellableCoroutine
    import okhttp3.Call
    import okhttp3.Callback
    import okhttp3.Response
    import okhttp3.internal.closeQuietly
    import okio.IOException
    
    @ExperimentalCoroutinesApi // resume with a resource cleanup.
    suspend fun Call.executeAsync(): Response =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 18 01:24:38 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. tests/hooks_test.go

    	}
    
    	p2.Code = "dont_save"
    	if DB.Save(&p2).Error == nil {
    		t.Fatalf("An error from before save callbacks happened when update with invalid value")
    	}
    
    	p3 := Product{Code: "dont_delete", Price: 100}
    	DB.Save(&p3)
    	if DB.Delete(&p3).Error == nil {
    		t.Fatalf("An error from before delete callbacks happened when delete")
    	}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 17 03:59:06 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  3. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

            }
        }
    
        public int getCount(final Consumer<SearchRequestBuilder> callback) {
            final TotalHits totalHits = getClient().get(c -> {
                final SearchRequestBuilder builder = c.prepareSearch(index).setSize(0).setTrackTotalHits(true);
                callback.accept(builder);
                return builder.execute();
            }).getHits().getTotalHits();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  4. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java

        }
    
        public List<OpenSearchAccessResult> getAccessResultList(final Consumer<SearchRequestBuilder> callback) {
            final SearchResponse response = getClient().get(c -> {
                final SearchRequestBuilder builder = c.prepareSearch(index);
                callback.accept(builder);
                builder.setFetchSource(new String[] { "parentUrl", "method", "mimeType", "sessionId", "url", "executionTime", "createTime",
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/config/allcommon/EsAbstractConditionQuery.java

            void callback(CQ query, CF filter);
        }
    
        @FunctionalInterface
        public interface OperatorCall<CQ extends EsAbstractConditionQuery> {
    
            void callback(CQ query);
        }
    
        @FunctionalInterface
        public interface ScoreFunctionCall<CC extends ScoreFunctionCreator<?>> {
    
            void callback(CC creator);
        }
    
        @FunctionalInterface
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/user/allcommon/EsAbstractConditionQuery.java

            void callback(CQ query, CF filter);
        }
    
        @FunctionalInterface
        public interface OperatorCall<CQ extends EsAbstractConditionQuery> {
    
            void callback(CQ query);
        }
    
        @FunctionalInterface
        public interface ScoreFunctionCall<CC extends ScoreFunctionCreator<?>> {
    
            void callback(CC creator);
        }
    
        @FunctionalInterface
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  7. src/main/resources/fess_ds.xml

    	"http://dbflute.org/meta/lastadi10.dtd">
    <components>
    	<component name="dataStoreFactory" class="org.codelibs.fess.ds.DataStoreFactory">
    	</component>
    	<component name="indexUpdateCallback" class="org.codelibs.fess.ds.callback.IndexUpdateCallbackImpl" instance="prototype">
    	</component>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu May 31 09:46:09 UTC 2018
    - 404 bytes
    - Viewed (0)
  8. regression-test/src/androidTest/java/okhttp/regression/compare/AndroidHttpEngineTest.kt

    import android.net.http.DnsOptions
    import android.net.http.HttpEngine
    import android.net.http.HttpException
    import android.net.http.QuicOptions
    import android.net.http.UrlRequest
    import android.net.http.UrlRequest.Callback
    import android.net.http.UrlRequest.REQUEST_PRIORITY_MEDIUM
    import android.net.http.UrlResponseInfo
    import androidx.test.ext.junit.runners.AndroidJUnit4
    import androidx.test.filters.SdkSuppress
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 24 13:19:43 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  9. okhttp-coroutines/src/test/kotlin/okhttp3/coroutines/ExecuteAsyncTest.kt

    import kotlinx.coroutines.withContext
    import kotlinx.coroutines.withTimeout
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import mockwebserver3.SocketPolicy.DisconnectAfterRequest
    import okhttp3.Callback
    import okhttp3.FailingCall
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.OkHttpClientTestRule
    import okhttp3.Protocol
    import okhttp3.Request
    import okhttp3.Response
    import okhttp3.ResponseBody
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 18 01:24:38 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  10. test-site/test/IntegrationTest.java

         * in this example we just check if the welcome page is being shown
         */
        @Test
        public void test() {
            running(testServer(3333, fakeApplication(inMemoryDatabase())), HTMLUNIT, new Callback<TestBrowser>() {
                public void invoke(TestBrowser browser) {
                    browser.goTo("http://localhost:3333");
                    assertThat(browser.pageSource()).contains("Your new application is ready.");
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Mon Apr 20 08:41:37 UTC 2015
    - 773 bytes
    - Viewed (0)
Back to top