Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 159 for __callback (0.34 sec)

  1. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

            }
            response.request
          }
        val blockingAuthClient =
          client.newBuilder()
            .authenticator(authenticator)
            .build()
        val callback: Callback =
          object : Callback {
            override fun onFailure(
              call: Call,
              e: IOException,
            ) {
              fail("")
            }
    
            override fun onResponse(
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  2. src/runtime/coro_test.go

    			checkCoroTestProgOutput(t, runTestProg(t, "testprog", test))
    		})
    	}
    }
    
    func TestCoroCgoCallback(t *testing.T) {
    	testenv.MustHaveCGO(t)
    	if runtime.GOOS == "windows" {
    		t.Skip("coro cgo callback tests not supported on Windows")
    	}
    	for _, test := range []string{
    		"CoroCgoIterCallback",
    		"CoroCgoIterCallbackYield",
    		"CoroCgoCallback",
    		"CoroCgoCallbackIterNested",
    		"CoroCgoCallbackIterCallback",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 21:36:37 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. src/testing/newcover.go

    	if mode == "" {
    		return
    	}
    	cover2.mode = mode
    	cover2.tearDown = tearDown
    	cover2.snapshotcov = snapcov
    }
    
    // coverReport2 invokes a callback in _testmain.go that will
    // emit coverage data at the point where test execution is complete,
    // for "go test -cover" runs.
    func coverReport2() {
    	if !goexperiment.CoverageRedesign {
    		panic("unexpected")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:58:07 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/DefaultValueSourceProviderFactoryTest.groovy

            }
    
            when: "value is obtained for the 1st time"
            provider.get()
    
            then: "beforeValueObtained callback is notified"
            1 * computationListener.beforeValueObtained()
    
            then: "afterValueObtained callback is notified"
            1 * computationListener.afterValueObtained()
    
            then: "valueObtained is notified"
            obtainedValues.size() == 1
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 08:26:25 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/endpoints/filterlatency/filterlatency_test.go

    	if handlerCallCount != 1 {
    		t.Errorf("expected the given handler to be invoked once, but was actually invoked %d times", handlerCallCount)
    	}
    	if actionCallCount != 1 {
    		t.Errorf("expected the action callback to be invoked once, but was actually invoked %d times", actionCallCount)
    	}
    	if filterRecordGot == nil {
    		t.Fatal("expected a filter record in the request context, but got nil")
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:57:37 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/ir/host_runtime/tfrt_ops.td

        This op takes `args` with their `names` (their cardinality must match) and
        sends the given argument tensors back to the serving controller. This
        triggers a controller-side stream callback (see `ScopedStreamCallback`).
    
        In addition to the listed attributes, this op has two "hidden" attributes
        that do not exist in SavedModel but are dynamically populated by the serving
        runtime:
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 20:44:15 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/stream_executor/stream_executor_test.cc

      };
      StreamExecutor* executor = GetExecutor(0);
      TF_ASSERT_OK_AND_ASSIGN(auto stream, executor->CreateStream());
      std::function<absl::Status()> callback = []() -> absl::Status {
        return absl::OkStatus();
      };
      TF_ASSERT_OK(stream->DoHostCallbackWithStatus(callback));
    }
    
    TEST_F(StreamExecutorTest, HostCallbackError) {
      se_.host_callback = [](const SP_Device* const device, SP_Stream stream,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 19:54:04 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/local/model/LocalComponentGraphResolveState.java

        /**
         * We currently allow a configuration that has been partially observed for resolution to be modified
         * in a beforeResolve callback.
         *
         * To reduce the number of instances of root component metadata we create, we mark all configurations
         * as dirty and in need of re-evaluation when we see certain types of modifications to a configuration.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 16:00:57 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/client/DaemonClientTest.groovy

            1 * connector.connect(compatibilitySpec) >> connection
            _ * connection.daemon >> Stub(DaemonConnectDetails)
            1 * cancellationToken.addCallback(_) >> { Runnable callback ->
                callback.run()
                return false
            }
    
            1 * connection.dispatch({ it instanceof Build })
            2 * connection.receive() >>> [Stub(BuildStarted), new Failure(new DaemonStoppedException())]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:54:56 UTC 2024
    - 10K bytes
    - Viewed (0)
  10. fastapi/openapi/docs.py

                        });
                    }
    
                    if (qp.code) {
                        delete oauth2.state;
                        oauth2.auth.code = qp.code;
                        oauth2.callback({auth: oauth2.auth, redirectUrl: redirectUrl});
                    } else {
                        let oauthErrorMsg;
                        if (qp.error) {
                            oauthErrorMsg = "["+qp.error+"]: " +
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 23 22:59:02 UTC 2024
    - 10.1K bytes
    - Viewed (0)
Back to top