Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for unhandled (0.17 sec)

  1. cmd/bucket-policy.go

    func (sys *PolicySys) IsAllowed(args policy.BucketPolicyArgs) bool {
    	p, err := sys.Get(args.BucketName)
    	if err == nil {
    		return p.IsAllowed(args)
    	}
    
    	// Log unhandled errors.
    	if _, ok := err.(BucketPolicyNotFound); !ok {
    		internalLogIf(GlobalContext, err, logger.WarningKind)
    	}
    
    	// As policy is not available for given bucket name, returns IsOwner i.e.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 8K bytes
    - Viewed (0)
  2. internal/lock/lock_windows.go

    			r++
    		case path[r] == '.' && (r+1 == n || os.IsPathSeparator(path[r+1])):
    			// /./
    			r++
    		case r+1 < n && path[r] == '.' && path[r+1] == '.' && (r+2 == n || os.IsPathSeparator(path[r+2])):
    			// /../ is currently unhandled
    			return path
    		default:
    			pathbuf[w] = '\\'
    			w++
    			for ; r < n && !os.IsPathSeparator(path[r]); r++ {
    				pathbuf[w] = path[r]
    				w++
    			}
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Oct 18 18:08:15 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  3. istioctl/pkg/writer/envoy/configdump/listener.go

    					cidr := r.AddressPrefix
    					pl := r.PrefixLen.GetValue()
    					if pl != 32 && pl != 128 {
    						cidr += fmt.Sprintf("/%d", pl)
    					}
    					m[cidr] = rm.OnMatch
    				}
    			}
    		default:
    			panic("unhandled")
    		}
    	}
    	outputs := []string{}
    	for k, v := range m {
    		switch v := v.GetOnMatch().(type) {
    		case *matcher.Matcher_OnMatch_Action:
    			if v.Action.GetName() == name {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Nov 29 12:37:14 GMT 2023
    - 18.1K bytes
    - Viewed (0)
  4. cmd/prepare-storage.go

    	formatConfigs, sErrs := loadFormatErasureAll(storageDisks, false)
    
    	// Check if we have
    	for i, sErr := range sErrs {
    		// print the error, nonetheless, which is perhaps unhandled
    		if !errors.Is(sErr, errUnformattedDisk) && !errors.Is(sErr, errDiskNotFound) && verboseLogging {
    			if sErr != nil {
    				logger.Error("Unable to read 'format.json' from %s: %v\n", endpoints[i], sErr)
    			}
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  5. internal/s3select/sql/evaluate.go

    		}
    		return FromBytes(bs), nil
    	case []Value:
    		return FromArray(rval), nil
    	case nil:
    		return FromNull(), nil
    	case Missing:
    		return FromMissing(), nil
    	}
    	return nil, fmt.Errorf("Unhandled value type: %T", result)
    }
    
    func (e *PrimaryTerm) evalNode(r Record, tableAlias string) (res *Value, err error) {
    	switch {
    	case e.Value != nil:
    		return e.Value.evalNode(r)
    	case e.JPathExpr != nil:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 12K bytes
    - Viewed (0)
  6. cmd/erasure-server-pool.go

    		if err == nil {
    			return pi, nil
    		}
    		if _, ok := err.(InvalidUploadID); ok {
    			// Look for information on the next pool
    			continue
    		}
    		// Any other unhandled errors such as quorum return.
    		return PartInfo{}, err
    	}
    
    	return PartInfo{}, InvalidUploadID{
    		Bucket:   bucket,
    		Object:   object,
    		UploadID: uploadID,
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  7. cmd/api-errors.go

    			}
    		}
    	}
    
    	if apiErr.Code == "InternalError" {
    		// Make sure to log the errors which we cannot translate
    		// to a meaningful S3 API errors. This is added to aid in
    		// debugging unexpected/unhandled errors.
    		internalLogIf(ctx, err)
    	}
    
    	return apiErr
    }
    
    // getAPIError provides API Error for input API error code.
    func getAPIError(code APIErrorCode) APIError {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  8. cmd/os-reliable.go

    		switch {
    		case isSysErrNotDir(err):
    			// File path cannot be verified since one of
    			// the parents is a file.
    			return errFileAccessDenied
    		case isSysErrPathNotFound(err):
    			// This is a special case should be handled only for
    			// windows, because windows API does not return "not a
    			// directory" error message. Handle this specifically
    			// here.
    			return errFileAccessDenied
    		}
    	}
    	return err
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  9. cmd/server-main.go

    			logger.Info("Waiting for all MinIO sub-systems to be initialized.. possible cause (%v)", err)
    			time.Sleep(time.Duration(r.Float64() * float64(5*time.Second)))
    			continue
    		}
    
    		// Any other unhandled return right here.
    		return fmt.Errorf("Unable to initialize sub-systems: %w", err)
    	}
    }
    
    func initConfigSubsystem(ctx context.Context, newObject ObjectLayer) error {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 34.9K bytes
    - Viewed (1)
  10. src/cmd/asm/internal/asm/asm.go

    			x2 := int64(p.getRegister(prog, op, &a[2]))
    			x3 := int64(p.getRegister(prog, op, &a[3]))
    			x4 := int64(p.getRegister(prog, op, &a[4]))
    			x5 := p.getConstant(prog, op, &a[5])
    			// Cond is handled specially for this instruction.
    			offset, MRC, ok := arch.ARMMRCOffset(op, cond, x0, x1, x2, x3, x4, x5)
    			if !ok {
    				p.errorf("unrecognized condition code .%q", cond)
    			}
    			prog.To.Offset = offset
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 25.3K bytes
    - Viewed (0)
Back to top