Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 1,902 for error_0 (0.12 sec)

  1. 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)
  2. internal/cachevalue/cache_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cachevalue
    
    import (
    	"context"
    	"errors"
    	"testing"
    	"time"
    )
    
    func slowCaller(ctx context.Context) error {
    	sl := time.NewTimer(time.Second)
    	defer sl.Stop()
    
    	select {
    	case <-sl.C:
    	case <-ctx.Done():
    		return ctx.Err()
    	}
    
    	return nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 09 00:51:34 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. internal/s3select/csv/reader_contrib_test.go

    				t.Errorf("Case %d failed: expected %v, got result %v", i, c.wantTenFields, result.String())
    			}
    			if fields != c.totalFields {
    				t.Errorf("Case %d failed: expected %v results %v", i, c.totalFields, fields)
    			}
    		})
    	}
    }
    
    type errReader struct {
    	err error
    }
    
    func (e errReader) Read(p []byte) (n int, err error) {
    	return 0, e.err
    }
    
    func TestReadFailures(t *testing.T) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 38.5K 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/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)
  6. src/bufio/bufio.go

    package bufio
    
    import (
    	"bytes"
    	"errors"
    	"io"
    	"strings"
    	"unicode/utf8"
    )
    
    const (
    	defaultBufSize = 4096
    )
    
    var (
    	ErrInvalidUnreadByte = errors.New("bufio: invalid use of UnreadByte")
    	ErrInvalidUnreadRune = errors.New("bufio: invalid use of UnreadRune")
    	ErrBufferFull        = errors.New("bufio: buffer full")
    	ErrNegativeCount     = errors.New("bufio: negative count")
    )
    
    // Buffered input.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 12 14:39:08 UTC 2023
    - 21.8K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. internal/crypto/sse-c.go

    	// Extract all required values from object metadata
    	b64IV, ok := metadata[MetaIV]
    	if !ok {
    		return sealedKey, errMissingInternalIV
    	}
    	algorithm, ok := metadata[MetaAlgorithm]
    	if !ok {
    		return sealedKey, errMissingInternalSealAlgorithm
    	}
    	b64SealedKey, ok := metadata[MetaSealedKeySSEC]
    	if !ok {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top