Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1141 - 1150 of 1,593 for timeIt (0.03 sec)

  1. guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java

        // value seen so far
        while (cache.getUnchecked(nextRandomKey()) < maximumSize) {}
    
        requests.set(0);
        misses.set(0);
      }
    
      @Benchmark
      int time(int reps) {
        int dummy = 0;
        for (int i = 0; i < reps; i++) {
          dummy += cache.getUnchecked(nextRandomKey());
        }
        requests.addAndGet(reps);
        return dummy;
      }
    
      private int nextRandomKey() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Predicate.java

     * version of this interface will be made to <i>extend</i> {@code java.util.function.Predicate}, so
     * that conversion will be necessary in only one direction. At that time, this interface will be
     * officially discouraged.
     *
     * @author Kevin Bourrillion
     * @since 2.0
     */
    @GwtCompatible
    public interface Predicate<T extends @Nullable Object> {
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Jun 18 15:22:00 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  3. helm/minio/values.yaml

          {}
          # metricRelabelings:
          #   - regex: (server|pod)
          #     action: labeldrop
        namespace: ~
        # Scrape interval, for example `interval: 30s`
        interval: ~
        # Scrape timeout, for example `scrapeTimeout: 10s`
        scrapeTimeout: ~
    
    ## ETCD settings: https://github.com/minio/minio/blob/master/docs/sts/etcd.md
    ## Define endpoints to enable this section.
    etcd:
      endpoints: []
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 19.7K bytes
    - Viewed (1)
  4. CHANGELOG/CHANGELOG-1.25.md

     - End-to-end testing has been migrated from Ginkgo v1 to v2.
    
      When running test/e2e via the Ginkgo CLI, the v2 CLI must be used and `-timeout=24h` (or some other, suitable value) must be passed because the default timeout was reduced from 24h to 1h. When running it via `go test`, the corresponding `-args` parameter is `-ginkgo.timeout=24h`. To build the CLI in the Kubernetes repo, use `make all WHAT=github.com/onsi/ginkgo/v2/ginkgo`.
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Mon May 06 09:23:20 UTC 2024
    - 419.1K bytes
    - Viewed (0)
  5. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/VersionsMetadataGenerator.java

            /*
             * NOTE: This should be considered a quirk to support interop with Maven's legacy ArtifactDeployer which
             * processes one artifact at a time and hence cannot associate the artifacts from the same project to use the
             * same version index. Allowing the caller to pass in metadata from a previous deployment allows to re-establish
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 08:42:00 UTC 2025
    - 4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/graph/MapRetrievalCache.java

        }
        entry = cacheEntry2;
        if (entry != null && entry.key == key) {
          // Promote second cache entry to first so the access pattern
          // [K1, K2, K1, K3, K1, K4...] still hits the cache half the time.
          addToCache(entry);
          return entry.value;
        }
        return null;
      }
    
      @Override
      void clearCache() {
        super.clearCache();
        cacheEntry1 = null;
        cacheEntry2 = null;
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/Files.java

       */
      @SuppressWarnings("GoodTime") // reading system time without TimeSource
      public static void touch(File file) throws IOException {
        checkNotNull(file);
        if (!file.createNewFile() && !file.setLastModified(System.currentTimeMillis())) {
          throw new IOException("Unable to update modification time of " + file);
        }
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 25 20:24:13 UTC 2025
    - 32.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

       * Test for Guava issue 1061: https://github.com/google/guava/issues/1061
       *
       * <p>CharStreams.copy was failing to clear its CharBuffer after each read call, which effectively
       * reduced the available size of the buffer each time a call to read didn't fill up the available
       * space in the buffer completely. In general this is a performance problem since the buffer size
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/CharStreamsTest.java

       * Test for Guava issue 1061: https://github.com/google/guava/issues/1061
       *
       * <p>CharStreams.copy was failing to clear its CharBuffer after each read call, which effectively
       * reduced the available size of the buffer each time a call to read didn't fill up the available
       * space in the buffer completely. In general this is a performance problem since the buffer size
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  10. cmd/bucket-replication_test.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"fmt"
    	"net/http"
    	"testing"
    	"time"
    
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/bucket/replication"
    	xhttp "github.com/minio/minio/internal/http"
    )
    
    var configs = []replication.Config{
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 12.1K bytes
    - Viewed (0)
Back to top