Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 393 for COMMENT (0.28 sec)

  1. src/go/printer/gobuild.go

    	// That's just after the last blank line before we find a non-comment.
    	// (We'll add another blank line after our comment block.)
    	// When we start dropping // +build comments, we can skip over /* */ comments too.
    	// Note that we are processing tabwriter input, so every comment
    	// begins and ends with a tabwriter.Escape byte.
    	// And some newlines have turned into \f bytes.
    	insert := 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. src/go/doc/example_test.go

    	// a package whose documentation will be computed.
    	const src = `
    // This is the package comment.
    package p
    
    import "fmt"
    
    // This comment is associated with the Greet function.
    func Greet(who string) {
    	fmt.Printf("Hello, %s!\n", who)
    }
    `
    	const test = `
    package p_test
    
    // This comment is associated with the ExampleGreet_world example.
    func ExampleGreet_world() {
    	Greet("world")
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 10 16:17:51 UTC 2022
    - 9.6K bytes
    - Viewed (0)
  3. platforms/core-runtime/internal-instrumentation-api/src/main/java/org/gradle/internal/instrumentation/api/annotations/ToBeReplacedByLazyProperty.java

     */
    @Retention(RetentionPolicy.CLASS)
    @Target({ElementType.METHOD})
    public @interface ToBeReplacedByLazyProperty {
    
        /**
         * Additional comment, e.g. why upgrade of a property is blocked.
         */
        String comment() default "";
    
        /**
         * Link to a GitHub issue if it exists.
         */
        String issue() default "";
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 09:58:15 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/testgodefs/testgodefs_test.go

    				continue
    			}
    			if want := "// " + cgoExe + " " + strings.Join(cmd.Args[3:], " "); line != want {
    				t.Errorf("%s: got generated comment %q, want %q", fn, line, want)
    			}
    			hasGeneratedByComment = true
    			break
    		}
    
    		if !hasGeneratedByComment {
    			t.Errorf("%s: comment with generating cgo -godefs command not found", fn)
    		}
    	}
    
    	main, err := os.ReadFile(filepath.Join("testdata", "main.go"))
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 19 01:37:31 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/mylasta/mail/EsStatusPostcard.java

         * Even if empty string, treated as empty plainly. So "IF pmb != null" is false if empty.
         * @param hostname The parameter value of hostname. (NotNull)
         */
        public void setHostname(String hostname) {
            registerVariable("hostname", hostname);
        }
    
        /**
         * Set the value of clustername, used in parameter comment. <br>
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. tools/istio-iptables/pkg/log/nflog.go

    			if err == nil {
    				src = v4.Src.String()
    				dst = v4.Dst.String()
    			}
    		}
    		prefix := ""
    		if attrs.Prefix != nil {
    			prefix = *attrs.Prefix
    		}
    		comment := IDToCommand[prefix].Comment
    		uid, gid := uint32(0), uint32(0)
    		if attrs.UID != nil {
    			uid = *attrs.UID
    		}
    		if attrs.GID != nil {
    			gid = *attrs.GID
    		}
    		inDev, outDev := "", ""
    		if attrs.InDev != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 15:59:40 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  7. internal/config/help.go

    		},
    		HelpKV{
    			Key:         Comment,
    			Type:        "sentence",
    			Description: DefaultComment,
    			Optional:    true,
    		},
    	}
    
    	RegionHelp = HelpKVS{
    		HelpKV{
    			Key:         RegionName,
    			Type:        "string",
    			Description: `[DEPRECATED] name of the location of the server e.g. "us-west-rack2"`,
    			Optional:    true,
    		},
    		HelpKV{
    			Key:         Comment,
    			Type:        "sentence",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 23 14:45:27 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/stylesheets/custom-highlight/groovy-hl.xml

      ~ limitations under the License.
      -->
    <highlighters>
        <highlighter type="multiline-comment">
            <start>/**</start>
            <end>*/</end>
            <style>doccomment</style>
        </highlighter>
        <highlighter type="multiline-comment">
            <start>/*</start>
            <end>*/</end>
        </highlighter>
        <highlighter type="oneline-comment">//</highlighter>
        <highlighter type="string">
            <string>"</string>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/stylesheets/custom-highlight/java-hl.xml

      ~ limitations under the License.
      -->
    <highlighters>
        <highlighter type="multiline-comment">
            <start>/**</start>
            <end>*/</end>
            <style>doccomment</style>
        </highlighter>
        <highlighter type="multiline-comment">
            <start>/*</start>
            <end>*/</end>
        </highlighter>
        <highlighter type="oneline-comment">//</highlighter>
        <highlighter type="string">
            <string>"</string>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  10. src/cmd/gofmt/gofmt_test.go

    	s.Init(f)
    	s.Error = func(*scanner.Scanner, string) {}       // ignore errors
    	s.Mode = scanner.GoTokens &^ scanner.SkipComments // want comments
    
    	// look for //gofmt comment
    	for s.Line <= maxLines {
    		switch s.Scan() {
    		case scanner.Comment:
    			const prefix = "//gofmt "
    			if t := s.TokenText(); strings.HasPrefix(t, prefix) {
    				return strings.TrimSpace(t[len(prefix):])
    			}
    		case scanner.EOF:
    			return ""
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 10 19:22:49 UTC 2022
    - 4.3K bytes
    - Viewed (0)
Back to top