Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 511 for checkDep (0.25 sec)

  1. src/go/types/labels.go

    // license that can be found in the LICENSE file.
    
    package types
    
    import (
    	"go/ast"
    	"go/token"
    	. "internal/types/errors"
    )
    
    // labels checks correct label use in body.
    func (check *Checker) labels(body *ast.BlockStmt) {
    	// set of all labels in this body
    	all := NewScope(nil, body.Pos(), body.End(), "label")
    
    	fwdJumps := check.blockBranches(all, nil, nil, body.List)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/preflight/checks_other.go

    // No-op for Darwin (MacOS), Windows.
    func addIPv6Checks(checks []Checker) []Checker {
    	return checks
    }
    
    // addIPv4Checks adds IPv4 related checks
    // No-op for Darwin (MacOS), Windows.
    func addIPv4Checks(checks []Checker) []Checker {
    	return checks
    }
    
    // addSwapCheck adds a swap check
    // No-op for Darwin (MacOS), Windows.
    func addSwapCheck(checks []Checker) []Checker {
    	return checks
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 23 07:37:42 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. src/internal/trace/batchcursor_test.go

    	"slices"
    )
    
    func TestHeap(t *testing.T) {
    	var heap []*batchCursor
    
    	// Insert a bunch of values into the heap.
    	checkHeap(t, heap)
    	heap = heapInsert(heap, makeBatchCursor(5))
    	checkHeap(t, heap)
    	for i := int64(-20); i < 20; i++ {
    		heap = heapInsert(heap, makeBatchCursor(i))
    		checkHeap(t, heap)
    	}
    
    	// Update an element in the middle to be the new minimum.
    	for i := range heap {
    		if heap[i].ev.time == 5 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  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