- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for SetCallback (0.15 sec)
-
src/cmd/cgo/internal/swig/testdata/callback/main.go
} func testCall() { c := NewCaller() cb := NewCallback() c.SetCallback(cb) s := c.Call() if s != "Callback::run" { fatal("unexpected string from Call: %q", s) } c.DelCallback() } func testCallback() { c := NewCaller() cb := NewDirectorCallback(&GoCallback{}) c.SetCallback(cb) s := c.Call() if s != "GoCallback.Run" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:07 UTC 2023 - 1K bytes - Viewed (0) -
src/cmd/cgo/internal/swig/testdata/callback/main.h
}; class Caller { private: Callback *callback_; public: Caller(): callback_(0) { } ~Caller() { delCallback(); } void delCallback() { delete callback_; callback_ = 0; } void setCallback(Callback *cb) { delCallback(); callback_ = cb; } std::string call();
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:07 UTC 2023 - 529 bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_quantizable_spots_as_functions.cc
"Uses TF Uniform Quantized ops"))}; // Initialize for tests. void initializeForTest() { if (!test_mode_) return; op_set_.setCallback([this](const OpSet& new_op_set) { quant_options_.set_op_set(new_op_set); }); // Set the test quantization method to static-range. if (quant_options_.quantization_method().preset_method() ==
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 10 04:07:09 UTC 2024 - 16.4K bytes - Viewed (0) -
security/pkg/nodeagent/sds/sdsservice.go
}, PrivateKeyProvider: &tls.PrivateKeyProvider{ ProviderName: "cryptomb", ConfigType: &tls.PrivateKeyProvider_TypedConfig{ TypedConfig: msg, }, Fallback: crypto.GetFallback().GetValue(), }, }, } case *mesh.PrivateKeyProvider_Qat: qatConf := pkpConf.GetQat() msg := protoconv.MessageToAny(&qat.QatPrivateKeyMethodConfig{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat May 25 00:20:04 UTC 2024 - 10.9K bytes - Viewed (0) -
pilot/pkg/xds/sds.go
}, PrivateKeyProvider: &envoytls.PrivateKeyProvider{ ProviderName: "cryptomb", ConfigType: &envoytls.PrivateKeyProvider_TypedConfig{ TypedConfig: msg, }, Fallback: crypto.GetFallback().GetValue(), }, }, }, }) case *mesh.PrivateKeyProvider_Qat: qatConf := pkpConf.GetQat() msg := protoconv.MessageToAny(&qat.QatPrivateKeyMethodConfig{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 15 23:04:36 UTC 2024 - 15.8K bytes - Viewed (0) -
pilot/pkg/xds/sds_test.go
for _, scrt := range raw { privateKeyProvider := scrt.GetTlsCertificate().GetPrivateKeyProvider() if privateKeyProvider == nil { t.Fatalf("expect private key provider in secret") } if privateKeyProvider.GetFallback() { t.Fatalf("expect fallback for private key provider in secret as false") } } // erase private key provider in proxy-config
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon May 13 20:55:20 UTC 2024 - 17.7K bytes - Viewed (0)