Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 329 for COMMENT (0.2 sec)

  1. src/go/ast/ast.go

    type Comment struct {
    	Slash token.Pos // position of "/" starting the comment
    	Text  string    // comment text (excluding '\n' for //-style comments)
    }
    
    func (c *Comment) Pos() token.Pos { return c.Slash }
    func (c *Comment) End() token.Pos { return token.Pos(int(c.Slash) + len(c.Text)) }
    
    // A CommentGroup represents a sequence of comments
    // with no other tokens and no empty lines between.
    type CommentGroup struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 28 21:32:41 UTC 2024
    - 35.6K bytes
    - Viewed (0)
  2. src/encoding/csv/reader.go

    	// or the Unicode replacement character (0xFFFD).
    	Comma rune
    
    	// Comment, if not 0, is the comment character. Lines beginning with the
    	// Comment character without preceding whitespace are ignored.
    	// With leading whitespace the Comment character becomes part of the
    	// field, even if TrimLeadingSpace is true.
    	// Comment must be a valid rune and must not be \r, \n,
    	// or the Unicode replacement character (0xFFFD).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:32:28 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  3. platforms/software/build-init/src/test/groovy/org/gradle/buildinit/plugins/internal/BuildScriptBuilderKotlinTest.groovy

            builder.methodInvocation(null, "foo", "bar")
            builder.propertyAssignment("has comment", "foo", "bar")
            builder.propertyAssignment(null, "foo", 123)
            builder.propertyAssignment(null, "foo", false)
            def b1 = builder.block(null, "block1")
            b1.methodInvocation("comment", "method1")
            b1.methodInvocation("comment", "method2")
            b1.methodInvocation(null, "method3")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 18 14:16:33 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/syntax/printer.go

    			}
    
    		case ctrlSymbol:
    			switch x {
    			case none, semi /*, comment*/ :
    				panic("unreachable")
    			case newline:
    				// TODO(gri) need to handle mandatory newlines after a //-style comment
    				if !p.linebreaks {
    					x = blank
    				}
    			}
    			p.addWhitespace(x, "")
    
    		// case *Comment: // comments are not Nodes
    		// 	p.addWhitespace(comment, x.Text)
    
    		default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 24 07:17:27 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  5. platforms/software/build-init/src/test/groovy/org/gradle/buildinit/plugins/internal/BuildScriptBuilderGroovyTest.groovy

            builder.methodInvocation(null, "foo", "bar")
            builder.propertyAssignment("has comment", "foo", "bar")
            builder.propertyAssignment(null, "foo", 123)
            builder.propertyAssignment(null, "foo", false)
            def b1 = builder.block(null, "block1")
            b1.methodInvocation("comment", "method1")
            b1.methodInvocation("comment", "method2")
            b1.methodInvocation(null, "method3")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 18 14:16:33 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  6. src/net/mail/message.go

    	if !p.consume('(') {
    		return "", errors.New("mail: comment does not start with (")
    	}
    	comment, ok := p.consumeComment()
    	if !ok {
    		return "", errors.New("mail: misformatted parenthetical comment")
    	}
    
    	// TODO(stapelberg): parse quoted-string within comment
    	words := strings.FieldsFunc(comment, func(r rune) bool { return r == ' ' || r == '\t' })
    	for idx, word := range words {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 11:31:03 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  7. pkg/util/iptables/testing/fake_test.go

    	}
    
    	// Restore
    	rules := dedent.Dedent(strings.Trim(`
    		*nat
    		:KUBE-RESTORED - [0:0]
    		:KUBE-MISC-CHAIN - [0:0]
    		:KUBE-MISC-TWO - [0:0]
    		:KUBE-EMPTY - [0:0]
    		-A KUBE-RESTORED -m comment --comment "restored chain" -j ACCEPT
    		-A KUBE-MISC-CHAIN -s 1.2.3.4 -j KUBE-MISC-TWO
    		-A KUBE-MISC-CHAIN -d 5.6.7.8 -j MASQUERADE
    		-A KUBE-MISC-TWO -j ACCEPT
    		COMMIT
    		`, "\n"))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  8. docs/config/README.md

    ```
    KEY:
    site  label the server and its location
    
    ARGS:
    name     (string)    name for the site e.g. "cal-rack0"
    region   (string)    name of the location of the server e.g. "us-west-1"
    comment  (sentence)  optionally add a comment to this setting
    ```
    
    or environment variables
    
    ```
    KEY:
    site  label the server and its location
    
    ARGS:
    MINIO_SITE_NAME     (string)    name for the site e.g. "cal-rack0"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Sep 11 21:48:54 UTC 2023
    - 17.7K bytes
    - Viewed (0)
  9. internal/config/config.go

    				currKVS.Set(kv.Key, kv.Value)
    			}
    		}
    	}
    
    	for _, kv := range kvs {
    		if kv.Key == Comment {
    			// Skip comment and add it later.
    			continue
    		}
    		currKVS.Set(kv.Key, kv.Value)
    	}
    
    	v, ok := kvs.Lookup(Comment)
    	if ok {
    		currKVS.Set(Comment, v)
    	}
    
    	hkvs := HelpSubSysMap[subSys]
    	for _, hkv := range hkvs {
    		var enabled bool
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 37.8K bytes
    - Viewed (0)
  10. platforms/software/ivy/src/main/java/org/gradle/api/publish/ivy/internal/tasks/IvyDescriptorFileGenerator.java

                }
    
                @Override
                public OptionalAttributeXmlWriter comment(String comment) throws IOException {
                    super.comment(comment);
                    return this;
                }
            }
        }
    
        public static void insertGradleMetadataMarker(XmlProvider xmlProvider) {
            String comment = Joiner.on("").join(
                Streams.concat(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 14.3K bytes
    - Viewed (0)
Back to top