- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 50 for dotExt (1.4 sec)
-
src/cmd/go/internal/work/build.go
// and ext (without the dot). If the file has no // extension, ext will be empty. func fileExtSplit(file string) (name, ext string) { dotExt := filepath.Ext(file) name = file[:len(file)-len(dotExt)] if dotExt != "" { ext = dotExt[1:] } return } func pkgsMain(pkgs []*load.Package) (res []*load.Package) { for _, p := range pkgs { if p.Name == "main" { res = append(res, p)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 17:22:59 UTC 2024 - 33.2K bytes - Viewed (0) -
src/go/doc/comment.go
pr := new(comment.Printer) w.Write(pr.HTML(d)) } // ToText converts comment text to formatted text. // // Deprecated: ToText cannot identify documentation links // in the doc comment, because they depend on knowing what // package the text came from, which is not included in this API. // // Given the *[doc.Package] p where text was found, // ToText(w, text, "", "\t", 80) can be replaced by: // // w.Write(p.Text(text)) //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:31:52 UTC 2022 - 1.9K bytes - Viewed (0) -
src/internal/filepathlite/path.go
// writing to buf; w is index of next byte to write. // dotdot is index in buf where .. must stop, either because // it is the leading slash or it is a leading ../../.. prefix. n := len(path) out := lazybuf{path: path, volAndPath: originalPath, volLen: volLen} r, dotdot := 0, 0 if rooted { out.append(Separator) r, dotdot = 1, 1 } for r < n { switch { case IsPathSeparator(path[r]):
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 23:07:50 UTC 2024 - 5.8K bytes - Viewed (0) -
platforms/jvm/testing-jvm-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/junit/IgnoredTestDescriptorProviderTest.groovy
@Ignore @RunWith(CustomRunner.class) static class RunWithSpec { void doTest() {} } @Ignore @RunWith() static class EmptyRunWithSpec { void doTest() {} } @Ignore @RunWith(MissingConstructorRunner.class) static class MissingConstructorRunWithSpec { void doTest() {} } @Ignore static class SuiteMethodSpec {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 4.7K bytes - Viewed (0) -
src/cmd/internal/obj/dwarf.go
lastlen := uint64(s.Size - (lastpc - s.Func().Text.Pc)) dctxt.AddUint8(lines, dwarf.DW_LNS_advance_pc) dwarf.Uleb128put(dctxt, lines, int64(lastlen)) dctxt.AddUint8(lines, 0) // start extended opcode dwarf.Uleb128put(dctxt, lines, 1) dctxt.AddUint8(lines, dwarf.DW_LNE_end_sequence) } func putpclcdelta(linkctxt *Link, dctxt dwCtxt, s *LSym, deltaPC uint64, deltaLC int64) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 01 20:40:28 UTC 2023 - 22K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/DefaultDynamicCallProblemReportingTest.kt
val results = Collections.synchronizedList(mutableListOf<Boolean>()) fun doTest() { reporting.enterDynamicCall(this) latch.countDown() latch.await() results += reporting.unreportedProblemInCurrentCall(problem) } (1..3).map { thread { doTest() } }.forEach(Thread::join) assertEquals(listOf(true, true, true), results) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 2.9K bytes - Viewed (0) -
src/path/path.go
// reading from path; r is index of next byte to process. // writing to buf; w is index of next byte to write. // dotdot is index in buf where .. must stop, either because // it is the leading slash or it is a leading ../../.. prefix. out := lazybuf{s: path} r, dotdot := 0, 0 if rooted { out.append('/') r, dotdot = 1, 1 } for r < n { switch { case path[r] == '/': // empty path element r++
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 23 17:33:57 UTC 2023 - 5.9K bytes - Viewed (0) -
pkg/test/framework/components/echo/echotest/run.go
t.setupPair(ctx, callers, echo.Services{dstInstances}) doTest := func(ctx framework.TestContext, fromCluster cluster.Cluster, dst echo.Instances) { if gwIngress == nil { ctx.Skipf("no gateway for %s", fromCluster.StableName()) } testFn(ctx, gwIngress, dst) } if len(ctx.Clusters()) == 1 { doTest(ctx, ctx.Clusters()[0], dstInstances) } else {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Sep 27 22:08:42 UTC 2023 - 13K bytes - Viewed (0) -
cmd/kubeadm/app/apis/kubeadm/validation/util_windows.go
"path/filepath" ) func isAbs(path string) bool { // on Windows, filepath.IsAbs will not return True for paths prefixed with a slash, even // though they can be used as absolute paths (https://docs.microsoft.com/en-us/dotnet/standard/io/file-path-formats). return filepath.IsAbs(path) || (len(path) > 0 && (path[0] == '\\' || path[0] == '/'))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Aug 26 13:03:13 UTC 2022 - 987 bytes - Viewed (0) -
src/cmd/internal/bootstrap_test/reboot_test.go
// This mimics the configuration one much have when // building from distro-packaged source code // (see https://go.dev/issue/54852). parent := t.TempDir() dotGit := filepath.Join(parent, ".git") if err := os.Mkdir(dotGit, 000); err != nil { t.Fatal(err) } overlayStart := time.Now() goroot := filepath.Join(parent, "goroot") gorootSrc := filepath.Join(goroot, "src")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 2.6K bytes - Viewed (0)