Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 59 for Loads (0.04 sec)

  1. guava-tests/test/com/google/common/cache/LocalCacheTest.java

                key1,
                new CacheLoader<String, String>() {
                  @Override
                  public String load(String key) throws Exception {
                    return cache.get(key2, identityLoader()); // loads a different key, should work
                  }
                }));
      }
    
      public void testRecursiveLoad() throws InterruptedException {
        LocalCache<String, String> cache = makeLocalCache(createCacheBuilder());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
  2. docs/en/docs/index.md

    Used by FastAPI / Starlette:
    
    * <a href="https://www.uvicorn.org" target="_blank"><code>uvicorn</code></a> - for the server that loads and serves your application. This includes `uvicorn[standard]`, which includes some dependencies (e.g. `uvloop`) needed for high performance serving.
    * `fastapi-cli` - to provide the `fastapi` command.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  3. cmd/peer-rest-client.go

    		peerRESTBucket: bucket,
    	}))
    	if err != nil || resp == nil {
    		return BucketStats{}, err
    	}
    	return *resp, nil
    }
    
    // GetSRMetrics loads site replication metrics, optionally for a specific bucket
    func (client *peerRESTClient) GetSRMetrics(ctx context.Context) (SRMetricsSummary, error) {
    	resp, err := getSRMetricsRPC.Call(ctx, client.gridConn(), grid.NewMSS())
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  4. cmd/iam-object-store.go

    		for k, v := range listedConfigItems {
    			s.WriteString(fmt.Sprintf("    %s: %d items\n", k, len(v)))
    		}
    		logger.Info("listAllIAMConfigItems took %.2fs with contents:\n%s", took.Seconds(), s.String())
    	}
    
    	// Loads things in the same order as `LoadIAMCache()`
    
    	bootstrapTraceMsgFirstTime("loading policy documents")
    
    	policyLoadStartTime := UTCNow()
    	policiesList := listedConfigItems[policiesListKey]
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  5. cmd/erasure-sets.go

    func (s *erasureSets) Legacy() (ok bool) {
    	return s.distributionAlgo == formatErasureVersionV2DistributionAlgoV1
    }
    
    // connectDisks - attempt to connect all the endpoints, loads format
    // and re-arranges the disks in proper position.
    func (s *erasureSets) connectDisks(log bool) {
    	defer func() {
    		s.lastConnectDisksOpTime = time.Now()
    	}()
    
    	var wg sync.WaitGroup
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 27 10:41:37 UTC 2024
    - 37K bytes
    - Viewed (1)
  6. cmd/iam-store.go

    			cache.iamUserPolicyMap.Store(name, mp)
    		}
    	} else {
    		cache.iamGroupPolicyMap.Store(name, mp)
    	}
    	cache.updatedAt = time.Now()
    	return mp.UpdatedAt, nil
    }
    
    // PolicyNotificationHandler - loads given policy from storage. If not present,
    // deletes from cache. This notification only reads from storage, and updates
    // cache. When the notification is for a policy deletion, it updates the
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
  7. internal/config/config.go

    // letter. At least 2 characters long.
    var validSiteNameRegex = regexp.MustCompile("^[a-z][a-z0-9-]+$")
    
    // LookupSite - get site related configuration. Loads configuration from legacy
    // region sub-system as well.
    func LookupSite(siteKV KVS, regionKV KVS) (s Site, err error) {
    	if err = CheckValidKeys(SiteSubSys, siteKV, DefaultSiteKVS); err != nil {
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  8. cmd/notification.go

    		ng.Go(ctx, func() error {
    			if client == nil {
    				return errPeerNotReachable
    			}
    			return client.LoadUser(ctx, accessKey, temp)
    		}, idx, *client.host)
    	}
    	return ng.Wait()
    }
    
    // LoadGroup - loads a specific group on all peers.
    func (sys *NotificationSys) LoadGroup(ctx context.Context, group string) []NotificationPeerErr {
    	ng := WithNPeers(len(sys.peerClients)).WithRetries(1)
    	for idx, client := range sys.peerClients {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 46.2K bytes
    - Viewed (0)
  9. go.sum

    github.com/go-openapi/jsonreference v0.21.0/go.mod h1:LmZmgsrTkVg9LG4EaHeY8cBDslNPMo06cago5JNLkm4=
    github.com/go-openapi/loads v0.22.0 h1:ECPGd4jX1U6NApCGG1We+uEozOAvXvJSF4nnwHZ8Aco=
    github.com/go-openapi/loads v0.22.0/go.mod h1:yLsaTCS92mnSAZX5WWoxszLj0u+Ojl+Zs5Stn1oF+rs=
    github.com/go-openapi/runtime v0.28.0 h1:gpPPmWSNGo214l6n8hzdXYhPuJcGtziTOgUpvsFWGIQ=
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 78K bytes
    - Viewed (0)
  10. cmd/bucket-replication.go

    		if duration < time.Second {
    			// Make sure to sleep at least a second to avoid high CPU ticks.
    			duration = time.Second
    		}
    		time.Sleep(duration)
    	}
    }
    
    // Loads bucket replication resync statuses into memory.
    func (p *ReplicationPool) loadResync(ctx context.Context, buckets []string, objAPI ObjectLayer) error {
    	// Make sure only one node running resync on the cluster.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
Back to top