Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 60 for OK (0.34 sec)

  1. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

                failure = Failure.FALLBACK_INSTANCE;
              }
              // Note: The only way this CAS could fail is if cancel() has raced with us. That is ok.
              boolean unused = ATOMIC_HELPER.casValue(this, valueToSet, failure);
            }
            return true;
          }
          localValue = value; // we lost the cas, fall through and maybe cancel
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

        Thread result = requireNonNull(platformThreadFactory().newThread(runnable));
        try {
          result.setName(name);
        } catch (SecurityException e) {
          // OK if we can't set the name in this environment.
        }
        return result;
      }
    
      // TODO(lukes): provide overloads for ListeningExecutorService? ListeningScheduledExecutorService?
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/Futures.java

      //
      // See: http://cs.oswego.edu/pipermail/concurrency-interest/2015-January/013800.html
      // For a (long) discussion about this specific issue and the general futility of life.
      //
      // For the time being we are OK with the problem discussed above since it requires a caller to
      // introduce a very specific kind of data-race. And given the other operations performed by these
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/cache/LocalCacheTest.java

            new CacheLoader<String, String>() {
              @Override
              public String load(String key) throws Exception {
                return cache.get(otherKey, loader); // loads another key, is ok
              }
            };
        testLoadThrows(key, cache, proxyLoader);
      }
    
      // utility methods
    
      private void testLoadThrows(
    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

            new CacheLoader<String, String>() {
              @Override
              public String load(String key) throws Exception {
                return cache.get(otherKey, loader); // loads another key, is ok
              }
            };
        testLoadThrows(key, cache, proxyLoader);
      }
    
      // utility methods
    
      private void testLoadThrows(
    Java
    - Registered: Fri May 03 12:43:13 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

      }
    
      /*
       * TODO(cpovirk): Use FutureSubject once it's part of core Truth. But be wary of using it when I'm
       * really testing a Future implementation (e.g., in the case of immediate*Future()). But it's OK
       * to use in the case of the majority of Futures that are AbstractFutures.
       */
    
      public void testImmediateFuture() throws Exception {
        ListenableFuture<String> future = immediateFuture(DATA1);
    
    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. android/guava/src/com/google/common/collect/ImmutableCollection.java

          getReadyToExpandTo(size + n);
          /*
           * The following call is not statically checked, since arraycopy accepts plain Object for its
           * parameters. If it were statically checked, the checker would still be OK with it, since
           * we're copying into a `contents` array whose type allows it to contain nulls. Still, it's
           * worth noting that we promise not to put nulls into the array in the first `size` elements.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/thirdparty/publicsuffix/PublicSuffixPatterns.java

    s??ik?u&ihsagih?kawi???t&ihc?o&k?yot???wa&koyot?zani??yi&monihci?rak???e&inak?k&aoyot?usa??manokot?noyot??i&a&gusak?kot?sia??eot?h&asairawo?cugo?s&ahoyot?oyim???k&a&mok?zako??ihssi??motay?rogamag??n&an&ikeh?ok??ihssin??o&got?ihsin?jna?rihsnihs?suf?tes??u&bo?raho?s&oyik?takihs??yrihc?zah????ok!.&a&dusay?kadih?mayotom?r&ah&im?usuy??umakan??sot!ihsin??wa&g&atik?odoyin??k&as?o????i&esieg?hco!k??jamu?k&a!sus??usto??ma&gak?k??rahan??o&mukus?n&i?ust!ihsagih???torum?yot!o???u&koknan?zimihsasot????ugamay...
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 21 21:04:43 GMT 2024
    - 72.4K bytes
    - Viewed (1)
  9. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      }
    
      /*
       * TODO(cpovirk): Use FutureSubject once it's part of core Truth. But be wary of using it when I'm
       * really testing a Future implementation (e.g., in the case of immediate*Future()). But it's OK
       * to use in the case of the majority of Futures that are AbstractFutures.
       */
    
      public void testImmediateFuture() throws Exception {
        ListenableFuture<String> future = immediateFuture(DATA1);
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java

          this.interruptee = interruptee;
        }
    
        @Override
        public void run() {
          while (true) {
            try {
              Thread.sleep(everyMillis);
            } catch (InterruptedException e) {
              // ok. just stop sleeping.
            }
            if (shouldStop) {
              break;
            }
            interruptee.interrupt();
          }
        }
    
        void stopInterrupting() {
          shouldStop = true;
        }
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.4K bytes
    - Viewed (0)
Back to top