Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 96 for comment2 (0.14 sec)

  1. platforms/software/build-init/src/main/java/org/gradle/buildinit/plugins/internal/BuildScriptBuilder.java

             */
            void writeCodeTo(PrettyPrinter printer);
        }
    
        private static abstract class AbstractStatement implements Statement {
    
            final String comment;
    
            AbstractStatement(@Nullable String comment) {
                this.comment = comment;
            }
    
            @Nullable
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 21 12:02:29 UTC 2023
    - 90K bytes
    - Viewed (0)
  2. src/go/printer/nodes.go

    	}
    	if p.comments == nil {
    		// initialize p.comments lazily
    		p.comments = make([]*ast.CommentGroup, 1)
    	} else if p.cindex < len(p.comments) {
    		// for some reason there are pending comments; this
    		// should never happen - handle gracefully and flush
    		// all comments up to g, ignore anything after that
    		p.flush(p.posFor(g.List[0].Pos()), token.ILLEGAL)
    		p.comments = p.comments[0:1]
    		// in debug mode, report error
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 18:53:17 UTC 2023
    - 52.6K bytes
    - Viewed (0)
  3. src/go/printer/testdata/parser.go

    	endline = p.file.Line(p.pos)
    	for p.tok == token.COMMENT && endline+1 >= p.file.Line(p.pos) {
    		var comment *ast.Comment
    		comment, endline = p.consumeComment()
    		list = append(list, comment)
    	}
    
    	// add comment group to the comments list
    	comments = &ast.CommentGroup{list}
    	p.comments = append(p.comments, comments)
    
    	return
    }
    
    // Advance to the next non-comment token. In the process, collect
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 20:19:51 UTC 2023
    - 50.5K bytes
    - Viewed (0)
  4. src/go/parser/parser.go

    	endline = p.file.Line(p.pos)
    	for p.tok == token.COMMENT && p.file.Line(p.pos) <= endline+n {
    		var comment *ast.Comment
    		comment, endline = p.consumeComment()
    		list = append(list, comment)
    	}
    
    	// add comment group to the comments list
    	comments = &ast.CommentGroup{List: list}
    	p.comments = append(p.comments, comments)
    
    	return
    }
    
    // Advance to the next non-comment token. In the process, collect
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 20:07:50 UTC 2023
    - 72.2K bytes
    - Viewed (0)
  5. 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)
  6. src/html/template/escape_test.go

    		},
    		{
    			"CSS comments",
    			"<style>p// paragraph\n" +
    				`{border: 1px/* color */{{"#00f"}}}</style>`,
    			"<style>p\n" +
    				"{border: 1px #00f}</style>",
    		},
    		{
    			"JS attr block comment",
    			`<a onclick="f(&quot;&quot;); /* alert({{.H}}) */">`,
    			// Attribute comment tests should pass if the comments
    			// are successfully elided.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 16 03:29:27 UTC 2023
    - 56.2K bytes
    - Viewed (0)
  7. pkg/proxy/iptables/proxier.go

    	// Not printing these comments, can reduce size of iptables (in case of large
    	// number of endpoints) even by 40%+. So if total number of endpoint chains
    	// is large enough, we simply drop those comments.
    	if proxier.largeClusterMode {
    		return args
    	}
    	return append(args, "-m", "comment", "--comment", svcName)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 65.1K bytes
    - Viewed (0)
  8. src/cmd/internal/testdir/testdir_test.go

    }
    
    // errorCheck matches errors in outStr against comments in source files.
    // For each line of the source files which should generate an error,
    // there should be a comment of the form // ERROR "regexp".
    // If outStr has an error for a line which has no such comment,
    // this function will report an error.
    // Likewise if outStr does not have an error for a line which has a comment,
    // or if the error message does not match the <regexp>.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  9. src/encoding/xml/marshal_test.go

    }
    
    type T1 struct{}
    type T2 struct{}
    
    type IndirComment struct {
    	T1      T1
    	Comment *string `xml:",comment"`
    	T2      T2
    }
    
    type DirectComment struct {
    	T1      T1
    	Comment string `xml:",comment"`
    	T2      T2
    }
    
    type IfaceComment struct {
    	T1      T1
    	Comment any `xml:",comment"`
    	T2      T2
    }
    
    type IndirChardata struct {
    	T1       T1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 18:46:41 UTC 2024
    - 66K bytes
    - Viewed (0)
  10. docs/bucket/notifications/README.md

    queue_dir      (path)      staging dir for undelivered messages e.g. '/home/events'
    queue_limit    (number)    maximum limit for undelivered messages, defaults to '100000'
    comment        (sentence)  optionally add a comment to this setting
    ```
    
    Or environment variables
    
    ```
    KEY:
    notify_amqp[:name]  publish bucket notifications to AMQP endpoints
    
    ARGS:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 84K bytes
    - Viewed (0)
Back to top