Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 73 for SNAPSHOT (0.03 sec)

  1. maven-tests/pom.xml

      </properties>
    
      <dependencyManagement>
        <dependencies>
          <dependency>
            <groupId>com.squareup.okhttp3</groupId>
            <artifactId>okhttp-bom</artifactId>
            <version>[5.2.0-SNAPSHOT,6.0.0-SNAPSHOT)</version>
            <type>pom</type>
            <scope>import</scope>
          </dependency>
        </dependencies>
      </dependencyManagement>
    
      <dependencies>
        <dependency>
          <groupId>junit</groupId>
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Jul 13 08:32:01 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/AbstractService.java

              case NEW:
                snapshot = new StateSnapshot(TERMINATED);
                enqueueTerminatedEvent(NEW);
                break;
              case STARTING:
                snapshot = new StateSnapshot(STARTING, true, null);
                enqueueStoppingEvent(STARTING);
                doCancelStart();
                break;
              case RUNNING:
                snapshot = new StateSnapshot(STOPPING);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  3. README.md

    ## Snapshots and Documentation
    
    Snapshots of Guava built from the `master` branch are available through Maven
    using version `999.0.0-HEAD-jre-SNAPSHOT`, or `999.0.0-HEAD-android-SNAPSHOT`
    for the Android flavor.
    
    [Snapshot API Javadoc][guava-snapshot-api-docs] as well as
    [Snapshot API Diffs][guava-snapshot-api-diffs] are also available.
    
    Another easy way to get to the Javadoc is to open
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Aug 05 15:30:14 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt

       * exceptions.
       *
       * **The caller must [close][Snapshot.close]** each snapshot returned by [Iterator.next]. Failing
       * to do so leaks open files!
       */
      @Synchronized
      @Throws(IOException::class)
      fun snapshots(): MutableIterator<Snapshot> {
        initialize()
        return object : MutableIterator<Snapshot> {
          /** Iterate a copy of the entries to defend against concurrent modification errors. */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 34.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AbstractService.java

              case NEW:
                snapshot = new StateSnapshot(TERMINATED);
                enqueueTerminatedEvent(NEW);
                break;
              case STARTING:
                snapshot = new StateSnapshot(STARTING, true, null);
                enqueueStoppingEvent(STARTING);
                doCancelStart();
                break;
              case RUNNING:
                snapshot = new StateSnapshot(STOPPING);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache2/FileOperatorTest.kt

        assertThat(buffer1.readUtf8()).isEqualTo(", World")
        val buffer2 = Buffer().writeUtf8("icopter!")
        operator.write(3, buffer2, 7)
        assertThat(buffer2.readUtf8()).isEqualTo("!")
        assertThat<ByteString>(snapshot()).isEqualTo("Helicopter".encodeUtf8())
      }
    
      @Test
      fun readAndWrite() {
        val operator =
          FileOperator(
            randomAccessFile!!.getChannel(),
          )
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt

        creator.setString(0, "A")
        creator.setString(1, "B")
        creator.commit()
        cache.close()
        createNewCache()
        val snapshot = cache["k1"]!!
        snapshot.assertValue(0, "A")
        snapshot.assertValue(1, "B")
        snapshot.close()
      }
    
      @ParameterizedTest
      @ArgumentsSource(FileSystemParamProvider::class)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 75.7K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt

        val key = key(request.url)
        val snapshot: DiskLruCache.Snapshot =
          try {
            cache[key] ?: return null
          } catch (_: IOException) {
            return null // Give up because the cache cannot be read.
          }
    
        val entry: Entry =
          try {
            Entry(snapshot.getSource(ENTRY_METADATA))
          } catch (_: IOException) {
            snapshot.closeQuietly()
            return null
          }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/math/Stats.java

        accumulator.addAll(values);
        return accumulator.snapshot();
      }
    
      /**
       * Returns statistics over a dataset containing the given values.
       *
       * @param values a series of values
       */
      public static Stats of(double... values) {
        StatsAccumulator accumulator = new StatsAccumulator();
        accumulator.addAll(values);
        return accumulator.snapshot();
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/math/PairedStatsAccumulator.java

      }
    
      /** Returns an immutable snapshot of the current statistics. */
      public PairedStats snapshot() {
        return new PairedStats(xStats.snapshot(), yStats.snapshot(), sumOfProductsOfDeltas);
      }
    
      /** Returns the number of pairs in the dataset. */
      public long count() {
        return xStats.count();
      }
    
      /** Returns an immutable snapshot of the statistics on the {@code x} values alone. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 10.4K bytes
    - Viewed (0)
Back to top