Search Options

Results per page
Sort
Preferred Languages
Advance

Results 471 - 480 of 1,333 for CASE (0.04 sec)

  1. cmd/bucket-targets.go

    	}
    	// validate if target credentials are ok
    	exists, err := clnt.BucketExists(ctx, tgt.TargetBucket)
    	if err != nil {
    		switch minio.ToErrorResponse(err).Code {
    		case "NoSuchBucket":
    			return BucketRemoteTargetNotFound{Bucket: tgt.TargetBucket, Err: err}
    		case "AccessDenied":
    			return RemoteTargetConnectionErr{Bucket: tgt.TargetBucket, AccessKey: tgt.Credentials.AccessKey, Err: err}
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 22:22:24 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  2. internal/kms/conn.go

    )
    
    // Type identifies the KMS type.
    type Type uint
    
    // String returns the Type's string representation
    func (t Type) String() string {
    	switch t {
    	case MinKMS:
    		return "MinIO KMS"
    	case MinKES:
    		return "MinIO KES"
    	case Builtin:
    		return "MinIO builtin"
    	default:
    		return "!INVALID:" + strconv.Itoa(int(t))
    	}
    }
    
    // Status describes the current state of a KMS.
    type Status struct {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableEnumMap.java

    final class ImmutableEnumMap<K extends Enum<K>, V> extends IteratorBasedImmutableMap<K, V> {
      static <K extends Enum<K>, V> ImmutableMap<K, V> asImmutable(EnumMap<K, V> map) {
        switch (map.size()) {
          case 0:
            return ImmutableMap.of();
          case 1:
            Entry<K, V> entry = getOnlyElement(map.entrySet());
            return ImmutableMap.of(entry.getKey(), entry.getValue());
          default:
            return new ImmutableEnumMap<>(map);
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/locator/ModelLocator.java

     * @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    public interface ModelLocator {
    
        /**
         * Locates the POM file within the specified project directory. In case the given project directory does not exist
         * or does not contain a POM file, the return value indicates the expected path to the POM file. Subdirectories of
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. cmd/lock-rest-client.go

    	r, err := h.Call(ctx, c.connection, args)
    	if err != nil {
    		return false, err
    	}
    	defer h.PutResponse(r)
    	ok = r.Code == dsync.RespOK
    	switch r.Code {
    	case dsync.RespLockConflict, dsync.RespLockNotFound, dsync.RespOK:
    	// no error
    	case dsync.RespLockNotInitialized:
    		err = errLockNotInitialized
    	default:
    		err = errors.New(r.Err)
    	}
    	return ok, err
    }
    
    // RLock calls read lock REST API.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/ListenerCallQueue.java

      }
    
      /**
       * Enqueues an event to be run on currently known listeners.
       *
       * <p>The {@code toString} method of the Event itself will be used to describe the event in the
       * case of an error.
       *
       * @param event the callback to execute on {@link #dispatch}
       */
      public void enqueue(Event<L> event) {
        enqueueHelper(event, event);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Dec 13 19:45:20 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  7. cmd/object-api-listobjects_test.go

    			},
    		},
    		// ListObjectsResult-4.
    		// Again used for truncated case.
    		// (TestCase 26).
    		4: {
    			IsTruncated: true,
    			Objects: []ObjectInfo{
    				{Name: "Asia-maps.png"},
    			},
    		},
    		// ListObjectsResult-5.
    		// Used for Asserting prefixes.
    		// Used for test case with prefix "new", (testCase 27-29).
    		5: {
    			IsTruncated: false,
    			Objects: []ObjectInfo{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 01 11:07:40 UTC 2024
    - 73.1K bytes
    - Viewed (0)
  8. internal/config/storageclass/storage-class.go

    	return ssc != "" || rrsc != ""
    }
    
    // DefaultParityBlocks returns default parity blocks for 'drive' count
    func DefaultParityBlocks(drive int) int {
    	switch drive {
    	case 1:
    		return 0
    	case 3, 2:
    		return 1
    	case 4, 5:
    		return 2
    	case 6, 7:
    		return 3
    	default:
    		return 4
    	}
    }
    
    // LookupConfig - lookup storage class config and override with valid environment settings if any.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/graph/UndirectedGraphConnections.java

      }
    
      static <N, V> UndirectedGraphConnections<N, V> of(ElementOrder<N> incidentEdgeOrder) {
        switch (incidentEdgeOrder.type()) {
          case UNORDERED:
            return new UndirectedGraphConnections<>(
                new HashMap<N, V>(INNER_CAPACITY, INNER_LOAD_FACTOR));
          case STABLE:
            return new UndirectedGraphConnections<>(
                new LinkedHashMap<N, V>(INNER_CAPACITY, INNER_LOAD_FACTOR));
          default:
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 06 00:47:57 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  10. internal/s3select/jstream/scanner.go

    			atomic.StoreInt64(&sr.end, rpos)
    			close(sr.fillReady)
    		}()
    
    		for range sr.fillReq {
    		scan:
    			n, err := r.Read(sr.nbuf[:])
    
    			if n == 0 {
    				switch err {
    				case io.EOF: // reader is exhausted
    					return
    				case nil: // no data and no error, retry fill
    					goto scan
    				default: // unexpected reader error
    					sr.readerErr = err
    					return
    				}
    			}
    
    			rpos += int64(n)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top