Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 209 for bland (0.06 sec)

  1. src/go/printer/printer.go

    	// Compute maximum common white prefix of all but the first,
    	// last, and blank lines, and replace blank lines with empty
    	// lines (the first line starts with /* and has no prefix).
    	// In cases where only the first and last lines are not blank,
    	// such as two-line comments, or comments where all inner lines
    	// are blank, consider the last line for the prefix computation
    	// since otherwise the prefix would be empty.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 41.6K bytes
    - Viewed (0)
  2. platforms/software/build-init/src/test/groovy/org/gradle/buildinit/plugins/internal/BuildScriptBuilderKotlinTest.groovy

     */
    """)
        }
    
        def "no spaces at the end of blank comment lines"() {
            when:
            builder.fileComment("\nnot-a-blank\n\nnot-a-blank");
            builder.create(target).generate()
    
            then:
            assertOutputFile("""/*
     * This file was generated by the Gradle 'init' task.
     *
     * not-a-blank
     *
     * not-a-blank
     */
    """)
        }
    
        def "can add kotlin build script comment"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 18 14:16:33 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  3. platforms/jvm/platform-jvm/src/main/java/org/gradle/api/java/archives/internal/DefaultManifest.java

         * without prior blank lines, Java Manifest class doesn't. Ant Manifest class supports manifest without last line blank, Java Manifest class doesn't. Therefore we need to insert blank lines before
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  4. platforms/software/build-init/src/test/groovy/org/gradle/buildinit/plugins/internal/BuildScriptBuilderGroovyTest.groovy

     */
    """)
        }
    
        def "no spaces at the end of blank comment lines"() {
            when:
            builder.fileComment("\nnot-a-blank\n\nnot-a-blank")
            builder.create(target).generate()
    
            then:
            assertOutputFile("""$COMMON_START
     *
     * not-a-blank
     *
     * not-a-blank
     */
    """)
        }
    
        def "can add groovy build script comment"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 18 14:16:33 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  5. src/go/types/assignments.go

    // that identifier. The result is nil if it is the blank identifier,
    // and Typ[Invalid] if it is an invalid lhs expression.
    func (check *Checker) lhsVar(lhs ast.Expr) Type {
    	// Determine if the lhs is a (possibly parenthesized) identifier.
    	ident, _ := ast.Unparen(lhs).(*ast.Ident)
    
    	// Don't evaluate lhs if it is the blank identifier.
    	if ident != nil && ident.Name == "_" {
    		check.recordDef(ident, nil)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/assignments.go

    // that identifier. The result is nil if it is the blank identifier,
    // and Typ[Invalid] if it is an invalid lhs expression.
    func (check *Checker) lhsVar(lhs syntax.Expr) Type {
    	// Determine if the lhs is a (possibly parenthesized) identifier.
    	ident, _ := syntax.Unparen(lhs).(*syntax.Name)
    
    	// Don't evaluate lhs if it is the blank identifier.
    	if ident != nil && ident.Value == "_" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 23 21:21:43 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/go/ast/astutil/imports.go

    				line := fset.PositionFor(impspec.Path.ValuePos, false).Line
    
    				// We deleted an entry but now there may be
    				// a blank line-sized hole where the import was.
    				if line-lastLine > 1 || !gen.Rparen.IsValid() {
    					// There was a blank line immediately preceding the deleted import,
    					// so there's no need to close the hole. The right parenthesis is
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 10 21:56:21 UTC 2022
    - 13.4K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/storage/StorageClient.java

            if (StringUtil.isBlank(endpoint)) {
                throw new CrawlingAccessException("endpoint is blank.");
            }
            builder.endpoint(endpoint);
            final String accessKey = getInitParameter("accessKey", null, String.class);
            if (StringUtil.isBlank(accessKey)) {
                throw new CrawlingAccessException("accessKey is blank.");
            }
            final String secretKey = getInitParameter("secretKey", null, String.class);
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  9. pkg/proxy/apis/config/validation/validation.go

    		validModes.Insert(string(kubeproxyconfig.ProxyModeNFTables))
    	}
    
    	if mode == "" || validModes.Has(string(mode)) {
    		return nil
    	}
    
    	errMsg := fmt.Sprintf("must be %s or blank (blank means the best-available proxy [currently iptables])", strings.Join(sets.List(validModes), ", "))
    	return field.ErrorList{field.Invalid(fldPath.Child("ProxyMode"), string(mode), errMsg)}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  10. src/go/printer/testdata/declarations.golden

    	fffff()
    }
    
    type _ interface {
    	EI
    	f()
    	fffffg()
    }
    
    type _ interface {	// this comment must not change indentation
    	EI				// here's a comment
    	f()				// no blank between identifier and ()
    	fffff()				// no blank between identifier and ()
    	gggggggggggg(x, y, z int)	// hurray
    }
    
    // formatting of variable declarations
    func _() {
    	type day struct {
    		n		int
    		short, long	string
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 13 22:24:31 UTC 2021
    - 16.2K bytes
    - Viewed (0)
Back to top