Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for init (0.17 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      @GwtIncompatible // used only in GwtIncompatible tests
      private static void runExtensiveMergerTest(Merger merger) throws InterruptedException {
        int inputCount = new TestFutureBatch().allFutures.size();
    
        for (int i = 0; i < inputCount; i++) {
          for (int j = 0; j < inputCount; j++) {
            for (boolean iBeforeJ : new boolean[] {true, false}) {
              TestFutureBatch inputs = new TestFutureBatch();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/base/CharMatcherBenchmark.java

        public CharSamples(Random random) {
          this.random = random;
        }
    
        public int nextCodePoint() {
          int needle = random.nextInt(sum);
          int l = 0;
          int r = prob.length - 1;
          int c = prob.length / 2;
          int lv = prob[l];
          int rv = prob[r];
          int cv = prob[c];
    
          while (true) {
            if (needle == cv) {
              return chars[c - 1];
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 194.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbFile.java

        static final int O_RDONLY = 0x01;
        static final int O_WRONLY = 0x02;
        static final int O_RDWR   = 0x03;
        static final int O_APPEND = 0x04;
    
        // Open Function Encoding
        // create if the file does not exist
        static final int O_CREAT  = 0x0010;
        // fail if the file exists
        static final int O_EXCL   = 0x0020;
        // truncate if the file exists
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
  4. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertEquals(unit.toNanos(duration), map.expireAfterAccessNanos);
      }
    
      public void testSetRefresh() {
        long duration = 42;
        TimeUnit unit = TimeUnit.SECONDS;
        LocalCache<Object, Object> map =
            makeLocalCache(createCacheBuilder().refreshAfterWrite(duration, unit));
        assertEquals(unit.toNanos(duration), map.refreshNanos);
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 112.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertEquals(unit.toNanos(duration), map.expireAfterAccessNanos);
      }
    
      public void testSetRefresh() {
        long duration = 42;
        TimeUnit unit = TimeUnit.SECONDS;
        LocalCache<Object, Object> map =
            makeLocalCache(createCacheBuilder().refreshAfterWrite(duration, unit));
        assertEquals(unit.toNanos(duration), map.refreshNanos);
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 110.7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      @GwtIncompatible // used only in GwtIncompatible tests
      private static void runExtensiveMergerTest(Merger merger) throws InterruptedException {
        int inputCount = new TestFutureBatch().allFutures.size();
    
        for (int i = 0; i < inputCount; i++) {
          for (int j = 0; j < inputCount; j++) {
            for (boolean iBeforeJ : new boolean[] {true, false}) {
              TestFutureBatch inputs = new TestFutureBatch();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/cache/LocalCache.java

       * indexable using ints.
       */
      static final int MAXIMUM_CAPACITY = 1 << 30;
    
      /** The maximum number of segments to allow; used to bound constructor arguments. */
      static final int MAX_SEGMENTS = 1 << 16; // slightly conservative
    
      /** Number of (unsynchronized) retries in the containsValue method. */
      static final int CONTAINS_VALUE_RETRIES = 3;
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/LocalCache.java

       * indexable using ints.
       */
      static final int MAXIMUM_CAPACITY = 1 << 30;
    
      /** The maximum number of segments to allow; used to bound constructor arguments. */
      static final int MAX_SEGMENTS = 1 << 16; // slightly conservative
    
      /** Number of (unsynchronized) retries in the containsValue method. */
      static final int CONTAINS_VALUE_RETRIES = 3;
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/base/CharMatcherBenchmark.java

        public CharSamples(Random random) {
          this.random = random;
        }
    
        public int nextCodePoint() {
          int needle = random.nextInt(sum);
          int l = 0;
          int r = prob.length - 1;
          int c = prob.length / 2;
          int lv = prob[l];
          int rv = prob[r];
          int cv = prob[c];
    
          while (true) {
            if (needle == cv) {
              return chars[c - 1];
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 194.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Maps.java

          HashMap<K, V> newHashMapWithExpectedSize(int expectedSize) {
        return new HashMap<>(capacity(expectedSize));
      }
    
      /**
       * Returns a capacity that is sufficient to keep the map from being resized as long as it grows no
       * larger than expectedSize and the load factor is ≥ its default (0.75).
       */
      static int capacity(int expectedSize) {
        if (expectedSize < 3) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 159.3K bytes
    - Viewed (0)
Back to top