Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for if (0.31 sec)

  1. android/guava/src/com/google/common/collect/Iterators.java

      }
    
      /** Returns {@code true} if {@code iterator} contains {@code element}. */
      public static boolean contains(Iterator<?> iterator, @CheckForNull Object element) {
        if (element == null) {
          while (iterator.hasNext()) {
            if (iterator.next() == null) {
              return true;
            }
          }
        } else {
          while (iterator.hasNext()) {
            if (element.equals(iterator.next())) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
  2. cmd/xl-storage.go

    	fi, err := Lstat(s.formatFile)
    	if err != nil {
    		// If the disk is still not initialized.
    		if osIsNotExist(err) {
    			if err = Access(s.drivePath); err == nil {
    				// Disk is present but missing `format.json`
    				return nil, errUnformattedDisk
    			}
    			if osIsNotExist(err) {
    				return nil, errDiskNotFound
    			} else if osIsPermission(err) {
    				return nil, errDiskAccessDenied
    			}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  3. cmd/iam-store.go

    	if isGroup {
    		if store.getUsersSysType() == MinIOUsersSysType {
    			g, ok := c.iamGroupsMap[name]
    			if !ok {
    				if err := store.loadGroup(context.Background(), name, c.iamGroupsMap); err != nil {
    					return nil, time.Time{}, err
    				}
    				g, ok = c.iamGroupsMap[name]
    				if !ok {
    					return nil, time.Time{}, errNoSuchGroup
    				}
    			}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  4. cmd/admin-handlers-users.go

    	if targetUser == requestorUser || targetUser == requestorParentUser {
    		isSvcAccForRequestor = true
    	}
    
    	// If we are creating svc account for request sender, ensure
    	// that targetUser is a real user (i.e. not derived
    	// credentials).
    	if isSvcAccForRequestor {
    		if requestorIsDerivedCredential {
    			if requestorParentUser == "" {
    				writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 77.3K bytes
    - Viewed (0)
  5. istioctl/pkg/describe/describe.go

    	outlierDetection *v1alpha3.OutlierDetection,
    ) string {
    	extra := make([]string, 0)
    	if lb != nil {
    		extra = append(extra, "load balancer")
    	}
    	if connectionPool != nil {
    		extra = append(extra, "connection pool")
    	}
    	if outlierDetection != nil {
    		extra = append(extra, "outlier detection")
    	}
    	if len(extra) > 0 {
    		return fmt.Sprintf("Policies: %s\n", strings.Join(extra, "/"))
    	}
    	return ""
    }
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java

            if (tracker != null) {
                if (fieldName != null) {
                    Object key = fieldName;
    
                    int idx = fieldName.lastIndexOf('.');
                    if (idx >= 0) {
                        fieldName = fieldName.substring(idx + 1);
                        key = fieldName;
                    }
    
                    if (fieldName.endsWith("]")) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 13:13:07 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

          Waiter pred = null;
          Waiter curr = waiters;
          if (curr == Waiter.TOMBSTONE) {
            return; // give up if someone is calling complete
          }
          Waiter succ;
          while (curr != null) {
            succ = curr.next;
            if (curr.thread != null) { // we aren't unlinking this node, update pred.
              pred = curr;
            } else if (pred != null) { // We are unlinking this node and it has a predecessor.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  8. cmd/batch-handlers.go

    	if r == nil {
    		return nil
    	}
    
    	if r.APIVersion != batchReplJobAPIVersion {
    		return errInvalidArgument
    	}
    
    	if r.Source.Endpoint != "" && r.Target.Endpoint != "" {
    		return errInvalidArgument
    	}
    
    	if r.Source.Creds.Empty() && r.Target.Creds.Empty() {
    		return errInvalidArgument
    	}
    
    	if r.Source.Bucket == "" || r.Target.Bucket == "" {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 08 14:11:38 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  9. cmd/admin-handlers.go

    	hip.objPrefix = vars[mgmtPrefix]
    
    	if hip.bucket == "" {
    		if hip.objPrefix != "" {
    			// Bucket is required if object-prefix is given
    			err = ErrHealMissingBucket
    			return
    		}
    	} else if isReservedOrInvalidBucket(hip.bucket, false) {
    		err = ErrInvalidBucketName
    		return
    	}
    
    	// empty prefix is valid.
    	if !IsValidObjectPrefix(hip.objPrefix) {
    		err = ErrInvalidObjectName
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 97.3K bytes
    - Viewed (2)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCallResolver.kt

         *
         * If too many type arguments are provided, a mapping is still created. Extra type arguments are simply ignored. If this wasn't the
         * case, the resulting [KtCall] would contain no type arguments at all, which can cause problems later. If too few type arguments are
         * provided, an empty map is returned defensively so that [toTypeArgumentsMapping] doesn't conjure any error types. If you want to map
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 70.8K bytes
    - Viewed (1)
Back to top