Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 311 - 320 of 353 for got (0.04 seconds)

  1. cmd/erasure-healing-common_test.go

    		// Obtain a common mod time from modTimes slice.
    		ctime := commonTime(testCase.times, testCase.quorum)
    		if !testCase.time.Equal(ctime) {
    			t.Errorf("Test case %d, expect to pass but failed. Wanted modTime: %s, got modTime: %s\n", i+1, testCase.time, ctime)
    		}
    	}
    }
    
    // TestListOnlineDisks - checks if listOnlineDisks and outDatedDisks
    // are consistent with each other.
    func TestListOnlineDisks(t *testing.T) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 22.4K bytes
    - Click Count (0)
  2. cmd/speedtest.go

    			result.Concurrent = concurrency
    
    			select {
    			case ch <- result:
    			case <-ctx.Done():
    				return
    			}
    		}
    
    		for {
    			select {
    			case <-ctx.Done():
    				// If the client got disconnected stop the speedtest.
    				return
    			default:
    			}
    
    			sopts := speedTestOpts{
    				objectSize:      opts.objectSize,
    				concurrency:     concurrency,
    				duration:        opts.duration,
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue May 27 15:19:03 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  3. cmd/bitrot.go

    			hash.Write(msg)
    			sum = hash.Sum(sum[:0])
    			msg = append(msg, sum...)
    			hash.Reset()
    		}
    		if !bytes.Equal(sum, checksum) {
    			logger.Fatal(errSelfTestFailure, fmt.Sprintf("bitrot: %v selftest checksum mismatch: got %x - want %x", algorithm, sum, checksum))
    		}
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  4. docs/site-replication/run-multi-site-oidc.sh

    	exit_1
    fi
    actual_checksum=$(./mc cat minio3/newbucket/lrgfile | md5sum)
    if [ "${expected_checksum}" != "${actual_checksum}" ]; then
    	echo "replication failed on multipart objects expected ${expected_checksum} got ${actual_checksum}"
    	exit
    fi
    rm ./lrgfile
    
    ./mc rm -r --versions --force minio1/newbucket/lrgfile
    if [ $? -ne 0 ]; then
    	echo "expected object to be present, exiting.."
    	exit_1
    fi
    
    sleep 5
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Sep 24 08:03:58 GMT 2024
    - 8.5K bytes
    - Click Count (0)
  5. lib/fips140/v1.1.0-rc1.zip

    if got := ConstantTimeLessOrEq(empty, b); got != 1 { t.Errorf("ConstantTimeLessOrEq(%x, %x) = %d, want 1", empty, b, got) } if got := ConstantTimeLessOrEq(a, a); got != 1 { t.Errorf("ConstantTimeLessOrEq(%x, %x) = %d, want 1", a, a, got) } if got := ConstantTimeLessOrEq(b, b); got != 1 { t.Errorf("ConstantTimeLessOrEq(%x, %x) = %d, want 1", b, b, got) } if got := ConstantTimeLessOrEq(empty, empty); got != 1 { t.Errorf("ConstantTimeLessOrEq(%x, %x) = %d, want 1", empty, empty, got) } if l == 0 { continue...
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Dec 11 16:27:41 GMT 2025
    - 663K bytes
    - Click Count (0)
  6. cmd/object-api-putobject_test.go

    			t.Fatal(err)
    		}
    		var found bool
    		for _, fi := range files {
    			if fi.Name() == ".trash" {
    				continue
    			}
    			found = true
    		}
    		if found {
    			t.Fatalf("%s: expected: empty, got: non-empty %#v", minioMetaTmpBucket, files)
    		}
    	}
    }
    
    // Wrapper for calling Multipart PutObject tests for both Erasure multiple disks and single node setup.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 25.8K bytes
    - Click Count (0)
  7. docs/en/docs/advanced/events.md

    /// tip
    
    The `shutdown` would happen when you are **stopping** the application.
    
    Maybe you need to start a new version, or you just got tired of running it. 🤷
    
    ///
    
    ### Lifespan function { #lifespan-function }
    
    The first thing to notice, is that we are defining an async function with `yield`. This is very similar to Dependencies with `yield`.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  8. internal/grid/msg_gen.go

    	var zb0001 uint32
    	zb0001, err = dc.ReadArrayHeader()
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	if zb0001 != 7 {
    		err = msgp.ArrayError{Wanted: 7, Got: zb0001}
    		return
    	}
    	z.MuxID, err = dc.ReadUint64()
    	if err != nil {
    		err = msgp.WrapError(err, "MuxID")
    		return
    	}
    	z.Seq, err = dc.ReadUint32()
    	if err != nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 22.4K bytes
    - Click Count (0)
  9. gorm.go

    		if pinger, ok := db.ConnPool.(interface{ Ping() error }); ok {
    			err = pinger.Ping()
    		}
    	}
    
    	if err != nil {
    		config.Logger.Error(context.Background(), "failed to initialize database, got error %v", err)
    	}
    
    	return
    }
    
    // Session create new db session
    func (db *DB) Session(config *Session) *DB {
    	var (
    		txConfig = *db.Config
    		tx       = &DB{
    			Config:    &txConfig,
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Tue Aug 26 06:24:29 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  10. docs/site-replication/run-multi-site-ldap.sh

    	exit_1
    fi
    actual_checksum=$(./mc cat minio3/newbucket/lrgfile | md5sum)
    if [ "${expected_checksum}" != "${actual_checksum}" ]; then
    	echo "replication failed on multipart objects expected ${expected_checksum} got ${actual_checksum}"
    	exit
    fi
    rm ./lrgfile
    
    ./mc rm -r --versions --force minio1/newbucket/lrgfile
    if [ $? -ne 0 ]; then
    	echo "expected object to be present, exiting.."
    	exit_1
    fi
    
    sleep 5
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Sep 24 08:03:58 GMT 2024
    - 10.1K bytes
    - Click Count (0)
Back to Top