Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 57 for We (0.17 sec)

  1. cmd/xl-storage.go

    	buf, err := xattr.LGet(s.formatFile, attr)
    	if err != nil {
    		// We start off with '0' if we can read the attributes
    		return 0
    	}
    	return binary.LittleEndian.Uint64(buf[:8])
    }
    
    func (s *xlStorage) getWriteAttribute() uint64 {
    	attr := "user.total_writes"
    	buf, err := xattr.LGet(s.formatFile, attr)
    	if err != nil {
    		// We start off with '0' if we can read the attributes
    		return 0
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

        // don't execute 'immediately'.  By checking isDone here we avoid that.
        // A corollary to all that is that we don't need to check isDone inside the loop because if we
        // get into the loop we know that we weren't done when we entered and therefore we aren't under
        // an obligation to execute 'immediately'.
        if (!isDone()) {
          Listener oldHead = listeners;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

            /**
             * If we have a property with the same name, avoid dropping qualifiers makes it reference a property with the same name e.g.,
             *    package my.component
             *    class foo { .. }  // A
             *    ..
             *    fun test() {
             *      val foo = ..    // B
             *      my.component.foo::class.java  // If we drop `my.component`, it will reference `B` instead of `A`
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:51:33 GMT 2024
    - 69.5K bytes
    - Viewed (0)
  4. cmd/iam-store.go

    	}
    
    	cache := store.lock()
    	defer store.unlock()
    
    	// We should only update the in-memory cache if there were no changes
    	// to the in-memory cache since the disk loading began. If there
    	// were changes to the in-memory cache we should wait for the next
    	// cycle until we can safely update the in-memory cache.
    	//
    	// An in-memory cache must be replaced only if we know for sure that the
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  5. cmd/erasure-object.go

    		// Note: we should not be defer'ing the following closeBitrotReaders() call as
    		// we are inside a for loop i.e if we use defer, we would accumulate a lot of open files by the time
    		// we return from this function.
    		closeBitrotReaders(readers)
    		if err != nil {
    			// If we have successfully written all the content that was asked
    			// by the client, but we still see an error - this would mean
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 76.9K bytes
    - Viewed (2)
  6. android/guava/src/com/google/common/util/concurrent/Futures.java

      //    definitely observe all earlier writes, but we still have no guarantee that done() would see
      //    the initial write (just stronger guarantees if it does).
      //
      // See: http://cs.oswego.edu/pipermail/concurrency-interest/2015-January/013800.html
      // For a (long) discussion about this specific issue and the general futility of life.
      //
      // For the time being we are OK with the problem discussed above since it requires a caller to
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  7. cmd/bucket-handlers.go

    		// https://en.wikipedia.org/wiki/Copy_protection so the incoming stream
    		// is always going to be in-memory as we cannot re-read from what we
    		// wrote to disk - since that amounts to "copying" from a "copy"
    		// instead of "copying" from source, we need the stream to be seekable
    		// to ensure that we can make fan-out calls concurrently.
    		buf := bytebufferpool.Get()
    		defer func() {
    			buf.Reset()
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
  8. cmd/erasure-server-pool.go

    	go func() {
    		updateTicker := time.NewTicker(30 * time.Second)
    		defer updateTicker.Stop()
    		var lastUpdate time.Time
    
    		// We need to merge since we will get the same buckets from each pool.
    		// Therefore to get the exact bucket sizes we must merge before we can convert.
    		var allMerged dataUsageCache
    
    		update := func() {
    			mu.Lock()
    			defer mu.Unlock()
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 80.1K bytes
    - Viewed (0)
  9. cmd/xl-storage-format-v2.go

    			if header.VersionID != uv {
    				continue
    			}
    		}
    		if found {
    			continue
    		}
    
    		// We need a specific version, skip...
    		if versionID != "" && uv != header.VersionID {
    			isLatest = false
    			succModTime = header.ModTime
    			continue
    		}
    
    		// We found what we need.
    		found = true
    		var version xlMetaV2Version
    		if _, err := version.unmarshalV(x.metaV, ver.meta); err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
  10. android/guava/src/com/google/common/collect/Iterators.java

             * Don't store a new Iterator until we know the user can't remove() the last returned
             * element anymore. Otherwise, when we remove from the old iterator, we may be invalidating
             * the new one. The result is a ConcurrentModificationException or other bad behavior.
             *
             * (If we decide that we really, really hate allocating two Iterators per cycle instead of
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
Back to top