- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 43 for Uncommented (0.28 sec)
-
src/cmd/doc/testdata/pkg.go
error // Comment on line with embedded error. } // Comment about exported method. func (ExportedType) ExportedMethod(a int) bool { return true != true } func (ExportedType) Uncommented(a int) bool { return true != true } // Comment about unexported method. func (ExportedType) unexportedMethod(a int) bool { return true } type ExportedStructOneField struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 07 19:16:55 UTC 2023 - 5.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/mod/modfile/rule.go
// when their indirect markings change. However, SetRequireSeparateIndirect // won't move requirements from other blocks, especially blocks with comments. // // If the file initially has one uncommented block of requirements, // SetRequireSeparateIndirect will split it into a direct-only and indirect-only // block. This aids in the transition to separate blocks. func (f *File) SetRequireSeparateIndirect(req []*Require) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 18:34:56 UTC 2024 - 46.5K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/yaml/decoder_test.go
func TestDecodeYAMLSeparatorValidation(t *testing.T) { s := NewYAMLToJSONDecoder(bytes.NewReader([]byte(`--- stuff: 1 --- # Make sure termination happen with inline comment stuff: 2 --- stuff: 3 --- Make sure uncommented content results YAMLSyntaxError `))) obj := generic{} if err := s.Decode(&obj); err != nil { t.Fatalf("unexpected error: %v", err) } if fmt.Sprintf("%#v", obj) != `yaml.generic{"stuff":1}` {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 10 07:29:34 UTC 2023 - 12.4K bytes - Viewed (0) -
src/cmd/doc/doc_test.go
`Comment about constructor for exported type.`, `func ReturnExported\(\) ExportedType`, `func \(ExportedType\) ExportedMethod\(a int\) bool`, `Comment about exported method.`, `func \(ExportedType\) Uncommented\(a int\) bool\n\n`, // Ensure line gap after method with no comment }, []string{ `unexportedType`, }, }, // Type T1 dump (alias). { "type T1", []string{p + ".T1"}, []string{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 07 19:16:55 UTC 2023 - 31.2K bytes - Viewed (0) -
src/cmd/asm/internal/asm/testdata/arm64enc.s
// Copyright 2017 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // The cases are auto-generated by disassembler. // The uncommented cases means they can be handled by assembler // and they are consistent with disassembler decoding. // TODO means they cannot be handled by current assembler. #include "../../../../../runtime/textflag.h"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jul 24 01:11:41 UTC 2023 - 43.9K bytes - Viewed (0) -
src/os/user/lookup_unix_test.go
{testUserFile, "8", ""}, // plus sign, glibc doesn't find it {testUserFile, "9", ""}, // minus sign, glibc doesn't find it {testUserFile, "27", ""}, // malformed {testUserFile, "28", ""}, // commented out {testUserFile, "29", ""}, // commented out, indented {testUserFile, "3", "indented"}, {testUserFile, "30", ""}, // the Gid is not valid, shouldn't match {"", "1", ""}, } func TestInvalidUserId(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 11 04:31:34 UTC 2022 - 7.3K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/execution/TopLevelBlockExtractionTest.kt
@Test fun `given an empty script it returns null`() { assertNoBuildscript("") } @Test fun `given line commented buildscript it returns null`() { assertNoBuildscript("// no buildscript {} here") } @Test fun `given block commented buildscript it returns null`() { assertNoBuildscript("/* /* no */ buildscript {} here either */") } @Test
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 4.8K bytes - Viewed (0) -
ci/official/containers/linux_arm64/setup.packages.sh
# Usage: setup.packages.sh <package_list.txt> set -e # Prevent apt install tzinfo from asking our location (assumes UTC) export DEBIAN_FRONTEND=noninteractive apt-get update # Remove commented lines and blank lines apt-get install -y --no-install-recommends $(sed -e '/^\s*#.*$/d' -e '/^\s*$/d' "$1" | sort -u)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Sep 29 00:26:34 UTC 2023 - 1.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/framepointer/framepointer.go
if err != nil { return nil, err } lines := strings.SplitAfter(string(content), "\n") active := false for lineno, line := range lines { lineno++ // Ignore comments and commented-out code. if i := strings.Index(line, "//"); i >= 0 { line = line[:i] } line = strings.TrimSpace(line) // We start checking code at a TEXT line for a frameless function.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 2.4K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/UndeclaredFileInputsIntegrationTest.groovy
then: configurationCache.assertStateStored() problems.assertResultHasProblems(result) { // TODO when implemented, this assertion should be replaced with the commented one: inputs.expect(allOf(startsWith("Plugin class 'SneakyPluginA': file '${FileUtils.testFileName}'"), containsString(FileUtils.testFileName))) /* pluginClasses.forEach {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 3.6K bytes - Viewed (0)