Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 82 for bland (0.16 sec)

  1. src/go/printer/gobuild.go

    // but it avoids creating doubled blank lines,
    // which would not be gofmt-standard output.
    // It assumes that only whole blocks of lines are being appended,
    // not line fragments.
    func appendLines(x, y []byte) []byte {
    	if len(y) > 0 && isNL(y[0]) && // y starts in blank line
    		(len(x) == 0 || len(x) >= 2 && isNL(x[len(x)-1]) && isNL(x[len(x)-2])) { // x is empty or ends in blank line
    		y = y[1:] // delete y's leading blank line
    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/internal/types/testdata/check/decls0.go

    func (S0) m4 () (x *S0.m4 /* ERROR "S0.m4 is not a type" */ ) { return }
    
    // interfaces may not have any blank methods
    type BlankI interface {
    	_ /* ERROR "methods must have a unique non-blank name" */ ()
    	_ /* ERROR "methods must have a unique non-blank name" */ (float32) int
    	m()
    }
    
    // non-interface types may have multiple blank methods
    type BlankT struct{}
    
    func (BlankT) _() {}
    func (BlankT) _(int) {}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. src/regexp/syntax/perl_groups.go

    	`[:alnum:]`:   {+1, code4},
    	`[:^alnum:]`:  {-1, code4},
    	`[:alpha:]`:   {+1, code5},
    	`[:^alpha:]`:  {-1, code5},
    	`[:ascii:]`:   {+1, code6},
    	`[:^ascii:]`:  {-1, code6},
    	`[:blank:]`:   {+1, code7},
    	`[:^blank:]`:  {-1, code7},
    	`[:cntrl:]`:   {+1, code8},
    	`[:^cntrl:]`:  {-1, code8},
    	`[:digit:]`:   {+1, code9},
    	`[:^digit:]`:  {-1, code9},
    	`[:graph:]`:   {+1, code10},
    	`[:^graph:]`:  {-1, code10},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 13:59:01 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/logging/EmptyLineTrimmerOutputNormalizer.groovy

    import org.gradle.exemplar.executor.ExecutionMetadata
    import org.gradle.exemplar.test.normalizer.OutputNormalizer
    
    import java.util.regex.Pattern
    
    /**
     * Allows a blank empty line in your sample output to match a blank line with any number of spaces in the actual output.
     *
     * This exists to avoid having to measure out "prefix" whitespace indentation and match it exactly in your sample output.
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/buildtag/buildtag_old.go

    	// Determine cutpoint where +build comments are no longer valid.
    	// They are valid in leading // comments in the file followed by
    	// a blank line.
    	//
    	// This must be done as a separate pass because of the
    	// requirement that the comment be followed by a blank line.
    	var cutoff int
    	for i, line := range lines {
    		line = bytes.TrimSpace(line)
    		if !bytes.HasPrefix(line, slashSlash) {
    			if len(line) > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. pkg/config/analysis/analyzers/analyzers_bench_test.go

    	benchmarkAnalyzersArtificialBlankData(400, b)
    }
    
    func BenchmarkAnalyzersArtificialBlankData800(b *testing.B) {
    	benchmarkAnalyzersArtificialBlankData(800, b)
    }
    
    // Benchmark analyzers against an artificial set of blank data.
    // This does not cover all scaling factors, and it's not representative of a realistic snapshot, but it does cover some things.
    func benchmarkAnalyzersArtificialBlankData(count int, b *testing.B) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. platforms/documentation/docs-asciidoctor-extensions-base/src/test/groovy/org/gradle/docs/asciidoctor/GuidesContributeIncludeProcessorTest.groovy

            JavaExtensionRegistry extensionRegistry = asciidoctor.javaExtensionRegistry()
            extensionRegistry.includeProcessor(GuidesContributeIncludeProcessor.class)
        }
    
        def "defaults repo to gradle/guides and issue to blank url"() {
            given:
            String asciidocContent = """
                |= Doctitle
                |
                |include::contribute[]
                |""".stripMargin()
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  10. src/internal/types/testdata/check/labels.go

    		continue L2 /* ERROR "invalid continue label L2" */
    		continue L3
    		goto L1
    		goto L2
    		goto L3
    	}
    }
    
    // Blank labels are never declared.
    
    func f4() {
    _:
    _: // multiple blank labels are ok
    	goto _ /* ERROR "label _ not declared" */
    }
    
    func f5() {
    _:
    	for {
    		break _ /* ERROR "invalid break label _" */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top