Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,066 for convlit (0.22 sec)

  1. tensorflow/compiler/mlir/lite/utils/perception_ops_utils_test.cc

      mlir::TFL::ConvertMaxUnpoolingFunc convert(max_unpooling_func, func_attr_);
    
      EXPECT_TRUE(failed(convert.VerifySignature()));
      max_unpooling_func->erase();
    }
    
    TEST_F(PerceptionUtilsTest, RewriteValid) {
      mlir::TFL::ConvertMaxUnpoolingFunc convert(fused_max_unpooling_func_,
                                                 func_attr_);
    
      EXPECT_FALSE(failed(convert.RewriteFunc()));
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Sep 29 21:02:21 UTC 2022
    - 7.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/mergepatch/util.go

    		case map[string]interface{}:
    			for key, leftValue := range typedLeft {
    				rightValue, ok := typedRight[key]
    				if !ok {
    					continue
    				}
    				if conflict, err := HasConflicts(leftValue, rightValue); err != nil || conflict {
    					return conflict, err
    				}
    			}
    
    			return false, nil
    		default:
    			return true, nil
    		}
    	case []interface{}:
    		switch typedRight := right.(type) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 27 01:24:22 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  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. test/fixedbugs/bug090.go

    	assert(i == c3div2, "i == c3div2 from f3div2");
    	assert(i != f3div2, "i != f3div2");	// ERROR "truncate"
    
    	const g float64 = 1.0;
    	i = g;  // ERROR "convert|incompatible|cannot"
    
    	const h float64 = 3.14;
    	i = h;  // ERROR "convert|incompatible|cannot"
    	i = int(h);	// ERROR "truncate|cannot convert"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 03 17:55:56 UTC 2020
    - 883 bytes
    - Viewed (0)
Back to top