Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 3,311 for doens (0.06 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/FormattingValidationProblemCollectorTest.groovy

            def collector = new FormattingValidationProblemCollector("<thing>", ModelType.of(String))
            collector.add("does not extend RuleSource")
            collector.add("does not have any rule method")
    
            expect:
            collector.format() == '''Type java.lang.String is not a valid <thing>:
    - does not extend RuleSource
    - does not have any rule method'''
        }
    
        static class SuperClass {
            private String value
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/util/internal/NameMatcherTest.groovy

        }
    
        def "does not select items when no matches"() {
            expect:
            doesNotMatch("name")
            doesNotMatch("name", "other")
            doesNotMatch("name", "na")
            doesNotMatch("sN", "otherName")
            doesNotMatch("sA", "someThing")
            doesNotMatch("soN", "saN")
            doesNotMatch("soN", "saName")
        }
    
        def "does not select items when multiple camel case matches"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 05 22:49:56 UTC 2022
    - 7.8K bytes
    - Viewed (0)
  3. src/internal/types/testdata/examples/inference2.go

    	v6 = f4
    	v7 = f4 // ERROR "inferred type func(int, int) for func(P, P) does not match type func(int, string) of v7"
    	v8 = f5
    	v9 = f5 // ERROR "inferred type func(string) []string for func(P) []P does not match type func(string) []int of v9"
    
    	// non-trivial LHS
    	var a [2]func(string) []int
    	a[0] = f5 // ERROR "inferred type func(string) []string for func(P) []P does not match type func(string) []int of a[0]"
    }
    
    // Return statements
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 12 18:44:59 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  4. pkg/util/removeall/removeall.go

    // using the provided remove function. It removes everything it can but returns
    // the first error it encounters. If the path does not exist, RemoveAll
    // returns nil (no error).
    // It makes sure it does not cross mount boundary, i.e. it does *not* remove
    // files from another filesystems. Like 'rm -rf --one-file-system'.
    // It is copied from RemoveAll() sources, with IsLikelyNotMountPoint
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 15 16:41:02 UTC 2021
    - 3.8K bytes
    - Viewed (0)
  5. test/fixedbugs/issue38356.go

    func f1(x, y float64, z int) float64 {
    	a := x + y  // generate flags
    	if z == 0 { // create basic block that does not clobber flags
    		return a
    	}
    	if a > 0 { // use flags in different basic block
    		return y
    	}
    	return x
    }
    
    func f2(x, y float64, z int) float64 {
    	a := x - y  // generate flags
    	if z == 0 { // create basic block that does not clobber flags
    		return a
    	}
    	if a > 0 { // use flags in different basic block
    		return y
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 14 19:01:47 UTC 2020
    - 1.1K bytes
    - Viewed (0)
  6. src/main/assemblies/files/generate-thumbnail

      if [[ ! -f ${tmp_pdf_file} ]] ; then
        echo "unoconv does not work."
        exit 1
      fi
      tmp_png_prefix=/tmp/thumbnail.png.$$
      pdftoppm -png -singlefile ${tmp_pdf_file} ${tmp_png_prefix}
      tmp_png_file="${tmp_png_prefix}.png"
      rm -f ${tmp_pdf_file}
      if [[ ! -f ${tmp_png_file} ]] ; then
        echo "pdftoppm does not work."
        exit 1
      fi
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Mon Jun 12 13:13:28 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  7. platforms/core-execution/build-cache/src/test/groovy/org/gradle/caching/internal/controller/DefaultBuildCacheControllerTest.groovy

                stringInterner
            )
        }
    
        def "does suppress exceptions from load"() {
            given:
            1 * remote.load(key, _) >> { throw new RuntimeException() }
    
            when:
            controller.load(key, cacheableEntity)
    
            then:
            1 * local.loadLocally(key, _)
            0 * local.storeLocally(key, _)
        }
    
        def "does suppress exceptions from store"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 22:18:26 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  8. src/internal/types/testdata/fixedbugs/issue60562.go

    func f0[T any](chan S[T]) {}
    
    func _() {
    	var x chan interface{ m(int) }
    	f0(x /* ERROR "type chan interface{m(int)} of x does not match chan S[T] (cannot infer T)" */)
    }
    
    // variants of the theme
    
    func f1[T any]([]S[T]) {}
    
    func _() {
    	var x []interface{ m(int) }
    	f1(x /* ERROR "type []interface{m(int)} of x does not match []S[T] (cannot infer T)" */)
    }
    
    type I[T any] interface {
    	m(T)
    }
    
    func f2[T any](func(I[T])) {}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 14:52:02 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  9. internal/hash/errors.go

    package hash
    
    import (
    	"errors"
    	"fmt"
    )
    
    // SHA256Mismatch - when content sha256 does not match with what was sent from client.
    type SHA256Mismatch struct {
    	ExpectedSHA256   string
    	CalculatedSHA256 string
    }
    
    func (e SHA256Mismatch) Error() string {
    	return "Bad sha256: Expected " + e.ExpectedSHA256 + " does not match calculated " + e.CalculatedSHA256
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 15 21:08:54 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/test/groovy/org/gradle/integtests/fixtures/versions/ReleasedVersionDistributionsTest.groovy

            versions.all*.version == versions.all*.version.sort().reverse()
        }
    
        def "get most recent final does that"() {
            when:
            props.mostRecent = "1.2"
    
            then:
            versions().mostRecentRelease.version == version("1.2")
        }
    
        def "get most recent snapshot does that"() {
            when:
            props.mostRecentSnapshot = "2.5-20150413220018+0000"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top