Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for Kissling (0.15 sec)

  1. internal/s3select/sql/value.go

    	val, ok = v.value.([]Value)
    	return
    }
    
    // IsNull - checks if value is missing.
    func (v Value) IsNull() bool {
    	//nolint:gocritic
    	switch v.value.(type) {
    	case nil:
    		return true
    	}
    	return false
    }
    
    // IsMissing - checks if value is missing.
    func (v Value) IsMissing() bool {
    	_, ok := v.value.(Missing)
    	return ok
    }
    
    // IsArray returns whether the value is an array.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 25 20:31:19 GMT 2022
    - 20.2K bytes
    - Viewed (0)
  2. docs/debugging/xl-meta/main.go

    			}
    			filled[j+start] = 1
    		}
    	}
    
    	lastValid := 0
    	missing := 0
    	for i := range filled {
    		if filled[i] == 1 {
    			lastValid = i
    		} else {
    			missing++
    		}
    	}
    	if missing > 0 && len(parityData) > 0 {
    		fmt.Println("Attempting to reconstruct using parity sets:")
    		for k, v := range parityData {
    			if missing == 0 {
    				break
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:56:22 GMT 2024
    - 20.2K bytes
    - Viewed (1)
  3. internal/crypto/metadata_test.go

    	}, // 1
    	{
    		ExpectedErr: Errorf("The object metadata is missing the internal sealed key for SSE-S3"),
    		Metadata:    map[string]string{MetaIV: "", MetaAlgorithm: ""}, DataKey: []byte{}, KeyID: "", SealedKey: SealedKey{},
    	}, // 2
    	{
    		ExpectedErr: Errorf("The object metadata is missing the internal KMS key-ID for SSE-S3"),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 02 00:13:57 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  4. internal/jwt/parser.go

    func (c *StandardClaims) Valid() error {
    	if err := c.StandardClaims.Valid(); err != nil {
    		return err
    	}
    
    	if c.AccessKey == "" && c.Subject == "" {
    		return jwtgo.NewValidationError("accessKey/sub missing",
    			jwtgo.ValidationErrorClaimsInvalid)
    	}
    
    	return nil
    }
    
    // NewMapClaims - Initializes a new map claims
    func NewMapClaims() *MapClaims {
    	return &MapClaims{MapClaims: jwtgo.MapClaims{}}
    }
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue May 09 07:53:08 GMT 2023
    - 13.9K bytes
    - Viewed (0)
  5. cmd/erasure-object_test.go

    	buf := make([]byte, smallFileThreshold*16)
    	if _, err = io.ReadFull(crand.Reader, buf); err != nil {
    		t.Fatal(err)
    	}
    
    	// Test use case 1: All disks are online, xl.meta are present, but data are missing
    	_, err = obj.PutObject(ctx, bucket, object, mustGetPutObjReader(t, bytes.NewReader(buf), int64(len(buf)), "", ""), opts)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	for _, disk := range xl.getDisks() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 36.8K bytes
    - Viewed (0)
  6. cmd/bucket-targets.go

    	lastOnline      time.Time
    	lastHCAt        time.Time
    	offlineDuration time.Duration
    	latency         latencyStat
    }
    
    // isOffline returns current liveness result of remote target. Add endpoint to
    // healthCheck map if missing and default to online status
    func (sys *BucketTargetSys) isOffline(ep *url.URL) bool {
    	sys.hMutex.RLock()
    	defer sys.hMutex.RUnlock()
    	if h, ok := sys.hc[ep.Host]; ok {
    		return !h.Online
    	}
    	go sys.initHC(ep)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  7. cmd/erasure-server-pool-rebalance.go

    	}
    	z.rebalMu.Unlock()
    
    	return nil
    }
    
    // updates rebalance.bin from let's say 2 pool setup in the middle
    // of a rebalance, was expanded can cause z.rebalMeta to be outdated
    // due to a missing new pool. This function tries to handle this
    // scenario, albeit rare it seems to have occurred in the wild.
    //
    // since we do not explicitly disallow it, but it is okay for them
    // expand and then we continue to rebalance.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 19:29:28 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  8. cmd/xl-storage-disk-id-check.go

    	if contextCanceled(ctx) {
    		return ctx, done, ctx.Err()
    	}
    
    	if p.health.status.Load() != diskHealthOK {
    		return ctx, done, errFaultyDisk
    	}
    
    	// Verify if the disk is not stale
    	// - missing format.json (unformatted drive)
    	// - format.json is valid but invalid 'uuid'
    	if err = p.checkDiskStale(); err != nil {
    		return ctx, done, err
    	}
    
    	// Disallow recursive tracking to avoid deadlocks.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  9. cmd/object-multipart-handlers.go

    		return
    	}
    
    	clientETag, err := etag.FromContentMD5(r.Header)
    	if err != nil {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrInvalidDigest), r.URL)
    		return
    	}
    
    	// if Content-Length is unknown/missing, throw away
    	size := r.ContentLength
    
    	rAuthType := getRequestAuthType(r)
    	// For auth type streaming signature, we need to gather a different content length.
    	switch rAuthType {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 39K bytes
    - Viewed (0)
  10. cmd/sts-datatypes.go

    	// The service rejects any policy with a packed size greater than 100 percent,
    	// which means the policy exceeded the allowed space.
    	PackedPolicySize int `xml:",omitempty"`
    
    	// The issuing authority of the web identity token presented. For OpenID Connect
    	// ID tokens, this contains the value of the iss field. For OAuth 2.0 id_tokens,
    	// this contains the value of the ProviderId parameter that was passed in the
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 27 00:58:09 GMT 2022
    - 9.9K bytes
    - Viewed (0)
Back to top