- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 698 for idents (0.29 sec)
-
platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/TextUtil.java
return true; } } return false; } /** * Indents every line of {@code text} by {@code indent}. Empty lines * and lines that only contain whitespace are not indented. */ public static String indent(String text, String indent) { StringBuilder builder = new StringBuilder(); String[] lines = text.split("\n");
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:40 UTC 2024 - 12.8K bytes - Viewed (0) -
tensorflow/compiler/aot/codegen_test.cc
string ident; for (char c = 'a'; c <= 'z'; c++) { ident.append(1, c); } for (char c = 'A'; c <= 'Z'; c++) { ident.append(1, c); } for (char c = '0'; c <= '9'; c++) { ident.append(1, c); } ident += "_"; ExpectOK(ident, ident, {}); ExpectOK(ident + "::" + ident, ident, {ident}); ExpectOK(ident + "::" + ident + "::" + ident, ident, {ident, ident}); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 01 02:13:40 UTC 2024 - 10.2K bytes - Viewed (0) -
src/text/scanner/scanner_test.go
{Comment, "// identifiers"}, {Ident, "a"}, {Ident, "a0"}, {Ident, "foobar"}, {Ident, "abc123"}, {Ident, "LGTM"}, {Ident, "_"}, {Ident, "_abc123"}, {Ident, "abc123_"}, {Ident, "_abc_123_"}, {Ident, "_äöü"}, {Ident, "_本"}, {Ident, "äöü"}, {Ident, "本"}, {Ident, "a۰۱۸"}, {Ident, "foo६४"}, {Ident, "bar9876"}, {Ident, f100}, {Comment, "// decimal ints"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 17 03:41:50 UTC 2022 - 25.3K bytes - Viewed (0) -
src/go/types/generate_test.go
return false } } return true }) } // asIdent returns x as *ast.Ident if it is an identifier with the given name. func asIdent(x ast.Node, name string) *ast.Ident { if ident, _ := x.(*ast.Ident); ident != nil && ident.Name == name { return ident } return nil } // isIdent reports whether x is an identifier with the given name.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 16.5K bytes - Viewed (0) -
src/go/scanner/scanner_test.go
{"var\n", "var"}, {"foo//comment\n", "IDENT COMMENT ;"}, {"foo//comment", "IDENT COMMENT ;"}, {"foo/*comment*/\n", "IDENT COMMENT ;"}, {"foo/*\n*/", "IDENT COMMENT ;"}, {"foo/*comment*/ \n", "IDENT COMMENT ;"}, {"foo/*\n*/ ", "IDENT COMMENT ;"}, {"foo // comment\n", "IDENT COMMENT ;"}, {"foo // comment", "IDENT COMMENT ;"}, {"foo /*comment*/\n", "IDENT COMMENT ;"}, {"foo /*\n*/", "IDENT COMMENT ;"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 28 15:38:31 UTC 2023 - 34.6K bytes - Viewed (0) -
src/go/types/resolver.go
// and updates check.objMap. The object must not be a function or method. func (check *Checker) declarePkgObj(ident *ast.Ident, obj Object, d *declInfo) { assert(ident.Name == obj.Name()) // spec: "A package-scope or file-scope identifier with name init // may only be declared to be a function with this (func()) signature." if ident.Name == "init" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 16:22:59 UTC 2024 - 26.1K bytes - Viewed (0) -
settings.gradle.kts
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:14 UTC 2024 - 16.4K bytes - Viewed (0) -
src/text/template/parse/node.go
// The names may be chained ('.x.y'). // The period is dropped from each ident. type FieldNode struct { NodeType Pos tr *Tree Ident []string // The identifiers in lexical order. } func (t *Tree) newField(pos Pos, ident string) *FieldNode { return &FieldNode{tr: t, NodeType: NodeField, Pos: pos, Ident: strings.Split(ident[1:], ".")} // [1:] to drop leading period } func (f *FieldNode) String() string {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 20:57:51 UTC 2024 - 24.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/analysisinternal/analysis.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 11.7K bytes - Viewed (0) -
src/debug/buildinfo/buildinfo.go
// a format-specific function to load segment and section headers. ident := make([]byte, 16) if n, err := r.ReadAt(ident, 0); n < len(ident) || err != nil { return "", "", errUnrecognizedFormat } var x exe switch { case bytes.HasPrefix(ident, []byte("\x7FELF")): f, err := elf.NewFile(r) if err != nil { return "", "", errUnrecognizedFormat }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 12.6K bytes - Viewed (0)