Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 1,989 for error_0 (0.11 sec)

  1. cmd/config.go

    func readServerConfig(ctx context.Context, objAPI ObjectLayer, data []byte) (config.Config, error) {
    	srvCfg := config.New()
    	var err error
    	if len(data) == 0 {
    		configFile := path.Join(minioConfigPrefix, minioConfigFile)
    		data, err = readConfig(ctx, objAPI, configFile)
    		if err != nil {
    			if errors.Is(err, errConfigNotFound) {
    				lookupConfigs(srvCfg, objAPI)
    				return srvCfg, nil
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 23 10:07:06 UTC 2023
    - 6K bytes
    - Viewed (0)
  2. cmd/namespace-lock.go

    	lockSource := getSource(2)
    	start := UTCNow()
    
    	newCtx, cancel := context.WithCancel(ctx)
    	if !di.rwMutex.GetRLock(ctx, cancel, di.opsID, lockSource, dsync.Options{
    		Timeout:       timeout.Timeout(),
    		RetryInterval: timeout.RetryInterval(),
    	}) {
    		timeout.LogFailure()
    		defer cancel()
    		if errors.Is(newCtx.Err(), context.Canceled) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  3. cmd/batch-expire.go

    	}
    
    	xhttp.DrainBody(resp.Body)
    	if resp.StatusCode != http.StatusOK {
    		return errors.New(resp.Status)
    	}
    
    	return nil
    }
    
    // Expire expires object versions which have already matched supplied filter conditions
    func (r *BatchJobExpire) Expire(ctx context.Context, api ObjectLayer, vc *versioning.Versioning, objsToDel []ObjectToDelete) []error {
    	opts := ObjectOptions{
    		PrefixEnabledFn:  vc.PrefixEnabled,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  4. cmd/erasure_test.go

    		}
    
    		if err == nil && test.shouldFail {
    			t.Errorf("Test %d: test should fail but it passed", i)
    		}
    		if err != nil && !test.shouldFail {
    			t.Errorf("Test %d: test should pass but it failed: %v", i, err)
    		}
    
    		decoded := encoded
    		if !test.shouldFail {
    			if test.reconstructParity {
    				for j := range decoded {
    					if decoded[j] == nil {
    						t.Errorf("Test %d: failed to reconstruct shard %d", i, j)
    					}
    				}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 25 19:37:26 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  5. internal/grid/msg.go

    	}
    	if m.Flags&FlagCRCxxh3 != 0 {
    		const hashLen = 4
    		if len(h) < hashLen {
    			return nil, nil, fmt.Errorf("want crc len 4, got %v", len(h))
    		}
    		got := uint32(xxh3.Hash(b[:len(b)-hashLen]))
    		want := binary.LittleEndian.Uint32(h[len(h)-hashLen:])
    		if got != want {
    			return nil, nil, fmt.Errorf("crc mismatch: 0x%08x (given) != 0x%08x (bytes)", want, got)
    		}
    		h = h[:len(h)-hashLen]
    	}
    	// Extract subroute if any.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jul 25 21:07:21 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/Result.java

            return success(model, problemsList);
        }
    
        /**
         * Error with problems describing the cause
         *
         * @param problems
         */
        public static <T> Result<T> error(Iterable<? extends ModelProblem> problems) {
            return error(null, problems);
        }
    
        public static <T> Result<T> error(T model) {
            return error(model, Collections.emptyList());
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. src/main/resources/fess_message.properties

    #                                               ------------
    errors.front_header=
    errors.front_footer=
    errors.front_prefix=<div class="alert alert-warning">
    errors.front_suffix=</div>
    errors.header=<ul class="has-error">
    errors.footer=</ul>
    errors.prefix=<li><i class="fa fa-exclamation-circle"></i>
    errors.suffix=</li>
    
    # ----------------------------------------------------------
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Mar 18 03:05:44 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  8. src/main/resources/fess_message_en.properties

    errors.property_type_float={0} should be numeric.
    errors.property_type_double={0} should be numeric.
    errors.property_type_date={0} should be date.
    
    errors.storage_file_upload_failure=Failed to upload {0}.
    errors.storage_file_not_found=The target file is not found in Storage.
    errors.storage_file_download_failure=Failed to download {0}.
    errors.storage_access_error=Storage access error: {0}
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Mar 18 03:05:44 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  9. internal/config/certs.go

    	if err != nil {
    		return tls.Certificate{}, ErrTLSUnexpectedData(nil).Msg(err.Error())
    	}
    	return cert, nil
    }
    
    // EnsureCertAndKey checks if both client certificate and key paths are provided
    func EnsureCertAndKey(clientCert, clientKey string) error {
    	if (clientCert != "" && clientKey == "") ||
    		(clientCert == "" && clientKey != "") {
    		return errors.New("cert and key must be specified as a pair")
    	}
    	return nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  10. gorm.go

    	return db.callbacks
    }
    
    // AddError add error to db
    func (db *DB) AddError(err error) error {
    	if err != nil {
    		if db.Config.TranslateError {
    			if errTranslator, ok := db.Dialector.(ErrorTranslator); ok {
    				err = errTranslator.Translate(err)
    			}
    		}
    
    		if db.Error == nil {
    			db.Error = err
    		} else {
    			db.Error = fmt.Errorf("%v; %w", db.Error, err)
    		}
    	}
    	return db.Error
    }
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Oct 09 11:29:48 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top