- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for formatFile (0.27 sec)
-
src/go/doc/example_test.go
case "Play": got = strings.TrimSpace(formatFile(t, fset, ex.Play)) case "Output": got = strings.TrimSpace(ex.Output) default: t.Fatalf("bad section kind %q", kind) } if got != want { t.Errorf("%s mismatch:\n%s", sectionName, diff.Diff("want", []byte(want), "got", []byte(got))) } } }) } } func formatFile(t *testing.T, fset *token.FileSet, n *ast.File) string {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 10 16:17:51 UTC 2022 - 9.6K bytes - Viewed (0) -
cmd/xl-storage.go
attr := "user.total_deletes" buf, err := xattr.LGet(s.formatFile, attr) if err != nil { // We start off with '0' if we can read the attributes return 0 } return binary.LittleEndian.Uint64(buf[:8]) } func (s *xlStorage) getWriteAttribute() uint64 { attr := "user.total_writes" buf, err := xattr.LGet(s.formatFile, attr) if err != nil { // We start off with '0' if we can read the attributes
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 85.3K bytes - Viewed (2) -
okhttp/src/test/java/okhttp3/internal/concurrent/TaskLoggerTest.kt
*/ package okhttp3.internal.concurrent import assertk.assertThat import assertk.assertions.isEqualTo import org.junit.jupiter.api.Test class TaskLoggerTest { @Suppress("ktlint") @Test fun formatTime() { assertThat(formatDuration(-3_499_999_999L)).isEqualTo(" -3 s ") assertThat(formatDuration(-3_000_000_000L)).isEqualTo(" -3 s ") assertThat(formatDuration(-2_500_000_000L)).isEqualTo(" -3 s ")
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.6K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/verification/serializer/DependencyVerificationsXmlReaderTest.groovy
<verification-metadata> <configuration> <verify-metadata>true</verify-metadata> $formatLine </configuration> </verification-metadata> """ then: verifier.configuration.keyringFormat == expectedResult where: formatLine | expectedResult
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 18 10:13:31 UTC 2023 - 15.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/debug/debug.cc
// or stdout. pm.getContext()->disableMultithreading(); } if (dump_to_dir) { dump_dir = tsl::io::JoinPath( dump_dir, absl::FormatTime("%E4Y%m%d_%H%M%E6S", absl::Now(), absl::LocalTimeZone())); // Get a valid file path to dump with. tsl::Env* env = tsl::Env::Default();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jan 10 02:44:52 UTC 2024 - 11.8K bytes - Viewed (0) -
src/cmd/internal/obj/s390x/asmz.go
op_NGR uint32 = 0xB980 // FORMAT_RRE AND (64) op_NGRK uint32 = 0xB9E4 // FORMAT_RRF1 AND (64) op_NI uint32 = 0x9400 // FORMAT_SI AND (immediate) op_NIAI uint32 = 0xB2FA // FORMAT_IE NEXT INSTRUCTION ACCESS INTENT op_NIHF uint32 = 0xC00A // FORMAT_RIL1 AND IMMEDIATE (high) op_NIHH uint32 = 0xA504 // FORMAT_RI1 AND IMMEDIATE (high high)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 16 17:46:09 UTC 2024 - 176.7K bytes - Viewed (0) -
src/internal/trace/traceviewer/static/trace_viewer_full.html
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 20:45:06 UTC 2023 - 2.5M bytes - Viewed (1)