Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for ranked (0.26 sec)

  1. cmd/peer-rest-client.go

    	}))
    	return err
    }
    
    // DeletePolicy - delete a specific canned policy.
    func (client *peerRESTClient) DeletePolicy(policyName string) (err error) {
    	_, err = deletePolicyRPC.Call(context.Background(), client.gridConn(), grid.NewMSSWith(map[string]string{
    		peerRESTPolicy: policyName,
    	}))
    	return err
    }
    
    // LoadPolicy - reload a specific canned policy.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  2. cmd/admin-router.go

    		// List policies latest
    		adminRouter.Methods(http.MethodGet).Path(adminVersion+"/list-canned-policies").HandlerFunc(adminMiddleware(adminAPI.ListBucketPolicies)).Queries("bucket", "{bucket:.*}")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  3. cmd/typed-errors.go

    var errServerTimeMismatch = errors.New("Server times are too far apart")
    
    // errInvalidRange - returned when given range value is not valid.
    var errInvalidRange = errors.New("Invalid range")
    
    // errInvalidRangeSource - returned when given range value exceeds
    // the source object size.
    var errInvalidRangeSource = errors.New("Range specified exceeds source object size")
    
    // error returned by disks which are to be initialized are waiting for the
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  4. cmd/namespace-lock.go

    	lockSource := getSource(2)
    	start := UTCNow()
    	const readLock = false
    	success := make([]int, len(li.paths))
    	for i, path := range li.paths {
    		if !li.ns.lock(ctx, li.volume, path, lockSource, li.opsID, readLock, timeout.Timeout()) {
    			timeout.LogFailure()
    			for si, sint := range success {
    				if sint == 1 {
    					li.ns.unlock(li.volume, li.paths[si], readLock)
    				}
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jun 05 23:56:35 GMT 2023
    - 9.2K bytes
    - Viewed (0)
  5. src/archive/zip/struct.go

    	// Limits for non zip64 files.
    	uint16max = (1 << 16) - 1
    	uint32max = (1 << 32) - 1
    
    	// Extra header IDs.
    	//
    	// IDs 0..31 are reserved for official use by PKWARE.
    	// IDs above that range are defined by third-party vendors.
    	// Since ZIP lacked high precision timestamps (nor an official specification
    	// of the timezone used for the date fields), many competing extra fields
    	// have been invented. Pervasive use effectively makes them "official".
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 12.1K bytes
    - Viewed (0)
  6. chainable_api.go

    // By default, GORM uses soft deletion, marking records as "deleted"
    // by setting a timestamp on a specific field (e.g., `deleted_at`).
    // Unscoped allows queries to include records marked as deleted,
    // overriding the soft deletion behavior.
    // Example:
    //    var users []User
    //    db.Unscoped().Find(&users)
    //    // Retrieves all users, including deleted ones.
    func (db *DB) Unscoped() (tx *DB) {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Wed Apr 17 03:38:55 GMT 2024
    - 14.3K bytes
    - Viewed (1)
  7. cmd/object-api-utils.go

    	hosts := make([]string, len(records))
    	for i, r := range records {
    		hosts[i] = net.JoinHostPort(r.Host, string(r.Port))
    	}
    	return hosts
    }
    
    // returns an online host (and corresponding port) from a slice of DNS records
    func getHostFromSrv(records []dns.SrvRecord) (host string) {
    	hosts := getHostsSlice(records)
    	rng := rand.New(rand.NewSource(time.Now().UTC().UnixNano()))
    	var d net.Dialer
    	var retry int
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  8. internal/grid/connection.go

    		}
    	}
    }
    
    func (c *Connection) disconnected() {
    	c.outgoing.Range(func(key uint64, client *muxClient) bool {
    		if !client.stateless {
    			client.cancelFn(ErrDisconnected)
    		}
    		return true
    	})
    	if debugReqs {
    		fmt.Println(c.String(), "Disconnected. Clearing outgoing.")
    	}
    	c.outgoing.Clear()
    	c.inStream.Range(func(key uint64, client *muxServer) bool {
    		client.cancel()
    		return true
    	})
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  9. cmd/bucket-replication.go

    	compareMeta1 := make(map[string]string)
    	for k, v := range oi1.UserDefined {
    		var found bool
    		for _, prefix := range compareKeys {
    			if !stringsHasPrefixFold(k, prefix) {
    				continue
    			}
    			found = true
    			break
    		}
    		if found {
    			compareMeta1[strings.ToLower(k)] = v
    		}
    	}
    
    	compareMeta2 := make(map[string]string)
    	for k, v := range oi2.Metadata {
    		var found bool
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  10. cmd/site-replication.go

    	allPolicies := set.NewStringSet()
    	for _, sri := range sris {
    		for b := range sri.Buckets {
    			allBuckets.Add(b)
    		}
    		for u := range sri.UserInfoMap {
    			allUsers.Add(u)
    		}
    		for g := range sri.GroupDescMap {
    			allGroups.Add(g)
    		}
    		for p := range sri.Policies {
    			allPolicies.Add(p)
    		}
    		for u := range sri.UserPolicies {
    			allUserWPolicies.Add(u)
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
Back to top