- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 57 for assertion (0.3 sec)
-
tests/embedded_struct_test.go
} func (c *Content) Scan(src interface{}) error { var value Content str, ok := src.(string) if !ok { byt, ok := src.([]byte) if !ok { return errors.New("Embedded.Scan byte assertion failed") } if err := json.Unmarshal(byt, &value); err != nil { return err } } else { if err := json.Unmarshal([]byte(str), &value); err != nil { return err } }
Registered: Sun Oct 27 09:35:08 UTC 2024 - Last Modified: Wed May 08 04:07:58 UTC 2024 - 7.3K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBrokenInternalLinks.java
fw.println(message); } } catch (IOException e) { throw new UncheckedIOException(e); } throw new GradleException("Documentation assertion failed: found invalid internal links. See " + new org.gradle.internal.logging.ConsoleRenderer().asClickableFileUrl(reportFile)); } private void writeHeader(PrintWriter fw) { fw.println("# Valid links are:");
Registered: Wed Oct 30 11:36:09 UTC 2024 - Last Modified: Wed Aug 21 08:08:05 UTC 2024 - 9.4K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_lib_test.cc
EXPECT_NE(TF_GetCode(status.get()), TF_CANCELLED); EXPECT_EQ(TF_GetCode(status.get()), TF_INVALID_ARGUMENT); EXPECT_THAT(TF_Message(status.get()), HasSubstr("assertion failed")); // Note that future collectives with the same context do not work at the // moment; once canceled, the collective executor requires the program to be // restarted / context to be reset. }
Registered: Tue Oct 29 12:39:09 UTC 2024 - Last Modified: Mon Oct 21 04:14:14 UTC 2024 - 15.6K bytes - Viewed (0) -
cmd/object-api-listobjects_test.go
}, }, // ListObjectsResult-5. // Used for Asserting prefixes. // Used for test case with prefix "new", (testCase 27-29). 5: { IsTruncated: false, Objects: []ObjectInfo{ {Name: "newPrefix0"}, {Name: "newPrefix1"}, {Name: "newzen/zen/recurse/again/again/again/pics"}, }, }, // ListObjectsResult-6. // Used for Asserting prefixes.
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Wed May 01 11:07:40 UTC 2024 - 73.1K bytes - Viewed (0) -
doc/go1.17_spec.html
otherwise the type assertion is invalid since it is not possible for <code>x</code> to store a value of type <code>T</code>. If <code>T</code> is an interface type, <code>x.(T)</code> asserts that the dynamic type of <code>x</code> implements the interface <code>T</code>. </p> <p> If the type assertion holds, the value of the expression is the value
Registered: Tue Oct 29 11:13:09 UTC 2024 - Last Modified: Thu Oct 10 18:25:45 UTC 2024 - 211.6K bytes - Viewed (0) -
cmd/server_test.go
c.Assert(err, nil) // asserting for the expected error response. verifyError(c, response, "NoSuchBucket", "The specified bucket does not exist", http.StatusNotFound) } func (s *TestSuiteCommon) TestPutBucket(c *check) { // generate a random bucket name. bucketName := getRandomBucketName() // Block 1: Testing for racy access
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Mon Jul 15 16:28:02 UTC 2024 - 116.3K bytes - Viewed (0) -
doc/go_spec.html
otherwise the type assertion is invalid since it is not possible for <code>x</code> to store a value of type <code>T</code>. If <code>T</code> is an interface type, <code>x.(T)</code> asserts that the dynamic type of <code>x</code> <a href="#Implementing_an_interface">implements</a> the interface <code>T</code>. </p> <p> If the type assertion holds, the value of the expression is the value
Registered: Tue Oct 29 11:13:09 UTC 2024 - Last Modified: Wed Oct 02 00:58:01 UTC 2024 - 282.5K bytes - Viewed (1) -
cmd/object-handlers_test.go
// object has to be created before running tests for HeadObject. // this is required even to assert the HeadObject data, // since dataInserted === dataFetched back is a primary criteria for any object storage this assertion is critical. bytesData := []struct { byteData []byte }{ {generateBytesData(6 * humanize.MiByte)}, } // set of inputs for uploading the objects before tests for downloading is done.
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Thu Sep 12 20:10:44 UTC 2024 - 163.2K bytes - Viewed (0) -
RELEASE.md
* Fixes a null dereference on MLIR on empty function attributes ([CVE-2022-36011](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-36011)) * Fixes an assertion failure on MLIR empty edge names ([CVE-2022-36012](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-36012))
Registered: Tue Oct 29 12:39:09 UTC 2024 - Last Modified: Tue Oct 22 14:33:53 UTC 2024 - 735.3K bytes - Viewed (0) -
common-protos/k8s.io/api/core/v1/generated.proto
// Optional: Path at which the file to which the container's termination message // will be written is mounted into the container's filesystem. // Message written is intended to be brief final status, such as an assertion failure message. // Will be truncated by the node if greater than 4096 bytes. The total message length across // all containers will be limited to 12kb. // Defaults to /dev/termination-log. // Cannot be updated.
Registered: Wed Oct 30 22:53:10 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 255.8K bytes - Viewed (0)