Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 789 for isInitialized (0.21 sec)

  1. android/guava/src/com/google/common/base/Suppliers.java

          // A 2-field variant of Double Checked Locking.
          if (!initialized) {
            synchronized (this) {
              if (!initialized) {
                T t = delegate.get();
                value = t;
                initialized = true;
                return t;
              }
            }
          }
          // This is safe because we checked `initialized`.
          return uncheckedCastNullableTToT(value);
        }
    
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/Striped.java

     * Striped<Semaphore>}, and {@linkplain #readWriteLock(int) strong} and {@linkplain
     * #lazyWeakReadWriteLock(int) weak} {@code Striped<ReadWriteLock>}. <i>Strong</i> means that all
     * stripes (locks/semaphores) are initialized eagerly, and are not reclaimed unless {@code Striped}
     * itself is reclaimable. <i>Weak</i> means that locks/semaphores are created lazily, and they are
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 10 20:55:18 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  3. cmd/auth-handler_test.go

    	req := mustNewRequest(method, urlStr, contentLength, body, t)
    	cred := globalActiveCred
    	if err := signRequestV4(req, cred.AccessKey, cred.SecretKey); err != nil {
    		t.Fatalf("Unable to initialized new signed http request %s", err)
    	}
    	return req
    }
    
    // This is similar to mustNewRequest but additionally the request
    // is signed with AWS Signature V2, fails if not able to do so.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/Striped.java

     * Striped<Semaphore>}, and {@linkplain #readWriteLock(int) strong} and {@linkplain
     * #lazyWeakReadWriteLock(int) weak} {@code Striped<ReadWriteLock>}. <i>Strong</i> means that all
     * stripes (locks/semaphores) are initialized eagerly, and are not reclaimed unless {@code Striped}
     * itself is reclaimable. <i>Weak</i> means that locks/semaphores are created lazily, and they are
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 10 20:55:18 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  5. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/inet/InetAddressFactory.java

                throw new RuntimeException("Could not determine a usable wildcard IP for this machine.", e);
            }
        }
    
        private void init() throws Exception {
            if (initialized) {
                return;
            }
    
            initialized = true;
            if (inetAddresses == null) { // For testing
                inetAddresses = new InetAddresses();
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:05 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. pkg/volume/metrics_statfs_test.go

    	actual, err = metrics.GetMetrics()
    	if !volumetest.MetricsEqualIgnoreTimestamp(actual, expected) {
    		t.Errorf("Expected empty Metrics from incorrectly initialized MetricsStatFS, actual %v", *actual)
    	}
    	if err == nil {
    		t.Errorf("Expected error when calling GetMetrics on incorrectly initialized MetricsStatFS, actual nil")
    	}
    
    	tmpDir, err := utiltesting.MkTmpdir("metric_statfs_test")
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 02 23:01:59 UTC 2017
    - 2K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/execution/ResolveTaskExecutionModeExecuterTest.groovy

        final executer = new ResolveTaskExecutionModeExecuter(repository, delegate)
    
        def 'taskContext is initialized and cleaned as expected'() {
            when:
            executer.execute(task, taskState, taskContext)
    
            then: 'taskContext is initialized with task artifact state'
            1 * taskContext.taskProperties >> taskProperties
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 03 11:19:27 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  8. cmd/typed-errors.go

    // When upload object size is less than what was expected.
    var errDataTooSmall = errors.New("Object size smaller than expected")
    
    // errServerNotInitialized - server not initialized.
    var errServerNotInitialized = errors.New("Server not initialized, please try again")
    
    // errRPCAPIVersionUnsupported - unsupported rpc API version.
    var errRPCAPIVersionUnsupported = errors.New("Unsupported rpc API version")
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 28 17:14:16 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. src/internal/cpu/cpu_arm.go

    // license that can be found in the LICENSE file.
    
    package cpu
    
    const CacheLinePadSize = 32
    
    // arm doesn't have a 'cpuid' equivalent, so we rely on HWCAP/HWCAP2.
    // These are initialized by archauxv() and should not be changed after they are
    // initialized.
    var HWCap uint
    var HWCap2 uint
    var Platform string
    
    // HWCAP/HWCAP2 bits. These are exposed by Linux and FreeBSD.
    const (
    	hwcap_VFPv4 = 1 << 16
    	hwcap_IDIVA = 1 << 17
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:38:55 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  10. schema/schema.go

    		namer:            namer,
    		initialized:      make(chan struct{}),
    	}
    	// When the schema initialization is completed, the channel will be closed
    	defer close(schema.initialized)
    
    	// Load exist schema cache, return if exists
    	if v, ok := cacheStore.Load(schemaCacheKey); ok {
    		s := v.(*Schema)
    		// Wait for the initialization of other goroutines to complete
    		<-s.initialized
    		return s, s.err
    	}
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:52:33 UTC 2024
    - 13.7K bytes
    - Viewed (0)
Back to top