Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 331 - 340 of 350 for sub (0.03 seconds)

  1. cmd/data-scanner.go

    // When the returned function is called it will wait.
    func (d *dynamicSleeper) Timer(ctx context.Context) func() {
    	t := time.Now()
    	return func() {
    		doneAt := time.Now()
    		d.Sleep(ctx, doneAt.Sub(t))
    	}
    }
    
    // Sleep sleeps the specified time multiplied by the sleep factor.
    // If the factor is updated the sleep will be done again with the new factor.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 45.5K bytes
    - Click Count (0)
  2. cmd/storage-rest-server.go

    	nanoTime, err := strconv.ParseInt(r.Header.Get("X-Minio-Time"), 10, 64)
    	if err != nil {
    		return errMalformedAuth
    	}
    
    	localTime := UTCNow()
    	remoteTime := time.Unix(0, nanoTime)
    
    	delta := remoteTime.Sub(localTime)
    	if delta < 0 {
    		delta *= -1
    	}
    
    	if delta > DefaultSkewTime {
    		return errSkewedAuthTime
    	}
    
    	return nil
    }
    
    // IsAuthValid - To authenticate and verify the time difference.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue May 27 15:19:03 GMT 2025
    - 45.7K bytes
    - Click Count (0)
  3. cmd/sts-handlers_test.go

    		AccessKey: "newroot",
    		SecretKey: "newroot123",
    	})
    	if err == nil {
    		c.Fatalf("restricted STS account was able to create service account bypassing sub-policy!")
    	}
    }
    
    func (s *TestSuiteIAM) TestSTSWithTags(c *check) {
    	ctx, cancel := context.WithTimeout(context.Background(), testDefaultTimeout)
    	defer cancel()
    
    	bucket := getRandomBucketName()
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Oct 15 17:00:45 GMT 2025
    - 103.4K bytes
    - Click Count (1)
  4. tests/migrate_test.go

    func TestMigrateIndexesWithDynamicTableName(t *testing.T) {
    	// Create primary table
    	if err := DB.AutoMigrate(&DynamicUser{}); err != nil {
    		t.Fatalf("AutoMigrate create table error: %#v", err)
    	}
    
    	// Create sub tables
    	for _, v := range []string{"01", "02", "03"} {
    		tableName := "dynamic_users_" + v
    		m := DB.Scopes(func(db *gorm.DB) *gorm.DB {
    			return db.Table(tableName)
    		}).Migrator()
    
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Wed Aug 20 04:51:17 GMT 2025
    - 65.2K bytes
    - Click Count (0)
  5. cmd/api-errors.go

    		Description:    "Server not initialized yet, please try again.",
    		HTTPStatusCode: http.StatusServiceUnavailable,
    	},
    	ErrIAMNotInitialized: {
    		Code:           "XMinioIAMNotInitialized",
    		Description:    "IAM sub-system not initialized yet, please try again.",
    		HTTPStatusCode: http.StatusServiceUnavailable,
    	},
    	ErrBucketMetadataNotInitialized: {
    		Code:           "XMinioBucketMetadataNotInitialized",
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 16 07:34:24 GMT 2025
    - 93K bytes
    - Click Count (3)
  6. fastapi/applications.py

                Optional[Sequence[Depends]],
                Doc(
                    """
                    A list of global dependencies, they will be applied to each
                    *path operation*, including in sub-routers.
    
                    Read more about it in the
                    [FastAPI docs for Global Dependencies](https://fastapi.tiangolo.com/tutorial/dependencies/global-dependencies/).
    
                    **Example**
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 176.3K bytes
    - Click Count (0)
  7. cmd/admin-handlers-users_test.go

    		AccessKey: "newroot",
    		SecretKey: "newroot123",
    	})
    	if err == nil {
    		c.Fatalf("restricted service account was able to create service account bypassing sub-policy!")
    	}
    }
    
    func (s *TestSuiteIAM) SetUpAccMgmtPlugin(c *check) {
    	ctx, cancel := context.WithTimeout(context.Background(), testDefaultTimeout)
    	defer cancel()
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Oct 15 17:00:45 GMT 2025
    - 50.6K bytes
    - Click Count (0)
  8. internal/grid/connection.go

    	// Buffer will be reset empty when returning successfully.
    	writeBuffer := func() (ok bool) {
    		now := time.Now()
    		// Only set write deadline once every second
    		if now.Sub(lastSetDeadline) > time.Second {
    			err := conn.SetWriteDeadline(now.Add(connWriteTimeout + time.Second))
    			if err != nil {
    				gridLogIf(ctx, fmt.Errorf("conn.SetWriteDeadline: %w", err))
    				return false
    			}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 46.9K bytes
    - Click Count (0)
  9. api/go1.5.txt

    pkg math/big, method (*Float) SetUint64(uint64) *Float
    pkg math/big, method (*Float) Sign() int
    pkg math/big, method (*Float) Signbit() bool
    pkg math/big, method (*Float) String() string
    pkg math/big, method (*Float) Sub(*Float, *Float) *Float
    pkg math/big, method (*Float) Text(uint8, int) string
    pkg math/big, method (*Float) Uint64() (uint64, Accuracy)
    pkg math/big, method (*Int) ModSqrt(*Int, *Int) *Int
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Jul 30 21:14:09 GMT 2015
    - 46.6K bytes
    - Click Count (0)
  10. cmd/object-handlers_test.go

    	reqV4Str := "V4 Signed HTTP request"
    
    	type inputReqRec struct {
    		req     *http.Request
    		rec     *httptest.ResponseRecorder
    		reqType string
    	}
    
    	for i, test := range testCases {
    		// Using sub-tests introduced in Go 1.7.
    		t.Run(fmt.Sprintf("MinIO-%s-Test-%d.", instanceType, i), func(t *testing.T) {
    			// collection of input HTTP request, ResponseRecorder and request type.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 163.1K bytes
    - Click Count (0)
Back to Top