Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 239 for returningT2 (0.19 sec)

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

        assertThat(stats.loadExceptionCount()).isEqualTo(0);
        assertThat(stats.hitCount()).isEqualTo(2);
    
        key = new Object();
        assertThat(cache.get(key, Callables.returning(value))).isSameInstanceAs(value);
        stats = cache.stats();
        assertThat(stats.missCount()).isEqualTo(3);
        assertThat(stats.loadSuccessCount()).isEqualTo(4);
        assertThat(stats.loadExceptionCount()).isEqualTo(0);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 91.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

          return new SortedAsMap(sortedMap().tailMap(fromKey));
        }
    
        @Nullable SortedSet<K> sortedKeySet;
    
        // returns a SortedSet, even though returning a Set would be sufficient to
        // satisfy the SortedMap.keySet() interface
        @Override
        public SortedSet<K> keySet() {
          SortedSet<K> result = sortedKeySet;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 48.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/MoreExecutors.java

          return delegate.shutdownNow();
        }
    
        /*
         * TODO: https://github.com/google/guava/issues/2143 - In addition to overriding `execute`, also
         * override the `Future`-returning methods of `ExecutorService` to propagate cancellation from
         * our `TrustedListenableFutureTask` to a `Future` returned by the delegate executor?
         */
    
        @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 08 18:55:33 UTC 2025
    - 45.2K bytes
    - Viewed (0)
  4. cmd/utils.go

    }
    
    // unescapeGeneric is similar to url.PathUnescape or url.QueryUnescape
    // depending on input, additionally also handles situations such as
    // `//` are normalized as `/`, also removes any `/` prefix before
    // returning.
    func unescapeGeneric(p string, escapeFn func(string) (string, error)) (string, error) {
    	ep, err := escapeFn(p)
    	if err != nil {
    		return "", err
    	}
    	return trimLeadingSlash(ep), nil
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 33K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        assertThat(stats.loadExceptionCount()).isEqualTo(0);
        assertThat(stats.hitCount()).isEqualTo(2);
    
        key = new Object();
        assertThat(cache.get(key, Callables.returning(value))).isSameInstanceAs(value);
        stats = cache.stats();
        assertThat(stats.missCount()).isEqualTo(3);
        assertThat(stats.loadSuccessCount()).isEqualTo(4);
        assertThat(stats.loadExceptionCount()).isEqualTo(0);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 91.1K bytes
    - Viewed (0)
  6. cmd/erasure-sets.go

    		g.Go(func() error {
    			return s.sets[index].Shutdown(ctx)
    		}, index)
    	}
    
    	for _, err := range g.Wait() {
    		if err != nil {
    			return err
    		}
    	}
    	return nil
    }
    
    // hashes the key returning an integer based on the input algorithm.
    // This function currently supports
    // - CRCMOD
    // - SIPMOD
    // - all new algos.
    func sipHashMod(key string, cardinality int, id [16]byte) int {
    	if cardinality <= 0 {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 37K bytes
    - Viewed (1)
  7. cmd/metacache-set.go

    	disks         []StorageAPI
    	fallbackDisks []StorageAPI
    	bucket, path  string
    	recursive     bool
    
    	// Only return results with this prefix.
    	filterPrefix string
    
    	// Forward to this prefix before returning results.
    	forwardTo string
    
    	// Minimum number of good disks to continue.
    	// An error will be returned if this many disks returned an error.
    	minDisks       int
    	reportNotFound bool
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 30.7K bytes
    - Viewed (0)
  8. cmd/erasure-server-pool.go

    		if !isErrBucketNotFound(err) {
    			storageLogOnceIf(ctx, err, "erasure-list-objects-path-"+bucket)
    		}
    		return loi, toObjectErr(err, bucket)
    	}
    	defer merged.truncate(0) // Release when returning
    
    	if contextCanceled(ctx) {
    		return ListObjectVersionsInfo{}, ctx.Err()
    	}
    
    	if versionMarker == "" {
    		o := listPathOptions{Marker: marker}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 89.2K bytes
    - Viewed (0)
  9. cmd/server-main.go

    						globalInternodeInterface = interf.Name
    					}
    				}
    			}
    		}
    	})
    }
    
    // Return the list of address that MinIO server needs to listen on:
    //   - Returning 127.0.0.1 is necessary so Console will be able to send
    //     requests to the local S3 API.
    //   - The returned List needs to be deduplicated as well.
    func getServerListenAddrs() []string {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue May 27 15:18:36 UTC 2025
    - 35.9K bytes
    - Viewed (4)
  10. android/guava/src/com/google/common/cache/CacheBuilder.java

       *
       * <p>When the weight of an entry is zero it will not be considered for size-based eviction
       * (though it still may be evicted by other means).
       *
       * <p><b>Important note:</b> Instead of returning this as a {@code CacheBuilder}
       * instance, this method returns {@code CacheBuilder<K1, V1>}. From this point on, either the
       * original reference or the returned reference may be used to complete configuration and build
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 08 18:55:33 UTC 2025
    - 51.9K bytes
    - Viewed (0)
Back to top