Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,251 for checkDep (0.17 sec)

  1. tensorflow/c/eager/c_api_test.cc

        CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
        TFE_Execute(op, &h, &num_retvals, status);
        CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
        CHECK_EQ(1, num_retvals);
        CHECK(h);
        CHECK_EQ(TF_FLOAT, TFE_TensorHandleDataType(h));
        CHECK_EQ(0, TFE_TensorHandleNumDims(h, status));
        CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
        h = nullptr;
        TFE_DeleteOp(op);
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 03 20:50:20 UTC 2023
    - 94.6K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/DependencyNotationIntegrationSpec.groovy

            succeeds 'checkDeps'
        }
    
        def "fails gracefully for invalid notations"() {
            when:
            buildFile <<  """
    configurations {
        conf
    }
    
    dependencies {
        conf 100
    }
    
    task checkDeps
    """
            then:
            fails 'checkDeps'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 12 19:17:32 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/DependencyHandlerProviderIntegrationTest.groovy

                doLast {
                   outFile << 'Hello'
                }
            }
    
            checkDeps.dependsOn resolve
    
            """
    
            when:
            args '-Pproject.version=1.1'
            succeeds 'checkDeps'
    
            then:
            executedAndNotSkipped ":checkDeps", ":resolve"
            resolve.expectGraph {
                root(":", "org:provider:1.0") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ExclusiveRepositoryContentFilteringIntegrationTest.groovy

                }
            """
    
            when:
            foo.ivy.expectGet()
            foo.artifact.expectGet()
            bar.pom.expectGet()
            bar.artifact.expectGet()
    
            run 'checkDeps'
    
            then:
            resolve.expectGraph {
                root(':', ':test:') {
                    module('org:foo:1.0')
                    module('other:bar:2.0')
                }
            }
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ForcedModulesIntegrationTest.groovy

    }
    
    configurations.all {
        resolutionStrategy.force 'org:foo:1.4.4'
    }
    
    task checkDeps {
        def compileClasspath = configurations.compileClasspath
        doLast {
            assert compileClasspath*.name == ['foo-1.4.4.jar']
        }
    }
    """
    
            expect:
            run("checkDeps")
        }
    
        void "can force the version of a transitive dependency module"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rocache/StaticVersionsReadOnlyCacheDependencyResolutionTest.groovy

            buildFile << """
                dependencies {
                    implementation 'org.readonly:core:1.0'
                }
            """
    
            when:
            withReadOnlyCache()
            succeeds ':checkDeps'
    
            then:
            resolve.expectGraph {
                root(':', 'org.gradle:ro-test:20') {
                    module('org.readonly:core:1.0')
                }
            }
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 01:27:55 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/FileDependencyResolveIntegrationTest.groovy

    '''
            file("sub/build.gradle") << '''
                dependencies {
                    compile files('sub.jar') { builtBy jar }
                }
    '''
    
            when:
            run ":checkDeps"
    
            then:
            executed ":jar", ":sub:jar", ":checkDeps"
            resolve.expectGraph {
                root(":", ":main:") {
                    files << "main.jar"
                    files << "sub.jar"
                    project(":sub", "main:sub:") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 23 22:33:17 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/cel/library/cost.go

    	}
    	return 1
    }
    
    func (l *CostEstimator) sizeEstimate(t checker.AstNode) checker.SizeEstimate {
    	if sz := t.ComputedSize(); sz != nil {
    		return *sz
    	}
    	if sz := l.EstimateSize(t); sz != nil {
    		return *sz
    	}
    	return checker.SizeEstimate{Min: 0, Max: math.MaxUint64}
    }
    
    func (l *CostEstimator) listElementNode(list checker.AstNode) checker.AstNode {
    	if params := list.Type().Parameters(); len(params) > 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/cgocall/cgocall.go

    // typeCheckCgoSourceFiles returns type-checked syntax trees for the raw
    // cgo files of a package (those that import "C"). Such files are not
    // Go, so there may be gaps in type information around C.f references.
    //
    // This checker was initially written in vet to inspect raw cgo source
    // files using partial type information. However, Analyzers in the new
    // analysis API are presented with the type-checked, "cooked" Go ASTs
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tfrt/tests/tfrt_fallback/batch_function_fallback_benchmark_test.cc

      auto* host = corert->GetHostContext();
      auto [bef_buffer, bef_file] = CreateBefFile(host);
      auto* func = bef_file->GetFunction("main");
      CHECK(func);
      CHECK_EQ(func->result_types().size(), 113);
      CHECK_EQ(func->argument_types().size(), 113);
    
      auto arguments = CreateTestArguments(func, host);
    
      tfrt::ResourceContext resource_ctx;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Dec 08 08:08:48 UTC 2023
    - 6.3K bytes
    - Viewed (0)
Back to top