Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 78 for __callback (0.23 sec)

  1. okhttp/src/test/java/okhttp3/EventListenerTest.kt

        )
        val call =
          client.newCall(
            Request.Builder()
              .url(server.url("/"))
              .build(),
          )
        val completionLatch = CountDownLatch(1)
        val callback: Callback =
          object : Callback {
            override fun onFailure(
              call: Call,
              e: IOException,
            ) {
              completionLatch.countDown()
            }
    
            override fun onResponse(
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 56.9K bytes
    - Viewed (0)
  2. src/main/webapp/js/admin/plugins/daterangepicker/daterangepicker.js

    ne();
    L1142:                this.endDate = this.oldEndDate.clone();
    L1143:            }
    L1144:
    L1145:            //if a new date range was selected, invoke the user callback function
    L1146:            if (!this.startDate.isSame(this.oldStartDate) || !this.endDate.isSame(this.oldEndDate))
    L1147:                this.callback(this.startDate.clone(), this.endDate.clone(), this.chosenLabel);
    L1148:
    L1149:            //if picker is attached to a text input, update it
    L1150:            this.updateElement();
    ...
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 13 04:21:06 UTC 2020
    - 65.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

        }
    
        protected void writeJsonResponse(final int status, final String body) {
            final String callback = LaRequestUtil.getOptionalRequest().map(req -> req.getParameter("callback")).orElse(null);
            final boolean isJsonp = ComponentUtil.getFessConfig().isApiJsonpEnabled() && StringUtil.isNotBlank(callback);
    
            final HttpServletResponse response = LaResponseUtil.getResponse();
            response.setStatus(status);
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 02:17:23 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  4. docs/changelogs/changelog_3x.md

    _2016-01-13_
    
    This release commits to a stable 3.0 API. Read the 3.0.0-RC1 changes for advice
    on upgrading from 2.x to 3.x.
    
     *  **The `Callback` interface now takes a `Call`**. This makes it easier to
        check if the call was canceled from within the callback. When migrating
        async calls to this new API, `Call` is now the first parameter for both
        `onResponse()` and `onFailure()`.
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/api/internal/AbstractDomainObjectCollectionSpec.groovy

            then:
            noExceptionThrown()
    
            where:
            methods << getQueryMethods() + getMutatingMethods()
        }
    
        def "fires build operation when emitting added callback and reestablishes user code context"() {
            given:
            containerSupportsBuildOperations()
    
            UserCodeApplicationId id1 = null
            userCodeApplicationContext.apply(Stub(UserCodeSource)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 52.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

                }
                callback.run();
                break;
            default:
                ComponentUtil.getCurlHelper().post("/_configsync/flush").execute(response -> {
                    if (logger.isDebugEnabled()) {
                        logger.debug("Flushed config files: {} => {}", fesenType, response.getContentAsString());
                    }
                    callback.run();
                }, e -> {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 84.1K bytes
    - Viewed (0)
  7. src/cmd/cgo/out.go

    	arg := "0"
    	if len(paramnames) > 0 {
    		arg = "uintptr(unsafe.Pointer(&p0))"
    	} else if !void {
    		arg = "uintptr(unsafe.Pointer(&r1))"
    	}
    
    	noCallback := p.noCallbacks[n.C]
    	if noCallback {
    		// disable cgocallback, will check it in runtime.
    		fmt.Fprintf(fgo2, "\t_Cgo_no_callback(true)\n")
    	}
    
    	prefix := ""
    	if n.AddError {
    		prefix = "errno := "
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:10 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  8. pkg/scheduler/framework/runtime/framework.go

    	return func(o *frameworkOptions) {
    		o.parallelizer = parallelize.NewParallelizer(parallelism)
    	}
    }
    
    // CaptureProfile is a callback to capture a finalized profile.
    type CaptureProfile func(config.KubeSchedulerProfile)
    
    // WithCaptureProfile sets a callback to capture the finalized profile.
    func WithCaptureProfile(c CaptureProfile) Option {
    	return func(o *frameworkOptions) {
    		o.captureProfile = c
    	}
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 60.9K bytes
    - Viewed (0)
  9. src/crypto/tls/handshake_server_test.go

    	}
    
    	if test.validate != nil {
    		if err := test.validate(connState); err != nil {
    			t.Fatalf("validate callback returned error: %s", err)
    		}
    	}
    
    	if write {
    		path := test.dataPath()
    		out, err := os.OpenFile(path, os.O_WRONLY|os.O_CREATE|os.O_TRUNC, 0644)
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  10. okhttp/api/okhttp.api

    	public static final field TYPE_A I
    	public static final field TYPE_AAAA I
    	public abstract fun query (Ljava/lang/String;Lokhttp3/AsyncDns$Callback;)V
    }
    
    public abstract interface class okhttp3/AsyncDns$Callback {
    	public abstract fun onFailure (Ljava/lang/String;Ljava/io/IOException;)V
    	public abstract fun onResponse (Ljava/lang/String;Ljava/util/List;)V
    }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 70.2K bytes
    - Viewed (0)
Back to top