Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 68 for Blank (0.16 sec)

  1. src/cmd/compile/internal/syntax/printer.go

    		p.print(_If, blank)
    		if n.Init != nil {
    			p.print(n.Init, _Semi, blank)
    		}
    		p.print(n.Cond, blank, n.Then)
    		if n.Else != nil {
    			p.print(blank, _Else, blank, n.Else)
    		}
    
    	case *SwitchStmt:
    		p.print(_Switch, blank)
    		if n.Init != nil {
    			p.print(n.Init, _Semi, blank)
    		}
    		if n.Tag != nil {
    			p.print(n.Tag, blank)
    		}
    		p.printSwitchBody(n.Body)
    
    	case *SelectStmt:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 24 07:17:27 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  2. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/execution/LinePreservingSubstringTest.kt

    import org.hamcrest.MatcherAssert.assertThat
    
    import org.junit.Test
    
    
    class LinePreservingSubstringTest {
    
        @Test
        fun `given a range starting after the first line, it should return a substring prefixed by blank lines`() {
            val original = """
                // line 1
                // line 2
                buildscript {
                    // line 4
                }
            """.replaceIndent()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  3. tests/non_std_test.go

    		t.Errorf("Update a filed with a default value should occur. But got %v\n", animal.Name)
    	}
    
    	// When changing a field with a default value with blank value
    	animal.Name = ""
    	DB.Save(&animal)
    	DB.First(&animal, animal.Counter)
    	if animal.Name != "" {
    		t.Errorf("Update a filed to blank with a default value should occur. But got %v\n", animal.Name)
    	}
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/syntax/printer_test.go

    	// a trailing comma always indicates a (possibly invalid) type parameter list (blank after type parameter list and type)
    	dup("package p; type _[P *T,] struct{}"),
    	dup("package p; type _[P *T | T,] struct{}"),
    	dup("package p; type _[P *T | <-T | T,] struct{}"),
    
    	// slice/array type declarations (no blank between array length and element type)
    	dup("package p; type _ []byte"),
    	dup("package p; type _ [n]byte"),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 31 17:08:18 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  5. src/cmd/fix/buildtag.go

    		return false
    	}
    
    	// File is already gofmt-ed, so we know that if there are +build lines,
    	// they are in a comment group that starts with a //go:build line followed
    	// by a blank line. While we cannot delete comments from an AST and
    	// expect consistent output in general, this specific case - deleting only
    	// some lines from a comment block - does format correctly.
    	fixed := false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 05:31:47 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  6. src/cmd/go/internal/modindex/build.go

    			// When we find the first non-blank, non-// line,
    			// this "end" position marks the latest file position
    			// where a // +build line can appear.
    			// (It must appear _before_ a blank line before the non-blank, non-// line.
    			// Yes, that's confusing, which is part of why we moved to //go:build lines.)
    			// Note that ended==false here means that inSlashStar==false,
    			// since seeing a /* would have set ended==true.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 25 17:39:23 UTC 2023
    - 26.8K bytes
    - Viewed (0)
  7. 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)
  8. api/maven-api-settings/src/main/mdo/settings.mdo

              </description>
              <type>boolean</type>
              <defaultValue>false</defaultValue>
            </field>
            <field xdoc.separator="blank">
              <name>proxies</name>
              <version>1.0.0+</version>
              <description>
                Configuration for different proxy profiles. Multiple proxy profiles
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sat Feb 17 18:40:11 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/ContentLengthHelper.java

        public void addMaxLength(final String mimeType, final long maxLength) {
            if (StringUtil.isBlank(mimeType)) {
                throw new CrawlerSystemException("MIME type is a blank.");
            }
            if (maxLength < 0) {
                throw new CrawlerSystemException("The value of maxLength is invalid.");
            }
            maxLengthMap.put(mimeType, maxLength);
        }
    
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/struct.go

    	}
    	if len(tags) > len(fields) {
    		panic("more tags than fields")
    	}
    	s := &Struct{fields: fields, tags: tags}
    	s.markComplete()
    	return s
    }
    
    // NumFields returns the number of fields in the struct (including blank and embedded fields).
    func (s *Struct) NumFields() int { return len(s.fields) }
    
    // Field returns the i'th field for 0 <= i < NumFields().
    func (s *Struct) Field(i int) *Var { return s.fields[i] }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:06:18 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top