Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 321 for none (0.16 sec)

  1. internal/grid/connection.go

    					return
    				}
    			case <-ctx.Done():
    				c.connChange.L.Unlock()
    				return
    			}
    		}
    	}()
    
    	for {
    		select {
    		case <-ctx.Done():
    			return context.Cause(ctx)
    		case newState := <-changed:
    			if newState == StateConnected {
    				return nil
    			}
    		}
    	}
    }
    
    /*
    var ErrDone = errors.New("done for now")
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  2. internal/hash/checksum.go

    func (c ChecksumType) Is(t ChecksumType) bool {
    	if t == ChecksumNone {
    		return c == ChecksumNone
    	}
    	return c&t == t
    }
    
    // Key returns the header key.
    // returns empty string if invalid or none.
    func (c ChecksumType) Key() string {
    	switch {
    	case c.Is(ChecksumCRC32):
    		return xhttp.AmzChecksumCRC32
    	case c.Is(ChecksumCRC32C):
    		return xhttp.AmzChecksumCRC32C
    	case c.Is(ChecksumSHA1):
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  3. operator/cmd/mesh/manifest-generate_test.go

    		},
    		{
    			// Upgrade from a legacy webhook to a new revision based
    			// Note: we don't need non revision legacy -> non revision, since it will overwrite the webhook
    			name:     "revision upgrade",
    			webhooks: mergeWebhooks(legacyWebhook, revWebhook),
    			checks: append([]assertion{
    				{empty, objEnabled, ""}, // Legacy one requires namespace label
    			}, baseAssertions...),
    		},
    		{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 43.5K bytes
    - Viewed (0)
  4. internal/event/target/kafka.go

    	EnvKafkaProducerCompressionCodec = "MINIO_NOTIFY_KAFKA_PRODUCER_COMPRESSION_CODEC"
    	EnvKafkaProducerCompressionLevel = "MINIO_NOTIFY_KAFKA_PRODUCER_COMPRESSION_LEVEL"
    )
    
    var codecs = map[string]sarama.CompressionCodec{
    	"none":   sarama.CompressionNone,
    	"gzip":   sarama.CompressionGZIP,
    	"snappy": sarama.CompressionSnappy,
    	"lz4":    sarama.CompressionLZ4,
    	"zstd":   sarama.CompressionZSTD,
    }
    
    // KafkaArgs - Kafka target arguments.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 20 08:16:35 GMT 2024
    - 13K bytes
    - Viewed (0)
  5. src/bytes/bytes.go

    	}
    
    	// Now look for the first ASCII non-space byte from the end
    	stop := len(s)
    	for ; stop > start; stop-- {
    		c := s[stop-1]
    		if c >= utf8.RuneSelf {
    			return TrimFunc(s[start:stop], unicode.IsSpace)
    		}
    		if asciiSpace[c] == 0 {
    			break
    		}
    	}
    
    	// At this point s[start:stop] starts and ends with an ASCII
    	// non-space bytes, so we're done. Non-ASCII cases have already
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  6. cmd/bucket-replication.go

    }
    
    const (
    	// WorkerMaxLimit max number of workers per node for "fast" mode
    	WorkerMaxLimit = 500
    
    	// WorkerMinLimit min number of workers per node for "slow" mode
    	WorkerMinLimit = 50
    
    	// WorkerAutoDefault is default number of workers for "auto" mode
    	WorkerAutoDefault = 100
    
    	// MRFWorkerMaxLimit max number of mrf workers per node for "fast" mode
    	MRFWorkerMaxLimit = 8
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  7. cmd/update.go

    	for _, envfile := range []string{
    		"/.dockerenv",
    		"/run/.containerenv",
    	} {
    		_, err = os.Stat(envfile)
    		if err == nil {
    			return true
    		}
    	}
    	if osIsNotExist(err) {
    		// if none of the files are present we may be running inside
    		// CRI-O, Containerd etc..
    		// Fallback to our container specific ENVs if they are set.
    		return env.IsSet("MINIO_ACCESS_KEY_FILE")
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  8. cmd/object-handlers-common.go

    			writeHeaders()
    			writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrPreconditionFailed), r.URL)
    			return true
    		}
    	}
    
    	// If-None-Match : Return the object only if its entity tag (ETag) is different from the
    	// one specified otherwise, return a 304 (not modified).
    	ifNoneMatchETagHeader := r.Header.Get(xhttp.AmzCopySourceIfNoneMatch)
    	if ifNoneMatchETagHeader != "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 09 08:17:49 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  9. cmd/iam-store.go

    // response to a notification (i.e. isFromNotification = true), it skips the
    // validation of policy usage and the attempt to delete in the backend as well
    // (as this is already done by the notifying node).
    func (store *IAMStoreSys) DeletePolicy(ctx context.Context, policy string, isFromNotification bool) error {
    	if policy == "" {
    		return errInvalidArgument
    	}
    
    	cache := store.lock()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  10. cmd/site-replication.go

    	}
    	return nil
    }
    
    func isBucketMetadataEqual(one, two *string) bool {
    	switch {
    	case one == nil && two == nil:
    		return true
    	case one == nil || two == nil:
    		return false
    	default:
    		return strings.EqualFold(*one, *two)
    	}
    }
    
    func (c *SiteReplicationSys) healIAMSystem(ctx context.Context, objAPI ObjectLayer) error {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
Back to top