Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 658 for COMMENT (0.11 sec)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/SourceMetaDataVisitor.java

            String className = outerClass == null ? packageName + '.' + baseName : outerClass.getClassName() + '.' + baseName;
            String comment = getJavadocComment(typeDeclaration);
            ClassMetaData currentClass = new ClassMetaData(className, packageName, metaType, false, comment);
            if (outerClass != null) {
                outerClass.addInnerClassName(className);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 21 13:27:02 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  2. src/go/types/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: Tue Dec 19 04:39:56 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. operator/pkg/util/yaml_test.go

    			expect: true,
    		},
    		{
    			desc: "comment-logically-empty",
    			in: `# this is a comment
    # this is another comment that serves no purpose
    # (like all comments usually do)
    `,
    			expect: true,
    		},
    		{
    			desc:   "start-yaml",
    			in:     `--- I dont mean anything`,
    			expect: true,
    		},
    		{
    			desc: "combine-comments-and-yaml",
    			in: `#this is another comment
    foo: bar
    # ^ that serves purpose
    `,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 06 17:00:14 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/log/bsentity/BsFavoriteLog.java

    import java.util.HashMap;
    import java.util.Map;
    
    import org.codelibs.fess.es.log.allcommon.EsAbstractEntity;
    import org.codelibs.fess.es.log.bsentity.dbmeta.FavoriteLogDbm;
    
    /**
     * ${table.comment}
     * @author ESFlute (using FreeGen)
     */
    public class BsFavoriteLog extends EsAbstractEntity {
    
        // ===================================================================================
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. internal/logger/help.go

    		},
    		config.HelpKV{
    			Key:         Proxy,
    			Description: "proxy url endpoint e.g. http(s)://proxy",
    			Optional:    true,
    			Type:        "string",
    		},
    		config.HelpKV{
    			Key:         config.Comment,
    			Description: config.DefaultComment,
    			Optional:    true,
    			Type:        "sentence",
    		},
    	}
    
    	HelpWebhook = config.HelpKVS{
    		config.HelpKV{
    			Key:         Endpoint,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Mar 07 20:17:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/go/ast/astutil/enclosing.go

    	case *ast.CaseClause:
    		return "case clause"
    	case *ast.ChanType:
    		return "channel type"
    	case *ast.CommClause:
    		return "communication clause"
    	case *ast.Comment:
    		return "comment"
    	case *ast.CommentGroup:
    		return "comment group"
    	case *ast.CompositeLit:
    		return "composite literal"
    	case *ast.DeclStmt:
    		return NodeDescription(n.Decl) + " statement"
    	case *ast.DeferStmt:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:28:13 UTC 2023
    - 15.9K 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/internal/dwarf/putvarabbrevgen_test.go

    	var buf bytes.Buffer
    	printer.Fprint(&buf, token.NewFileSet(), t)
    	return buf.String()
    }
    
    // findLineComment finds the line comment for statement stmt.
    func findLineComment(cm ast.CommentMap, stmt *ast.ExprStmt) *ast.Comment {
    	var r *ast.Comment
    	for _, cmtg := range cm[stmt] {
    		for _, cmt := range cmtg.List {
    			if cmt.Slash > stmt.Pos() {
    				if r != nil {
    					return nil
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:45:07 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top