Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 938 for checkDep (0.12 sec)

  1. guava/src/com/google/common/util/concurrent/AbstractFuture.java

       * RuntimeException runtime exceptions} thrown by the executor.
       */
      @SuppressWarnings("CatchingUnchecked") // sneaky checked exception
      private static void executeListener(Runnable runnable, Executor executor) {
        try {
          executor.execute(runnable);
        } catch (Exception e) { // sneaky checked exception
          // Log it and keep going -- bad runnable and/or executor. Don't punish the other runnables if
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 62.8K bytes
    - Viewed (1)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/IvyResolveIntegrationTest.groovy

            dep.getArtifact().expectGet()
    
            when:
            succeeds "checkDeps"
    
            then:
            resolve.expectGraph {
                root(":", ":test:") {
                    module("org.gradle:test:1.45")
                }
            }
    
            when:
            // Need to check twice to use the cached version too
            succeeds "checkDeps"
    
            then:
            resolve.expectGraph {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 13:59:13 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/preflight/checks_linux.go

    	return validators
    }
    
    // addIPv6Checks adds IPv6 related checks
    func addIPv6Checks(checks []Checker) []Checker {
    	checks = append(checks,
    		FileContentCheck{Path: ipv6DefaultForwarding, Content: []byte{'1'}},
    	)
    	return checks
    }
    
    // addIPv4Checks adds IPv4 related checks
    func addIPv4Checks(checks []Checker) []Checker {
    	checks = append(checks,
    		FileContentCheck{Path: ipv4Forward, Content: []byte{'1'}})
    	return checks
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/catalog/TomlDependenciesExtensionIntegrationTest.groovy

                }
    
                dependencies {
                    implementation libs.my.lib
                }
    
                tasks.register("checkDeps", CheckDeps) {
                    input.from(configurations.runtimeClasspath)
                }
    
                class CheckDeps extends DefaultTask {
                    @InputFiles
                    final ConfigurableFileCollection input = project.objects.fileCollection()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 33K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/RegularImmutableSortedSet.java

    import java.util.Collections;
    import java.util.Comparator;
    import java.util.Iterator;
    import java.util.NoSuchElementException;
    import java.util.Set;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * An immutable sorted set with one or more elements. TODO(jlevy): Consider separate class for a
     * single-element sorted set.
     *
     * @author Jared Levy
     * @author Louis Wasserman
     */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 9K bytes
    - Viewed (0)
  6. src/go/types/stmt.go

    	finalSwitchCase
    	inTypeSwitch
    )
    
    func (check *Checker) simpleStmt(s ast.Stmt) {
    	if s != nil {
    		check.stmt(0, s)
    	}
    }
    
    func trimTrailingEmptyStmts(list []ast.Stmt) []ast.Stmt {
    	for i := len(list); i > 0; i-- {
    		if _, ok := list[i-1].(*ast.EmptyStmt); !ok {
    			return list[:i]
    		}
    	}
    	return nil
    }
    
    func (check *Checker) stmtList(ctxt stmtContext, list []ast.Stmt) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  7. docs/zh/docs/advanced/advanced-dependencies.md

    ```Python hl_lines="16"
    {!../../../docs_src/dependencies/tutorial011.py!}
    ```
    
    这样就可以**参数化**依赖项,它包含 `checker.fixed_content` 的属性 - `"bar"`。
    
    ## 把实例作为依赖项
    
    然后,不要再在 `Depends(checker)` 中使用 `Depends(FixedContentQueryChecker)`, 而是要使用 `checker`,因为依赖项是类实例 - `checker`,不是类。
    
    处理依赖项时,**FastAPI** 以如下方式调用 `checker`:
    
    ```Python
    checker(q="somequery")
    ```
    
    ……并用*路径操作函数*的参数 `fixed_content_included` 返回依赖项的值:
    
    ```Python hl_lines="20"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Jan 28 18:26:57 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/MultipleVariantSelectionIntegrationTest.groovy

                    if (!conflict) {
                        expectGetArtifact()
                    }
                }
            }
            if (conflict) {
                fails 'checkDeps'
            } else {
                succeeds 'checkDeps'
            }
    
            then:
            if (conflict) {
                failure.assertHasCause("""Module 'org:test' has been rejected:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 29 22:29:19 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ConfigurationDefaultsIntegrationTest.groovy

    configurations.conf.defaultDependencies { deps ->
        deps.add project.dependencies.create("org:default-dependency:1.0")
    }
    """
            resolve.prepare {
                config("conf", "checkDeps")
                config("child", "checkChild")
            }
    
            when:
            run "checkDeps"
    
            then:
            resolve.expectGraph {
                root(":", ":test:") {
                    module("org:default-dependency:1.0")
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 18:18:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rules/ComponentAttributesRulesIntegrationTest.groovy

                    }
                }
            }
    
            then:
            if (fixApplied) {
                run ':checkDeps'
                resolve.expectGraph {
                    root(":", ":test:") {
                        module('org.test:module:1.0')
                    }
                }
            } else {
                fails ':checkDeps'
                if (useIvy() && !isGradleMetadataPublished()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:10:53 UTC 2024
    - 16.7K bytes
    - Viewed (0)
Back to top