Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 430 for COMMENT (0.23 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/cmd/vendor/golang.org/x/tools/go/ast/astutil/imports.go

    	impDecl.Specs[insertAt] = newImport
    	pos := impDecl.Pos()
    	if insertAt > 0 {
    		// If there is a comment after an existing import, preserve the comment
    		// position by adding the new import after the comment.
    		if spec, ok := impDecl.Specs[insertAt-1].(*ast.ImportSpec); ok && spec.Comment != nil {
    			pos = spec.Comment.End()
    		} else {
    			// Assign same position as the previous import,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 10 21:56:21 UTC 2022
    - 13.4K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. src/text/template/parse/lex_test.go

    		tPipe,
    		tPipe,
    		tPipe,
    		tRight,
    		tEOF,
    	}},
    	{"text with bad comment", "hello-{{/*/}}-world", []item{
    		mkItem(itemText, "hello-"),
    		mkItem(itemError, `unclosed comment`),
    	}},
    	{"text with comment close separated from delim", "hello-{{/* */ }}-world", []item{
    		mkItem(itemText, "hello-"),
    		mkItem(itemError, `comment ends before closing delimiter`),
    	}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 23 15:03:43 UTC 2022
    - 13.9K bytes
    - Viewed (0)
Back to top