Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 461 for Load (0.13 sec)

  1. android/guava/src/com/google/common/cache/CacheLoader.java

     *
     * <p>Most implementations will only need to implement {@link #load}. Other methods may be
     * overridden as desired.
     *
     * <p>Usage example:
     *
     * <pre>{@code
     * CacheLoader<Key, Graph> loader = new CacheLoader<Key, Graph>() {
     *   public Graph load(Key key) throws AnyException {
     *     return createExpensiveGraph(key);
     *   }
     * };
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 19 20:20:14 GMT 2022
    - 9.6K bytes
    - Viewed (0)
  2. cmd/storage-rest-client.go

    	if values == nil {
    		values = make(url.Values)
    	}
    	values.Set(storageRESTDiskID, *client.diskID.Load())
    	respBody, err := client.restClient.Call(ctx, method, values, body, length)
    	if err != nil {
    		return nil, toStorageErr(err)
    	}
    	return respBody, nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 26.1K bytes
    - Viewed (0)
  3. cmd/xl-storage-disk-id-check.go

    			info.Metrics = p.getMetrics()
    		}
    		info.Metrics.TotalWrites = p.totalWrites.Load()
    		info.Metrics.TotalDeletes = p.totalDeletes.Load()
    		info.Metrics.TotalWaiting = uint32(p.health.waiting.Load())
    		info.Metrics.TotalErrorsTimeout = p.totalErrsTimeout.Load()
    		info.Metrics.TotalErrorsAvailability = p.totalErrsAvailability.Load()
    		if p.health.isFaulty() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  4. tests/joins_test.go

    		if users2[idx].Manager == nil {
    			t.Fatalf("Failed to load Manager")
    		}
    		// manager
    		CheckUser(t, *user.Manager, *users2[idx].Manager)
    		// user pet
    		if users2[idx].NamedPet == nil {
    			t.Fatalf("Failed to load NamedPet")
    		}
    		CheckPet(t, *user.NamedPet, *users2[idx].NamedPet)
    		// manager pet
    		if users2[idx].Manager.NamedPet == nil {
    			t.Fatalf("Failed to load NamedPet")
    		}
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Wed Apr 26 14:19:32 GMT 2023
    - 13.5K bytes
    - Viewed (1)
  5. tensorflow/api_template_v1.__init__.py

        if _os.path.exists(_plugin_dir):
          _ll.load_library(_plugin_dir)
          # Load Pluggable Device Library
          _ll.load_pluggable_device_library(_plugin_dir)
    
    if _os.getenv("TF_PLUGGABLE_DEVICE_LIBRARY_PATH", ""):
      _ll.load_pluggable_device_library(
          _os.getenv("TF_PLUGGABLE_DEVICE_LIBRARY_PATH")
      )
    
    # Delete modules that should be hidden from dir().
    # Don't fail if these modules are not available.
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Jan 23 02:14:00 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  6. internal/cachevalue/cache.go

    	}
    
    	// Get lock. Either we get it or we wait for it.
    	t.updating.Lock()
    	if time.Since(time.UnixMilli(t.lastUpdateMs.Load())) < ttl {
    		// There is a new value, release lock and return it.
    		v = t.valErr.Load()
    		t.updating.Unlock()
    		return v.v, v.e
    	}
    	t.update()
    	v = t.valErr.Load()
    	t.updating.Unlock()
    	return v.v, v.e
    }
    
    func (t *Cache[T]) update() {
    	val, err := t.updateFn()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 16:00:42 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  7. ci/official/wheel_test/WORKSPACE

    load("@python_version_repo//:py_version.bzl", "TF_PYTHON_VERSION")
    
    # Register multi toolchains
    load("@rules_python//python:repositories.bzl", "python_register_toolchains")  # buildifier: disable=same-origin-load
    
    python_register_toolchains(
        name = "python",
        ignore_root_user_error = True,
        python_version = TF_PYTHON_VERSION,
    )
    
    load("@python//:defs.bzl", "interpreter")
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Apr 05 22:27:48 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  8. apache-maven/src/assembly/maven/bin/m2.conf

    set maven.conf default ${maven.home}/conf
    
    [plexus.core]
    load       ${maven.conf}/logging
    optionally ${maven.home}/lib/ext/redisson/*.jar
    optionally ${maven.home}/lib/ext/hazelcast/*.jar
    optionally ${user.home}/.m2/ext/*.jar
    optionally ${maven.home}/lib/ext/*.jar
    load       ${maven.home}/lib/maven-*.jar
    Plain Text
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Oct 18 18:06:57 GMT 2023
    - 396 bytes
    - Viewed (0)
  9. internal/logger/target/testlogger/testlogger.go

    func (t *testLogger) IsOnline(ctx context.Context) bool {
    	return t.current.Load() != nil
    }
    
    func (t *testLogger) Cancel() {
    	t.current.Store(nil)
    }
    
    func (t *testLogger) Send(ctx context.Context, entry interface{}) error {
    	tb := t.current.Load()
    	var logf func(format string, args ...any)
    	if tb != nil {
    		tbb := *tb
    		tbb.Helper()
    		switch t.action.Load() {
    		case errorMessage:
    			logf = tbb.Errorf
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 4K bytes
    - Viewed (0)
  10. cmd/iam-store.go

    				break
    			}
    		}
    		mappedPolicy, ok := cache.iamUserPolicyMap.Load(name)
    		if !ok {
    			mappedPolicy, ok = cache.iamSTSPolicyMap.Load(name)
    		}
    		if !ok {
    			// Attempt to load parent user mapping for STS accounts
    			store.loadMappedPolicy(context.TODO(), name, stsUser, false, cache.iamSTSPolicyMap)
    			mappedPolicy, ok = cache.iamSTSPolicyMap.Load(name)
    			if !ok {
    				return u, errNoSuchUser
    			}
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
Back to top