Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 432 for bland (0.04 sec)

  1. 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)
  2. src/cmd/vendor/golang.org/x/mod/modfile/print.go

    		}
    		p.comment = p.comment[:0]
    	}
    
    	p.trim()
    	if b := p.Bytes(); len(b) == 0 || (len(b) >= 2 && b[len(b)-1] == '\n' && b[len(b)-2] == '\n') {
    		// skip the blank line at top of file or after a blank line
    	} else {
    		p.printf("\n")
    	}
    	for i := 0; i < p.margin; i++ {
    		p.printf("\t")
    	}
    }
    
    // trim removes trailing spaces and tabs from the current line.
    func (p *printer) trim() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 00:48:59 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  3. pkg/proxy/apis/config/validation/validation_test.go

    		},
    		"invalid mode non-existent": {
    			mode:         kubeproxyconfig.ProxyMode("non-existing"),
    			expectedErrs: field.ErrorList{field.Invalid(newPath.Child("ProxyMode"), "non-existing", "must be iptables, ipvs, nftables or blank (blank means the best-available proxy [currently iptables])")},
    		},
    	} {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  4. 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)
  5. src/syscall/mkpost.go

    		// Export the types of PtraceRegs fields.
    		re := regexp.MustCompile("ptrace(Psw|Fpregs|Per)")
    		s = re.ReplaceAllString(s, "Ptrace$1")
    
    		// Replace padding fields inserted by cgo with blank identifiers.
    		re = regexp.MustCompile("Pad_cgo[A-Za-z0-9_]*")
    		s = re.ReplaceAllString(s, "_")
    
    		// We want to keep the X_ fields that are already consistently exported
    		// for the other linux GOARCH settings.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 25 02:59:05 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  6. 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)
  7. test/typeparam/issue50481c.dir/main.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test that type substitution works and export/import works correctly even for a
    // generic type that has multiple blank type params.
    
    package main
    
    import (
    	"./a"
    	"fmt"
    )
    
    func main() {
    	var x a.T[int, a.Myint, string]
    	fmt.Printf("%v\n", x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 24 02:14:15 UTC 2022
    - 408 bytes
    - Viewed (0)
  8. 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)
  9. src/internal/trace/gc.go

    	// bandDur.
    	bands []mmuBand
    	// bandDur is the duration of each band.
    	bandDur int64
    }
    
    type mmuBand struct {
    	// minUtil is the minimum instantaneous mutator utilization in
    	// this band.
    	minUtil float64
    	// cumUtil is the cumulative total mutator utilization between
    	// time 0 and the left edge of this band.
    	cumUtil totalUtil
    
    	// integrator is the integrator for the left edge of this
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 26K bytes
    - Viewed (0)
  10. 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)
Back to top