- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 386 for assertMet (0.12 sec)
-
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/ForbidOne.groovy
*/ package org.gradle.test.fixtures.server import groovy.transform.CompileStatic @CompileStatic abstract class ForbidOne extends OneRequestServerExpectation { void assertMet() { if (run) { throw new AssertionError(notMetMessage as Object) } } abstract String getNotMetMessage()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 938 bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/ServerExpectation.groovy
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.test.fixtures.server interface ServerExpectation { void assertMet()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 711 bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/ExpectOne.groovy
*/ package org.gradle.test.fixtures.server import groovy.transform.CompileStatic @CompileStatic abstract class ExpectOne extends OneRequestServerExpectation { @Override void assertMet() { if (!run) { throw new AssertionError(notMetMessage as Object) } } abstract String getNotMetMessage()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 953 bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/ServerWithExpectations.groovy
@Override void resetExpectations() { try { if (failure != null) { throw failure } for (ServerExpectation e in expectations) { e.assertMet() } } finally { failure = null expectations.clear() } } @Override protected void after() { stop() resetExpectations()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.9K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/sftp/SFTPServer.groovy
} void assertMet() { //can never be not met } } class SftpAllowAll implements SftpExpectation { final boolean failing = false final boolean missing = false boolean matches(Buffer buffer, int type, int id) { return true } void assertMet() { //can never be not met
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 17.1K bytes - Viewed (0) -
test/typeparam/issue58513.go
return assert[To] } type asserter[_ any] struct{} func (asserter[_]) assert() { panic(0) } func AssertMV[To any]() func() { return asserter[To]{}.assert } func AssertME[To any]() func(asserter[To]) { return asserter[To].assert } var me = AssertME[string]() var tests = []func(){ Assert[int](), AssertMV[int](), func() { me(asserter[string]{}) }, } func main() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 27 23:07:49 UTC 2023 - 1.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/lite/quantize_weights_test.cc
ASSERT_EQ(status, kTfLiteOk); const uint8_t* buffer = builder.GetBufferPointer(); const Model* output_model = GetModel(buffer); ASSERT_TRUE(output_model); ASSERT_EQ(output_model->subgraphs()->size(), model_->subgraphs()->size()); const auto quantized_graph = output_model->subgraphs()->Get(0); // A dequantize op should be added. ASSERT_EQ(quantized_graph->operators()->size(),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 23:15:24 UTC 2024 - 32.3K bytes - Viewed (0) -
tensorflow/c/env_test.cc
ASSERT_EQ(::tensorflow::string(childpath), "somefile.txt"); // There should only be one file in this directory. ASSERT_FALSE(TF_StringStreamNext(children, &childpath)); ASSERT_EQ(childpath, nullptr); TF_StringStreamDone(children); TF_FileStatistics stats; TF_FileStat(filepath.c_str(), &stats, s); ASSERT_EQ(stats.length, strlen(data));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Dec 10 20:52:48 UTC 2018 - 4.2K bytes - Viewed (0) -
tensorflow/cc/client/client_session_test.cc
auto inter_op_threadpool = absl::make_unique<CustomThreadPoolImpl>(num_threads); ASSERT_EQ(inter_op_threadpool->GetNumScheduleCalled(), 0); auto intra_op_threadpool = absl::make_unique<CustomThreadPoolImpl>(num_threads); ASSERT_EQ(intra_op_threadpool->GetNumScheduleCalled(), 0); tensorflow::thread::ThreadPoolOptions threadPoolOptions;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 9.5K bytes - Viewed (0) -
src/cmd/compile/internal/ir/type.go
type DynamicType struct { miniExpr // RType is an expression that yields a *runtime._type value // representing the asserted type. // // BUG(mdempsky): If ITab is non-nil, RType may be nil. RType Node // ITab is an expression that yields a *runtime.itab value // representing the asserted type within the assertee expression's // original interface type. // // ITab is only used for assertions (including type switches) from
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Aug 20 05:56:49 UTC 2023 - 1.7K bytes - Viewed (0)