Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 270 for COMMENT (0.12 sec)

  1. pkg/kubelet/network/dns/dns_test.go

    		{"\t\n\t", []string{}, []string{}, []string{}, false},
    		{"#comment\n", []string{}, []string{}, []string{}, false},
    		{" #comment\n", []string{}, []string{}, []string{}, false},
    		{"#comment\n#comment", []string{}, []string{}, []string{}, false},
    		{"#comment\nnameserver", []string{}, []string{}, []string{}, true},                           // nameserver empty
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  2. src/runtime/mbarrier.go

    		// Pass nil for the type. ptr does not point to value of type typ,
    		// but rather points into one so it's not safe to apply the optimization.
    		// See the comment on this function in the reflect package and the
    		// comment on bulkBarrierPreWrite.
    		bulkBarrierPreWrite(uintptr(ptr), 0, size, nil)
    	}
    	memclrNoHeapPointers(ptr, size)
    }
    
    //go:linkname reflect_typedarrayclear reflect.typedarrayclear
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/stdlib_test.go

    		// get per-file instructions
    		expectErrors := false
    		filename := filepath.Join(path, f.Name())
    		goVersion := ""
    		if comment := firstComment(filename); comment != "" {
    			if strings.Contains(comment, "-goexperiment") {
    				continue // ignore this file
    			}
    			fields := strings.Fields(comment)
    			switch fields[0] {
    			case "skip", "compiledir":
    				continue // ignore this file
    			case "errorcheck":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:18:33 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/mod/modfile/rule.go

    		}
    	}
    }
    
    // setIndirect sets line to have (or not have) a "// indirect" comment.
    func (r *Require) setIndirect(indirect bool) {
    	r.Indirect = indirect
    	line := r.Syntax
    	if isIndirect(line) == indirect {
    		return
    	}
    	if indirect {
    		// Adding comment.
    		if len(line.Suffix) == 0 {
    			// New comment.
    			line.Suffix = []Comment{{Token: "// indirect", Suffix: true}}
    			return
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 18:34:56 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfrt/BUILD

        srcs = [
            "transforms/corert_converter.cc",
        ],
        hdrs = [
            "transforms/corert_converter.h",
        ],
        compatible_with = get_compatible_with_portable(),  # copybara: comment
        deps = [
            ":attr_lowering_utils",
            ":transform_utils",
            "//tensorflow/compiler/mlir/tensorflow",
            "//tensorflow/compiler/mlir/tensorflow:tensorflow_analysis",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 19:04:21 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  6. src/go/types/check_test.go

    // starts with "//" (line comment) followed by "-" (possibly with spaces
    // between). Otherwise the line is ignored.
    func parseFlags(src []byte, flags *flag.FlagSet) error {
    	// we must have a line comment that starts with a "-"
    	const prefix = "//"
    	if !bytes.HasPrefix(src, []byte(prefix)) {
    		return nil // first line is not a line comment
    	}
    	src = src[len(prefix):]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:45:33 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/stdversion/stdversion.go

    func isGenerated(f *ast.File) bool {
    	for _, group := range f.Comments {
    		for _, comment := range group.List {
    			if matched := generatedRx.MatchString(comment.Text); matched {
    				return true
    			}
    		}
    	}
    	return false
    }
    
    // Matches cgo generated comment as well as the proposed standard:
    //
    //	https://golang.org/s/generatedcode
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. src/go/ast/filter.go

    			return p.Name + "." + f.Name.Name
    		}
    		// otherwise assume a function instead
    	}
    	return f.Name.Name
    }
    
    // separator is an empty //-style comment that is interspersed between
    // different comment groups when they are concatenated into a single group
    var separator = &Comment{token.NoPos, "//"}
    
    // MergePackageFiles creates a file AST by merging the ASTs of the
    // files belonging to a package. The mode flags control merging behavior.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. src/go/build/build.go

    		comment, _, ok = bytes.Cut(data[2:], starSlash)
    		if !ok {
    			// malformed comment
    			return "", 0
    		}
    		if bytes.Contains(comment, newline) {
    			return "", 0
    		}
    	}
    	comment = bytes.TrimSpace(comment)
    
    	// split comment into `import`, `"pkg"`
    	word, arg := parseWord(comment)
    	if string(word) != "import" {
    		return "", 0
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/mod/modfile/work.go

    	Use       []*Use
    	Replace   []*Replace
    
    	Syntax *FileSyntax
    }
    
    // A Use is a single directory statement.
    type Use struct {
    	Path       string // Use path of module.
    	ModulePath string // Module path in the comment.
    	Syntax     *Line
    }
    
    // ParseWork parses and returns a go.work file.
    //
    // file is the name of the file, used in positions and errors.
    //
    // data is the content of the file.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 18:34:56 UTC 2024
    - 7.7K bytes
    - Viewed (0)
Back to top