Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 2,239 for convlit (0.16 sec)

  1. test/fixedbugs/issue7129.go

    func g() bool { return true }
    
    func h(int, int) {}
    
    func main() {
    	f(g())        // ERROR "in argument to f|incompatible type|cannot convert"
    	f(true)       // ERROR "in argument to f|incompatible type|cannot convert"
    	h(true, true) // ERROR "in argument to h|incompatible type|cannot convert"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 22 17:50:13 UTC 2020
    - 581 bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/capabilities/PublishedCapabilitiesIntegrationTest.groovy

       Cannot select module with conflict on capability 'cglib:cglib:3.2.5' also provided by [cglib:cglib:3.2.5(runtime)]""")
            failure.assertHasCause("""Module 'cglib:cglib' has been rejected:
       Cannot select module with conflict on capability 'cglib:cglib:3.2.5' also provided by [cglib:cglib-nodep:3.2.5(runtime)]""")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/conversion/converter_test.go

    	y := B{}
    
    	if err := c.Convert(&x, &y, nil); err != nil {
    		t.Fatalf("unexpected error %v", err)
    	}
    	if e, a := x.Foo, y.Bar; e != a {
    		t.Errorf("expected %v, got %v", e, a)
    	}
    	if e, a := x.Baz, y.Baz; e != a {
    		t.Errorf("expected %v, got %v", e, a)
    	}
    
    	z := B{"all your test are belong to us", 42}
    	w := A{}
    
    	if err := c.Convert(&z, &w, nil); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 06 06:28:24 UTC 2021
    - 6.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/CaseFormat.java

          return Ascii.toLowerCase(word);
        }
    
        @Override
        String convert(CaseFormat format, String s) {
          if (format == LOWER_UNDERSCORE) {
            return s.replace('-', '_');
          }
          if (format == UPPER_UNDERSCORE) {
            return Ascii.toUpperCase(s.replace('-', '_'));
          }
          return super.convert(format, s);
        }
      },
    
      /** C++ variable naming convention, e.g., "lower_underscore". */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 19 20:20:14 UTC 2022
    - 6.3K bytes
    - Viewed (0)
  5. platforms/documentation/docs-asciidoctor-extensions-base/src/test/groovy/org/gradle/docs/asciidoctor/SampleIncludeProcessorTest.groovy

        }
    
        def "requires dir and files attributes"() {
            given:
            String asciidocContent = """
    = Doctitle
    
    include::sample[]
    """
    
            when:
            asciidoctor.convert(asciidocContent, [:])
    
            then:
            thrown IllegalStateException
        }
    
        def "converts a sample include into declared source"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/cli/converter/PropertiesToDaemonParametersConverterTest.groovy

        def "allows whitespace around boolean properties"() {
            when:
            converter.convert([(DaemonBuildOptions.DaemonOption.GRADLE_PROPERTY): 'false '], params)
            then:
            !params.enabled
        }
    
        def "can configure jvm args combined with a system property"() {
            when:
            converter.convert([(DaemonBuildOptions.JvmArgsOption.GRADLE_PROPERTY): '-Xmx512m -Dprop=value'], params)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 18:03:55 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. callbacks/helper_test.go

    		input  map[string]interface{}
    		expect clause.Values
    	}{
    		{
    			name: "Test convert string value",
    			input: map[string]interface{}{
    				"name": "my name",
    			},
    			expect: clause.Values{
    				Columns: []clause.Column{{Name: "name"}},
    				Values:  [][]interface{}{{"my name"}},
    			},
    		},
    		{
    			name: "Test convert int value",
    			input: map[string]interface{}{
    				"age": 18,
    			},
    			expect: clause.Values{
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Tue Mar 05 02:22:57 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. pkg/apis/apps/v1beta2/conversion_test.go

    				PodManagementPolicy: v1beta2.PodManagementPolicyType("bar"),
    			},
    		},
    	}
    
    	for k, tc := range testcases {
    		// apps -> v1beta2
    		internal1 := &v1beta2.StatefulSetSpec{}
    		if err := legacyscheme.Scheme.Convert(tc.stsSpec1, internal1, nil); err != nil {
    			t.Errorf("%q - %q: unexpected error: %v", k, "from extensions to v1beta2", err)
    		}
    
    		if !apiequality.Semantic.DeepEqual(internal1, tc.stsSepc2) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 07:16:15 UTC 2023
    - 22.7K bytes
    - Viewed (0)
  9. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/cli/converter/BuildLayoutConverter.java

            return new Result(new BuildLayoutParameters());
        }
    
        public BuildLayoutResult convert(InitialProperties systemProperties, ParsedCommandLine commandLine, @Nullable File workingDir) {
            return convert(systemProperties, commandLine, workingDir, parameters -> {
            });
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  10. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/cli/DefaultCommandLineActionFactoryTest.groovy

        def "delegates to each action factory to configure the command-line parser and create the action"() {
            def rawAction = Mock(Action<? super ExecutionListener>)
    
            when:
            def commandLineExecution = factory.convert(["--some-option"])
            commandLineExecution.execute(executionListener)
    
            then:
            1 * actionFactory1.configureCommandLineParser(!null) >> {
                CommandLineParser parser -> parser.option("some-option")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 11.6K bytes
    - Viewed (0)
Back to top