Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,066 for convlit (0.2 sec)

  1. test/fixedbugs/issue21979.go

    package p
    
    func f() {
    	_ = bool("")      // ERROR "cannot convert .. \(.*untyped string.*\) to type bool|invalid type conversion"
    	_ = bool(1)       // ERROR "cannot convert 1 \(.*untyped int.*\) to type bool|invalid type conversion"
    	_ = bool(1.0)     // ERROR "cannot convert 1.* \(.*untyped float.*\) to type bool|invalid type conversion"
    	_ = bool(-4 + 2i) // ERROR "cannot convert -4 \+ 2i \(.*untyped complex.*\) to type bool|invalid type conversion"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 11 02:26:58 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/cli/converter/StartParameterConverterTest.groovy

            def initialProperties = initialPropertiesConverter.convert(parsedCommandLine)
            def buildLayout = buildLayoutConverter.convert(initialProperties, parsedCommandLine, null) {
                it.gradleUserHomeDir = userHome // don't use the default
            }
            def properties = propertiesConverter.convert(initialProperties, buildLayout)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  3. src/internal/types/testdata/check/conversions0.go

    	const _ = string(true /* ERROR "cannot convert" */ )
    	const _ = string(1.2 /* ERROR "cannot convert" */ )
    	const _ = string(nil /* ERROR "cannot convert" */ )
    
    	// issues 11357, 11353: argument must be of integer type
    	_ = string(0.0 /* ERROR "cannot convert" */ )
    	_ = string(0i /* ERROR "cannot convert" */ )
    	_ = string(1 /* ERROR "cannot convert" */ + 2i)
    }
    
    func interface_conversions() {
    	type E interface{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 02 02:58:32 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/conflict_test.go

    								Message: `conflict with "foo" using v1 at 2001-02-03T04:05:06Z`,
    								Field:   ".spec.replicas",
    							},
    						},
    					},
    					Message: `Apply failed with 1 conflict: conflict with "foo" using v1 at 2001-02-03T04:05:06Z: .spec.replicas`,
    				},
    			},
    		},
    		{
    			conflict: merge.Conflicts{
    				merge.Conflict{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/build_import_comment.txt

    # Import comment mismatch
    go build -n wrongplace.go
    
    # Import comment syntax error
    go build -n bad.go
    
    # Import comment conflict
    go build -n conflict.go
    
    -- m/go.mod --
    module m
    
    go 1.16
    -- m/bad.go --
    package p
    
    import "m/bad"
    -- m/conflict.go --
    package p
    
    import "m/conflict"
    -- m/works.go --
    package p
    
    import _ "m/works/x"
    -- m/wrongplace.go --
    package p
    
    import "m/wrongplace"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 17 13:25:29 UTC 2020
    - 1.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/convert_func_to_bfloat16.mlir

      // CHECK: %[[BITCAST:.*]] = stablehlo.bitcast_convert %arg0 : (tensor<1x256128xi32>) -> tensor<1x256128xf32>
      // CHECK: %[[CONVERT:.*]] = stablehlo.convert %[[BITCAST]] : (tensor<1x256128xf32>) -> tensor<1x256128xbf16>
      // CHECK: return %[[CONVERT]] : tensor<1x256128xbf16>
      %20 = stablehlo.bitcast_convert %arg0 : (tensor<1x256128xi32>) -> tensor<1x256128xf32>
      return %20 : tensor<1x256128xf32>
    }
    
    // -----
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 08 22:40:14 UTC 2024
    - 6K bytes
    - Viewed (0)
  7. test/const1.go

    	a2 = Int8 * -1               // OK
    	a3 = Int8 * 1000             // ERROR "overflow|cannot convert"
    	a4 = Int8 * int8(1000)       // ERROR "overflow|cannot convert"
    	a5 = int8(Int8 * 1000)       // ERROR "overflow|cannot convert"
    	a6 = int8(Int8 * int8(1000)) // ERROR "overflow|cannot convert"
    	a7 = Int8 - 2*Int8 - 2*Int8  // ERROR "overflow|cannot convert"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 01 21:49:31 UTC 2020
    - 3.8K bytes
    - Viewed (0)
  8. src/internal/types/testdata/check/const1.go

    	_ float32 = -maxFloat32
    	_ float32 = maxFloat32
    	_ float32 = maxFloat32 /* ERROR "overflow" */ + delta32
    
    	_ = float32(- /* ERROR "cannot convert" */ (maxFloat32 + delta32))
    	_ = float32(-maxFloat32)
    	_ = float32(maxFloat32)
    	_ = float32(maxFloat32 /* ERROR "cannot convert" */ + delta32)
    
    	_ = assert(float32(smallestFloat32) == smallestFloat32)
    	_ = assert(float32(smallestFloat32/2) == 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 16:11:16 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/DuplicateHostHelperTest.java

            assertEquals(result, duplicateHostHelper.convert(url));
    
            url = "http://foo.com/";
            result = "http://www.foo.com/";
            assertEquals(result, duplicateHostHelper.convert(url));
    
            url = "http://foo.com:8080/";
            result = "http://www.foo.com:8080/";
            assertEquals(result, duplicateHostHelper.convert(url));
    
            url = "http://mail.bar.com/";
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/initialization/LayoutCommandLineConverterTest.groovy

        def convert(String... args) {
            converter.convert(Arrays.asList(args), new BuildLayoutParameters())
        }
    
        @Requires(UnitTestPreconditions.NotEC2Agent)
        @Issue('https://github.com/gradle/gradle-private/issues/2876')
        def "has reasonable defaults"() {
            expect:
            convert().currentDir == canonicalize(SystemProperties.instance.getCurrentDir())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 20 11:15:22 UTC 2023
    - 2.7K bytes
    - Viewed (0)
Back to top