Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 448 for _return (0.11 sec)

  1. subprojects/core-api/src/main/java/org/gradle/StartParameter.java

            return p;
        }
    
        @Override
        public boolean equals(Object obj) {
            return EqualsBuilder.reflectionEquals(this, obj);
        }
    
        @Override
        public int hashCode() {
            return HashCodeBuilder.reflectionHashCode(this);
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 06:24:50 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/types.go

    		PVCRefCounts:     make(map[string]int),
    	}
    	for _, pod := range pods {
    		ni.AddPod(pod)
    	}
    	return ni
    }
    
    // Node returns overall information about this node.
    func (n *NodeInfo) Node() *v1.Node {
    	if n == nil {
    		return nil
    	}
    	return n.node
    }
    
    // Snapshot returns a copy of this node, Except that ImageStates is copied without the Nodes field.
    func (n *NodeInfo) Snapshot() *NodeInfo {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 19:28:17 UTC 2024
    - 36.7K bytes
    - Viewed (0)
  3. internal/crypto/metadata.go

    	if S3KMS.IsEncrypted(metadata) {
    		return S3KMS, true
    	}
    	if S3.IsEncrypted(metadata) {
    		return S3, true
    	}
    	if SSEC.IsEncrypted(metadata) {
    		return SSEC, true
    	}
    	if IsMultiPart(metadata) {
    		return nil, true
    	}
    	if _, ok := metadata[MetaIV]; ok {
    		return nil, true
    	}
    	if _, ok := metadata[MetaAlgorithm]; ok {
    		return nil, true
    	}
    	if _, ok := metadata[MetaKeyID]; ok {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 17:40:33 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/noderesources/fit.go

    		return nil, err
    	}
    
    	if args.ScoringStrategy == nil {
    		return nil, fmt.Errorf("scoring strategy not specified")
    	}
    
    	strategy := args.ScoringStrategy.Type
    	scorePlugin, exists := nodeResourceStrategyTypeMap[strategy]
    	if !exists {
    		return nil, fmt.Errorf("scoring strategy %s is not supported", strategy)
    	}
    
    	return &Fit{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/watch/watch.go

    	pw.mutex.Lock()
    	defer pw.mutex.Unlock()
    	return pw.stopped
    }
    
    // ResultChan implements Interface
    func (pw *ProxyWatcher) ResultChan() <-chan Event {
    	return pw.result
    }
    
    // StopChan returns stop channel
    func (pw *ProxyWatcher) StopChan() <-chan struct{} {
    	return pw.stopCh
    }
    
    // MockWatcher implements watch.Interface with mockable functions.
    type MockWatcher struct {
    	StopFunc       func()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 20:06:22 UTC 2024
    - 8.1K bytes
    - Viewed (1)
  6. cmd/object-handlers-common.go

    	// use mtime < t+1s instead of mtime <= t to check for unmodified.
    	return objTime.After(givenTime.Add(1 * time.Second))
    }
    
    // canonicalizeETag returns ETag with leading and trailing double-quotes removed,
    // if any present
    func canonicalizeETag(etag string) string {
    	return etagRegex.ReplaceAllString(etag, "$1")
    }
    
    // isETagEqual return true if the canonical representations of two ETag strings
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

                throw new AssertionError("Null check failed on return value of " + factory, e);
              }
            }
          }
          return this;
        }
    
        /**
         * Tests {@link Object#equals} and {@link Object#hashCode} against the return values of the
         * static methods, by asserting that when equal parameters are passed to the same static method,
         * the return value should also be equal; and vice versa.
         *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  8. pkg/security/security.go

    	// http request
    	Request *http.Request
    }
    
    // RemoteAddress returns the authenticated remote address from AuthContext.
    func (ac *AuthContext) RemoteAddress() string {
    	if ac.GrpcContext != nil {
    		return GetConnectionAddress(ac.GrpcContext)
    	} else if ac.Request != nil {
    		return ac.Request.RemoteAddr
    	}
    	return ""
    }
    
    // Header returns the authenticated remote address from AuthContext.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  9. cmd/storage-rest-client.go

    		return errVolumeNotFound
    	case errVolumeExists.Error():
    		return errVolumeExists
    	case errFileNotFound.Error():
    		return errFileNotFound
    	case errFileVersionNotFound.Error():
    		return errFileVersionNotFound
    	case errFileNameTooLong.Error():
    		return errFileNameTooLong
    	case errFileAccessDenied.Error():
    		return errFileAccessDenied
    	case errPathNotFound.Error():
    		return errPathNotFound
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  10. cmd/erasure-healing-common.go

    	err = unwrapAll(err)
    	switch err {
    	case nil:
    		return checkPartSuccess
    	case errFileNotFound, errFileVersionNotFound:
    		return checkPartFileNotFound
    	case errFileCorrupt:
    		return checkPartFileCorrupt
    	case errVolumeNotFound:
    		return checkPartVolumeNotFound
    	case errDiskNotFound:
    		return checkPartDiskNotFound
    	default:
    		return checkPartUnknown
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 12.5K bytes
    - Viewed (0)
Back to top