Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for head (0.14 sec)

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

        for (int i = 0; i < length; i++) {
          Object key = new Object();
          // TODO(b/145386688): This access should be guarded by 'this.segment', which is not currently
          // held
          chain = segment.newEntry(key, cache.hash(key), chain);
          if (i == 0) {
            head = chain;
          }
        }
      }
    
      @SuppressWarnings("GuardedBy")
      @Benchmark
      int time(int reps) {
        int dummy = 0;
        for (int i = 0; i < reps; i++) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 15:19:38 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/EvictingQueue.java

       * of the queue is evicted to make room.
       *
       * @return {@code true} always
       */
      @Override
      @CanIgnoreReturnValue
      public boolean offer(E e) {
        return add(e);
      }
    
      /**
       * Adds the given element to this queue. If the queue is currently full, the element at the head
       * of the queue is evicted to make room.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 12 17:52:55 GMT 2023
    - 4.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/ReferenceEntry.java

      K getKey();
    
      /*
       * Used by entries that use access order. Access entries are maintained in a doubly-linked list.
       * New entries are added at the tail of the list at write time; stale entries are expired from
       * the head of the list.
       */
    
      /** Returns the time that this entry was last accessed, in ns. */
      @SuppressWarnings("GoodTime")
      long getAccessTime();
    
      /** Sets the entry access time in ns. */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 3.5K bytes
    - Viewed (0)
  4. guava-bom/pom.xml

      xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
    
      <modelVersion>4.0.0</modelVersion>
    
      <groupId>com.google.guava</groupId>
      <artifactId>guava-bom</artifactId>
      <version>HEAD-jre-SNAPSHOT</version>
      <packaging>pom</packaging>
      
      <parent>
        <groupId>org.sonatype.oss</groupId>
        <artifactId>oss-parent</artifactId>
        <version>9</version>
        <relativePath></relativePath>
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 10 15:48:57 GMT 2020
    - 1.7K bytes
    - Viewed (0)
  5. android/guava-testlib/pom.xml

      <modelVersion>4.0.0</modelVersion>
      <parent>
        <groupId>com.google.guava</groupId>
        <artifactId>guava-parent</artifactId>
        <version>HEAD-android-SNAPSHOT</version>
      </parent>
      <artifactId>guava-testlib</artifactId>
      <name>Guava Testing Library</name>
      <description>
        Guava testlib is a set of java classes used for more convenient
    XML
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jul 31 18:55:22 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/cache/ChainBenchmark.java

        for (int i = 0; i < length; i++) {
          Object key = new Object();
          // TODO(b/145386688): This access should be guarded by 'this.segment', which is not currently
          // held
          chain = segment.newEntry(key, cache.hash(key), chain);
          if (i == 0) {
            head = chain;
          }
        }
      }
    
      @SuppressWarnings("GuardedBy")
      @Benchmark
      int time(int reps) {
        int dummy = 0;
        for (int i = 0; i < reps; i++) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 15:19:38 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/primitives/LongArrayAsListTest.java

            ImmutableList.of(
                ListTestSuiteBuilder.using(new LongsAsListGenerator()).named("Longs.asList"),
                ListTestSuiteBuilder.using(new LongsAsListHeadSubListGenerator())
                    .named("Longs.asList, head subList"),
                ListTestSuiteBuilder.using(new LongsAsListTailSubListGenerator())
                    .named("Longs.asList, tail subList"),
                ListTestSuiteBuilder.using(new LongsAsListMiddleSubListGenerator())
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  8. guava-tests/pom.xml

      <modelVersion>4.0.0</modelVersion>
      <parent>
        <groupId>com.google.guava</groupId>
        <artifactId>guava-parent</artifactId>
        <version>HEAD-jre-SNAPSHOT</version>
      </parent>
      <artifactId>guava-tests</artifactId>
      <name>Guava Unit Tests</name>
      <description>
        The unit tests for the Guava libraries - separated into a
    XML
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Aug 07 19:01:53 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/TestsForQueuesInJavaUtil.java

      }
    
      // Not specifying KNOWN_ORDER for PriorityQueue and PriorityBlockingQueue
      // even though they do have it, because our tests interpret KNOWN_ORDER to
      // also mean that the iterator returns the head element first, which those
      // don't.
    
      public Test testsForPriorityBlockingQueue() {
        return QueueTestSuiteBuilder.using(
                new TestStringQueueGenerator() {
                  @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 9.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/cache/ReferenceEntry.java

      K getKey();
    
      /*
       * Used by entries that use access order. Access entries are maintained in a doubly-linked list.
       * New entries are added at the tail of the list at write time; stale entries are expired from
       * the head of the list.
       */
    
      /** Returns the time that this entry was last accessed, in ns. */
      @SuppressWarnings("GoodTime")
      long getAccessTime();
    
      /** Sets the entry access time in ns. */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 3.5K bytes
    - Viewed (0)
Back to top