Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 456 for checkDep (1.09 sec)

  1. src/cmd/compile/internal/types2/operand.go

    // is only valid if the (first) result is false. The check parameter may be nil
    // if assignableTo is invoked through an exported API call, i.e., when all
    // methods have been type-checked.
    func (x *operand) assignableTo(check *Checker, T Type, cause *string) (bool, Code) {
    	if x.mode == invalid || !isValid(T) {
    		return true, 0 // avoid spurious errors
    	}
    
    	origT := T
    	V := Unalias(x.typ)
    	T = Unalias(T)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 21:17:10 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Suppliers.java

        public T get() {
          // A 2-field variant of Double Checked Locking.
          if (!initialized) {
            synchronized (this) {
              if (!initialized) {
                T t = delegate.get();
                value = t;
                initialized = true;
                return t;
              }
            }
          }
          // This is safe because we checked `initialized`.
          return uncheckedCastNullableTToT(value);
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  3. internal/grid/muxclient.go

    			}
    			m.addErrorNonBlockingClose(errResp, context.Cause(m.ctx))
    			return
    		case <-pingTimer:
    			errState = !m.doPing(errResp)
    		}
    	}
    }
    
    // checkSeq will check if sequence number is correct and increment it by 1.
    func (m *muxClient) checkSeq(seq uint32) (ok bool) {
    	if seq != m.RecvSeq {
    		if debugPrint {
    			fmt.Printf("MuxID: %d client, expected sequence %d, got %d\n", m.MuxID, m.RecvSeq, seq)
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  4. platforms/software/publish/src/main/java/org/gradle/api/publish/internal/metadata/ModuleMetadataSpecBuilder.java

        private final DependencyCoordinateResolverFactory dependencyCoordinateResolverFactory;
        private final InvalidPublicationChecker checker;
    
        public ModuleMetadataSpecBuilder(
            PublicationInternal<?> publication,
            Collection<? extends PublicationInternal<?>> publications,
            InvalidPublicationChecker checker,
            DependencyCoordinateResolverFactory dependencyCoordinateResolverFactory
        ) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 02:07:04 UTC 2024
    - 23K bytes
    - Viewed (0)
  5. src/go/types/assignments.go

    // type. context describes the context in which the assignment takes place.
    // Use T == nil to indicate assignment to an untyped blank identifier.
    // If the assignment check fails, x.mode is set to invalid.
    func (check *Checker) assignment(x *operand, T Type, context string) {
    	check.singleValue(x)
    
    	switch x.mode {
    	case invalid:
    		return // error reported before
    	case nilvalue:
    		assert(isTypes2)
    		// ok
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/assignments.go

    // type. context describes the context in which the assignment takes place.
    // Use T == nil to indicate assignment to an untyped blank identifier.
    // If the assignment check fails, x.mode is set to invalid.
    func (check *Checker) assignment(x *operand, T Type, context string) {
    	check.singleValue(x)
    
    	switch x.mode {
    	case invalid:
    		return // error reported before
    	case nilvalue:
    		assert(isTypes2)
    		// ok
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 23 21:21:43 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  7. tests/integration/pilot/mcs/discoverability/discoverability_test.go

    					runForAllClusterCombinations(t, func(t framework.TestContext, from echo.Instance, to echo.Target) {
    						var checker echo.Checker
    						if ht == hostTypeClusterLocal {
    							// For calls to cluster.local, ensure that all requests stay in the same cluster
    							expectedClusters := cluster.Clusters{from.Config().Cluster}
    							checker = checkClustersReached(t.AllClusters(), expectedClusters)
    						} else {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  8. hack/golangci.yaml

          description: structured logging checker
          original-url: k8s.io/logtools/logcheck
          settings:
            config: |
              # hack/logcheck.conf contains regular expressions that are matched against <pkg>/<file>,
              # for example k8s.io/cmd/kube-scheduler/app/config/config.go.
              #
              # By default, structured logging call parameters are checked, but usage of
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 12:10:09 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/stdlib_test.go

    	panic("unimplemented: use ImportFrom")
    }
    
    func (c *stdlibChecker) ImportFrom(path, dir string, _ ImportMode) (*Package, error) {
    	if path == "unsafe" {
    		// unsafe cannot be type checked normally.
    		return Unsafe, nil
    	}
    
    	p, err := build.Default.Import(path, dir, build.FindOnly)
    	if err != nil {
    		return nil, err
    	}
    
    	pkg, err := c.getDirPackage(p.Dir)
    	if pkg != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:18:33 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/AggregateFuture.java

    import java.util.Set;
    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.Future;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A future whose value is derived from a collection of input futures.
     *
     * @param <InputT> the type of the individual inputs
     * @param <OutputT> the type of the output (i.e. this) future
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 15.4K bytes
    - Viewed (0)
Back to top